musl.patch 3.5 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879
  1. diff -Nur m4-1.4.16.orig/aclocal.m4 m4-1.4.16/aclocal.m4
  2. --- m4-1.4.16.orig/aclocal.m4 2011-03-01 17:57:30.000000000 +0100
  3. +++ m4-1.4.16/aclocal.m4 2013-09-04 14:47:42.000000000 +0200
  4. @@ -1,7 +1,7 @@
  5. -# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
  6. +# generated automatically by aclocal 1.13.2 -*- Autoconf -*-
  7. +
  8. +# Copyright (C) 1996-2013 Free Software Foundation, Inc.
  9. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  10. -# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  11. # This file is free software; the Free Software Foundation
  12. # gives unlimited permission to copy and/or distribute it,
  13. # with or without modifications, as long as this notice is preserved.
  14. @@ -11,16 +11,17 @@
  15. # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  16. # PARTICULAR PURPOSE.
  17. +m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
  18. m4_ifndef([AC_AUTOCONF_VERSION],
  19. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  20. -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.66],,
  21. -[m4_warning([this file was generated for autoconf 2.66.
  22. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
  23. +[m4_warning([this file was generated for autoconf 2.69.
  24. You have another version of autoconf. It may work, but is not guaranteed to.
  25. If you have problems, you may need to regenerate the build system entirely.
  26. -To do so, use the procedure documented by the package, typically `autoreconf'.])])
  27. +To do so, use the procedure documented by the package, typically 'autoreconf'.])])
  28. -# po.m4 serial 17 (gettext-0.18)
  29. -dnl Copyright (C) 1995-2010 Free Software Foundation, Inc.
  30. +# po.m4 serial 20 (gettext-0.18.2)
  31. +dnl Copyright (C) 1995-2013 Free Software Foundation, Inc.
  32. dnl This file is free software; the Free Software Foundation
  33. dnl gives unlimited permission to copy and/or distribute it,
  34. dnl with or without modifications, as long as this notice is preserved.
  35. @@ -38,14 +39,14 @@
  36. dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
  37. dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
  38. -AC_PREREQ([2.50])
  39. +AC_PREREQ([2.60])
  40. dnl Checks for all prerequisites of the po subdirectory.
  41. AC_DEFUN([AM_PO_SUBDIRS],
  42. [
  43. AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  44. AC_REQUIRE([AC_PROG_INSTALL])dnl
  45. - AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
  46. + AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  47. AC_REQUIRE([AM_NLS])dnl
  48. dnl Release version of the gettext macros. This is used to ensure that
  49. @@ -123,7 +124,7 @@
  50. case "$ac_file" in */Makefile.in)
  51. # Adjust a relative srcdir.
  52. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
  53. - ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
  54. + ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
  55. ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
  56. # In autoconf-2.13 it is called $ac_given_srcdir.
  57. # In autoconf-2.50 it is called $srcdir.
  58. @@ -139,7 +140,8 @@
  59. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
  60. rm -f "$ac_dir/POTFILES"
  61. test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
  62. - cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
  63. + gt_tab=`printf '\t'`
  64. + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
  65. POMAKEFILEDEPS="POTFILES.in"
  66. # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
  67. # on $ac_dir but don't depend on user-specified configuration
  68. @@ -150,12 +152,12 @@
  69. test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
  70. fi
  71. ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
  72. - # Hide the ALL_LINGUAS assigment from automake < 1.5.
  73. + # Hide the ALL_LINGUAS assignment from automake < 1.5.
  74. eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
  75. POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
  76. else
  77. # The set of available languages was given in configure.in.
  78. - # Hide the ALL_LINGUAS assigment from automake < 1.5.
  79. + # Hide the ALL_LINGUAS assignment from automake < 1.5.
  80. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
  81. fi
  82. # Compute POFILES
  83. @@ -247,7 +249,7 @@
  84. changequote(,)dnl
  85. # Adjust a relative srcdir.
  86. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
  87. - ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
  88. + ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
  89. ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
  90. # In autoconf-2.13 it is called $ac_given_srcdir.
  91. # In autoconf-2.50 it is called $srcdir.
  92. @@ -275,6 +277,7 @@
  93. fi
  94. # A sed script that extracts the value of VARIABLE from a Makefile.
  95. + tab=`printf '\t'`
  96. sed_x_variable='
  97. # Test if the hold space is empty.
  98. x
  99. @@ -282,9 +285,9 @@
  100. x
  101. ta
  102. # Yes it was empty. Look if we have the expected variable definition.
  103. -/^[ ]*VARIABLE[ ]*=/{
  104. +/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=/{
  105. # Seen the first line of the variable definition.
  106. - s/^[ ]*VARIABLE[ ]*=//
  107. + s/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=//
  108. ba
  109. }
  110. bd
  111. @@ -336,7 +339,7 @@
  112. sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
  113. ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
  114. fi
  115. - # Hide the ALL_LINGUAS assigment from automake < 1.5.
  116. + # Hide the ALL_LINGUAS assignment from automake < 1.5.
  117. eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
  118. # Compute POFILES
  119. # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
  120. @@ -426,14 +429,15 @@
  121. fi
  122. sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
  123. + tab=`printf '\t'`
  124. if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
  125. # Add dependencies that cannot be formulated as a simple suffix rule.
  126. for lang in $ALL_LINGUAS; do
  127. frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
  128. cat >> "$ac_file.tmp" <<EOF
  129. $frobbedlang.msg: $lang.po
  130. - @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
  131. - \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
  132. +${tab}@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
  133. +${tab}\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
  134. EOF
  135. done
  136. fi
  137. @@ -443,8 +447,8 @@
  138. frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
  139. cat >> "$ac_file.tmp" <<EOF
  140. $frobbedlang/\$(DOMAIN).resources.dll: $lang.po
  141. - @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
  142. - \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
  143. +${tab}@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
  144. +${tab}\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
  145. EOF
  146. done
  147. fi
  148. @@ -469,7 +473,7 @@
  149. XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
  150. ])
  151. -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  152. +# Copyright (C) 2002-2013 Free Software Foundation, Inc.
  153. #
  154. # This file is free software; the Free Software Foundation
  155. # gives unlimited permission to copy and/or distribute it,
  156. @@ -481,10 +485,10 @@
  157. # generated from the m4 files accompanying Automake X.Y.
  158. # (This private macro should not be called outside this file.)
  159. AC_DEFUN([AM_AUTOMAKE_VERSION],
  160. -[am__api_version='1.11'
  161. +[am__api_version='1.13'
  162. dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  163. dnl require some minimum version. Point them to the right macro.
  164. -m4_if([$1], [1.11.1], [],
  165. +m4_if([$1], [1.13.2], [],
  166. [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  167. ])
  168. @@ -500,22 +504,22 @@
  169. # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  170. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  171. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  172. -[AM_AUTOMAKE_VERSION([1.11.1])dnl
  173. +[AM_AUTOMAKE_VERSION([1.13.2])dnl
  174. m4_ifndef([AC_AUTOCONF_VERSION],
  175. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  176. _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  177. # AM_AUX_DIR_EXPAND -*- Autoconf -*-
  178. -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  179. +# Copyright (C) 2001-2013 Free Software Foundation, Inc.
  180. #
  181. # This file is free software; the Free Software Foundation
  182. # gives unlimited permission to copy and/or distribute it,
  183. # with or without modifications, as long as this notice is preserved.
  184. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
  185. -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
  186. -# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
  187. +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
  188. +# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
  189. #
  190. # Of course, Automake must honor this variable whenever it calls a
  191. # tool from the auxiliary directory. The problem is that $srcdir (and
  192. @@ -534,7 +538,7 @@
  193. #
  194. # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
  195. # are both prefixed by $srcdir. In an in-source build this is usually
  196. -# harmless because $srcdir is `.', but things will broke when you
  197. +# harmless because $srcdir is '.', but things will broke when you
  198. # start a VPATH build or use an absolute $srcdir.
  199. #
  200. # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
  201. @@ -560,22 +564,19 @@
  202. # AM_CONDITIONAL -*- Autoconf -*-
  203. -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
  204. -# Free Software Foundation, Inc.
  205. +# Copyright (C) 1997-2013 Free Software Foundation, Inc.
  206. #
  207. # This file is free software; the Free Software Foundation
  208. # gives unlimited permission to copy and/or distribute it,
  209. # with or without modifications, as long as this notice is preserved.
  210. -# serial 9
  211. -
  212. # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  213. # -------------------------------------
  214. # Define a conditional.
  215. AC_DEFUN([AM_CONDITIONAL],
  216. -[AC_PREREQ(2.52)dnl
  217. - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  218. - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  219. +[AC_PREREQ([2.52])dnl
  220. + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  221. + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  222. AC_SUBST([$1_TRUE])dnl
  223. AC_SUBST([$1_FALSE])dnl
  224. _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  225. @@ -594,16 +595,14 @@
  226. Usually this means the macro was only invoked conditionally.]])
  227. fi])])
  228. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
  229. -# Free Software Foundation, Inc.
  230. +# Copyright (C) 1999-2013 Free Software Foundation, Inc.
  231. #
  232. # This file is free software; the Free Software Foundation
  233. # gives unlimited permission to copy and/or distribute it,
  234. # with or without modifications, as long as this notice is preserved.
  235. -# serial 10
  236. -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
  237. +# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
  238. # written in clear, in which case automake, when reading aclocal.m4,
  239. # will think it sees a *use*, and therefore will trigger all it's
  240. # C support machinery. Also note that it means that autoscan, seeing
  241. @@ -613,7 +612,7 @@
  242. # _AM_DEPENDENCIES(NAME)
  243. # ----------------------
  244. # See how the compiler implements dependency checking.
  245. -# NAME is "CC", "CXX", "GCJ", or "OBJC".
  246. +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
  247. # We try a few techniques and use that to set a single cache variable.
  248. #
  249. # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
  250. @@ -626,12 +625,13 @@
  251. AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  252. AC_REQUIRE([AM_DEP_TRACK])dnl
  253. -ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
  254. - [$1], CXX, [depcc="$CXX" am_compiler_list=],
  255. - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  256. - [$1], UPC, [depcc="$UPC" am_compiler_list=],
  257. - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  258. - [depcc="$$1" am_compiler_list=])
  259. +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
  260. + [$1], [CXX], [depcc="$CXX" am_compiler_list=],
  261. + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  262. + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
  263. + [$1], [UPC], [depcc="$UPC" am_compiler_list=],
  264. + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  265. + [depcc="$$1" am_compiler_list=])
  266. AC_CACHE_CHECK([dependency style of $depcc],
  267. [am_cv_$1_dependencies_compiler_type],
  268. @@ -639,8 +639,9 @@
  269. # We make a subdir and do the tests there. Otherwise we can end up
  270. # making bogus files that we don't know about and never remove. For
  271. # instance it was reported that on HP-UX the gcc test will end up
  272. - # making a dummy file named `D' -- because `-MD' means `put the output
  273. - # in D'.
  274. + # making a dummy file named 'D' -- because '-MD' means "put the output
  275. + # in D".
  276. + rm -rf conftest.dir
  277. mkdir conftest.dir
  278. # Copy depcomp to subdir because otherwise we won't find it if we're
  279. # using a relative directory.
  280. @@ -679,16 +680,16 @@
  281. : > sub/conftest.c
  282. for i in 1 2 3 4 5 6; do
  283. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  284. - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  285. - # Solaris 8's {/usr,}/bin/sh.
  286. - touch sub/conftst$i.h
  287. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  288. + # Solaris 10 /bin/sh.
  289. + echo '/* dummy */' > sub/conftst$i.h
  290. done
  291. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  292. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  293. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  294. # mode. It turns out that the SunPro C++ compiler does not properly
  295. - # handle `-M -o', and we need to detect this. Also, some Intel
  296. - # versions had trouble with output in subdirs
  297. + # handle '-M -o', and we need to detect this. Also, some Intel
  298. + # versions had trouble with output in subdirs.
  299. am__obj=sub/conftest.${OBJEXT-o}
  300. am__minus_obj="-o $am__obj"
  301. case $depmode in
  302. @@ -697,16 +698,16 @@
  303. test "$am__universal" = false || continue
  304. ;;
  305. nosideeffect)
  306. - # after this tag, mechanisms are not by side-effect, so they'll
  307. - # only be used when explicitly requested
  308. + # After this tag, mechanisms are not by side-effect, so they'll
  309. + # only be used when explicitly requested.
  310. if test "x$enable_dependency_tracking" = xyes; then
  311. continue
  312. else
  313. break
  314. fi
  315. ;;
  316. - msvisualcpp | msvcmsys)
  317. - # This compiler won't grok `-c -o', but also, the minuso test has
  318. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  319. + # This compiler won't grok '-c -o', but also, the minuso test has
  320. # not run yet. These depmodes are late enough in the game, and
  321. # so weak that their functioning should not be impacted.
  322. am__obj=conftest.${OBJEXT-o}
  323. @@ -754,7 +755,7 @@
  324. # AM_SET_DEPDIR
  325. # -------------
  326. # Choose a directory name for dependency files.
  327. -# This macro is AC_REQUIREd in _AM_DEPENDENCIES
  328. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
  329. AC_DEFUN([AM_SET_DEPDIR],
  330. [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  331. AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  332. @@ -764,34 +765,39 @@
  333. # AM_DEP_TRACK
  334. # ------------
  335. AC_DEFUN([AM_DEP_TRACK],
  336. -[AC_ARG_ENABLE(dependency-tracking,
  337. -[ --disable-dependency-tracking speeds up one-time build
  338. - --enable-dependency-tracking do not reject slow dependency extractors])
  339. +[AC_ARG_ENABLE([dependency-tracking], [dnl
  340. +AS_HELP_STRING(
  341. + [--enable-dependency-tracking],
  342. + [do not reject slow dependency extractors])
  343. +AS_HELP_STRING(
  344. + [--disable-dependency-tracking],
  345. + [speeds up one-time build])])
  346. if test "x$enable_dependency_tracking" != xno; then
  347. am_depcomp="$ac_aux_dir/depcomp"
  348. AMDEPBACKSLASH='\'
  349. + am__nodep='_no'
  350. fi
  351. AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  352. AC_SUBST([AMDEPBACKSLASH])dnl
  353. _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
  354. +AC_SUBST([am__nodep])dnl
  355. +_AM_SUBST_NOTMAKE([am__nodep])dnl
  356. ])
  357. # Generate code to set up dependency tracking. -*- Autoconf -*-
  358. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
  359. -# Free Software Foundation, Inc.
  360. +# Copyright (C) 1999-2013 Free Software Foundation, Inc.
  361. #
  362. # This file is free software; the Free Software Foundation
  363. # gives unlimited permission to copy and/or distribute it,
  364. # with or without modifications, as long as this notice is preserved.
  365. -#serial 5
  366. # _AM_OUTPUT_DEPENDENCY_COMMANDS
  367. # ------------------------------
  368. AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
  369. [{
  370. - # Autoconf 2.62 quotes --file arguments for eval, but not when files
  371. + # Older Autoconf quotes --file arguments for eval, but not when files
  372. # are listed without --file. Let's play safe and only enable the eval
  373. # if we detect the quoting.
  374. case $CONFIG_FILES in
  375. @@ -804,7 +810,7 @@
  376. # Strip MF so we end up with the name of the file.
  377. mf=`echo "$mf" | sed -e 's/:.*$//'`
  378. # Check whether this is an Automake generated Makefile or not.
  379. - # We used to match only the files named `Makefile.in', but
  380. + # We used to match only the files named 'Makefile.in', but
  381. # some people rename them; so instead we look at the file content.
  382. # Grep'ing the first line is not enough: some people post-process
  383. # each Makefile.in and add a new line on top of each file to say so.
  384. @@ -816,21 +822,19 @@
  385. continue
  386. fi
  387. # Extract the definition of DEPDIR, am__include, and am__quote
  388. - # from the Makefile without running `make'.
  389. + # from the Makefile without running 'make'.
  390. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  391. test -z "$DEPDIR" && continue
  392. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  393. - test -z "am__include" && continue
  394. + test -z "$am__include" && continue
  395. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  396. - # When using ansi2knr, U may be empty or an underscore; expand it
  397. - U=`sed -n 's/^U = //p' < "$mf"`
  398. # Find all dependency output files, they are included files with
  399. # $(DEPDIR) in their names. We invoke sed twice because it is the
  400. # simplest approach to changing $(DEPDIR) to its actual value in the
  401. # expansion.
  402. for file in `sed -n "
  403. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  404. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  405. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  406. # Make sure the directory exists.
  407. test -f "$dirpart/$file" && continue
  408. fdir=`AS_DIRNAME(["$file"])`
  409. @@ -848,7 +852,7 @@
  410. # This macro should only be invoked once -- use via AC_REQUIRE.
  411. #
  412. # This code is only required when automatic dependency tracking
  413. -# is enabled. FIXME. This creates each `.P' file that we will
  414. +# is enabled. FIXME. This creates each '.P' file that we will
  415. # need in order to bootstrap the dependency handling code.
  416. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
  417. [AC_CONFIG_COMMANDS([depfiles],
  418. @@ -858,15 +862,12 @@
  419. # Do all the work for Automake. -*- Autoconf -*-
  420. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  421. -# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
  422. +# Copyright (C) 1996-2013 Free Software Foundation, Inc.
  423. #
  424. # This file is free software; the Free Software Foundation
  425. # gives unlimited permission to copy and/or distribute it,
  426. # with or without modifications, as long as this notice is preserved.
  427. -# serial 16
  428. -
  429. # This macro actually does too much. Some checks are only needed if
  430. # your package does certain things. But this isn't really a big deal.
  431. @@ -882,7 +883,7 @@
  432. # arguments mandatory, and then we can depend on a new Autoconf
  433. # release and drop the old call support.
  434. AC_DEFUN([AM_INIT_AUTOMAKE],
  435. -[AC_PREREQ([2.62])dnl
  436. +[AC_PREREQ([2.65])dnl
  437. dnl Autoconf wants to disallow AM_ names. We explicitly allow
  438. dnl the ones we care about.
  439. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  440. @@ -911,31 +912,40 @@
  441. # Define the identity of the package.
  442. dnl Distinguish between old-style and new-style calls.
  443. m4_ifval([$2],
  444. -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  445. +[AC_DIAGNOSE([obsolete],
  446. + [$0: two- and three-arguments forms are deprecated.])
  447. +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  448. AC_SUBST([PACKAGE], [$1])dnl
  449. AC_SUBST([VERSION], [$2])],
  450. [_AM_SET_OPTIONS([$1])dnl
  451. dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  452. -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
  453. +m4_if(
  454. + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
  455. + [ok:ok],,
  456. [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  457. AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  458. AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  459. _AM_IF_OPTION([no-define],,
  460. -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
  461. - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
  462. +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  463. + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
  464. # Some tools Automake needs.
  465. AC_REQUIRE([AM_SANITY_CHECK])dnl
  466. AC_REQUIRE([AC_ARG_PROGRAM])dnl
  467. -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
  468. -AM_MISSING_PROG(AUTOCONF, autoconf)
  469. -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  470. -AM_MISSING_PROG(AUTOHEADER, autoheader)
  471. -AM_MISSING_PROG(MAKEINFO, makeinfo)
  472. +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  473. +AM_MISSING_PROG([AUTOCONF], [autoconf])
  474. +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  475. +AM_MISSING_PROG([AUTOHEADER], [autoheader])
  476. +AM_MISSING_PROG([MAKEINFO], [makeinfo])
  477. AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  478. AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  479. -AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  480. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  481. +# For better backward compatibility. To be removed once Automake 1.9.x
  482. +# dies out for good. For more background, see:
  483. +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  484. +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  485. +AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  486. # We need awk for the "check" target. The system "awk" is bad on
  487. # some platforms.
  488. AC_REQUIRE([AC_PROG_AWK])dnl
  489. @@ -946,28 +956,32 @@
  490. [_AM_PROG_TAR([v7])])])
  491. _AM_IF_OPTION([no-dependencies],,
  492. [AC_PROVIDE_IFELSE([AC_PROG_CC],
  493. - [_AM_DEPENDENCIES(CC)],
  494. - [define([AC_PROG_CC],
  495. - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  496. + [_AM_DEPENDENCIES([CC])],
  497. + [m4_define([AC_PROG_CC],
  498. + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  499. AC_PROVIDE_IFELSE([AC_PROG_CXX],
  500. - [_AM_DEPENDENCIES(CXX)],
  501. - [define([AC_PROG_CXX],
  502. - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  503. + [_AM_DEPENDENCIES([CXX])],
  504. + [m4_define([AC_PROG_CXX],
  505. + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  506. AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  507. - [_AM_DEPENDENCIES(OBJC)],
  508. - [define([AC_PROG_OBJC],
  509. - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  510. + [_AM_DEPENDENCIES([OBJC])],
  511. + [m4_define([AC_PROG_OBJC],
  512. + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  513. +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  514. + [_AM_DEPENDENCIES([OBJCXX])],
  515. + [m4_define([AC_PROG_OBJCXX],
  516. + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  517. ])
  518. -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  519. -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  520. -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  521. -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  522. +AC_REQUIRE([AM_SILENT_RULES])dnl
  523. +dnl The testsuite driver may need to know about EXEEXT, so add the
  524. +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
  525. +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
  526. AC_CONFIG_COMMANDS_PRE(dnl
  527. [m4_provide_if([_AM_COMPILER_EXEEXT],
  528. [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  529. ])
  530. -dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  531. +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  532. dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
  533. dnl mangled by Autoconf and run in a shell conditional statement.
  534. m4_define([_AC_COMPILER_EXEEXT],
  535. @@ -995,7 +1009,7 @@
  536. done
  537. echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  538. -# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
  539. +# Copyright (C) 2001-2013 Free Software Foundation, Inc.
  540. #
  541. # This file is free software; the Free Software Foundation
  542. # gives unlimited permission to copy and/or distribute it,
  543. @@ -1014,16 +1028,14 @@
  544. install_sh="\${SHELL} $am_aux_dir/install-sh"
  545. esac
  546. fi
  547. -AC_SUBST(install_sh)])
  548. +AC_SUBST([install_sh])])
  549. -# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
  550. +# Copyright (C) 2003-2013 Free Software Foundation, Inc.
  551. #
  552. # This file is free software; the Free Software Foundation
  553. # gives unlimited permission to copy and/or distribute it,
  554. # with or without modifications, as long as this notice is preserved.
  555. -# serial 2
  556. -
  557. # Check whether the underlying file-system supports filenames
  558. # with a leading dot. For instance MS-DOS doesn't.
  559. AC_DEFUN([AM_SET_LEADING_DOT],
  560. @@ -1039,14 +1051,12 @@
  561. # Check to see how 'make' treats includes. -*- Autoconf -*-
  562. -# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
  563. +# Copyright (C) 2001-2013 Free Software Foundation, Inc.
  564. #
  565. # This file is free software; the Free Software Foundation
  566. # gives unlimited permission to copy and/or distribute it,
  567. # with or without modifications, as long as this notice is preserved.
  568. -# serial 4
  569. -
  570. # AM_MAKE_INCLUDE()
  571. # -----------------
  572. # Check to see how make treats includes.
  573. @@ -1064,7 +1074,7 @@
  574. _am_result=none
  575. # First try GNU make style include.
  576. echo "include confinc" > confmf
  577. -# Ignore all kinds of additional output from `make'.
  578. +# Ignore all kinds of additional output from 'make'.
  579. case `$am_make -s -f confmf 2> /dev/null` in #(
  580. *the\ am__doit\ target*)
  581. am__include=include
  582. @@ -1089,15 +1099,12 @@
  583. rm -f confinc confmf
  584. ])
  585. -# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
  586. -# Free Software Foundation, Inc.
  587. +# Copyright (C) 1999-2013 Free Software Foundation, Inc.
  588. #
  589. # This file is free software; the Free Software Foundation
  590. # gives unlimited permission to copy and/or distribute it,
  591. # with or without modifications, as long as this notice is preserved.
  592. -# serial 6
  593. -
  594. # AM_PROG_CC_C_O
  595. # --------------
  596. # Like AC_PROG_CC_C_O, but changed for automake.
  597. @@ -1126,15 +1133,12 @@
  598. # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
  599. -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
  600. -# Free Software Foundation, Inc.
  601. +# Copyright (C) 1997-2013 Free Software Foundation, Inc.
  602. #
  603. # This file is free software; the Free Software Foundation
  604. # gives unlimited permission to copy and/or distribute it,
  605. # with or without modifications, as long as this notice is preserved.
  606. -# serial 6
  607. -
  608. # AM_MISSING_PROG(NAME, PROGRAM)
  609. # ------------------------------
  610. AC_DEFUN([AM_MISSING_PROG],
  611. @@ -1142,11 +1146,10 @@
  612. $1=${$1-"${am_missing_run}$2"}
  613. AC_SUBST($1)])
  614. -
  615. # AM_MISSING_HAS_RUN
  616. # ------------------
  617. -# Define MISSING if not defined so far and test if it supports --run.
  618. -# If it does, set am_missing_run to use it, otherwise, to nothing.
  619. +# Define MISSING if not defined so far and test if it is modern enough.
  620. +# If it is, set am_missing_run to use it, otherwise, to nothing.
  621. AC_DEFUN([AM_MISSING_HAS_RUN],
  622. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  623. AC_REQUIRE_AUX_FILE([missing])dnl
  624. @@ -1159,63 +1162,35 @@
  625. esac
  626. fi
  627. # Use eval to expand $SHELL
  628. -if eval "$MISSING --run true"; then
  629. - am_missing_run="$MISSING --run "
  630. +if eval "$MISSING --is-lightweight"; then
  631. + am_missing_run="$MISSING "
  632. else
  633. am_missing_run=
  634. - AC_MSG_WARN([`missing' script is too old or missing])
  635. + AC_MSG_WARN(['missing' script is too old or missing])
  636. fi
  637. ])
  638. -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  639. -#
  640. -# This file is free software; the Free Software Foundation
  641. -# gives unlimited permission to copy and/or distribute it,
  642. -# with or without modifications, as long as this notice is preserved.
  643. -
  644. -# AM_PROG_MKDIR_P
  645. -# ---------------
  646. -# Check for `mkdir -p'.
  647. -AC_DEFUN([AM_PROG_MKDIR_P],
  648. -[AC_PREREQ([2.60])dnl
  649. -AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  650. -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
  651. -dnl while keeping a definition of mkdir_p for backward compatibility.
  652. -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
  653. -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
  654. -dnl Makefile.ins that do not define MKDIR_P, so we do our own
  655. -dnl adjustment using top_builddir (which is defined more often than
  656. -dnl MKDIR_P).
  657. -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
  658. -case $mkdir_p in
  659. - [[\\/$]]* | ?:[[\\/]]*) ;;
  660. - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  661. -esac
  662. -])
  663. -
  664. # Helper functions for option handling. -*- Autoconf -*-
  665. -# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
  666. +# Copyright (C) 2001-2013 Free Software Foundation, Inc.
  667. #
  668. # This file is free software; the Free Software Foundation
  669. # gives unlimited permission to copy and/or distribute it,
  670. # with or without modifications, as long as this notice is preserved.
  671. -# serial 4
  672. -
  673. # _AM_MANGLE_OPTION(NAME)
  674. # -----------------------
  675. AC_DEFUN([_AM_MANGLE_OPTION],
  676. [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  677. # _AM_SET_OPTION(NAME)
  678. -# ------------------------------
  679. +# --------------------
  680. # Set option NAME. Presently that only means defining a flag for this option.
  681. AC_DEFUN([_AM_SET_OPTION],
  682. -[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
  683. +[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
  684. # _AM_SET_OPTIONS(OPTIONS)
  685. -# ----------------------------------
  686. +# ------------------------
  687. # OPTIONS is a space-separated list of Automake options.
  688. AC_DEFUN([_AM_SET_OPTIONS],
  689. [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  690. @@ -1228,22 +1203,16 @@
  691. # Check to make sure that the build environment is sane. -*- Autoconf -*-
  692. -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
  693. -# Free Software Foundation, Inc.
  694. +# Copyright (C) 1996-2013 Free Software Foundation, Inc.
  695. #
  696. # This file is free software; the Free Software Foundation
  697. # gives unlimited permission to copy and/or distribute it,
  698. # with or without modifications, as long as this notice is preserved.
  699. -# serial 5
  700. -
  701. # AM_SANITY_CHECK
  702. # ---------------
  703. AC_DEFUN([AM_SANITY_CHECK],
  704. [AC_MSG_CHECKING([whether build environment is sane])
  705. -# Just in case
  706. -sleep 1
  707. -echo timestamp > conftest.file
  708. # Reject unsafe characters in $srcdir or the absolute working directory
  709. # name. Accept space and tab only in the latter.
  710. am_lf='
  711. @@ -1254,32 +1223,40 @@
  712. esac
  713. case $srcdir in
  714. *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  715. - AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  716. + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
  717. esac
  718. -# Do `set' in a subshell so we don't clobber the current shell's
  719. +# Do 'set' in a subshell so we don't clobber the current shell's
  720. # arguments. Must try -L first in case configure is actually a
  721. # symlink; some systems play weird games with the mod time of symlinks
  722. # (eg FreeBSD returns the mod time of the symlink's containing
  723. # directory).
  724. if (
  725. - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  726. - if test "$[*]" = "X"; then
  727. - # -L didn't work.
  728. - set X `ls -t "$srcdir/configure" conftest.file`
  729. - fi
  730. - rm -f conftest.file
  731. - if test "$[*]" != "X $srcdir/configure conftest.file" \
  732. - && test "$[*]" != "X conftest.file $srcdir/configure"; then
  733. -
  734. - # If neither matched, then we have a broken ls. This can happen
  735. - # if, for instance, CONFIG_SHELL is bash and it inherits a
  736. - # broken ls alias from the environment. This has actually
  737. - # happened. Such a system could not be considered "sane".
  738. - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  739. -alias in your environment])
  740. - fi
  741. -
  742. + am_has_slept=no
  743. + for am_try in 1 2; do
  744. + echo "timestamp, slept: $am_has_slept" > conftest.file
  745. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  746. + if test "$[*]" = "X"; then
  747. + # -L didn't work.
  748. + set X `ls -t "$srcdir/configure" conftest.file`
  749. + fi
  750. + if test "$[*]" != "X $srcdir/configure conftest.file" \
  751. + && test "$[*]" != "X conftest.file $srcdir/configure"; then
  752. +
  753. + # If neither matched, then we have a broken ls. This can happen
  754. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  755. + # broken ls alias from the environment. This has actually
  756. + # happened. Such a system could not be considered "sane".
  757. + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  758. + alias in your environment])
  759. + fi
  760. + if test "$[2]" = conftest.file || test $am_try -eq 2; then
  761. + break
  762. + fi
  763. + # Just in case.
  764. + sleep 1
  765. + am_has_slept=yes
  766. + done
  767. test "$[2]" = conftest.file
  768. )
  769. then
  770. @@ -1289,36 +1266,85 @@
  771. AC_MSG_ERROR([newly created file is older than distributed files!
  772. Check your system clock])
  773. fi
  774. -AC_MSG_RESULT(yes)])
  775. +AC_MSG_RESULT([yes])
  776. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  777. +# generated files are strictly newer.
  778. +am_sleep_pid=
  779. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  780. + ( sleep 1 ) &
  781. + am_sleep_pid=$!
  782. +fi
  783. +AC_CONFIG_COMMANDS_PRE(
  784. + [AC_MSG_CHECKING([that generated files are newer than configure])
  785. + if test -n "$am_sleep_pid"; then
  786. + # Hide warnings about reused PIDs.
  787. + wait $am_sleep_pid 2>/dev/null
  788. + fi
  789. + AC_MSG_RESULT([done])])
  790. +rm -f conftest.file
  791. +])
  792. -# Copyright (C) 2009 Free Software Foundation, Inc.
  793. +# Copyright (C) 2009-2013 Free Software Foundation, Inc.
  794. #
  795. # This file is free software; the Free Software Foundation
  796. # gives unlimited permission to copy and/or distribute it,
  797. # with or without modifications, as long as this notice is preserved.
  798. -# serial 1
  799. -
  800. # AM_SILENT_RULES([DEFAULT])
  801. # --------------------------
  802. # Enable less verbose build rules; with the default set to DEFAULT
  803. -# (`yes' being less verbose, `no' or empty being verbose).
  804. +# ("yes" being less verbose, "no" or empty being verbose).
  805. AC_DEFUN([AM_SILENT_RULES],
  806. -[AC_ARG_ENABLE([silent-rules],
  807. -[ --enable-silent-rules less verbose build output (undo: `make V=1')
  808. - --disable-silent-rules verbose build output (undo: `make V=0')])
  809. -case $enable_silent_rules in
  810. -yes) AM_DEFAULT_VERBOSITY=0;;
  811. -no) AM_DEFAULT_VERBOSITY=1;;
  812. -*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  813. +[AC_ARG_ENABLE([silent-rules], [dnl
  814. +AS_HELP_STRING(
  815. + [--enable-silent-rules],
  816. + [less verbose build output (undo: "make V=1")])
  817. +AS_HELP_STRING(
  818. + [--disable-silent-rules],
  819. + [verbose build output (undo: "make V=0")])dnl
  820. +])
  821. +case $enable_silent_rules in @%:@ (((
  822. + yes) AM_DEFAULT_VERBOSITY=0;;
  823. + no) AM_DEFAULT_VERBOSITY=1;;
  824. + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  825. esac
  826. +dnl
  827. +dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
  828. +dnl do not support nested variable expansions.
  829. +dnl See automake bug#9928 and bug#10237.
  830. +am_make=${MAKE-make}
  831. +AC_CACHE_CHECK([whether $am_make supports nested variables],
  832. + [am_cv_make_support_nested_variables],
  833. + [if AS_ECHO([['TRUE=$(BAR$(V))
  834. +BAR0=false
  835. +BAR1=true
  836. +V=1
  837. +am__doit:
  838. + @$(TRUE)
  839. +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
  840. + am_cv_make_support_nested_variables=yes
  841. +else
  842. + am_cv_make_support_nested_variables=no
  843. +fi])
  844. +if test $am_cv_make_support_nested_variables = yes; then
  845. + dnl Using '$V' instead of '$(V)' breaks IRIX make.
  846. + AM_V='$(V)'
  847. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  848. +else
  849. + AM_V=$AM_DEFAULT_VERBOSITY
  850. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  851. +fi
  852. +AC_SUBST([AM_V])dnl
  853. +AM_SUBST_NOTMAKE([AM_V])dnl
  854. +AC_SUBST([AM_DEFAULT_V])dnl
  855. +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
  856. AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
  857. AM_BACKSLASH='\'
  858. AC_SUBST([AM_BACKSLASH])dnl
  859. _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
  860. ])
  861. -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  862. +# Copyright (C) 2001-2013 Free Software Foundation, Inc.
  863. #
  864. # This file is free software; the Free Software Foundation
  865. # gives unlimited permission to copy and/or distribute it,
  866. @@ -1326,34 +1352,32 @@
  867. # AM_PROG_INSTALL_STRIP
  868. # ---------------------
  869. -# One issue with vendor `install' (even GNU) is that you can't
  870. +# One issue with vendor 'install' (even GNU) is that you can't
  871. # specify the program used to strip binaries. This is especially
  872. # annoying in cross-compiling environments, where the build's strip
  873. # is unlikely to handle the host's binaries.
  874. # Fortunately install-sh will honor a STRIPPROG variable, so we
  875. -# always use install-sh in `make install-strip', and initialize
  876. +# always use install-sh in "make install-strip", and initialize
  877. # STRIPPROG with the value of the STRIP variable (set by the user).
  878. AC_DEFUN([AM_PROG_INSTALL_STRIP],
  879. [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  880. -# Installed binaries are usually stripped using `strip' when the user
  881. -# run `make install-strip'. However `strip' might not be the right
  882. +# Installed binaries are usually stripped using 'strip' when the user
  883. +# run "make install-strip". However 'strip' might not be the right
  884. # tool to use in cross-compilation environments, therefore Automake
  885. -# will honor the `STRIP' environment variable to overrule this program.
  886. -dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
  887. +# will honor the 'STRIP' environment variable to overrule this program.
  888. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
  889. if test "$cross_compiling" != no; then
  890. AC_CHECK_TOOL([STRIP], [strip], :)
  891. fi
  892. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  893. AC_SUBST([INSTALL_STRIP_PROGRAM])])
  894. -# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
  895. +# Copyright (C) 2006-2013 Free Software Foundation, Inc.
  896. #
  897. # This file is free software; the Free Software Foundation
  898. # gives unlimited permission to copy and/or distribute it,
  899. # with or without modifications, as long as this notice is preserved.
  900. -# serial 2
  901. -
  902. # _AM_SUBST_NOTMAKE(VARIABLE)
  903. # ---------------------------
  904. # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
  905. @@ -1361,24 +1385,22 @@
  906. AC_DEFUN([_AM_SUBST_NOTMAKE])
  907. # AM_SUBST_NOTMAKE(VARIABLE)
  908. -# ---------------------------
  909. +# --------------------------
  910. # Public sister of _AM_SUBST_NOTMAKE.
  911. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  912. # Check how to create a tarball. -*- Autoconf -*-
  913. -# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
  914. +# Copyright (C) 2004-2013 Free Software Foundation, Inc.
  915. #
  916. # This file is free software; the Free Software Foundation
  917. # gives unlimited permission to copy and/or distribute it,
  918. # with or without modifications, as long as this notice is preserved.
  919. -# serial 2
  920. -
  921. # _AM_PROG_TAR(FORMAT)
  922. # --------------------
  923. # Check how to create a tarball in format FORMAT.
  924. -# FORMAT should be one of `v7', `ustar', or `pax'.
  925. +# FORMAT should be one of 'v7', 'ustar', or 'pax'.
  926. #
  927. # Substitute a variable $(am__tar) that is a command
  928. # writing to stdout a FORMAT-tarball containing the directory
  929. @@ -1388,75 +1410,114 @@
  930. # Substitute a variable $(am__untar) that extract such
  931. # a tarball read from stdin.
  932. # $(am__untar) < result.tar
  933. +#
  934. AC_DEFUN([_AM_PROG_TAR],
  935. -[# Always define AMTAR for backward compatibility.
  936. -AM_MISSING_PROG([AMTAR], [tar])
  937. -m4_if([$1], [v7],
  938. - [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
  939. - [m4_case([$1], [ustar],, [pax],,
  940. - [m4_fatal([Unknown tar format])])
  941. -AC_MSG_CHECKING([how to create a $1 tar archive])
  942. -# Loop over all known methods to create a tar archive until one works.
  943. +[# Always define AMTAR for backward compatibility. Yes, it's still used
  944. +# in the wild :-( We should find a proper way to deprecate it ...
  945. +AC_SUBST([AMTAR], ['$${TAR-tar}'])
  946. +
  947. +# We'll loop over all known methods to create a tar archive until one works.
  948. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  949. -_am_tools=${am_cv_prog_tar_$1-$_am_tools}
  950. -# Do not fold the above two line into one, because Tru64 sh and
  951. -# Solaris sh will not grok spaces in the rhs of `-'.
  952. -for _am_tool in $_am_tools
  953. -do
  954. - case $_am_tool in
  955. - gnutar)
  956. - for _am_tar in tar gnutar gtar;
  957. - do
  958. - AM_RUN_LOG([$_am_tar --version]) && break
  959. - done
  960. - am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  961. - am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  962. - am__untar="$_am_tar -xf -"
  963. - ;;
  964. - plaintar)
  965. - # Must skip GNU tar: if it does not support --format= it doesn't create
  966. - # ustar tarball either.
  967. - (tar --version) >/dev/null 2>&1 && continue
  968. - am__tar='tar chf - "$$tardir"'
  969. - am__tar_='tar chf - "$tardir"'
  970. - am__untar='tar xf -'
  971. - ;;
  972. - pax)
  973. - am__tar='pax -L -x $1 -w "$$tardir"'
  974. - am__tar_='pax -L -x $1 -w "$tardir"'
  975. - am__untar='pax -r'
  976. - ;;
  977. - cpio)
  978. - am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  979. - am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  980. - am__untar='cpio -i -H $1 -d'
  981. - ;;
  982. - none)
  983. - am__tar=false
  984. - am__tar_=false
  985. - am__untar=false
  986. - ;;
  987. - esac
  988. - # If the value was cached, stop now. We just wanted to have am__tar
  989. - # and am__untar set.
  990. - test -n "${am_cv_prog_tar_$1}" && break
  991. +m4_if([$1], [v7],
  992. + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
  993. - # tar/untar a dummy directory, and stop if the command works
  994. - rm -rf conftest.dir
  995. - mkdir conftest.dir
  996. - echo GrepMe > conftest.dir/file
  997. - AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  998. + [m4_case([$1],
  999. + [ustar],
  1000. + [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
  1001. + # There is notably a 21 bits limit for the UID and the GID. In fact,
  1002. + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
  1003. + # and bug#13588).
  1004. + am_max_uid=2097151 # 2^21 - 1
  1005. + am_max_gid=$am_max_uid
  1006. + # The $UID and $GID variables are not portable, so we need to resort
  1007. + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
  1008. + # below are definitely unexpected, so allow the users to see them
  1009. + # (that is, avoid stderr redirection).
  1010. + am_uid=`id -u || echo unknown`
  1011. + am_gid=`id -g || echo unknown`
  1012. + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
  1013. + if test $am_uid -le $am_max_uid; then
  1014. + AC_MSG_RESULT([yes])
  1015. + else
  1016. + AC_MSG_RESULT([no])
  1017. + _am_tools=none
  1018. + fi
  1019. + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
  1020. + if test $am_gid -le $am_max_gid; then
  1021. + AC_MSG_RESULT([yes])
  1022. + else
  1023. + AC_MSG_RESULT([no])
  1024. + _am_tools=none
  1025. + fi],
  1026. +
  1027. + [pax],
  1028. + [],
  1029. +
  1030. + [m4_fatal([Unknown tar format])])
  1031. +
  1032. + AC_MSG_CHECKING([how to create a $1 tar archive])
  1033. +
  1034. + # Go ahead even if we have the value already cached. We do so because we
  1035. + # need to set the values for the 'am__tar' and 'am__untar' variables.
  1036. + _am_tools=${am_cv_prog_tar_$1-$_am_tools}
  1037. +
  1038. + for _am_tool in $_am_tools; do
  1039. + case $_am_tool in
  1040. + gnutar)
  1041. + for _am_tar in tar gnutar gtar; do
  1042. + AM_RUN_LOG([$_am_tar --version]) && break
  1043. + done
  1044. + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  1045. + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  1046. + am__untar="$_am_tar -xf -"
  1047. + ;;
  1048. + plaintar)
  1049. + # Must skip GNU tar: if it does not support --format= it doesn't create
  1050. + # ustar tarball either.
  1051. + (tar --version) >/dev/null 2>&1 && continue
  1052. + am__tar='tar chf - "$$tardir"'
  1053. + am__tar_='tar chf - "$tardir"'
  1054. + am__untar='tar xf -'
  1055. + ;;
  1056. + pax)
  1057. + am__tar='pax -L -x $1 -w "$$tardir"'
  1058. + am__tar_='pax -L -x $1 -w "$tardir"'
  1059. + am__untar='pax -r'
  1060. + ;;
  1061. + cpio)
  1062. + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  1063. + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  1064. + am__untar='cpio -i -H $1 -d'
  1065. + ;;
  1066. + none)
  1067. + am__tar=false
  1068. + am__tar_=false
  1069. + am__untar=false
  1070. + ;;
  1071. + esac
  1072. +
  1073. + # If the value was cached, stop now. We just wanted to have am__tar
  1074. + # and am__untar set.
  1075. + test -n "${am_cv_prog_tar_$1}" && break
  1076. +
  1077. + # tar/untar a dummy directory, and stop if the command works.
  1078. + rm -rf conftest.dir
  1079. + mkdir conftest.dir
  1080. + echo GrepMe > conftest.dir/file
  1081. + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  1082. + rm -rf conftest.dir
  1083. + if test -s conftest.tar; then
  1084. + AM_RUN_LOG([$am__untar <conftest.tar])
  1085. + AM_RUN_LOG([cat conftest.dir/file])
  1086. + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  1087. + fi
  1088. + done
  1089. rm -rf conftest.dir
  1090. - if test -s conftest.tar; then
  1091. - AM_RUN_LOG([$am__untar <conftest.tar])
  1092. - grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  1093. - fi
  1094. -done
  1095. -rm -rf conftest.dir
  1096. -AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  1097. -AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  1098. + AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  1099. + AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  1100. +
  1101. AC_SUBST([am__tar])
  1102. AC_SUBST([am__untar])
  1103. ]) # _AM_PROG_TAR
  1104. diff -Nur m4-1.4.16.orig/autom4te.cache/output.0 m4-1.4.16/autom4te.cache/output.0
  1105. --- m4-1.4.16.orig/autom4te.cache/output.0 1970-01-01 01:00:00.000000000 +0100
  1106. +++ m4-1.4.16/autom4te.cache/output.0 2013-09-04 14:47:42.000000000 +0200
  1107. @@ -0,0 +1,35907 @@
  1108. +@%:@! /bin/sh
  1109. +@%:@ Guess values for system-dependent variables and create Makefiles.
  1110. +@%:@ Generated by GNU Autoconf 2.69 for GNU M4 1.4.16.
  1111. +@%:@
  1112. +@%:@ Report bugs to <bug-m4@gnu.org>.
  1113. +@%:@
  1114. +@%:@
  1115. +@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  1116. +@%:@
  1117. +@%:@
  1118. +@%:@ This configure script is free software; the Free Software Foundation
  1119. +@%:@ gives unlimited permission to copy, distribute and modify it.
  1120. +## -------------------- ##
  1121. +## M4sh Initialization. ##
  1122. +## -------------------- ##
  1123. +
  1124. +# Be more Bourne compatible
  1125. +DUALCASE=1; export DUALCASE # for MKS sh
  1126. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  1127. + emulate sh
  1128. + NULLCMD=:
  1129. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  1130. + # is contrary to our usage. Disable this feature.
  1131. + alias -g '${1+"$@"}'='"$@"'
  1132. + setopt NO_GLOB_SUBST
  1133. +else
  1134. + case `(set -o) 2>/dev/null` in @%:@(
  1135. + *posix*) :
  1136. + set -o posix ;; @%:@(
  1137. + *) :
  1138. + ;;
  1139. +esac
  1140. +fi
  1141. +
  1142. +
  1143. +as_nl='
  1144. +'
  1145. +export as_nl
  1146. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  1147. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  1148. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  1149. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  1150. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  1151. +# but without wasting forks for bash or zsh.
  1152. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  1153. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  1154. + as_echo='print -r --'
  1155. + as_echo_n='print -rn --'
  1156. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  1157. + as_echo='printf %s\n'
  1158. + as_echo_n='printf %s'
  1159. +else
  1160. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  1161. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  1162. + as_echo_n='/usr/ucb/echo -n'
  1163. + else
  1164. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  1165. + as_echo_n_body='eval
  1166. + arg=$1;
  1167. + case $arg in @%:@(
  1168. + *"$as_nl"*)
  1169. + expr "X$arg" : "X\\(.*\\)$as_nl";
  1170. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  1171. + esac;
  1172. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  1173. + '
  1174. + export as_echo_n_body
  1175. + as_echo_n='sh -c $as_echo_n_body as_echo'
  1176. + fi
  1177. + export as_echo_body
  1178. + as_echo='sh -c $as_echo_body as_echo'
  1179. +fi
  1180. +
  1181. +# The user is always right.
  1182. +if test "${PATH_SEPARATOR+set}" != set; then
  1183. + PATH_SEPARATOR=:
  1184. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  1185. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  1186. + PATH_SEPARATOR=';'
  1187. + }
  1188. +fi
  1189. +
  1190. +
  1191. +# IFS
  1192. +# We need space, tab and new line, in precisely that order. Quoting is
  1193. +# there to prevent editors from complaining about space-tab.
  1194. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  1195. +# splitting by setting IFS to empty value.)
  1196. +IFS=" "" $as_nl"
  1197. +
  1198. +# Find who we are. Look in the path if we contain no directory separator.
  1199. +as_myself=
  1200. +case $0 in @%:@((
  1201. + *[\\/]* ) as_myself=$0 ;;
  1202. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1203. +for as_dir in $PATH
  1204. +do
  1205. + IFS=$as_save_IFS
  1206. + test -z "$as_dir" && as_dir=.
  1207. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  1208. + done
  1209. +IFS=$as_save_IFS
  1210. +
  1211. + ;;
  1212. +esac
  1213. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  1214. +# in which case we are not to be found in the path.
  1215. +if test "x$as_myself" = x; then
  1216. + as_myself=$0
  1217. +fi
  1218. +if test ! -f "$as_myself"; then
  1219. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  1220. + exit 1
  1221. +fi
  1222. +
  1223. +# Unset variables that we do not need and which cause bugs (e.g. in
  1224. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  1225. +# suppresses any "Segmentation fault" message there. '((' could
  1226. +# trigger a bug in pdksh 5.2.14.
  1227. +for as_var in BASH_ENV ENV MAIL MAILPATH
  1228. +do eval test x\${$as_var+set} = xset \
  1229. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  1230. +done
  1231. +PS1='$ '
  1232. +PS2='> '
  1233. +PS4='+ '
  1234. +
  1235. +# NLS nuisances.
  1236. +LC_ALL=C
  1237. +export LC_ALL
  1238. +LANGUAGE=C
  1239. +export LANGUAGE
  1240. +
  1241. +# CDPATH.
  1242. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  1243. +
  1244. +# Use a proper internal environment variable to ensure we don't fall
  1245. + # into an infinite loop, continuously re-executing ourselves.
  1246. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  1247. + _as_can_reexec=no; export _as_can_reexec;
  1248. + # We cannot yet assume a decent shell, so we have to provide a
  1249. +# neutralization value for shells without unset; and this also
  1250. +# works around shells that cannot unset nonexistent variables.
  1251. +# Preserve -v and -x to the replacement shell.
  1252. +BASH_ENV=/dev/null
  1253. +ENV=/dev/null
  1254. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  1255. +case $- in @%:@ ((((
  1256. + *v*x* | *x*v* ) as_opts=-vx ;;
  1257. + *v* ) as_opts=-v ;;
  1258. + *x* ) as_opts=-x ;;
  1259. + * ) as_opts= ;;
  1260. +esac
  1261. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  1262. +# Admittedly, this is quite paranoid, since all the known shells bail
  1263. +# out after a failed `exec'.
  1264. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  1265. +as_fn_exit 255
  1266. + fi
  1267. + # We don't want this to propagate to other subprocesses.
  1268. + { _as_can_reexec=; unset _as_can_reexec;}
  1269. +if test "x$CONFIG_SHELL" = x; then
  1270. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  1271. + emulate sh
  1272. + NULLCMD=:
  1273. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  1274. + # is contrary to our usage. Disable this feature.
  1275. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  1276. + setopt NO_GLOB_SUBST
  1277. +else
  1278. + case \`(set -o) 2>/dev/null\` in @%:@(
  1279. + *posix*) :
  1280. + set -o posix ;; @%:@(
  1281. + *) :
  1282. + ;;
  1283. +esac
  1284. +fi
  1285. +"
  1286. + as_required="as_fn_return () { (exit \$1); }
  1287. +as_fn_success () { as_fn_return 0; }
  1288. +as_fn_failure () { as_fn_return 1; }
  1289. +as_fn_ret_success () { return 0; }
  1290. +as_fn_ret_failure () { return 1; }
  1291. +
  1292. +exitcode=0
  1293. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  1294. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  1295. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  1296. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  1297. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  1298. +
  1299. +else
  1300. + exitcode=1; echo positional parameters were not saved.
  1301. +fi
  1302. +test x\$exitcode = x0 || exit 1
  1303. +test -x / || exit 1"
  1304. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  1305. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  1306. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  1307. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  1308. +test \$(( 1 + 1 )) = 2 || exit 1"
  1309. + if (eval "$as_required") 2>/dev/null; then :
  1310. + as_have_required=yes
  1311. +else
  1312. + as_have_required=no
  1313. +fi
  1314. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  1315. +
  1316. +else
  1317. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1318. +as_found=false
  1319. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  1320. +do
  1321. + IFS=$as_save_IFS
  1322. + test -z "$as_dir" && as_dir=.
  1323. + as_found=:
  1324. + case $as_dir in @%:@(
  1325. + /*)
  1326. + for as_base in sh bash ksh sh5; do
  1327. + # Try only shells that exist, to save several forks.
  1328. + as_shell=$as_dir/$as_base
  1329. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  1330. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  1331. + CONFIG_SHELL=$as_shell as_have_required=yes
  1332. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  1333. + break 2
  1334. +fi
  1335. +fi
  1336. + done;;
  1337. + esac
  1338. + as_found=false
  1339. +done
  1340. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  1341. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  1342. + CONFIG_SHELL=$SHELL as_have_required=yes
  1343. +fi; }
  1344. +IFS=$as_save_IFS
  1345. +
  1346. +
  1347. + if test "x$CONFIG_SHELL" != x; then :
  1348. + export CONFIG_SHELL
  1349. + # We cannot yet assume a decent shell, so we have to provide a
  1350. +# neutralization value for shells without unset; and this also
  1351. +# works around shells that cannot unset nonexistent variables.
  1352. +# Preserve -v and -x to the replacement shell.
  1353. +BASH_ENV=/dev/null
  1354. +ENV=/dev/null
  1355. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  1356. +case $- in @%:@ ((((
  1357. + *v*x* | *x*v* ) as_opts=-vx ;;
  1358. + *v* ) as_opts=-v ;;
  1359. + *x* ) as_opts=-x ;;
  1360. + * ) as_opts= ;;
  1361. +esac
  1362. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  1363. +# Admittedly, this is quite paranoid, since all the known shells bail
  1364. +# out after a failed `exec'.
  1365. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  1366. +exit 255
  1367. +fi
  1368. +
  1369. + if test x$as_have_required = xno; then :
  1370. + $as_echo "$0: This script requires a shell more modern than all"
  1371. + $as_echo "$0: the shells that I found on your system."
  1372. + if test x${ZSH_VERSION+set} = xset ; then
  1373. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  1374. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  1375. + else
  1376. + $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-m4@gnu.org
  1377. +$0: about your system, including any error possibly output
  1378. +$0: before this message. Then install a modern shell, or
  1379. +$0: manually run the script under such a shell if you do
  1380. +$0: have one."
  1381. + fi
  1382. + exit 1
  1383. +fi
  1384. +fi
  1385. +fi
  1386. +SHELL=${CONFIG_SHELL-/bin/sh}
  1387. +export SHELL
  1388. +# Unset more variables known to interfere with behavior of common tools.
  1389. +CLICOLOR_FORCE= GREP_OPTIONS=
  1390. +unset CLICOLOR_FORCE GREP_OPTIONS
  1391. +
  1392. +## --------------------- ##
  1393. +## M4sh Shell Functions. ##
  1394. +## --------------------- ##
  1395. +@%:@ as_fn_unset VAR
  1396. +@%:@ ---------------
  1397. +@%:@ Portably unset VAR.
  1398. +as_fn_unset ()
  1399. +{
  1400. + { eval $1=; unset $1;}
  1401. +}
  1402. +as_unset=as_fn_unset
  1403. +
  1404. +@%:@ as_fn_set_status STATUS
  1405. +@%:@ -----------------------
  1406. +@%:@ Set @S|@? to STATUS, without forking.
  1407. +as_fn_set_status ()
  1408. +{
  1409. + return $1
  1410. +} @%:@ as_fn_set_status
  1411. +
  1412. +@%:@ as_fn_exit STATUS
  1413. +@%:@ -----------------
  1414. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  1415. +as_fn_exit ()
  1416. +{
  1417. + set +e
  1418. + as_fn_set_status $1
  1419. + exit $1
  1420. +} @%:@ as_fn_exit
  1421. +
  1422. +@%:@ as_fn_mkdir_p
  1423. +@%:@ -------------
  1424. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  1425. +as_fn_mkdir_p ()
  1426. +{
  1427. +
  1428. + case $as_dir in #(
  1429. + -*) as_dir=./$as_dir;;
  1430. + esac
  1431. + test -d "$as_dir" || eval $as_mkdir_p || {
  1432. + as_dirs=
  1433. + while :; do
  1434. + case $as_dir in #(
  1435. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  1436. + *) as_qdir=$as_dir;;
  1437. + esac
  1438. + as_dirs="'$as_qdir' $as_dirs"
  1439. + as_dir=`$as_dirname -- "$as_dir" ||
  1440. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1441. + X"$as_dir" : 'X\(//\)[^/]' \| \
  1442. + X"$as_dir" : 'X\(//\)$' \| \
  1443. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  1444. +$as_echo X"$as_dir" |
  1445. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1446. + s//\1/
  1447. + q
  1448. + }
  1449. + /^X\(\/\/\)[^/].*/{
  1450. + s//\1/
  1451. + q
  1452. + }
  1453. + /^X\(\/\/\)$/{
  1454. + s//\1/
  1455. + q
  1456. + }
  1457. + /^X\(\/\).*/{
  1458. + s//\1/
  1459. + q
  1460. + }
  1461. + s/.*/./; q'`
  1462. + test -d "$as_dir" && break
  1463. + done
  1464. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  1465. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  1466. +
  1467. +
  1468. +} @%:@ as_fn_mkdir_p
  1469. +
  1470. +@%:@ as_fn_executable_p FILE
  1471. +@%:@ -----------------------
  1472. +@%:@ Test if FILE is an executable regular file.
  1473. +as_fn_executable_p ()
  1474. +{
  1475. + test -f "$1" && test -x "$1"
  1476. +} @%:@ as_fn_executable_p
  1477. +@%:@ as_fn_append VAR VALUE
  1478. +@%:@ ----------------------
  1479. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  1480. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  1481. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  1482. +@%:@ implementations.
  1483. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  1484. + eval 'as_fn_append ()
  1485. + {
  1486. + eval $1+=\$2
  1487. + }'
  1488. +else
  1489. + as_fn_append ()
  1490. + {
  1491. + eval $1=\$$1\$2
  1492. + }
  1493. +fi # as_fn_append
  1494. +
  1495. +@%:@ as_fn_arith ARG...
  1496. +@%:@ ------------------
  1497. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  1498. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  1499. +@%:@ must be portable across @S|@(()) and expr.
  1500. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  1501. + eval 'as_fn_arith ()
  1502. + {
  1503. + as_val=$(( $* ))
  1504. + }'
  1505. +else
  1506. + as_fn_arith ()
  1507. + {
  1508. + as_val=`expr "$@" || test $? -eq 1`
  1509. + }
  1510. +fi # as_fn_arith
  1511. +
  1512. +
  1513. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  1514. +@%:@ ----------------------------------------
  1515. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  1516. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  1517. +@%:@ script with STATUS, using 1 if that was 0.
  1518. +as_fn_error ()
  1519. +{
  1520. + as_status=$1; test $as_status -eq 0 && as_status=1
  1521. + if test "$4"; then
  1522. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1523. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  1524. + fi
  1525. + $as_echo "$as_me: error: $2" >&2
  1526. + as_fn_exit $as_status
  1527. +} @%:@ as_fn_error
  1528. +
  1529. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  1530. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  1531. + as_expr=expr
  1532. +else
  1533. + as_expr=false
  1534. +fi
  1535. +
  1536. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  1537. + as_basename=basename
  1538. +else
  1539. + as_basename=false
  1540. +fi
  1541. +
  1542. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  1543. + as_dirname=dirname
  1544. +else
  1545. + as_dirname=false
  1546. +fi
  1547. +
  1548. +as_me=`$as_basename -- "$0" ||
  1549. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  1550. + X"$0" : 'X\(//\)$' \| \
  1551. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1552. +$as_echo X/"$0" |
  1553. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  1554. + s//\1/
  1555. + q
  1556. + }
  1557. + /^X\/\(\/\/\)$/{
  1558. + s//\1/
  1559. + q
  1560. + }
  1561. + /^X\/\(\/\).*/{
  1562. + s//\1/
  1563. + q
  1564. + }
  1565. + s/.*/./; q'`
  1566. +
  1567. +# Avoid depending upon Character Ranges.
  1568. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  1569. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  1570. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  1571. +as_cr_digits='0123456789'
  1572. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  1573. +
  1574. +
  1575. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  1576. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  1577. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  1578. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  1579. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  1580. + sed -n '
  1581. + p
  1582. + /[$]LINENO/=
  1583. + ' <$as_myself |
  1584. + sed '
  1585. + s/[$]LINENO.*/&-/
  1586. + t lineno
  1587. + b
  1588. + :lineno
  1589. + N
  1590. + :loop
  1591. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  1592. + t loop
  1593. + s/-\n.*//
  1594. + ' >$as_me.lineno &&
  1595. + chmod +x "$as_me.lineno" ||
  1596. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  1597. +
  1598. + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  1599. + # already done that, so ensure we don't try to do so again and fall
  1600. + # in an infinite loop. This has already happened in practice.
  1601. + _as_can_reexec=no; export _as_can_reexec
  1602. + # Don't try to exec as it changes $[0], causing all sort of problems
  1603. + # (the dirname of $[0] is not the place where we might find the
  1604. + # original and so on. Autoconf is especially sensitive to this).
  1605. + . "./$as_me.lineno"
  1606. + # Exit status is that of the last command.
  1607. + exit
  1608. +}
  1609. +
  1610. +ECHO_C= ECHO_N= ECHO_T=
  1611. +case `echo -n x` in @%:@(((((
  1612. +-n*)
  1613. + case `echo 'xy\c'` in
  1614. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  1615. + xy) ECHO_C='\c';;
  1616. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  1617. + ECHO_T=' ';;
  1618. + esac;;
  1619. +*)
  1620. + ECHO_N='-n';;
  1621. +esac
  1622. +
  1623. +rm -f conf$$ conf$$.exe conf$$.file
  1624. +if test -d conf$$.dir; then
  1625. + rm -f conf$$.dir/conf$$.file
  1626. +else
  1627. + rm -f conf$$.dir
  1628. + mkdir conf$$.dir 2>/dev/null
  1629. +fi
  1630. +if (echo >conf$$.file) 2>/dev/null; then
  1631. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  1632. + as_ln_s='ln -s'
  1633. + # ... but there are two gotchas:
  1634. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  1635. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  1636. + # In both cases, we have to default to `cp -pR'.
  1637. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  1638. + as_ln_s='cp -pR'
  1639. + elif ln conf$$.file conf$$ 2>/dev/null; then
  1640. + as_ln_s=ln
  1641. + else
  1642. + as_ln_s='cp -pR'
  1643. + fi
  1644. +else
  1645. + as_ln_s='cp -pR'
  1646. +fi
  1647. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  1648. +rmdir conf$$.dir 2>/dev/null
  1649. +
  1650. +if mkdir -p . 2>/dev/null; then
  1651. + as_mkdir_p='mkdir -p "$as_dir"'
  1652. +else
  1653. + test -d ./-p && rmdir ./-p
  1654. + as_mkdir_p=false
  1655. +fi
  1656. +
  1657. +as_test_x='test -x'
  1658. +as_executable_p=as_fn_executable_p
  1659. +
  1660. +# Sed expression to map a string onto a valid CPP name.
  1661. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  1662. +
  1663. +# Sed expression to map a string onto a valid variable name.
  1664. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  1665. +
  1666. +
  1667. +test -n "$DJDIR" || exec 7<&0 </dev/null
  1668. +exec 6>&1
  1669. +
  1670. +# Name of the host.
  1671. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  1672. +# so uname gets run too.
  1673. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  1674. +
  1675. +#
  1676. +# Initializations.
  1677. +#
  1678. +ac_default_prefix=/usr/local
  1679. +ac_clean_files=
  1680. +ac_config_libobj_dir=.
  1681. +LIB@&t@OBJS=
  1682. +cross_compiling=no
  1683. +subdirs=
  1684. +MFLAGS=
  1685. +MAKEFLAGS=
  1686. +
  1687. +# Identity of this package.
  1688. +PACKAGE_NAME='GNU M4'
  1689. +PACKAGE_TARNAME='m4'
  1690. +PACKAGE_VERSION='1.4.16'
  1691. +PACKAGE_STRING='GNU M4 1.4.16'
  1692. +PACKAGE_BUGREPORT='bug-m4@gnu.org'
  1693. +PACKAGE_URL='http://www.gnu.org/software/m4/'
  1694. +
  1695. +ac_unique_file="src/m4.h"
  1696. +# Factoring default headers for most tests.
  1697. +ac_includes_default="\
  1698. +#include <stdio.h>
  1699. +#ifdef HAVE_SYS_TYPES_H
  1700. +# include <sys/types.h>
  1701. +#endif
  1702. +#ifdef HAVE_SYS_STAT_H
  1703. +# include <sys/stat.h>
  1704. +#endif
  1705. +#ifdef STDC_HEADERS
  1706. +# include <stdlib.h>
  1707. +# include <stddef.h>
  1708. +#else
  1709. +# ifdef HAVE_STDLIB_H
  1710. +# include <stdlib.h>
  1711. +# endif
  1712. +#endif
  1713. +#ifdef HAVE_STRING_H
  1714. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1715. +# include <memory.h>
  1716. +# endif
  1717. +# include <string.h>
  1718. +#endif
  1719. +#ifdef HAVE_STRINGS_H
  1720. +# include <strings.h>
  1721. +#endif
  1722. +#ifdef HAVE_INTTYPES_H
  1723. +# include <inttypes.h>
  1724. +#endif
  1725. +#ifdef HAVE_STDINT_H
  1726. +# include <stdint.h>
  1727. +#endif
  1728. +#ifdef HAVE_UNISTD_H
  1729. +# include <unistd.h>
  1730. +#endif"
  1731. +
  1732. +gl_use_threads_default=
  1733. +ac_func_list=
  1734. +ac_header_list=
  1735. +gl_getopt_required=POSIX
  1736. +gl_getopt_required=POSIX
  1737. +ac_subst_vars='M4tests_LTLIBOBJS
  1738. +M4tests_LIBOBJS
  1739. +M4_LTLIBOBJS
  1740. +M4_LIBOBJS
  1741. +CONFIG_INCLUDE
  1742. +am__EXEEXT_FALSE
  1743. +am__EXEEXT_TRUE
  1744. +LTLIBOBJS
  1745. +LIB@&t@OBJS
  1746. +LIBTESTS_LIBDEPS
  1747. +LIBM4_LTLIBDEPS
  1748. +LIBM4_LIBDEPS
  1749. +abs_aux_dir
  1750. +POSIX_SPAWN_PORTED_FALSE
  1751. +POSIX_SPAWN_PORTED_TRUE
  1752. +INTL_MACOSX_LIBS
  1753. +NEXT_AS_FIRST_DIRECTIVE_LOCALE_H
  1754. +NEXT_LOCALE_H
  1755. +HAVE_XLOCALE_H
  1756. +REPLACE_DUPLOCALE
  1757. +REPLACE_SETLOCALE
  1758. +HAVE_DUPLOCALE
  1759. +GNULIB_DUPLOCALE
  1760. +GNULIB_SETLOCALE
  1761. +LOCALE_TR_UTF8
  1762. +am__fastdepCXX_FALSE
  1763. +am__fastdepCXX_TRUE
  1764. +CXXDEPMODE
  1765. +ANSICXX_FALSE
  1766. +ANSICXX_TRUE
  1767. +CXXFLAGS
  1768. +ac_ct_CXX
  1769. +CXX
  1770. +CXX_CHOICE
  1771. +M4tests_WITNESS
  1772. +REPLACE_ISWCNTRL
  1773. +HAVE_WCTYPE_H
  1774. +NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H
  1775. +NEXT_WCTYPE_H
  1776. +HAVE_ISWCNTRL
  1777. +REPLACE_ISWBLANK
  1778. +HAVE_WCTRANS_T
  1779. +HAVE_WCTYPE_T
  1780. +HAVE_ISWBLANK
  1781. +GNULIB_TOWCTRANS
  1782. +GNULIB_WCTRANS
  1783. +GNULIB_ISWCTYPE
  1784. +GNULIB_WCTYPE
  1785. +GNULIB_ISWBLANK
  1786. +HAVE_WINT_T
  1787. +NEXT_AS_FIRST_DIRECTIVE_WCHAR_H
  1788. +NEXT_WCHAR_H
  1789. +HAVE_FEATURES_H
  1790. +HAVE_UNISTD_H
  1791. +NEXT_AS_FIRST_DIRECTIVE_UNISTD_H
  1792. +NEXT_UNISTD_H
  1793. +PTHREAD_H_DEFINES_STRUCT_TIMESPEC
  1794. +SYS_TIME_H_DEFINES_STRUCT_TIMESPEC
  1795. +TIME_H_DEFINES_STRUCT_TIMESPEC
  1796. +NEXT_AS_FIRST_DIRECTIVE_TIME_H
  1797. +NEXT_TIME_H
  1798. +REPLACE_TIMEGM
  1799. +REPLACE_NANOSLEEP
  1800. +REPLACE_MKTIME
  1801. +REPLACE_LOCALTIME_R
  1802. +HAVE_TIMEGM
  1803. +HAVE_STRPTIME
  1804. +HAVE_NANOSLEEP
  1805. +HAVE_DECL_LOCALTIME_R
  1806. +GNULIB_TIME_R
  1807. +GNULIB_TIMEGM
  1808. +GNULIB_STRPTIME
  1809. +GNULIB_NANOSLEEP
  1810. +GNULIB_MKTIME
  1811. +NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H
  1812. +NEXT_SYS_WAIT_H
  1813. +GNULIB_WAITPID
  1814. +NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H
  1815. +NEXT_SYS_STAT_H
  1816. +NEXT_AS_FIRST_DIRECTIVE_STRING_H
  1817. +NEXT_STRING_H
  1818. +NEXT_AS_FIRST_DIRECTIVE_STDLIB_H
  1819. +NEXT_STDLIB_H
  1820. +NEXT_AS_FIRST_DIRECTIVE_STDIO_H
  1821. +NEXT_STDIO_H
  1822. +STDINT_H
  1823. +WINT_T_SUFFIX
  1824. +WCHAR_T_SUFFIX
  1825. +SIG_ATOMIC_T_SUFFIX
  1826. +SIZE_T_SUFFIX
  1827. +PTRDIFF_T_SUFFIX
  1828. +HAVE_SIGNED_WINT_T
  1829. +HAVE_SIGNED_WCHAR_T
  1830. +HAVE_SIGNED_SIG_ATOMIC_T
  1831. +BITSIZEOF_WINT_T
  1832. +BITSIZEOF_WCHAR_T
  1833. +BITSIZEOF_SIG_ATOMIC_T
  1834. +BITSIZEOF_SIZE_T
  1835. +BITSIZEOF_PTRDIFF_T
  1836. +HAVE_SYS_BITYPES_H
  1837. +HAVE_SYS_INTTYPES_H
  1838. +HAVE_STDINT_H
  1839. +NEXT_AS_FIRST_DIRECTIVE_STDINT_H
  1840. +NEXT_STDINT_H
  1841. +HAVE_SYS_TYPES_H
  1842. +HAVE_INTTYPES_H
  1843. +HAVE_WCHAR_H
  1844. +HAVE_UNSIGNED_LONG_LONG_INT
  1845. +HAVE_LONG_LONG_INT
  1846. +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
  1847. +NEXT_STDDEF_H
  1848. +STDDEF_H
  1849. +HAVE_WCHAR_T
  1850. +REPLACE_NULL
  1851. +HAVE__BOOL
  1852. +STDBOOL_H
  1853. +NEXT_AS_FIRST_DIRECTIVE_STDARG_H
  1854. +NEXT_STDARG_H
  1855. +STDARG_H
  1856. +HAVE_SPAWN_H
  1857. +NEXT_AS_FIRST_DIRECTIVE_SPAWN_H
  1858. +NEXT_SPAWN_H
  1859. +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H
  1860. +NEXT_SIGNAL_H
  1861. +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T
  1862. +HAVE_STRUCT_SIGACTION_SA_SIGACTION
  1863. +HAVE_SIGACTION
  1864. +HAVE_SIGINFO_T
  1865. +HAVE_SIGSET_T
  1866. +HAVE_POSIX_SIGNALBLOCKING
  1867. +GNULIB_SIGACTION
  1868. +GNULIB_SIGPROCMASK
  1869. +GNULIB_SIGNAL_H_SIGPIPE
  1870. +SCHED_H
  1871. +HAVE_STRUCT_SCHED_PARAM
  1872. +HAVE_SCHED_H
  1873. +NEXT_AS_FIRST_DIRECTIVE_SCHED_H
  1874. +NEXT_SCHED_H
  1875. +REPLACE_POSIX_SPAWN
  1876. +HAVE_POSIX_SPAWN_FILE_ACTIONS_T
  1877. +HAVE_POSIX_SPAWNATTR_T
  1878. +HAVE_POSIX_SPAWN
  1879. +GNULIB_POSIX_SPAWNATTR_DESTROY
  1880. +GNULIB_POSIX_SPAWNATTR_SETSIGMASK
  1881. +GNULIB_POSIX_SPAWNATTR_GETSIGMASK
  1882. +GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT
  1883. +GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT
  1884. +GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY
  1885. +GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY
  1886. +GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM
  1887. +GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM
  1888. +GNULIB_POSIX_SPAWNATTR_SETPGROUP
  1889. +GNULIB_POSIX_SPAWNATTR_GETPGROUP
  1890. +GNULIB_POSIX_SPAWNATTR_SETFLAGS
  1891. +GNULIB_POSIX_SPAWNATTR_GETFLAGS
  1892. +GNULIB_POSIX_SPAWNATTR_INIT
  1893. +GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY
  1894. +GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN
  1895. +GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2
  1896. +GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE
  1897. +GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT
  1898. +GNULIB_POSIX_SPAWNP
  1899. +GNULIB_POSIX_SPAWN
  1900. +APPLE_UNIVERSAL_BUILD
  1901. +UNDEFINE_STRTOK_R
  1902. +REPLACE_STRTOK_R
  1903. +REPLACE_STRSIGNAL
  1904. +REPLACE_STRNLEN
  1905. +REPLACE_STRNDUP
  1906. +REPLACE_STRNCAT
  1907. +REPLACE_STRERROR_R
  1908. +REPLACE_STRERROR
  1909. +REPLACE_STRCASESTR
  1910. +REPLACE_STRSTR
  1911. +REPLACE_STRDUP
  1912. +REPLACE_STPNCPY
  1913. +REPLACE_MEMMEM
  1914. +REPLACE_MEMCHR
  1915. +HAVE_STRVERSCMP
  1916. +HAVE_DECL_STRSIGNAL
  1917. +HAVE_DECL_STRERROR_R
  1918. +HAVE_DECL_STRTOK_R
  1919. +HAVE_STRCASESTR
  1920. +HAVE_STRSEP
  1921. +HAVE_STRPBRK
  1922. +HAVE_DECL_STRNLEN
  1923. +HAVE_DECL_STRNDUP
  1924. +HAVE_DECL_STRDUP
  1925. +HAVE_STRCHRNUL
  1926. +HAVE_STPNCPY
  1927. +HAVE_STPCPY
  1928. +HAVE_RAWMEMCHR
  1929. +HAVE_DECL_MEMRCHR
  1930. +HAVE_MEMPCPY
  1931. +HAVE_DECL_MEMMEM
  1932. +HAVE_MEMCHR
  1933. +HAVE_MBSLEN
  1934. +GNULIB_STRVERSCMP
  1935. +GNULIB_STRSIGNAL
  1936. +GNULIB_STRERROR_R
  1937. +GNULIB_STRERROR
  1938. +GNULIB_MBSTOK_R
  1939. +GNULIB_MBSSEP
  1940. +GNULIB_MBSSPN
  1941. +GNULIB_MBSPBRK
  1942. +GNULIB_MBSCSPN
  1943. +GNULIB_MBSCASESTR
  1944. +GNULIB_MBSPCASECMP
  1945. +GNULIB_MBSNCASECMP
  1946. +GNULIB_MBSCASECMP
  1947. +GNULIB_MBSSTR
  1948. +GNULIB_MBSRCHR
  1949. +GNULIB_MBSCHR
  1950. +GNULIB_MBSNLEN
  1951. +GNULIB_MBSLEN
  1952. +GNULIB_STRTOK_R
  1953. +GNULIB_STRCASESTR
  1954. +GNULIB_STRSTR
  1955. +GNULIB_STRSEP
  1956. +GNULIB_STRPBRK
  1957. +GNULIB_STRNLEN
  1958. +GNULIB_STRNDUP
  1959. +GNULIB_STRNCAT
  1960. +GNULIB_STRDUP
  1961. +GNULIB_STRCHRNUL
  1962. +GNULIB_STPNCPY
  1963. +GNULIB_STPCPY
  1964. +GNULIB_RAWMEMCHR
  1965. +GNULIB_MEMRCHR
  1966. +GNULIB_MEMPCPY
  1967. +GNULIB_MEMMEM
  1968. +GNULIB_MEMCHR
  1969. +LOCALE_FR_UTF8
  1970. +LOCALE_ZH_CN
  1971. +LOCALE_JA
  1972. +NEXT_AS_FIRST_DIRECTIVE_MATH_H
  1973. +NEXT_MATH_H
  1974. +REPLACE_UTIMENSAT
  1975. +REPLACE_STAT
  1976. +REPLACE_MKNOD
  1977. +REPLACE_MKFIFO
  1978. +REPLACE_MKDIR
  1979. +REPLACE_LSTAT
  1980. +REPLACE_FUTIMENS
  1981. +REPLACE_FSTATAT
  1982. +REPLACE_FSTAT
  1983. +HAVE_UTIMENSAT
  1984. +HAVE_MKNODAT
  1985. +HAVE_MKNOD
  1986. +HAVE_MKFIFOAT
  1987. +HAVE_MKFIFO
  1988. +HAVE_MKDIRAT
  1989. +HAVE_LSTAT
  1990. +HAVE_LCHMOD
  1991. +HAVE_FUTIMENS
  1992. +HAVE_FSTATAT
  1993. +HAVE_FCHMODAT
  1994. +GNULIB_UTIMENSAT
  1995. +GNULIB_STAT
  1996. +GNULIB_MKNODAT
  1997. +GNULIB_MKNOD
  1998. +GNULIB_MKFIFOAT
  1999. +GNULIB_MKFIFO
  2000. +GNULIB_MKDIRAT
  2001. +GNULIB_LSTAT
  2002. +GNULIB_LCHMOD
  2003. +GNULIB_FUTIMENS
  2004. +GNULIB_FSTATAT
  2005. +GNULIB_FCHMODAT
  2006. +LTLIBMULTITHREAD
  2007. +LIBMULTITHREAD
  2008. +LTLIBTHREAD
  2009. +LIBTHREAD
  2010. +LIBPTH_PREFIX
  2011. +LTLIBPTH
  2012. +LIBPTH
  2013. +LOCALCHARSET_TESTS_ENVIRONMENT
  2014. +GLIBC21
  2015. +HAVE_LANGINFO_YESEXPR
  2016. +HAVE_LANGINFO_ERA
  2017. +HAVE_LANGINFO_T_FMT_AMPM
  2018. +HAVE_LANGINFO_CODESET
  2019. +HAVE_LANGINFO_H
  2020. +NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H
  2021. +NEXT_LANGINFO_H
  2022. +REPLACE_NL_LANGINFO
  2023. +HAVE_NL_LANGINFO
  2024. +GNULIB_NL_LANGINFO
  2025. +NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H
  2026. +NEXT_SYS_TIME_H
  2027. +REPLACE_GETTIMEOFDAY
  2028. +HAVE_SYS_TIME_H
  2029. +HAVE_STRUCT_TIMEVAL
  2030. +HAVE_GETTIMEOFDAY
  2031. +GNULIB_GETTIMEOFDAY
  2032. +LTLIBINTL
  2033. +LIBINTL
  2034. +GETOPT_H
  2035. +HAVE_GETOPT_H
  2036. +NEXT_AS_FIRST_DIRECTIVE_GETOPT_H
  2037. +NEXT_GETOPT_H
  2038. +REPLACE_TRUNCL
  2039. +REPLACE_TRUNCF
  2040. +REPLACE_TRUNC
  2041. +REPLACE_SIGNBIT_USING_GCC
  2042. +REPLACE_SIGNBIT
  2043. +REPLACE_ROUNDL
  2044. +REPLACE_ROUNDF
  2045. +REPLACE_ROUND
  2046. +REPLACE_NAN
  2047. +REPLACE_LDEXPL
  2048. +REPLACE_ISNAN
  2049. +REPLACE_ISINF
  2050. +REPLACE_ISFINITE
  2051. +REPLACE_HUGE_VAL
  2052. +REPLACE_FREXPL
  2053. +REPLACE_FREXP
  2054. +REPLACE_FLOORL
  2055. +REPLACE_FLOORF
  2056. +REPLACE_FLOOR
  2057. +REPLACE_CEILL
  2058. +REPLACE_CEILF
  2059. +REPLACE_CEIL
  2060. +HAVE_DECL_TRUNCL
  2061. +HAVE_DECL_TRUNCF
  2062. +HAVE_DECL_TRUNC
  2063. +HAVE_DECL_TANL
  2064. +HAVE_DECL_SQRTL
  2065. +HAVE_DECL_SINL
  2066. +HAVE_DECL_ROUNDL
  2067. +HAVE_DECL_ROUNDF
  2068. +HAVE_DECL_ROUND
  2069. +HAVE_DECL_LOGL
  2070. +HAVE_DECL_LOGB
  2071. +HAVE_DECL_LDEXPL
  2072. +HAVE_DECL_FREXPL
  2073. +HAVE_DECL_FLOORL
  2074. +HAVE_DECL_FLOORF
  2075. +HAVE_DECL_EXPL
  2076. +HAVE_DECL_COSL
  2077. +HAVE_DECL_CEILL
  2078. +HAVE_DECL_CEILF
  2079. +HAVE_DECL_ATANL
  2080. +HAVE_DECL_ASINL
  2081. +HAVE_DECL_ACOSL
  2082. +HAVE_TANL
  2083. +HAVE_SQRTL
  2084. +HAVE_SINL
  2085. +HAVE_LOGL
  2086. +HAVE_ISNANL
  2087. +HAVE_ISNAND
  2088. +HAVE_ISNANF
  2089. +HAVE_EXPL
  2090. +HAVE_COSL
  2091. +HAVE_ATANL
  2092. +HAVE_ASINL
  2093. +HAVE_ACOSL
  2094. +GNULIB_TRUNCL
  2095. +GNULIB_TRUNCF
  2096. +GNULIB_TRUNC
  2097. +GNULIB_TANL
  2098. +GNULIB_SQRTL
  2099. +GNULIB_SINL
  2100. +GNULIB_SIGNBIT
  2101. +GNULIB_ROUNDL
  2102. +GNULIB_ROUNDF
  2103. +GNULIB_ROUND
  2104. +GNULIB_LOGL
  2105. +GNULIB_LOGB
  2106. +GNULIB_LDEXPL
  2107. +GNULIB_ISNANL
  2108. +GNULIB_ISNAND
  2109. +GNULIB_ISNANF
  2110. +GNULIB_ISNAN
  2111. +GNULIB_ISINF
  2112. +GNULIB_ISFINITE
  2113. +GNULIB_FREXPL
  2114. +GNULIB_FREXP
  2115. +GNULIB_FLOORL
  2116. +GNULIB_FLOORF
  2117. +GNULIB_FLOOR
  2118. +GNULIB_EXPL
  2119. +GNULIB_COSL
  2120. +GNULIB_CEILL
  2121. +GNULIB_CEILF
  2122. +GNULIB_CEIL
  2123. +GNULIB_ATANL
  2124. +GNULIB_ASINL
  2125. +GNULIB_ACOSL
  2126. +FLOAT_H
  2127. +NEXT_AS_FIRST_DIRECTIVE_FLOAT_H
  2128. +NEXT_FLOAT_H
  2129. +NEXT_AS_FIRST_DIRECTIVE_FCNTL_H
  2130. +NEXT_FCNTL_H
  2131. +REPLACE_OPENAT
  2132. +REPLACE_OPEN
  2133. +REPLACE_FCNTL
  2134. +HAVE_OPENAT
  2135. +HAVE_FCNTL
  2136. +GNULIB_OPENAT
  2137. +GNULIB_OPEN
  2138. +GNULIB_FCNTL
  2139. +REPLACE_VSPRINTF
  2140. +REPLACE_VSNPRINTF
  2141. +REPLACE_VPRINTF
  2142. +REPLACE_VFPRINTF
  2143. +REPLACE_VDPRINTF
  2144. +REPLACE_VASPRINTF
  2145. +REPLACE_TMPFILE
  2146. +REPLACE_STDIO_WRITE_FUNCS
  2147. +REPLACE_SPRINTF
  2148. +REPLACE_SNPRINTF
  2149. +REPLACE_RENAMEAT
  2150. +REPLACE_RENAME
  2151. +REPLACE_REMOVE
  2152. +REPLACE_PRINTF
  2153. +REPLACE_POPEN
  2154. +REPLACE_PERROR
  2155. +REPLACE_OBSTACK_PRINTF
  2156. +REPLACE_GETLINE
  2157. +REPLACE_GETDELIM
  2158. +REPLACE_FTELLO
  2159. +REPLACE_FTELL
  2160. +REPLACE_FSEEKO
  2161. +REPLACE_FSEEK
  2162. +REPLACE_FREOPEN
  2163. +REPLACE_FPURGE
  2164. +REPLACE_FPRINTF
  2165. +REPLACE_FOPEN
  2166. +REPLACE_FFLUSH
  2167. +REPLACE_FCLOSE
  2168. +REPLACE_DPRINTF
  2169. +HAVE_VDPRINTF
  2170. +HAVE_VASPRINTF
  2171. +HAVE_RENAMEAT
  2172. +HAVE_FTELLO
  2173. +HAVE_FSEEKO
  2174. +HAVE_DPRINTF
  2175. +HAVE_DECL_VSNPRINTF
  2176. +HAVE_DECL_SNPRINTF
  2177. +HAVE_DECL_OBSTACK_PRINTF
  2178. +HAVE_DECL_GETLINE
  2179. +HAVE_DECL_GETDELIM
  2180. +HAVE_DECL_FTELLO
  2181. +HAVE_DECL_FSEEKO
  2182. +HAVE_DECL_FPURGE
  2183. +GNULIB_VSPRINTF_POSIX
  2184. +GNULIB_VSNPRINTF
  2185. +GNULIB_VPRINTF_POSIX
  2186. +GNULIB_VPRINTF
  2187. +GNULIB_VFPRINTF_POSIX
  2188. +GNULIB_VFPRINTF
  2189. +GNULIB_VDPRINTF
  2190. +GNULIB_VASPRINTF
  2191. +GNULIB_TMPFILE
  2192. +GNULIB_STDIO_H_SIGPIPE
  2193. +GNULIB_SPRINTF_POSIX
  2194. +GNULIB_SNPRINTF
  2195. +GNULIB_RENAMEAT
  2196. +GNULIB_RENAME
  2197. +GNULIB_REMOVE
  2198. +GNULIB_PUTS
  2199. +GNULIB_PUTCHAR
  2200. +GNULIB_PUTC
  2201. +GNULIB_PRINTF_POSIX
  2202. +GNULIB_PRINTF
  2203. +GNULIB_POPEN
  2204. +GNULIB_PERROR
  2205. +GNULIB_OBSTACK_PRINTF_POSIX
  2206. +GNULIB_OBSTACK_PRINTF
  2207. +GNULIB_GETLINE
  2208. +GNULIB_GETDELIM
  2209. +GNULIB_FWRITE
  2210. +GNULIB_FTELLO
  2211. +GNULIB_FTELL
  2212. +GNULIB_FSEEKO
  2213. +GNULIB_FSEEK
  2214. +GNULIB_FREOPEN
  2215. +GNULIB_FPUTS
  2216. +GNULIB_FPUTC
  2217. +GNULIB_FPURGE
  2218. +GNULIB_FPRINTF_POSIX
  2219. +GNULIB_FPRINTF
  2220. +GNULIB_FOPEN
  2221. +GNULIB_FFLUSH
  2222. +GNULIB_FCLOSE
  2223. +GNULIB_DPRINTF
  2224. +EOVERFLOW_VALUE
  2225. +EOVERFLOW_HIDDEN
  2226. +ENOLINK_VALUE
  2227. +ENOLINK_HIDDEN
  2228. +EMULTIHOP_VALUE
  2229. +EMULTIHOP_HIDDEN
  2230. +ERRNO_H
  2231. +NEXT_AS_FIRST_DIRECTIVE_ERRNO_H
  2232. +NEXT_ERRNO_H
  2233. +PRAGMA_COLUMNS
  2234. +PRAGMA_SYSTEM_HEADER
  2235. +INCLUDE_NEXT_AS_FIRST_DIRECTIVE
  2236. +INCLUDE_NEXT
  2237. +pkglibexecdir
  2238. +lispdir
  2239. +UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS
  2240. +UNISTD_H_HAVE_WINSOCK2_H
  2241. +REPLACE_WRITE
  2242. +REPLACE_USLEEP
  2243. +REPLACE_UNLINKAT
  2244. +REPLACE_UNLINK
  2245. +REPLACE_TTYNAME_R
  2246. +REPLACE_SYMLINK
  2247. +REPLACE_SLEEP
  2248. +REPLACE_RMDIR
  2249. +REPLACE_READLINK
  2250. +REPLACE_PWRITE
  2251. +REPLACE_PREAD
  2252. +REPLACE_LSEEK
  2253. +REPLACE_LINKAT
  2254. +REPLACE_LINK
  2255. +REPLACE_LCHOWN
  2256. +REPLACE_GETPAGESIZE
  2257. +REPLACE_GETGROUPS
  2258. +REPLACE_GETLOGIN_R
  2259. +REPLACE_GETDOMAINNAME
  2260. +REPLACE_GETCWD
  2261. +REPLACE_FCHOWNAT
  2262. +REPLACE_DUP2
  2263. +REPLACE_DUP
  2264. +REPLACE_CLOSE
  2265. +REPLACE_CHOWN
  2266. +HAVE_SYS_PARAM_H
  2267. +HAVE_OS_H
  2268. +HAVE_DECL_TTYNAME_R
  2269. +HAVE_DECL_GETUSERSHELL
  2270. +HAVE_DECL_GETPAGESIZE
  2271. +HAVE_DECL_GETLOGIN_R
  2272. +HAVE_DECL_GETDOMAINNAME
  2273. +HAVE_DECL_FCHDIR
  2274. +HAVE_DECL_ENVIRON
  2275. +HAVE_USLEEP
  2276. +HAVE_UNLINKAT
  2277. +HAVE_SYMLINKAT
  2278. +HAVE_SYMLINK
  2279. +HAVE_SLEEP
  2280. +HAVE_READLINKAT
  2281. +HAVE_READLINK
  2282. +HAVE_PWRITE
  2283. +HAVE_PREAD
  2284. +HAVE_PIPE2
  2285. +HAVE_PIPE
  2286. +HAVE_LINKAT
  2287. +HAVE_LINK
  2288. +HAVE_LCHOWN
  2289. +HAVE_GETPAGESIZE
  2290. +HAVE_GETLOGIN
  2291. +HAVE_GETHOSTNAME
  2292. +HAVE_GETGROUPS
  2293. +HAVE_GETDTABLESIZE
  2294. +HAVE_FTRUNCATE
  2295. +HAVE_FSYNC
  2296. +HAVE_FCHOWNAT
  2297. +HAVE_FCHDIR
  2298. +HAVE_FACCESSAT
  2299. +HAVE_EUIDACCESS
  2300. +HAVE_DUP3
  2301. +HAVE_DUP2
  2302. +HAVE_CHOWN
  2303. +GNULIB_WRITE
  2304. +GNULIB_USLEEP
  2305. +GNULIB_UNLINKAT
  2306. +GNULIB_UNLINK
  2307. +GNULIB_UNISTD_H_SIGPIPE
  2308. +GNULIB_UNISTD_H_GETOPT
  2309. +GNULIB_TTYNAME_R
  2310. +GNULIB_SYMLINKAT
  2311. +GNULIB_SYMLINK
  2312. +GNULIB_SLEEP
  2313. +GNULIB_RMDIR
  2314. +GNULIB_READLINKAT
  2315. +GNULIB_READLINK
  2316. +GNULIB_PWRITE
  2317. +GNULIB_PREAD
  2318. +GNULIB_PIPE2
  2319. +GNULIB_PIPE
  2320. +GNULIB_LSEEK
  2321. +GNULIB_LINKAT
  2322. +GNULIB_LINK
  2323. +GNULIB_LCHOWN
  2324. +GNULIB_GETUSERSHELL
  2325. +GNULIB_GETPAGESIZE
  2326. +GNULIB_GETLOGIN_R
  2327. +GNULIB_GETLOGIN
  2328. +GNULIB_GETHOSTNAME
  2329. +GNULIB_GETGROUPS
  2330. +GNULIB_GETDTABLESIZE
  2331. +GNULIB_GETDOMAINNAME
  2332. +GNULIB_GETCWD
  2333. +GNULIB_FTRUNCATE
  2334. +GNULIB_FSYNC
  2335. +GNULIB_FCHOWNAT
  2336. +GNULIB_FCHDIR
  2337. +GNULIB_FACCESSAT
  2338. +GNULIB_EUIDACCESS
  2339. +GNULIB_ENVIRON
  2340. +GNULIB_DUP3
  2341. +GNULIB_DUP2
  2342. +GNULIB_CLOSE
  2343. +GNULIB_CHOWN
  2344. +REPLACE_WCTOMB
  2345. +REPLACE_UNSETENV
  2346. +REPLACE_STRTOD
  2347. +REPLACE_SETENV
  2348. +REPLACE_REALPATH
  2349. +REPLACE_REALLOC
  2350. +REPLACE_PUTENV
  2351. +REPLACE_MKSTEMP
  2352. +REPLACE_MBTOWC
  2353. +REPLACE_MALLOC
  2354. +REPLACE_CANONICALIZE_FILE_NAME
  2355. +REPLACE_CALLOC
  2356. +HAVE_DECL_UNSETENV
  2357. +HAVE_UNLOCKPT
  2358. +HAVE_SYS_LOADAVG_H
  2359. +HAVE_STRUCT_RANDOM_DATA
  2360. +HAVE_STRTOULL
  2361. +HAVE_STRTOLL
  2362. +HAVE_STRTOD
  2363. +HAVE_DECL_SETENV
  2364. +HAVE_SETENV
  2365. +HAVE_RPMATCH
  2366. +HAVE_REALPATH
  2367. +HAVE_RANDOM_R
  2368. +HAVE_RANDOM_H
  2369. +HAVE_PTSNAME
  2370. +HAVE_MKSTEMPS
  2371. +HAVE_MKSTEMP
  2372. +HAVE_MKOSTEMPS
  2373. +HAVE_MKOSTEMP
  2374. +HAVE_MKDTEMP
  2375. +HAVE_GRANTPT
  2376. +HAVE_GETSUBOPT
  2377. +HAVE_DECL_GETLOADAVG
  2378. +HAVE_CANONICALIZE_FILE_NAME
  2379. +HAVE_ATOLL
  2380. +HAVE__EXIT
  2381. +GNULIB_WCTOMB
  2382. +GNULIB_UNSETENV
  2383. +GNULIB_UNLOCKPT
  2384. +GNULIB_SYSTEM_POSIX
  2385. +GNULIB_STRTOULL
  2386. +GNULIB_STRTOLL
  2387. +GNULIB_STRTOD
  2388. +GNULIB_SETENV
  2389. +GNULIB_RPMATCH
  2390. +GNULIB_REALPATH
  2391. +GNULIB_REALLOC_POSIX
  2392. +GNULIB_RANDOM_R
  2393. +GNULIB_PUTENV
  2394. +GNULIB_PTSNAME
  2395. +GNULIB_MKSTEMPS
  2396. +GNULIB_MKSTEMP
  2397. +GNULIB_MKOSTEMPS
  2398. +GNULIB_MKOSTEMP
  2399. +GNULIB_MKDTEMP
  2400. +GNULIB_MBTOWC
  2401. +GNULIB_MALLOC_POSIX
  2402. +GNULIB_GRANTPT
  2403. +GNULIB_GETSUBOPT
  2404. +GNULIB_GETLOADAVG
  2405. +GNULIB_CANONICALIZE_FILE_NAME
  2406. +GNULIB_CALLOC_POSIX
  2407. +GNULIB_ATOLL
  2408. +GNULIB__EXIT
  2409. +LTLIBCSTACK
  2410. +LIBCSTACK
  2411. +LIBSIGSEGV_PREFIX
  2412. +LTLIBSIGSEGV
  2413. +LIBSIGSEGV
  2414. +HAVE_LIBSIGSEGV
  2415. +LOCALE_FR
  2416. +REPLACE_WCSWIDTH
  2417. +REPLACE_WCWIDTH
  2418. +REPLACE_WCSNRTOMBS
  2419. +REPLACE_WCSRTOMBS
  2420. +REPLACE_WCRTOMB
  2421. +REPLACE_MBSNRTOWCS
  2422. +REPLACE_MBSRTOWCS
  2423. +REPLACE_MBRLEN
  2424. +REPLACE_MBRTOWC
  2425. +REPLACE_MBSINIT
  2426. +REPLACE_WCTOB
  2427. +REPLACE_BTOWC
  2428. +REPLACE_MBSTATE_T
  2429. +HAVE_DECL_WCWIDTH
  2430. +HAVE_DECL_WCTOB
  2431. +HAVE_WCSWIDTH
  2432. +HAVE_WCSTOK
  2433. +HAVE_WCSSTR
  2434. +HAVE_WCSPBRK
  2435. +HAVE_WCSSPN
  2436. +HAVE_WCSCSPN
  2437. +HAVE_WCSRCHR
  2438. +HAVE_WCSCHR
  2439. +HAVE_WCSDUP
  2440. +HAVE_WCSXFRM
  2441. +HAVE_WCSCOLL
  2442. +HAVE_WCSNCASECMP
  2443. +HAVE_WCSCASECMP
  2444. +HAVE_WCSNCMP
  2445. +HAVE_WCSCMP
  2446. +HAVE_WCSNCAT
  2447. +HAVE_WCSCAT
  2448. +HAVE_WCPNCPY
  2449. +HAVE_WCSNCPY
  2450. +HAVE_WCPCPY
  2451. +HAVE_WCSCPY
  2452. +HAVE_WCSNLEN
  2453. +HAVE_WCSLEN
  2454. +HAVE_WMEMSET
  2455. +HAVE_WMEMMOVE
  2456. +HAVE_WMEMCPY
  2457. +HAVE_WMEMCMP
  2458. +HAVE_WMEMCHR
  2459. +HAVE_WCSNRTOMBS
  2460. +HAVE_WCSRTOMBS
  2461. +HAVE_WCRTOMB
  2462. +HAVE_MBSNRTOWCS
  2463. +HAVE_MBSRTOWCS
  2464. +HAVE_MBRLEN
  2465. +HAVE_MBRTOWC
  2466. +HAVE_MBSINIT
  2467. +HAVE_BTOWC
  2468. +GNULIB_WCSWIDTH
  2469. +GNULIB_WCSTOK
  2470. +GNULIB_WCSSTR
  2471. +GNULIB_WCSPBRK
  2472. +GNULIB_WCSSPN
  2473. +GNULIB_WCSCSPN
  2474. +GNULIB_WCSRCHR
  2475. +GNULIB_WCSCHR
  2476. +GNULIB_WCSDUP
  2477. +GNULIB_WCSXFRM
  2478. +GNULIB_WCSCOLL
  2479. +GNULIB_WCSNCASECMP
  2480. +GNULIB_WCSCASECMP
  2481. +GNULIB_WCSNCMP
  2482. +GNULIB_WCSCMP
  2483. +GNULIB_WCSNCAT
  2484. +GNULIB_WCSCAT
  2485. +GNULIB_WCPNCPY
  2486. +GNULIB_WCSNCPY
  2487. +GNULIB_WCPCPY
  2488. +GNULIB_WCSCPY
  2489. +GNULIB_WCSNLEN
  2490. +GNULIB_WCSLEN
  2491. +GNULIB_WMEMSET
  2492. +GNULIB_WMEMMOVE
  2493. +GNULIB_WMEMCPY
  2494. +GNULIB_WMEMCMP
  2495. +GNULIB_WMEMCHR
  2496. +GNULIB_WCWIDTH
  2497. +GNULIB_WCSNRTOMBS
  2498. +GNULIB_WCSRTOMBS
  2499. +GNULIB_WCRTOMB
  2500. +GNULIB_MBSNRTOWCS
  2501. +GNULIB_MBSRTOWCS
  2502. +GNULIB_MBRLEN
  2503. +GNULIB_MBRTOWC
  2504. +GNULIB_MBSINIT
  2505. +GNULIB_WCTOB
  2506. +GNULIB_BTOWC
  2507. +ALLOCA_H
  2508. +ALLOCA
  2509. +GL_COND_LIBTOOL_FALSE
  2510. +GL_COND_LIBTOOL_TRUE
  2511. +WARN_CFLAGS
  2512. +WERROR_CFLAGS
  2513. +EGREP
  2514. +GREP
  2515. +CPP
  2516. +host_os
  2517. +host_vendor
  2518. +host_cpu
  2519. +host
  2520. +build_os
  2521. +build_vendor
  2522. +build_cpu
  2523. +build
  2524. +RANLIB
  2525. +am__fastdepCC_FALSE
  2526. +am__fastdepCC_TRUE
  2527. +CCDEPMODE
  2528. +am__nodep
  2529. +AMDEPBACKSLASH
  2530. +AMDEP_FALSE
  2531. +AMDEP_TRUE
  2532. +am__quote
  2533. +am__include
  2534. +DEPDIR
  2535. +OBJEXT
  2536. +EXEEXT
  2537. +ac_ct_CC
  2538. +CPPFLAGS
  2539. +LDFLAGS
  2540. +CFLAGS
  2541. +CC
  2542. +AM_BACKSLASH
  2543. +AM_DEFAULT_VERBOSITY
  2544. +AM_DEFAULT_V
  2545. +AM_V
  2546. +am__untar
  2547. +am__tar
  2548. +AMTAR
  2549. +am__leading_dot
  2550. +SET_MAKE
  2551. +AWK
  2552. +mkdir_p
  2553. +MKDIR_P
  2554. +INSTALL_STRIP_PROGRAM
  2555. +STRIP
  2556. +install_sh
  2557. +MAKEINFO
  2558. +AUTOHEADER
  2559. +AUTOMAKE
  2560. +AUTOCONF
  2561. +ACLOCAL
  2562. +VERSION
  2563. +PACKAGE
  2564. +CYGPATH_W
  2565. +am__isrc
  2566. +INSTALL_DATA
  2567. +INSTALL_SCRIPT
  2568. +INSTALL_PROGRAM
  2569. +target_alias
  2570. +host_alias
  2571. +build_alias
  2572. +LIBS
  2573. +ECHO_T
  2574. +ECHO_N
  2575. +ECHO_C
  2576. +DEFS
  2577. +mandir
  2578. +localedir
  2579. +libdir
  2580. +psdir
  2581. +pdfdir
  2582. +dvidir
  2583. +htmldir
  2584. +infodir
  2585. +docdir
  2586. +oldincludedir
  2587. +includedir
  2588. +localstatedir
  2589. +sharedstatedir
  2590. +sysconfdir
  2591. +datadir
  2592. +datarootdir
  2593. +libexecdir
  2594. +sbindir
  2595. +bindir
  2596. +program_transform_name
  2597. +prefix
  2598. +exec_prefix
  2599. +PACKAGE_URL
  2600. +PACKAGE_BUGREPORT
  2601. +PACKAGE_STRING
  2602. +PACKAGE_VERSION
  2603. +PACKAGE_TARNAME
  2604. +PACKAGE_NAME
  2605. +PATH_SEPARATOR
  2606. +SHELL'
  2607. +ac_subst_files=''
  2608. +ac_user_opts='
  2609. +enable_option_checking
  2610. +enable_silent_rules
  2611. +enable_dependency_tracking
  2612. +enable_threads
  2613. +enable_gcc_warnings
  2614. +enable_assert
  2615. +with_gnu_ld
  2616. +enable_rpath
  2617. +with_libsigsegv_prefix
  2618. +with_libpth_prefix
  2619. +enable_largefile
  2620. +with_included_regex
  2621. +with_packager
  2622. +with_packager_version
  2623. +with_packager_bug_reports
  2624. +enable_c__
  2625. +enable_changeword
  2626. +with_syscmd_shell
  2627. +with_dmalloc
  2628. +'
  2629. + ac_precious_vars='build_alias
  2630. +host_alias
  2631. +target_alias
  2632. +CC
  2633. +CFLAGS
  2634. +LDFLAGS
  2635. +LIBS
  2636. +CPPFLAGS
  2637. +CPP
  2638. +CXX
  2639. +CXXFLAGS'
  2640. +
  2641. +
  2642. +# Initialize some variables set by options.
  2643. +ac_init_help=
  2644. +ac_init_version=false
  2645. +ac_unrecognized_opts=
  2646. +ac_unrecognized_sep=
  2647. +# The variables have the same names as the options, with
  2648. +# dashes changed to underlines.
  2649. +cache_file=/dev/null
  2650. +exec_prefix=NONE
  2651. +no_create=
  2652. +no_recursion=
  2653. +prefix=NONE
  2654. +program_prefix=NONE
  2655. +program_suffix=NONE
  2656. +program_transform_name=s,x,x,
  2657. +silent=
  2658. +site=
  2659. +srcdir=
  2660. +verbose=
  2661. +x_includes=NONE
  2662. +x_libraries=NONE
  2663. +
  2664. +# Installation directory options.
  2665. +# These are left unexpanded so users can "make install exec_prefix=/foo"
  2666. +# and all the variables that are supposed to be based on exec_prefix
  2667. +# by default will actually change.
  2668. +# Use braces instead of parens because sh, perl, etc. also accept them.
  2669. +# (The list follows the same order as the GNU Coding Standards.)
  2670. +bindir='${exec_prefix}/bin'
  2671. +sbindir='${exec_prefix}/sbin'
  2672. +libexecdir='${exec_prefix}/libexec'
  2673. +datarootdir='${prefix}/share'
  2674. +datadir='${datarootdir}'
  2675. +sysconfdir='${prefix}/etc'
  2676. +sharedstatedir='${prefix}/com'
  2677. +localstatedir='${prefix}/var'
  2678. +includedir='${prefix}/include'
  2679. +oldincludedir='/usr/include'
  2680. +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  2681. +infodir='${datarootdir}/info'
  2682. +htmldir='${docdir}'
  2683. +dvidir='${docdir}'
  2684. +pdfdir='${docdir}'
  2685. +psdir='${docdir}'
  2686. +libdir='${exec_prefix}/lib'
  2687. +localedir='${datarootdir}/locale'
  2688. +mandir='${datarootdir}/man'
  2689. +
  2690. +ac_prev=
  2691. +ac_dashdash=
  2692. +for ac_option
  2693. +do
  2694. + # If the previous option needs an argument, assign it.
  2695. + if test -n "$ac_prev"; then
  2696. + eval $ac_prev=\$ac_option
  2697. + ac_prev=
  2698. + continue
  2699. + fi
  2700. +
  2701. + case $ac_option in
  2702. + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  2703. + *=) ac_optarg= ;;
  2704. + *) ac_optarg=yes ;;
  2705. + esac
  2706. +
  2707. + # Accept the important Cygnus configure options, so we can diagnose typos.
  2708. +
  2709. + case $ac_dashdash$ac_option in
  2710. + --)
  2711. + ac_dashdash=yes ;;
  2712. +
  2713. + -bindir | --bindir | --bindi | --bind | --bin | --bi)
  2714. + ac_prev=bindir ;;
  2715. + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  2716. + bindir=$ac_optarg ;;
  2717. +
  2718. + -build | --build | --buil | --bui | --bu)
  2719. + ac_prev=build_alias ;;
  2720. + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  2721. + build_alias=$ac_optarg ;;
  2722. +
  2723. + -cache-file | --cache-file | --cache-fil | --cache-fi \
  2724. + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  2725. + ac_prev=cache_file ;;
  2726. + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  2727. + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  2728. + cache_file=$ac_optarg ;;
  2729. +
  2730. + --config-cache | -C)
  2731. + cache_file=config.cache ;;
  2732. +
  2733. + -datadir | --datadir | --datadi | --datad)
  2734. + ac_prev=datadir ;;
  2735. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  2736. + datadir=$ac_optarg ;;
  2737. +
  2738. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  2739. + | --dataroo | --dataro | --datar)
  2740. + ac_prev=datarootdir ;;
  2741. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  2742. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  2743. + datarootdir=$ac_optarg ;;
  2744. +
  2745. + -disable-* | --disable-*)
  2746. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  2747. + # Reject names that are not valid shell variable names.
  2748. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2749. + as_fn_error $? "invalid feature name: $ac_useropt"
  2750. + ac_useropt_orig=$ac_useropt
  2751. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2752. + case $ac_user_opts in
  2753. + *"
  2754. +"enable_$ac_useropt"
  2755. +"*) ;;
  2756. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  2757. + ac_unrecognized_sep=', ';;
  2758. + esac
  2759. + eval enable_$ac_useropt=no ;;
  2760. +
  2761. + -docdir | --docdir | --docdi | --doc | --do)
  2762. + ac_prev=docdir ;;
  2763. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  2764. + docdir=$ac_optarg ;;
  2765. +
  2766. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  2767. + ac_prev=dvidir ;;
  2768. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  2769. + dvidir=$ac_optarg ;;
  2770. +
  2771. + -enable-* | --enable-*)
  2772. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  2773. + # Reject names that are not valid shell variable names.
  2774. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2775. + as_fn_error $? "invalid feature name: $ac_useropt"
  2776. + ac_useropt_orig=$ac_useropt
  2777. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2778. + case $ac_user_opts in
  2779. + *"
  2780. +"enable_$ac_useropt"
  2781. +"*) ;;
  2782. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  2783. + ac_unrecognized_sep=', ';;
  2784. + esac
  2785. + eval enable_$ac_useropt=\$ac_optarg ;;
  2786. +
  2787. + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  2788. + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  2789. + | --exec | --exe | --ex)
  2790. + ac_prev=exec_prefix ;;
  2791. + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  2792. + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  2793. + | --exec=* | --exe=* | --ex=*)
  2794. + exec_prefix=$ac_optarg ;;
  2795. +
  2796. + -gas | --gas | --ga | --g)
  2797. + # Obsolete; use --with-gas.
  2798. + with_gas=yes ;;
  2799. +
  2800. + -help | --help | --hel | --he | -h)
  2801. + ac_init_help=long ;;
  2802. + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  2803. + ac_init_help=recursive ;;
  2804. + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  2805. + ac_init_help=short ;;
  2806. +
  2807. + -host | --host | --hos | --ho)
  2808. + ac_prev=host_alias ;;
  2809. + -host=* | --host=* | --hos=* | --ho=*)
  2810. + host_alias=$ac_optarg ;;
  2811. +
  2812. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  2813. + ac_prev=htmldir ;;
  2814. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  2815. + | --ht=*)
  2816. + htmldir=$ac_optarg ;;
  2817. +
  2818. + -includedir | --includedir | --includedi | --included | --include \
  2819. + | --includ | --inclu | --incl | --inc)
  2820. + ac_prev=includedir ;;
  2821. + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  2822. + | --includ=* | --inclu=* | --incl=* | --inc=*)
  2823. + includedir=$ac_optarg ;;
  2824. +
  2825. + -infodir | --infodir | --infodi | --infod | --info | --inf)
  2826. + ac_prev=infodir ;;
  2827. + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  2828. + infodir=$ac_optarg ;;
  2829. +
  2830. + -libdir | --libdir | --libdi | --libd)
  2831. + ac_prev=libdir ;;
  2832. + -libdir=* | --libdir=* | --libdi=* | --libd=*)
  2833. + libdir=$ac_optarg ;;
  2834. +
  2835. + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  2836. + | --libexe | --libex | --libe)
  2837. + ac_prev=libexecdir ;;
  2838. + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  2839. + | --libexe=* | --libex=* | --libe=*)
  2840. + libexecdir=$ac_optarg ;;
  2841. +
  2842. + -localedir | --localedir | --localedi | --localed | --locale)
  2843. + ac_prev=localedir ;;
  2844. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  2845. + localedir=$ac_optarg ;;
  2846. +
  2847. + -localstatedir | --localstatedir | --localstatedi | --localstated \
  2848. + | --localstate | --localstat | --localsta | --localst | --locals)
  2849. + ac_prev=localstatedir ;;
  2850. + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  2851. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  2852. + localstatedir=$ac_optarg ;;
  2853. +
  2854. + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  2855. + ac_prev=mandir ;;
  2856. + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  2857. + mandir=$ac_optarg ;;
  2858. +
  2859. + -nfp | --nfp | --nf)
  2860. + # Obsolete; use --without-fp.
  2861. + with_fp=no ;;
  2862. +
  2863. + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  2864. + | --no-cr | --no-c | -n)
  2865. + no_create=yes ;;
  2866. +
  2867. + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  2868. + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  2869. + no_recursion=yes ;;
  2870. +
  2871. + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  2872. + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  2873. + | --oldin | --oldi | --old | --ol | --o)
  2874. + ac_prev=oldincludedir ;;
  2875. + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  2876. + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  2877. + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  2878. + oldincludedir=$ac_optarg ;;
  2879. +
  2880. + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  2881. + ac_prev=prefix ;;
  2882. + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  2883. + prefix=$ac_optarg ;;
  2884. +
  2885. + -program-prefix | --program-prefix | --program-prefi | --program-pref \
  2886. + | --program-pre | --program-pr | --program-p)
  2887. + ac_prev=program_prefix ;;
  2888. + -program-prefix=* | --program-prefix=* | --program-prefi=* \
  2889. + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  2890. + program_prefix=$ac_optarg ;;
  2891. +
  2892. + -program-suffix | --program-suffix | --program-suffi | --program-suff \
  2893. + | --program-suf | --program-su | --program-s)
  2894. + ac_prev=program_suffix ;;
  2895. + -program-suffix=* | --program-suffix=* | --program-suffi=* \
  2896. + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  2897. + program_suffix=$ac_optarg ;;
  2898. +
  2899. + -program-transform-name | --program-transform-name \
  2900. + | --program-transform-nam | --program-transform-na \
  2901. + | --program-transform-n | --program-transform- \
  2902. + | --program-transform | --program-transfor \
  2903. + | --program-transfo | --program-transf \
  2904. + | --program-trans | --program-tran \
  2905. + | --progr-tra | --program-tr | --program-t)
  2906. + ac_prev=program_transform_name ;;
  2907. + -program-transform-name=* | --program-transform-name=* \
  2908. + | --program-transform-nam=* | --program-transform-na=* \
  2909. + | --program-transform-n=* | --program-transform-=* \
  2910. + | --program-transform=* | --program-transfor=* \
  2911. + | --program-transfo=* | --program-transf=* \
  2912. + | --program-trans=* | --program-tran=* \
  2913. + | --progr-tra=* | --program-tr=* | --program-t=*)
  2914. + program_transform_name=$ac_optarg ;;
  2915. +
  2916. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  2917. + ac_prev=pdfdir ;;
  2918. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  2919. + pdfdir=$ac_optarg ;;
  2920. +
  2921. + -psdir | --psdir | --psdi | --psd | --ps)
  2922. + ac_prev=psdir ;;
  2923. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  2924. + psdir=$ac_optarg ;;
  2925. +
  2926. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2927. + | -silent | --silent | --silen | --sile | --sil)
  2928. + silent=yes ;;
  2929. +
  2930. + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  2931. + ac_prev=sbindir ;;
  2932. + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  2933. + | --sbi=* | --sb=*)
  2934. + sbindir=$ac_optarg ;;
  2935. +
  2936. + -sharedstatedir | --sharedstatedir | --sharedstatedi \
  2937. + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  2938. + | --sharedst | --shareds | --shared | --share | --shar \
  2939. + | --sha | --sh)
  2940. + ac_prev=sharedstatedir ;;
  2941. + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  2942. + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  2943. + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  2944. + | --sha=* | --sh=*)
  2945. + sharedstatedir=$ac_optarg ;;
  2946. +
  2947. + -site | --site | --sit)
  2948. + ac_prev=site ;;
  2949. + -site=* | --site=* | --sit=*)
  2950. + site=$ac_optarg ;;
  2951. +
  2952. + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  2953. + ac_prev=srcdir ;;
  2954. + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  2955. + srcdir=$ac_optarg ;;
  2956. +
  2957. + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  2958. + | --syscon | --sysco | --sysc | --sys | --sy)
  2959. + ac_prev=sysconfdir ;;
  2960. + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  2961. + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  2962. + sysconfdir=$ac_optarg ;;
  2963. +
  2964. + -target | --target | --targe | --targ | --tar | --ta | --t)
  2965. + ac_prev=target_alias ;;
  2966. + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  2967. + target_alias=$ac_optarg ;;
  2968. +
  2969. + -v | -verbose | --verbose | --verbos | --verbo | --verb)
  2970. + verbose=yes ;;
  2971. +
  2972. + -version | --version | --versio | --versi | --vers | -V)
  2973. + ac_init_version=: ;;
  2974. +
  2975. + -with-* | --with-*)
  2976. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  2977. + # Reject names that are not valid shell variable names.
  2978. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2979. + as_fn_error $? "invalid package name: $ac_useropt"
  2980. + ac_useropt_orig=$ac_useropt
  2981. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2982. + case $ac_user_opts in
  2983. + *"
  2984. +"with_$ac_useropt"
  2985. +"*) ;;
  2986. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  2987. + ac_unrecognized_sep=', ';;
  2988. + esac
  2989. + eval with_$ac_useropt=\$ac_optarg ;;
  2990. +
  2991. + -without-* | --without-*)
  2992. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  2993. + # Reject names that are not valid shell variable names.
  2994. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2995. + as_fn_error $? "invalid package name: $ac_useropt"
  2996. + ac_useropt_orig=$ac_useropt
  2997. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2998. + case $ac_user_opts in
  2999. + *"
  3000. +"with_$ac_useropt"
  3001. +"*) ;;
  3002. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  3003. + ac_unrecognized_sep=', ';;
  3004. + esac
  3005. + eval with_$ac_useropt=no ;;
  3006. +
  3007. + --x)
  3008. + # Obsolete; use --with-x.
  3009. + with_x=yes ;;
  3010. +
  3011. + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  3012. + | --x-incl | --x-inc | --x-in | --x-i)
  3013. + ac_prev=x_includes ;;
  3014. + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  3015. + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  3016. + x_includes=$ac_optarg ;;
  3017. +
  3018. + -x-libraries | --x-libraries | --x-librarie | --x-librari \
  3019. + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  3020. + ac_prev=x_libraries ;;
  3021. + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  3022. + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  3023. + x_libraries=$ac_optarg ;;
  3024. +
  3025. + -*) as_fn_error $? "unrecognized option: \`$ac_option'
  3026. +Try \`$0 --help' for more information"
  3027. + ;;
  3028. +
  3029. + *=*)
  3030. + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  3031. + # Reject names that are not valid shell variable names.
  3032. + case $ac_envvar in #(
  3033. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  3034. + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  3035. + esac
  3036. + eval $ac_envvar=\$ac_optarg
  3037. + export $ac_envvar ;;
  3038. +
  3039. + *)
  3040. + # FIXME: should be removed in autoconf 3.0.
  3041. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  3042. + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  3043. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  3044. + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  3045. + ;;
  3046. +
  3047. + esac
  3048. +done
  3049. +
  3050. +if test -n "$ac_prev"; then
  3051. + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  3052. + as_fn_error $? "missing argument to $ac_option"
  3053. +fi
  3054. +
  3055. +if test -n "$ac_unrecognized_opts"; then
  3056. + case $enable_option_checking in
  3057. + no) ;;
  3058. + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  3059. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  3060. + esac
  3061. +fi
  3062. +
  3063. +# Check all directory arguments for consistency.
  3064. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  3065. + datadir sysconfdir sharedstatedir localstatedir includedir \
  3066. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  3067. + libdir localedir mandir
  3068. +do
  3069. + eval ac_val=\$$ac_var
  3070. + # Remove trailing slashes.
  3071. + case $ac_val in
  3072. + */ )
  3073. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  3074. + eval $ac_var=\$ac_val;;
  3075. + esac
  3076. + # Be sure to have absolute directory names.
  3077. + case $ac_val in
  3078. + [\\/$]* | ?:[\\/]* ) continue;;
  3079. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  3080. + esac
  3081. + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  3082. +done
  3083. +
  3084. +# There might be people who depend on the old broken behavior: `$host'
  3085. +# used to hold the argument of --host etc.
  3086. +# FIXME: To remove some day.
  3087. +build=$build_alias
  3088. +host=$host_alias
  3089. +target=$target_alias
  3090. +
  3091. +# FIXME: To remove some day.
  3092. +if test "x$host_alias" != x; then
  3093. + if test "x$build_alias" = x; then
  3094. + cross_compiling=maybe
  3095. + elif test "x$build_alias" != "x$host_alias"; then
  3096. + cross_compiling=yes
  3097. + fi
  3098. +fi
  3099. +
  3100. +ac_tool_prefix=
  3101. +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  3102. +
  3103. +test "$silent" = yes && exec 6>/dev/null
  3104. +
  3105. +
  3106. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  3107. +ac_ls_di=`ls -di .` &&
  3108. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  3109. + as_fn_error $? "working directory cannot be determined"
  3110. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  3111. + as_fn_error $? "pwd does not report name of working directory"
  3112. +
  3113. +
  3114. +# Find the source files, if location was not specified.
  3115. +if test -z "$srcdir"; then
  3116. + ac_srcdir_defaulted=yes
  3117. + # Try the directory containing this script, then the parent directory.
  3118. + ac_confdir=`$as_dirname -- "$as_myself" ||
  3119. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3120. + X"$as_myself" : 'X\(//\)[^/]' \| \
  3121. + X"$as_myself" : 'X\(//\)$' \| \
  3122. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  3123. +$as_echo X"$as_myself" |
  3124. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  3125. + s//\1/
  3126. + q
  3127. + }
  3128. + /^X\(\/\/\)[^/].*/{
  3129. + s//\1/
  3130. + q
  3131. + }
  3132. + /^X\(\/\/\)$/{
  3133. + s//\1/
  3134. + q
  3135. + }
  3136. + /^X\(\/\).*/{
  3137. + s//\1/
  3138. + q
  3139. + }
  3140. + s/.*/./; q'`
  3141. + srcdir=$ac_confdir
  3142. + if test ! -r "$srcdir/$ac_unique_file"; then
  3143. + srcdir=..
  3144. + fi
  3145. +else
  3146. + ac_srcdir_defaulted=no
  3147. +fi
  3148. +if test ! -r "$srcdir/$ac_unique_file"; then
  3149. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  3150. + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  3151. +fi
  3152. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  3153. +ac_abs_confdir=`(
  3154. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  3155. + pwd)`
  3156. +# When building in place, set srcdir=.
  3157. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  3158. + srcdir=.
  3159. +fi
  3160. +# Remove unnecessary trailing slashes from srcdir.
  3161. +# Double slashes in file names in object file debugging info
  3162. +# mess up M-x gdb in Emacs.
  3163. +case $srcdir in
  3164. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  3165. +esac
  3166. +for ac_var in $ac_precious_vars; do
  3167. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  3168. + eval ac_env_${ac_var}_value=\$${ac_var}
  3169. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  3170. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  3171. +done
  3172. +
  3173. +#
  3174. +# Report the --help message.
  3175. +#
  3176. +if test "$ac_init_help" = "long"; then
  3177. + # Omit some internal or obsolete options to make the list less imposing.
  3178. + # This message is too long to be a string in the A/UX 3.1 sh.
  3179. + cat <<_ACEOF
  3180. +\`configure' configures GNU M4 1.4.16 to adapt to many kinds of systems.
  3181. +
  3182. +Usage: $0 [OPTION]... [VAR=VALUE]...
  3183. +
  3184. +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  3185. +VAR=VALUE. See below for descriptions of some of the useful variables.
  3186. +
  3187. +Defaults for the options are specified in brackets.
  3188. +
  3189. +Configuration:
  3190. + -h, --help display this help and exit
  3191. + --help=short display options specific to this package
  3192. + --help=recursive display the short help of all the included packages
  3193. + -V, --version display version information and exit
  3194. + -q, --quiet, --silent do not print \`checking ...' messages
  3195. + --cache-file=FILE cache test results in FILE [disabled]
  3196. + -C, --config-cache alias for \`--cache-file=config.cache'
  3197. + -n, --no-create do not create output files
  3198. + --srcdir=DIR find the sources in DIR [configure dir or \`..']
  3199. +
  3200. +Installation directories:
  3201. + --prefix=PREFIX install architecture-independent files in PREFIX
  3202. + @<:@@S|@ac_default_prefix@:>@
  3203. + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  3204. + @<:@PREFIX@:>@
  3205. +
  3206. +By default, \`make install' will install all the files in
  3207. +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  3208. +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  3209. +for instance \`--prefix=\$HOME'.
  3210. +
  3211. +For better control, use the options below.
  3212. +
  3213. +Fine tuning of the installation directories:
  3214. + --bindir=DIR user executables [EPREFIX/bin]
  3215. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  3216. + --libexecdir=DIR program executables [EPREFIX/libexec]
  3217. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  3218. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  3219. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  3220. + --libdir=DIR object code libraries [EPREFIX/lib]
  3221. + --includedir=DIR C header files [PREFIX/include]
  3222. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  3223. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  3224. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  3225. + --infodir=DIR info documentation [DATAROOTDIR/info]
  3226. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  3227. + --mandir=DIR man documentation [DATAROOTDIR/man]
  3228. + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/m4@:>@
  3229. + --htmldir=DIR html documentation [DOCDIR]
  3230. + --dvidir=DIR dvi documentation [DOCDIR]
  3231. + --pdfdir=DIR pdf documentation [DOCDIR]
  3232. + --psdir=DIR ps documentation [DOCDIR]
  3233. +_ACEOF
  3234. +
  3235. + cat <<\_ACEOF
  3236. +
  3237. +Program names:
  3238. + --program-prefix=PREFIX prepend PREFIX to installed program names
  3239. + --program-suffix=SUFFIX append SUFFIX to installed program names
  3240. + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  3241. +
  3242. +System types:
  3243. + --build=BUILD configure for building on BUILD [guessed]
  3244. + --host=HOST cross-compile to build programs to run on HOST [BUILD]
  3245. +_ACEOF
  3246. +fi
  3247. +
  3248. +if test -n "$ac_init_help"; then
  3249. + case $ac_init_help in
  3250. + short | recursive ) echo "Configuration of GNU M4 1.4.16:";;
  3251. + esac
  3252. + cat <<\_ACEOF
  3253. +
  3254. +Optional Features:
  3255. + --disable-option-checking ignore unrecognized --enable/--with options
  3256. + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  3257. + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  3258. + --enable-silent-rules less verbose build output (undo: "make V=1")
  3259. + --disable-silent-rules verbose build output (undo: "make V=0")
  3260. + --enable-dependency-tracking
  3261. + do not reject slow dependency extractors
  3262. + --disable-dependency-tracking
  3263. + speeds up one-time build
  3264. + --enable-threads={posix|solaris|pth|win32}
  3265. + specify multithreading API
  3266. + --disable-threads build without multithread safety
  3267. + --enable-gcc-warnings turn on lots of GCC warnings (for developers)
  3268. + --disable-assert turn off assertions
  3269. + --disable-rpath do not hardcode runtime library paths
  3270. + --disable-largefile omit support for large files
  3271. + --enable-c++ also build C++ sources
  3272. + --enable-changeword enable -W and changeword() builtin
  3273. +
  3274. +Optional Packages:
  3275. + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  3276. + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  3277. + --with-gnu-ld assume the C compiler uses GNU ld default=no
  3278. + --with-libsigsegv-prefix[=DIR] search for libsigsegv in DIR/include and DIR/lib
  3279. + --without-libsigsegv-prefix don't search for libsigsegv in includedir and libdir
  3280. + --with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib
  3281. + --without-libpth-prefix don't search for libpth in includedir and libdir
  3282. + --without-included-regex
  3283. + don't compile regex; this is the default on systems
  3284. + with recent-enough versions of the GNU C Library
  3285. + (use with caution on other systems).
  3286. + --with-packager String identifying the packager of this software
  3287. + --with-packager-version Packager-specific version information
  3288. + --with-packager-bug-reports
  3289. + Packager info for bug reports (URL/e-mail/...)
  3290. + --with-syscmd-shell shell used by syscmd @<:@/bin/sh@:>@
  3291. + --with-dmalloc use dmalloc, as in dmalloc.tar.gz from
  3292. + @/ftp.antaire.com:antaire/src/dmalloc.
  3293. +
  3294. +Some influential environment variables:
  3295. + CC C compiler command
  3296. + CFLAGS C compiler flags
  3297. + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  3298. + nonstandard directory <lib dir>
  3299. + LIBS libraries to pass to the linker, e.g. -l<library>
  3300. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  3301. + you have headers in a nonstandard directory <include dir>
  3302. + CPP C preprocessor
  3303. + CXX C++ compiler command
  3304. + CXXFLAGS C++ compiler flags
  3305. +
  3306. +Use these variables to override the choices made by `configure' or to help
  3307. +it to find libraries and programs with nonstandard names/locations.
  3308. +
  3309. +Report bugs to <bug-m4@gnu.org>.
  3310. +GNU M4 home page: <http://www.gnu.org/software/m4/>.
  3311. +General help using GNU software: <http://www.gnu.org/gethelp/>.
  3312. +_ACEOF
  3313. +ac_status=$?
  3314. +fi
  3315. +
  3316. +if test "$ac_init_help" = "recursive"; then
  3317. + # If there are subdirs, report their specific --help.
  3318. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  3319. + test -d "$ac_dir" ||
  3320. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  3321. + continue
  3322. + ac_builddir=.
  3323. +
  3324. +case "$ac_dir" in
  3325. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  3326. +*)
  3327. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  3328. + # A ".." for each directory in $ac_dir_suffix.
  3329. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  3330. + case $ac_top_builddir_sub in
  3331. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  3332. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  3333. + esac ;;
  3334. +esac
  3335. +ac_abs_top_builddir=$ac_pwd
  3336. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  3337. +# for backward compatibility:
  3338. +ac_top_builddir=$ac_top_build_prefix
  3339. +
  3340. +case $srcdir in
  3341. + .) # We are building in place.
  3342. + ac_srcdir=.
  3343. + ac_top_srcdir=$ac_top_builddir_sub
  3344. + ac_abs_top_srcdir=$ac_pwd ;;
  3345. + [\\/]* | ?:[\\/]* ) # Absolute name.
  3346. + ac_srcdir=$srcdir$ac_dir_suffix;
  3347. + ac_top_srcdir=$srcdir
  3348. + ac_abs_top_srcdir=$srcdir ;;
  3349. + *) # Relative name.
  3350. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  3351. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  3352. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  3353. +esac
  3354. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  3355. +
  3356. + cd "$ac_dir" || { ac_status=$?; continue; }
  3357. + # Check for guested configure.
  3358. + if test -f "$ac_srcdir/configure.gnu"; then
  3359. + echo &&
  3360. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  3361. + elif test -f "$ac_srcdir/configure"; then
  3362. + echo &&
  3363. + $SHELL "$ac_srcdir/configure" --help=recursive
  3364. + else
  3365. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  3366. + fi || ac_status=$?
  3367. + cd "$ac_pwd" || { ac_status=$?; break; }
  3368. + done
  3369. +fi
  3370. +
  3371. +test -n "$ac_init_help" && exit $ac_status
  3372. +if $ac_init_version; then
  3373. + cat <<\_ACEOF
  3374. +GNU M4 configure 1.4.16
  3375. +generated by GNU Autoconf 2.69
  3376. +
  3377. +Copyright (C) 2012 Free Software Foundation, Inc.
  3378. +This configure script is free software; the Free Software Foundation
  3379. +gives unlimited permission to copy, distribute and modify it.
  3380. +_ACEOF
  3381. + exit
  3382. +fi
  3383. +
  3384. +## ------------------------ ##
  3385. +## Autoconf initialization. ##
  3386. +## ------------------------ ##
  3387. +
  3388. +@%:@ ac_fn_c_try_compile LINENO
  3389. +@%:@ --------------------------
  3390. +@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  3391. +ac_fn_c_try_compile ()
  3392. +{
  3393. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3394. + rm -f conftest.$ac_objext
  3395. + if { { ac_try="$ac_compile"
  3396. +case "(($ac_try" in
  3397. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3398. + *) ac_try_echo=$ac_try;;
  3399. +esac
  3400. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3401. +$as_echo "$ac_try_echo"; } >&5
  3402. + (eval "$ac_compile") 2>conftest.err
  3403. + ac_status=$?
  3404. + if test -s conftest.err; then
  3405. + grep -v '^ *+' conftest.err >conftest.er1
  3406. + cat conftest.er1 >&5
  3407. + mv -f conftest.er1 conftest.err
  3408. + fi
  3409. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3410. + test $ac_status = 0; } && {
  3411. + test -z "$ac_c_werror_flag" ||
  3412. + test ! -s conftest.err
  3413. + } && test -s conftest.$ac_objext; then :
  3414. + ac_retval=0
  3415. +else
  3416. + $as_echo "$as_me: failed program was:" >&5
  3417. +sed 's/^/| /' conftest.$ac_ext >&5
  3418. +
  3419. + ac_retval=1
  3420. +fi
  3421. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3422. + as_fn_set_status $ac_retval
  3423. +
  3424. +} @%:@ ac_fn_c_try_compile
  3425. +
  3426. +@%:@ ac_fn_c_try_cpp LINENO
  3427. +@%:@ ----------------------
  3428. +@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
  3429. +ac_fn_c_try_cpp ()
  3430. +{
  3431. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3432. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  3433. +case "(($ac_try" in
  3434. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3435. + *) ac_try_echo=$ac_try;;
  3436. +esac
  3437. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3438. +$as_echo "$ac_try_echo"; } >&5
  3439. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  3440. + ac_status=$?
  3441. + if test -s conftest.err; then
  3442. + grep -v '^ *+' conftest.err >conftest.er1
  3443. + cat conftest.er1 >&5
  3444. + mv -f conftest.er1 conftest.err
  3445. + fi
  3446. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3447. + test $ac_status = 0; } > conftest.i && {
  3448. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3449. + test ! -s conftest.err
  3450. + }; then :
  3451. + ac_retval=0
  3452. +else
  3453. + $as_echo "$as_me: failed program was:" >&5
  3454. +sed 's/^/| /' conftest.$ac_ext >&5
  3455. +
  3456. + ac_retval=1
  3457. +fi
  3458. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3459. + as_fn_set_status $ac_retval
  3460. +
  3461. +} @%:@ ac_fn_c_try_cpp
  3462. +
  3463. +@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  3464. +@%:@ -------------------------------------------------------
  3465. +@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
  3466. +@%:@ the include files in INCLUDES and setting the cache variable VAR
  3467. +@%:@ accordingly.
  3468. +ac_fn_c_check_header_mongrel ()
  3469. +{
  3470. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3471. + if eval \${$3+:} false; then :
  3472. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3473. +$as_echo_n "checking for $2... " >&6; }
  3474. +if eval \${$3+:} false; then :
  3475. + $as_echo_n "(cached) " >&6
  3476. +fi
  3477. +eval ac_res=\$$3
  3478. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3479. +$as_echo "$ac_res" >&6; }
  3480. +else
  3481. + # Is the header compilable?
  3482. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  3483. +$as_echo_n "checking $2 usability... " >&6; }
  3484. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3485. +/* end confdefs.h. */
  3486. +$4
  3487. +@%:@include <$2>
  3488. +_ACEOF
  3489. +if ac_fn_c_try_compile "$LINENO"; then :
  3490. + ac_header_compiler=yes
  3491. +else
  3492. + ac_header_compiler=no
  3493. +fi
  3494. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3495. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  3496. +$as_echo "$ac_header_compiler" >&6; }
  3497. +
  3498. +# Is the header present?
  3499. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  3500. +$as_echo_n "checking $2 presence... " >&6; }
  3501. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3502. +/* end confdefs.h. */
  3503. +@%:@include <$2>
  3504. +_ACEOF
  3505. +if ac_fn_c_try_cpp "$LINENO"; then :
  3506. + ac_header_preproc=yes
  3507. +else
  3508. + ac_header_preproc=no
  3509. +fi
  3510. +rm -f conftest.err conftest.i conftest.$ac_ext
  3511. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  3512. +$as_echo "$ac_header_preproc" >&6; }
  3513. +
  3514. +# So? What about this header?
  3515. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  3516. + yes:no: )
  3517. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  3518. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  3519. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  3520. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  3521. + ;;
  3522. + no:yes:* )
  3523. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  3524. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  3525. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  3526. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  3527. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  3528. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  3529. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  3530. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  3531. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  3532. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  3533. +( $as_echo "## ----------------------------- ##
  3534. +## Report this to bug-m4@gnu.org ##
  3535. +## ----------------------------- ##"
  3536. + ) | sed "s/^/$as_me: WARNING: /" >&2
  3537. + ;;
  3538. +esac
  3539. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3540. +$as_echo_n "checking for $2... " >&6; }
  3541. +if eval \${$3+:} false; then :
  3542. + $as_echo_n "(cached) " >&6
  3543. +else
  3544. + eval "$3=\$ac_header_compiler"
  3545. +fi
  3546. +eval ac_res=\$$3
  3547. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3548. +$as_echo "$ac_res" >&6; }
  3549. +fi
  3550. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3551. +
  3552. +} @%:@ ac_fn_c_check_header_mongrel
  3553. +
  3554. +@%:@ ac_fn_c_try_run LINENO
  3555. +@%:@ ----------------------
  3556. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
  3557. +@%:@ that executables *can* be run.
  3558. +ac_fn_c_try_run ()
  3559. +{
  3560. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3561. + if { { ac_try="$ac_link"
  3562. +case "(($ac_try" in
  3563. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3564. + *) ac_try_echo=$ac_try;;
  3565. +esac
  3566. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3567. +$as_echo "$ac_try_echo"; } >&5
  3568. + (eval "$ac_link") 2>&5
  3569. + ac_status=$?
  3570. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3571. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  3572. + { { case "(($ac_try" in
  3573. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3574. + *) ac_try_echo=$ac_try;;
  3575. +esac
  3576. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3577. +$as_echo "$ac_try_echo"; } >&5
  3578. + (eval "$ac_try") 2>&5
  3579. + ac_status=$?
  3580. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3581. + test $ac_status = 0; }; }; then :
  3582. + ac_retval=0
  3583. +else
  3584. + $as_echo "$as_me: program exited with status $ac_status" >&5
  3585. + $as_echo "$as_me: failed program was:" >&5
  3586. +sed 's/^/| /' conftest.$ac_ext >&5
  3587. +
  3588. + ac_retval=$ac_status
  3589. +fi
  3590. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  3591. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3592. + as_fn_set_status $ac_retval
  3593. +
  3594. +} @%:@ ac_fn_c_try_run
  3595. +
  3596. +@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  3597. +@%:@ -------------------------------------------------------
  3598. +@%:@ Tests whether HEADER exists and can be compiled using the include files in
  3599. +@%:@ INCLUDES, setting the cache variable VAR accordingly.
  3600. +ac_fn_c_check_header_compile ()
  3601. +{
  3602. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3603. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3604. +$as_echo_n "checking for $2... " >&6; }
  3605. +if eval \${$3+:} false; then :
  3606. + $as_echo_n "(cached) " >&6
  3607. +else
  3608. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3609. +/* end confdefs.h. */
  3610. +$4
  3611. +@%:@include <$2>
  3612. +_ACEOF
  3613. +if ac_fn_c_try_compile "$LINENO"; then :
  3614. + eval "$3=yes"
  3615. +else
  3616. + eval "$3=no"
  3617. +fi
  3618. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3619. +fi
  3620. +eval ac_res=\$$3
  3621. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3622. +$as_echo "$ac_res" >&6; }
  3623. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3624. +
  3625. +} @%:@ ac_fn_c_check_header_compile
  3626. +
  3627. +@%:@ ac_fn_c_try_link LINENO
  3628. +@%:@ -----------------------
  3629. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
  3630. +ac_fn_c_try_link ()
  3631. +{
  3632. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3633. + rm -f conftest.$ac_objext conftest$ac_exeext
  3634. + if { { ac_try="$ac_link"
  3635. +case "(($ac_try" in
  3636. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3637. + *) ac_try_echo=$ac_try;;
  3638. +esac
  3639. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3640. +$as_echo "$ac_try_echo"; } >&5
  3641. + (eval "$ac_link") 2>conftest.err
  3642. + ac_status=$?
  3643. + if test -s conftest.err; then
  3644. + grep -v '^ *+' conftest.err >conftest.er1
  3645. + cat conftest.er1 >&5
  3646. + mv -f conftest.er1 conftest.err
  3647. + fi
  3648. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3649. + test $ac_status = 0; } && {
  3650. + test -z "$ac_c_werror_flag" ||
  3651. + test ! -s conftest.err
  3652. + } && test -s conftest$ac_exeext && {
  3653. + test "$cross_compiling" = yes ||
  3654. + test -x conftest$ac_exeext
  3655. + }; then :
  3656. + ac_retval=0
  3657. +else
  3658. + $as_echo "$as_me: failed program was:" >&5
  3659. +sed 's/^/| /' conftest.$ac_ext >&5
  3660. +
  3661. + ac_retval=1
  3662. +fi
  3663. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  3664. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  3665. + # interfere with the next link command; also delete a directory that is
  3666. + # left behind by Apple's compiler. We do this before executing the actions.
  3667. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  3668. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3669. + as_fn_set_status $ac_retval
  3670. +
  3671. +} @%:@ ac_fn_c_try_link
  3672. +
  3673. +@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  3674. +@%:@ -------------------------------------------
  3675. +@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
  3676. +@%:@ variable VAR accordingly.
  3677. +ac_fn_c_check_type ()
  3678. +{
  3679. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3680. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3681. +$as_echo_n "checking for $2... " >&6; }
  3682. +if eval \${$3+:} false; then :
  3683. + $as_echo_n "(cached) " >&6
  3684. +else
  3685. + eval "$3=no"
  3686. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3687. +/* end confdefs.h. */
  3688. +$4
  3689. +int
  3690. +main ()
  3691. +{
  3692. +if (sizeof ($2))
  3693. + return 0;
  3694. + ;
  3695. + return 0;
  3696. +}
  3697. +_ACEOF
  3698. +if ac_fn_c_try_compile "$LINENO"; then :
  3699. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3700. +/* end confdefs.h. */
  3701. +$4
  3702. +int
  3703. +main ()
  3704. +{
  3705. +if (sizeof (($2)))
  3706. + return 0;
  3707. + ;
  3708. + return 0;
  3709. +}
  3710. +_ACEOF
  3711. +if ac_fn_c_try_compile "$LINENO"; then :
  3712. +
  3713. +else
  3714. + eval "$3=yes"
  3715. +fi
  3716. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3717. +fi
  3718. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3719. +fi
  3720. +eval ac_res=\$$3
  3721. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3722. +$as_echo "$ac_res" >&6; }
  3723. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3724. +
  3725. +} @%:@ ac_fn_c_check_type
  3726. +
  3727. +@%:@ ac_fn_c_check_func LINENO FUNC VAR
  3728. +@%:@ ----------------------------------
  3729. +@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
  3730. +ac_fn_c_check_func ()
  3731. +{
  3732. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3733. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3734. +$as_echo_n "checking for $2... " >&6; }
  3735. +if eval \${$3+:} false; then :
  3736. + $as_echo_n "(cached) " >&6
  3737. +else
  3738. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3739. +/* end confdefs.h. */
  3740. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  3741. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  3742. +#define $2 innocuous_$2
  3743. +
  3744. +/* System header to define __stub macros and hopefully few prototypes,
  3745. + which can conflict with char $2 (); below.
  3746. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3747. + <limits.h> exists even on freestanding compilers. */
  3748. +
  3749. +#ifdef __STDC__
  3750. +# include <limits.h>
  3751. +#else
  3752. +# include <assert.h>
  3753. +#endif
  3754. +
  3755. +#undef $2
  3756. +
  3757. +/* Override any GCC internal prototype to avoid an error.
  3758. + Use char because int might match the return type of a GCC
  3759. + builtin and then its argument prototype would still apply. */
  3760. +#ifdef __cplusplus
  3761. +extern "C"
  3762. +#endif
  3763. +char $2 ();
  3764. +/* The GNU C library defines this for functions which it implements
  3765. + to always fail with ENOSYS. Some functions are actually named
  3766. + something starting with __ and the normal name is an alias. */
  3767. +#if defined __stub_$2 || defined __stub___$2
  3768. +choke me
  3769. +#endif
  3770. +
  3771. +int
  3772. +main ()
  3773. +{
  3774. +return $2 ();
  3775. + ;
  3776. + return 0;
  3777. +}
  3778. +_ACEOF
  3779. +if ac_fn_c_try_link "$LINENO"; then :
  3780. + eval "$3=yes"
  3781. +else
  3782. + eval "$3=no"
  3783. +fi
  3784. +rm -f core conftest.err conftest.$ac_objext \
  3785. + conftest$ac_exeext conftest.$ac_ext
  3786. +fi
  3787. +eval ac_res=\$$3
  3788. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3789. +$as_echo "$ac_res" >&6; }
  3790. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3791. +
  3792. +} @%:@ ac_fn_c_check_func
  3793. +
  3794. +@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
  3795. +@%:@ ---------------------------------------------
  3796. +@%:@ Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
  3797. +@%:@ accordingly.
  3798. +ac_fn_c_check_decl ()
  3799. +{
  3800. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3801. + as_decl_name=`echo $2|sed 's/ *(.*//'`
  3802. + as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
  3803. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
  3804. +$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
  3805. +if eval \${$3+:} false; then :
  3806. + $as_echo_n "(cached) " >&6
  3807. +else
  3808. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3809. +/* end confdefs.h. */
  3810. +$4
  3811. +int
  3812. +main ()
  3813. +{
  3814. +@%:@ifndef $as_decl_name
  3815. +@%:@ifdef __cplusplus
  3816. + (void) $as_decl_use;
  3817. +@%:@else
  3818. + (void) $as_decl_name;
  3819. +@%:@endif
  3820. +@%:@endif
  3821. +
  3822. + ;
  3823. + return 0;
  3824. +}
  3825. +_ACEOF
  3826. +if ac_fn_c_try_compile "$LINENO"; then :
  3827. + eval "$3=yes"
  3828. +else
  3829. + eval "$3=no"
  3830. +fi
  3831. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3832. +fi
  3833. +eval ac_res=\$$3
  3834. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3835. +$as_echo "$ac_res" >&6; }
  3836. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3837. +
  3838. +} @%:@ ac_fn_c_check_decl
  3839. +
  3840. +@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  3841. +@%:@ --------------------------------------------
  3842. +@%:@ Tries to find the compile-time value of EXPR in a program that includes
  3843. +@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
  3844. +@%:@ computed
  3845. +ac_fn_c_compute_int ()
  3846. +{
  3847. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3848. + if test "$cross_compiling" = yes; then
  3849. + # Depending upon the size, compute the lo and hi bounds.
  3850. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3851. +/* end confdefs.h. */
  3852. +$4
  3853. +int
  3854. +main ()
  3855. +{
  3856. +static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
  3857. +test_array @<:@0@:>@ = 0;
  3858. +return test_array @<:@0@:>@;
  3859. +
  3860. + ;
  3861. + return 0;
  3862. +}
  3863. +_ACEOF
  3864. +if ac_fn_c_try_compile "$LINENO"; then :
  3865. + ac_lo=0 ac_mid=0
  3866. + while :; do
  3867. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3868. +/* end confdefs.h. */
  3869. +$4
  3870. +int
  3871. +main ()
  3872. +{
  3873. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  3874. +test_array @<:@0@:>@ = 0;
  3875. +return test_array @<:@0@:>@;
  3876. +
  3877. + ;
  3878. + return 0;
  3879. +}
  3880. +_ACEOF
  3881. +if ac_fn_c_try_compile "$LINENO"; then :
  3882. + ac_hi=$ac_mid; break
  3883. +else
  3884. + as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  3885. + if test $ac_lo -le $ac_mid; then
  3886. + ac_lo= ac_hi=
  3887. + break
  3888. + fi
  3889. + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  3890. +fi
  3891. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3892. + done
  3893. +else
  3894. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3895. +/* end confdefs.h. */
  3896. +$4
  3897. +int
  3898. +main ()
  3899. +{
  3900. +static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
  3901. +test_array @<:@0@:>@ = 0;
  3902. +return test_array @<:@0@:>@;
  3903. +
  3904. + ;
  3905. + return 0;
  3906. +}
  3907. +_ACEOF
  3908. +if ac_fn_c_try_compile "$LINENO"; then :
  3909. + ac_hi=-1 ac_mid=-1
  3910. + while :; do
  3911. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3912. +/* end confdefs.h. */
  3913. +$4
  3914. +int
  3915. +main ()
  3916. +{
  3917. +static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
  3918. +test_array @<:@0@:>@ = 0;
  3919. +return test_array @<:@0@:>@;
  3920. +
  3921. + ;
  3922. + return 0;
  3923. +}
  3924. +_ACEOF
  3925. +if ac_fn_c_try_compile "$LINENO"; then :
  3926. + ac_lo=$ac_mid; break
  3927. +else
  3928. + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  3929. + if test $ac_mid -le $ac_hi; then
  3930. + ac_lo= ac_hi=
  3931. + break
  3932. + fi
  3933. + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  3934. +fi
  3935. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3936. + done
  3937. +else
  3938. + ac_lo= ac_hi=
  3939. +fi
  3940. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3941. +fi
  3942. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3943. +# Binary search between lo and hi bounds.
  3944. +while test "x$ac_lo" != "x$ac_hi"; do
  3945. + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  3946. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3947. +/* end confdefs.h. */
  3948. +$4
  3949. +int
  3950. +main ()
  3951. +{
  3952. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  3953. +test_array @<:@0@:>@ = 0;
  3954. +return test_array @<:@0@:>@;
  3955. +
  3956. + ;
  3957. + return 0;
  3958. +}
  3959. +_ACEOF
  3960. +if ac_fn_c_try_compile "$LINENO"; then :
  3961. + ac_hi=$ac_mid
  3962. +else
  3963. + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  3964. +fi
  3965. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3966. +done
  3967. +case $ac_lo in @%:@((
  3968. +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  3969. +'') ac_retval=1 ;;
  3970. +esac
  3971. + else
  3972. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3973. +/* end confdefs.h. */
  3974. +$4
  3975. +static long int longval () { return $2; }
  3976. +static unsigned long int ulongval () { return $2; }
  3977. +@%:@include <stdio.h>
  3978. +@%:@include <stdlib.h>
  3979. +int
  3980. +main ()
  3981. +{
  3982. +
  3983. + FILE *f = fopen ("conftest.val", "w");
  3984. + if (! f)
  3985. + return 1;
  3986. + if (($2) < 0)
  3987. + {
  3988. + long int i = longval ();
  3989. + if (i != ($2))
  3990. + return 1;
  3991. + fprintf (f, "%ld", i);
  3992. + }
  3993. + else
  3994. + {
  3995. + unsigned long int i = ulongval ();
  3996. + if (i != ($2))
  3997. + return 1;
  3998. + fprintf (f, "%lu", i);
  3999. + }
  4000. + /* Do not output a trailing newline, as this causes \r\n confusion
  4001. + on some platforms. */
  4002. + return ferror (f) || fclose (f) != 0;
  4003. +
  4004. + ;
  4005. + return 0;
  4006. +}
  4007. +_ACEOF
  4008. +if ac_fn_c_try_run "$LINENO"; then :
  4009. + echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  4010. +else
  4011. + ac_retval=1
  4012. +fi
  4013. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4014. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  4015. +rm -f conftest.val
  4016. +
  4017. + fi
  4018. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  4019. + as_fn_set_status $ac_retval
  4020. +
  4021. +} @%:@ ac_fn_c_compute_int
  4022. +
  4023. +@%:@ ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  4024. +@%:@ ----------------------------------------------------
  4025. +@%:@ Tries to find if the field MEMBER exists in type AGGR, after including
  4026. +@%:@ INCLUDES, setting cache variable VAR accordingly.
  4027. +ac_fn_c_check_member ()
  4028. +{
  4029. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4030. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  4031. +$as_echo_n "checking for $2.$3... " >&6; }
  4032. +if eval \${$4+:} false; then :
  4033. + $as_echo_n "(cached) " >&6
  4034. +else
  4035. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4036. +/* end confdefs.h. */
  4037. +$5
  4038. +int
  4039. +main ()
  4040. +{
  4041. +static $2 ac_aggr;
  4042. +if (ac_aggr.$3)
  4043. +return 0;
  4044. + ;
  4045. + return 0;
  4046. +}
  4047. +_ACEOF
  4048. +if ac_fn_c_try_compile "$LINENO"; then :
  4049. + eval "$4=yes"
  4050. +else
  4051. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4052. +/* end confdefs.h. */
  4053. +$5
  4054. +int
  4055. +main ()
  4056. +{
  4057. +static $2 ac_aggr;
  4058. +if (sizeof ac_aggr.$3)
  4059. +return 0;
  4060. + ;
  4061. + return 0;
  4062. +}
  4063. +_ACEOF
  4064. +if ac_fn_c_try_compile "$LINENO"; then :
  4065. + eval "$4=yes"
  4066. +else
  4067. + eval "$4=no"
  4068. +fi
  4069. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4070. +fi
  4071. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4072. +fi
  4073. +eval ac_res=\$$4
  4074. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  4075. +$as_echo "$ac_res" >&6; }
  4076. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  4077. +
  4078. +} @%:@ ac_fn_c_check_member
  4079. +cat >config.log <<_ACEOF
  4080. +This file contains any messages produced by compilers while
  4081. +running configure, to aid debugging if configure makes a mistake.
  4082. +
  4083. +It was created by GNU M4 $as_me 1.4.16, which was
  4084. +generated by GNU Autoconf 2.69. Invocation command line was
  4085. +
  4086. + $ $0 $@
  4087. +
  4088. +_ACEOF
  4089. +exec 5>>config.log
  4090. +{
  4091. +cat <<_ASUNAME
  4092. +## --------- ##
  4093. +## Platform. ##
  4094. +## --------- ##
  4095. +
  4096. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  4097. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  4098. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  4099. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  4100. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  4101. +
  4102. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  4103. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  4104. +
  4105. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  4106. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  4107. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  4108. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  4109. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  4110. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  4111. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  4112. +
  4113. +_ASUNAME
  4114. +
  4115. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4116. +for as_dir in $PATH
  4117. +do
  4118. + IFS=$as_save_IFS
  4119. + test -z "$as_dir" && as_dir=.
  4120. + $as_echo "PATH: $as_dir"
  4121. + done
  4122. +IFS=$as_save_IFS
  4123. +
  4124. +} >&5
  4125. +
  4126. +cat >&5 <<_ACEOF
  4127. +
  4128. +
  4129. +## ----------- ##
  4130. +## Core tests. ##
  4131. +## ----------- ##
  4132. +
  4133. +_ACEOF
  4134. +
  4135. +
  4136. +# Keep a trace of the command line.
  4137. +# Strip out --no-create and --no-recursion so they do not pile up.
  4138. +# Strip out --silent because we don't want to record it for future runs.
  4139. +# Also quote any args containing shell meta-characters.
  4140. +# Make two passes to allow for proper duplicate-argument suppression.
  4141. +ac_configure_args=
  4142. +ac_configure_args0=
  4143. +ac_configure_args1=
  4144. +ac_must_keep_next=false
  4145. +for ac_pass in 1 2
  4146. +do
  4147. + for ac_arg
  4148. + do
  4149. + case $ac_arg in
  4150. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  4151. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  4152. + | -silent | --silent | --silen | --sile | --sil)
  4153. + continue ;;
  4154. + *\'*)
  4155. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  4156. + esac
  4157. + case $ac_pass in
  4158. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  4159. + 2)
  4160. + as_fn_append ac_configure_args1 " '$ac_arg'"
  4161. + if test $ac_must_keep_next = true; then
  4162. + ac_must_keep_next=false # Got value, back to normal.
  4163. + else
  4164. + case $ac_arg in
  4165. + *=* | --config-cache | -C | -disable-* | --disable-* \
  4166. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  4167. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  4168. + | -with-* | --with-* | -without-* | --without-* | --x)
  4169. + case "$ac_configure_args0 " in
  4170. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  4171. + esac
  4172. + ;;
  4173. + -* ) ac_must_keep_next=true ;;
  4174. + esac
  4175. + fi
  4176. + as_fn_append ac_configure_args " '$ac_arg'"
  4177. + ;;
  4178. + esac
  4179. + done
  4180. +done
  4181. +{ ac_configure_args0=; unset ac_configure_args0;}
  4182. +{ ac_configure_args1=; unset ac_configure_args1;}
  4183. +
  4184. +# When interrupted or exit'd, cleanup temporary files, and complete
  4185. +# config.log. We remove comments because anyway the quotes in there
  4186. +# would cause problems or look ugly.
  4187. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  4188. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  4189. +trap 'exit_status=$?
  4190. + # Save into config.log some information that might help in debugging.
  4191. + {
  4192. + echo
  4193. +
  4194. + $as_echo "## ---------------- ##
  4195. +## Cache variables. ##
  4196. +## ---------------- ##"
  4197. + echo
  4198. + # The following way of writing the cache mishandles newlines in values,
  4199. +(
  4200. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  4201. + eval ac_val=\$$ac_var
  4202. + case $ac_val in #(
  4203. + *${as_nl}*)
  4204. + case $ac_var in #(
  4205. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  4206. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  4207. + esac
  4208. + case $ac_var in #(
  4209. + _ | IFS | as_nl) ;; #(
  4210. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  4211. + *) { eval $ac_var=; unset $ac_var;} ;;
  4212. + esac ;;
  4213. + esac
  4214. + done
  4215. + (set) 2>&1 |
  4216. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  4217. + *${as_nl}ac_space=\ *)
  4218. + sed -n \
  4219. + "s/'\''/'\''\\\\'\'''\''/g;
  4220. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  4221. + ;; #(
  4222. + *)
  4223. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  4224. + ;;
  4225. + esac |
  4226. + sort
  4227. +)
  4228. + echo
  4229. +
  4230. + $as_echo "## ----------------- ##
  4231. +## Output variables. ##
  4232. +## ----------------- ##"
  4233. + echo
  4234. + for ac_var in $ac_subst_vars
  4235. + do
  4236. + eval ac_val=\$$ac_var
  4237. + case $ac_val in
  4238. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  4239. + esac
  4240. + $as_echo "$ac_var='\''$ac_val'\''"
  4241. + done | sort
  4242. + echo
  4243. +
  4244. + if test -n "$ac_subst_files"; then
  4245. + $as_echo "## ------------------- ##
  4246. +## File substitutions. ##
  4247. +## ------------------- ##"
  4248. + echo
  4249. + for ac_var in $ac_subst_files
  4250. + do
  4251. + eval ac_val=\$$ac_var
  4252. + case $ac_val in
  4253. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  4254. + esac
  4255. + $as_echo "$ac_var='\''$ac_val'\''"
  4256. + done | sort
  4257. + echo
  4258. + fi
  4259. +
  4260. + if test -s confdefs.h; then
  4261. + $as_echo "## ----------- ##
  4262. +## confdefs.h. ##
  4263. +## ----------- ##"
  4264. + echo
  4265. + cat confdefs.h
  4266. + echo
  4267. + fi
  4268. + test "$ac_signal" != 0 &&
  4269. + $as_echo "$as_me: caught signal $ac_signal"
  4270. + $as_echo "$as_me: exit $exit_status"
  4271. + } >&5
  4272. + rm -f core *.core core.conftest.* &&
  4273. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  4274. + exit $exit_status
  4275. +' 0
  4276. +for ac_signal in 1 2 13 15; do
  4277. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  4278. +done
  4279. +ac_signal=0
  4280. +
  4281. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  4282. +rm -f -r conftest* confdefs.h
  4283. +
  4284. +$as_echo "/* confdefs.h */" > confdefs.h
  4285. +
  4286. +# Predefined preprocessor variables.
  4287. +
  4288. +cat >>confdefs.h <<_ACEOF
  4289. +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
  4290. +_ACEOF
  4291. +
  4292. +cat >>confdefs.h <<_ACEOF
  4293. +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  4294. +_ACEOF
  4295. +
  4296. +cat >>confdefs.h <<_ACEOF
  4297. +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  4298. +_ACEOF
  4299. +
  4300. +cat >>confdefs.h <<_ACEOF
  4301. +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
  4302. +_ACEOF
  4303. +
  4304. +cat >>confdefs.h <<_ACEOF
  4305. +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  4306. +_ACEOF
  4307. +
  4308. +cat >>confdefs.h <<_ACEOF
  4309. +@%:@define PACKAGE_URL "$PACKAGE_URL"
  4310. +_ACEOF
  4311. +
  4312. +
  4313. +# Let the site file select an alternate cache file if it wants to.
  4314. +# Prefer an explicitly selected file to automatically selected ones.
  4315. +ac_site_file1=NONE
  4316. +ac_site_file2=NONE
  4317. +if test -n "$CONFIG_SITE"; then
  4318. + # We do not want a PATH search for config.site.
  4319. + case $CONFIG_SITE in @%:@((
  4320. + -*) ac_site_file1=./$CONFIG_SITE;;
  4321. + */*) ac_site_file1=$CONFIG_SITE;;
  4322. + *) ac_site_file1=./$CONFIG_SITE;;
  4323. + esac
  4324. +elif test "x$prefix" != xNONE; then
  4325. + ac_site_file1=$prefix/share/config.site
  4326. + ac_site_file2=$prefix/etc/config.site
  4327. +else
  4328. + ac_site_file1=$ac_default_prefix/share/config.site
  4329. + ac_site_file2=$ac_default_prefix/etc/config.site
  4330. +fi
  4331. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  4332. +do
  4333. + test "x$ac_site_file" = xNONE && continue
  4334. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  4335. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  4336. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  4337. + sed 's/^/| /' "$ac_site_file" >&5
  4338. + . "$ac_site_file" \
  4339. + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4340. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4341. +as_fn_error $? "failed to load site script $ac_site_file
  4342. +See \`config.log' for more details" "$LINENO" 5; }
  4343. + fi
  4344. +done
  4345. +
  4346. +if test -r "$cache_file"; then
  4347. + # Some versions of bash will fail to source /dev/null (special files
  4348. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  4349. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  4350. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  4351. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  4352. + case $cache_file in
  4353. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  4354. + *) . "./$cache_file";;
  4355. + esac
  4356. + fi
  4357. +else
  4358. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  4359. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  4360. + >$cache_file
  4361. +fi
  4362. +
  4363. +gl_use_threads_default=no
  4364. +as_fn_append ac_func_list " btowc"
  4365. +as_fn_append ac_func_list " setrlimit"
  4366. +as_fn_append ac_header_list " ucontext.h"
  4367. +as_fn_append ac_func_list " sigaltstack"
  4368. +as_fn_append ac_header_list " unistd.h"
  4369. +as_fn_append ac_func_list " canonicalize_file_name"
  4370. +as_fn_append ac_func_list " getcwd"
  4371. +as_fn_append ac_func_list " readlink"
  4372. +as_fn_append ac_func_list " realpath"
  4373. +as_fn_append ac_header_list " sys/param.h"
  4374. +as_fn_append ac_func_list " dup2"
  4375. +as_fn_append ac_func_list " fcntl"
  4376. +as_fn_append ac_func_list " mempcpy"
  4377. +as_fn_append ac_header_list " stdio_ext.h"
  4378. +as_fn_append ac_func_list " __fpending"
  4379. +as_fn_append ac_func_list " fpurge"
  4380. +as_fn_append ac_func_list " __fpurge"
  4381. +as_fn_append ac_func_list " __freading"
  4382. +as_fn_append ac_func_list " getdtablesize"
  4383. +gl_getopt_required=GNU
  4384. +as_fn_append ac_header_list " getopt.h"
  4385. +as_fn_append ac_header_list " sys/time.h"
  4386. +as_fn_append ac_func_list " gettimeofday"
  4387. +as_fn_append ac_header_list " langinfo.h"
  4388. +as_fn_append ac_func_list " lstat"
  4389. +as_fn_append ac_header_list " math.h"
  4390. +as_fn_append ac_func_list " mbsinit"
  4391. +as_fn_append ac_func_list " mbrtowc"
  4392. +as_fn_append ac_header_list " sys/mman.h"
  4393. +as_fn_append ac_func_list " mprotect"
  4394. +as_fn_append ac_func_list " memchr"
  4395. +as_fn_append ac_func_list " mkstemp"
  4396. +as_fn_append ac_func_list " nl_langinfo"
  4397. +as_fn_append ac_func_list " pathconf"
  4398. +as_fn_append ac_func_list " pipe2"
  4399. +as_fn_append ac_func_list " posix_spawn"
  4400. +gl_printf_safe=yes
  4401. +as_fn_append ac_func_list " isblank"
  4402. +as_fn_append ac_func_list " iswctype"
  4403. +as_fn_append ac_func_list " wcscoll"
  4404. +as_fn_append ac_header_list " sched.h"
  4405. +as_fn_append ac_func_list " sigaction"
  4406. +as_fn_append ac_func_list " siginterrupt"
  4407. +as_fn_append ac_header_list " spawn.h"
  4408. +as_fn_append ac_header_list " wchar.h"
  4409. +as_fn_append ac_header_list " stdint.h"
  4410. +as_fn_append ac_header_list " sys/socket.h"
  4411. +as_fn_append ac_func_list " strndup"
  4412. +as_fn_append ac_header_list " sys/stat.h"
  4413. +as_fn_append ac_header_list " sys/wait.h"
  4414. +as_fn_append ac_func_list " pipe"
  4415. +as_fn_append ac_func_list " vasnprintf"
  4416. +as_fn_append ac_header_list " features.h"
  4417. +as_fn_append ac_func_list " wcrtomb"
  4418. +as_fn_append ac_func_list " iswcntrl"
  4419. +as_fn_append ac_header_list " wctype.h"
  4420. +as_fn_append ac_func_list " link"
  4421. +as_fn_append ac_header_list " xlocale.h"
  4422. +as_fn_append ac_func_list " newlocale"
  4423. +as_fn_append ac_func_list " setenv"
  4424. +as_fn_append ac_func_list " strdup"
  4425. +as_fn_append ac_func_list " symlink"
  4426. +as_fn_append ac_func_list " wctob"
  4427. +# Check that the precious variables saved in the cache have kept the same
  4428. +# value.
  4429. +ac_cache_corrupted=false
  4430. +for ac_var in $ac_precious_vars; do
  4431. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  4432. + eval ac_new_set=\$ac_env_${ac_var}_set
  4433. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  4434. + eval ac_new_val=\$ac_env_${ac_var}_value
  4435. + case $ac_old_set,$ac_new_set in
  4436. + set,)
  4437. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  4438. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  4439. + ac_cache_corrupted=: ;;
  4440. + ,set)
  4441. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  4442. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  4443. + ac_cache_corrupted=: ;;
  4444. + ,);;
  4445. + *)
  4446. + if test "x$ac_old_val" != "x$ac_new_val"; then
  4447. + # differences in whitespace do not lead to failure.
  4448. + ac_old_val_w=`echo x $ac_old_val`
  4449. + ac_new_val_w=`echo x $ac_new_val`
  4450. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  4451. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  4452. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  4453. + ac_cache_corrupted=:
  4454. + else
  4455. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  4456. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  4457. + eval $ac_var=\$ac_old_val
  4458. + fi
  4459. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  4460. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  4461. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  4462. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  4463. + fi;;
  4464. + esac
  4465. + # Pass precious variables to config.status.
  4466. + if test "$ac_new_set" = set; then
  4467. + case $ac_new_val in
  4468. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  4469. + *) ac_arg=$ac_var=$ac_new_val ;;
  4470. + esac
  4471. + case " $ac_configure_args " in
  4472. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  4473. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  4474. + esac
  4475. + fi
  4476. +done
  4477. +if $ac_cache_corrupted; then
  4478. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4479. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4480. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  4481. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  4482. + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  4483. +fi
  4484. +## -------------------- ##
  4485. +## Main body of script. ##
  4486. +## -------------------- ##
  4487. +
  4488. +ac_ext=c
  4489. +ac_cpp='$CPP $CPPFLAGS'
  4490. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4491. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4492. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4493. +
  4494. +
  4495. +ac_aux_dir=
  4496. +for ac_dir in build-aux "$srcdir"/build-aux; do
  4497. + if test -f "$ac_dir/install-sh"; then
  4498. + ac_aux_dir=$ac_dir
  4499. + ac_install_sh="$ac_aux_dir/install-sh -c"
  4500. + break
  4501. + elif test -f "$ac_dir/install.sh"; then
  4502. + ac_aux_dir=$ac_dir
  4503. + ac_install_sh="$ac_aux_dir/install.sh -c"
  4504. + break
  4505. + elif test -f "$ac_dir/shtool"; then
  4506. + ac_aux_dir=$ac_dir
  4507. + ac_install_sh="$ac_aux_dir/shtool install -c"
  4508. + break
  4509. + fi
  4510. +done
  4511. +if test -z "$ac_aux_dir"; then
  4512. + as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
  4513. +fi
  4514. +
  4515. +# These three variables are undocumented and unsupported,
  4516. +# and are intended to be withdrawn in a future Autoconf release.
  4517. +# They can cause serious problems if a builder's source tree is in a directory
  4518. +# whose full name contains unusual characters.
  4519. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  4520. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  4521. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  4522. +
  4523. +
  4524. +
  4525. +am__api_version='1.13'
  4526. +
  4527. +# Find a good install program. We prefer a C program (faster),
  4528. +# so one script is as good as another. But avoid the broken or
  4529. +# incompatible versions:
  4530. +# SysV /etc/install, /usr/sbin/install
  4531. +# SunOS /usr/etc/install
  4532. +# IRIX /sbin/install
  4533. +# AIX /bin/install
  4534. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  4535. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  4536. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  4537. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  4538. +# OS/2's system install, which has a completely different semantic
  4539. +# ./install, which can be erroneously created by make from ./install.sh.
  4540. +# Reject install programs that cannot install multiple files.
  4541. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  4542. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  4543. +if test -z "$INSTALL"; then
  4544. +if ${ac_cv_path_install+:} false; then :
  4545. + $as_echo_n "(cached) " >&6
  4546. +else
  4547. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4548. +for as_dir in $PATH
  4549. +do
  4550. + IFS=$as_save_IFS
  4551. + test -z "$as_dir" && as_dir=.
  4552. + # Account for people who put trailing slashes in PATH elements.
  4553. +case $as_dir/ in @%:@((
  4554. + ./ | .// | /[cC]/* | \
  4555. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  4556. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  4557. + /usr/ucb/* ) ;;
  4558. + *)
  4559. + # OSF1 and SCO ODT 3.0 have their own names for install.
  4560. + # Don't use installbsd from OSF since it installs stuff as root
  4561. + # by default.
  4562. + for ac_prog in ginstall scoinst install; do
  4563. + for ac_exec_ext in '' $ac_executable_extensions; do
  4564. + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  4565. + if test $ac_prog = install &&
  4566. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  4567. + # AIX install. It has an incompatible calling convention.
  4568. + :
  4569. + elif test $ac_prog = install &&
  4570. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  4571. + # program-specific install script used by HP pwplus--don't use.
  4572. + :
  4573. + else
  4574. + rm -rf conftest.one conftest.two conftest.dir
  4575. + echo one > conftest.one
  4576. + echo two > conftest.two
  4577. + mkdir conftest.dir
  4578. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  4579. + test -s conftest.one && test -s conftest.two &&
  4580. + test -s conftest.dir/conftest.one &&
  4581. + test -s conftest.dir/conftest.two
  4582. + then
  4583. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  4584. + break 3
  4585. + fi
  4586. + fi
  4587. + fi
  4588. + done
  4589. + done
  4590. + ;;
  4591. +esac
  4592. +
  4593. + done
  4594. +IFS=$as_save_IFS
  4595. +
  4596. +rm -rf conftest.one conftest.two conftest.dir
  4597. +
  4598. +fi
  4599. + if test "${ac_cv_path_install+set}" = set; then
  4600. + INSTALL=$ac_cv_path_install
  4601. + else
  4602. + # As a last resort, use the slow shell script. Don't cache a
  4603. + # value for INSTALL within a source directory, because that will
  4604. + # break other packages using the cache if that directory is
  4605. + # removed, or if the value is a relative name.
  4606. + INSTALL=$ac_install_sh
  4607. + fi
  4608. +fi
  4609. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  4610. +$as_echo "$INSTALL" >&6; }
  4611. +
  4612. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  4613. +# It thinks the first close brace ends the variable substitution.
  4614. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  4615. +
  4616. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  4617. +
  4618. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  4619. +
  4620. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  4621. +$as_echo_n "checking whether build environment is sane... " >&6; }
  4622. +# Reject unsafe characters in $srcdir or the absolute working directory
  4623. +# name. Accept space and tab only in the latter.
  4624. +am_lf='
  4625. +'
  4626. +case `pwd` in
  4627. + *[\\\"\#\$\&\'\`$am_lf]*)
  4628. + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  4629. +esac
  4630. +case $srcdir in
  4631. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  4632. + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  4633. +esac
  4634. +
  4635. +# Do 'set' in a subshell so we don't clobber the current shell's
  4636. +# arguments. Must try -L first in case configure is actually a
  4637. +# symlink; some systems play weird games with the mod time of symlinks
  4638. +# (eg FreeBSD returns the mod time of the symlink's containing
  4639. +# directory).
  4640. +if (
  4641. + am_has_slept=no
  4642. + for am_try in 1 2; do
  4643. + echo "timestamp, slept: $am_has_slept" > conftest.file
  4644. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  4645. + if test "$*" = "X"; then
  4646. + # -L didn't work.
  4647. + set X `ls -t "$srcdir/configure" conftest.file`
  4648. + fi
  4649. + if test "$*" != "X $srcdir/configure conftest.file" \
  4650. + && test "$*" != "X conftest.file $srcdir/configure"; then
  4651. +
  4652. + # If neither matched, then we have a broken ls. This can happen
  4653. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  4654. + # broken ls alias from the environment. This has actually
  4655. + # happened. Such a system could not be considered "sane".
  4656. + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  4657. + alias in your environment" "$LINENO" 5
  4658. + fi
  4659. + if test "$2" = conftest.file || test $am_try -eq 2; then
  4660. + break
  4661. + fi
  4662. + # Just in case.
  4663. + sleep 1
  4664. + am_has_slept=yes
  4665. + done
  4666. + test "$2" = conftest.file
  4667. + )
  4668. +then
  4669. + # Ok.
  4670. + :
  4671. +else
  4672. + as_fn_error $? "newly created file is older than distributed files!
  4673. +Check your system clock" "$LINENO" 5
  4674. +fi
  4675. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4676. +$as_echo "yes" >&6; }
  4677. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  4678. +# generated files are strictly newer.
  4679. +am_sleep_pid=
  4680. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  4681. + ( sleep 1 ) &
  4682. + am_sleep_pid=$!
  4683. +fi
  4684. +
  4685. +rm -f conftest.file
  4686. +
  4687. +test "$program_prefix" != NONE &&
  4688. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  4689. +# Use a double $ so make ignores it.
  4690. +test "$program_suffix" != NONE &&
  4691. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  4692. +# Double any \ or $.
  4693. +# By default was `s,x,x', remove it if useless.
  4694. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  4695. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  4696. +
  4697. +# expand $ac_aux_dir to an absolute path
  4698. +am_aux_dir=`cd $ac_aux_dir && pwd`
  4699. +
  4700. +if test x"${MISSING+set}" != xset; then
  4701. + case $am_aux_dir in
  4702. + *\ * | *\ *)
  4703. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  4704. + *)
  4705. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  4706. + esac
  4707. +fi
  4708. +# Use eval to expand $SHELL
  4709. +if eval "$MISSING --is-lightweight"; then
  4710. + am_missing_run="$MISSING "
  4711. +else
  4712. + am_missing_run=
  4713. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  4714. +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  4715. +fi
  4716. +
  4717. +if test x"${install_sh}" != xset; then
  4718. + case $am_aux_dir in
  4719. + *\ * | *\ *)
  4720. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  4721. + *)
  4722. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  4723. + esac
  4724. +fi
  4725. +
  4726. +# Installed binaries are usually stripped using 'strip' when the user
  4727. +# run "make install-strip". However 'strip' might not be the right
  4728. +# tool to use in cross-compilation environments, therefore Automake
  4729. +# will honor the 'STRIP' environment variable to overrule this program.
  4730. +if test "$cross_compiling" != no; then
  4731. + if test -n "$ac_tool_prefix"; then
  4732. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  4733. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  4734. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4735. +$as_echo_n "checking for $ac_word... " >&6; }
  4736. +if ${ac_cv_prog_STRIP+:} false; then :
  4737. + $as_echo_n "(cached) " >&6
  4738. +else
  4739. + if test -n "$STRIP"; then
  4740. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  4741. +else
  4742. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4743. +for as_dir in $PATH
  4744. +do
  4745. + IFS=$as_save_IFS
  4746. + test -z "$as_dir" && as_dir=.
  4747. + for ac_exec_ext in '' $ac_executable_extensions; do
  4748. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4749. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  4750. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4751. + break 2
  4752. + fi
  4753. +done
  4754. + done
  4755. +IFS=$as_save_IFS
  4756. +
  4757. +fi
  4758. +fi
  4759. +STRIP=$ac_cv_prog_STRIP
  4760. +if test -n "$STRIP"; then
  4761. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  4762. +$as_echo "$STRIP" >&6; }
  4763. +else
  4764. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4765. +$as_echo "no" >&6; }
  4766. +fi
  4767. +
  4768. +
  4769. +fi
  4770. +if test -z "$ac_cv_prog_STRIP"; then
  4771. + ac_ct_STRIP=$STRIP
  4772. + # Extract the first word of "strip", so it can be a program name with args.
  4773. +set dummy strip; ac_word=$2
  4774. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4775. +$as_echo_n "checking for $ac_word... " >&6; }
  4776. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  4777. + $as_echo_n "(cached) " >&6
  4778. +else
  4779. + if test -n "$ac_ct_STRIP"; then
  4780. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  4781. +else
  4782. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4783. +for as_dir in $PATH
  4784. +do
  4785. + IFS=$as_save_IFS
  4786. + test -z "$as_dir" && as_dir=.
  4787. + for ac_exec_ext in '' $ac_executable_extensions; do
  4788. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4789. + ac_cv_prog_ac_ct_STRIP="strip"
  4790. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4791. + break 2
  4792. + fi
  4793. +done
  4794. + done
  4795. +IFS=$as_save_IFS
  4796. +
  4797. +fi
  4798. +fi
  4799. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  4800. +if test -n "$ac_ct_STRIP"; then
  4801. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  4802. +$as_echo "$ac_ct_STRIP" >&6; }
  4803. +else
  4804. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4805. +$as_echo "no" >&6; }
  4806. +fi
  4807. +
  4808. + if test "x$ac_ct_STRIP" = x; then
  4809. + STRIP=":"
  4810. + else
  4811. + case $cross_compiling:$ac_tool_warned in
  4812. +yes:)
  4813. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4814. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4815. +ac_tool_warned=yes ;;
  4816. +esac
  4817. + STRIP=$ac_ct_STRIP
  4818. + fi
  4819. +else
  4820. + STRIP="$ac_cv_prog_STRIP"
  4821. +fi
  4822. +
  4823. +fi
  4824. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  4825. +
  4826. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  4827. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  4828. +if test -z "$MKDIR_P"; then
  4829. + if ${ac_cv_path_mkdir+:} false; then :
  4830. + $as_echo_n "(cached) " >&6
  4831. +else
  4832. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4833. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  4834. +do
  4835. + IFS=$as_save_IFS
  4836. + test -z "$as_dir" && as_dir=.
  4837. + for ac_prog in mkdir gmkdir; do
  4838. + for ac_exec_ext in '' $ac_executable_extensions; do
  4839. + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  4840. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  4841. + 'mkdir (GNU coreutils) '* | \
  4842. + 'mkdir (coreutils) '* | \
  4843. + 'mkdir (fileutils) '4.1*)
  4844. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  4845. + break 3;;
  4846. + esac
  4847. + done
  4848. + done
  4849. + done
  4850. +IFS=$as_save_IFS
  4851. +
  4852. +fi
  4853. +
  4854. + test -d ./--version && rmdir ./--version
  4855. + if test "${ac_cv_path_mkdir+set}" = set; then
  4856. + MKDIR_P="$ac_cv_path_mkdir -p"
  4857. + else
  4858. + # As a last resort, use the slow shell script. Don't cache a
  4859. + # value for MKDIR_P within a source directory, because that will
  4860. + # break other packages using the cache if that directory is
  4861. + # removed, or if the value is a relative name.
  4862. + MKDIR_P="$ac_install_sh -d"
  4863. + fi
  4864. +fi
  4865. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  4866. +$as_echo "$MKDIR_P" >&6; }
  4867. +
  4868. +
  4869. +for ac_prog in gawk mawk nawk awk
  4870. +do
  4871. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  4872. +set dummy $ac_prog; ac_word=$2
  4873. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4874. +$as_echo_n "checking for $ac_word... " >&6; }
  4875. +if ${ac_cv_prog_AWK+:} false; then :
  4876. + $as_echo_n "(cached) " >&6
  4877. +else
  4878. + if test -n "$AWK"; then
  4879. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  4880. +else
  4881. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4882. +for as_dir in $PATH
  4883. +do
  4884. + IFS=$as_save_IFS
  4885. + test -z "$as_dir" && as_dir=.
  4886. + for ac_exec_ext in '' $ac_executable_extensions; do
  4887. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4888. + ac_cv_prog_AWK="$ac_prog"
  4889. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4890. + break 2
  4891. + fi
  4892. +done
  4893. + done
  4894. +IFS=$as_save_IFS
  4895. +
  4896. +fi
  4897. +fi
  4898. +AWK=$ac_cv_prog_AWK
  4899. +if test -n "$AWK"; then
  4900. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  4901. +$as_echo "$AWK" >&6; }
  4902. +else
  4903. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4904. +$as_echo "no" >&6; }
  4905. +fi
  4906. +
  4907. +
  4908. + test -n "$AWK" && break
  4909. +done
  4910. +
  4911. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  4912. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  4913. +set x ${MAKE-make}
  4914. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  4915. +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  4916. + $as_echo_n "(cached) " >&6
  4917. +else
  4918. + cat >conftest.make <<\_ACEOF
  4919. +SHELL = /bin/sh
  4920. +all:
  4921. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  4922. +_ACEOF
  4923. +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  4924. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  4925. + *@@@%%%=?*=@@@%%%*)
  4926. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  4927. + *)
  4928. + eval ac_cv_prog_make_${ac_make}_set=no;;
  4929. +esac
  4930. +rm -f conftest.make
  4931. +fi
  4932. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  4933. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4934. +$as_echo "yes" >&6; }
  4935. + SET_MAKE=
  4936. +else
  4937. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4938. +$as_echo "no" >&6; }
  4939. + SET_MAKE="MAKE=${MAKE-make}"
  4940. +fi
  4941. +
  4942. +rm -rf .tst 2>/dev/null
  4943. +mkdir .tst 2>/dev/null
  4944. +if test -d .tst; then
  4945. + am__leading_dot=.
  4946. +else
  4947. + am__leading_dot=_
  4948. +fi
  4949. +rmdir .tst 2>/dev/null
  4950. +
  4951. +@%:@ Check whether --enable-silent-rules was given.
  4952. +if test "${enable_silent_rules+set}" = set; then :
  4953. + enableval=$enable_silent_rules;
  4954. +fi
  4955. +
  4956. +case $enable_silent_rules in @%:@ (((
  4957. + yes) AM_DEFAULT_VERBOSITY=0;;
  4958. + no) AM_DEFAULT_VERBOSITY=1;;
  4959. + *) AM_DEFAULT_VERBOSITY=1;;
  4960. +esac
  4961. +am_make=${MAKE-make}
  4962. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  4963. +$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  4964. +if ${am_cv_make_support_nested_variables+:} false; then :
  4965. + $as_echo_n "(cached) " >&6
  4966. +else
  4967. + if $as_echo 'TRUE=$(BAR$(V))
  4968. +BAR0=false
  4969. +BAR1=true
  4970. +V=1
  4971. +am__doit:
  4972. + @$(TRUE)
  4973. +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  4974. + am_cv_make_support_nested_variables=yes
  4975. +else
  4976. + am_cv_make_support_nested_variables=no
  4977. +fi
  4978. +fi
  4979. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  4980. +$as_echo "$am_cv_make_support_nested_variables" >&6; }
  4981. +if test $am_cv_make_support_nested_variables = yes; then
  4982. + AM_V='$(V)'
  4983. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  4984. +else
  4985. + AM_V=$AM_DEFAULT_VERBOSITY
  4986. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  4987. +fi
  4988. +AM_BACKSLASH='\'
  4989. +
  4990. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  4991. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  4992. + # is not polluted with repeated "-I."
  4993. + am__isrc=' -I$(srcdir)'
  4994. + # test to see if srcdir already configured
  4995. + if test -f $srcdir/config.status; then
  4996. + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  4997. + fi
  4998. +fi
  4999. +
  5000. +# test whether we have cygpath
  5001. +if test -z "$CYGPATH_W"; then
  5002. + if (cygpath --version) >/dev/null 2>/dev/null; then
  5003. + CYGPATH_W='cygpath -w'
  5004. + else
  5005. + CYGPATH_W=echo
  5006. + fi
  5007. +fi
  5008. +
  5009. +
  5010. +# Define the identity of the package.
  5011. + PACKAGE='m4'
  5012. + VERSION='1.4.16'
  5013. +
  5014. +
  5015. +cat >>confdefs.h <<_ACEOF
  5016. +@%:@define PACKAGE "$PACKAGE"
  5017. +_ACEOF
  5018. +
  5019. +
  5020. +cat >>confdefs.h <<_ACEOF
  5021. +@%:@define VERSION "$VERSION"
  5022. +_ACEOF
  5023. +
  5024. +# Some tools Automake needs.
  5025. +
  5026. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  5027. +
  5028. +
  5029. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  5030. +
  5031. +
  5032. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  5033. +
  5034. +
  5035. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  5036. +
  5037. +
  5038. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  5039. +
  5040. +# For better backward compatibility. To be removed once Automake 1.9.x
  5041. +# dies out for good. For more background, see:
  5042. +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  5043. +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  5044. +mkdir_p='$(MKDIR_P)'
  5045. +
  5046. +# We need awk for the "check" target. The system "awk" is bad on
  5047. +# some platforms.
  5048. +# Always define AMTAR for backward compatibility. Yes, it's still used
  5049. +# in the wild :-( We should find a proper way to deprecate it ...
  5050. +AMTAR='$${TAR-tar}'
  5051. +
  5052. +
  5053. +# We'll loop over all known methods to create a tar archive until one works.
  5054. +_am_tools='gnutar pax cpio none'
  5055. +
  5056. +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  5057. +
  5058. +
  5059. +
  5060. +
  5061. +
  5062. +
  5063. +
  5064. +
  5065. +
  5066. +
  5067. +ac_config_headers="$ac_config_headers lib/config.h:lib/config.hin"
  5068. +
  5069. +
  5070. +ac_ext=c
  5071. +ac_cpp='$CPP $CPPFLAGS'
  5072. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5073. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5074. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5075. +if test -n "$ac_tool_prefix"; then
  5076. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  5077. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  5078. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5079. +$as_echo_n "checking for $ac_word... " >&6; }
  5080. +if ${ac_cv_prog_CC+:} false; then :
  5081. + $as_echo_n "(cached) " >&6
  5082. +else
  5083. + if test -n "$CC"; then
  5084. + ac_cv_prog_CC="$CC" # Let the user override the test.
  5085. +else
  5086. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5087. +for as_dir in $PATH
  5088. +do
  5089. + IFS=$as_save_IFS
  5090. + test -z "$as_dir" && as_dir=.
  5091. + for ac_exec_ext in '' $ac_executable_extensions; do
  5092. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5093. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  5094. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5095. + break 2
  5096. + fi
  5097. +done
  5098. + done
  5099. +IFS=$as_save_IFS
  5100. +
  5101. +fi
  5102. +fi
  5103. +CC=$ac_cv_prog_CC
  5104. +if test -n "$CC"; then
  5105. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  5106. +$as_echo "$CC" >&6; }
  5107. +else
  5108. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5109. +$as_echo "no" >&6; }
  5110. +fi
  5111. +
  5112. +
  5113. +fi
  5114. +if test -z "$ac_cv_prog_CC"; then
  5115. + ac_ct_CC=$CC
  5116. + # Extract the first word of "gcc", so it can be a program name with args.
  5117. +set dummy gcc; ac_word=$2
  5118. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5119. +$as_echo_n "checking for $ac_word... " >&6; }
  5120. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  5121. + $as_echo_n "(cached) " >&6
  5122. +else
  5123. + if test -n "$ac_ct_CC"; then
  5124. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  5125. +else
  5126. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5127. +for as_dir in $PATH
  5128. +do
  5129. + IFS=$as_save_IFS
  5130. + test -z "$as_dir" && as_dir=.
  5131. + for ac_exec_ext in '' $ac_executable_extensions; do
  5132. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5133. + ac_cv_prog_ac_ct_CC="gcc"
  5134. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5135. + break 2
  5136. + fi
  5137. +done
  5138. + done
  5139. +IFS=$as_save_IFS
  5140. +
  5141. +fi
  5142. +fi
  5143. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  5144. +if test -n "$ac_ct_CC"; then
  5145. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  5146. +$as_echo "$ac_ct_CC" >&6; }
  5147. +else
  5148. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5149. +$as_echo "no" >&6; }
  5150. +fi
  5151. +
  5152. + if test "x$ac_ct_CC" = x; then
  5153. + CC=""
  5154. + else
  5155. + case $cross_compiling:$ac_tool_warned in
  5156. +yes:)
  5157. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5158. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5159. +ac_tool_warned=yes ;;
  5160. +esac
  5161. + CC=$ac_ct_CC
  5162. + fi
  5163. +else
  5164. + CC="$ac_cv_prog_CC"
  5165. +fi
  5166. +
  5167. +if test -z "$CC"; then
  5168. + if test -n "$ac_tool_prefix"; then
  5169. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  5170. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  5171. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5172. +$as_echo_n "checking for $ac_word... " >&6; }
  5173. +if ${ac_cv_prog_CC+:} false; then :
  5174. + $as_echo_n "(cached) " >&6
  5175. +else
  5176. + if test -n "$CC"; then
  5177. + ac_cv_prog_CC="$CC" # Let the user override the test.
  5178. +else
  5179. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5180. +for as_dir in $PATH
  5181. +do
  5182. + IFS=$as_save_IFS
  5183. + test -z "$as_dir" && as_dir=.
  5184. + for ac_exec_ext in '' $ac_executable_extensions; do
  5185. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5186. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  5187. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5188. + break 2
  5189. + fi
  5190. +done
  5191. + done
  5192. +IFS=$as_save_IFS
  5193. +
  5194. +fi
  5195. +fi
  5196. +CC=$ac_cv_prog_CC
  5197. +if test -n "$CC"; then
  5198. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  5199. +$as_echo "$CC" >&6; }
  5200. +else
  5201. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5202. +$as_echo "no" >&6; }
  5203. +fi
  5204. +
  5205. +
  5206. + fi
  5207. +fi
  5208. +if test -z "$CC"; then
  5209. + # Extract the first word of "cc", so it can be a program name with args.
  5210. +set dummy cc; ac_word=$2
  5211. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5212. +$as_echo_n "checking for $ac_word... " >&6; }
  5213. +if ${ac_cv_prog_CC+:} false; then :
  5214. + $as_echo_n "(cached) " >&6
  5215. +else
  5216. + if test -n "$CC"; then
  5217. + ac_cv_prog_CC="$CC" # Let the user override the test.
  5218. +else
  5219. + ac_prog_rejected=no
  5220. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5221. +for as_dir in $PATH
  5222. +do
  5223. + IFS=$as_save_IFS
  5224. + test -z "$as_dir" && as_dir=.
  5225. + for ac_exec_ext in '' $ac_executable_extensions; do
  5226. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5227. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  5228. + ac_prog_rejected=yes
  5229. + continue
  5230. + fi
  5231. + ac_cv_prog_CC="cc"
  5232. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5233. + break 2
  5234. + fi
  5235. +done
  5236. + done
  5237. +IFS=$as_save_IFS
  5238. +
  5239. +if test $ac_prog_rejected = yes; then
  5240. + # We found a bogon in the path, so make sure we never use it.
  5241. + set dummy $ac_cv_prog_CC
  5242. + shift
  5243. + if test $@%:@ != 0; then
  5244. + # We chose a different compiler from the bogus one.
  5245. + # However, it has the same basename, so the bogon will be chosen
  5246. + # first if we set CC to just the basename; use the full file name.
  5247. + shift
  5248. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  5249. + fi
  5250. +fi
  5251. +fi
  5252. +fi
  5253. +CC=$ac_cv_prog_CC
  5254. +if test -n "$CC"; then
  5255. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  5256. +$as_echo "$CC" >&6; }
  5257. +else
  5258. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5259. +$as_echo "no" >&6; }
  5260. +fi
  5261. +
  5262. +
  5263. +fi
  5264. +if test -z "$CC"; then
  5265. + if test -n "$ac_tool_prefix"; then
  5266. + for ac_prog in cl.exe
  5267. + do
  5268. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5269. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5270. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5271. +$as_echo_n "checking for $ac_word... " >&6; }
  5272. +if ${ac_cv_prog_CC+:} false; then :
  5273. + $as_echo_n "(cached) " >&6
  5274. +else
  5275. + if test -n "$CC"; then
  5276. + ac_cv_prog_CC="$CC" # Let the user override the test.
  5277. +else
  5278. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5279. +for as_dir in $PATH
  5280. +do
  5281. + IFS=$as_save_IFS
  5282. + test -z "$as_dir" && as_dir=.
  5283. + for ac_exec_ext in '' $ac_executable_extensions; do
  5284. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5285. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  5286. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5287. + break 2
  5288. + fi
  5289. +done
  5290. + done
  5291. +IFS=$as_save_IFS
  5292. +
  5293. +fi
  5294. +fi
  5295. +CC=$ac_cv_prog_CC
  5296. +if test -n "$CC"; then
  5297. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  5298. +$as_echo "$CC" >&6; }
  5299. +else
  5300. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5301. +$as_echo "no" >&6; }
  5302. +fi
  5303. +
  5304. +
  5305. + test -n "$CC" && break
  5306. + done
  5307. +fi
  5308. +if test -z "$CC"; then
  5309. + ac_ct_CC=$CC
  5310. + for ac_prog in cl.exe
  5311. +do
  5312. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  5313. +set dummy $ac_prog; ac_word=$2
  5314. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5315. +$as_echo_n "checking for $ac_word... " >&6; }
  5316. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  5317. + $as_echo_n "(cached) " >&6
  5318. +else
  5319. + if test -n "$ac_ct_CC"; then
  5320. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  5321. +else
  5322. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5323. +for as_dir in $PATH
  5324. +do
  5325. + IFS=$as_save_IFS
  5326. + test -z "$as_dir" && as_dir=.
  5327. + for ac_exec_ext in '' $ac_executable_extensions; do
  5328. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5329. + ac_cv_prog_ac_ct_CC="$ac_prog"
  5330. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5331. + break 2
  5332. + fi
  5333. +done
  5334. + done
  5335. +IFS=$as_save_IFS
  5336. +
  5337. +fi
  5338. +fi
  5339. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  5340. +if test -n "$ac_ct_CC"; then
  5341. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  5342. +$as_echo "$ac_ct_CC" >&6; }
  5343. +else
  5344. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5345. +$as_echo "no" >&6; }
  5346. +fi
  5347. +
  5348. +
  5349. + test -n "$ac_ct_CC" && break
  5350. +done
  5351. +
  5352. + if test "x$ac_ct_CC" = x; then
  5353. + CC=""
  5354. + else
  5355. + case $cross_compiling:$ac_tool_warned in
  5356. +yes:)
  5357. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5358. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5359. +ac_tool_warned=yes ;;
  5360. +esac
  5361. + CC=$ac_ct_CC
  5362. + fi
  5363. +fi
  5364. +
  5365. +fi
  5366. +
  5367. +
  5368. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5369. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5370. +as_fn_error $? "no acceptable C compiler found in \$PATH
  5371. +See \`config.log' for more details" "$LINENO" 5; }
  5372. +
  5373. +# Provide some information about the compiler.
  5374. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  5375. +set X $ac_compile
  5376. +ac_compiler=$2
  5377. +for ac_option in --version -v -V -qversion; do
  5378. + { { ac_try="$ac_compiler $ac_option >&5"
  5379. +case "(($ac_try" in
  5380. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5381. + *) ac_try_echo=$ac_try;;
  5382. +esac
  5383. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5384. +$as_echo "$ac_try_echo"; } >&5
  5385. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  5386. + ac_status=$?
  5387. + if test -s conftest.err; then
  5388. + sed '10a\
  5389. +... rest of stderr output deleted ...
  5390. + 10q' conftest.err >conftest.er1
  5391. + cat conftest.er1 >&5
  5392. + fi
  5393. + rm -f conftest.er1 conftest.err
  5394. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5395. + test $ac_status = 0; }
  5396. +done
  5397. +
  5398. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5399. +/* end confdefs.h. */
  5400. +
  5401. +int
  5402. +main ()
  5403. +{
  5404. +
  5405. + ;
  5406. + return 0;
  5407. +}
  5408. +_ACEOF
  5409. +ac_clean_files_save=$ac_clean_files
  5410. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  5411. +# Try to create an executable without -o first, disregard a.out.
  5412. +# It will help us diagnose broken compilers, and finding out an intuition
  5413. +# of exeext.
  5414. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  5415. +$as_echo_n "checking whether the C compiler works... " >&6; }
  5416. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  5417. +
  5418. +# The possible output files:
  5419. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  5420. +
  5421. +ac_rmfiles=
  5422. +for ac_file in $ac_files
  5423. +do
  5424. + case $ac_file in
  5425. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  5426. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  5427. + esac
  5428. +done
  5429. +rm -f $ac_rmfiles
  5430. +
  5431. +if { { ac_try="$ac_link_default"
  5432. +case "(($ac_try" in
  5433. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5434. + *) ac_try_echo=$ac_try;;
  5435. +esac
  5436. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5437. +$as_echo "$ac_try_echo"; } >&5
  5438. + (eval "$ac_link_default") 2>&5
  5439. + ac_status=$?
  5440. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5441. + test $ac_status = 0; }; then :
  5442. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  5443. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  5444. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  5445. +# so that the user can short-circuit this test for compilers unknown to
  5446. +# Autoconf.
  5447. +for ac_file in $ac_files ''
  5448. +do
  5449. + test -f "$ac_file" || continue
  5450. + case $ac_file in
  5451. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  5452. + ;;
  5453. + [ab].out )
  5454. + # We found the default executable, but exeext='' is most
  5455. + # certainly right.
  5456. + break;;
  5457. + *.* )
  5458. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  5459. + then :; else
  5460. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  5461. + fi
  5462. + # We set ac_cv_exeext here because the later test for it is not
  5463. + # safe: cross compilers may not add the suffix if given an `-o'
  5464. + # argument, so we may need to know it at that point already.
  5465. + # Even if this section looks crufty: it has the advantage of
  5466. + # actually working.
  5467. + break;;
  5468. + * )
  5469. + break;;
  5470. + esac
  5471. +done
  5472. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  5473. +
  5474. +else
  5475. + ac_file=''
  5476. +fi
  5477. +if test -z "$ac_file"; then :
  5478. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5479. +$as_echo "no" >&6; }
  5480. +$as_echo "$as_me: failed program was:" >&5
  5481. +sed 's/^/| /' conftest.$ac_ext >&5
  5482. +
  5483. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5484. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5485. +as_fn_error 77 "C compiler cannot create executables
  5486. +See \`config.log' for more details" "$LINENO" 5; }
  5487. +else
  5488. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5489. +$as_echo "yes" >&6; }
  5490. +fi
  5491. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  5492. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  5493. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  5494. +$as_echo "$ac_file" >&6; }
  5495. +ac_exeext=$ac_cv_exeext
  5496. +
  5497. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  5498. +ac_clean_files=$ac_clean_files_save
  5499. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  5500. +$as_echo_n "checking for suffix of executables... " >&6; }
  5501. +if { { ac_try="$ac_link"
  5502. +case "(($ac_try" in
  5503. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5504. + *) ac_try_echo=$ac_try;;
  5505. +esac
  5506. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5507. +$as_echo "$ac_try_echo"; } >&5
  5508. + (eval "$ac_link") 2>&5
  5509. + ac_status=$?
  5510. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5511. + test $ac_status = 0; }; then :
  5512. + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  5513. +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  5514. +# work properly (i.e., refer to `conftest.exe'), while it won't with
  5515. +# `rm'.
  5516. +for ac_file in conftest.exe conftest conftest.*; do
  5517. + test -f "$ac_file" || continue
  5518. + case $ac_file in
  5519. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  5520. + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  5521. + break;;
  5522. + * ) break;;
  5523. + esac
  5524. +done
  5525. +else
  5526. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5527. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5528. +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  5529. +See \`config.log' for more details" "$LINENO" 5; }
  5530. +fi
  5531. +rm -f conftest conftest$ac_cv_exeext
  5532. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  5533. +$as_echo "$ac_cv_exeext" >&6; }
  5534. +
  5535. +rm -f conftest.$ac_ext
  5536. +EXEEXT=$ac_cv_exeext
  5537. +ac_exeext=$EXEEXT
  5538. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5539. +/* end confdefs.h. */
  5540. +@%:@include <stdio.h>
  5541. +int
  5542. +main ()
  5543. +{
  5544. +FILE *f = fopen ("conftest.out", "w");
  5545. + return ferror (f) || fclose (f) != 0;
  5546. +
  5547. + ;
  5548. + return 0;
  5549. +}
  5550. +_ACEOF
  5551. +ac_clean_files="$ac_clean_files conftest.out"
  5552. +# Check that the compiler produces executables we can run. If not, either
  5553. +# the compiler is broken, or we cross compile.
  5554. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  5555. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  5556. +if test "$cross_compiling" != yes; then
  5557. + { { ac_try="$ac_link"
  5558. +case "(($ac_try" in
  5559. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5560. + *) ac_try_echo=$ac_try;;
  5561. +esac
  5562. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5563. +$as_echo "$ac_try_echo"; } >&5
  5564. + (eval "$ac_link") 2>&5
  5565. + ac_status=$?
  5566. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5567. + test $ac_status = 0; }
  5568. + if { ac_try='./conftest$ac_cv_exeext'
  5569. + { { case "(($ac_try" in
  5570. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5571. + *) ac_try_echo=$ac_try;;
  5572. +esac
  5573. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5574. +$as_echo "$ac_try_echo"; } >&5
  5575. + (eval "$ac_try") 2>&5
  5576. + ac_status=$?
  5577. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5578. + test $ac_status = 0; }; }; then
  5579. + cross_compiling=no
  5580. + else
  5581. + if test "$cross_compiling" = maybe; then
  5582. + cross_compiling=yes
  5583. + else
  5584. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5585. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5586. +as_fn_error $? "cannot run C compiled programs.
  5587. +If you meant to cross compile, use \`--host'.
  5588. +See \`config.log' for more details" "$LINENO" 5; }
  5589. + fi
  5590. + fi
  5591. +fi
  5592. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  5593. +$as_echo "$cross_compiling" >&6; }
  5594. +
  5595. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  5596. +ac_clean_files=$ac_clean_files_save
  5597. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  5598. +$as_echo_n "checking for suffix of object files... " >&6; }
  5599. +if ${ac_cv_objext+:} false; then :
  5600. + $as_echo_n "(cached) " >&6
  5601. +else
  5602. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5603. +/* end confdefs.h. */
  5604. +
  5605. +int
  5606. +main ()
  5607. +{
  5608. +
  5609. + ;
  5610. + return 0;
  5611. +}
  5612. +_ACEOF
  5613. +rm -f conftest.o conftest.obj
  5614. +if { { ac_try="$ac_compile"
  5615. +case "(($ac_try" in
  5616. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5617. + *) ac_try_echo=$ac_try;;
  5618. +esac
  5619. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5620. +$as_echo "$ac_try_echo"; } >&5
  5621. + (eval "$ac_compile") 2>&5
  5622. + ac_status=$?
  5623. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5624. + test $ac_status = 0; }; then :
  5625. + for ac_file in conftest.o conftest.obj conftest.*; do
  5626. + test -f "$ac_file" || continue;
  5627. + case $ac_file in
  5628. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  5629. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  5630. + break;;
  5631. + esac
  5632. +done
  5633. +else
  5634. + $as_echo "$as_me: failed program was:" >&5
  5635. +sed 's/^/| /' conftest.$ac_ext >&5
  5636. +
  5637. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5638. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5639. +as_fn_error $? "cannot compute suffix of object files: cannot compile
  5640. +See \`config.log' for more details" "$LINENO" 5; }
  5641. +fi
  5642. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  5643. +fi
  5644. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  5645. +$as_echo "$ac_cv_objext" >&6; }
  5646. +OBJEXT=$ac_cv_objext
  5647. +ac_objext=$OBJEXT
  5648. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  5649. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  5650. +if ${ac_cv_c_compiler_gnu+:} false; then :
  5651. + $as_echo_n "(cached) " >&6
  5652. +else
  5653. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5654. +/* end confdefs.h. */
  5655. +
  5656. +int
  5657. +main ()
  5658. +{
  5659. +#ifndef __GNUC__
  5660. + choke me
  5661. +#endif
  5662. +
  5663. + ;
  5664. + return 0;
  5665. +}
  5666. +_ACEOF
  5667. +if ac_fn_c_try_compile "$LINENO"; then :
  5668. + ac_compiler_gnu=yes
  5669. +else
  5670. + ac_compiler_gnu=no
  5671. +fi
  5672. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5673. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  5674. +
  5675. +fi
  5676. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  5677. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  5678. +if test $ac_compiler_gnu = yes; then
  5679. + GCC=yes
  5680. +else
  5681. + GCC=
  5682. +fi
  5683. +ac_test_CFLAGS=${CFLAGS+set}
  5684. +ac_save_CFLAGS=$CFLAGS
  5685. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  5686. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  5687. +if ${ac_cv_prog_cc_g+:} false; then :
  5688. + $as_echo_n "(cached) " >&6
  5689. +else
  5690. + ac_save_c_werror_flag=$ac_c_werror_flag
  5691. + ac_c_werror_flag=yes
  5692. + ac_cv_prog_cc_g=no
  5693. + CFLAGS="-g"
  5694. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5695. +/* end confdefs.h. */
  5696. +
  5697. +int
  5698. +main ()
  5699. +{
  5700. +
  5701. + ;
  5702. + return 0;
  5703. +}
  5704. +_ACEOF
  5705. +if ac_fn_c_try_compile "$LINENO"; then :
  5706. + ac_cv_prog_cc_g=yes
  5707. +else
  5708. + CFLAGS=""
  5709. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5710. +/* end confdefs.h. */
  5711. +
  5712. +int
  5713. +main ()
  5714. +{
  5715. +
  5716. + ;
  5717. + return 0;
  5718. +}
  5719. +_ACEOF
  5720. +if ac_fn_c_try_compile "$LINENO"; then :
  5721. +
  5722. +else
  5723. + ac_c_werror_flag=$ac_save_c_werror_flag
  5724. + CFLAGS="-g"
  5725. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5726. +/* end confdefs.h. */
  5727. +
  5728. +int
  5729. +main ()
  5730. +{
  5731. +
  5732. + ;
  5733. + return 0;
  5734. +}
  5735. +_ACEOF
  5736. +if ac_fn_c_try_compile "$LINENO"; then :
  5737. + ac_cv_prog_cc_g=yes
  5738. +fi
  5739. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5740. +fi
  5741. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5742. +fi
  5743. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5744. + ac_c_werror_flag=$ac_save_c_werror_flag
  5745. +fi
  5746. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  5747. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  5748. +if test "$ac_test_CFLAGS" = set; then
  5749. + CFLAGS=$ac_save_CFLAGS
  5750. +elif test $ac_cv_prog_cc_g = yes; then
  5751. + if test "$GCC" = yes; then
  5752. + CFLAGS="-g -O2"
  5753. + else
  5754. + CFLAGS="-g"
  5755. + fi
  5756. +else
  5757. + if test "$GCC" = yes; then
  5758. + CFLAGS="-O2"
  5759. + else
  5760. + CFLAGS=
  5761. + fi
  5762. +fi
  5763. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  5764. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  5765. +if ${ac_cv_prog_cc_c89+:} false; then :
  5766. + $as_echo_n "(cached) " >&6
  5767. +else
  5768. + ac_cv_prog_cc_c89=no
  5769. +ac_save_CC=$CC
  5770. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5771. +/* end confdefs.h. */
  5772. +#include <stdarg.h>
  5773. +#include <stdio.h>
  5774. +struct stat;
  5775. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  5776. +struct buf { int x; };
  5777. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  5778. +static char *e (p, i)
  5779. + char **p;
  5780. + int i;
  5781. +{
  5782. + return p[i];
  5783. +}
  5784. +static char *f (char * (*g) (char **, int), char **p, ...)
  5785. +{
  5786. + char *s;
  5787. + va_list v;
  5788. + va_start (v,p);
  5789. + s = g (p, va_arg (v,int));
  5790. + va_end (v);
  5791. + return s;
  5792. +}
  5793. +
  5794. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  5795. + function prototypes and stuff, but not '\xHH' hex character constants.
  5796. + These don't provoke an error unfortunately, instead are silently treated
  5797. + as 'x'. The following induces an error, until -std is added to get
  5798. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  5799. + array size at least. It's necessary to write '\x00'==0 to get something
  5800. + that's true only with -std. */
  5801. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  5802. +
  5803. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  5804. + inside strings and character constants. */
  5805. +#define FOO(x) 'x'
  5806. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  5807. +
  5808. +int test (int i, double x);
  5809. +struct s1 {int (*f) (int a);};
  5810. +struct s2 {int (*f) (double a);};
  5811. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  5812. +int argc;
  5813. +char **argv;
  5814. +int
  5815. +main ()
  5816. +{
  5817. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  5818. + ;
  5819. + return 0;
  5820. +}
  5821. +_ACEOF
  5822. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  5823. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  5824. +do
  5825. + CC="$ac_save_CC $ac_arg"
  5826. + if ac_fn_c_try_compile "$LINENO"; then :
  5827. + ac_cv_prog_cc_c89=$ac_arg
  5828. +fi
  5829. +rm -f core conftest.err conftest.$ac_objext
  5830. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  5831. +done
  5832. +rm -f conftest.$ac_ext
  5833. +CC=$ac_save_CC
  5834. +
  5835. +fi
  5836. +# AC_CACHE_VAL
  5837. +case "x$ac_cv_prog_cc_c89" in
  5838. + x)
  5839. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  5840. +$as_echo "none needed" >&6; } ;;
  5841. + xno)
  5842. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  5843. +$as_echo "unsupported" >&6; } ;;
  5844. + *)
  5845. + CC="$CC $ac_cv_prog_cc_c89"
  5846. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  5847. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  5848. +esac
  5849. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  5850. +
  5851. +fi
  5852. +
  5853. +ac_ext=c
  5854. +ac_cpp='$CPP $CPPFLAGS'
  5855. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5856. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5857. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5858. +DEPDIR="${am__leading_dot}deps"
  5859. +
  5860. +ac_config_commands="$ac_config_commands depfiles"
  5861. +
  5862. +
  5863. +am_make=${MAKE-make}
  5864. +cat > confinc << 'END'
  5865. +am__doit:
  5866. + @echo this is the am__doit target
  5867. +.PHONY: am__doit
  5868. +END
  5869. +# If we don't find an include directive, just comment out the code.
  5870. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  5871. +$as_echo_n "checking for style of include used by $am_make... " >&6; }
  5872. +am__include="#"
  5873. +am__quote=
  5874. +_am_result=none
  5875. +# First try GNU make style include.
  5876. +echo "include confinc" > confmf
  5877. +# Ignore all kinds of additional output from 'make'.
  5878. +case `$am_make -s -f confmf 2> /dev/null` in #(
  5879. +*the\ am__doit\ target*)
  5880. + am__include=include
  5881. + am__quote=
  5882. + _am_result=GNU
  5883. + ;;
  5884. +esac
  5885. +# Now try BSD make style include.
  5886. +if test "$am__include" = "#"; then
  5887. + echo '.include "confinc"' > confmf
  5888. + case `$am_make -s -f confmf 2> /dev/null` in #(
  5889. + *the\ am__doit\ target*)
  5890. + am__include=.include
  5891. + am__quote="\""
  5892. + _am_result=BSD
  5893. + ;;
  5894. + esac
  5895. +fi
  5896. +
  5897. +
  5898. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  5899. +$as_echo "$_am_result" >&6; }
  5900. +rm -f confinc confmf
  5901. +
  5902. +@%:@ Check whether --enable-dependency-tracking was given.
  5903. +if test "${enable_dependency_tracking+set}" = set; then :
  5904. + enableval=$enable_dependency_tracking;
  5905. +fi
  5906. +
  5907. +if test "x$enable_dependency_tracking" != xno; then
  5908. + am_depcomp="$ac_aux_dir/depcomp"
  5909. + AMDEPBACKSLASH='\'
  5910. + am__nodep='_no'
  5911. +fi
  5912. + if test "x$enable_dependency_tracking" != xno; then
  5913. + AMDEP_TRUE=
  5914. + AMDEP_FALSE='#'
  5915. +else
  5916. + AMDEP_TRUE='#'
  5917. + AMDEP_FALSE=
  5918. +fi
  5919. +
  5920. +
  5921. +
  5922. +depcc="$CC" am_compiler_list=
  5923. +
  5924. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  5925. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  5926. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  5927. + $as_echo_n "(cached) " >&6
  5928. +else
  5929. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  5930. + # We make a subdir and do the tests there. Otherwise we can end up
  5931. + # making bogus files that we don't know about and never remove. For
  5932. + # instance it was reported that on HP-UX the gcc test will end up
  5933. + # making a dummy file named 'D' -- because '-MD' means "put the output
  5934. + # in D".
  5935. + rm -rf conftest.dir
  5936. + mkdir conftest.dir
  5937. + # Copy depcomp to subdir because otherwise we won't find it if we're
  5938. + # using a relative directory.
  5939. + cp "$am_depcomp" conftest.dir
  5940. + cd conftest.dir
  5941. + # We will build objects and dependencies in a subdirectory because
  5942. + # it helps to detect inapplicable dependency modes. For instance
  5943. + # both Tru64's cc and ICC support -MD to output dependencies as a
  5944. + # side effect of compilation, but ICC will put the dependencies in
  5945. + # the current directory while Tru64 will put them in the object
  5946. + # directory.
  5947. + mkdir sub
  5948. +
  5949. + am_cv_CC_dependencies_compiler_type=none
  5950. + if test "$am_compiler_list" = ""; then
  5951. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  5952. + fi
  5953. + am__universal=false
  5954. + case " $depcc " in #(
  5955. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  5956. + esac
  5957. +
  5958. + for depmode in $am_compiler_list; do
  5959. + # Setup a source with many dependencies, because some compilers
  5960. + # like to wrap large dependency lists on column 80 (with \), and
  5961. + # we should not choose a depcomp mode which is confused by this.
  5962. + #
  5963. + # We need to recreate these files for each test, as the compiler may
  5964. + # overwrite some of them when testing with obscure command lines.
  5965. + # This happens at least with the AIX C compiler.
  5966. + : > sub/conftest.c
  5967. + for i in 1 2 3 4 5 6; do
  5968. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  5969. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  5970. + # Solaris 10 /bin/sh.
  5971. + echo '/* dummy */' > sub/conftst$i.h
  5972. + done
  5973. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5974. +
  5975. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  5976. + # mode. It turns out that the SunPro C++ compiler does not properly
  5977. + # handle '-M -o', and we need to detect this. Also, some Intel
  5978. + # versions had trouble with output in subdirs.
  5979. + am__obj=sub/conftest.${OBJEXT-o}
  5980. + am__minus_obj="-o $am__obj"
  5981. + case $depmode in
  5982. + gcc)
  5983. + # This depmode causes a compiler race in universal mode.
  5984. + test "$am__universal" = false || continue
  5985. + ;;
  5986. + nosideeffect)
  5987. + # After this tag, mechanisms are not by side-effect, so they'll
  5988. + # only be used when explicitly requested.
  5989. + if test "x$enable_dependency_tracking" = xyes; then
  5990. + continue
  5991. + else
  5992. + break
  5993. + fi
  5994. + ;;
  5995. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  5996. + # This compiler won't grok '-c -o', but also, the minuso test has
  5997. + # not run yet. These depmodes are late enough in the game, and
  5998. + # so weak that their functioning should not be impacted.
  5999. + am__obj=conftest.${OBJEXT-o}
  6000. + am__minus_obj=
  6001. + ;;
  6002. + none) break ;;
  6003. + esac
  6004. + if depmode=$depmode \
  6005. + source=sub/conftest.c object=$am__obj \
  6006. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  6007. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  6008. + >/dev/null 2>conftest.err &&
  6009. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  6010. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  6011. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  6012. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  6013. + # icc doesn't choke on unknown options, it will just issue warnings
  6014. + # or remarks (even with -Werror). So we grep stderr for any message
  6015. + # that says an option was ignored or not supported.
  6016. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  6017. + # icc: Command line warning: ignoring option '-M'; no argument required
  6018. + # The diagnosis changed in icc 8.0:
  6019. + # icc: Command line remark: option '-MP' not supported
  6020. + if (grep 'ignoring option' conftest.err ||
  6021. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  6022. + am_cv_CC_dependencies_compiler_type=$depmode
  6023. + break
  6024. + fi
  6025. + fi
  6026. + done
  6027. +
  6028. + cd ..
  6029. + rm -rf conftest.dir
  6030. +else
  6031. + am_cv_CC_dependencies_compiler_type=none
  6032. +fi
  6033. +
  6034. +fi
  6035. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  6036. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  6037. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  6038. +
  6039. + if
  6040. + test "x$enable_dependency_tracking" != xno \
  6041. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  6042. + am__fastdepCC_TRUE=
  6043. + am__fastdepCC_FALSE='#'
  6044. +else
  6045. + am__fastdepCC_TRUE='#'
  6046. + am__fastdepCC_FALSE=
  6047. +fi
  6048. +
  6049. +
  6050. +
  6051. +if test -n "$ac_tool_prefix"; then
  6052. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  6053. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  6054. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6055. +$as_echo_n "checking for $ac_word... " >&6; }
  6056. +if ${ac_cv_prog_RANLIB+:} false; then :
  6057. + $as_echo_n "(cached) " >&6
  6058. +else
  6059. + if test -n "$RANLIB"; then
  6060. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  6061. +else
  6062. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6063. +for as_dir in $PATH
  6064. +do
  6065. + IFS=$as_save_IFS
  6066. + test -z "$as_dir" && as_dir=.
  6067. + for ac_exec_ext in '' $ac_executable_extensions; do
  6068. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6069. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  6070. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6071. + break 2
  6072. + fi
  6073. +done
  6074. + done
  6075. +IFS=$as_save_IFS
  6076. +
  6077. +fi
  6078. +fi
  6079. +RANLIB=$ac_cv_prog_RANLIB
  6080. +if test -n "$RANLIB"; then
  6081. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  6082. +$as_echo "$RANLIB" >&6; }
  6083. +else
  6084. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6085. +$as_echo "no" >&6; }
  6086. +fi
  6087. +
  6088. +
  6089. +fi
  6090. +if test -z "$ac_cv_prog_RANLIB"; then
  6091. + ac_ct_RANLIB=$RANLIB
  6092. + # Extract the first word of "ranlib", so it can be a program name with args.
  6093. +set dummy ranlib; ac_word=$2
  6094. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6095. +$as_echo_n "checking for $ac_word... " >&6; }
  6096. +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  6097. + $as_echo_n "(cached) " >&6
  6098. +else
  6099. + if test -n "$ac_ct_RANLIB"; then
  6100. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  6101. +else
  6102. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6103. +for as_dir in $PATH
  6104. +do
  6105. + IFS=$as_save_IFS
  6106. + test -z "$as_dir" && as_dir=.
  6107. + for ac_exec_ext in '' $ac_executable_extensions; do
  6108. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6109. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  6110. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6111. + break 2
  6112. + fi
  6113. +done
  6114. + done
  6115. +IFS=$as_save_IFS
  6116. +
  6117. +fi
  6118. +fi
  6119. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  6120. +if test -n "$ac_ct_RANLIB"; then
  6121. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  6122. +$as_echo "$ac_ct_RANLIB" >&6; }
  6123. +else
  6124. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6125. +$as_echo "no" >&6; }
  6126. +fi
  6127. +
  6128. + if test "x$ac_ct_RANLIB" = x; then
  6129. + RANLIB=":"
  6130. + else
  6131. + case $cross_compiling:$ac_tool_warned in
  6132. +yes:)
  6133. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6134. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6135. +ac_tool_warned=yes ;;
  6136. +esac
  6137. + RANLIB=$ac_ct_RANLIB
  6138. + fi
  6139. +else
  6140. + RANLIB="$ac_cv_prog_RANLIB"
  6141. +fi
  6142. +
  6143. +if test "x$CC" != xcc; then
  6144. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
  6145. +$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
  6146. +else
  6147. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
  6148. +$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
  6149. +fi
  6150. +set dummy $CC; ac_cc=`$as_echo "$2" |
  6151. + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  6152. +if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
  6153. + $as_echo_n "(cached) " >&6
  6154. +else
  6155. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6156. +/* end confdefs.h. */
  6157. +
  6158. +int
  6159. +main ()
  6160. +{
  6161. +
  6162. + ;
  6163. + return 0;
  6164. +}
  6165. +_ACEOF
  6166. +# Make sure it works both with $CC and with simple cc.
  6167. +# We do the test twice because some compilers refuse to overwrite an
  6168. +# existing .o file with -o, though they will create one.
  6169. +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  6170. +rm -f conftest2.*
  6171. +if { { case "(($ac_try" in
  6172. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6173. + *) ac_try_echo=$ac_try;;
  6174. +esac
  6175. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  6176. +$as_echo "$ac_try_echo"; } >&5
  6177. + (eval "$ac_try") 2>&5
  6178. + ac_status=$?
  6179. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6180. + test $ac_status = 0; } &&
  6181. + test -f conftest2.$ac_objext && { { case "(($ac_try" in
  6182. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6183. + *) ac_try_echo=$ac_try;;
  6184. +esac
  6185. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  6186. +$as_echo "$ac_try_echo"; } >&5
  6187. + (eval "$ac_try") 2>&5
  6188. + ac_status=$?
  6189. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6190. + test $ac_status = 0; };
  6191. +then
  6192. + eval ac_cv_prog_cc_${ac_cc}_c_o=yes
  6193. + if test "x$CC" != xcc; then
  6194. + # Test first that cc exists at all.
  6195. + if { ac_try='cc -c conftest.$ac_ext >&5'
  6196. + { { case "(($ac_try" in
  6197. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6198. + *) ac_try_echo=$ac_try;;
  6199. +esac
  6200. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  6201. +$as_echo "$ac_try_echo"; } >&5
  6202. + (eval "$ac_try") 2>&5
  6203. + ac_status=$?
  6204. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6205. + test $ac_status = 0; }; }; then
  6206. + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  6207. + rm -f conftest2.*
  6208. + if { { case "(($ac_try" in
  6209. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6210. + *) ac_try_echo=$ac_try;;
  6211. +esac
  6212. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  6213. +$as_echo "$ac_try_echo"; } >&5
  6214. + (eval "$ac_try") 2>&5
  6215. + ac_status=$?
  6216. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6217. + test $ac_status = 0; } &&
  6218. + test -f conftest2.$ac_objext && { { case "(($ac_try" in
  6219. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6220. + *) ac_try_echo=$ac_try;;
  6221. +esac
  6222. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  6223. +$as_echo "$ac_try_echo"; } >&5
  6224. + (eval "$ac_try") 2>&5
  6225. + ac_status=$?
  6226. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6227. + test $ac_status = 0; };
  6228. + then
  6229. + # cc works too.
  6230. + :
  6231. + else
  6232. + # cc exists but doesn't like -o.
  6233. + eval ac_cv_prog_cc_${ac_cc}_c_o=no
  6234. + fi
  6235. + fi
  6236. + fi
  6237. +else
  6238. + eval ac_cv_prog_cc_${ac_cc}_c_o=no
  6239. +fi
  6240. +rm -f core conftest*
  6241. +
  6242. +fi
  6243. +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
  6244. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  6245. +$as_echo "yes" >&6; }
  6246. +else
  6247. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6248. +$as_echo "no" >&6; }
  6249. +
  6250. +$as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
  6251. +
  6252. +fi
  6253. +
  6254. +# FIXME: we rely on the cache variable name because
  6255. +# there is no other way.
  6256. +set dummy $CC
  6257. +am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  6258. +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
  6259. +if test "$am_t" != yes; then
  6260. + # Losing compiler, so override with the script.
  6261. + # FIXME: It is wrong to rewrite CC.
  6262. + # But if we don't then we get into trouble of one sort or another.
  6263. + # A longer-term fix would be to have automake use am__CC in this case,
  6264. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  6265. + CC="$am_aux_dir/compile $CC"
  6266. +fi
  6267. +
  6268. +
  6269. +# Make sure we can run config.sub.
  6270. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  6271. + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  6272. +
  6273. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  6274. +$as_echo_n "checking build system type... " >&6; }
  6275. +if ${ac_cv_build+:} false; then :
  6276. + $as_echo_n "(cached) " >&6
  6277. +else
  6278. + ac_build_alias=$build_alias
  6279. +test "x$ac_build_alias" = x &&
  6280. + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  6281. +test "x$ac_build_alias" = x &&
  6282. + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  6283. +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  6284. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  6285. +
  6286. +fi
  6287. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  6288. +$as_echo "$ac_cv_build" >&6; }
  6289. +case $ac_cv_build in
  6290. +*-*-*) ;;
  6291. +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  6292. +esac
  6293. +build=$ac_cv_build
  6294. +ac_save_IFS=$IFS; IFS='-'
  6295. +set x $ac_cv_build
  6296. +shift
  6297. +build_cpu=$1
  6298. +build_vendor=$2
  6299. +shift; shift
  6300. +# Remember, the first character of IFS is used to create $*,
  6301. +# except with old shells:
  6302. +build_os=$*
  6303. +IFS=$ac_save_IFS
  6304. +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  6305. +
  6306. +
  6307. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  6308. +$as_echo_n "checking host system type... " >&6; }
  6309. +if ${ac_cv_host+:} false; then :
  6310. + $as_echo_n "(cached) " >&6
  6311. +else
  6312. + if test "x$host_alias" = x; then
  6313. + ac_cv_host=$ac_cv_build
  6314. +else
  6315. + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  6316. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  6317. +fi
  6318. +
  6319. +fi
  6320. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  6321. +$as_echo "$ac_cv_host" >&6; }
  6322. +case $ac_cv_host in
  6323. +*-*-*) ;;
  6324. +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  6325. +esac
  6326. +host=$ac_cv_host
  6327. +ac_save_IFS=$IFS; IFS='-'
  6328. +set x $ac_cv_host
  6329. +shift
  6330. +host_cpu=$1
  6331. +host_vendor=$2
  6332. +shift; shift
  6333. +# Remember, the first character of IFS is used to create $*,
  6334. +# except with old shells:
  6335. +host_os=$*
  6336. +IFS=$ac_save_IFS
  6337. +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  6338. +
  6339. +
  6340. +
  6341. +ac_ext=c
  6342. +ac_cpp='$CPP $CPPFLAGS'
  6343. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6344. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6345. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6346. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  6347. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  6348. +# On Suns, sometimes $CPP names a directory.
  6349. +if test -n "$CPP" && test -d "$CPP"; then
  6350. + CPP=
  6351. +fi
  6352. +if test -z "$CPP"; then
  6353. + if ${ac_cv_prog_CPP+:} false; then :
  6354. + $as_echo_n "(cached) " >&6
  6355. +else
  6356. + # Double quotes because CPP needs to be expanded
  6357. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  6358. + do
  6359. + ac_preproc_ok=false
  6360. +for ac_c_preproc_warn_flag in '' yes
  6361. +do
  6362. + # Use a header file that comes with gcc, so configuring glibc
  6363. + # with a fresh cross-compiler works.
  6364. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6365. + # <limits.h> exists even on freestanding compilers.
  6366. + # On the NeXT, cc -E runs the code through the compiler's parser,
  6367. + # not just through cpp. "Syntax error" is here to catch this case.
  6368. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6369. +/* end confdefs.h. */
  6370. +@%:@ifdef __STDC__
  6371. +@%:@ include <limits.h>
  6372. +@%:@else
  6373. +@%:@ include <assert.h>
  6374. +@%:@endif
  6375. + Syntax error
  6376. +_ACEOF
  6377. +if ac_fn_c_try_cpp "$LINENO"; then :
  6378. +
  6379. +else
  6380. + # Broken: fails on valid input.
  6381. +continue
  6382. +fi
  6383. +rm -f conftest.err conftest.i conftest.$ac_ext
  6384. +
  6385. + # OK, works on sane cases. Now check whether nonexistent headers
  6386. + # can be detected and how.
  6387. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6388. +/* end confdefs.h. */
  6389. +@%:@include <ac_nonexistent.h>
  6390. +_ACEOF
  6391. +if ac_fn_c_try_cpp "$LINENO"; then :
  6392. + # Broken: success on invalid input.
  6393. +continue
  6394. +else
  6395. + # Passes both tests.
  6396. +ac_preproc_ok=:
  6397. +break
  6398. +fi
  6399. +rm -f conftest.err conftest.i conftest.$ac_ext
  6400. +
  6401. +done
  6402. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6403. +rm -f conftest.i conftest.err conftest.$ac_ext
  6404. +if $ac_preproc_ok; then :
  6405. + break
  6406. +fi
  6407. +
  6408. + done
  6409. + ac_cv_prog_CPP=$CPP
  6410. +
  6411. +fi
  6412. + CPP=$ac_cv_prog_CPP
  6413. +else
  6414. + ac_cv_prog_CPP=$CPP
  6415. +fi
  6416. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  6417. +$as_echo "$CPP" >&6; }
  6418. +ac_preproc_ok=false
  6419. +for ac_c_preproc_warn_flag in '' yes
  6420. +do
  6421. + # Use a header file that comes with gcc, so configuring glibc
  6422. + # with a fresh cross-compiler works.
  6423. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6424. + # <limits.h> exists even on freestanding compilers.
  6425. + # On the NeXT, cc -E runs the code through the compiler's parser,
  6426. + # not just through cpp. "Syntax error" is here to catch this case.
  6427. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6428. +/* end confdefs.h. */
  6429. +@%:@ifdef __STDC__
  6430. +@%:@ include <limits.h>
  6431. +@%:@else
  6432. +@%:@ include <assert.h>
  6433. +@%:@endif
  6434. + Syntax error
  6435. +_ACEOF
  6436. +if ac_fn_c_try_cpp "$LINENO"; then :
  6437. +
  6438. +else
  6439. + # Broken: fails on valid input.
  6440. +continue
  6441. +fi
  6442. +rm -f conftest.err conftest.i conftest.$ac_ext
  6443. +
  6444. + # OK, works on sane cases. Now check whether nonexistent headers
  6445. + # can be detected and how.
  6446. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6447. +/* end confdefs.h. */
  6448. +@%:@include <ac_nonexistent.h>
  6449. +_ACEOF
  6450. +if ac_fn_c_try_cpp "$LINENO"; then :
  6451. + # Broken: success on invalid input.
  6452. +continue
  6453. +else
  6454. + # Passes both tests.
  6455. +ac_preproc_ok=:
  6456. +break
  6457. +fi
  6458. +rm -f conftest.err conftest.i conftest.$ac_ext
  6459. +
  6460. +done
  6461. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6462. +rm -f conftest.i conftest.err conftest.$ac_ext
  6463. +if $ac_preproc_ok; then :
  6464. +
  6465. +else
  6466. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6467. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6468. +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  6469. +See \`config.log' for more details" "$LINENO" 5; }
  6470. +fi
  6471. +
  6472. +ac_ext=c
  6473. +ac_cpp='$CPP $CPPFLAGS'
  6474. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6475. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6476. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6477. +
  6478. +
  6479. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  6480. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  6481. +if ${ac_cv_path_GREP+:} false; then :
  6482. + $as_echo_n "(cached) " >&6
  6483. +else
  6484. + if test -z "$GREP"; then
  6485. + ac_path_GREP_found=false
  6486. + # Loop through the user's path and test for each of PROGNAME-LIST
  6487. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6488. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  6489. +do
  6490. + IFS=$as_save_IFS
  6491. + test -z "$as_dir" && as_dir=.
  6492. + for ac_prog in grep ggrep; do
  6493. + for ac_exec_ext in '' $ac_executable_extensions; do
  6494. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  6495. + as_fn_executable_p "$ac_path_GREP" || continue
  6496. +# Check for GNU ac_path_GREP and select it if it is found.
  6497. + # Check for GNU $ac_path_GREP
  6498. +case `"$ac_path_GREP" --version 2>&1` in
  6499. +*GNU*)
  6500. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  6501. +*)
  6502. + ac_count=0
  6503. + $as_echo_n 0123456789 >"conftest.in"
  6504. + while :
  6505. + do
  6506. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  6507. + mv "conftest.tmp" "conftest.in"
  6508. + cp "conftest.in" "conftest.nl"
  6509. + $as_echo 'GREP' >> "conftest.nl"
  6510. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  6511. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  6512. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  6513. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  6514. + # Best one so far, save it but keep looking for a better one
  6515. + ac_cv_path_GREP="$ac_path_GREP"
  6516. + ac_path_GREP_max=$ac_count
  6517. + fi
  6518. + # 10*(2^10) chars as input seems more than enough
  6519. + test $ac_count -gt 10 && break
  6520. + done
  6521. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  6522. +esac
  6523. +
  6524. + $ac_path_GREP_found && break 3
  6525. + done
  6526. + done
  6527. + done
  6528. +IFS=$as_save_IFS
  6529. + if test -z "$ac_cv_path_GREP"; then
  6530. + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  6531. + fi
  6532. +else
  6533. + ac_cv_path_GREP=$GREP
  6534. +fi
  6535. +
  6536. +fi
  6537. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  6538. +$as_echo "$ac_cv_path_GREP" >&6; }
  6539. + GREP="$ac_cv_path_GREP"
  6540. +
  6541. +
  6542. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  6543. +$as_echo_n "checking for egrep... " >&6; }
  6544. +if ${ac_cv_path_EGREP+:} false; then :
  6545. + $as_echo_n "(cached) " >&6
  6546. +else
  6547. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  6548. + then ac_cv_path_EGREP="$GREP -E"
  6549. + else
  6550. + if test -z "$EGREP"; then
  6551. + ac_path_EGREP_found=false
  6552. + # Loop through the user's path and test for each of PROGNAME-LIST
  6553. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6554. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  6555. +do
  6556. + IFS=$as_save_IFS
  6557. + test -z "$as_dir" && as_dir=.
  6558. + for ac_prog in egrep; do
  6559. + for ac_exec_ext in '' $ac_executable_extensions; do
  6560. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  6561. + as_fn_executable_p "$ac_path_EGREP" || continue
  6562. +# Check for GNU ac_path_EGREP and select it if it is found.
  6563. + # Check for GNU $ac_path_EGREP
  6564. +case `"$ac_path_EGREP" --version 2>&1` in
  6565. +*GNU*)
  6566. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  6567. +*)
  6568. + ac_count=0
  6569. + $as_echo_n 0123456789 >"conftest.in"
  6570. + while :
  6571. + do
  6572. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  6573. + mv "conftest.tmp" "conftest.in"
  6574. + cp "conftest.in" "conftest.nl"
  6575. + $as_echo 'EGREP' >> "conftest.nl"
  6576. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  6577. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  6578. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  6579. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  6580. + # Best one so far, save it but keep looking for a better one
  6581. + ac_cv_path_EGREP="$ac_path_EGREP"
  6582. + ac_path_EGREP_max=$ac_count
  6583. + fi
  6584. + # 10*(2^10) chars as input seems more than enough
  6585. + test $ac_count -gt 10 && break
  6586. + done
  6587. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  6588. +esac
  6589. +
  6590. + $ac_path_EGREP_found && break 3
  6591. + done
  6592. + done
  6593. + done
  6594. +IFS=$as_save_IFS
  6595. + if test -z "$ac_cv_path_EGREP"; then
  6596. + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  6597. + fi
  6598. +else
  6599. + ac_cv_path_EGREP=$EGREP
  6600. +fi
  6601. +
  6602. + fi
  6603. +fi
  6604. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  6605. +$as_echo "$ac_cv_path_EGREP" >&6; }
  6606. + EGREP="$ac_cv_path_EGREP"
  6607. +
  6608. +
  6609. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  6610. +$as_echo_n "checking for ANSI C header files... " >&6; }
  6611. +if ${ac_cv_header_stdc+:} false; then :
  6612. + $as_echo_n "(cached) " >&6
  6613. +else
  6614. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6615. +/* end confdefs.h. */
  6616. +#include <stdlib.h>
  6617. +#include <stdarg.h>
  6618. +#include <string.h>
  6619. +#include <float.h>
  6620. +
  6621. +int
  6622. +main ()
  6623. +{
  6624. +
  6625. + ;
  6626. + return 0;
  6627. +}
  6628. +_ACEOF
  6629. +if ac_fn_c_try_compile "$LINENO"; then :
  6630. + ac_cv_header_stdc=yes
  6631. +else
  6632. + ac_cv_header_stdc=no
  6633. +fi
  6634. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6635. +
  6636. +if test $ac_cv_header_stdc = yes; then
  6637. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6638. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6639. +/* end confdefs.h. */
  6640. +#include <string.h>
  6641. +
  6642. +_ACEOF
  6643. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6644. + $EGREP "memchr" >/dev/null 2>&1; then :
  6645. +
  6646. +else
  6647. + ac_cv_header_stdc=no
  6648. +fi
  6649. +rm -f conftest*
  6650. +
  6651. +fi
  6652. +
  6653. +if test $ac_cv_header_stdc = yes; then
  6654. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6655. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6656. +/* end confdefs.h. */
  6657. +#include <stdlib.h>
  6658. +
  6659. +_ACEOF
  6660. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6661. + $EGREP "free" >/dev/null 2>&1; then :
  6662. +
  6663. +else
  6664. + ac_cv_header_stdc=no
  6665. +fi
  6666. +rm -f conftest*
  6667. +
  6668. +fi
  6669. +
  6670. +if test $ac_cv_header_stdc = yes; then
  6671. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6672. + if test "$cross_compiling" = yes; then :
  6673. + :
  6674. +else
  6675. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6676. +/* end confdefs.h. */
  6677. +#include <ctype.h>
  6678. +#include <stdlib.h>
  6679. +#if ((' ' & 0x0FF) == 0x020)
  6680. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6681. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6682. +#else
  6683. +# define ISLOWER(c) \
  6684. + (('a' <= (c) && (c) <= 'i') \
  6685. + || ('j' <= (c) && (c) <= 'r') \
  6686. + || ('s' <= (c) && (c) <= 'z'))
  6687. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6688. +#endif
  6689. +
  6690. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6691. +int
  6692. +main ()
  6693. +{
  6694. + int i;
  6695. + for (i = 0; i < 256; i++)
  6696. + if (XOR (islower (i), ISLOWER (i))
  6697. + || toupper (i) != TOUPPER (i))
  6698. + return 2;
  6699. + return 0;
  6700. +}
  6701. +_ACEOF
  6702. +if ac_fn_c_try_run "$LINENO"; then :
  6703. +
  6704. +else
  6705. + ac_cv_header_stdc=no
  6706. +fi
  6707. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6708. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  6709. +fi
  6710. +
  6711. +fi
  6712. +fi
  6713. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  6714. +$as_echo "$ac_cv_header_stdc" >&6; }
  6715. +if test $ac_cv_header_stdc = yes; then
  6716. +
  6717. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  6718. +
  6719. +fi
  6720. +
  6721. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6722. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6723. + inttypes.h stdint.h unistd.h
  6724. +do :
  6725. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6726. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  6727. +"
  6728. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6729. + cat >>confdefs.h <<_ACEOF
  6730. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6731. +_ACEOF
  6732. +
  6733. +fi
  6734. +
  6735. +done
  6736. +
  6737. +
  6738. +
  6739. +
  6740. +
  6741. + ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
  6742. +if test "x$ac_cv_header_minix_config_h" = xyes; then :
  6743. + MINIX=yes
  6744. +else
  6745. + MINIX=
  6746. +fi
  6747. +
  6748. +
  6749. + if test "$MINIX" = yes; then
  6750. +
  6751. +$as_echo "@%:@define _POSIX_SOURCE 1" >>confdefs.h
  6752. +
  6753. +
  6754. +$as_echo "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h
  6755. +
  6756. +
  6757. +$as_echo "@%:@define _MINIX 1" >>confdefs.h
  6758. +
  6759. + fi
  6760. +
  6761. + case "$host_os" in
  6762. + hpux*)
  6763. +
  6764. +$as_echo "@%:@define _XOPEN_SOURCE 500" >>confdefs.h
  6765. +
  6766. + ;;
  6767. + esac
  6768. +
  6769. +
  6770. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
  6771. +$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
  6772. +if ${ac_cv_safe_to_define___extensions__+:} false; then :
  6773. + $as_echo_n "(cached) " >&6
  6774. +else
  6775. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6776. +/* end confdefs.h. */
  6777. +
  6778. +# define __EXTENSIONS__ 1
  6779. + $ac_includes_default
  6780. +int
  6781. +main ()
  6782. +{
  6783. +
  6784. + ;
  6785. + return 0;
  6786. +}
  6787. +_ACEOF
  6788. +if ac_fn_c_try_compile "$LINENO"; then :
  6789. + ac_cv_safe_to_define___extensions__=yes
  6790. +else
  6791. + ac_cv_safe_to_define___extensions__=no
  6792. +fi
  6793. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6794. +fi
  6795. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
  6796. +$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
  6797. + test $ac_cv_safe_to_define___extensions__ = yes &&
  6798. + $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h
  6799. +
  6800. + $as_echo "@%:@define _ALL_SOURCE 1" >>confdefs.h
  6801. +
  6802. + $as_echo "@%:@define _GNU_SOURCE 1" >>confdefs.h
  6803. +
  6804. + $as_echo "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
  6805. +
  6806. + $as_echo "@%:@define _TANDEM_SOURCE 1" >>confdefs.h
  6807. +
  6808. +
  6809. +
  6810. +
  6811. +
  6812. +
  6813. +
  6814. +
  6815. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
  6816. +$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
  6817. +if ${ac_cv_sys_largefile_source+:} false; then :
  6818. + $as_echo_n "(cached) " >&6
  6819. +else
  6820. + while :; do
  6821. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6822. +/* end confdefs.h. */
  6823. +#include <sys/types.h> /* for off_t */
  6824. + #include <stdio.h>
  6825. +int
  6826. +main ()
  6827. +{
  6828. +int (*fp) (FILE *, off_t, int) = fseeko;
  6829. + return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
  6830. + ;
  6831. + return 0;
  6832. +}
  6833. +_ACEOF
  6834. +if ac_fn_c_try_link "$LINENO"; then :
  6835. + ac_cv_sys_largefile_source=no; break
  6836. +fi
  6837. +rm -f core conftest.err conftest.$ac_objext \
  6838. + conftest$ac_exeext conftest.$ac_ext
  6839. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6840. +/* end confdefs.h. */
  6841. +@%:@define _LARGEFILE_SOURCE 1
  6842. +#include <sys/types.h> /* for off_t */
  6843. + #include <stdio.h>
  6844. +int
  6845. +main ()
  6846. +{
  6847. +int (*fp) (FILE *, off_t, int) = fseeko;
  6848. + return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
  6849. + ;
  6850. + return 0;
  6851. +}
  6852. +_ACEOF
  6853. +if ac_fn_c_try_link "$LINENO"; then :
  6854. + ac_cv_sys_largefile_source=1; break
  6855. +fi
  6856. +rm -f core conftest.err conftest.$ac_objext \
  6857. + conftest$ac_exeext conftest.$ac_ext
  6858. + ac_cv_sys_largefile_source=unknown
  6859. + break
  6860. +done
  6861. +fi
  6862. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
  6863. +$as_echo "$ac_cv_sys_largefile_source" >&6; }
  6864. +case $ac_cv_sys_largefile_source in #(
  6865. + no | unknown) ;;
  6866. + *)
  6867. +cat >>confdefs.h <<_ACEOF
  6868. +@%:@define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
  6869. +_ACEOF
  6870. +;;
  6871. +esac
  6872. +rm -rf conftest*
  6873. +
  6874. +# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
  6875. +# in glibc 2.1.3, but that breaks too many other things.
  6876. +# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
  6877. +if test $ac_cv_sys_largefile_source != unknown; then
  6878. +
  6879. +$as_echo "@%:@define HAVE_FSEEKO 1" >>confdefs.h
  6880. +
  6881. +fi
  6882. +
  6883. +
  6884. +
  6885. +
  6886. + # IEEE behaviour is the default on all CPUs except Alpha and SH
  6887. + # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4
  6888. + # and the GCC 4.1.2 manual).
  6889. + case "$host_cpu" in
  6890. + alpha*)
  6891. + # On Alpha systems, a compiler option provides the behaviour.
  6892. + # See the ieee(3) manual page, also available at
  6893. + # <http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN3/0600____.HTM>
  6894. + if test -n "$GCC"; then
  6895. + # GCC has the option -mieee.
  6896. + CPPFLAGS="$CPPFLAGS -mieee"
  6897. + else
  6898. + # Compaq (ex-DEC) C has the option -ieee.
  6899. + CPPFLAGS="$CPPFLAGS -ieee"
  6900. + fi
  6901. + ;;
  6902. + sh*)
  6903. + if test -n "$GCC"; then
  6904. + # GCC has the option -mieee.
  6905. + CPPFLAGS="$CPPFLAGS -mieee"
  6906. + fi
  6907. + ;;
  6908. + esac
  6909. +
  6910. + case $ac_cv_prog_cc_stdc in @%:@(
  6911. + no) :
  6912. + ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; @%:@(
  6913. + *) :
  6914. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
  6915. +$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
  6916. +if ${ac_cv_prog_cc_c99+:} false; then :
  6917. + $as_echo_n "(cached) " >&6
  6918. +else
  6919. + ac_cv_prog_cc_c99=no
  6920. +ac_save_CC=$CC
  6921. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6922. +/* end confdefs.h. */
  6923. +#include <stdarg.h>
  6924. +#include <stdbool.h>
  6925. +#include <stdlib.h>
  6926. +#include <wchar.h>
  6927. +#include <stdio.h>
  6928. +
  6929. +// Check varargs macros. These examples are taken from C99 6.10.3.5.
  6930. +#define debug(...) fprintf (stderr, __VA_ARGS__)
  6931. +#define showlist(...) puts (#__VA_ARGS__)
  6932. +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  6933. +static void
  6934. +test_varargs_macros (void)
  6935. +{
  6936. + int x = 1234;
  6937. + int y = 5678;
  6938. + debug ("Flag");
  6939. + debug ("X = %d\n", x);
  6940. + showlist (The first, second, and third items.);
  6941. + report (x>y, "x is %d but y is %d", x, y);
  6942. +}
  6943. +
  6944. +// Check long long types.
  6945. +#define BIG64 18446744073709551615ull
  6946. +#define BIG32 4294967295ul
  6947. +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  6948. +#if !BIG_OK
  6949. + your preprocessor is broken;
  6950. +#endif
  6951. +#if BIG_OK
  6952. +#else
  6953. + your preprocessor is broken;
  6954. +#endif
  6955. +static long long int bignum = -9223372036854775807LL;
  6956. +static unsigned long long int ubignum = BIG64;
  6957. +
  6958. +struct incomplete_array
  6959. +{
  6960. + int datasize;
  6961. + double data[];
  6962. +};
  6963. +
  6964. +struct named_init {
  6965. + int number;
  6966. + const wchar_t *name;
  6967. + double average;
  6968. +};
  6969. +
  6970. +typedef const char *ccp;
  6971. +
  6972. +static inline int
  6973. +test_restrict (ccp restrict text)
  6974. +{
  6975. + // See if C++-style comments work.
  6976. + // Iterate through items via the restricted pointer.
  6977. + // Also check for declarations in for loops.
  6978. + for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  6979. + continue;
  6980. + return 0;
  6981. +}
  6982. +
  6983. +// Check varargs and va_copy.
  6984. +static void
  6985. +test_varargs (const char *format, ...)
  6986. +{
  6987. + va_list args;
  6988. + va_start (args, format);
  6989. + va_list args_copy;
  6990. + va_copy (args_copy, args);
  6991. +
  6992. + const char *str;
  6993. + int number;
  6994. + float fnumber;
  6995. +
  6996. + while (*format)
  6997. + {
  6998. + switch (*format++)
  6999. + {
  7000. + case 's': // string
  7001. + str = va_arg (args_copy, const char *);
  7002. + break;
  7003. + case 'd': // int
  7004. + number = va_arg (args_copy, int);
  7005. + break;
  7006. + case 'f': // float
  7007. + fnumber = va_arg (args_copy, double);
  7008. + break;
  7009. + default:
  7010. + break;
  7011. + }
  7012. + }
  7013. + va_end (args_copy);
  7014. + va_end (args);
  7015. +}
  7016. +
  7017. +int
  7018. +main ()
  7019. +{
  7020. +
  7021. + // Check bool.
  7022. + _Bool success = false;
  7023. +
  7024. + // Check restrict.
  7025. + if (test_restrict ("String literal") == 0)
  7026. + success = true;
  7027. + char *restrict newvar = "Another string";
  7028. +
  7029. + // Check varargs.
  7030. + test_varargs ("s, d' f .", "string", 65, 34.234);
  7031. + test_varargs_macros ();
  7032. +
  7033. + // Check flexible array members.
  7034. + struct incomplete_array *ia =
  7035. + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  7036. + ia->datasize = 10;
  7037. + for (int i = 0; i < ia->datasize; ++i)
  7038. + ia->data[i] = i * 1.234;
  7039. +
  7040. + // Check named initializers.
  7041. + struct named_init ni = {
  7042. + .number = 34,
  7043. + .name = L"Test wide string",
  7044. + .average = 543.34343,
  7045. + };
  7046. +
  7047. + ni.number = 58;
  7048. +
  7049. + int dynamic_array[ni.number];
  7050. + dynamic_array[ni.number - 1] = 543;
  7051. +
  7052. + // work around unused variable warnings
  7053. + return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  7054. + || dynamic_array[ni.number - 1] != 543);
  7055. +
  7056. + ;
  7057. + return 0;
  7058. +}
  7059. +_ACEOF
  7060. +for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
  7061. +do
  7062. + CC="$ac_save_CC $ac_arg"
  7063. + if ac_fn_c_try_compile "$LINENO"; then :
  7064. + ac_cv_prog_cc_c99=$ac_arg
  7065. +fi
  7066. +rm -f core conftest.err conftest.$ac_objext
  7067. + test "x$ac_cv_prog_cc_c99" != "xno" && break
  7068. +done
  7069. +rm -f conftest.$ac_ext
  7070. +CC=$ac_save_CC
  7071. +
  7072. +fi
  7073. +# AC_CACHE_VAL
  7074. +case "x$ac_cv_prog_cc_c99" in
  7075. + x)
  7076. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  7077. +$as_echo "none needed" >&6; } ;;
  7078. + xno)
  7079. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  7080. +$as_echo "unsupported" >&6; } ;;
  7081. + *)
  7082. + CC="$CC $ac_cv_prog_cc_c99"
  7083. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
  7084. +$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
  7085. +esac
  7086. +if test "x$ac_cv_prog_cc_c99" != xno; then :
  7087. + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
  7088. +else
  7089. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  7090. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  7091. +if ${ac_cv_prog_cc_c89+:} false; then :
  7092. + $as_echo_n "(cached) " >&6
  7093. +else
  7094. + ac_cv_prog_cc_c89=no
  7095. +ac_save_CC=$CC
  7096. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7097. +/* end confdefs.h. */
  7098. +#include <stdarg.h>
  7099. +#include <stdio.h>
  7100. +struct stat;
  7101. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  7102. +struct buf { int x; };
  7103. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  7104. +static char *e (p, i)
  7105. + char **p;
  7106. + int i;
  7107. +{
  7108. + return p[i];
  7109. +}
  7110. +static char *f (char * (*g) (char **, int), char **p, ...)
  7111. +{
  7112. + char *s;
  7113. + va_list v;
  7114. + va_start (v,p);
  7115. + s = g (p, va_arg (v,int));
  7116. + va_end (v);
  7117. + return s;
  7118. +}
  7119. +
  7120. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  7121. + function prototypes and stuff, but not '\xHH' hex character constants.
  7122. + These don't provoke an error unfortunately, instead are silently treated
  7123. + as 'x'. The following induces an error, until -std is added to get
  7124. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  7125. + array size at least. It's necessary to write '\x00'==0 to get something
  7126. + that's true only with -std. */
  7127. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  7128. +
  7129. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  7130. + inside strings and character constants. */
  7131. +#define FOO(x) 'x'
  7132. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  7133. +
  7134. +int test (int i, double x);
  7135. +struct s1 {int (*f) (int a);};
  7136. +struct s2 {int (*f) (double a);};
  7137. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  7138. +int argc;
  7139. +char **argv;
  7140. +int
  7141. +main ()
  7142. +{
  7143. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  7144. + ;
  7145. + return 0;
  7146. +}
  7147. +_ACEOF
  7148. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  7149. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  7150. +do
  7151. + CC="$ac_save_CC $ac_arg"
  7152. + if ac_fn_c_try_compile "$LINENO"; then :
  7153. + ac_cv_prog_cc_c89=$ac_arg
  7154. +fi
  7155. +rm -f core conftest.err conftest.$ac_objext
  7156. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  7157. +done
  7158. +rm -f conftest.$ac_ext
  7159. +CC=$ac_save_CC
  7160. +
  7161. +fi
  7162. +# AC_CACHE_VAL
  7163. +case "x$ac_cv_prog_cc_c89" in
  7164. + x)
  7165. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  7166. +$as_echo "none needed" >&6; } ;;
  7167. + xno)
  7168. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  7169. +$as_echo "unsupported" >&6; } ;;
  7170. + *)
  7171. + CC="$CC $ac_cv_prog_cc_c89"
  7172. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  7173. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  7174. +esac
  7175. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  7176. + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
  7177. +else
  7178. + ac_cv_prog_cc_stdc=no
  7179. +fi
  7180. +
  7181. +fi
  7182. + ;;
  7183. +esac
  7184. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
  7185. +$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
  7186. + if ${ac_cv_prog_cc_stdc+:} false; then :
  7187. + $as_echo_n "(cached) " >&6
  7188. +fi
  7189. +
  7190. + case $ac_cv_prog_cc_stdc in @%:@(
  7191. + no) :
  7192. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  7193. +$as_echo "unsupported" >&6; } ;; @%:@(
  7194. + '') :
  7195. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  7196. +$as_echo "none needed" >&6; } ;; @%:@(
  7197. + *) :
  7198. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
  7199. +$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
  7200. +esac
  7201. +
  7202. +
  7203. +
  7204. +
  7205. +
  7206. +
  7207. + @%:@ Check whether --enable-threads was given.
  7208. +if test "${enable_threads+set}" = set; then :
  7209. + enableval=$enable_threads; gl_use_threads=$enableval
  7210. +else
  7211. + if test -n "$gl_use_threads_default"; then
  7212. + gl_use_threads="$gl_use_threads_default"
  7213. + else
  7214. + case "$host_os" in
  7215. + osf*) gl_use_threads=no ;;
  7216. + cygwin*)
  7217. + case `uname -r` in
  7218. + 1.[0-5].*) gl_use_threads=no ;;
  7219. + *) gl_use_threads=yes ;;
  7220. + esac
  7221. + ;;
  7222. + *) gl_use_threads=yes ;;
  7223. + esac
  7224. + fi
  7225. +
  7226. +fi
  7227. +
  7228. + if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
  7229. + # For using <pthread.h>:
  7230. + case "$host_os" in
  7231. + osf*)
  7232. + # On OSF/1, the compiler needs the flag -D_REENTRANT so that it
  7233. + # groks <pthread.h>. cc also understands the flag -pthread, but
  7234. + # we don't use it because 1. gcc-2.95 doesn't understand -pthread,
  7235. + # 2. putting a flag into CPPFLAGS that has an effect on the linker
  7236. + # causes the AC_LINK_IFELSE test below to succeed unexpectedly,
  7237. + # leading to wrong values of LIBTHREAD and LTLIBTHREAD.
  7238. + CPPFLAGS="$CPPFLAGS -D_REENTRANT"
  7239. + ;;
  7240. + esac
  7241. + # Some systems optimize for single-threaded programs by default, and
  7242. + # need special flags to disable these optimizations. For example, the
  7243. + # definition of 'errno' in <errno.h>.
  7244. + case "$host_os" in
  7245. + aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
  7246. + solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
  7247. + esac
  7248. + fi
  7249. +
  7250. +
  7251. +
  7252. +
  7253. + # Code from module alloca-opt:
  7254. + # Code from module alloca-opt-tests:
  7255. + # Code from module announce-gen:
  7256. + # Code from module ansi-c++-opt:
  7257. + # Code from module arg-nonnull:
  7258. + # Code from module array-list:
  7259. + # Code from module array-list-tests:
  7260. + # Code from module array-oset:
  7261. + # Code from module array-oset-tests:
  7262. + # Code from module assert:
  7263. + # Code from module autobuild:
  7264. +
  7265. +
  7266. +
  7267. +
  7268. + if test -z "$AB_PACKAGE"; then
  7269. + AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE}
  7270. + fi
  7271. + { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild project... $AB_PACKAGE" >&5
  7272. +$as_echo "$as_me: autobuild project... $AB_PACKAGE" >&6;}
  7273. +
  7274. + if test -z "$AB_VERSION"; then
  7275. + AB_VERSION=${PACKAGE_VERSION:-$VERSION}
  7276. + fi
  7277. + { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild revision... $AB_VERSION" >&5
  7278. +$as_echo "$as_me: autobuild revision... $AB_VERSION" >&6;}
  7279. +
  7280. + hostname=`hostname`
  7281. + if test "$hostname"; then
  7282. + { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild hostname... $hostname" >&5
  7283. +$as_echo "$as_me: autobuild hostname... $hostname" >&6;}
  7284. + fi
  7285. +
  7286. +
  7287. +
  7288. + date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ`
  7289. + if test "$?" != 0; then
  7290. + date=`date`
  7291. + fi
  7292. + if test "$date"; then
  7293. + { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild timestamp... $date" >&5
  7294. +$as_echo "$as_me: autobuild timestamp... $date" >&6;}
  7295. + fi
  7296. +
  7297. + # Code from module avltree-oset:
  7298. + # Code from module avltree-oset-tests:
  7299. + # Code from module binary-io:
  7300. + # Code from module binary-io-tests:
  7301. + # Code from module btowc:
  7302. + # Code from module btowc-tests:
  7303. + # Code from module c++defs:
  7304. + # Code from module c-ctype:
  7305. + # Code from module c-ctype-tests:
  7306. + # Code from module c-stack:
  7307. + # Code from module c-stack-tests:
  7308. + # Code from module c-strcase:
  7309. + # Code from module c-strcase-tests:
  7310. + # Code from module canonicalize-lgpl:
  7311. + # Code from module canonicalize-lgpl-tests:
  7312. + # Code from module clean-temp:
  7313. + # Code from module cloexec:
  7314. + # Code from module cloexec-tests:
  7315. + # Code from module close:
  7316. + # Code from module close-hook:
  7317. + # Code from module close-stream:
  7318. + # Code from module closein:
  7319. + # Code from module closein-tests:
  7320. + # Code from module closeout:
  7321. + # Code from module config-h:
  7322. + # Code from module configmake:
  7323. + # Code from module dirname:
  7324. + # Code from module dirname-lgpl:
  7325. + # Code from module dirname-tests:
  7326. + # Code from module dosname:
  7327. + # Code from module double-slash-root:
  7328. + # Code from module dup2:
  7329. + # Code from module dup2-tests:
  7330. + # Code from module environ:
  7331. + # Code from module environ-tests:
  7332. + # Code from module errno:
  7333. + # Code from module errno-tests:
  7334. + # Code from module error:
  7335. + # Code from module execute:
  7336. + # Code from module exitfail:
  7337. + # Code from module extensions:
  7338. +
  7339. + # Code from module fatal-signal:
  7340. + # Code from module fclose:
  7341. + # Code from module fcntl:
  7342. + # Code from module fcntl-h:
  7343. + # Code from module fcntl-h-c++-tests:
  7344. + # Code from module fcntl-h-tests:
  7345. + # Code from module fcntl-tests:
  7346. + # Code from module fd-safer-flag:
  7347. + # Code from module fdl-1.3:
  7348. + # Code from module fflush:
  7349. +
  7350. + # Code from module fflush-tests:
  7351. + # Code from module filenamecat:
  7352. + # Code from module filenamecat-lgpl:
  7353. + # Code from module filenamecat-tests:
  7354. + # Code from module float:
  7355. + # Code from module fopen:
  7356. + # Code from module fopen-safer:
  7357. + # Code from module fopen-safer-tests:
  7358. + # Code from module fopen-tests:
  7359. + # Code from module fpending:
  7360. + # Code from module fpending-tests:
  7361. + # Code from module fpieee:
  7362. +
  7363. + # Code from module fpucw:
  7364. + # Code from module fpurge:
  7365. + # Code from module fpurge-tests:
  7366. + # Code from module freadahead:
  7367. + # Code from module freadahead-tests:
  7368. + # Code from module freading:
  7369. + # Code from module freading-tests:
  7370. + # Code from module frexp-nolibm:
  7371. + # Code from module frexp-nolibm-tests:
  7372. + # Code from module frexpl-nolibm:
  7373. + # Code from module frexpl-nolibm-tests:
  7374. + # Code from module fseeko:
  7375. +
  7376. + # Code from module fseeko-tests:
  7377. + # Code from module ftell:
  7378. + # Code from module ftell-tests:
  7379. + # Code from module ftello:
  7380. +
  7381. + # Code from module ftello-tests:
  7382. + # Code from module gendocs:
  7383. + # Code from module getdtablesize:
  7384. + # Code from module getdtablesize-tests:
  7385. + # Code from module getopt-gnu:
  7386. + # Code from module getopt-posix:
  7387. + # Code from module getopt-posix-tests:
  7388. + # Code from module getpagesize:
  7389. + # Code from module gettext-h:
  7390. + # Code from module gettimeofday:
  7391. + # Code from module gettimeofday-tests:
  7392. + # Code from module git-version-gen:
  7393. + # Code from module gnu-web-doc-update:
  7394. + # Code from module gnumakefile:
  7395. + # Code from module gnupload:
  7396. + # Code from module gpl-3.0:
  7397. + # Code from module havelib:
  7398. + # Code from module ignore-value:
  7399. + # Code from module ignore-value-tests:
  7400. + # Code from module include_next:
  7401. + # Code from module inline:
  7402. + # Code from module intprops:
  7403. + # Code from module isnand-nolibm:
  7404. + # Code from module isnand-nolibm-tests:
  7405. + # Code from module isnanf-nolibm:
  7406. + # Code from module isnanf-nolibm-tests:
  7407. + # Code from module isnanl-nolibm:
  7408. + # Code from module isnanl-nolibm-tests:
  7409. + # Code from module langinfo:
  7410. + # Code from module langinfo-c++-tests:
  7411. + # Code from module langinfo-tests:
  7412. + # Code from module libsigsegv:
  7413. + # Code from module link:
  7414. + # Code from module link-tests:
  7415. + # Code from module linkedhash-list:
  7416. + # Code from module linkedhash-list-tests:
  7417. + # Code from module list:
  7418. + # Code from module localcharset:
  7419. + # Code from module locale:
  7420. + # Code from module locale-c++-tests:
  7421. + # Code from module locale-tests:
  7422. + # Code from module localename:
  7423. + # Code from module localename-tests:
  7424. + # Code from module lock:
  7425. + # Code from module lseek:
  7426. + # Code from module lseek-tests:
  7427. + # Code from module lstat:
  7428. + # Code from module lstat-tests:
  7429. + # Code from module maintainer-makefile:
  7430. + # Code from module malloc-gnu:
  7431. + # Code from module malloc-gnu-tests:
  7432. + # Code from module malloc-posix:
  7433. + # Code from module malloca:
  7434. + # Code from module malloca-tests:
  7435. + # Code from module manywarnings:
  7436. + # Code from module math:
  7437. + # Code from module math-c++-tests:
  7438. + # Code from module math-tests:
  7439. + # Code from module mbrtowc:
  7440. + # Code from module mbrtowc-tests:
  7441. + # Code from module mbsinit:
  7442. + # Code from module mbsinit-tests:
  7443. + # Code from module mbtowc:
  7444. + # Code from module memchr:
  7445. + # Code from module memchr-tests:
  7446. + # Code from module memchr2:
  7447. + # Code from module memchr2-tests:
  7448. + # Code from module mkdtemp:
  7449. + # Code from module mkstemp:
  7450. + # Code from module multiarch:
  7451. + # Code from module nl_langinfo:
  7452. + # Code from module nl_langinfo-tests:
  7453. + # Code from module nocrash:
  7454. + # Code from module obstack:
  7455. + # Code from module open:
  7456. + # Code from module open-tests:
  7457. + # Code from module oset:
  7458. + # Code from module pathmax:
  7459. + # Code from module pipe2:
  7460. + # Code from module pipe2-safer:
  7461. + # Code from module pipe2-tests:
  7462. + # Code from module posix_spawn-internal:
  7463. + # Code from module posix_spawn_file_actions_addclose:
  7464. + # Code from module posix_spawn_file_actions_adddup2:
  7465. + # Code from module posix_spawn_file_actions_addopen:
  7466. + # Code from module posix_spawn_file_actions_destroy:
  7467. + # Code from module posix_spawn_file_actions_init:
  7468. + # Code from module posix_spawnattr_destroy:
  7469. + # Code from module posix_spawnattr_init:
  7470. + # Code from module posix_spawnattr_setflags:
  7471. + # Code from module posix_spawnattr_setsigmask:
  7472. + # Code from module posix_spawnp:
  7473. + # Code from module posix_spawnp-tests:
  7474. + # Code from module printf-frexp:
  7475. + # Code from module printf-frexp-tests:
  7476. + # Code from module printf-frexpl:
  7477. + # Code from module printf-frexpl-tests:
  7478. + # Code from module printf-safe:
  7479. + # Code from module progname:
  7480. + # Code from module putenv:
  7481. + # Code from module quotearg:
  7482. + # Code from module quotearg-simple:
  7483. + # Code from module quotearg-simple-tests:
  7484. + # Code from module rawmemchr:
  7485. + # Code from module rawmemchr-tests:
  7486. + # Code from module readlink:
  7487. + # Code from module readlink-tests:
  7488. + # Code from module regex:
  7489. + # Code from module rename:
  7490. + # Code from module rename-tests:
  7491. + # Code from module rmdir:
  7492. + # Code from module rmdir-tests:
  7493. + # Code from module same-inode:
  7494. + # Code from module sched:
  7495. + # Code from module sched-tests:
  7496. + # Code from module setenv:
  7497. + # Code from module setenv-tests:
  7498. + # Code from module setlocale:
  7499. + # Code from module setlocale-tests:
  7500. + # Code from module sigaction:
  7501. + # Code from module sigaction-tests:
  7502. + # Code from module signal:
  7503. + # Code from module signal-c++-tests:
  7504. + # Code from module signal-tests:
  7505. + # Code from module signbit:
  7506. + # Code from module signbit-tests:
  7507. + # Code from module sigprocmask:
  7508. + # Code from module size_max:
  7509. + # Code from module snprintf:
  7510. + # Code from module snprintf-tests:
  7511. + # Code from module spawn:
  7512. + # Code from module spawn-c++-tests:
  7513. + # Code from module spawn-pipe:
  7514. + # Code from module spawn-pipe-tests:
  7515. + # Code from module spawn-tests:
  7516. + # Code from module ssize_t:
  7517. + # Code from module stat:
  7518. + # Code from module stat-tests:
  7519. + # Code from module stdarg:
  7520. +
  7521. + # Code from module stdbool:
  7522. + # Code from module stdbool-tests:
  7523. + # Code from module stddef:
  7524. + # Code from module stddef-tests:
  7525. + # Code from module stdint:
  7526. + # Code from module stdint-tests:
  7527. + # Code from module stdio:
  7528. + # Code from module stdio-c++-tests:
  7529. + # Code from module stdio-tests:
  7530. + # Code from module stdlib:
  7531. + # Code from module stdlib-c++-tests:
  7532. + # Code from module stdlib-safer:
  7533. + # Code from module stdlib-tests:
  7534. + # Code from module strchrnul:
  7535. + # Code from module strchrnul-tests:
  7536. + # Code from module strdup-posix:
  7537. + # Code from module streq:
  7538. + # Code from module strerror:
  7539. + # Code from module strerror-tests:
  7540. + # Code from module string:
  7541. + # Code from module string-c++-tests:
  7542. + # Code from module string-tests:
  7543. + # Code from module strndup:
  7544. + # Code from module strnlen:
  7545. + # Code from module strnlen-tests:
  7546. + # Code from module strsignal:
  7547. + # Code from module strsignal-tests:
  7548. + # Code from module strstr:
  7549. + # Code from module strstr-simple:
  7550. + # Code from module strstr-tests:
  7551. + # Code from module strtod:
  7552. + # Code from module strtod-tests:
  7553. + # Code from module strtol:
  7554. + # Code from module symlink:
  7555. + # Code from module symlink-tests:
  7556. + # Code from module sys_stat:
  7557. + # Code from module sys_stat-c++-tests:
  7558. + # Code from module sys_stat-tests:
  7559. + # Code from module sys_time:
  7560. + # Code from module sys_time-c++-tests:
  7561. + # Code from module sys_time-tests:
  7562. + # Code from module sys_wait:
  7563. + # Code from module sys_wait-c++-tests:
  7564. + # Code from module sys_wait-tests:
  7565. + # Code from module tempname:
  7566. + # Code from module threadlib:
  7567. +
  7568. +
  7569. +
  7570. + # Code from module time:
  7571. + # Code from module time-c++-tests:
  7572. + # Code from module time-tests:
  7573. + # Code from module tls:
  7574. + # Code from module tmpdir:
  7575. + # Code from module unistd:
  7576. + # Code from module unistd-c++-tests:
  7577. + # Code from module unistd-safer:
  7578. + # Code from module unistd-safer-tests:
  7579. + # Code from module unistd-tests:
  7580. + # Code from module unlocked-io:
  7581. + # Code from module unsetenv:
  7582. + # Code from module unsetenv-tests:
  7583. + # Code from module update-copyright:
  7584. + # Code from module update-copyright-tests:
  7585. + # Code from module useless-if-before-free:
  7586. + # Code from module vasnprintf:
  7587. + # Code from module vasnprintf-tests:
  7588. + # Code from module vasprintf:
  7589. + # Code from module vasprintf-posix:
  7590. + # Code from module vasprintf-posix-tests:
  7591. + # Code from module vasprintf-tests:
  7592. + # Code from module vc-list-files:
  7593. + # Code from module vc-list-files-tests:
  7594. + # Code from module verify:
  7595. + # Code from module verify-tests:
  7596. + # Code from module verror:
  7597. + # Code from module version-etc:
  7598. + # Code from module version-etc-fsf:
  7599. + # Code from module version-etc-tests:
  7600. + # Code from module wait-process:
  7601. + # Code from module waitpid:
  7602. + # Code from module warn-on-use:
  7603. + # Code from module warnings:
  7604. + # Code from module wchar:
  7605. + # Code from module wchar-c++-tests:
  7606. + # Code from module wchar-tests:
  7607. + # Code from module wcrtomb:
  7608. + # Code from module wcrtomb-tests:
  7609. + # Code from module wctob:
  7610. + # Code from module wctomb:
  7611. + # Code from module wctype-h:
  7612. + # Code from module wctype-h-c++-tests:
  7613. + # Code from module wctype-h-tests:
  7614. + # Code from module xalloc:
  7615. + # Code from module xalloc-die:
  7616. + # Code from module xalloc-die-tests:
  7617. + # Code from module xlist:
  7618. + # Code from module xmalloca:
  7619. + # Code from module xoset:
  7620. + # Code from module xprintf:
  7621. + # Code from module xsize:
  7622. + # Code from module xstrndup:
  7623. + # Code from module xvasprintf:
  7624. + # Code from module xvasprintf-posix:
  7625. + # Code from module xvasprintf-tests:
  7626. +
  7627. +
  7628. +# Maintainer note - comment this line out if you plan to rerun
  7629. +# GNULIB_POSIXCHECK testing to see if M4 should be using more modules.
  7630. +# Leave it uncommented for normal releases, for faster ./configure.
  7631. +
  7632. +
  7633. +
  7634. +
  7635. +# M4 is single-threaded; so we can optimize gnulib code by using this:
  7636. +
  7637. +
  7638. +
  7639. +
  7640. +@%:@ Check whether --enable-gcc-warnings was given.
  7641. +if test "${enable_gcc_warnings+set}" = set; then :
  7642. + enableval=$enable_gcc_warnings; case $enableval in
  7643. + yes|no) ;;
  7644. + *) as_fn_error $? "bad value $enableval for gcc-warnings option" "$LINENO" 5 ;;
  7645. + esac
  7646. + gl_gcc_warnings=$enableval
  7647. +else
  7648. + gl_gcc_warnings=no
  7649. +
  7650. +fi
  7651. +
  7652. +
  7653. +if test "$gl_gcc_warnings" = yes; then
  7654. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Werror" >&5
  7655. +$as_echo_n "checking whether compiler handles -Werror... " >&6; }
  7656. +if ${gl_cv_warn__Werror+:} false; then :
  7657. + $as_echo_n "(cached) " >&6
  7658. +else
  7659. +
  7660. + save_CPPFLAGS="$CPPFLAGS"
  7661. + CPPFLAGS="${CPPFLAGS} -Werror"
  7662. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7663. +/* end confdefs.h. */
  7664. +
  7665. +int
  7666. +main ()
  7667. +{
  7668. +
  7669. + ;
  7670. + return 0;
  7671. +}
  7672. +_ACEOF
  7673. +if ac_fn_c_try_cpp "$LINENO"; then :
  7674. + gl_cv_warn__Werror=yes
  7675. +else
  7676. + gl_cv_warn__Werror=no
  7677. +fi
  7678. +rm -f conftest.err conftest.i conftest.$ac_ext
  7679. + CPPFLAGS="$save_CPPFLAGS"
  7680. +
  7681. +fi
  7682. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Werror" >&5
  7683. +$as_echo "$gl_cv_warn__Werror" >&6; }
  7684. +if test "x$gl_cv_warn__Werror" = xyes; then :
  7685. + as_fn_append WERROR_CFLAGS " -Werror"
  7686. +fi
  7687. +
  7688. +
  7689. +
  7690. + nw=
  7691. + nw="$nw -Waggregate-return" # C90 is anachronistic
  7692. + nw="$nw -Wlong-long" # C90 is anachronistic
  7693. + nw="$nw -Wundef" # Warns on '#if GNULIB_FOO' etc in gnulib
  7694. + nw="$nw -Wtraditional" # Warns on #elif which we use often
  7695. + nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings
  7696. + nw="$nw -Wpadded" # Our structs are not packed
  7697. + nw="$nw -Wredundant-decls" # Gnulib has multiple decls
  7698. + nw="$nw -Wformat-nonliteral" # Needed in builtin.c
  7699. + nw="$nw -Wunreachable-code" # Needed in output.c
  7700. + nw="$nw -Wconversion" # Too many warnings for now
  7701. + nw="$nw -Wsign-conversion" # Too many warnings for now
  7702. + nw="$nw -Wtraditional-conversion" # Too many warnings for now
  7703. + nw="$nw -Wcast-qual" # Too many warnings for now
  7704. + nw="$nw -Wswitch-enum" # Too many warnings for now
  7705. + # This, $nw, is the list of warnings we disable.
  7706. +
  7707. +
  7708. + gl_manywarn_set=
  7709. + for gl_manywarn_item in \
  7710. + -Wall \
  7711. + -W \
  7712. + -Wformat-y2k \
  7713. + -Wformat-nonliteral \
  7714. + -Wformat-security \
  7715. + -Winit-self \
  7716. + -Wmissing-include-dirs \
  7717. + -Wswitch-default \
  7718. + -Wswitch-enum \
  7719. + -Wunused \
  7720. + -Wunknown-pragmas \
  7721. + -Wstrict-aliasing \
  7722. + -Wstrict-overflow \
  7723. + -Wsystem-headers \
  7724. + -Wfloat-equal \
  7725. + -Wtraditional \
  7726. + -Wtraditional-conversion \
  7727. + -Wdeclaration-after-statement \
  7728. + -Wundef \
  7729. + -Wshadow \
  7730. + -Wunsafe-loop-optimizations \
  7731. + -Wpointer-arith \
  7732. + -Wbad-function-cast \
  7733. + -Wc++-compat \
  7734. + -Wcast-qual \
  7735. + -Wcast-align \
  7736. + -Wwrite-strings \
  7737. + -Wconversion \
  7738. + -Wsign-conversion \
  7739. + -Wlogical-op \
  7740. + -Waggregate-return \
  7741. + -Wstrict-prototypes \
  7742. + -Wold-style-definition \
  7743. + -Wmissing-prototypes \
  7744. + -Wmissing-declarations \
  7745. + -Wmissing-noreturn \
  7746. + -Wmissing-format-attribute \
  7747. + -Wpacked \
  7748. + -Wpadded \
  7749. + -Wredundant-decls \
  7750. + -Wnested-externs \
  7751. + -Wunreachable-code \
  7752. + -Winline \
  7753. + -Winvalid-pch \
  7754. + -Wlong-long \
  7755. + -Wvla \
  7756. + -Wvolatile-register-var \
  7757. + -Wdisabled-optimization \
  7758. + -Wstack-protector \
  7759. + -Woverlength-strings \
  7760. + -Wbuiltin-macro-redefined \
  7761. + -Wmudflap \
  7762. + -Wpacked-bitfield-compat \
  7763. + -Wsync-nand \
  7764. + ; do
  7765. + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
  7766. + done
  7767. + # The following are not documented in the manual but are included in
  7768. + # output from gcc --help=warnings.
  7769. + for gl_manywarn_item in \
  7770. + -Wattributes \
  7771. + -Wcoverage-mismatch \
  7772. + -Wmultichar \
  7773. + -Wunused-macros \
  7774. + ; do
  7775. + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
  7776. + done
  7777. + ws=$gl_manywarn_set
  7778. +
  7779. +
  7780. + gl_warn_set=
  7781. + set x $ws; shift
  7782. + for gl_warn_item
  7783. + do
  7784. + case " $nw " in
  7785. + *" $gl_warn_item "*)
  7786. + ;;
  7787. + *)
  7788. + gl_warn_set="$gl_warn_set $gl_warn_item"
  7789. + ;;
  7790. + esac
  7791. + done
  7792. + ws=$gl_warn_set
  7793. +
  7794. + for w in $ws; do
  7795. + as_gl_Warn=`$as_echo "gl_cv_warn_$w" | $as_tr_sh`
  7796. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles $w" >&5
  7797. +$as_echo_n "checking whether compiler handles $w... " >&6; }
  7798. +if eval \${$as_gl_Warn+:} false; then :
  7799. + $as_echo_n "(cached) " >&6
  7800. +else
  7801. +
  7802. + save_CPPFLAGS="$CPPFLAGS"
  7803. + CPPFLAGS="${CPPFLAGS} $w"
  7804. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7805. +/* end confdefs.h. */
  7806. +
  7807. +int
  7808. +main ()
  7809. +{
  7810. +
  7811. + ;
  7812. + return 0;
  7813. +}
  7814. +_ACEOF
  7815. +if ac_fn_c_try_cpp "$LINENO"; then :
  7816. + eval "$as_gl_Warn=yes"
  7817. +else
  7818. + eval "$as_gl_Warn=no"
  7819. +fi
  7820. +rm -f conftest.err conftest.i conftest.$ac_ext
  7821. + CPPFLAGS="$save_CPPFLAGS"
  7822. +
  7823. +fi
  7824. +eval ac_res=\$$as_gl_Warn
  7825. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  7826. +$as_echo "$ac_res" >&6; }
  7827. +if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then :
  7828. + as_fn_append WARN_CFLAGS " $w"
  7829. +fi
  7830. +
  7831. + done
  7832. +
  7833. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fdiagnostics-show-option" >&5
  7834. +$as_echo_n "checking whether compiler handles -fdiagnostics-show-option... " >&6; }
  7835. +if ${gl_cv_warn__fdiagnostics_show_option+:} false; then :
  7836. + $as_echo_n "(cached) " >&6
  7837. +else
  7838. +
  7839. + save_CPPFLAGS="$CPPFLAGS"
  7840. + CPPFLAGS="${CPPFLAGS} -fdiagnostics-show-option"
  7841. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7842. +/* end confdefs.h. */
  7843. +
  7844. +int
  7845. +main ()
  7846. +{
  7847. +
  7848. + ;
  7849. + return 0;
  7850. +}
  7851. +_ACEOF
  7852. +if ac_fn_c_try_cpp "$LINENO"; then :
  7853. + gl_cv_warn__fdiagnostics_show_option=yes
  7854. +else
  7855. + gl_cv_warn__fdiagnostics_show_option=no
  7856. +fi
  7857. +rm -f conftest.err conftest.i conftest.$ac_ext
  7858. + CPPFLAGS="$save_CPPFLAGS"
  7859. +
  7860. +fi
  7861. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fdiagnostics_show_option" >&5
  7862. +$as_echo "$gl_cv_warn__fdiagnostics_show_option" >&6; }
  7863. +if test "x$gl_cv_warn__fdiagnostics_show_option" = xyes; then :
  7864. + as_fn_append WARN_CFLAGS " -fdiagnostics-show-option"
  7865. +fi
  7866. +
  7867. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -funit-at-a-time" >&5
  7868. +$as_echo_n "checking whether compiler handles -funit-at-a-time... " >&6; }
  7869. +if ${gl_cv_warn__funit_at_a_time+:} false; then :
  7870. + $as_echo_n "(cached) " >&6
  7871. +else
  7872. +
  7873. + save_CPPFLAGS="$CPPFLAGS"
  7874. + CPPFLAGS="${CPPFLAGS} -funit-at-a-time"
  7875. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7876. +/* end confdefs.h. */
  7877. +
  7878. +int
  7879. +main ()
  7880. +{
  7881. +
  7882. + ;
  7883. + return 0;
  7884. +}
  7885. +_ACEOF
  7886. +if ac_fn_c_try_cpp "$LINENO"; then :
  7887. + gl_cv_warn__funit_at_a_time=yes
  7888. +else
  7889. + gl_cv_warn__funit_at_a_time=no
  7890. +fi
  7891. +rm -f conftest.err conftest.i conftest.$ac_ext
  7892. + CPPFLAGS="$save_CPPFLAGS"
  7893. +
  7894. +fi
  7895. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__funit_at_a_time" >&5
  7896. +$as_echo "$gl_cv_warn__funit_at_a_time" >&6; }
  7897. +if test "x$gl_cv_warn__funit_at_a_time" = xyes; then :
  7898. + as_fn_append WARN_CFLAGS " -funit-at-a-time"
  7899. +fi
  7900. +
  7901. +
  7902. +
  7903. +
  7904. +
  7905. +$as_echo "@%:@define _FORTIFY_SOURCE 2" >>confdefs.h
  7906. +
  7907. +fi
  7908. +
  7909. +# Tandem/NSK is broken - it has 'long long int' but not
  7910. +# 'unsigned long long int', which confuses assumptions made by gnulib.
  7911. +# Simply pretend that neither type exists if both do not work.
  7912. +
  7913. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
  7914. +$as_echo_n "checking for unsigned long long int... " >&6; }
  7915. +if ${ac_cv_type_unsigned_long_long_int+:} false; then :
  7916. + $as_echo_n "(cached) " >&6
  7917. +else
  7918. + ac_cv_type_unsigned_long_long_int=yes
  7919. + if test "x${ac_cv_prog_cc_c99-no}" = xno; then
  7920. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7921. +/* end confdefs.h. */
  7922. +
  7923. + /* For now, do not test the preprocessor; as of 2007 there are too many
  7924. + implementations with broken preprocessors. Perhaps this can
  7925. + be revisited in 2012. In the meantime, code should not expect
  7926. + #if to work with literals wider than 32 bits. */
  7927. + /* Test literals. */
  7928. + long long int ll = 9223372036854775807ll;
  7929. + long long int nll = -9223372036854775807LL;
  7930. + unsigned long long int ull = 18446744073709551615ULL;
  7931. + /* Test constant expressions. */
  7932. + typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
  7933. + ? 1 : -1)];
  7934. + typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
  7935. + ? 1 : -1)];
  7936. + int i = 63;
  7937. +int
  7938. +main ()
  7939. +{
  7940. +/* Test availability of runtime routines for shift and division. */
  7941. + long long int llmax = 9223372036854775807ll;
  7942. + unsigned long long int ullmax = 18446744073709551615ull;
  7943. + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
  7944. + | (llmax / ll) | (llmax % ll)
  7945. + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
  7946. + | (ullmax / ull) | (ullmax % ull));
  7947. + ;
  7948. + return 0;
  7949. +}
  7950. +
  7951. +_ACEOF
  7952. +if ac_fn_c_try_link "$LINENO"; then :
  7953. +
  7954. +else
  7955. + ac_cv_type_unsigned_long_long_int=no
  7956. +fi
  7957. +rm -f core conftest.err conftest.$ac_objext \
  7958. + conftest$ac_exeext conftest.$ac_ext
  7959. + fi
  7960. +fi
  7961. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
  7962. +$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
  7963. + if test $ac_cv_type_unsigned_long_long_int = yes; then
  7964. +
  7965. +$as_echo "@%:@define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
  7966. +
  7967. + fi
  7968. +
  7969. +
  7970. +
  7971. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
  7972. +$as_echo_n "checking for long long int... " >&6; }
  7973. +if ${ac_cv_type_long_long_int+:} false; then :
  7974. + $as_echo_n "(cached) " >&6
  7975. +else
  7976. + ac_cv_type_long_long_int=yes
  7977. + if test "x${ac_cv_prog_cc_c99-no}" = xno; then
  7978. + ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
  7979. + if test $ac_cv_type_long_long_int = yes; then
  7980. + if test "$cross_compiling" = yes; then :
  7981. + :
  7982. +else
  7983. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7984. +/* end confdefs.h. */
  7985. +@%:@include <limits.h>
  7986. + @%:@ifndef LLONG_MAX
  7987. + @%:@ define HALF \
  7988. + (1LL << (sizeof (long long int) * CHAR_BIT - 2))
  7989. + @%:@ define LLONG_MAX (HALF - 1 + HALF)
  7990. + @%:@endif
  7991. +int
  7992. +main ()
  7993. +{
  7994. +long long int n = 1;
  7995. + int i;
  7996. + for (i = 0; ; i++)
  7997. + {
  7998. + long long int m = n << i;
  7999. + if (m >> i != n)
  8000. + return 1;
  8001. + if (LLONG_MAX / 2 < m)
  8002. + break;
  8003. + }
  8004. + return 0;
  8005. + ;
  8006. + return 0;
  8007. +}
  8008. +_ACEOF
  8009. +if ac_fn_c_try_run "$LINENO"; then :
  8010. +
  8011. +else
  8012. + ac_cv_type_long_long_int=no
  8013. +fi
  8014. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8015. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  8016. +fi
  8017. +
  8018. + fi
  8019. + fi
  8020. +fi
  8021. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
  8022. +$as_echo "$ac_cv_type_long_long_int" >&6; }
  8023. + if test $ac_cv_type_long_long_int = yes; then
  8024. +
  8025. +$as_echo "@%:@define HAVE_LONG_LONG_INT 1" >>confdefs.h
  8026. +
  8027. + fi
  8028. +
  8029. +
  8030. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
  8031. +$as_echo_n "checking for unsigned long long int... " >&6; }
  8032. +if ${ac_cv_type_unsigned_long_long_int+:} false; then :
  8033. + $as_echo_n "(cached) " >&6
  8034. +else
  8035. + ac_cv_type_unsigned_long_long_int=yes
  8036. + if test "x${ac_cv_prog_cc_c99-no}" = xno; then
  8037. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8038. +/* end confdefs.h. */
  8039. +
  8040. + /* For now, do not test the preprocessor; as of 2007 there are too many
  8041. + implementations with broken preprocessors. Perhaps this can
  8042. + be revisited in 2012. In the meantime, code should not expect
  8043. + #if to work with literals wider than 32 bits. */
  8044. + /* Test literals. */
  8045. + long long int ll = 9223372036854775807ll;
  8046. + long long int nll = -9223372036854775807LL;
  8047. + unsigned long long int ull = 18446744073709551615ULL;
  8048. + /* Test constant expressions. */
  8049. + typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
  8050. + ? 1 : -1)];
  8051. + typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
  8052. + ? 1 : -1)];
  8053. + int i = 63;
  8054. +int
  8055. +main ()
  8056. +{
  8057. +/* Test availability of runtime routines for shift and division. */
  8058. + long long int llmax = 9223372036854775807ll;
  8059. + unsigned long long int ullmax = 18446744073709551615ull;
  8060. + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
  8061. + | (llmax / ll) | (llmax % ll)
  8062. + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
  8063. + | (ullmax / ull) | (ullmax % ull));
  8064. + ;
  8065. + return 0;
  8066. +}
  8067. +
  8068. +_ACEOF
  8069. +if ac_fn_c_try_link "$LINENO"; then :
  8070. +
  8071. +else
  8072. + ac_cv_type_unsigned_long_long_int=no
  8073. +fi
  8074. +rm -f core conftest.err conftest.$ac_objext \
  8075. + conftest$ac_exeext conftest.$ac_ext
  8076. + fi
  8077. +fi
  8078. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
  8079. +$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
  8080. + if test $ac_cv_type_unsigned_long_long_int = yes; then
  8081. +
  8082. +$as_echo "@%:@define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
  8083. +
  8084. + fi
  8085. +
  8086. +if test $ac_cv_type_long_long_int:$ac_cv_type_unsigned_long_long_int = yes:no
  8087. +then
  8088. + ac_cv_type_long_long_int=no
  8089. +
  8090. +$as_echo "@%:@define HAVE_LONG_LONG_INT 0" >>confdefs.h
  8091. +
  8092. +fi
  8093. +
  8094. +
  8095. +
  8096. +
  8097. +
  8098. + LIBC_FATAL_STDERR_=1
  8099. + export LIBC_FATAL_STDERR_
  8100. +
  8101. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  8102. +if test "x$ac_cv_type_size_t" = xyes; then :
  8103. +
  8104. +else
  8105. +
  8106. +cat >>confdefs.h <<_ACEOF
  8107. +@%:@define size_t unsigned int
  8108. +_ACEOF
  8109. +
  8110. +fi
  8111. +
  8112. +# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  8113. +# for constant arguments. Useless!
  8114. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
  8115. +$as_echo_n "checking for working alloca.h... " >&6; }
  8116. +if ${ac_cv_working_alloca_h+:} false; then :
  8117. + $as_echo_n "(cached) " >&6
  8118. +else
  8119. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8120. +/* end confdefs.h. */
  8121. +@%:@include <alloca.h>
  8122. +int
  8123. +main ()
  8124. +{
  8125. +char *p = (char *) alloca (2 * sizeof (int));
  8126. + if (p) return 0;
  8127. + ;
  8128. + return 0;
  8129. +}
  8130. +_ACEOF
  8131. +if ac_fn_c_try_link "$LINENO"; then :
  8132. + ac_cv_working_alloca_h=yes
  8133. +else
  8134. + ac_cv_working_alloca_h=no
  8135. +fi
  8136. +rm -f core conftest.err conftest.$ac_objext \
  8137. + conftest$ac_exeext conftest.$ac_ext
  8138. +fi
  8139. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
  8140. +$as_echo "$ac_cv_working_alloca_h" >&6; }
  8141. +if test $ac_cv_working_alloca_h = yes; then
  8142. +
  8143. +$as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h
  8144. +
  8145. +fi
  8146. +
  8147. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
  8148. +$as_echo_n "checking for alloca... " >&6; }
  8149. +if ${ac_cv_func_alloca_works+:} false; then :
  8150. + $as_echo_n "(cached) " >&6
  8151. +else
  8152. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8153. +/* end confdefs.h. */
  8154. +#ifdef __GNUC__
  8155. +# define alloca __builtin_alloca
  8156. +#else
  8157. +# ifdef _MSC_VER
  8158. +# include <malloc.h>
  8159. +# define alloca _alloca
  8160. +# else
  8161. +# ifdef HAVE_ALLOCA_H
  8162. +# include <alloca.h>
  8163. +# else
  8164. +# ifdef _AIX
  8165. + #pragma alloca
  8166. +# else
  8167. +# ifndef alloca /* predefined by HP cc +Olibcalls */
  8168. +void *alloca (size_t);
  8169. +# endif
  8170. +# endif
  8171. +# endif
  8172. +# endif
  8173. +#endif
  8174. +
  8175. +int
  8176. +main ()
  8177. +{
  8178. +char *p = (char *) alloca (1);
  8179. + if (p) return 0;
  8180. + ;
  8181. + return 0;
  8182. +}
  8183. +_ACEOF
  8184. +if ac_fn_c_try_link "$LINENO"; then :
  8185. + ac_cv_func_alloca_works=yes
  8186. +else
  8187. + ac_cv_func_alloca_works=no
  8188. +fi
  8189. +rm -f core conftest.err conftest.$ac_objext \
  8190. + conftest$ac_exeext conftest.$ac_ext
  8191. +fi
  8192. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
  8193. +$as_echo "$ac_cv_func_alloca_works" >&6; }
  8194. +
  8195. +if test $ac_cv_func_alloca_works = yes; then
  8196. +
  8197. +$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
  8198. +
  8199. +else
  8200. + # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  8201. +# that cause trouble. Some versions do not even contain alloca or
  8202. +# contain a buggy version. If you still want to use their alloca,
  8203. +# use ar to extract alloca.o from them instead of compiling alloca.c.
  8204. +
  8205. +
  8206. +
  8207. +
  8208. +
  8209. +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
  8210. +
  8211. +$as_echo "@%:@define C_ALLOCA 1" >>confdefs.h
  8212. +
  8213. +
  8214. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
  8215. +$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
  8216. +if ${ac_cv_os_cray+:} false; then :
  8217. + $as_echo_n "(cached) " >&6
  8218. +else
  8219. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8220. +/* end confdefs.h. */
  8221. +#if defined CRAY && ! defined CRAY2
  8222. +webecray
  8223. +#else
  8224. +wenotbecray
  8225. +#endif
  8226. +
  8227. +_ACEOF
  8228. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8229. + $EGREP "webecray" >/dev/null 2>&1; then :
  8230. + ac_cv_os_cray=yes
  8231. +else
  8232. + ac_cv_os_cray=no
  8233. +fi
  8234. +rm -f conftest*
  8235. +
  8236. +fi
  8237. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
  8238. +$as_echo "$ac_cv_os_cray" >&6; }
  8239. +if test $ac_cv_os_cray = yes; then
  8240. + for ac_func in _getb67 GETB67 getb67; do
  8241. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  8242. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  8243. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  8244. +
  8245. +cat >>confdefs.h <<_ACEOF
  8246. +@%:@define CRAY_STACKSEG_END $ac_func
  8247. +_ACEOF
  8248. +
  8249. + break
  8250. +fi
  8251. +
  8252. + done
  8253. +fi
  8254. +
  8255. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
  8256. +$as_echo_n "checking stack direction for C alloca... " >&6; }
  8257. +if ${ac_cv_c_stack_direction+:} false; then :
  8258. + $as_echo_n "(cached) " >&6
  8259. +else
  8260. + if test "$cross_compiling" = yes; then :
  8261. + ac_cv_c_stack_direction=0
  8262. +else
  8263. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8264. +/* end confdefs.h. */
  8265. +$ac_includes_default
  8266. +int
  8267. +find_stack_direction (int *addr, int depth)
  8268. +{
  8269. + int dir, dummy = 0;
  8270. + if (! addr)
  8271. + addr = &dummy;
  8272. + *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
  8273. + dir = depth ? find_stack_direction (addr, depth - 1) : 0;
  8274. + return dir + dummy;
  8275. +}
  8276. +
  8277. +int
  8278. +main (int argc, char **argv)
  8279. +{
  8280. + return find_stack_direction (0, argc + !argv + 20) < 0;
  8281. +}
  8282. +_ACEOF
  8283. +if ac_fn_c_try_run "$LINENO"; then :
  8284. + ac_cv_c_stack_direction=1
  8285. +else
  8286. + ac_cv_c_stack_direction=-1
  8287. +fi
  8288. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8289. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  8290. +fi
  8291. +
  8292. +fi
  8293. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
  8294. +$as_echo "$ac_cv_c_stack_direction" >&6; }
  8295. +cat >>confdefs.h <<_ACEOF
  8296. +@%:@define STACK_DIRECTION $ac_cv_c_stack_direction
  8297. +_ACEOF
  8298. +
  8299. +
  8300. +fi
  8301. +
  8302. +
  8303. + GNULIB_BTOWC=0;
  8304. + GNULIB_WCTOB=0;
  8305. + GNULIB_MBSINIT=0;
  8306. + GNULIB_MBRTOWC=0;
  8307. + GNULIB_MBRLEN=0;
  8308. + GNULIB_MBSRTOWCS=0;
  8309. + GNULIB_MBSNRTOWCS=0;
  8310. + GNULIB_WCRTOMB=0;
  8311. + GNULIB_WCSRTOMBS=0;
  8312. + GNULIB_WCSNRTOMBS=0;
  8313. + GNULIB_WCWIDTH=0;
  8314. + GNULIB_WMEMCHR=0;
  8315. + GNULIB_WMEMCMP=0;
  8316. + GNULIB_WMEMCPY=0;
  8317. + GNULIB_WMEMMOVE=0;
  8318. + GNULIB_WMEMSET=0;
  8319. + GNULIB_WCSLEN=0;
  8320. + GNULIB_WCSNLEN=0;
  8321. + GNULIB_WCSCPY=0;
  8322. + GNULIB_WCPCPY=0;
  8323. + GNULIB_WCSNCPY=0;
  8324. + GNULIB_WCPNCPY=0;
  8325. + GNULIB_WCSCAT=0;
  8326. + GNULIB_WCSNCAT=0;
  8327. + GNULIB_WCSCMP=0;
  8328. + GNULIB_WCSNCMP=0;
  8329. + GNULIB_WCSCASECMP=0;
  8330. + GNULIB_WCSNCASECMP=0;
  8331. + GNULIB_WCSCOLL=0;
  8332. + GNULIB_WCSXFRM=0;
  8333. + GNULIB_WCSDUP=0;
  8334. + GNULIB_WCSCHR=0;
  8335. + GNULIB_WCSRCHR=0;
  8336. + GNULIB_WCSCSPN=0;
  8337. + GNULIB_WCSSPN=0;
  8338. + GNULIB_WCSPBRK=0;
  8339. + GNULIB_WCSSTR=0;
  8340. + GNULIB_WCSTOK=0;
  8341. + GNULIB_WCSWIDTH=0;
  8342. + HAVE_BTOWC=1;
  8343. + HAVE_MBSINIT=1;
  8344. + HAVE_MBRTOWC=1;
  8345. + HAVE_MBRLEN=1;
  8346. + HAVE_MBSRTOWCS=1;
  8347. + HAVE_MBSNRTOWCS=1;
  8348. + HAVE_WCRTOMB=1;
  8349. + HAVE_WCSRTOMBS=1;
  8350. + HAVE_WCSNRTOMBS=1;
  8351. + HAVE_WMEMCHR=1;
  8352. + HAVE_WMEMCMP=1;
  8353. + HAVE_WMEMCPY=1;
  8354. + HAVE_WMEMMOVE=1;
  8355. + HAVE_WMEMSET=1;
  8356. + HAVE_WCSLEN=1;
  8357. + HAVE_WCSNLEN=1;
  8358. + HAVE_WCSCPY=1;
  8359. + HAVE_WCPCPY=1;
  8360. + HAVE_WCSNCPY=1;
  8361. + HAVE_WCPNCPY=1;
  8362. + HAVE_WCSCAT=1;
  8363. + HAVE_WCSNCAT=1;
  8364. + HAVE_WCSCMP=1;
  8365. + HAVE_WCSNCMP=1;
  8366. + HAVE_WCSCASECMP=1;
  8367. + HAVE_WCSNCASECMP=1;
  8368. + HAVE_WCSCOLL=1;
  8369. + HAVE_WCSXFRM=1;
  8370. + HAVE_WCSDUP=1;
  8371. + HAVE_WCSCHR=1;
  8372. + HAVE_WCSRCHR=1;
  8373. + HAVE_WCSCSPN=1;
  8374. + HAVE_WCSSPN=1;
  8375. + HAVE_WCSPBRK=1;
  8376. + HAVE_WCSSTR=1;
  8377. + HAVE_WCSTOK=1;
  8378. + HAVE_WCSWIDTH=1;
  8379. + HAVE_DECL_WCTOB=1;
  8380. + HAVE_DECL_WCWIDTH=1;
  8381. + REPLACE_MBSTATE_T=0;
  8382. + REPLACE_BTOWC=0;
  8383. + REPLACE_WCTOB=0;
  8384. + REPLACE_MBSINIT=0;
  8385. + REPLACE_MBRTOWC=0;
  8386. + REPLACE_MBRLEN=0;
  8387. + REPLACE_MBSRTOWCS=0;
  8388. + REPLACE_MBSNRTOWCS=0;
  8389. + REPLACE_WCRTOMB=0;
  8390. + REPLACE_WCSRTOMBS=0;
  8391. + REPLACE_WCSNRTOMBS=0;
  8392. + REPLACE_WCWIDTH=0;
  8393. + REPLACE_WCSWIDTH=0;
  8394. +
  8395. +
  8396. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <wchar.h> uses 'inline' correctly" >&5
  8397. +$as_echo_n "checking whether <wchar.h> uses 'inline' correctly... " >&6; }
  8398. +if ${gl_cv_header_wchar_h_correct_inline+:} false; then :
  8399. + $as_echo_n "(cached) " >&6
  8400. +else
  8401. + gl_cv_header_wchar_h_correct_inline=yes
  8402. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8403. +/* end confdefs.h. */
  8404. +
  8405. + #define wcstod renamed_wcstod
  8406. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  8407. + <wchar.h>.
  8408. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  8409. + included before <wchar.h>. */
  8410. +#include <stddef.h>
  8411. +#include <stdio.h>
  8412. +#include <time.h>
  8413. +#include <wchar.h>
  8414. +extern int zero (void);
  8415. +int main () { return zero(); }
  8416. +
  8417. +_ACEOF
  8418. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  8419. + (eval $ac_compile) 2>&5
  8420. + ac_status=$?
  8421. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8422. + test $ac_status = 0; }; then
  8423. + mv conftest.$ac_objext conftest1.$ac_objext
  8424. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8425. +/* end confdefs.h. */
  8426. +
  8427. + #define wcstod renamed_wcstod
  8428. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  8429. + <wchar.h>.
  8430. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  8431. + included before <wchar.h>. */
  8432. +#include <stddef.h>
  8433. +#include <stdio.h>
  8434. +#include <time.h>
  8435. +#include <wchar.h>
  8436. +int zero (void) { return 0; }
  8437. +
  8438. +_ACEOF
  8439. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  8440. + (eval $ac_compile) 2>&5
  8441. + ac_status=$?
  8442. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8443. + test $ac_status = 0; }; then
  8444. + mv conftest.$ac_objext conftest2.$ac_objext
  8445. + if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then
  8446. + :
  8447. + else
  8448. + gl_cv_header_wchar_h_correct_inline=no
  8449. + fi
  8450. + fi
  8451. + fi
  8452. + rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext
  8453. +
  8454. +fi
  8455. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5
  8456. +$as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; }
  8457. + if test $gl_cv_header_wchar_h_correct_inline = no; then
  8458. + as_fn_error $? "<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS).
  8459. +This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
  8460. +C99 mode. You have four options:
  8461. + - Add the flag -fgnu89-inline to CC and reconfigure, or
  8462. + - Fix your include files, using parts of
  8463. + <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
  8464. + - Use a gcc version older than 4.3, or
  8465. + - Don't use the flags -std=c99 or -std=gnu99.
  8466. +Configuration aborted." "$LINENO" 5
  8467. + fi
  8468. +
  8469. +
  8470. +
  8471. +
  8472. + for ac_func in $ac_func_list
  8473. +do :
  8474. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  8475. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  8476. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  8477. + cat >>confdefs.h <<_ACEOF
  8478. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  8479. +_ACEOF
  8480. +
  8481. +fi
  8482. +done
  8483. +
  8484. +
  8485. +
  8486. +
  8487. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
  8488. +$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
  8489. +if ${am_cv_langinfo_codeset+:} false; then :
  8490. + $as_echo_n "(cached) " >&6
  8491. +else
  8492. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8493. +/* end confdefs.h. */
  8494. +#include <langinfo.h>
  8495. +int
  8496. +main ()
  8497. +{
  8498. +char* cs = nl_langinfo(CODESET); return !cs;
  8499. + ;
  8500. + return 0;
  8501. +}
  8502. +_ACEOF
  8503. +if ac_fn_c_try_link "$LINENO"; then :
  8504. + am_cv_langinfo_codeset=yes
  8505. +else
  8506. + am_cv_langinfo_codeset=no
  8507. +fi
  8508. +rm -f core conftest.err conftest.$ac_objext \
  8509. + conftest$ac_exeext conftest.$ac_ext
  8510. +
  8511. +fi
  8512. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
  8513. +$as_echo "$am_cv_langinfo_codeset" >&6; }
  8514. + if test $am_cv_langinfo_codeset = yes; then
  8515. +
  8516. +$as_echo "@%:@define HAVE_LANGINFO_CODESET 1" >>confdefs.h
  8517. +
  8518. + fi
  8519. +
  8520. +
  8521. +
  8522. +
  8523. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  8524. +$as_echo_n "checking for a traditional french locale... " >&6; }
  8525. +if ${gt_cv_locale_fr+:} false; then :
  8526. + $as_echo_n "(cached) " >&6
  8527. +else
  8528. +
  8529. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8530. +/* end confdefs.h. */
  8531. +
  8532. +#include <locale.h>
  8533. +#include <time.h>
  8534. +#if HAVE_LANGINFO_CODESET
  8535. +# include <langinfo.h>
  8536. +#endif
  8537. +#include <stdlib.h>
  8538. +#include <string.h>
  8539. +struct tm t;
  8540. +char buf[16];
  8541. +int main () {
  8542. + /* Check whether the given locale name is recognized by the system. */
  8543. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  8544. + /* On native Win32, setlocale(category, "") looks at the system settings,
  8545. + not at the environment variables. Also, when an encoding suffix such
  8546. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  8547. + category of the locale to "C". */
  8548. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  8549. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  8550. + return 1;
  8551. +#else
  8552. + if (setlocale (LC_ALL, "") == NULL) return 1;
  8553. +#endif
  8554. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  8555. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  8556. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  8557. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  8558. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  8559. + some unit tests fail.
  8560. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  8561. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  8562. +#if HAVE_LANGINFO_CODESET
  8563. + {
  8564. + const char *cs = nl_langinfo (CODESET);
  8565. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  8566. + || strcmp (cs, "UTF-8") == 0)
  8567. + return 1;
  8568. + }
  8569. +#endif
  8570. +#ifdef __CYGWIN__
  8571. + /* On Cygwin, avoid locale names without encoding suffix, because the
  8572. + locale_charset() function relies on the encoding suffix. Note that
  8573. + LC_ALL is set on the command line. */
  8574. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  8575. +#endif
  8576. + /* Check whether in the abbreviation of the second month, the second
  8577. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
  8578. + one byte long. This excludes the UTF-8 encoding. */
  8579. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  8580. + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
  8581. + /* Check whether the decimal separator is a comma.
  8582. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  8583. + are nl_langinfo(RADIXCHAR) are both ".". */
  8584. + if (localeconv () ->decimal_point[0] != ',') return 1;
  8585. + return 0;
  8586. +}
  8587. +
  8588. +_ACEOF
  8589. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  8590. + (eval $ac_link) 2>&5
  8591. + ac_status=$?
  8592. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8593. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  8594. + case "$host_os" in
  8595. + # Handle native Windows specially, because there setlocale() interprets
  8596. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  8597. + # "fr" or "fra" as "French" or "French_France.1252",
  8598. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  8599. + # "ja" as "Japanese" or "Japanese_Japan.932",
  8600. + # and similar.
  8601. + mingw*)
  8602. + # Test for the native Win32 locale name.
  8603. + if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  8604. + gt_cv_locale_fr=French_France.1252
  8605. + else
  8606. + # None found.
  8607. + gt_cv_locale_fr=none
  8608. + fi
  8609. + ;;
  8610. + *)
  8611. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  8612. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  8613. + # configure script would override the LC_ALL setting. Likewise for
  8614. + # LC_CTYPE, which is also set at the beginning of the configure script.
  8615. + # Test for the usual locale name.
  8616. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  8617. + gt_cv_locale_fr=fr_FR
  8618. + else
  8619. + # Test for the locale name with explicit encoding suffix.
  8620. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  8621. + gt_cv_locale_fr=fr_FR.ISO-8859-1
  8622. + else
  8623. + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
  8624. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  8625. + gt_cv_locale_fr=fr_FR.ISO8859-1
  8626. + else
  8627. + # Test for the HP-UX locale name.
  8628. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  8629. + gt_cv_locale_fr=fr_FR.iso88591
  8630. + else
  8631. + # Test for the Solaris 7 locale name.
  8632. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  8633. + gt_cv_locale_fr=fr
  8634. + else
  8635. + # None found.
  8636. + gt_cv_locale_fr=none
  8637. + fi
  8638. + fi
  8639. + fi
  8640. + fi
  8641. + fi
  8642. + ;;
  8643. + esac
  8644. + fi
  8645. + rm -fr conftest*
  8646. +
  8647. +fi
  8648. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
  8649. +$as_echo "$gt_cv_locale_fr" >&6; }
  8650. + LOCALE_FR=$gt_cv_locale_fr
  8651. +
  8652. +
  8653. +
  8654. +
  8655. +
  8656. +
  8657. +
  8658. + for ac_header in $ac_header_list
  8659. +do :
  8660. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  8661. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  8662. +"
  8663. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  8664. + cat >>confdefs.h <<_ACEOF
  8665. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  8666. +_ACEOF
  8667. +
  8668. +fi
  8669. +
  8670. +done
  8671. +
  8672. +
  8673. +
  8674. +# for STACK_DIRECTION
  8675. +
  8676. +
  8677. +
  8678. +
  8679. +
  8680. + case "$host_os" in
  8681. + sunos4* | freebsd* | dragonfly* | openbsd* | mirbsd* | netbsd* | kfreebsd* | knetbsd*) # BSD systems
  8682. + FAULT_YIELDS_SIGBUS=1 ;;
  8683. + hpux*) # HP-UX
  8684. + FAULT_YIELDS_SIGBUS=1 ;;
  8685. + macos* | darwin*) # MacOS X
  8686. + FAULT_YIELDS_SIGBUS=1 ;;
  8687. + gnu*) # Hurd
  8688. + FAULT_YIELDS_SIGBUS=1 ;;
  8689. + *)
  8690. + FAULT_YIELDS_SIGBUS=0 ;;
  8691. + esac
  8692. +
  8693. +cat >>confdefs.h <<_ACEOF
  8694. +@%:@define FAULT_YIELDS_SIGBUS $FAULT_YIELDS_SIGBUS
  8695. +_ACEOF
  8696. +
  8697. +
  8698. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working C stack overflow detection" >&5
  8699. +$as_echo_n "checking for working C stack overflow detection... " >&6; }
  8700. +if ${ac_cv_sys_stack_overflow_works+:} false; then :
  8701. + $as_echo_n "(cached) " >&6
  8702. +else
  8703. + if test "$cross_compiling" = yes; then :
  8704. + ac_cv_sys_stack_overflow_works=cross-compiling
  8705. +else
  8706. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8707. +/* end confdefs.h. */
  8708. +
  8709. + #include <unistd.h>
  8710. + #include <signal.h>
  8711. + #if HAVE_SETRLIMIT
  8712. + # include <sys/types.h>
  8713. + # include <sys/time.h>
  8714. + # include <sys/resource.h>
  8715. + #endif
  8716. + #ifndef SIGSTKSZ
  8717. + # define SIGSTKSZ 16384
  8718. + #endif
  8719. +
  8720. + static union
  8721. + {
  8722. + char buffer[2 * SIGSTKSZ];
  8723. + long double ld;
  8724. + long u;
  8725. + void *p;
  8726. + } alternate_signal_stack;
  8727. +
  8728. + static void
  8729. + segv_handler (int signo)
  8730. + {
  8731. + _exit (0);
  8732. + }
  8733. +
  8734. + static int
  8735. + c_stack_action ()
  8736. + {
  8737. + stack_t st;
  8738. + struct sigaction act;
  8739. + int r;
  8740. +
  8741. + st.ss_flags = 0;
  8742. + /* Use the midpoint to avoid Irix sigaltstack bug. */
  8743. + st.ss_sp = alternate_signal_stack.buffer + SIGSTKSZ;
  8744. + st.ss_size = SIGSTKSZ;
  8745. + r = sigaltstack (&st, 0);
  8746. + if (r != 0)
  8747. + return 1;
  8748. +
  8749. + sigemptyset (&act.sa_mask);
  8750. + act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND;
  8751. + act.sa_handler = segv_handler;
  8752. + #if FAULT_YIELDS_SIGBUS
  8753. + if (sigaction (SIGBUS, &act, 0) < 0)
  8754. + return 2;
  8755. + #endif
  8756. + if (sigaction (SIGSEGV, &act, 0) < 0)
  8757. + return 3;
  8758. + return 0;
  8759. + }
  8760. + static volatile int *
  8761. + recurse_1 (volatile int n, volatile int *p)
  8762. + {
  8763. + if (n >= 0)
  8764. + *recurse_1 (n + 1, p) += n;
  8765. + return p;
  8766. + }
  8767. + static int
  8768. + recurse (volatile int n)
  8769. + {
  8770. + int sum = 0;
  8771. + return *recurse_1 (n, &sum);
  8772. + }
  8773. + int
  8774. + main ()
  8775. + {
  8776. + int result;
  8777. + #if HAVE_SETRLIMIT && defined RLIMIT_STACK
  8778. + /* Before starting the endless recursion, try to be friendly
  8779. + to the user's machine. On some Linux 2.2.x systems, there
  8780. + is no stack limit for user processes at all. We don't want
  8781. + to kill such systems. */
  8782. + struct rlimit rl;
  8783. + rl.rlim_cur = rl.rlim_max = 0x100000; /* 1 MB */
  8784. + setrlimit (RLIMIT_STACK, &rl);
  8785. + #endif
  8786. +
  8787. + result = c_stack_action ();
  8788. + if (result != 0)
  8789. + return result;
  8790. + return recurse (0);
  8791. + }
  8792. +
  8793. +_ACEOF
  8794. +if ac_fn_c_try_run "$LINENO"; then :
  8795. + ac_cv_sys_stack_overflow_works=yes
  8796. +else
  8797. + ac_cv_sys_stack_overflow_works=no
  8798. +fi
  8799. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8800. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  8801. +fi
  8802. +
  8803. +fi
  8804. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_stack_overflow_works" >&5
  8805. +$as_echo "$ac_cv_sys_stack_overflow_works" >&6; }
  8806. +
  8807. + if test $ac_cv_sys_stack_overflow_works = yes; then
  8808. +
  8809. +$as_echo "@%:@define HAVE_STACK_OVERFLOW_HANDLING 1" >>confdefs.h
  8810. +
  8811. +
  8812. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct stack_t interpretation" >&5
  8813. +$as_echo_n "checking for correct stack_t interpretation... " >&6; }
  8814. +if ${gl_cv_sigaltstack_low_base+:} false; then :
  8815. + $as_echo_n "(cached) " >&6
  8816. +else
  8817. +
  8818. + if test "$cross_compiling" = yes; then :
  8819. + gl_cv_sigaltstack_low_base=cross-compiling
  8820. +else
  8821. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8822. +/* end confdefs.h. */
  8823. +
  8824. +
  8825. +#include <stdlib.h>
  8826. +#include <signal.h>
  8827. +#if HAVE_SYS_SIGNAL_H
  8828. +# include <sys/signal.h>
  8829. +#endif
  8830. +#ifndef SIGSTKSZ
  8831. +# define SIGSTKSZ 16384
  8832. +#endif
  8833. +volatile char *stack_lower_bound;
  8834. +volatile char *stack_upper_bound;
  8835. +static void check_stack_location (volatile char *addr)
  8836. +{
  8837. + if (addr >= stack_lower_bound && addr <= stack_upper_bound)
  8838. + exit (0);
  8839. + else
  8840. + exit (1);
  8841. +}
  8842. +static void stackoverflow_handler (int sig)
  8843. +{
  8844. + char dummy;
  8845. + check_stack_location (&dummy);
  8846. +}
  8847. +int main ()
  8848. +{
  8849. + char mystack[2 * SIGSTKSZ];
  8850. + stack_t altstack;
  8851. + struct sigaction action;
  8852. + /* Install the alternate stack. */
  8853. + altstack.ss_sp = mystack + SIGSTKSZ;
  8854. + altstack.ss_size = SIGSTKSZ;
  8855. + stack_lower_bound = (char *) altstack.ss_sp;
  8856. + stack_upper_bound = (char *) altstack.ss_sp + altstack.ss_size - 1;
  8857. + altstack.ss_flags = 0; /* no SS_DISABLE */
  8858. + if (sigaltstack (&altstack, NULL) < 0)
  8859. + exit (2);
  8860. + /* Install the SIGSEGV handler. */
  8861. + sigemptyset (&action.sa_mask);
  8862. + action.sa_handler = &stackoverflow_handler;
  8863. + action.sa_flags = SA_ONSTACK;
  8864. + if (sigaction (SIGSEGV, &action, (struct sigaction *) NULL) < 0)
  8865. + exit(3);
  8866. + /* Provoke a SIGSEGV. */
  8867. + raise (SIGSEGV);
  8868. + exit (4);
  8869. +}
  8870. +_ACEOF
  8871. +if ac_fn_c_try_run "$LINENO"; then :
  8872. + gl_cv_sigaltstack_low_base=yes
  8873. +else
  8874. + gl_cv_sigaltstack_low_base=no
  8875. +fi
  8876. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8877. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  8878. +fi
  8879. +
  8880. +fi
  8881. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sigaltstack_low_base" >&5
  8882. +$as_echo "$gl_cv_sigaltstack_low_base" >&6; }
  8883. + if test "$gl_cv_sigaltstack_low_base" = no; then
  8884. +
  8885. +$as_echo "@%:@define SIGALTSTACK_SS_REVERSED 1" >>confdefs.h
  8886. +
  8887. + fi
  8888. +
  8889. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for precise C stack overflow detection" >&5
  8890. +$as_echo_n "checking for precise C stack overflow detection... " >&6; }
  8891. +if ${ac_cv_sys_xsi_stack_overflow_heuristic+:} false; then :
  8892. + $as_echo_n "(cached) " >&6
  8893. +else
  8894. + if test "$cross_compiling" = yes; then :
  8895. + ac_cv_sys_xsi_stack_overflow_heuristic=cross-compiling
  8896. +else
  8897. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8898. +/* end confdefs.h. */
  8899. +
  8900. + #include <unistd.h>
  8901. + #include <signal.h>
  8902. + #if HAVE_UCONTEXT_H
  8903. + # include <ucontext.h>
  8904. + #endif
  8905. + #if HAVE_SETRLIMIT
  8906. + # include <sys/types.h>
  8907. + # include <sys/time.h>
  8908. + # include <sys/resource.h>
  8909. + #endif
  8910. + #ifndef SIGSTKSZ
  8911. + # define SIGSTKSZ 16384
  8912. + #endif
  8913. +
  8914. + static union
  8915. + {
  8916. + char buffer[2 * SIGSTKSZ];
  8917. + long double ld;
  8918. + long u;
  8919. + void *p;
  8920. + } alternate_signal_stack;
  8921. +
  8922. + #if STACK_DIRECTION
  8923. + # define find_stack_direction(ptr) STACK_DIRECTION
  8924. + #else
  8925. + static int
  8926. + find_stack_direction (char const *addr)
  8927. + {
  8928. + char dummy;
  8929. + return (! addr ? find_stack_direction (&dummy)
  8930. + : addr < &dummy ? 1 : -1);
  8931. + }
  8932. + #endif
  8933. +
  8934. + static void
  8935. + segv_handler (int signo, siginfo_t *info, void *context)
  8936. + {
  8937. + if (0 < info->si_code)
  8938. + {
  8939. + /* For XSI heuristics to work, we need uc_stack to describe
  8940. + the interrupted stack (as on Solaris), and not the
  8941. + currently executing stack (as on Linux). */
  8942. + ucontext_t const *user_context = context;
  8943. + char const *stack_min = user_context->uc_stack.ss_sp;
  8944. + size_t stack_size = user_context->uc_stack.ss_size;
  8945. + char const *faulting_address = info->si_addr;
  8946. + size_t s = faulting_address - stack_min;
  8947. + size_t page_size = sysconf (_SC_PAGESIZE);
  8948. + if (find_stack_direction (0) < 0)
  8949. + s += page_size;
  8950. + if (s < stack_size + page_size)
  8951. + _exit (0);
  8952. + _exit (4);
  8953. + }
  8954. + _exit (5);
  8955. + }
  8956. +
  8957. + static int
  8958. + c_stack_action ()
  8959. + {
  8960. + stack_t st;
  8961. + struct sigaction act;
  8962. + int r;
  8963. +
  8964. + st.ss_flags = 0;
  8965. + /* Use the midpoint to avoid Irix sigaltstack bug. */
  8966. + st.ss_sp = alternate_signal_stack.buffer + SIGSTKSZ;
  8967. + st.ss_size = SIGSTKSZ;
  8968. + r = sigaltstack (&st, 0);
  8969. + if (r != 0)
  8970. + return 1;
  8971. +
  8972. + sigemptyset (&act.sa_mask);
  8973. + act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND | SA_SIGINFO;
  8974. + act.sa_sigaction = segv_handler;
  8975. + #if FAULT_YIELDS_SIGBUS
  8976. + if (sigaction (SIGBUS, &act, 0) < 0)
  8977. + return 2;
  8978. + #endif
  8979. + if (sigaction (SIGSEGV, &act, 0) < 0)
  8980. + return 3;
  8981. + return 0;
  8982. + }
  8983. + static volatile int *
  8984. + recurse_1 (volatile int n, volatile int *p)
  8985. + {
  8986. + if (n >= 0)
  8987. + *recurse_1 (n + 1, p) += n;
  8988. + return p;
  8989. + }
  8990. + static int
  8991. + recurse (volatile int n)
  8992. + {
  8993. + int sum = 0;
  8994. + return *recurse_1 (n, &sum);
  8995. + }
  8996. + int
  8997. + main ()
  8998. + {
  8999. + int result;
  9000. + #if HAVE_SETRLIMIT && defined RLIMIT_STACK
  9001. + /* Before starting the endless recursion, try to be friendly
  9002. + to the user's machine. On some Linux 2.2.x systems, there
  9003. + is no stack limit for user processes at all. We don't want
  9004. + to kill such systems. */
  9005. + struct rlimit rl;
  9006. + rl.rlim_cur = rl.rlim_max = 0x100000; /* 1 MB */
  9007. + setrlimit (RLIMIT_STACK, &rl);
  9008. + #endif
  9009. +
  9010. + result = c_stack_action ();
  9011. + if (result != 0)
  9012. + return result;
  9013. + return recurse (0);
  9014. + }
  9015. +
  9016. +_ACEOF
  9017. +if ac_fn_c_try_run "$LINENO"; then :
  9018. + ac_cv_sys_xsi_stack_overflow_heuristic=yes
  9019. +else
  9020. + ac_cv_sys_xsi_stack_overflow_heuristic=no
  9021. +fi
  9022. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  9023. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  9024. +fi
  9025. +
  9026. +fi
  9027. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_xsi_stack_overflow_heuristic" >&5
  9028. +$as_echo "$ac_cv_sys_xsi_stack_overflow_heuristic" >&6; }
  9029. +
  9030. + if test $ac_cv_sys_xsi_stack_overflow_heuristic = yes; then
  9031. +
  9032. +$as_echo "@%:@define HAVE_XSI_STACK_OVERFLOW_HEURISTIC 1" >>confdefs.h
  9033. +
  9034. + fi
  9035. + fi
  9036. +
  9037. + if test "X$prefix" = "XNONE"; then
  9038. + acl_final_prefix="$ac_default_prefix"
  9039. + else
  9040. + acl_final_prefix="$prefix"
  9041. + fi
  9042. + if test "X$exec_prefix" = "XNONE"; then
  9043. + acl_final_exec_prefix='${prefix}'
  9044. + else
  9045. + acl_final_exec_prefix="$exec_prefix"
  9046. + fi
  9047. + acl_save_prefix="$prefix"
  9048. + prefix="$acl_final_prefix"
  9049. + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
  9050. + prefix="$acl_save_prefix"
  9051. +
  9052. +
  9053. +@%:@ Check whether --with-gnu-ld was given.
  9054. +if test "${with_gnu_ld+set}" = set; then :
  9055. + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  9056. +else
  9057. + with_gnu_ld=no
  9058. +fi
  9059. +
  9060. +# Prepare PATH_SEPARATOR.
  9061. +# The user is always right.
  9062. +if test "${PATH_SEPARATOR+set}" != set; then
  9063. + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
  9064. + # contains only /bin. Note that ksh looks also at the FPATH variable,
  9065. + # so we have to set that as well for the test.
  9066. + PATH_SEPARATOR=:
  9067. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  9068. + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  9069. + || PATH_SEPARATOR=';'
  9070. + }
  9071. +fi
  9072. +ac_prog=ld
  9073. +if test "$GCC" = yes; then
  9074. + # Check if gcc -print-prog-name=ld gives a path.
  9075. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
  9076. +$as_echo_n "checking for ld used by GCC... " >&6; }
  9077. + case $host in
  9078. + *-*-mingw*)
  9079. + # gcc leaves a trailing carriage return which upsets mingw
  9080. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  9081. + *)
  9082. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  9083. + esac
  9084. + case $ac_prog in
  9085. + # Accept absolute paths.
  9086. + [\\/]* | [A-Za-z]:[\\/]*)
  9087. + re_direlt='/[^/][^/]*/\.\./'
  9088. + # Canonicalize the path of ld
  9089. + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
  9090. + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  9091. + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
  9092. + done
  9093. + test -z "$LD" && LD="$ac_prog"
  9094. + ;;
  9095. + "")
  9096. + # If it fails, then pretend we aren't using GCC.
  9097. + ac_prog=ld
  9098. + ;;
  9099. + *)
  9100. + # If it is relative, then search for the first ld in PATH.
  9101. + with_gnu_ld=unknown
  9102. + ;;
  9103. + esac
  9104. +elif test "$with_gnu_ld" = yes; then
  9105. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  9106. +$as_echo_n "checking for GNU ld... " >&6; }
  9107. +else
  9108. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  9109. +$as_echo_n "checking for non-GNU ld... " >&6; }
  9110. +fi
  9111. +if ${acl_cv_path_LD+:} false; then :
  9112. + $as_echo_n "(cached) " >&6
  9113. +else
  9114. + if test -z "$LD"; then
  9115. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  9116. + for ac_dir in $PATH; do
  9117. + test -z "$ac_dir" && ac_dir=.
  9118. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  9119. + acl_cv_path_LD="$ac_dir/$ac_prog"
  9120. + # Check to see if the program is GNU ld. I'd rather use --version,
  9121. + # but apparently some GNU ld's only accept -v.
  9122. + # Break only if it was the GNU/non-GNU ld that we prefer.
  9123. + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
  9124. + *GNU* | *'with BFD'*)
  9125. + test "$with_gnu_ld" != no && break ;;
  9126. + *)
  9127. + test "$with_gnu_ld" != yes && break ;;
  9128. + esac
  9129. + fi
  9130. + done
  9131. + IFS="$ac_save_ifs"
  9132. +else
  9133. + acl_cv_path_LD="$LD" # Let the user override the test with a path.
  9134. +fi
  9135. +fi
  9136. +
  9137. +LD="$acl_cv_path_LD"
  9138. +if test -n "$LD"; then
  9139. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  9140. +$as_echo "$LD" >&6; }
  9141. +else
  9142. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9143. +$as_echo "no" >&6; }
  9144. +fi
  9145. +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  9146. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  9147. +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  9148. +if ${acl_cv_prog_gnu_ld+:} false; then :
  9149. + $as_echo_n "(cached) " >&6
  9150. +else
  9151. + # I'd rather use --version here, but apparently some GNU ld's only accept -v.
  9152. +case `$LD -v 2>&1 </dev/null` in
  9153. +*GNU* | *'with BFD'*)
  9154. + acl_cv_prog_gnu_ld=yes ;;
  9155. +*)
  9156. + acl_cv_prog_gnu_ld=no ;;
  9157. +esac
  9158. +fi
  9159. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
  9160. +$as_echo "$acl_cv_prog_gnu_ld" >&6; }
  9161. +with_gnu_ld=$acl_cv_prog_gnu_ld
  9162. +
  9163. +
  9164. +
  9165. +
  9166. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
  9167. +$as_echo_n "checking for shared library run path origin... " >&6; }
  9168. +if ${acl_cv_rpath+:} false; then :
  9169. + $as_echo_n "(cached) " >&6
  9170. +else
  9171. +
  9172. + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
  9173. + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
  9174. + . ./conftest.sh
  9175. + rm -f ./conftest.sh
  9176. + acl_cv_rpath=done
  9177. +
  9178. +fi
  9179. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
  9180. +$as_echo "$acl_cv_rpath" >&6; }
  9181. + wl="$acl_cv_wl"
  9182. + acl_libext="$acl_cv_libext"
  9183. + acl_shlibext="$acl_cv_shlibext"
  9184. + acl_libname_spec="$acl_cv_libname_spec"
  9185. + acl_library_names_spec="$acl_cv_library_names_spec"
  9186. + acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
  9187. + acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
  9188. + acl_hardcode_direct="$acl_cv_hardcode_direct"
  9189. + acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
  9190. + @%:@ Check whether --enable-rpath was given.
  9191. +if test "${enable_rpath+set}" = set; then :
  9192. + enableval=$enable_rpath; :
  9193. +else
  9194. + enable_rpath=yes
  9195. +fi
  9196. +
  9197. +
  9198. +
  9199. +
  9200. + acl_libdirstem=lib
  9201. + acl_libdirstem2=
  9202. + case "$host_os" in
  9203. + solaris*)
  9204. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
  9205. +$as_echo_n "checking for 64-bit host... " >&6; }
  9206. +if ${gl_cv_solaris_64bit+:} false; then :
  9207. + $as_echo_n "(cached) " >&6
  9208. +else
  9209. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9210. +/* end confdefs.h. */
  9211. +
  9212. +#ifdef _LP64
  9213. +sixtyfour bits
  9214. +#endif
  9215. +
  9216. +_ACEOF
  9217. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  9218. + $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
  9219. + gl_cv_solaris_64bit=yes
  9220. +else
  9221. + gl_cv_solaris_64bit=no
  9222. +fi
  9223. +rm -f conftest*
  9224. +
  9225. +
  9226. +fi
  9227. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
  9228. +$as_echo "$gl_cv_solaris_64bit" >&6; }
  9229. + if test $gl_cv_solaris_64bit = yes; then
  9230. + acl_libdirstem=lib/64
  9231. + case "$host_cpu" in
  9232. + sparc*) acl_libdirstem2=lib/sparcv9 ;;
  9233. + i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
  9234. + esac
  9235. + fi
  9236. + ;;
  9237. + *)
  9238. + searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
  9239. + if test -n "$searchpath"; then
  9240. + acl_save_IFS="${IFS= }"; IFS=":"
  9241. + for searchdir in $searchpath; do
  9242. + if test -d "$searchdir"; then
  9243. + case "$searchdir" in
  9244. + */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
  9245. + */../ | */.. )
  9246. + # Better ignore directories of this form. They are misleading.
  9247. + ;;
  9248. + *) searchdir=`cd "$searchdir" && pwd`
  9249. + case "$searchdir" in
  9250. + */lib64 ) acl_libdirstem=lib64 ;;
  9251. + esac ;;
  9252. + esac
  9253. + fi
  9254. + done
  9255. + IFS="$acl_save_IFS"
  9256. + fi
  9257. + ;;
  9258. + esac
  9259. + test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
  9260. +
  9261. +
  9262. +
  9263. +
  9264. +
  9265. +
  9266. +
  9267. +
  9268. +
  9269. +
  9270. +
  9271. +
  9272. +
  9273. +
  9274. +
  9275. + use_additional=yes
  9276. +
  9277. + acl_save_prefix="$prefix"
  9278. + prefix="$acl_final_prefix"
  9279. + acl_save_exec_prefix="$exec_prefix"
  9280. + exec_prefix="$acl_final_exec_prefix"
  9281. +
  9282. + eval additional_includedir=\"$includedir\"
  9283. + eval additional_libdir=\"$libdir\"
  9284. +
  9285. + exec_prefix="$acl_save_exec_prefix"
  9286. + prefix="$acl_save_prefix"
  9287. +
  9288. +
  9289. +@%:@ Check whether --with-libsigsegv-prefix was given.
  9290. +if test "${with_libsigsegv_prefix+set}" = set; then :
  9291. + withval=$with_libsigsegv_prefix;
  9292. + if test "X$withval" = "Xno"; then
  9293. + use_additional=no
  9294. + else
  9295. + if test "X$withval" = "X"; then
  9296. +
  9297. + acl_save_prefix="$prefix"
  9298. + prefix="$acl_final_prefix"
  9299. + acl_save_exec_prefix="$exec_prefix"
  9300. + exec_prefix="$acl_final_exec_prefix"
  9301. +
  9302. + eval additional_includedir=\"$includedir\"
  9303. + eval additional_libdir=\"$libdir\"
  9304. +
  9305. + exec_prefix="$acl_save_exec_prefix"
  9306. + prefix="$acl_save_prefix"
  9307. +
  9308. + else
  9309. + additional_includedir="$withval/include"
  9310. + additional_libdir="$withval/$acl_libdirstem"
  9311. + if test "$acl_libdirstem2" != "$acl_libdirstem" \
  9312. + && ! test -d "$withval/$acl_libdirstem"; then
  9313. + additional_libdir="$withval/$acl_libdirstem2"
  9314. + fi
  9315. + fi
  9316. + fi
  9317. +
  9318. +fi
  9319. +
  9320. + LIBSIGSEGV=
  9321. + LTLIBSIGSEGV=
  9322. + INCSIGSEGV=
  9323. + LIBSIGSEGV_PREFIX=
  9324. + HAVE_LIBSIGSEGV=
  9325. + rpathdirs=
  9326. + ltrpathdirs=
  9327. + names_already_handled=
  9328. + names_next_round='sigsegv '
  9329. + while test -n "$names_next_round"; do
  9330. + names_this_round="$names_next_round"
  9331. + names_next_round=
  9332. + for name in $names_this_round; do
  9333. + already_handled=
  9334. + for n in $names_already_handled; do
  9335. + if test "$n" = "$name"; then
  9336. + already_handled=yes
  9337. + break
  9338. + fi
  9339. + done
  9340. + if test -z "$already_handled"; then
  9341. + names_already_handled="$names_already_handled $name"
  9342. + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
  9343. + eval value=\"\$HAVE_LIB$uppername\"
  9344. + if test -n "$value"; then
  9345. + if test "$value" = yes; then
  9346. + eval value=\"\$LIB$uppername\"
  9347. + test -z "$value" || LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$value"
  9348. + eval value=\"\$LTLIB$uppername\"
  9349. + test -z "$value" || LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$value"
  9350. + else
  9351. + :
  9352. + fi
  9353. + else
  9354. + found_dir=
  9355. + found_la=
  9356. + found_so=
  9357. + found_a=
  9358. + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
  9359. + if test -n "$acl_shlibext"; then
  9360. + shrext=".$acl_shlibext" # typically: shrext=.so
  9361. + else
  9362. + shrext=
  9363. + fi
  9364. + if test $use_additional = yes; then
  9365. + dir="$additional_libdir"
  9366. + if test -n "$acl_shlibext"; then
  9367. + if test -f "$dir/$libname$shrext"; then
  9368. + found_dir="$dir"
  9369. + found_so="$dir/$libname$shrext"
  9370. + else
  9371. + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  9372. + ver=`(cd "$dir" && \
  9373. + for f in "$libname$shrext".*; do echo "$f"; done \
  9374. + | sed -e "s,^$libname$shrext\\\\.,," \
  9375. + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  9376. + | sed 1q ) 2>/dev/null`
  9377. + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  9378. + found_dir="$dir"
  9379. + found_so="$dir/$libname$shrext.$ver"
  9380. + fi
  9381. + else
  9382. + eval library_names=\"$acl_library_names_spec\"
  9383. + for f in $library_names; do
  9384. + if test -f "$dir/$f"; then
  9385. + found_dir="$dir"
  9386. + found_so="$dir/$f"
  9387. + break
  9388. + fi
  9389. + done
  9390. + fi
  9391. + fi
  9392. + fi
  9393. + if test "X$found_dir" = "X"; then
  9394. + if test -f "$dir/$libname.$acl_libext"; then
  9395. + found_dir="$dir"
  9396. + found_a="$dir/$libname.$acl_libext"
  9397. + fi
  9398. + fi
  9399. + if test "X$found_dir" != "X"; then
  9400. + if test -f "$dir/$libname.la"; then
  9401. + found_la="$dir/$libname.la"
  9402. + fi
  9403. + fi
  9404. + fi
  9405. + if test "X$found_dir" = "X"; then
  9406. + for x in $LDFLAGS $LTLIBSIGSEGV; do
  9407. +
  9408. + acl_save_prefix="$prefix"
  9409. + prefix="$acl_final_prefix"
  9410. + acl_save_exec_prefix="$exec_prefix"
  9411. + exec_prefix="$acl_final_exec_prefix"
  9412. + eval x=\"$x\"
  9413. + exec_prefix="$acl_save_exec_prefix"
  9414. + prefix="$acl_save_prefix"
  9415. +
  9416. + case "$x" in
  9417. + -L*)
  9418. + dir=`echo "X$x" | sed -e 's/^X-L//'`
  9419. + if test -n "$acl_shlibext"; then
  9420. + if test -f "$dir/$libname$shrext"; then
  9421. + found_dir="$dir"
  9422. + found_so="$dir/$libname$shrext"
  9423. + else
  9424. + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  9425. + ver=`(cd "$dir" && \
  9426. + for f in "$libname$shrext".*; do echo "$f"; done \
  9427. + | sed -e "s,^$libname$shrext\\\\.,," \
  9428. + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  9429. + | sed 1q ) 2>/dev/null`
  9430. + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  9431. + found_dir="$dir"
  9432. + found_so="$dir/$libname$shrext.$ver"
  9433. + fi
  9434. + else
  9435. + eval library_names=\"$acl_library_names_spec\"
  9436. + for f in $library_names; do
  9437. + if test -f "$dir/$f"; then
  9438. + found_dir="$dir"
  9439. + found_so="$dir/$f"
  9440. + break
  9441. + fi
  9442. + done
  9443. + fi
  9444. + fi
  9445. + fi
  9446. + if test "X$found_dir" = "X"; then
  9447. + if test -f "$dir/$libname.$acl_libext"; then
  9448. + found_dir="$dir"
  9449. + found_a="$dir/$libname.$acl_libext"
  9450. + fi
  9451. + fi
  9452. + if test "X$found_dir" != "X"; then
  9453. + if test -f "$dir/$libname.la"; then
  9454. + found_la="$dir/$libname.la"
  9455. + fi
  9456. + fi
  9457. + ;;
  9458. + esac
  9459. + if test "X$found_dir" != "X"; then
  9460. + break
  9461. + fi
  9462. + done
  9463. + fi
  9464. + if test "X$found_dir" != "X"; then
  9465. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$found_dir -l$name"
  9466. + if test "X$found_so" != "X"; then
  9467. + if test "$enable_rpath" = no \
  9468. + || test "X$found_dir" = "X/usr/$acl_libdirstem" \
  9469. + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
  9470. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  9471. + else
  9472. + haveit=
  9473. + for x in $ltrpathdirs; do
  9474. + if test "X$x" = "X$found_dir"; then
  9475. + haveit=yes
  9476. + break
  9477. + fi
  9478. + done
  9479. + if test -z "$haveit"; then
  9480. + ltrpathdirs="$ltrpathdirs $found_dir"
  9481. + fi
  9482. + if test "$acl_hardcode_direct" = yes; then
  9483. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  9484. + else
  9485. + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
  9486. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  9487. + haveit=
  9488. + for x in $rpathdirs; do
  9489. + if test "X$x" = "X$found_dir"; then
  9490. + haveit=yes
  9491. + break
  9492. + fi
  9493. + done
  9494. + if test -z "$haveit"; then
  9495. + rpathdirs="$rpathdirs $found_dir"
  9496. + fi
  9497. + else
  9498. + haveit=
  9499. + for x in $LDFLAGS $LIBSIGSEGV; do
  9500. +
  9501. + acl_save_prefix="$prefix"
  9502. + prefix="$acl_final_prefix"
  9503. + acl_save_exec_prefix="$exec_prefix"
  9504. + exec_prefix="$acl_final_exec_prefix"
  9505. + eval x=\"$x\"
  9506. + exec_prefix="$acl_save_exec_prefix"
  9507. + prefix="$acl_save_prefix"
  9508. +
  9509. + if test "X$x" = "X-L$found_dir"; then
  9510. + haveit=yes
  9511. + break
  9512. + fi
  9513. + done
  9514. + if test -z "$haveit"; then
  9515. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir"
  9516. + fi
  9517. + if test "$acl_hardcode_minus_L" != no; then
  9518. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  9519. + else
  9520. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name"
  9521. + fi
  9522. + fi
  9523. + fi
  9524. + fi
  9525. + else
  9526. + if test "X$found_a" != "X"; then
  9527. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_a"
  9528. + else
  9529. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir -l$name"
  9530. + fi
  9531. + fi
  9532. + additional_includedir=
  9533. + case "$found_dir" in
  9534. + */$acl_libdirstem | */$acl_libdirstem/)
  9535. + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
  9536. + if test "$name" = 'sigsegv'; then
  9537. + LIBSIGSEGV_PREFIX="$basedir"
  9538. + fi
  9539. + additional_includedir="$basedir/include"
  9540. + ;;
  9541. + */$acl_libdirstem2 | */$acl_libdirstem2/)
  9542. + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
  9543. + if test "$name" = 'sigsegv'; then
  9544. + LIBSIGSEGV_PREFIX="$basedir"
  9545. + fi
  9546. + additional_includedir="$basedir/include"
  9547. + ;;
  9548. + esac
  9549. + if test "X$additional_includedir" != "X"; then
  9550. + if test "X$additional_includedir" != "X/usr/include"; then
  9551. + haveit=
  9552. + if test "X$additional_includedir" = "X/usr/local/include"; then
  9553. + if test -n "$GCC"; then
  9554. + case $host_os in
  9555. + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  9556. + esac
  9557. + fi
  9558. + fi
  9559. + if test -z "$haveit"; then
  9560. + for x in $CPPFLAGS $INCSIGSEGV; do
  9561. +
  9562. + acl_save_prefix="$prefix"
  9563. + prefix="$acl_final_prefix"
  9564. + acl_save_exec_prefix="$exec_prefix"
  9565. + exec_prefix="$acl_final_exec_prefix"
  9566. + eval x=\"$x\"
  9567. + exec_prefix="$acl_save_exec_prefix"
  9568. + prefix="$acl_save_prefix"
  9569. +
  9570. + if test "X$x" = "X-I$additional_includedir"; then
  9571. + haveit=yes
  9572. + break
  9573. + fi
  9574. + done
  9575. + if test -z "$haveit"; then
  9576. + if test -d "$additional_includedir"; then
  9577. + INCSIGSEGV="${INCSIGSEGV}${INCSIGSEGV:+ }-I$additional_includedir"
  9578. + fi
  9579. + fi
  9580. + fi
  9581. + fi
  9582. + fi
  9583. + if test -n "$found_la"; then
  9584. + save_libdir="$libdir"
  9585. + case "$found_la" in
  9586. + */* | *\\*) . "$found_la" ;;
  9587. + *) . "./$found_la" ;;
  9588. + esac
  9589. + libdir="$save_libdir"
  9590. + for dep in $dependency_libs; do
  9591. + case "$dep" in
  9592. + -L*)
  9593. + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
  9594. + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
  9595. + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
  9596. + haveit=
  9597. + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
  9598. + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
  9599. + if test -n "$GCC"; then
  9600. + case $host_os in
  9601. + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  9602. + esac
  9603. + fi
  9604. + fi
  9605. + if test -z "$haveit"; then
  9606. + haveit=
  9607. + for x in $LDFLAGS $LIBSIGSEGV; do
  9608. +
  9609. + acl_save_prefix="$prefix"
  9610. + prefix="$acl_final_prefix"
  9611. + acl_save_exec_prefix="$exec_prefix"
  9612. + exec_prefix="$acl_final_exec_prefix"
  9613. + eval x=\"$x\"
  9614. + exec_prefix="$acl_save_exec_prefix"
  9615. + prefix="$acl_save_prefix"
  9616. +
  9617. + if test "X$x" = "X-L$additional_libdir"; then
  9618. + haveit=yes
  9619. + break
  9620. + fi
  9621. + done
  9622. + if test -z "$haveit"; then
  9623. + if test -d "$additional_libdir"; then
  9624. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$additional_libdir"
  9625. + fi
  9626. + fi
  9627. + haveit=
  9628. + for x in $LDFLAGS $LTLIBSIGSEGV; do
  9629. +
  9630. + acl_save_prefix="$prefix"
  9631. + prefix="$acl_final_prefix"
  9632. + acl_save_exec_prefix="$exec_prefix"
  9633. + exec_prefix="$acl_final_exec_prefix"
  9634. + eval x=\"$x\"
  9635. + exec_prefix="$acl_save_exec_prefix"
  9636. + prefix="$acl_save_prefix"
  9637. +
  9638. + if test "X$x" = "X-L$additional_libdir"; then
  9639. + haveit=yes
  9640. + break
  9641. + fi
  9642. + done
  9643. + if test -z "$haveit"; then
  9644. + if test -d "$additional_libdir"; then
  9645. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$additional_libdir"
  9646. + fi
  9647. + fi
  9648. + fi
  9649. + fi
  9650. + ;;
  9651. + -R*)
  9652. + dir=`echo "X$dep" | sed -e 's/^X-R//'`
  9653. + if test "$enable_rpath" != no; then
  9654. + haveit=
  9655. + for x in $rpathdirs; do
  9656. + if test "X$x" = "X$dir"; then
  9657. + haveit=yes
  9658. + break
  9659. + fi
  9660. + done
  9661. + if test -z "$haveit"; then
  9662. + rpathdirs="$rpathdirs $dir"
  9663. + fi
  9664. + haveit=
  9665. + for x in $ltrpathdirs; do
  9666. + if test "X$x" = "X$dir"; then
  9667. + haveit=yes
  9668. + break
  9669. + fi
  9670. + done
  9671. + if test -z "$haveit"; then
  9672. + ltrpathdirs="$ltrpathdirs $dir"
  9673. + fi
  9674. + fi
  9675. + ;;
  9676. + -l*)
  9677. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
  9678. + ;;
  9679. + *.la)
  9680. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
  9681. + ;;
  9682. + *)
  9683. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$dep"
  9684. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$dep"
  9685. + ;;
  9686. + esac
  9687. + done
  9688. + fi
  9689. + else
  9690. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name"
  9691. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-l$name"
  9692. + fi
  9693. + fi
  9694. + fi
  9695. + done
  9696. + done
  9697. + if test "X$rpathdirs" != "X"; then
  9698. + if test -n "$acl_hardcode_libdir_separator"; then
  9699. + alldirs=
  9700. + for found_dir in $rpathdirs; do
  9701. + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
  9702. + done
  9703. + acl_save_libdir="$libdir"
  9704. + libdir="$alldirs"
  9705. + eval flag=\"$acl_hardcode_libdir_flag_spec\"
  9706. + libdir="$acl_save_libdir"
  9707. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag"
  9708. + else
  9709. + for found_dir in $rpathdirs; do
  9710. + acl_save_libdir="$libdir"
  9711. + libdir="$found_dir"
  9712. + eval flag=\"$acl_hardcode_libdir_flag_spec\"
  9713. + libdir="$acl_save_libdir"
  9714. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag"
  9715. + done
  9716. + fi
  9717. + fi
  9718. + if test "X$ltrpathdirs" != "X"; then
  9719. + for found_dir in $ltrpathdirs; do
  9720. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-R$found_dir"
  9721. + done
  9722. + fi
  9723. +
  9724. +
  9725. +
  9726. +
  9727. +
  9728. +
  9729. +
  9730. + ac_save_CPPFLAGS="$CPPFLAGS"
  9731. +
  9732. + for element in $INCSIGSEGV; do
  9733. + haveit=
  9734. + for x in $CPPFLAGS; do
  9735. +
  9736. + acl_save_prefix="$prefix"
  9737. + prefix="$acl_final_prefix"
  9738. + acl_save_exec_prefix="$exec_prefix"
  9739. + exec_prefix="$acl_final_exec_prefix"
  9740. + eval x=\"$x\"
  9741. + exec_prefix="$acl_save_exec_prefix"
  9742. + prefix="$acl_save_prefix"
  9743. +
  9744. + if test "X$x" = "X$element"; then
  9745. + haveit=yes
  9746. + break
  9747. + fi
  9748. + done
  9749. + if test -z "$haveit"; then
  9750. + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
  9751. + fi
  9752. + done
  9753. +
  9754. +
  9755. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigsegv" >&5
  9756. +$as_echo_n "checking for libsigsegv... " >&6; }
  9757. +if ${ac_cv_libsigsegv+:} false; then :
  9758. + $as_echo_n "(cached) " >&6
  9759. +else
  9760. +
  9761. + ac_save_LIBS="$LIBS"
  9762. + case " $LIBSIGSEGV" in
  9763. + *" -l"*) LIBS="$LIBS $LIBSIGSEGV" ;;
  9764. + *) LIBS="$LIBSIGSEGV $LIBS" ;;
  9765. + esac
  9766. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9767. +/* end confdefs.h. */
  9768. +#include <sigsegv.h>
  9769. +int
  9770. +main ()
  9771. +{
  9772. +sigsegv_deinstall_handler();
  9773. + ;
  9774. + return 0;
  9775. +}
  9776. +_ACEOF
  9777. +if ac_fn_c_try_link "$LINENO"; then :
  9778. + ac_cv_libsigsegv=yes
  9779. +else
  9780. + ac_cv_libsigsegv='no, consider installing GNU libsigsegv'
  9781. +fi
  9782. +rm -f core conftest.err conftest.$ac_objext \
  9783. + conftest$ac_exeext conftest.$ac_ext
  9784. + LIBS="$ac_save_LIBS"
  9785. +
  9786. +fi
  9787. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libsigsegv" >&5
  9788. +$as_echo "$ac_cv_libsigsegv" >&6; }
  9789. + if test "$ac_cv_libsigsegv" = yes; then
  9790. + HAVE_LIBSIGSEGV=yes
  9791. +
  9792. +$as_echo "@%:@define HAVE_LIBSIGSEGV 1" >>confdefs.h
  9793. +
  9794. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libsigsegv" >&5
  9795. +$as_echo_n "checking how to link with libsigsegv... " >&6; }
  9796. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSIGSEGV" >&5
  9797. +$as_echo "$LIBSIGSEGV" >&6; }
  9798. + else
  9799. + HAVE_LIBSIGSEGV=no
  9800. + CPPFLAGS="$ac_save_CPPFLAGS"
  9801. + LIBSIGSEGV=
  9802. + LTLIBSIGSEGV=
  9803. + LIBSIGSEGV_PREFIX=
  9804. + fi
  9805. +
  9806. +
  9807. +
  9808. +
  9809. +
  9810. +
  9811. +
  9812. + gl_cv_lib_sigsegv="$ac_cv_libsigsegv"
  9813. +
  9814. +
  9815. +
  9816. +
  9817. +
  9818. +
  9819. +
  9820. +
  9821. +
  9822. +
  9823. +
  9824. +
  9825. +
  9826. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
  9827. +$as_echo_n "checking whether // is distinct from /... " >&6; }
  9828. +if ${gl_cv_double_slash_root+:} false; then :
  9829. + $as_echo_n "(cached) " >&6
  9830. +else
  9831. + if test x"$cross_compiling" = xyes ; then
  9832. + # When cross-compiling, there is no way to tell whether // is special
  9833. + # short of a list of hosts. However, the only known hosts to date
  9834. + # that have a distinct // are Apollo DomainOS (too old to port to),
  9835. + # Cygwin, and z/OS. If anyone knows of another system for which // has
  9836. + # special semantics and is distinct from /, please report it to
  9837. + # <bug-gnulib@gnu.org>.
  9838. + case $host in
  9839. + *-cygwin | i370-ibm-openedition)
  9840. + gl_cv_double_slash_root=yes ;;
  9841. + *)
  9842. + # Be optimistic and assume that / and // are the same when we
  9843. + # don't know.
  9844. + gl_cv_double_slash_root='unknown, assuming no' ;;
  9845. + esac
  9846. + else
  9847. + set x `ls -di / // 2>/dev/null`
  9848. + if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then
  9849. + gl_cv_double_slash_root=no
  9850. + else
  9851. + gl_cv_double_slash_root=yes
  9852. + fi
  9853. + fi
  9854. +fi
  9855. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
  9856. +$as_echo "$gl_cv_double_slash_root" >&6; }
  9857. + if test "$gl_cv_double_slash_root" = yes; then
  9858. +
  9859. +$as_echo "@%:@define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
  9860. +
  9861. + fi
  9862. +
  9863. +
  9864. +
  9865. +
  9866. +
  9867. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether realpath works" >&5
  9868. +$as_echo_n "checking whether realpath works... " >&6; }
  9869. +if ${gl_cv_func_realpath_works+:} false; then :
  9870. + $as_echo_n "(cached) " >&6
  9871. +else
  9872. +
  9873. + touch conftest.a
  9874. + if test "$cross_compiling" = yes; then :
  9875. + gl_cv_func_realpath_works="guessing no"
  9876. +else
  9877. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9878. +/* end confdefs.h. */
  9879. +
  9880. +
  9881. + #include <stdlib.h>
  9882. +
  9883. +int
  9884. +main ()
  9885. +{
  9886. +
  9887. + int result = 0;
  9888. + {
  9889. + char *name = realpath ("conftest.a", NULL);
  9890. + if (!(name && *name == '/'))
  9891. + result |= 1;
  9892. + }
  9893. + {
  9894. + char *name = realpath ("conftest.b/../conftest.a", NULL);
  9895. + if (name != NULL)
  9896. + result |= 2;
  9897. + }
  9898. + {
  9899. + char *name = realpath ("conftest.a/", NULL);
  9900. + if (name != NULL)
  9901. + result |= 4;
  9902. + }
  9903. + return result;
  9904. +
  9905. + ;
  9906. + return 0;
  9907. +}
  9908. +
  9909. +_ACEOF
  9910. +if ac_fn_c_try_run "$LINENO"; then :
  9911. + gl_cv_func_realpath_works=yes
  9912. +else
  9913. + gl_cv_func_realpath_works=no
  9914. +fi
  9915. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  9916. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  9917. +fi
  9918. +
  9919. +
  9920. +fi
  9921. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_realpath_works" >&5
  9922. +$as_echo "$gl_cv_func_realpath_works" >&6; }
  9923. + if test "$gl_cv_func_realpath_works" = yes; then
  9924. +
  9925. +$as_echo "@%:@define FUNC_REALPATH_WORKS 1" >>confdefs.h
  9926. +
  9927. + fi
  9928. +
  9929. +
  9930. +
  9931. +
  9932. +
  9933. +
  9934. +
  9935. +
  9936. +
  9937. +
  9938. +
  9939. + GNULIB__EXIT=0;
  9940. + GNULIB_ATOLL=0;
  9941. + GNULIB_CALLOC_POSIX=0;
  9942. + GNULIB_CANONICALIZE_FILE_NAME=0;
  9943. + GNULIB_GETLOADAVG=0;
  9944. + GNULIB_GETSUBOPT=0;
  9945. + GNULIB_GRANTPT=0;
  9946. + GNULIB_MALLOC_POSIX=0;
  9947. + GNULIB_MBTOWC=0;
  9948. + GNULIB_MKDTEMP=0;
  9949. + GNULIB_MKOSTEMP=0;
  9950. + GNULIB_MKOSTEMPS=0;
  9951. + GNULIB_MKSTEMP=0;
  9952. + GNULIB_MKSTEMPS=0;
  9953. + GNULIB_PTSNAME=0;
  9954. + GNULIB_PUTENV=0;
  9955. + GNULIB_RANDOM_R=0;
  9956. + GNULIB_REALLOC_POSIX=0;
  9957. + GNULIB_REALPATH=0;
  9958. + GNULIB_RPMATCH=0;
  9959. + GNULIB_SETENV=0;
  9960. + GNULIB_STRTOD=0;
  9961. + GNULIB_STRTOLL=0;
  9962. + GNULIB_STRTOULL=0;
  9963. + GNULIB_SYSTEM_POSIX=0;
  9964. + GNULIB_UNLOCKPT=0;
  9965. + GNULIB_UNSETENV=0;
  9966. + GNULIB_WCTOMB=0;
  9967. + HAVE__EXIT=1;
  9968. + HAVE_ATOLL=1;
  9969. + HAVE_CANONICALIZE_FILE_NAME=1;
  9970. + HAVE_DECL_GETLOADAVG=1;
  9971. + HAVE_GETSUBOPT=1;
  9972. + HAVE_GRANTPT=1;
  9973. + HAVE_MKDTEMP=1;
  9974. + HAVE_MKOSTEMP=1;
  9975. + HAVE_MKOSTEMPS=1;
  9976. + HAVE_MKSTEMP=1;
  9977. + HAVE_MKSTEMPS=1;
  9978. + HAVE_PTSNAME=1;
  9979. + HAVE_RANDOM_H=1;
  9980. + HAVE_RANDOM_R=1;
  9981. + HAVE_REALPATH=1;
  9982. + HAVE_RPMATCH=1;
  9983. + HAVE_SETENV=1;
  9984. + HAVE_DECL_SETENV=1;
  9985. + HAVE_STRTOD=1;
  9986. + HAVE_STRTOLL=1;
  9987. + HAVE_STRTOULL=1;
  9988. + HAVE_STRUCT_RANDOM_DATA=1;
  9989. + HAVE_SYS_LOADAVG_H=0;
  9990. + HAVE_UNLOCKPT=1;
  9991. + HAVE_DECL_UNSETENV=1;
  9992. + REPLACE_CALLOC=0;
  9993. + REPLACE_CANONICALIZE_FILE_NAME=0;
  9994. + REPLACE_MALLOC=0;
  9995. + REPLACE_MBTOWC=0;
  9996. + REPLACE_MKSTEMP=0;
  9997. + REPLACE_PUTENV=0;
  9998. + REPLACE_REALLOC=0;
  9999. + REPLACE_REALPATH=0;
  10000. + REPLACE_SETENV=0;
  10001. + REPLACE_STRTOD=0;
  10002. + REPLACE_UNSETENV=0;
  10003. + REPLACE_WCTOMB=0;
  10004. +
  10005. +
  10006. + GNULIB_CHOWN=0;
  10007. + GNULIB_CLOSE=0;
  10008. + GNULIB_DUP2=0;
  10009. + GNULIB_DUP3=0;
  10010. + GNULIB_ENVIRON=0;
  10011. + GNULIB_EUIDACCESS=0;
  10012. + GNULIB_FACCESSAT=0;
  10013. + GNULIB_FCHDIR=0;
  10014. + GNULIB_FCHOWNAT=0;
  10015. + GNULIB_FSYNC=0;
  10016. + GNULIB_FTRUNCATE=0;
  10017. + GNULIB_GETCWD=0;
  10018. + GNULIB_GETDOMAINNAME=0;
  10019. + GNULIB_GETDTABLESIZE=0;
  10020. + GNULIB_GETGROUPS=0;
  10021. + GNULIB_GETHOSTNAME=0;
  10022. + GNULIB_GETLOGIN=0;
  10023. + GNULIB_GETLOGIN_R=0;
  10024. + GNULIB_GETPAGESIZE=0;
  10025. + GNULIB_GETUSERSHELL=0;
  10026. + GNULIB_LCHOWN=0;
  10027. + GNULIB_LINK=0;
  10028. + GNULIB_LINKAT=0;
  10029. + GNULIB_LSEEK=0;
  10030. + GNULIB_PIPE=0;
  10031. + GNULIB_PIPE2=0;
  10032. + GNULIB_PREAD=0;
  10033. + GNULIB_PWRITE=0;
  10034. + GNULIB_READLINK=0;
  10035. + GNULIB_READLINKAT=0;
  10036. + GNULIB_RMDIR=0;
  10037. + GNULIB_SLEEP=0;
  10038. + GNULIB_SYMLINK=0;
  10039. + GNULIB_SYMLINKAT=0;
  10040. + GNULIB_TTYNAME_R=0;
  10041. + GNULIB_UNISTD_H_GETOPT=0;
  10042. + GNULIB_UNISTD_H_SIGPIPE=0;
  10043. + GNULIB_UNLINK=0;
  10044. + GNULIB_UNLINKAT=0;
  10045. + GNULIB_USLEEP=0;
  10046. + GNULIB_WRITE=0;
  10047. + HAVE_CHOWN=1;
  10048. + HAVE_DUP2=1;
  10049. + HAVE_DUP3=1;
  10050. + HAVE_EUIDACCESS=1;
  10051. + HAVE_FACCESSAT=1;
  10052. + HAVE_FCHDIR=1;
  10053. + HAVE_FCHOWNAT=1;
  10054. + HAVE_FSYNC=1;
  10055. + HAVE_FTRUNCATE=1;
  10056. + HAVE_GETDTABLESIZE=1;
  10057. + HAVE_GETGROUPS=1;
  10058. + HAVE_GETHOSTNAME=1;
  10059. + HAVE_GETLOGIN=1;
  10060. + HAVE_GETPAGESIZE=1;
  10061. + HAVE_LCHOWN=1;
  10062. + HAVE_LINK=1;
  10063. + HAVE_LINKAT=1;
  10064. + HAVE_PIPE=1;
  10065. + HAVE_PIPE2=1;
  10066. + HAVE_PREAD=1;
  10067. + HAVE_PWRITE=1;
  10068. + HAVE_READLINK=1;
  10069. + HAVE_READLINKAT=1;
  10070. + HAVE_SLEEP=1;
  10071. + HAVE_SYMLINK=1;
  10072. + HAVE_SYMLINKAT=1;
  10073. + HAVE_UNLINKAT=1;
  10074. + HAVE_USLEEP=1;
  10075. + HAVE_DECL_ENVIRON=1;
  10076. + HAVE_DECL_FCHDIR=1;
  10077. + HAVE_DECL_GETDOMAINNAME=1;
  10078. + HAVE_DECL_GETLOGIN_R=1;
  10079. + HAVE_DECL_GETPAGESIZE=1;
  10080. + HAVE_DECL_GETUSERSHELL=1;
  10081. + HAVE_DECL_TTYNAME_R=1;
  10082. + HAVE_OS_H=0;
  10083. + HAVE_SYS_PARAM_H=0;
  10084. + REPLACE_CHOWN=0;
  10085. + REPLACE_CLOSE=0;
  10086. + REPLACE_DUP=0;
  10087. + REPLACE_DUP2=0;
  10088. + REPLACE_FCHOWNAT=0;
  10089. + REPLACE_GETCWD=0;
  10090. + REPLACE_GETDOMAINNAME=0;
  10091. + REPLACE_GETLOGIN_R=0;
  10092. + REPLACE_GETGROUPS=0;
  10093. + REPLACE_GETPAGESIZE=0;
  10094. + REPLACE_LCHOWN=0;
  10095. + REPLACE_LINK=0;
  10096. + REPLACE_LINKAT=0;
  10097. + REPLACE_LSEEK=0;
  10098. + REPLACE_PREAD=0;
  10099. + REPLACE_PWRITE=0;
  10100. + REPLACE_READLINK=0;
  10101. + REPLACE_RMDIR=0;
  10102. + REPLACE_SLEEP=0;
  10103. + REPLACE_SYMLINK=0;
  10104. + REPLACE_TTYNAME_R=0;
  10105. + REPLACE_UNLINK=0;
  10106. + REPLACE_UNLINKAT=0;
  10107. + REPLACE_USLEEP=0;
  10108. + REPLACE_WRITE=0;
  10109. + UNISTD_H_HAVE_WINSOCK2_H=0;
  10110. + UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0;
  10111. +
  10112. +
  10113. +
  10114. +
  10115. +
  10116. +
  10117. +
  10118. +
  10119. +
  10120. +
  10121. +
  10122. + M4_LIBOBJS="$M4_LIBOBJS basename-lgpl.$ac_objext"
  10123. +
  10124. +
  10125. +
  10126. +
  10127. +
  10128. +
  10129. +
  10130. +
  10131. +
  10132. + M4_LIBOBJS="$M4_LIBOBJS dirname-lgpl.$ac_objext"
  10133. +
  10134. +
  10135. +
  10136. +
  10137. +
  10138. +
  10139. +
  10140. +
  10141. +
  10142. + M4_LIBOBJS="$M4_LIBOBJS stripslash.$ac_objext"
  10143. +
  10144. +
  10145. +
  10146. +
  10147. +
  10148. +
  10149. +
  10150. +
  10151. +
  10152. +
  10153. +
  10154. +
  10155. +
  10156. +
  10157. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5
  10158. +$as_echo_n "checking if environ is properly declared... " >&6; }
  10159. + if ${gt_cv_var_environ_declaration+:} false; then :
  10160. + $as_echo_n "(cached) " >&6
  10161. +else
  10162. +
  10163. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10164. +/* end confdefs.h. */
  10165. +#include <unistd.h>
  10166. + extern struct { int foo; } environ;
  10167. +int
  10168. +main ()
  10169. +{
  10170. +environ.foo = 1;
  10171. + ;
  10172. + return 0;
  10173. +}
  10174. +_ACEOF
  10175. +if ac_fn_c_try_compile "$LINENO"; then :
  10176. + gt_cv_var_environ_declaration=no
  10177. +else
  10178. + gt_cv_var_environ_declaration=yes
  10179. +fi
  10180. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10181. +fi
  10182. +
  10183. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_var_environ_declaration" >&5
  10184. +$as_echo "$gt_cv_var_environ_declaration" >&6; }
  10185. + if test $gt_cv_var_environ_declaration = yes; then
  10186. +
  10187. +$as_echo "@%:@define HAVE_ENVIRON_DECL 1" >>confdefs.h
  10188. +
  10189. + fi
  10190. +
  10191. +
  10192. + if test $gt_cv_var_environ_declaration != yes; then
  10193. + HAVE_DECL_ENVIRON=0
  10194. + fi
  10195. +
  10196. +
  10197. +
  10198. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
  10199. +$as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
  10200. +if ${gl_cv_have_include_next+:} false; then :
  10201. + $as_echo_n "(cached) " >&6
  10202. +else
  10203. + rm -rf conftestd1a conftestd1b conftestd2
  10204. + mkdir conftestd1a conftestd1b conftestd2
  10205. + cat <<EOF > conftestd1a/conftest.h
  10206. +#define DEFINED_IN_CONFTESTD1
  10207. +#include_next <conftest.h>
  10208. +#ifdef DEFINED_IN_CONFTESTD2
  10209. +int foo;
  10210. +#else
  10211. +#error "include_next doesn't work"
  10212. +#endif
  10213. +EOF
  10214. + cat <<EOF > conftestd1b/conftest.h
  10215. +#define DEFINED_IN_CONFTESTD1
  10216. +#include <stdio.h>
  10217. +#include_next <conftest.h>
  10218. +#ifdef DEFINED_IN_CONFTESTD2
  10219. +int foo;
  10220. +#else
  10221. +#error "include_next doesn't work"
  10222. +#endif
  10223. +EOF
  10224. + cat <<EOF > conftestd2/conftest.h
  10225. +#ifndef DEFINED_IN_CONFTESTD1
  10226. +#error "include_next test doesn't work"
  10227. +#endif
  10228. +#define DEFINED_IN_CONFTESTD2
  10229. +EOF
  10230. + gl_save_CPPFLAGS="$CPPFLAGS"
  10231. + CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2"
  10232. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10233. +/* end confdefs.h. */
  10234. +#include <conftest.h>
  10235. +_ACEOF
  10236. +if ac_fn_c_try_compile "$LINENO"; then :
  10237. + gl_cv_have_include_next=yes
  10238. +else
  10239. + CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2"
  10240. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10241. +/* end confdefs.h. */
  10242. +#include <conftest.h>
  10243. +_ACEOF
  10244. +if ac_fn_c_try_compile "$LINENO"; then :
  10245. + gl_cv_have_include_next=buggy
  10246. +else
  10247. + gl_cv_have_include_next=no
  10248. +fi
  10249. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10250. +
  10251. +fi
  10252. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10253. + CPPFLAGS="$gl_save_CPPFLAGS"
  10254. + rm -rf conftestd1a conftestd1b conftestd2
  10255. +
  10256. +fi
  10257. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5
  10258. +$as_echo "$gl_cv_have_include_next" >&6; }
  10259. + PRAGMA_SYSTEM_HEADER=
  10260. + if test $gl_cv_have_include_next = yes; then
  10261. + INCLUDE_NEXT=include_next
  10262. + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
  10263. + if test -n "$GCC"; then
  10264. + PRAGMA_SYSTEM_HEADER='#pragma GCC system_header'
  10265. + fi
  10266. + else
  10267. + if test $gl_cv_have_include_next = buggy; then
  10268. + INCLUDE_NEXT=include
  10269. + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
  10270. + else
  10271. + INCLUDE_NEXT=include
  10272. + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include
  10273. + fi
  10274. + fi
  10275. +
  10276. +
  10277. +
  10278. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5
  10279. +$as_echo_n "checking whether system header files limit the line length... " >&6; }
  10280. +if ${gl_cv_pragma_columns+:} false; then :
  10281. + $as_echo_n "(cached) " >&6
  10282. +else
  10283. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10284. +/* end confdefs.h. */
  10285. +
  10286. +#ifdef __TANDEM
  10287. +choke me
  10288. +#endif
  10289. +
  10290. +_ACEOF
  10291. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  10292. + $EGREP "choke me" >/dev/null 2>&1; then :
  10293. + gl_cv_pragma_columns=yes
  10294. +else
  10295. + gl_cv_pragma_columns=no
  10296. +fi
  10297. +rm -f conftest*
  10298. +
  10299. +
  10300. +fi
  10301. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5
  10302. +$as_echo "$gl_cv_pragma_columns" >&6; }
  10303. + if test $gl_cv_pragma_columns = yes; then
  10304. + PRAGMA_COLUMNS="#pragma COLUMNS 10000"
  10305. + else
  10306. + PRAGMA_COLUMNS=
  10307. + fi
  10308. +
  10309. +
  10310. +
  10311. +
  10312. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5
  10313. +$as_echo_n "checking for complete errno.h... " >&6; }
  10314. +if ${gl_cv_header_errno_h_complete+:} false; then :
  10315. + $as_echo_n "(cached) " >&6
  10316. +else
  10317. +
  10318. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10319. +/* end confdefs.h. */
  10320. +
  10321. +#include <errno.h>
  10322. +#if !defined ENOMSG
  10323. +booboo
  10324. +#endif
  10325. +#if !defined EIDRM
  10326. +booboo
  10327. +#endif
  10328. +#if !defined ENOLINK
  10329. +booboo
  10330. +#endif
  10331. +#if !defined EPROTO
  10332. +booboo
  10333. +#endif
  10334. +#if !defined EMULTIHOP
  10335. +booboo
  10336. +#endif
  10337. +#if !defined EBADMSG
  10338. +booboo
  10339. +#endif
  10340. +#if !defined EOVERFLOW
  10341. +booboo
  10342. +#endif
  10343. +#if !defined ENOTSUP
  10344. +booboo
  10345. +#endif
  10346. +#if !defined ESTALE
  10347. +booboo
  10348. +#endif
  10349. +#if !defined EDQUOT
  10350. +booboo
  10351. +#endif
  10352. +#if !defined ECANCELED
  10353. +booboo
  10354. +#endif
  10355. +
  10356. +_ACEOF
  10357. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  10358. + $EGREP "booboo" >/dev/null 2>&1; then :
  10359. + gl_cv_header_errno_h_complete=no
  10360. +else
  10361. + gl_cv_header_errno_h_complete=yes
  10362. +fi
  10363. +rm -f conftest*
  10364. +
  10365. +
  10366. +fi
  10367. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5
  10368. +$as_echo "$gl_cv_header_errno_h_complete" >&6; }
  10369. + if test $gl_cv_header_errno_h_complete = yes; then
  10370. + ERRNO_H=''
  10371. + else
  10372. +
  10373. +
  10374. +
  10375. +
  10376. +
  10377. +
  10378. +
  10379. +
  10380. + if test $gl_cv_have_include_next = yes; then
  10381. + gl_cv_next_errno_h='<'errno.h'>'
  10382. + else
  10383. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <errno.h>" >&5
  10384. +$as_echo_n "checking absolute name of <errno.h>... " >&6; }
  10385. +if ${gl_cv_next_errno_h+:} false; then :
  10386. + $as_echo_n "(cached) " >&6
  10387. +else
  10388. +
  10389. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10390. +/* end confdefs.h. */
  10391. +#include <errno.h>
  10392. +
  10393. +_ACEOF
  10394. + case "$host_os" in
  10395. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  10396. + *) gl_absname_cpp="$ac_cpp" ;;
  10397. + esac
  10398. + gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  10399. + sed -n '\#/errno.h#{
  10400. + s#.*"\(.*/errno.h\)".*#\1#
  10401. + s#^/[^/]#//&#
  10402. + p
  10403. + q
  10404. + }'`'"'
  10405. +
  10406. +
  10407. +fi
  10408. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5
  10409. +$as_echo "$gl_cv_next_errno_h" >&6; }
  10410. + fi
  10411. + NEXT_ERRNO_H=$gl_cv_next_errno_h
  10412. +
  10413. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  10414. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  10415. + gl_next_as_first_directive='<'errno.h'>'
  10416. + else
  10417. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  10418. + gl_next_as_first_directive=$gl_cv_next_errno_h
  10419. + fi
  10420. + NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive
  10421. +
  10422. +
  10423. +
  10424. +
  10425. + ERRNO_H='errno.h'
  10426. + fi
  10427. +
  10428. +
  10429. + if test -n "$ERRNO_H"; then
  10430. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5
  10431. +$as_echo_n "checking for EMULTIHOP value... " >&6; }
  10432. +if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then :
  10433. + $as_echo_n "(cached) " >&6
  10434. +else
  10435. +
  10436. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10437. +/* end confdefs.h. */
  10438. +
  10439. +#include <errno.h>
  10440. +#ifdef EMULTIHOP
  10441. +yes
  10442. +#endif
  10443. +
  10444. +_ACEOF
  10445. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  10446. + $EGREP "yes" >/dev/null 2>&1; then :
  10447. + gl_cv_header_errno_h_EMULTIHOP=yes
  10448. +else
  10449. + gl_cv_header_errno_h_EMULTIHOP=no
  10450. +fi
  10451. +rm -f conftest*
  10452. +
  10453. + if test $gl_cv_header_errno_h_EMULTIHOP = no; then
  10454. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10455. +/* end confdefs.h. */
  10456. +
  10457. +#define _XOPEN_SOURCE_EXTENDED 1
  10458. +#include <errno.h>
  10459. +#ifdef EMULTIHOP
  10460. +yes
  10461. +#endif
  10462. +
  10463. +_ACEOF
  10464. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  10465. + $EGREP "yes" >/dev/null 2>&1; then :
  10466. + gl_cv_header_errno_h_EMULTIHOP=hidden
  10467. +fi
  10468. +rm -f conftest*
  10469. +
  10470. + if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then
  10471. + if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" "
  10472. +#define _XOPEN_SOURCE_EXTENDED 1
  10473. +#include <errno.h>
  10474. +/* The following two lines are a workaround against an autoconf-2.52 bug. */
  10475. +#include <stdio.h>
  10476. +#include <stdlib.h>
  10477. +"; then :
  10478. +
  10479. +fi
  10480. +
  10481. + fi
  10482. + fi
  10483. +
  10484. +fi
  10485. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5
  10486. +$as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; }
  10487. + case $gl_cv_header_errno_h_EMULTIHOP in
  10488. + yes | no)
  10489. + EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE=
  10490. + ;;
  10491. + *)
  10492. + EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP"
  10493. + ;;
  10494. + esac
  10495. +
  10496. +
  10497. + fi
  10498. +
  10499. +
  10500. + if test -n "$ERRNO_H"; then
  10501. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5
  10502. +$as_echo_n "checking for ENOLINK value... " >&6; }
  10503. +if ${gl_cv_header_errno_h_ENOLINK+:} false; then :
  10504. + $as_echo_n "(cached) " >&6
  10505. +else
  10506. +
  10507. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10508. +/* end confdefs.h. */
  10509. +
  10510. +#include <errno.h>
  10511. +#ifdef ENOLINK
  10512. +yes
  10513. +#endif
  10514. +
  10515. +_ACEOF
  10516. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  10517. + $EGREP "yes" >/dev/null 2>&1; then :
  10518. + gl_cv_header_errno_h_ENOLINK=yes
  10519. +else
  10520. + gl_cv_header_errno_h_ENOLINK=no
  10521. +fi
  10522. +rm -f conftest*
  10523. +
  10524. + if test $gl_cv_header_errno_h_ENOLINK = no; then
  10525. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10526. +/* end confdefs.h. */
  10527. +
  10528. +#define _XOPEN_SOURCE_EXTENDED 1
  10529. +#include <errno.h>
  10530. +#ifdef ENOLINK
  10531. +yes
  10532. +#endif
  10533. +
  10534. +_ACEOF
  10535. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  10536. + $EGREP "yes" >/dev/null 2>&1; then :
  10537. + gl_cv_header_errno_h_ENOLINK=hidden
  10538. +fi
  10539. +rm -f conftest*
  10540. +
  10541. + if test $gl_cv_header_errno_h_ENOLINK = hidden; then
  10542. + if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" "
  10543. +#define _XOPEN_SOURCE_EXTENDED 1
  10544. +#include <errno.h>
  10545. +/* The following two lines are a workaround against an autoconf-2.52 bug. */
  10546. +#include <stdio.h>
  10547. +#include <stdlib.h>
  10548. +"; then :
  10549. +
  10550. +fi
  10551. +
  10552. + fi
  10553. + fi
  10554. +
  10555. +fi
  10556. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5
  10557. +$as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; }
  10558. + case $gl_cv_header_errno_h_ENOLINK in
  10559. + yes | no)
  10560. + ENOLINK_HIDDEN=0; ENOLINK_VALUE=
  10561. + ;;
  10562. + *)
  10563. + ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK"
  10564. + ;;
  10565. + esac
  10566. +
  10567. +
  10568. + fi
  10569. +
  10570. +
  10571. + if test -n "$ERRNO_H"; then
  10572. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5
  10573. +$as_echo_n "checking for EOVERFLOW value... " >&6; }
  10574. +if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then :
  10575. + $as_echo_n "(cached) " >&6
  10576. +else
  10577. +
  10578. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10579. +/* end confdefs.h. */
  10580. +
  10581. +#include <errno.h>
  10582. +#ifdef EOVERFLOW
  10583. +yes
  10584. +#endif
  10585. +
  10586. +_ACEOF
  10587. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  10588. + $EGREP "yes" >/dev/null 2>&1; then :
  10589. + gl_cv_header_errno_h_EOVERFLOW=yes
  10590. +else
  10591. + gl_cv_header_errno_h_EOVERFLOW=no
  10592. +fi
  10593. +rm -f conftest*
  10594. +
  10595. + if test $gl_cv_header_errno_h_EOVERFLOW = no; then
  10596. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10597. +/* end confdefs.h. */
  10598. +
  10599. +#define _XOPEN_SOURCE_EXTENDED 1
  10600. +#include <errno.h>
  10601. +#ifdef EOVERFLOW
  10602. +yes
  10603. +#endif
  10604. +
  10605. +_ACEOF
  10606. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  10607. + $EGREP "yes" >/dev/null 2>&1; then :
  10608. + gl_cv_header_errno_h_EOVERFLOW=hidden
  10609. +fi
  10610. +rm -f conftest*
  10611. +
  10612. + if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then
  10613. + if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" "
  10614. +#define _XOPEN_SOURCE_EXTENDED 1
  10615. +#include <errno.h>
  10616. +/* The following two lines are a workaround against an autoconf-2.52 bug. */
  10617. +#include <stdio.h>
  10618. +#include <stdlib.h>
  10619. +"; then :
  10620. +
  10621. +fi
  10622. +
  10623. + fi
  10624. + fi
  10625. +
  10626. +fi
  10627. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5
  10628. +$as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; }
  10629. + case $gl_cv_header_errno_h_EOVERFLOW in
  10630. + yes | no)
  10631. + EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE=
  10632. + ;;
  10633. + *)
  10634. + EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW"
  10635. + ;;
  10636. + esac
  10637. +
  10638. +
  10639. + fi
  10640. +
  10641. +
  10642. +ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
  10643. +if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
  10644. + ac_have_decl=1
  10645. +else
  10646. + ac_have_decl=0
  10647. +fi
  10648. +
  10649. +cat >>confdefs.h <<_ACEOF
  10650. +@%:@define HAVE_DECL_STRERROR_R $ac_have_decl
  10651. +_ACEOF
  10652. +
  10653. +for ac_func in strerror_r
  10654. +do :
  10655. + ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
  10656. +if test "x$ac_cv_func_strerror_r" = xyes; then :
  10657. + cat >>confdefs.h <<_ACEOF
  10658. +@%:@define HAVE_STRERROR_R 1
  10659. +_ACEOF
  10660. +
  10661. +fi
  10662. +done
  10663. +
  10664. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
  10665. +$as_echo_n "checking whether strerror_r returns char *... " >&6; }
  10666. +if ${ac_cv_func_strerror_r_char_p+:} false; then :
  10667. + $as_echo_n "(cached) " >&6
  10668. +else
  10669. +
  10670. + ac_cv_func_strerror_r_char_p=no
  10671. + if test $ac_cv_have_decl_strerror_r = yes; then
  10672. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10673. +/* end confdefs.h. */
  10674. +$ac_includes_default
  10675. +int
  10676. +main ()
  10677. +{
  10678. +
  10679. + char buf[100];
  10680. + char x = *strerror_r (0, buf, sizeof buf);
  10681. + char *p = strerror_r (0, buf, sizeof buf);
  10682. + return !p || x;
  10683. +
  10684. + ;
  10685. + return 0;
  10686. +}
  10687. +_ACEOF
  10688. +if ac_fn_c_try_compile "$LINENO"; then :
  10689. + ac_cv_func_strerror_r_char_p=yes
  10690. +fi
  10691. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10692. + else
  10693. + # strerror_r is not declared. Choose between
  10694. + # systems that have relatively inaccessible declarations for the
  10695. + # function. BeOS and DEC UNIX 4.0 fall in this category, but the
  10696. + # former has a strerror_r that returns char*, while the latter
  10697. + # has a strerror_r that returns `int'.
  10698. + # This test should segfault on the DEC system.
  10699. + if test "$cross_compiling" = yes; then :
  10700. + :
  10701. +else
  10702. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10703. +/* end confdefs.h. */
  10704. +$ac_includes_default
  10705. + extern char *strerror_r ();
  10706. +int
  10707. +main ()
  10708. +{
  10709. +char buf[100];
  10710. + char x = *strerror_r (0, buf, sizeof buf);
  10711. + return ! isalpha (x);
  10712. + ;
  10713. + return 0;
  10714. +}
  10715. +_ACEOF
  10716. +if ac_fn_c_try_run "$LINENO"; then :
  10717. + ac_cv_func_strerror_r_char_p=yes
  10718. +fi
  10719. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  10720. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  10721. +fi
  10722. +
  10723. + fi
  10724. +
  10725. +fi
  10726. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
  10727. +$as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
  10728. +if test $ac_cv_func_strerror_r_char_p = yes; then
  10729. +
  10730. +$as_echo "@%:@define STRERROR_R_CHAR_P 1" >>confdefs.h
  10731. +
  10732. +fi
  10733. +
  10734. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  10735. +$as_echo_n "checking for inline... " >&6; }
  10736. +if ${ac_cv_c_inline+:} false; then :
  10737. + $as_echo_n "(cached) " >&6
  10738. +else
  10739. + ac_cv_c_inline=no
  10740. +for ac_kw in inline __inline__ __inline; do
  10741. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10742. +/* end confdefs.h. */
  10743. +#ifndef __cplusplus
  10744. +typedef int foo_t;
  10745. +static $ac_kw foo_t static_foo () {return 0; }
  10746. +$ac_kw foo_t foo () {return 0; }
  10747. +#endif
  10748. +
  10749. +_ACEOF
  10750. +if ac_fn_c_try_compile "$LINENO"; then :
  10751. + ac_cv_c_inline=$ac_kw
  10752. +fi
  10753. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10754. + test "$ac_cv_c_inline" != no && break
  10755. +done
  10756. +
  10757. +fi
  10758. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  10759. +$as_echo "$ac_cv_c_inline" >&6; }
  10760. +
  10761. +case $ac_cv_c_inline in
  10762. + inline | yes) ;;
  10763. + *)
  10764. + case $ac_cv_c_inline in
  10765. + no) ac_val=;;
  10766. + *) ac_val=$ac_cv_c_inline;;
  10767. + esac
  10768. + cat >>confdefs.h <<_ACEOF
  10769. +#ifndef __cplusplus
  10770. +#define inline $ac_val
  10771. +#endif
  10772. +_ACEOF
  10773. + ;;
  10774. +esac
  10775. +
  10776. +
  10777. + XGETTEXT_EXTRA_OPTIONS=
  10778. +
  10779. +ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
  10780. +if test "x$ac_cv_type_mode_t" = xyes; then :
  10781. +
  10782. +else
  10783. +
  10784. +cat >>confdefs.h <<_ACEOF
  10785. +@%:@define mode_t int
  10786. +_ACEOF
  10787. +
  10788. +fi
  10789. +
  10790. +
  10791. + ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include <signal.h>
  10792. +"
  10793. +if test "x$ac_cv_type_sig_atomic_t" = xyes; then :
  10794. +
  10795. +cat >>confdefs.h <<_ACEOF
  10796. +@%:@define HAVE_SIG_ATOMIC_T 1
  10797. +_ACEOF
  10798. +
  10799. +
  10800. +else
  10801. +
  10802. +$as_echo "@%:@define sig_atomic_t int" >>confdefs.h
  10803. +
  10804. +fi
  10805. +
  10806. +
  10807. +
  10808. + GNULIB_DPRINTF=0;
  10809. + GNULIB_FCLOSE=0;
  10810. + GNULIB_FFLUSH=0;
  10811. + GNULIB_FOPEN=0;
  10812. + GNULIB_FPRINTF=0;
  10813. + GNULIB_FPRINTF_POSIX=0;
  10814. + GNULIB_FPURGE=0;
  10815. + GNULIB_FPUTC=0;
  10816. + GNULIB_FPUTS=0;
  10817. + GNULIB_FREOPEN=0;
  10818. + GNULIB_FSEEK=0;
  10819. + GNULIB_FSEEKO=0;
  10820. + GNULIB_FTELL=0;
  10821. + GNULIB_FTELLO=0;
  10822. + GNULIB_FWRITE=0;
  10823. + GNULIB_GETDELIM=0;
  10824. + GNULIB_GETLINE=0;
  10825. + GNULIB_OBSTACK_PRINTF=0;
  10826. + GNULIB_OBSTACK_PRINTF_POSIX=0;
  10827. + GNULIB_PERROR=0;
  10828. + GNULIB_POPEN=0;
  10829. + GNULIB_PRINTF=0;
  10830. + GNULIB_PRINTF_POSIX=0;
  10831. + GNULIB_PUTC=0;
  10832. + GNULIB_PUTCHAR=0;
  10833. + GNULIB_PUTS=0;
  10834. + GNULIB_REMOVE=0;
  10835. + GNULIB_RENAME=0;
  10836. + GNULIB_RENAMEAT=0;
  10837. + GNULIB_SNPRINTF=0;
  10838. + GNULIB_SPRINTF_POSIX=0;
  10839. + GNULIB_STDIO_H_SIGPIPE=0;
  10840. + GNULIB_TMPFILE=0;
  10841. + GNULIB_VASPRINTF=0;
  10842. + GNULIB_VDPRINTF=0;
  10843. + GNULIB_VFPRINTF=0;
  10844. + GNULIB_VFPRINTF_POSIX=0;
  10845. + GNULIB_VPRINTF=0;
  10846. + GNULIB_VPRINTF_POSIX=0;
  10847. + GNULIB_VSNPRINTF=0;
  10848. + GNULIB_VSPRINTF_POSIX=0;
  10849. + HAVE_DECL_FPURGE=1;
  10850. + HAVE_DECL_FSEEKO=1;
  10851. + HAVE_DECL_FTELLO=1;
  10852. + HAVE_DECL_GETDELIM=1;
  10853. + HAVE_DECL_GETLINE=1;
  10854. + HAVE_DECL_OBSTACK_PRINTF=1;
  10855. + HAVE_DECL_SNPRINTF=1;
  10856. + HAVE_DECL_VSNPRINTF=1;
  10857. + HAVE_DPRINTF=1;
  10858. + HAVE_FSEEKO=1;
  10859. + HAVE_FTELLO=1;
  10860. + HAVE_RENAMEAT=1;
  10861. + HAVE_VASPRINTF=1;
  10862. + HAVE_VDPRINTF=1;
  10863. + REPLACE_DPRINTF=0;
  10864. + REPLACE_FCLOSE=0;
  10865. + REPLACE_FFLUSH=0;
  10866. + REPLACE_FOPEN=0;
  10867. + REPLACE_FPRINTF=0;
  10868. + REPLACE_FPURGE=0;
  10869. + REPLACE_FREOPEN=0;
  10870. + REPLACE_FSEEK=0;
  10871. + REPLACE_FSEEKO=0;
  10872. + REPLACE_FTELL=0;
  10873. + REPLACE_FTELLO=0;
  10874. + REPLACE_GETDELIM=0;
  10875. + REPLACE_GETLINE=0;
  10876. + REPLACE_OBSTACK_PRINTF=0;
  10877. + REPLACE_PERROR=0;
  10878. + REPLACE_POPEN=0;
  10879. + REPLACE_PRINTF=0;
  10880. + REPLACE_REMOVE=0;
  10881. + REPLACE_RENAME=0;
  10882. + REPLACE_RENAMEAT=0;
  10883. + REPLACE_SNPRINTF=0;
  10884. + REPLACE_SPRINTF=0;
  10885. + REPLACE_STDIO_WRITE_FUNCS=0;
  10886. + REPLACE_TMPFILE=0;
  10887. + REPLACE_VASPRINTF=0;
  10888. + REPLACE_VDPRINTF=0;
  10889. + REPLACE_VFPRINTF=0;
  10890. + REPLACE_VPRINTF=0;
  10891. + REPLACE_VSNPRINTF=0;
  10892. + REPLACE_VSPRINTF=0;
  10893. +
  10894. +
  10895. + GNULIB_FCNTL=0;
  10896. + GNULIB_OPEN=0;
  10897. + GNULIB_OPENAT=0;
  10898. + HAVE_FCNTL=1;
  10899. + HAVE_OPENAT=1;
  10900. + REPLACE_FCNTL=0;
  10901. + REPLACE_OPEN=0;
  10902. + REPLACE_OPENAT=0;
  10903. +
  10904. +
  10905. +
  10906. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5
  10907. +$as_echo_n "checking for working fcntl.h... " >&6; }
  10908. +if ${gl_cv_header_working_fcntl_h+:} false; then :
  10909. + $as_echo_n "(cached) " >&6
  10910. +else
  10911. + if test "$cross_compiling" = yes; then :
  10912. + gl_cv_header_working_fcntl_h=cross-compiling
  10913. +else
  10914. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10915. +/* end confdefs.h. */
  10916. +#include <sys/types.h>
  10917. + #include <sys/stat.h>
  10918. + #include <unistd.h>
  10919. + #include <fcntl.h>
  10920. + #ifndef O_NOATIME
  10921. + #define O_NOATIME 0
  10922. + #endif
  10923. + #ifndef O_NOFOLLOW
  10924. + #define O_NOFOLLOW 0
  10925. + #endif
  10926. + static int const constants[] =
  10927. + {
  10928. + O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
  10929. + O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
  10930. + };
  10931. +
  10932. +int
  10933. +main ()
  10934. +{
  10935. +
  10936. + int result = !constants;
  10937. + {
  10938. + static char const sym[] = "conftest.sym";
  10939. + if (symlink (".", sym) != 0)
  10940. + result |= 2;
  10941. + else
  10942. + {
  10943. + int fd = open (sym, O_RDONLY | O_NOFOLLOW);
  10944. + if (fd >= 0)
  10945. + {
  10946. + close (fd);
  10947. + result |= 4;
  10948. + }
  10949. + }
  10950. + unlink (sym);
  10951. + }
  10952. + {
  10953. + static char const file[] = "confdefs.h";
  10954. + int fd = open (file, O_RDONLY | O_NOATIME);
  10955. + if (fd < 0)
  10956. + result |= 8;
  10957. + else
  10958. + {
  10959. + struct stat st0;
  10960. + if (fstat (fd, &st0) != 0)
  10961. + result |= 16;
  10962. + else
  10963. + {
  10964. + char c;
  10965. + sleep (1);
  10966. + if (read (fd, &c, 1) != 1)
  10967. + result |= 24;
  10968. + else
  10969. + {
  10970. + if (close (fd) != 0)
  10971. + result |= 32;
  10972. + else
  10973. + {
  10974. + struct stat st1;
  10975. + if (stat (file, &st1) != 0)
  10976. + result |= 40;
  10977. + else
  10978. + if (st0.st_atime != st1.st_atime)
  10979. + result |= 64;
  10980. + }
  10981. + }
  10982. + }
  10983. + }
  10984. + }
  10985. + return result;
  10986. + ;
  10987. + return 0;
  10988. +}
  10989. +_ACEOF
  10990. +if ac_fn_c_try_run "$LINENO"; then :
  10991. + gl_cv_header_working_fcntl_h=yes
  10992. +else
  10993. + case $? in #(
  10994. + 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #(
  10995. + 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #(
  10996. + 68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #(
  10997. + *) gl_cv_header_working_fcntl_h='no';;
  10998. + esac
  10999. +fi
  11000. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  11001. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  11002. +fi
  11003. +
  11004. +fi
  11005. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5
  11006. +$as_echo "$gl_cv_header_working_fcntl_h" >&6; }
  11007. +
  11008. + case $gl_cv_header_working_fcntl_h in #(
  11009. + *O_NOATIME* | no | cross-compiling) ac_val=0;; #(
  11010. + *) ac_val=1;;
  11011. + esac
  11012. +
  11013. +cat >>confdefs.h <<_ACEOF
  11014. +@%:@define HAVE_WORKING_O_NOATIME $ac_val
  11015. +_ACEOF
  11016. +
  11017. +
  11018. + case $gl_cv_header_working_fcntl_h in #(
  11019. + *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #(
  11020. + *) ac_val=1;;
  11021. + esac
  11022. +
  11023. +cat >>confdefs.h <<_ACEOF
  11024. +@%:@define HAVE_WORKING_O_NOFOLLOW $ac_val
  11025. +_ACEOF
  11026. +
  11027. +
  11028. +
  11029. +
  11030. +
  11031. +
  11032. +
  11033. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5
  11034. +$as_echo_n "checking for fseeko... " >&6; }
  11035. +if ${gl_cv_func_fseeko+:} false; then :
  11036. + $as_echo_n "(cached) " >&6
  11037. +else
  11038. +
  11039. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11040. +/* end confdefs.h. */
  11041. +#include <stdio.h>
  11042. +
  11043. +int
  11044. +main ()
  11045. +{
  11046. +fseeko (stdin, 0, 0);
  11047. + ;
  11048. + return 0;
  11049. +}
  11050. +_ACEOF
  11051. +if ac_fn_c_try_link "$LINENO"; then :
  11052. + gl_cv_func_fseeko=yes
  11053. +else
  11054. + gl_cv_func_fseeko=no
  11055. +fi
  11056. +rm -f core conftest.err conftest.$ac_objext \
  11057. + conftest$ac_exeext conftest.$ac_ext
  11058. +
  11059. +fi
  11060. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fseeko" >&5
  11061. +$as_echo "$gl_cv_func_fseeko" >&6; }
  11062. +
  11063. +
  11064. +
  11065. +
  11066. +
  11067. +
  11068. +
  11069. +
  11070. +
  11071. +
  11072. +
  11073. +
  11074. + M4_LIBOBJS="$M4_LIBOBJS filenamecat-lgpl.$ac_objext"
  11075. +
  11076. +
  11077. +
  11078. +
  11079. +
  11080. +
  11081. +
  11082. +
  11083. +
  11084. +
  11085. +
  11086. +
  11087. +
  11088. +
  11089. +
  11090. + GNULIB_ACOSL=0;
  11091. + GNULIB_ASINL=0;
  11092. + GNULIB_ATANL=0;
  11093. + GNULIB_CEIL=0;
  11094. + GNULIB_CEILF=0;
  11095. + GNULIB_CEILL=0;
  11096. + GNULIB_COSL=0;
  11097. + GNULIB_EXPL=0;
  11098. + GNULIB_FLOOR=0;
  11099. + GNULIB_FLOORF=0;
  11100. + GNULIB_FLOORL=0;
  11101. + GNULIB_FREXP=0;
  11102. + GNULIB_FREXPL=0;
  11103. + GNULIB_ISFINITE=0;
  11104. + GNULIB_ISINF=0;
  11105. + GNULIB_ISNAN=0;
  11106. + GNULIB_ISNANF=0;
  11107. + GNULIB_ISNAND=0;
  11108. + GNULIB_ISNANL=0;
  11109. + GNULIB_LDEXPL=0;
  11110. + GNULIB_LOGB=0;
  11111. + GNULIB_LOGL=0;
  11112. + GNULIB_ROUND=0;
  11113. + GNULIB_ROUNDF=0;
  11114. + GNULIB_ROUNDL=0;
  11115. + GNULIB_SIGNBIT=0;
  11116. + GNULIB_SINL=0;
  11117. + GNULIB_SQRTL=0;
  11118. + GNULIB_TANL=0;
  11119. + GNULIB_TRUNC=0;
  11120. + GNULIB_TRUNCF=0;
  11121. + GNULIB_TRUNCL=0;
  11122. + HAVE_ACOSL=1;
  11123. + HAVE_ASINL=1;
  11124. + HAVE_ATANL=1;
  11125. + HAVE_COSL=1;
  11126. + HAVE_EXPL=1;
  11127. + HAVE_ISNANF=1;
  11128. + HAVE_ISNAND=1;
  11129. + HAVE_ISNANL=1;
  11130. + HAVE_LOGL=1;
  11131. + HAVE_SINL=1;
  11132. + HAVE_SQRTL=1;
  11133. + HAVE_TANL=1;
  11134. + HAVE_DECL_ACOSL=1;
  11135. + HAVE_DECL_ASINL=1;
  11136. + HAVE_DECL_ATANL=1;
  11137. + HAVE_DECL_CEILF=1;
  11138. + HAVE_DECL_CEILL=1;
  11139. + HAVE_DECL_COSL=1;
  11140. + HAVE_DECL_EXPL=1;
  11141. + HAVE_DECL_FLOORF=1;
  11142. + HAVE_DECL_FLOORL=1;
  11143. + HAVE_DECL_FREXPL=1;
  11144. + HAVE_DECL_LDEXPL=1;
  11145. + HAVE_DECL_LOGB=1;
  11146. + HAVE_DECL_LOGL=1;
  11147. + HAVE_DECL_ROUND=1;
  11148. + HAVE_DECL_ROUNDF=1;
  11149. + HAVE_DECL_ROUNDL=1;
  11150. + HAVE_DECL_SINL=1;
  11151. + HAVE_DECL_SQRTL=1;
  11152. + HAVE_DECL_TANL=1;
  11153. + HAVE_DECL_TRUNC=1;
  11154. + HAVE_DECL_TRUNCF=1;
  11155. + HAVE_DECL_TRUNCL=1;
  11156. + REPLACE_CEIL=0;
  11157. + REPLACE_CEILF=0;
  11158. + REPLACE_CEILL=0;
  11159. + REPLACE_FLOOR=0;
  11160. + REPLACE_FLOORF=0;
  11161. + REPLACE_FLOORL=0;
  11162. + REPLACE_FREXP=0;
  11163. + REPLACE_FREXPL=0;
  11164. + REPLACE_HUGE_VAL=0;
  11165. + REPLACE_ISFINITE=0;
  11166. + REPLACE_ISINF=0;
  11167. + REPLACE_ISNAN=0;
  11168. + REPLACE_LDEXPL=0;
  11169. + REPLACE_NAN=0;
  11170. + REPLACE_ROUND=0;
  11171. + REPLACE_ROUNDF=0;
  11172. + REPLACE_ROUNDL=0;
  11173. + REPLACE_SIGNBIT=0;
  11174. + REPLACE_SIGNBIT_USING_GCC=0;
  11175. + REPLACE_TRUNC=0;
  11176. + REPLACE_TRUNCF=0;
  11177. + REPLACE_TRUNCL=0;
  11178. +
  11179. +
  11180. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp() can be used without linking with libm" >&5
  11181. +$as_echo_n "checking whether frexp() can be used without linking with libm... " >&6; }
  11182. +if ${gl_cv_func_frexp_no_libm+:} false; then :
  11183. + $as_echo_n "(cached) " >&6
  11184. +else
  11185. +
  11186. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11187. +/* end confdefs.h. */
  11188. +#include <math.h>
  11189. + double x;
  11190. +int
  11191. +main ()
  11192. +{
  11193. +int e; return frexp (x, &e) > 0;
  11194. + ;
  11195. + return 0;
  11196. +}
  11197. +_ACEOF
  11198. +if ac_fn_c_try_link "$LINENO"; then :
  11199. + gl_cv_func_frexp_no_libm=yes
  11200. +else
  11201. + gl_cv_func_frexp_no_libm=no
  11202. +fi
  11203. +rm -f core conftest.err conftest.$ac_objext \
  11204. + conftest$ac_exeext conftest.$ac_ext
  11205. +
  11206. +fi
  11207. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_no_libm" >&5
  11208. +$as_echo "$gl_cv_func_frexp_no_libm" >&6; }
  11209. +
  11210. +
  11211. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdin defaults to large file offsets" >&5
  11212. +$as_echo_n "checking whether stdin defaults to large file offsets... " >&6; }
  11213. +if ${gl_cv_var_stdin_large_offset+:} false; then :
  11214. + $as_echo_n "(cached) " >&6
  11215. +else
  11216. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11217. +/* end confdefs.h. */
  11218. +#include <stdio.h>
  11219. +int
  11220. +main ()
  11221. +{
  11222. +#if defined __SL64 && defined __SCLE /* cygwin */
  11223. + /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making
  11224. + fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and
  11225. + it is easier to do a version check than building a runtime test. */
  11226. +# include <cygwin/version.h>
  11227. +# if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25)
  11228. + choke me
  11229. +# endif
  11230. +#endif
  11231. + ;
  11232. + return 0;
  11233. +}
  11234. +_ACEOF
  11235. +if ac_fn_c_try_link "$LINENO"; then :
  11236. + gl_cv_var_stdin_large_offset=yes
  11237. +else
  11238. + gl_cv_var_stdin_large_offset=no
  11239. +fi
  11240. +rm -f core conftest.err conftest.$ac_objext \
  11241. + conftest$ac_exeext conftest.$ac_ext
  11242. +fi
  11243. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var_stdin_large_offset" >&5
  11244. +$as_echo "$gl_cv_var_stdin_large_offset" >&6; }
  11245. +
  11246. +ac_fn_c_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default"
  11247. +if test "x$ac_cv_have_decl_fseeko" = xyes; then :
  11248. + ac_have_decl=1
  11249. +else
  11250. + ac_have_decl=0
  11251. +fi
  11252. +
  11253. +cat >>confdefs.h <<_ACEOF
  11254. +@%:@define HAVE_DECL_FSEEKO $ac_have_decl
  11255. +_ACEOF
  11256. +
  11257. +ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default"
  11258. +if test "x$ac_cv_have_decl_ftello" = xyes; then :
  11259. + ac_have_decl=1
  11260. +else
  11261. + ac_have_decl=0
  11262. +fi
  11263. +
  11264. +cat >>confdefs.h <<_ACEOF
  11265. +@%:@define HAVE_DECL_FTELLO $ac_have_decl
  11266. +_ACEOF
  11267. +
  11268. +
  11269. +
  11270. +
  11271. +
  11272. +
  11273. +
  11274. +
  11275. +
  11276. +
  11277. +
  11278. +
  11279. +
  11280. +
  11281. +
  11282. +
  11283. +
  11284. +
  11285. + if test $gl_cv_have_include_next = yes; then
  11286. + gl_cv_next_getopt_h='<'getopt.h'>'
  11287. + else
  11288. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <getopt.h>" >&5
  11289. +$as_echo_n "checking absolute name of <getopt.h>... " >&6; }
  11290. +if ${gl_cv_next_getopt_h+:} false; then :
  11291. + $as_echo_n "(cached) " >&6
  11292. +else
  11293. +
  11294. + if test $ac_cv_header_getopt_h = yes; then
  11295. +
  11296. +
  11297. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11298. +/* end confdefs.h. */
  11299. +#include <getopt.h>
  11300. +
  11301. +_ACEOF
  11302. + case "$host_os" in
  11303. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  11304. + *) gl_absname_cpp="$ac_cpp" ;;
  11305. + esac
  11306. + gl_cv_next_getopt_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  11307. + sed -n '\#/getopt.h#{
  11308. + s#.*"\(.*/getopt.h\)".*#\1#
  11309. + s#^/[^/]#//&#
  11310. + p
  11311. + q
  11312. + }'`'"'
  11313. + else
  11314. + gl_cv_next_getopt_h='<'getopt.h'>'
  11315. + fi
  11316. +
  11317. +
  11318. +fi
  11319. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_getopt_h" >&5
  11320. +$as_echo "$gl_cv_next_getopt_h" >&6; }
  11321. + fi
  11322. + NEXT_GETOPT_H=$gl_cv_next_getopt_h
  11323. +
  11324. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  11325. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  11326. + gl_next_as_first_directive='<'getopt.h'>'
  11327. + else
  11328. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  11329. + gl_next_as_first_directive=$gl_cv_next_getopt_h
  11330. + fi
  11331. + NEXT_AS_FIRST_DIRECTIVE_GETOPT_H=$gl_next_as_first_directive
  11332. +
  11333. +
  11334. +
  11335. +
  11336. + if test $ac_cv_header_getopt_h = yes; then
  11337. + HAVE_GETOPT_H=1
  11338. + else
  11339. + HAVE_GETOPT_H=0
  11340. + fi
  11341. +
  11342. +
  11343. + gl_replace_getopt=
  11344. +
  11345. + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
  11346. + for ac_header in getopt.h
  11347. +do :
  11348. + ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
  11349. +if test "x$ac_cv_header_getopt_h" = xyes; then :
  11350. + cat >>confdefs.h <<_ACEOF
  11351. +@%:@define HAVE_GETOPT_H 1
  11352. +_ACEOF
  11353. +
  11354. +else
  11355. + gl_replace_getopt=yes
  11356. +fi
  11357. +
  11358. +done
  11359. +
  11360. + fi
  11361. +
  11362. + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
  11363. + for ac_func in getopt_long_only
  11364. +do :
  11365. + ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only"
  11366. +if test "x$ac_cv_func_getopt_long_only" = xyes; then :
  11367. + cat >>confdefs.h <<_ACEOF
  11368. +@%:@define HAVE_GETOPT_LONG_ONLY 1
  11369. +_ACEOF
  11370. +
  11371. +else
  11372. + gl_replace_getopt=yes
  11373. +fi
  11374. +done
  11375. +
  11376. + fi
  11377. +
  11378. + if test -z "$gl_replace_getopt"; then
  11379. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5
  11380. +$as_echo_n "checking whether getopt is POSIX compatible... " >&6; }
  11381. +if ${gl_cv_func_getopt_posix+:} false; then :
  11382. + $as_echo_n "(cached) " >&6
  11383. +else
  11384. +
  11385. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11386. +/* end confdefs.h. */
  11387. +#include <unistd.h>
  11388. +int
  11389. +main ()
  11390. +{
  11391. +int *p = &optreset; return optreset;
  11392. + ;
  11393. + return 0;
  11394. +}
  11395. +_ACEOF
  11396. +if ac_fn_c_try_compile "$LINENO"; then :
  11397. + gl_optind_min=1
  11398. +else
  11399. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11400. +/* end confdefs.h. */
  11401. +#include <getopt.h>
  11402. +int
  11403. +main ()
  11404. +{
  11405. +return !getopt_clip;
  11406. + ;
  11407. + return 0;
  11408. +}
  11409. +_ACEOF
  11410. +if ac_fn_c_try_compile "$LINENO"; then :
  11411. + gl_optind_min=1
  11412. +else
  11413. + gl_optind_min=0
  11414. +fi
  11415. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11416. +fi
  11417. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11418. +
  11419. + gl_save_CPPFLAGS=$CPPFLAGS
  11420. + CPPFLAGS="$CPPFLAGS -DOPTIND_MIN=$gl_optind_min"
  11421. + if test "$cross_compiling" = yes; then :
  11422. + case "$host_os" in
  11423. + mingw*) gl_cv_func_getopt_posix="guessing no";;
  11424. + darwin* | aix*) gl_cv_func_getopt_posix="guessing no";;
  11425. + *) gl_cv_func_getopt_posix="guessing yes";;
  11426. + esac
  11427. +
  11428. +else
  11429. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11430. +/* end confdefs.h. */
  11431. +
  11432. +#include <unistd.h>
  11433. +#include <stdlib.h>
  11434. +#include <string.h>
  11435. +
  11436. +int
  11437. +main ()
  11438. +{
  11439. + {
  11440. + int argc = 0;
  11441. + char *argv[10];
  11442. + int c;
  11443. +
  11444. + argv[argc++] = "program";
  11445. + argv[argc++] = "-a";
  11446. + argv[argc++] = "foo";
  11447. + argv[argc++] = "bar";
  11448. + argv[argc] = NULL;
  11449. + optind = OPTIND_MIN;
  11450. + opterr = 0;
  11451. +
  11452. + c = getopt (argc, argv, "ab");
  11453. + if (!(c == 'a'))
  11454. + return 1;
  11455. + c = getopt (argc, argv, "ab");
  11456. + if (!(c == -1))
  11457. + return 2;
  11458. + if (!(optind == 2))
  11459. + return 3;
  11460. + }
  11461. + /* Some internal state exists at this point. */
  11462. + {
  11463. + int argc = 0;
  11464. + char *argv[10];
  11465. + int c;
  11466. +
  11467. + argv[argc++] = "program";
  11468. + argv[argc++] = "donald";
  11469. + argv[argc++] = "-p";
  11470. + argv[argc++] = "billy";
  11471. + argv[argc++] = "duck";
  11472. + argv[argc++] = "-a";
  11473. + argv[argc++] = "bar";
  11474. + argv[argc] = NULL;
  11475. + optind = OPTIND_MIN;
  11476. + opterr = 0;
  11477. +
  11478. + c = getopt (argc, argv, "+abp:q:");
  11479. + if (!(c == -1))
  11480. + return 4;
  11481. + if (!(strcmp (argv[0], "program") == 0))
  11482. + return 5;
  11483. + if (!(strcmp (argv[1], "donald") == 0))
  11484. + return 6;
  11485. + if (!(strcmp (argv[2], "-p") == 0))
  11486. + return 7;
  11487. + if (!(strcmp (argv[3], "billy") == 0))
  11488. + return 8;
  11489. + if (!(strcmp (argv[4], "duck") == 0))
  11490. + return 9;
  11491. + if (!(strcmp (argv[5], "-a") == 0))
  11492. + return 10;
  11493. + if (!(strcmp (argv[6], "bar") == 0))
  11494. + return 11;
  11495. + if (!(optind == 1))
  11496. + return 12;
  11497. + }
  11498. + /* Detect MacOS 10.5, AIX 7.1 bug. */
  11499. + {
  11500. + char *argv[3] = { "program", "-ab", NULL };
  11501. + optind = OPTIND_MIN;
  11502. + opterr = 0;
  11503. + if (getopt (2, argv, "ab:") != 'a')
  11504. + return 13;
  11505. + if (getopt (2, argv, "ab:") != '?')
  11506. + return 14;
  11507. + if (optopt != 'b')
  11508. + return 15;
  11509. + if (optind != 2)
  11510. + return 16;
  11511. + }
  11512. +
  11513. + return 0;
  11514. +}
  11515. +
  11516. +_ACEOF
  11517. +if ac_fn_c_try_run "$LINENO"; then :
  11518. + gl_cv_func_getopt_posix=yes
  11519. +else
  11520. + gl_cv_func_getopt_posix=no
  11521. +fi
  11522. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  11523. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  11524. +fi
  11525. +
  11526. + CPPFLAGS=$gl_save_CPPFLAGS
  11527. +
  11528. +fi
  11529. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5
  11530. +$as_echo "$gl_cv_func_getopt_posix" >&6; }
  11531. + case "$gl_cv_func_getopt_posix" in
  11532. + *no) gl_replace_getopt=yes ;;
  11533. + esac
  11534. + fi
  11535. +
  11536. + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
  11537. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5
  11538. +$as_echo_n "checking for working GNU getopt function... " >&6; }
  11539. +if ${gl_cv_func_getopt_gnu+:} false; then :
  11540. + $as_echo_n "(cached) " >&6
  11541. +else
  11542. + # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the
  11543. + # optstring is necessary for programs like m4 that have POSIX-mandated
  11544. + # semantics for supporting options interspersed with files.
  11545. + # Also, since getopt_long is a GNU extension, we require optind=0.
  11546. + # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT;
  11547. + # so take care to revert to the correct (non-)export state.
  11548. + gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }'
  11549. + case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" </dev/null` in
  11550. + xx) gl_had_POSIXLY_CORRECT=exported ;;
  11551. + x) gl_had_POSIXLY_CORRECT=yes ;;
  11552. + *) gl_had_POSIXLY_CORRECT= ;;
  11553. + esac
  11554. + POSIXLY_CORRECT=1
  11555. + export POSIXLY_CORRECT
  11556. + if test "$cross_compiling" = yes; then :
  11557. + case $host_os:$ac_cv_have_decl_optreset in
  11558. + *-gnu*:* | mingw*:*) gl_cv_func_getopt_gnu=no;;
  11559. + *:yes) gl_cv_func_getopt_gnu=no;;
  11560. + *) gl_cv_func_getopt_gnu=yes;;
  11561. + esac
  11562. +
  11563. +else
  11564. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11565. +/* end confdefs.h. */
  11566. +#include <getopt.h>
  11567. + #include <stddef.h>
  11568. + #include <string.h>
  11569. +
  11570. +int
  11571. +main ()
  11572. +{
  11573. +
  11574. + int result = 0;
  11575. + /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw,
  11576. + and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5,
  11577. + OSF/1 5.1, Solaris 10. */
  11578. + {
  11579. + char *myargv[3];
  11580. + myargv[0] = "conftest";
  11581. + myargv[1] = "-+";
  11582. + myargv[2] = 0;
  11583. + opterr = 0;
  11584. + if (getopt (2, myargv, "+a") != '?')
  11585. + result |= 1;
  11586. + }
  11587. + /* This code succeeds on glibc 2.8, mingw,
  11588. + and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11,
  11589. + IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */
  11590. + {
  11591. + char *argv[] = { "program", "-p", "foo", "bar", NULL };
  11592. +
  11593. + optind = 1;
  11594. + if (getopt (4, argv, "p::") != 'p')
  11595. + result |= 2;
  11596. + else if (optarg != NULL)
  11597. + result |= 4;
  11598. + else if (getopt (4, argv, "p::") != -1)
  11599. + result |= 6;
  11600. + else if (optind != 2)
  11601. + result |= 8;
  11602. + }
  11603. + /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */
  11604. + {
  11605. + char *argv[] = { "program", "foo", "-p", NULL };
  11606. + optind = 0;
  11607. + if (getopt (3, argv, "-p") != 1)
  11608. + result |= 16;
  11609. + else if (getopt (3, argv, "-p") != 'p')
  11610. + result |= 32;
  11611. + }
  11612. + /* This code fails on glibc 2.11. */
  11613. + {
  11614. + char *argv[] = { "program", "-b", "-a", NULL };
  11615. + optind = opterr = 0;
  11616. + if (getopt (3, argv, "+:a:b") != 'b')
  11617. + result |= 64;
  11618. + else if (getopt (3, argv, "+:a:b") != ':')
  11619. + result |= 64;
  11620. + }
  11621. + return result;
  11622. +
  11623. + ;
  11624. + return 0;
  11625. +}
  11626. +_ACEOF
  11627. +if ac_fn_c_try_run "$LINENO"; then :
  11628. + gl_cv_func_getopt_gnu=yes
  11629. +else
  11630. + gl_cv_func_getopt_gnu=no
  11631. +fi
  11632. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  11633. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  11634. +fi
  11635. +
  11636. + case $gl_had_POSIXLY_CORRECT in
  11637. + exported) ;;
  11638. + yes) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}; POSIXLY_CORRECT=1 ;;
  11639. + *) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} ;;
  11640. + esac
  11641. +
  11642. +fi
  11643. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_gnu" >&5
  11644. +$as_echo "$gl_cv_func_getopt_gnu" >&6; }
  11645. + if test "$gl_cv_func_getopt_gnu" = "no"; then
  11646. + gl_replace_getopt=yes
  11647. + fi
  11648. + fi
  11649. +
  11650. +ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
  11651. +if test "x$ac_cv_have_decl_getenv" = xyes; then :
  11652. + ac_have_decl=1
  11653. +else
  11654. + ac_have_decl=0
  11655. +fi
  11656. +
  11657. +cat >>confdefs.h <<_ACEOF
  11658. +@%:@define HAVE_DECL_GETENV $ac_have_decl
  11659. +_ACEOF
  11660. +
  11661. +
  11662. +
  11663. +
  11664. +
  11665. +
  11666. + if test -n "$gl_replace_getopt"; then :
  11667. +
  11668. +
  11669. +
  11670. + GETOPT_H=getopt.h
  11671. +
  11672. +$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h
  11673. +
  11674. +
  11675. +
  11676. + GNULIB_UNISTD_H_GETOPT=1
  11677. +
  11678. +
  11679. +
  11680. +
  11681. +
  11682. +
  11683. +
  11684. +
  11685. + M4_LIBOBJS="$M4_LIBOBJS getopt.$ac_objext"
  11686. +
  11687. +
  11688. +
  11689. +
  11690. +
  11691. +
  11692. +
  11693. +
  11694. +
  11695. + M4_LIBOBJS="$M4_LIBOBJS getopt1.$ac_objext"
  11696. +
  11697. +
  11698. +
  11699. +
  11700. +
  11701. +
  11702. +fi
  11703. +
  11704. +
  11705. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
  11706. +$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
  11707. +if ${ac_cv_c_restrict+:} false; then :
  11708. + $as_echo_n "(cached) " >&6
  11709. +else
  11710. + ac_cv_c_restrict=no
  11711. + # The order here caters to the fact that C++ does not require restrict.
  11712. + for ac_kw in __restrict __restrict__ _Restrict restrict; do
  11713. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11714. +/* end confdefs.h. */
  11715. +typedef int * int_ptr;
  11716. + int foo (int_ptr $ac_kw ip) {
  11717. + return ip[0];
  11718. + }
  11719. +int
  11720. +main ()
  11721. +{
  11722. +int s[1];
  11723. + int * $ac_kw t = s;
  11724. + t[0] = 0;
  11725. + return foo(t)
  11726. + ;
  11727. + return 0;
  11728. +}
  11729. +_ACEOF
  11730. +if ac_fn_c_try_compile "$LINENO"; then :
  11731. + ac_cv_c_restrict=$ac_kw
  11732. +fi
  11733. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11734. + test "$ac_cv_c_restrict" != no && break
  11735. + done
  11736. +
  11737. +fi
  11738. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
  11739. +$as_echo "$ac_cv_c_restrict" >&6; }
  11740. +
  11741. + case $ac_cv_c_restrict in
  11742. + restrict) ;;
  11743. + no) $as_echo "@%:@define restrict /**/" >>confdefs.h
  11744. + ;;
  11745. + *) cat >>confdefs.h <<_ACEOF
  11746. +@%:@define restrict $ac_cv_c_restrict
  11747. +_ACEOF
  11748. + ;;
  11749. + esac
  11750. +
  11751. +
  11752. + GNULIB_GETTIMEOFDAY=0;
  11753. + HAVE_GETTIMEOFDAY=1;
  11754. + HAVE_STRUCT_TIMEVAL=1;
  11755. + HAVE_SYS_TIME_H=1;
  11756. + REPLACE_GETTIMEOFDAY=0;
  11757. +
  11758. +
  11759. +
  11760. +
  11761. +
  11762. +
  11763. +
  11764. +
  11765. +
  11766. +
  11767. +
  11768. +
  11769. +
  11770. +
  11771. +
  11772. +
  11773. + if test $gl_cv_have_include_next = yes; then
  11774. + gl_cv_next_sys_time_h='<'sys/time.h'>'
  11775. + else
  11776. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/time.h>" >&5
  11777. +$as_echo_n "checking absolute name of <sys/time.h>... " >&6; }
  11778. +if ${gl_cv_next_sys_time_h+:} false; then :
  11779. + $as_echo_n "(cached) " >&6
  11780. +else
  11781. +
  11782. + if test $ac_cv_header_sys_time_h = yes; then
  11783. +
  11784. +
  11785. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11786. +/* end confdefs.h. */
  11787. +#include <sys/time.h>
  11788. +
  11789. +_ACEOF
  11790. + case "$host_os" in
  11791. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  11792. + *) gl_absname_cpp="$ac_cpp" ;;
  11793. + esac
  11794. + gl_cv_next_sys_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  11795. + sed -n '\#/sys/time.h#{
  11796. + s#.*"\(.*/sys/time.h\)".*#\1#
  11797. + s#^/[^/]#//&#
  11798. + p
  11799. + q
  11800. + }'`'"'
  11801. + else
  11802. + gl_cv_next_sys_time_h='<'sys/time.h'>'
  11803. + fi
  11804. +
  11805. +
  11806. +fi
  11807. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_time_h" >&5
  11808. +$as_echo "$gl_cv_next_sys_time_h" >&6; }
  11809. + fi
  11810. + NEXT_SYS_TIME_H=$gl_cv_next_sys_time_h
  11811. +
  11812. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  11813. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  11814. + gl_next_as_first_directive='<'sys/time.h'>'
  11815. + else
  11816. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  11817. + gl_next_as_first_directive=$gl_cv_next_sys_time_h
  11818. + fi
  11819. + NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H=$gl_next_as_first_directive
  11820. +
  11821. +
  11822. +
  11823. +
  11824. +
  11825. + if test $ac_cv_header_sys_time_h != yes; then
  11826. + HAVE_SYS_TIME_H=0
  11827. + fi
  11828. +
  11829. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
  11830. +$as_echo_n "checking for struct timeval... " >&6; }
  11831. +if ${gl_cv_sys_struct_timeval+:} false; then :
  11832. + $as_echo_n "(cached) " >&6
  11833. +else
  11834. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11835. +/* end confdefs.h. */
  11836. +#if HAVE_SYS_TIME_H
  11837. + #include <sys/time.h>
  11838. + #endif
  11839. + #include <time.h>
  11840. +
  11841. +int
  11842. +main ()
  11843. +{
  11844. +static struct timeval x; x.tv_sec = x.tv_usec;
  11845. + ;
  11846. + return 0;
  11847. +}
  11848. +_ACEOF
  11849. +if ac_fn_c_try_compile "$LINENO"; then :
  11850. + gl_cv_sys_struct_timeval=yes
  11851. +else
  11852. + gl_cv_sys_struct_timeval=no
  11853. +fi
  11854. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11855. +fi
  11856. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timeval" >&5
  11857. +$as_echo "$gl_cv_sys_struct_timeval" >&6; }
  11858. + if test $gl_cv_sys_struct_timeval != yes; then
  11859. + HAVE_STRUCT_TIMEVAL=0
  11860. + fi
  11861. +
  11862. +
  11863. +
  11864. +
  11865. +
  11866. +
  11867. +
  11868. +
  11869. +
  11870. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
  11871. +$as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
  11872. +if ${gl_cv_cc_float_expbit0+:} false; then :
  11873. + $as_echo_n "(cached) " >&6
  11874. +else
  11875. +
  11876. + if test "$cross_compiling" = yes; then :
  11877. + gl_cv_cc_float_expbit0="word 0 bit 23"
  11878. +else
  11879. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11880. +/* end confdefs.h. */
  11881. +
  11882. +#include <float.h>
  11883. +#include <stddef.h>
  11884. +#include <stdio.h>
  11885. +#include <string.h>
  11886. +#define NWORDS \
  11887. + ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  11888. +typedef union { float value; unsigned int word[NWORDS]; } memory_float;
  11889. +static unsigned int ored_words[NWORDS];
  11890. +static unsigned int anded_words[NWORDS];
  11891. +static void add_to_ored_words (float x)
  11892. +{
  11893. + memory_float m;
  11894. + size_t i;
  11895. + /* Clear it first, in case
  11896. + sizeof (float) < sizeof (memory_float). */
  11897. + memset (&m, 0, sizeof (memory_float));
  11898. + m.value = x;
  11899. + for (i = 0; i < NWORDS; i++)
  11900. + {
  11901. + ored_words[i] |= m.word[i];
  11902. + anded_words[i] &= m.word[i];
  11903. + }
  11904. +}
  11905. +int main ()
  11906. +{
  11907. + size_t j;
  11908. + FILE *fp = fopen ("conftest.out", "w");
  11909. + if (fp == NULL)
  11910. + return 1;
  11911. + for (j = 0; j < NWORDS; j++)
  11912. + anded_words[j] = ~ (unsigned int) 0;
  11913. + add_to_ored_words (0.25f);
  11914. + add_to_ored_words (0.5f);
  11915. + add_to_ored_words (1.0f);
  11916. + add_to_ored_words (2.0f);
  11917. + add_to_ored_words (4.0f);
  11918. + /* Remove bits that are common (e.g. if representation of the first mantissa
  11919. + bit is explicit). */
  11920. + for (j = 0; j < NWORDS; j++)
  11921. + ored_words[j] &= ~anded_words[j];
  11922. + /* Now find the nonzero word. */
  11923. + for (j = 0; j < NWORDS; j++)
  11924. + if (ored_words[j] != 0)
  11925. + break;
  11926. + if (j < NWORDS)
  11927. + {
  11928. + size_t i;
  11929. + for (i = j + 1; i < NWORDS; i++)
  11930. + if (ored_words[i] != 0)
  11931. + {
  11932. + fprintf (fp, "unknown");
  11933. + return (fclose (fp) != 0);
  11934. + }
  11935. + for (i = 0; ; i++)
  11936. + if ((ored_words[j] >> i) & 1)
  11937. + {
  11938. + fprintf (fp, "word %d bit %d", (int) j, (int) i);
  11939. + return (fclose (fp) != 0);
  11940. + }
  11941. + }
  11942. + fprintf (fp, "unknown");
  11943. + return (fclose (fp) != 0);
  11944. +}
  11945. +
  11946. +_ACEOF
  11947. +if ac_fn_c_try_run "$LINENO"; then :
  11948. + gl_cv_cc_float_expbit0=`cat conftest.out`
  11949. +else
  11950. + gl_cv_cc_float_expbit0="unknown"
  11951. +fi
  11952. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  11953. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  11954. +fi
  11955. +
  11956. + rm -f conftest.out
  11957. +
  11958. +fi
  11959. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5
  11960. +$as_echo "$gl_cv_cc_float_expbit0" >&6; }
  11961. + case "$gl_cv_cc_float_expbit0" in
  11962. + word*bit*)
  11963. + word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
  11964. + bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'`
  11965. +
  11966. +cat >>confdefs.h <<_ACEOF
  11967. +@%:@define FLT_EXPBIT0_WORD $word
  11968. +_ACEOF
  11969. +
  11970. +
  11971. +cat >>confdefs.h <<_ACEOF
  11972. +@%:@define FLT_EXPBIT0_BIT $bit
  11973. +_ACEOF
  11974. +
  11975. + ;;
  11976. + esac
  11977. +
  11978. +
  11979. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  11980. +$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  11981. +if ${ac_cv_c_bigendian+:} false; then :
  11982. + $as_echo_n "(cached) " >&6
  11983. +else
  11984. + ac_cv_c_bigendian=unknown
  11985. + # See if we're dealing with a universal compiler.
  11986. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11987. +/* end confdefs.h. */
  11988. +#ifndef __APPLE_CC__
  11989. + not a universal capable compiler
  11990. + #endif
  11991. + typedef int dummy;
  11992. +
  11993. +_ACEOF
  11994. +if ac_fn_c_try_compile "$LINENO"; then :
  11995. +
  11996. + # Check for potential -arch flags. It is not universal unless
  11997. + # there are at least two -arch flags with different values.
  11998. + ac_arch=
  11999. + ac_prev=
  12000. + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  12001. + if test -n "$ac_prev"; then
  12002. + case $ac_word in
  12003. + i?86 | x86_64 | ppc | ppc64)
  12004. + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  12005. + ac_arch=$ac_word
  12006. + else
  12007. + ac_cv_c_bigendian=universal
  12008. + break
  12009. + fi
  12010. + ;;
  12011. + esac
  12012. + ac_prev=
  12013. + elif test "x$ac_word" = "x-arch"; then
  12014. + ac_prev=arch
  12015. + fi
  12016. + done
  12017. +fi
  12018. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12019. + if test $ac_cv_c_bigendian = unknown; then
  12020. + # See if sys/param.h defines the BYTE_ORDER macro.
  12021. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12022. +/* end confdefs.h. */
  12023. +#include <sys/types.h>
  12024. + #include <sys/param.h>
  12025. +
  12026. +int
  12027. +main ()
  12028. +{
  12029. +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  12030. + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  12031. + && LITTLE_ENDIAN)
  12032. + bogus endian macros
  12033. + #endif
  12034. +
  12035. + ;
  12036. + return 0;
  12037. +}
  12038. +_ACEOF
  12039. +if ac_fn_c_try_compile "$LINENO"; then :
  12040. + # It does; now see whether it defined to BIG_ENDIAN or not.
  12041. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12042. +/* end confdefs.h. */
  12043. +#include <sys/types.h>
  12044. + #include <sys/param.h>
  12045. +
  12046. +int
  12047. +main ()
  12048. +{
  12049. +#if BYTE_ORDER != BIG_ENDIAN
  12050. + not big endian
  12051. + #endif
  12052. +
  12053. + ;
  12054. + return 0;
  12055. +}
  12056. +_ACEOF
  12057. +if ac_fn_c_try_compile "$LINENO"; then :
  12058. + ac_cv_c_bigendian=yes
  12059. +else
  12060. + ac_cv_c_bigendian=no
  12061. +fi
  12062. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12063. +fi
  12064. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12065. + fi
  12066. + if test $ac_cv_c_bigendian = unknown; then
  12067. + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  12068. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12069. +/* end confdefs.h. */
  12070. +#include <limits.h>
  12071. +
  12072. +int
  12073. +main ()
  12074. +{
  12075. +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  12076. + bogus endian macros
  12077. + #endif
  12078. +
  12079. + ;
  12080. + return 0;
  12081. +}
  12082. +_ACEOF
  12083. +if ac_fn_c_try_compile "$LINENO"; then :
  12084. + # It does; now see whether it defined to _BIG_ENDIAN or not.
  12085. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12086. +/* end confdefs.h. */
  12087. +#include <limits.h>
  12088. +
  12089. +int
  12090. +main ()
  12091. +{
  12092. +#ifndef _BIG_ENDIAN
  12093. + not big endian
  12094. + #endif
  12095. +
  12096. + ;
  12097. + return 0;
  12098. +}
  12099. +_ACEOF
  12100. +if ac_fn_c_try_compile "$LINENO"; then :
  12101. + ac_cv_c_bigendian=yes
  12102. +else
  12103. + ac_cv_c_bigendian=no
  12104. +fi
  12105. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12106. +fi
  12107. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12108. + fi
  12109. + if test $ac_cv_c_bigendian = unknown; then
  12110. + # Compile a test program.
  12111. + if test "$cross_compiling" = yes; then :
  12112. + # Try to guess by grepping values from an object file.
  12113. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12114. +/* end confdefs.h. */
  12115. +short int ascii_mm[] =
  12116. + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  12117. + short int ascii_ii[] =
  12118. + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  12119. + int use_ascii (int i) {
  12120. + return ascii_mm[i] + ascii_ii[i];
  12121. + }
  12122. + short int ebcdic_ii[] =
  12123. + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  12124. + short int ebcdic_mm[] =
  12125. + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  12126. + int use_ebcdic (int i) {
  12127. + return ebcdic_mm[i] + ebcdic_ii[i];
  12128. + }
  12129. + extern int foo;
  12130. +
  12131. +int
  12132. +main ()
  12133. +{
  12134. +return use_ascii (foo) == use_ebcdic (foo);
  12135. + ;
  12136. + return 0;
  12137. +}
  12138. +_ACEOF
  12139. +if ac_fn_c_try_compile "$LINENO"; then :
  12140. + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  12141. + ac_cv_c_bigendian=yes
  12142. + fi
  12143. + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  12144. + if test "$ac_cv_c_bigendian" = unknown; then
  12145. + ac_cv_c_bigendian=no
  12146. + else
  12147. + # finding both strings is unlikely to happen, but who knows?
  12148. + ac_cv_c_bigendian=unknown
  12149. + fi
  12150. + fi
  12151. +fi
  12152. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12153. +else
  12154. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12155. +/* end confdefs.h. */
  12156. +$ac_includes_default
  12157. +int
  12158. +main ()
  12159. +{
  12160. +
  12161. + /* Are we little or big endian? From Harbison&Steele. */
  12162. + union
  12163. + {
  12164. + long int l;
  12165. + char c[sizeof (long int)];
  12166. + } u;
  12167. + u.l = 1;
  12168. + return u.c[sizeof (long int) - 1] == 1;
  12169. +
  12170. + ;
  12171. + return 0;
  12172. +}
  12173. +_ACEOF
  12174. +if ac_fn_c_try_run "$LINENO"; then :
  12175. + ac_cv_c_bigendian=no
  12176. +else
  12177. + ac_cv_c_bigendian=yes
  12178. +fi
  12179. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  12180. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  12181. +fi
  12182. +
  12183. + fi
  12184. +fi
  12185. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  12186. +$as_echo "$ac_cv_c_bigendian" >&6; }
  12187. + case $ac_cv_c_bigendian in #(
  12188. + yes)
  12189. + $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
  12190. +;; #(
  12191. + no)
  12192. + ;; #(
  12193. + universal)
  12194. +
  12195. +$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  12196. +
  12197. + ;; #(
  12198. + *)
  12199. + as_fn_error $? "unknown endianness
  12200. + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  12201. + esac
  12202. +
  12203. +
  12204. +
  12205. + GNULIB_NL_LANGINFO=0;
  12206. + HAVE_NL_LANGINFO=1;
  12207. + REPLACE_NL_LANGINFO=0;
  12208. +
  12209. +
  12210. +
  12211. +ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
  12212. +if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
  12213. + ac_have_decl=1
  12214. +else
  12215. + ac_have_decl=0
  12216. +fi
  12217. +
  12218. +cat >>confdefs.h <<_ACEOF
  12219. +@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
  12220. +_ACEOF
  12221. +
  12222. +
  12223. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library >= 2.1 or uClibc" >&5
  12224. +$as_echo_n "checking whether we are using the GNU C Library >= 2.1 or uClibc... " >&6; }
  12225. +if ${ac_cv_gnu_library_2_1+:} false; then :
  12226. + $as_echo_n "(cached) " >&6
  12227. +else
  12228. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12229. +/* end confdefs.h. */
  12230. +
  12231. +#include <features.h>
  12232. +#ifdef __GNU_LIBRARY__
  12233. + #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
  12234. + Lucky GNU user
  12235. + #endif
  12236. +#endif
  12237. +#ifdef __UCLIBC__
  12238. + Lucky user
  12239. +#endif
  12240. +
  12241. +_ACEOF
  12242. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  12243. + $EGREP "Lucky" >/dev/null 2>&1; then :
  12244. + ac_cv_gnu_library_2_1=yes
  12245. +else
  12246. + ac_cv_gnu_library_2_1=no
  12247. +fi
  12248. +rm -f conftest*
  12249. +
  12250. +
  12251. +
  12252. +fi
  12253. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
  12254. +$as_echo "$ac_cv_gnu_library_2_1" >&6; }
  12255. +
  12256. + GLIBC21="$ac_cv_gnu_library_2_1"
  12257. +
  12258. +
  12259. +
  12260. +
  12261. + gl_threads_api=none
  12262. + LIBTHREAD=
  12263. + LTLIBTHREAD=
  12264. + LIBMULTITHREAD=
  12265. + LTLIBMULTITHREAD=
  12266. + if test "$gl_use_threads" != no; then
  12267. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5
  12268. +$as_echo_n "checking whether imported symbols can be declared weak... " >&6; }
  12269. +if ${gl_cv_have_weak+:} false; then :
  12270. + $as_echo_n "(cached) " >&6
  12271. +else
  12272. + gl_cv_have_weak=no
  12273. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12274. +/* end confdefs.h. */
  12275. +extern void xyzzy ();
  12276. +#pragma weak xyzzy
  12277. +int
  12278. +main ()
  12279. +{
  12280. +xyzzy();
  12281. + ;
  12282. + return 0;
  12283. +}
  12284. +_ACEOF
  12285. +if ac_fn_c_try_link "$LINENO"; then :
  12286. + gl_cv_have_weak=maybe
  12287. +fi
  12288. +rm -f core conftest.err conftest.$ac_objext \
  12289. + conftest$ac_exeext conftest.$ac_ext
  12290. + if test $gl_cv_have_weak = maybe; then
  12291. + if test "$cross_compiling" = yes; then :
  12292. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12293. +/* end confdefs.h. */
  12294. +#ifdef __ELF__
  12295. + Extensible Linking Format
  12296. + #endif
  12297. +
  12298. +_ACEOF
  12299. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  12300. + $EGREP "Extensible Linking Format" >/dev/null 2>&1; then :
  12301. + gl_cv_have_weak="guessing yes"
  12302. +else
  12303. + gl_cv_have_weak="guessing no"
  12304. +fi
  12305. +rm -f conftest*
  12306. +
  12307. +
  12308. +else
  12309. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12310. +/* end confdefs.h. */
  12311. +
  12312. +#include <stdio.h>
  12313. +#pragma weak fputs
  12314. +int main ()
  12315. +{
  12316. + return (fputs == NULL);
  12317. +}
  12318. +_ACEOF
  12319. +if ac_fn_c_try_run "$LINENO"; then :
  12320. + gl_cv_have_weak=yes
  12321. +else
  12322. + gl_cv_have_weak=no
  12323. +fi
  12324. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  12325. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  12326. +fi
  12327. +
  12328. + fi
  12329. +
  12330. +fi
  12331. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5
  12332. +$as_echo "$gl_cv_have_weak" >&6; }
  12333. + if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
  12334. + # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
  12335. + # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY.
  12336. + ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
  12337. +if test "x$ac_cv_header_pthread_h" = xyes; then :
  12338. + gl_have_pthread_h=yes
  12339. +else
  12340. + gl_have_pthread_h=no
  12341. +fi
  12342. +
  12343. +
  12344. + if test "$gl_have_pthread_h" = yes; then
  12345. + # Other possible tests:
  12346. + # -lpthreads (FSU threads, PCthreads)
  12347. + # -lgthreads
  12348. + gl_have_pthread=
  12349. + # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
  12350. + # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
  12351. + # the second one only in libpthread, and lock.c needs it.
  12352. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12353. +/* end confdefs.h. */
  12354. +#include <pthread.h>
  12355. +int
  12356. +main ()
  12357. +{
  12358. +pthread_mutex_lock((pthread_mutex_t*)0);
  12359. + pthread_mutexattr_init((pthread_mutexattr_t*)0);
  12360. + ;
  12361. + return 0;
  12362. +}
  12363. +_ACEOF
  12364. +if ac_fn_c_try_link "$LINENO"; then :
  12365. + gl_have_pthread=yes
  12366. +fi
  12367. +rm -f core conftest.err conftest.$ac_objext \
  12368. + conftest$ac_exeext conftest.$ac_ext
  12369. + # Test for libpthread by looking for pthread_kill. (Not pthread_self,
  12370. + # since it is defined as a macro on OSF/1.)
  12371. + if test -n "$gl_have_pthread"; then
  12372. + # The program links fine without libpthread. But it may actually
  12373. + # need to link with libpthread in order to create multiple threads.
  12374. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
  12375. +$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
  12376. +if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
  12377. + $as_echo_n "(cached) " >&6
  12378. +else
  12379. + ac_check_lib_save_LIBS=$LIBS
  12380. +LIBS="-lpthread $LIBS"
  12381. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12382. +/* end confdefs.h. */
  12383. +
  12384. +/* Override any GCC internal prototype to avoid an error.
  12385. + Use char because int might match the return type of a GCC
  12386. + builtin and then its argument prototype would still apply. */
  12387. +#ifdef __cplusplus
  12388. +extern "C"
  12389. +#endif
  12390. +char pthread_kill ();
  12391. +int
  12392. +main ()
  12393. +{
  12394. +return pthread_kill ();
  12395. + ;
  12396. + return 0;
  12397. +}
  12398. +_ACEOF
  12399. +if ac_fn_c_try_link "$LINENO"; then :
  12400. + ac_cv_lib_pthread_pthread_kill=yes
  12401. +else
  12402. + ac_cv_lib_pthread_pthread_kill=no
  12403. +fi
  12404. +rm -f core conftest.err conftest.$ac_objext \
  12405. + conftest$ac_exeext conftest.$ac_ext
  12406. +LIBS=$ac_check_lib_save_LIBS
  12407. +fi
  12408. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
  12409. +$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
  12410. +if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
  12411. + LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
  12412. + # On Solaris and HP-UX, most pthread functions exist also in libc.
  12413. + # Therefore pthread_in_use() needs to actually try to create a
  12414. + # thread: pthread_create from libc will fail, whereas
  12415. + # pthread_create will actually create a thread.
  12416. + case "$host_os" in
  12417. + solaris* | hpux*)
  12418. +
  12419. +$as_echo "@%:@define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
  12420. +
  12421. + esac
  12422. +
  12423. +fi
  12424. +
  12425. + else
  12426. + # Some library is needed. Try libpthread and libc_r.
  12427. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
  12428. +$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
  12429. +if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
  12430. + $as_echo_n "(cached) " >&6
  12431. +else
  12432. + ac_check_lib_save_LIBS=$LIBS
  12433. +LIBS="-lpthread $LIBS"
  12434. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12435. +/* end confdefs.h. */
  12436. +
  12437. +/* Override any GCC internal prototype to avoid an error.
  12438. + Use char because int might match the return type of a GCC
  12439. + builtin and then its argument prototype would still apply. */
  12440. +#ifdef __cplusplus
  12441. +extern "C"
  12442. +#endif
  12443. +char pthread_kill ();
  12444. +int
  12445. +main ()
  12446. +{
  12447. +return pthread_kill ();
  12448. + ;
  12449. + return 0;
  12450. +}
  12451. +_ACEOF
  12452. +if ac_fn_c_try_link "$LINENO"; then :
  12453. + ac_cv_lib_pthread_pthread_kill=yes
  12454. +else
  12455. + ac_cv_lib_pthread_pthread_kill=no
  12456. +fi
  12457. +rm -f core conftest.err conftest.$ac_objext \
  12458. + conftest$ac_exeext conftest.$ac_ext
  12459. +LIBS=$ac_check_lib_save_LIBS
  12460. +fi
  12461. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
  12462. +$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
  12463. +if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
  12464. + gl_have_pthread=yes
  12465. + LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
  12466. + LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
  12467. +fi
  12468. +
  12469. + if test -z "$gl_have_pthread"; then
  12470. + # For FreeBSD 4.
  12471. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5
  12472. +$as_echo_n "checking for pthread_kill in -lc_r... " >&6; }
  12473. +if ${ac_cv_lib_c_r_pthread_kill+:} false; then :
  12474. + $as_echo_n "(cached) " >&6
  12475. +else
  12476. + ac_check_lib_save_LIBS=$LIBS
  12477. +LIBS="-lc_r $LIBS"
  12478. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12479. +/* end confdefs.h. */
  12480. +
  12481. +/* Override any GCC internal prototype to avoid an error.
  12482. + Use char because int might match the return type of a GCC
  12483. + builtin and then its argument prototype would still apply. */
  12484. +#ifdef __cplusplus
  12485. +extern "C"
  12486. +#endif
  12487. +char pthread_kill ();
  12488. +int
  12489. +main ()
  12490. +{
  12491. +return pthread_kill ();
  12492. + ;
  12493. + return 0;
  12494. +}
  12495. +_ACEOF
  12496. +if ac_fn_c_try_link "$LINENO"; then :
  12497. + ac_cv_lib_c_r_pthread_kill=yes
  12498. +else
  12499. + ac_cv_lib_c_r_pthread_kill=no
  12500. +fi
  12501. +rm -f core conftest.err conftest.$ac_objext \
  12502. + conftest$ac_exeext conftest.$ac_ext
  12503. +LIBS=$ac_check_lib_save_LIBS
  12504. +fi
  12505. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5
  12506. +$as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; }
  12507. +if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then :
  12508. + gl_have_pthread=yes
  12509. + LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
  12510. + LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r
  12511. +fi
  12512. +
  12513. + fi
  12514. + fi
  12515. + if test -n "$gl_have_pthread"; then
  12516. + gl_threads_api=posix
  12517. +
  12518. +$as_echo "@%:@define USE_POSIX_THREADS 1" >>confdefs.h
  12519. +
  12520. + if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
  12521. + if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
  12522. +
  12523. +$as_echo "@%:@define USE_POSIX_THREADS_WEAK 1" >>confdefs.h
  12524. +
  12525. + LIBTHREAD=
  12526. + LTLIBTHREAD=
  12527. + fi
  12528. + fi
  12529. + fi
  12530. + fi
  12531. + fi
  12532. + if test -z "$gl_have_pthread"; then
  12533. + if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
  12534. + gl_have_solaristhread=
  12535. + gl_save_LIBS="$LIBS"
  12536. + LIBS="$LIBS -lthread"
  12537. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12538. +/* end confdefs.h. */
  12539. +
  12540. +#include <thread.h>
  12541. +#include <synch.h>
  12542. +
  12543. +int
  12544. +main ()
  12545. +{
  12546. +thr_self();
  12547. + ;
  12548. + return 0;
  12549. +}
  12550. +_ACEOF
  12551. +if ac_fn_c_try_link "$LINENO"; then :
  12552. + gl_have_solaristhread=yes
  12553. +fi
  12554. +rm -f core conftest.err conftest.$ac_objext \
  12555. + conftest$ac_exeext conftest.$ac_ext
  12556. + LIBS="$gl_save_LIBS"
  12557. + if test -n "$gl_have_solaristhread"; then
  12558. + gl_threads_api=solaris
  12559. + LIBTHREAD=-lthread
  12560. + LTLIBTHREAD=-lthread
  12561. + LIBMULTITHREAD="$LIBTHREAD"
  12562. + LTLIBMULTITHREAD="$LTLIBTHREAD"
  12563. +
  12564. +$as_echo "@%:@define USE_SOLARIS_THREADS 1" >>confdefs.h
  12565. +
  12566. + if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
  12567. +
  12568. +$as_echo "@%:@define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h
  12569. +
  12570. + LIBTHREAD=
  12571. + LTLIBTHREAD=
  12572. + fi
  12573. + fi
  12574. + fi
  12575. + fi
  12576. + if test "$gl_use_threads" = pth; then
  12577. + gl_save_CPPFLAGS="$CPPFLAGS"
  12578. +
  12579. +
  12580. +
  12581. +
  12582. +
  12583. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5
  12584. +$as_echo_n "checking how to link with libpth... " >&6; }
  12585. +if ${ac_cv_libpth_libs+:} false; then :
  12586. + $as_echo_n "(cached) " >&6
  12587. +else
  12588. +
  12589. +
  12590. +
  12591. +
  12592. +
  12593. +
  12594. +
  12595. +
  12596. + use_additional=yes
  12597. +
  12598. + acl_save_prefix="$prefix"
  12599. + prefix="$acl_final_prefix"
  12600. + acl_save_exec_prefix="$exec_prefix"
  12601. + exec_prefix="$acl_final_exec_prefix"
  12602. +
  12603. + eval additional_includedir=\"$includedir\"
  12604. + eval additional_libdir=\"$libdir\"
  12605. +
  12606. + exec_prefix="$acl_save_exec_prefix"
  12607. + prefix="$acl_save_prefix"
  12608. +
  12609. +
  12610. +@%:@ Check whether --with-libpth-prefix was given.
  12611. +if test "${with_libpth_prefix+set}" = set; then :
  12612. + withval=$with_libpth_prefix;
  12613. + if test "X$withval" = "Xno"; then
  12614. + use_additional=no
  12615. + else
  12616. + if test "X$withval" = "X"; then
  12617. +
  12618. + acl_save_prefix="$prefix"
  12619. + prefix="$acl_final_prefix"
  12620. + acl_save_exec_prefix="$exec_prefix"
  12621. + exec_prefix="$acl_final_exec_prefix"
  12622. +
  12623. + eval additional_includedir=\"$includedir\"
  12624. + eval additional_libdir=\"$libdir\"
  12625. +
  12626. + exec_prefix="$acl_save_exec_prefix"
  12627. + prefix="$acl_save_prefix"
  12628. +
  12629. + else
  12630. + additional_includedir="$withval/include"
  12631. + additional_libdir="$withval/$acl_libdirstem"
  12632. + if test "$acl_libdirstem2" != "$acl_libdirstem" \
  12633. + && ! test -d "$withval/$acl_libdirstem"; then
  12634. + additional_libdir="$withval/$acl_libdirstem2"
  12635. + fi
  12636. + fi
  12637. + fi
  12638. +
  12639. +fi
  12640. +
  12641. + LIBPTH=
  12642. + LTLIBPTH=
  12643. + INCPTH=
  12644. + LIBPTH_PREFIX=
  12645. + HAVE_LIBPTH=
  12646. + rpathdirs=
  12647. + ltrpathdirs=
  12648. + names_already_handled=
  12649. + names_next_round='pth '
  12650. + while test -n "$names_next_round"; do
  12651. + names_this_round="$names_next_round"
  12652. + names_next_round=
  12653. + for name in $names_this_round; do
  12654. + already_handled=
  12655. + for n in $names_already_handled; do
  12656. + if test "$n" = "$name"; then
  12657. + already_handled=yes
  12658. + break
  12659. + fi
  12660. + done
  12661. + if test -z "$already_handled"; then
  12662. + names_already_handled="$names_already_handled $name"
  12663. + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
  12664. + eval value=\"\$HAVE_LIB$uppername\"
  12665. + if test -n "$value"; then
  12666. + if test "$value" = yes; then
  12667. + eval value=\"\$LIB$uppername\"
  12668. + test -z "$value" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value"
  12669. + eval value=\"\$LTLIB$uppername\"
  12670. + test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$value"
  12671. + else
  12672. + :
  12673. + fi
  12674. + else
  12675. + found_dir=
  12676. + found_la=
  12677. + found_so=
  12678. + found_a=
  12679. + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
  12680. + if test -n "$acl_shlibext"; then
  12681. + shrext=".$acl_shlibext" # typically: shrext=.so
  12682. + else
  12683. + shrext=
  12684. + fi
  12685. + if test $use_additional = yes; then
  12686. + dir="$additional_libdir"
  12687. + if test -n "$acl_shlibext"; then
  12688. + if test -f "$dir/$libname$shrext"; then
  12689. + found_dir="$dir"
  12690. + found_so="$dir/$libname$shrext"
  12691. + else
  12692. + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  12693. + ver=`(cd "$dir" && \
  12694. + for f in "$libname$shrext".*; do echo "$f"; done \
  12695. + | sed -e "s,^$libname$shrext\\\\.,," \
  12696. + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  12697. + | sed 1q ) 2>/dev/null`
  12698. + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  12699. + found_dir="$dir"
  12700. + found_so="$dir/$libname$shrext.$ver"
  12701. + fi
  12702. + else
  12703. + eval library_names=\"$acl_library_names_spec\"
  12704. + for f in $library_names; do
  12705. + if test -f "$dir/$f"; then
  12706. + found_dir="$dir"
  12707. + found_so="$dir/$f"
  12708. + break
  12709. + fi
  12710. + done
  12711. + fi
  12712. + fi
  12713. + fi
  12714. + if test "X$found_dir" = "X"; then
  12715. + if test -f "$dir/$libname.$acl_libext"; then
  12716. + found_dir="$dir"
  12717. + found_a="$dir/$libname.$acl_libext"
  12718. + fi
  12719. + fi
  12720. + if test "X$found_dir" != "X"; then
  12721. + if test -f "$dir/$libname.la"; then
  12722. + found_la="$dir/$libname.la"
  12723. + fi
  12724. + fi
  12725. + fi
  12726. + if test "X$found_dir" = "X"; then
  12727. + for x in $LDFLAGS $LTLIBPTH; do
  12728. +
  12729. + acl_save_prefix="$prefix"
  12730. + prefix="$acl_final_prefix"
  12731. + acl_save_exec_prefix="$exec_prefix"
  12732. + exec_prefix="$acl_final_exec_prefix"
  12733. + eval x=\"$x\"
  12734. + exec_prefix="$acl_save_exec_prefix"
  12735. + prefix="$acl_save_prefix"
  12736. +
  12737. + case "$x" in
  12738. + -L*)
  12739. + dir=`echo "X$x" | sed -e 's/^X-L//'`
  12740. + if test -n "$acl_shlibext"; then
  12741. + if test -f "$dir/$libname$shrext"; then
  12742. + found_dir="$dir"
  12743. + found_so="$dir/$libname$shrext"
  12744. + else
  12745. + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  12746. + ver=`(cd "$dir" && \
  12747. + for f in "$libname$shrext".*; do echo "$f"; done \
  12748. + | sed -e "s,^$libname$shrext\\\\.,," \
  12749. + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  12750. + | sed 1q ) 2>/dev/null`
  12751. + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  12752. + found_dir="$dir"
  12753. + found_so="$dir/$libname$shrext.$ver"
  12754. + fi
  12755. + else
  12756. + eval library_names=\"$acl_library_names_spec\"
  12757. + for f in $library_names; do
  12758. + if test -f "$dir/$f"; then
  12759. + found_dir="$dir"
  12760. + found_so="$dir/$f"
  12761. + break
  12762. + fi
  12763. + done
  12764. + fi
  12765. + fi
  12766. + fi
  12767. + if test "X$found_dir" = "X"; then
  12768. + if test -f "$dir/$libname.$acl_libext"; then
  12769. + found_dir="$dir"
  12770. + found_a="$dir/$libname.$acl_libext"
  12771. + fi
  12772. + fi
  12773. + if test "X$found_dir" != "X"; then
  12774. + if test -f "$dir/$libname.la"; then
  12775. + found_la="$dir/$libname.la"
  12776. + fi
  12777. + fi
  12778. + ;;
  12779. + esac
  12780. + if test "X$found_dir" != "X"; then
  12781. + break
  12782. + fi
  12783. + done
  12784. + fi
  12785. + if test "X$found_dir" != "X"; then
  12786. + LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name"
  12787. + if test "X$found_so" != "X"; then
  12788. + if test "$enable_rpath" = no \
  12789. + || test "X$found_dir" = "X/usr/$acl_libdirstem" \
  12790. + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
  12791. + LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
  12792. + else
  12793. + haveit=
  12794. + for x in $ltrpathdirs; do
  12795. + if test "X$x" = "X$found_dir"; then
  12796. + haveit=yes
  12797. + break
  12798. + fi
  12799. + done
  12800. + if test -z "$haveit"; then
  12801. + ltrpathdirs="$ltrpathdirs $found_dir"
  12802. + fi
  12803. + if test "$acl_hardcode_direct" = yes; then
  12804. + LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
  12805. + else
  12806. + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
  12807. + LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
  12808. + haveit=
  12809. + for x in $rpathdirs; do
  12810. + if test "X$x" = "X$found_dir"; then
  12811. + haveit=yes
  12812. + break
  12813. + fi
  12814. + done
  12815. + if test -z "$haveit"; then
  12816. + rpathdirs="$rpathdirs $found_dir"
  12817. + fi
  12818. + else
  12819. + haveit=
  12820. + for x in $LDFLAGS $LIBPTH; do
  12821. +
  12822. + acl_save_prefix="$prefix"
  12823. + prefix="$acl_final_prefix"
  12824. + acl_save_exec_prefix="$exec_prefix"
  12825. + exec_prefix="$acl_final_exec_prefix"
  12826. + eval x=\"$x\"
  12827. + exec_prefix="$acl_save_exec_prefix"
  12828. + prefix="$acl_save_prefix"
  12829. +
  12830. + if test "X$x" = "X-L$found_dir"; then
  12831. + haveit=yes
  12832. + break
  12833. + fi
  12834. + done
  12835. + if test -z "$haveit"; then
  12836. + LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir"
  12837. + fi
  12838. + if test "$acl_hardcode_minus_L" != no; then
  12839. + LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
  12840. + else
  12841. + LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
  12842. + fi
  12843. + fi
  12844. + fi
  12845. + fi
  12846. + else
  12847. + if test "X$found_a" != "X"; then
  12848. + LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a"
  12849. + else
  12850. + LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir -l$name"
  12851. + fi
  12852. + fi
  12853. + additional_includedir=
  12854. + case "$found_dir" in
  12855. + */$acl_libdirstem | */$acl_libdirstem/)
  12856. + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
  12857. + if test "$name" = 'pth'; then
  12858. + LIBPTH_PREFIX="$basedir"
  12859. + fi
  12860. + additional_includedir="$basedir/include"
  12861. + ;;
  12862. + */$acl_libdirstem2 | */$acl_libdirstem2/)
  12863. + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
  12864. + if test "$name" = 'pth'; then
  12865. + LIBPTH_PREFIX="$basedir"
  12866. + fi
  12867. + additional_includedir="$basedir/include"
  12868. + ;;
  12869. + esac
  12870. + if test "X$additional_includedir" != "X"; then
  12871. + if test "X$additional_includedir" != "X/usr/include"; then
  12872. + haveit=
  12873. + if test "X$additional_includedir" = "X/usr/local/include"; then
  12874. + if test -n "$GCC"; then
  12875. + case $host_os in
  12876. + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  12877. + esac
  12878. + fi
  12879. + fi
  12880. + if test -z "$haveit"; then
  12881. + for x in $CPPFLAGS $INCPTH; do
  12882. +
  12883. + acl_save_prefix="$prefix"
  12884. + prefix="$acl_final_prefix"
  12885. + acl_save_exec_prefix="$exec_prefix"
  12886. + exec_prefix="$acl_final_exec_prefix"
  12887. + eval x=\"$x\"
  12888. + exec_prefix="$acl_save_exec_prefix"
  12889. + prefix="$acl_save_prefix"
  12890. +
  12891. + if test "X$x" = "X-I$additional_includedir"; then
  12892. + haveit=yes
  12893. + break
  12894. + fi
  12895. + done
  12896. + if test -z "$haveit"; then
  12897. + if test -d "$additional_includedir"; then
  12898. + INCPTH="${INCPTH}${INCPTH:+ }-I$additional_includedir"
  12899. + fi
  12900. + fi
  12901. + fi
  12902. + fi
  12903. + fi
  12904. + if test -n "$found_la"; then
  12905. + save_libdir="$libdir"
  12906. + case "$found_la" in
  12907. + */* | *\\*) . "$found_la" ;;
  12908. + *) . "./$found_la" ;;
  12909. + esac
  12910. + libdir="$save_libdir"
  12911. + for dep in $dependency_libs; do
  12912. + case "$dep" in
  12913. + -L*)
  12914. + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
  12915. + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
  12916. + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
  12917. + haveit=
  12918. + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
  12919. + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
  12920. + if test -n "$GCC"; then
  12921. + case $host_os in
  12922. + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  12923. + esac
  12924. + fi
  12925. + fi
  12926. + if test -z "$haveit"; then
  12927. + haveit=
  12928. + for x in $LDFLAGS $LIBPTH; do
  12929. +
  12930. + acl_save_prefix="$prefix"
  12931. + prefix="$acl_final_prefix"
  12932. + acl_save_exec_prefix="$exec_prefix"
  12933. + exec_prefix="$acl_final_exec_prefix"
  12934. + eval x=\"$x\"
  12935. + exec_prefix="$acl_save_exec_prefix"
  12936. + prefix="$acl_save_prefix"
  12937. +
  12938. + if test "X$x" = "X-L$additional_libdir"; then
  12939. + haveit=yes
  12940. + break
  12941. + fi
  12942. + done
  12943. + if test -z "$haveit"; then
  12944. + if test -d "$additional_libdir"; then
  12945. + LIBPTH="${LIBPTH}${LIBPTH:+ }-L$additional_libdir"
  12946. + fi
  12947. + fi
  12948. + haveit=
  12949. + for x in $LDFLAGS $LTLIBPTH; do
  12950. +
  12951. + acl_save_prefix="$prefix"
  12952. + prefix="$acl_final_prefix"
  12953. + acl_save_exec_prefix="$exec_prefix"
  12954. + exec_prefix="$acl_final_exec_prefix"
  12955. + eval x=\"$x\"
  12956. + exec_prefix="$acl_save_exec_prefix"
  12957. + prefix="$acl_save_prefix"
  12958. +
  12959. + if test "X$x" = "X-L$additional_libdir"; then
  12960. + haveit=yes
  12961. + break
  12962. + fi
  12963. + done
  12964. + if test -z "$haveit"; then
  12965. + if test -d "$additional_libdir"; then
  12966. + LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$additional_libdir"
  12967. + fi
  12968. + fi
  12969. + fi
  12970. + fi
  12971. + ;;
  12972. + -R*)
  12973. + dir=`echo "X$dep" | sed -e 's/^X-R//'`
  12974. + if test "$enable_rpath" != no; then
  12975. + haveit=
  12976. + for x in $rpathdirs; do
  12977. + if test "X$x" = "X$dir"; then
  12978. + haveit=yes
  12979. + break
  12980. + fi
  12981. + done
  12982. + if test -z "$haveit"; then
  12983. + rpathdirs="$rpathdirs $dir"
  12984. + fi
  12985. + haveit=
  12986. + for x in $ltrpathdirs; do
  12987. + if test "X$x" = "X$dir"; then
  12988. + haveit=yes
  12989. + break
  12990. + fi
  12991. + done
  12992. + if test -z "$haveit"; then
  12993. + ltrpathdirs="$ltrpathdirs $dir"
  12994. + fi
  12995. + fi
  12996. + ;;
  12997. + -l*)
  12998. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
  12999. + ;;
  13000. + *.la)
  13001. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
  13002. + ;;
  13003. + *)
  13004. + LIBPTH="${LIBPTH}${LIBPTH:+ }$dep"
  13005. + LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$dep"
  13006. + ;;
  13007. + esac
  13008. + done
  13009. + fi
  13010. + else
  13011. + LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
  13012. + LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-l$name"
  13013. + fi
  13014. + fi
  13015. + fi
  13016. + done
  13017. + done
  13018. + if test "X$rpathdirs" != "X"; then
  13019. + if test -n "$acl_hardcode_libdir_separator"; then
  13020. + alldirs=
  13021. + for found_dir in $rpathdirs; do
  13022. + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
  13023. + done
  13024. + acl_save_libdir="$libdir"
  13025. + libdir="$alldirs"
  13026. + eval flag=\"$acl_hardcode_libdir_flag_spec\"
  13027. + libdir="$acl_save_libdir"
  13028. + LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
  13029. + else
  13030. + for found_dir in $rpathdirs; do
  13031. + acl_save_libdir="$libdir"
  13032. + libdir="$found_dir"
  13033. + eval flag=\"$acl_hardcode_libdir_flag_spec\"
  13034. + libdir="$acl_save_libdir"
  13035. + LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
  13036. + done
  13037. + fi
  13038. + fi
  13039. + if test "X$ltrpathdirs" != "X"; then
  13040. + for found_dir in $ltrpathdirs; do
  13041. + LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir"
  13042. + done
  13043. + fi
  13044. +
  13045. +
  13046. +
  13047. +
  13048. +
  13049. +
  13050. + ac_cv_libpth_libs="$LIBPTH"
  13051. + ac_cv_libpth_ltlibs="$LTLIBPTH"
  13052. + ac_cv_libpth_cppflags="$INCPTH"
  13053. + ac_cv_libpth_prefix="$LIBPTH_PREFIX"
  13054. +
  13055. +fi
  13056. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5
  13057. +$as_echo "$ac_cv_libpth_libs" >&6; }
  13058. + LIBPTH="$ac_cv_libpth_libs"
  13059. + LTLIBPTH="$ac_cv_libpth_ltlibs"
  13060. + INCPTH="$ac_cv_libpth_cppflags"
  13061. + LIBPTH_PREFIX="$ac_cv_libpth_prefix"
  13062. +
  13063. + for element in $INCPTH; do
  13064. + haveit=
  13065. + for x in $CPPFLAGS; do
  13066. +
  13067. + acl_save_prefix="$prefix"
  13068. + prefix="$acl_final_prefix"
  13069. + acl_save_exec_prefix="$exec_prefix"
  13070. + exec_prefix="$acl_final_exec_prefix"
  13071. + eval x=\"$x\"
  13072. + exec_prefix="$acl_save_exec_prefix"
  13073. + prefix="$acl_save_prefix"
  13074. +
  13075. + if test "X$x" = "X$element"; then
  13076. + haveit=yes
  13077. + break
  13078. + fi
  13079. + done
  13080. + if test -z "$haveit"; then
  13081. + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
  13082. + fi
  13083. + done
  13084. +
  13085. +
  13086. +
  13087. +
  13088. + HAVE_LIBPTH=yes
  13089. +
  13090. +
  13091. +
  13092. + gl_have_pth=
  13093. + gl_save_LIBS="$LIBS"
  13094. + LIBS="$LIBS $LIBPTH"
  13095. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13096. +/* end confdefs.h. */
  13097. +#include <pth.h>
  13098. +int
  13099. +main ()
  13100. +{
  13101. +pth_self();
  13102. + ;
  13103. + return 0;
  13104. +}
  13105. +_ACEOF
  13106. +if ac_fn_c_try_link "$LINENO"; then :
  13107. + gl_have_pth=yes
  13108. +fi
  13109. +rm -f core conftest.err conftest.$ac_objext \
  13110. + conftest$ac_exeext conftest.$ac_ext
  13111. + LIBS="$gl_save_LIBS"
  13112. + if test -n "$gl_have_pth"; then
  13113. + gl_threads_api=pth
  13114. + LIBTHREAD="$LIBPTH"
  13115. + LTLIBTHREAD="$LTLIBPTH"
  13116. + LIBMULTITHREAD="$LIBTHREAD"
  13117. + LTLIBMULTITHREAD="$LTLIBTHREAD"
  13118. +
  13119. +$as_echo "@%:@define USE_PTH_THREADS 1" >>confdefs.h
  13120. +
  13121. + if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
  13122. + if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
  13123. +
  13124. +$as_echo "@%:@define USE_PTH_THREADS_WEAK 1" >>confdefs.h
  13125. +
  13126. + LIBTHREAD=
  13127. + LTLIBTHREAD=
  13128. + fi
  13129. + fi
  13130. + else
  13131. + CPPFLAGS="$gl_save_CPPFLAGS"
  13132. + fi
  13133. + fi
  13134. + if test -z "$gl_have_pthread"; then
  13135. + if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then
  13136. + if { case "$host_os" in
  13137. + mingw*) true;;
  13138. + *) false;;
  13139. + esac
  13140. + }; then
  13141. + gl_threads_api=win32
  13142. +
  13143. +$as_echo "@%:@define USE_WIN32_THREADS 1" >>confdefs.h
  13144. +
  13145. + fi
  13146. + fi
  13147. + fi
  13148. + fi
  13149. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5
  13150. +$as_echo_n "checking for multithread API to use... " >&6; }
  13151. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5
  13152. +$as_echo "$gl_threads_api" >&6; }
  13153. +
  13154. +
  13155. +
  13156. +
  13157. +
  13158. +
  13159. +
  13160. +
  13161. +
  13162. +
  13163. + GNULIB_FCHMODAT=0;
  13164. + GNULIB_FSTATAT=0;
  13165. + GNULIB_FUTIMENS=0;
  13166. + GNULIB_LCHMOD=0;
  13167. + GNULIB_LSTAT=0;
  13168. + GNULIB_MKDIRAT=0;
  13169. + GNULIB_MKFIFO=0;
  13170. + GNULIB_MKFIFOAT=0;
  13171. + GNULIB_MKNOD=0;
  13172. + GNULIB_MKNODAT=0;
  13173. + GNULIB_STAT=0;
  13174. + GNULIB_UTIMENSAT=0;
  13175. + HAVE_FCHMODAT=1;
  13176. + HAVE_FSTATAT=1;
  13177. + HAVE_FUTIMENS=1;
  13178. + HAVE_LCHMOD=1;
  13179. + HAVE_LSTAT=1;
  13180. + HAVE_MKDIRAT=1;
  13181. + HAVE_MKFIFO=1;
  13182. + HAVE_MKFIFOAT=1;
  13183. + HAVE_MKNOD=1;
  13184. + HAVE_MKNODAT=1;
  13185. + HAVE_UTIMENSAT=1;
  13186. + REPLACE_FSTAT=0;
  13187. + REPLACE_FSTATAT=0;
  13188. + REPLACE_FUTIMENS=0;
  13189. + REPLACE_LSTAT=0;
  13190. + REPLACE_MKDIR=0;
  13191. + REPLACE_MKFIFO=0;
  13192. + REPLACE_MKNOD=0;
  13193. + REPLACE_STAT=0;
  13194. + REPLACE_UTIMENSAT=0;
  13195. +
  13196. +
  13197. +
  13198. +
  13199. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
  13200. +$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
  13201. +if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
  13202. + $as_echo_n "(cached) " >&6
  13203. +else
  13204. + rm -f conftest.sym conftest.file
  13205. + echo >conftest.file
  13206. + if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
  13207. + if test "$cross_compiling" = yes; then :
  13208. + # When cross-compiling, be pessimistic so we will end up using the
  13209. + # replacement version of lstat that checks for trailing slashes and
  13210. + # calls lstat a second time when necessary.
  13211. + ac_cv_func_lstat_dereferences_slashed_symlink=no
  13212. +
  13213. +else
  13214. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13215. +/* end confdefs.h. */
  13216. +$ac_includes_default
  13217. +int
  13218. +main ()
  13219. +{
  13220. +struct stat sbuf;
  13221. + /* Linux will dereference the symlink and fail, as required by
  13222. + POSIX. That is better in the sense that it means we will not
  13223. + have to compile and use the lstat wrapper. */
  13224. + return lstat ("conftest.sym/", &sbuf) == 0;
  13225. +
  13226. + ;
  13227. + return 0;
  13228. +}
  13229. +_ACEOF
  13230. +if ac_fn_c_try_run "$LINENO"; then :
  13231. + ac_cv_func_lstat_dereferences_slashed_symlink=yes
  13232. +else
  13233. + ac_cv_func_lstat_dereferences_slashed_symlink=no
  13234. +fi
  13235. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  13236. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  13237. +fi
  13238. +
  13239. + else
  13240. + # If the 'ln -s' command failed, then we probably don't even
  13241. + # have an lstat function.
  13242. + ac_cv_func_lstat_dereferences_slashed_symlink=no
  13243. + fi
  13244. + rm -f conftest.sym conftest.file
  13245. +
  13246. +fi
  13247. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
  13248. +$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
  13249. + test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
  13250. +
  13251. +cat >>confdefs.h <<_ACEOF
  13252. +@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  13253. +_ACEOF
  13254. +
  13255. + if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
  13256. +
  13257. +
  13258. +
  13259. +
  13260. +
  13261. +
  13262. +
  13263. +
  13264. + M4_LIBOBJS="$M4_LIBOBJS lstat.$ac_objext"
  13265. +
  13266. + fi
  13267. +
  13268. +
  13269. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5
  13270. +$as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; }
  13271. +if ${gl_cv_func_malloc_posix+:} false; then :
  13272. + $as_echo_n "(cached) " >&6
  13273. +else
  13274. +
  13275. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13276. +/* end confdefs.h. */
  13277. +
  13278. +int
  13279. +main ()
  13280. +{
  13281. +#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
  13282. + choke me
  13283. + #endif
  13284. +
  13285. + ;
  13286. + return 0;
  13287. +}
  13288. +_ACEOF
  13289. +if ac_fn_c_try_compile "$LINENO"; then :
  13290. + gl_cv_func_malloc_posix=yes
  13291. +else
  13292. + gl_cv_func_malloc_posix=no
  13293. +fi
  13294. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13295. +
  13296. +fi
  13297. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5
  13298. +$as_echo "$gl_cv_func_malloc_posix" >&6; }
  13299. +
  13300. +
  13301. + for ac_header in stdlib.h
  13302. +do :
  13303. + ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  13304. +if test "x$ac_cv_header_stdlib_h" = xyes; then :
  13305. + cat >>confdefs.h <<_ACEOF
  13306. +@%:@define HAVE_STDLIB_H 1
  13307. +_ACEOF
  13308. +
  13309. +fi
  13310. +
  13311. +done
  13312. +
  13313. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
  13314. +$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
  13315. +if ${ac_cv_func_malloc_0_nonnull+:} false; then :
  13316. + $as_echo_n "(cached) " >&6
  13317. +else
  13318. + if test "$cross_compiling" = yes; then :
  13319. + ac_cv_func_malloc_0_nonnull=no
  13320. +else
  13321. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13322. +/* end confdefs.h. */
  13323. +#if defined STDC_HEADERS || defined HAVE_STDLIB_H
  13324. +# include <stdlib.h>
  13325. +#else
  13326. +char *malloc ();
  13327. +#endif
  13328. +
  13329. +int
  13330. +main ()
  13331. +{
  13332. +return ! malloc (0);
  13333. + ;
  13334. + return 0;
  13335. +}
  13336. +_ACEOF
  13337. +if ac_fn_c_try_run "$LINENO"; then :
  13338. + ac_cv_func_malloc_0_nonnull=yes
  13339. +else
  13340. + ac_cv_func_malloc_0_nonnull=no
  13341. +fi
  13342. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  13343. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  13344. +fi
  13345. +
  13346. +fi
  13347. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
  13348. +$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
  13349. +if test $ac_cv_func_malloc_0_nonnull = yes; then :
  13350. + gl_cv_func_malloc_0_nonnull=1
  13351. +else
  13352. + gl_cv_func_malloc_0_nonnull=0
  13353. +fi
  13354. +
  13355. +
  13356. +cat >>confdefs.h <<_ACEOF
  13357. +@%:@define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull
  13358. +_ACEOF
  13359. +
  13360. +
  13361. +
  13362. +
  13363. +
  13364. +
  13365. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
  13366. +$as_echo_n "checking for mbstate_t... " >&6; }
  13367. +if ${ac_cv_type_mbstate_t+:} false; then :
  13368. + $as_echo_n "(cached) " >&6
  13369. +else
  13370. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13371. +/* end confdefs.h. */
  13372. +$ac_includes_default
  13373. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  13374. + <wchar.h>.
  13375. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  13376. + included before <wchar.h>. */
  13377. +#include <stddef.h>
  13378. +#include <stdio.h>
  13379. +#include <time.h>
  13380. +#include <wchar.h>
  13381. +int
  13382. +main ()
  13383. +{
  13384. +mbstate_t x; return sizeof x;
  13385. + ;
  13386. + return 0;
  13387. +}
  13388. +_ACEOF
  13389. +if ac_fn_c_try_compile "$LINENO"; then :
  13390. + ac_cv_type_mbstate_t=yes
  13391. +else
  13392. + ac_cv_type_mbstate_t=no
  13393. +fi
  13394. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13395. +fi
  13396. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
  13397. +$as_echo "$ac_cv_type_mbstate_t" >&6; }
  13398. + if test $ac_cv_type_mbstate_t = yes; then
  13399. +
  13400. +$as_echo "@%:@define HAVE_MBSTATE_T 1" >>confdefs.h
  13401. +
  13402. + else
  13403. +
  13404. +$as_echo "@%:@define mbstate_t int" >>confdefs.h
  13405. +
  13406. + fi
  13407. +
  13408. +
  13409. +
  13410. +
  13411. +
  13412. +
  13413. +
  13414. +
  13415. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
  13416. +$as_echo_n "checking for a traditional japanese locale... " >&6; }
  13417. +if ${gt_cv_locale_ja+:} false; then :
  13418. + $as_echo_n "(cached) " >&6
  13419. +else
  13420. +
  13421. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13422. +/* end confdefs.h. */
  13423. +
  13424. +#include <locale.h>
  13425. +#include <time.h>
  13426. +#if HAVE_LANGINFO_CODESET
  13427. +# include <langinfo.h>
  13428. +#endif
  13429. +#include <stdlib.h>
  13430. +#include <string.h>
  13431. +struct tm t;
  13432. +char buf[16];
  13433. +int main ()
  13434. +{
  13435. + const char *p;
  13436. + /* Check whether the given locale name is recognized by the system. */
  13437. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  13438. + /* On native Win32, setlocale(category, "") looks at the system settings,
  13439. + not at the environment variables. Also, when an encoding suffix such
  13440. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  13441. + category of the locale to "C". */
  13442. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  13443. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  13444. + return 1;
  13445. +#else
  13446. + if (setlocale (LC_ALL, "") == NULL) return 1;
  13447. +#endif
  13448. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  13449. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  13450. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  13451. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  13452. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  13453. + some unit tests fail.
  13454. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  13455. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  13456. +#if HAVE_LANGINFO_CODESET
  13457. + {
  13458. + const char *cs = nl_langinfo (CODESET);
  13459. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  13460. + || strcmp (cs, "UTF-8") == 0)
  13461. + return 1;
  13462. + }
  13463. +#endif
  13464. +#ifdef __CYGWIN__
  13465. + /* On Cygwin, avoid locale names without encoding suffix, because the
  13466. + locale_charset() function relies on the encoding suffix. Note that
  13467. + LC_ALL is set on the command line. */
  13468. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  13469. +#endif
  13470. + /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales
  13471. + on Cygwin 1.5.x. */
  13472. + if (MB_CUR_MAX == 1)
  13473. + return 1;
  13474. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  13475. + This excludes the UTF-8 encoding (except on MirBSD). */
  13476. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  13477. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  13478. + for (p = buf; *p != '\0'; p++)
  13479. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  13480. + return 1;
  13481. + return 0;
  13482. +}
  13483. +
  13484. +_ACEOF
  13485. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  13486. + (eval $ac_link) 2>&5
  13487. + ac_status=$?
  13488. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13489. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  13490. + case "$host_os" in
  13491. + # Handle native Windows specially, because there setlocale() interprets
  13492. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  13493. + # "fr" or "fra" as "French" or "French_France.1252",
  13494. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  13495. + # "ja" as "Japanese" or "Japanese_Japan.932",
  13496. + # and similar.
  13497. + mingw*)
  13498. + # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
  13499. + # and CP932 is very different from EUC-JP, so we cannot use it here.
  13500. + gt_cv_locale_ja=none
  13501. + ;;
  13502. + *)
  13503. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  13504. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  13505. + # configure script would override the LC_ALL setting. Likewise for
  13506. + # LC_CTYPE, which is also set at the beginning of the configure script.
  13507. + # Test for the AIX locale name.
  13508. + if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  13509. + gt_cv_locale_ja=ja_JP
  13510. + else
  13511. + # Test for the locale name with explicit encoding suffix.
  13512. + if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  13513. + gt_cv_locale_ja=ja_JP.EUC-JP
  13514. + else
  13515. + # Test for the HP-UX, OSF/1, NetBSD locale name.
  13516. + if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  13517. + gt_cv_locale_ja=ja_JP.eucJP
  13518. + else
  13519. + # Test for the IRIX, FreeBSD locale name.
  13520. + if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  13521. + gt_cv_locale_ja=ja_JP.EUC
  13522. + else
  13523. + # Test for the Solaris 7 locale name.
  13524. + if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  13525. + gt_cv_locale_ja=ja
  13526. + else
  13527. + # Special test for NetBSD 1.6.
  13528. + if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
  13529. + gt_cv_locale_ja=ja_JP.eucJP
  13530. + else
  13531. + # None found.
  13532. + gt_cv_locale_ja=none
  13533. + fi
  13534. + fi
  13535. + fi
  13536. + fi
  13537. + fi
  13538. + fi
  13539. + ;;
  13540. + esac
  13541. + fi
  13542. + rm -fr conftest*
  13543. +
  13544. +fi
  13545. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
  13546. +$as_echo "$gt_cv_locale_ja" >&6; }
  13547. + LOCALE_JA=$gt_cv_locale_ja
  13548. +
  13549. +
  13550. +
  13551. +
  13552. +
  13553. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
  13554. +$as_echo_n "checking for a transitional chinese locale... " >&6; }
  13555. +if ${gt_cv_locale_zh_CN+:} false; then :
  13556. + $as_echo_n "(cached) " >&6
  13557. +else
  13558. +
  13559. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13560. +/* end confdefs.h. */
  13561. +
  13562. +#include <locale.h>
  13563. +#include <stdlib.h>
  13564. +#include <time.h>
  13565. +#if HAVE_LANGINFO_CODESET
  13566. +# include <langinfo.h>
  13567. +#endif
  13568. +#include <stdlib.h>
  13569. +#include <string.h>
  13570. +struct tm t;
  13571. +char buf[16];
  13572. +int main ()
  13573. +{
  13574. + const char *p;
  13575. + /* Check whether the given locale name is recognized by the system. */
  13576. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  13577. + /* On native Win32, setlocale(category, "") looks at the system settings,
  13578. + not at the environment variables. Also, when an encoding suffix such
  13579. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  13580. + category of the locale to "C". */
  13581. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  13582. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  13583. + return 1;
  13584. +#else
  13585. + if (setlocale (LC_ALL, "") == NULL) return 1;
  13586. +#endif
  13587. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  13588. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  13589. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  13590. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  13591. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  13592. + some unit tests fail.
  13593. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  13594. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  13595. +#if HAVE_LANGINFO_CODESET
  13596. + {
  13597. + const char *cs = nl_langinfo (CODESET);
  13598. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  13599. + || strcmp (cs, "UTF-8") == 0)
  13600. + return 1;
  13601. + }
  13602. +#endif
  13603. +#ifdef __CYGWIN__
  13604. + /* On Cygwin, avoid locale names without encoding suffix, because the
  13605. + locale_charset() function relies on the encoding suffix. Note that
  13606. + LC_ALL is set on the command line. */
  13607. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  13608. +#endif
  13609. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  13610. + This excludes the UTF-8 encoding (except on MirBSD). */
  13611. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  13612. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  13613. + for (p = buf; *p != '\0'; p++)
  13614. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  13615. + return 1;
  13616. + /* Check whether a typical GB18030 multibyte sequence is recognized as a
  13617. + single wide character. This excludes the GB2312 and GBK encodings. */
  13618. + if (mblen ("\203\062\332\066", 5) != 4)
  13619. + return 1;
  13620. + return 0;
  13621. +}
  13622. +
  13623. +_ACEOF
  13624. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  13625. + (eval $ac_link) 2>&5
  13626. + ac_status=$?
  13627. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13628. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  13629. + case "$host_os" in
  13630. + # Handle native Windows specially, because there setlocale() interprets
  13631. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  13632. + # "fr" or "fra" as "French" or "French_France.1252",
  13633. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  13634. + # "ja" as "Japanese" or "Japanese_Japan.932",
  13635. + # and similar.
  13636. + mingw*)
  13637. + # Test for the hypothetical native Win32 locale name.
  13638. + if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  13639. + gt_cv_locale_zh_CN=Chinese_China.54936
  13640. + else
  13641. + # None found.
  13642. + gt_cv_locale_zh_CN=none
  13643. + fi
  13644. + ;;
  13645. + *)
  13646. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  13647. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  13648. + # configure script would override the LC_ALL setting. Likewise for
  13649. + # LC_CTYPE, which is also set at the beginning of the configure script.
  13650. + # Test for the locale name without encoding suffix.
  13651. + if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  13652. + gt_cv_locale_zh_CN=zh_CN
  13653. + else
  13654. + # Test for the locale name with explicit encoding suffix.
  13655. + if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  13656. + gt_cv_locale_zh_CN=zh_CN.GB18030
  13657. + else
  13658. + # None found.
  13659. + gt_cv_locale_zh_CN=none
  13660. + fi
  13661. + fi
  13662. + ;;
  13663. + esac
  13664. + else
  13665. + # If there was a link error, due to mblen(), the system is so old that
  13666. + # it certainly doesn't have a chinese locale.
  13667. + gt_cv_locale_zh_CN=none
  13668. + fi
  13669. + rm -fr conftest*
  13670. +
  13671. +fi
  13672. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
  13673. +$as_echo "$gt_cv_locale_zh_CN" >&6; }
  13674. + LOCALE_ZH_CN=$gt_cv_locale_zh_CN
  13675. +
  13676. +
  13677. +
  13678. +
  13679. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  13680. +$as_echo_n "checking for a french Unicode locale... " >&6; }
  13681. +if ${gt_cv_locale_fr_utf8+:} false; then :
  13682. + $as_echo_n "(cached) " >&6
  13683. +else
  13684. +
  13685. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13686. +/* end confdefs.h. */
  13687. +
  13688. +#include <locale.h>
  13689. +#include <time.h>
  13690. +#if HAVE_LANGINFO_CODESET
  13691. +# include <langinfo.h>
  13692. +#endif
  13693. +#include <stdlib.h>
  13694. +#include <string.h>
  13695. +struct tm t;
  13696. +char buf[16];
  13697. +int main () {
  13698. + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl
  13699. + imitates locale dependent behaviour by looking at the environment
  13700. + variables, and all locales use the UTF-8 encoding. */
  13701. +#if !(defined __BEOS__ || defined __HAIKU__)
  13702. + /* Check whether the given locale name is recognized by the system. */
  13703. +# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  13704. + /* On native Win32, setlocale(category, "") looks at the system settings,
  13705. + not at the environment variables. Also, when an encoding suffix such
  13706. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  13707. + category of the locale to "C". */
  13708. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  13709. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  13710. + return 1;
  13711. +# else
  13712. + if (setlocale (LC_ALL, "") == NULL) return 1;
  13713. +# endif
  13714. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  13715. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  13716. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  13717. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  13718. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  13719. + some unit tests fail. */
  13720. +# if HAVE_LANGINFO_CODESET
  13721. + {
  13722. + const char *cs = nl_langinfo (CODESET);
  13723. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  13724. + return 1;
  13725. + }
  13726. +# endif
  13727. +# ifdef __CYGWIN__
  13728. + /* On Cygwin, avoid locale names without encoding suffix, because the
  13729. + locale_charset() function relies on the encoding suffix. Note that
  13730. + LC_ALL is set on the command line. */
  13731. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  13732. +# endif
  13733. + /* Check whether in the abbreviation of the second month, the second
  13734. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
  13735. + two bytes long, with UTF-8 encoding. */
  13736. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  13737. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  13738. + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
  13739. + return 1;
  13740. +#endif
  13741. + /* Check whether the decimal separator is a comma.
  13742. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  13743. + are nl_langinfo(RADIXCHAR) are both ".". */
  13744. + if (localeconv () ->decimal_point[0] != ',') return 1;
  13745. + return 0;
  13746. +}
  13747. +
  13748. +_ACEOF
  13749. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  13750. + (eval $ac_link) 2>&5
  13751. + ac_status=$?
  13752. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13753. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  13754. + case "$host_os" in
  13755. + # Handle native Windows specially, because there setlocale() interprets
  13756. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  13757. + # "fr" or "fra" as "French" or "French_France.1252",
  13758. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  13759. + # "ja" as "Japanese" or "Japanese_Japan.932",
  13760. + # and similar.
  13761. + mingw*)
  13762. + # Test for the hypothetical native Win32 locale name.
  13763. + if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  13764. + gt_cv_locale_fr_utf8=French_France.65001
  13765. + else
  13766. + # None found.
  13767. + gt_cv_locale_fr_utf8=none
  13768. + fi
  13769. + ;;
  13770. + *)
  13771. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  13772. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  13773. + # configure script would override the LC_ALL setting. Likewise for
  13774. + # LC_CTYPE, which is also set at the beginning of the configure script.
  13775. + # Test for the usual locale name.
  13776. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  13777. + gt_cv_locale_fr_utf8=fr_FR
  13778. + else
  13779. + # Test for the locale name with explicit encoding suffix.
  13780. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  13781. + gt_cv_locale_fr_utf8=fr_FR.UTF-8
  13782. + else
  13783. + # Test for the Solaris 7 locale name.
  13784. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  13785. + gt_cv_locale_fr_utf8=fr.UTF-8
  13786. + else
  13787. + # None found.
  13788. + gt_cv_locale_fr_utf8=none
  13789. + fi
  13790. + fi
  13791. + fi
  13792. + ;;
  13793. + esac
  13794. + fi
  13795. + rm -fr conftest*
  13796. +
  13797. +fi
  13798. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
  13799. +$as_echo "$gt_cv_locale_fr_utf8" >&6; }
  13800. + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
  13801. +
  13802. +
  13803. +
  13804. +
  13805. +
  13806. +
  13807. +
  13808. + GNULIB_MEMCHR=0;
  13809. + GNULIB_MEMMEM=0;
  13810. + GNULIB_MEMPCPY=0;
  13811. + GNULIB_MEMRCHR=0;
  13812. + GNULIB_RAWMEMCHR=0;
  13813. + GNULIB_STPCPY=0;
  13814. + GNULIB_STPNCPY=0;
  13815. + GNULIB_STRCHRNUL=0;
  13816. + GNULIB_STRDUP=0;
  13817. + GNULIB_STRNCAT=0;
  13818. + GNULIB_STRNDUP=0;
  13819. + GNULIB_STRNLEN=0;
  13820. + GNULIB_STRPBRK=0;
  13821. + GNULIB_STRSEP=0;
  13822. + GNULIB_STRSTR=0;
  13823. + GNULIB_STRCASESTR=0;
  13824. + GNULIB_STRTOK_R=0;
  13825. + GNULIB_MBSLEN=0;
  13826. + GNULIB_MBSNLEN=0;
  13827. + GNULIB_MBSCHR=0;
  13828. + GNULIB_MBSRCHR=0;
  13829. + GNULIB_MBSSTR=0;
  13830. + GNULIB_MBSCASECMP=0;
  13831. + GNULIB_MBSNCASECMP=0;
  13832. + GNULIB_MBSPCASECMP=0;
  13833. + GNULIB_MBSCASESTR=0;
  13834. + GNULIB_MBSCSPN=0;
  13835. + GNULIB_MBSPBRK=0;
  13836. + GNULIB_MBSSPN=0;
  13837. + GNULIB_MBSSEP=0;
  13838. + GNULIB_MBSTOK_R=0;
  13839. + GNULIB_STRERROR=0;
  13840. + GNULIB_STRERROR_R=0;
  13841. + GNULIB_STRSIGNAL=0;
  13842. + GNULIB_STRVERSCMP=0;
  13843. + HAVE_MBSLEN=0;
  13844. + HAVE_MEMCHR=1;
  13845. + HAVE_DECL_MEMMEM=1;
  13846. + HAVE_MEMPCPY=1;
  13847. + HAVE_DECL_MEMRCHR=1;
  13848. + HAVE_RAWMEMCHR=1;
  13849. + HAVE_STPCPY=1;
  13850. + HAVE_STPNCPY=1;
  13851. + HAVE_STRCHRNUL=1;
  13852. + HAVE_DECL_STRDUP=1;
  13853. + HAVE_DECL_STRNDUP=1;
  13854. + HAVE_DECL_STRNLEN=1;
  13855. + HAVE_STRPBRK=1;
  13856. + HAVE_STRSEP=1;
  13857. + HAVE_STRCASESTR=1;
  13858. + HAVE_DECL_STRTOK_R=1;
  13859. + HAVE_DECL_STRERROR_R=1;
  13860. + HAVE_DECL_STRSIGNAL=1;
  13861. + HAVE_STRVERSCMP=1;
  13862. + REPLACE_MEMCHR=0;
  13863. + REPLACE_MEMMEM=0;
  13864. + REPLACE_STPNCPY=0;
  13865. + REPLACE_STRDUP=0;
  13866. + REPLACE_STRSTR=0;
  13867. + REPLACE_STRCASESTR=0;
  13868. + REPLACE_STRERROR=0;
  13869. + REPLACE_STRERROR_R=0;
  13870. + REPLACE_STRNCAT=0;
  13871. + REPLACE_STRNDUP=0;
  13872. + REPLACE_STRNLEN=0;
  13873. + REPLACE_STRSIGNAL=0;
  13874. + REPLACE_STRTOK_R=0;
  13875. + UNDEFINE_STRTOK_R=0;
  13876. +
  13877. +
  13878. +
  13879. +
  13880. +
  13881. +
  13882. +
  13883. + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
  13884. + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  13885. + # irrelevant for anonymous mappings.
  13886. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  13887. +if test "x$ac_cv_func_mmap" = xyes; then :
  13888. + gl_have_mmap=yes
  13889. +else
  13890. + gl_have_mmap=no
  13891. +fi
  13892. +
  13893. +
  13894. + # Try to allow MAP_ANONYMOUS.
  13895. + gl_have_mmap_anonymous=no
  13896. + if test $gl_have_mmap = yes; then
  13897. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
  13898. +$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
  13899. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13900. +/* end confdefs.h. */
  13901. +
  13902. +#include <sys/mman.h>
  13903. +#ifdef MAP_ANONYMOUS
  13904. + I cant identify this map.
  13905. +#endif
  13906. +
  13907. +_ACEOF
  13908. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  13909. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  13910. + gl_have_mmap_anonymous=yes
  13911. +fi
  13912. +rm -f conftest*
  13913. +
  13914. + if test $gl_have_mmap_anonymous != yes; then
  13915. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13916. +/* end confdefs.h. */
  13917. +
  13918. +#include <sys/mman.h>
  13919. +#ifdef MAP_ANON
  13920. + I cant identify this map.
  13921. +#endif
  13922. +
  13923. +_ACEOF
  13924. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  13925. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  13926. +
  13927. +$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
  13928. +
  13929. + gl_have_mmap_anonymous=yes
  13930. +fi
  13931. +rm -f conftest*
  13932. +
  13933. + fi
  13934. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
  13935. +$as_echo "$gl_have_mmap_anonymous" >&6; }
  13936. + if test $gl_have_mmap_anonymous = yes; then
  13937. +
  13938. +$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
  13939. +
  13940. + fi
  13941. + fi
  13942. +
  13943. +
  13944. +
  13945. +
  13946. +
  13947. +
  13948. + if test $ac_cv_func_memchr = yes; then
  13949. + # Detect platform-specific bugs in some versions of glibc:
  13950. + # memchr should not dereference anything with length 0
  13951. + # http://bugzilla.redhat.com/499689
  13952. + # memchr should not dereference overestimated length after a match
  13953. + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737
  13954. + # http://sourceware.org/bugzilla/show_bug.cgi?id=10162
  13955. + # Assume that memchr works on platforms that lack mprotect.
  13956. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5
  13957. +$as_echo_n "checking whether memchr works... " >&6; }
  13958. +if ${gl_cv_func_memchr_works+:} false; then :
  13959. + $as_echo_n "(cached) " >&6
  13960. +else
  13961. + if test "$cross_compiling" = yes; then :
  13962. + gl_cv_func_memchr_works="guessing no"
  13963. +else
  13964. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13965. +/* end confdefs.h. */
  13966. +
  13967. +#include <string.h>
  13968. +#if HAVE_SYS_MMAN_H
  13969. +# include <fcntl.h>
  13970. +# include <unistd.h>
  13971. +# include <sys/types.h>
  13972. +# include <sys/mman.h>
  13973. +# ifndef MAP_FILE
  13974. +# define MAP_FILE 0
  13975. +# endif
  13976. +#endif
  13977. +
  13978. +int
  13979. +main ()
  13980. +{
  13981. +
  13982. + int result = 0;
  13983. + char *fence = NULL;
  13984. +#if HAVE_SYS_MMAN_H && HAVE_MPROTECT
  13985. +# if HAVE_MAP_ANONYMOUS
  13986. + const int flags = MAP_ANONYMOUS | MAP_PRIVATE;
  13987. + const int fd = -1;
  13988. +# else /* !HAVE_MAP_ANONYMOUS */
  13989. + const int flags = MAP_FILE | MAP_PRIVATE;
  13990. + int fd = open ("/dev/zero", O_RDONLY, 0666);
  13991. + if (fd >= 0)
  13992. +# endif
  13993. + {
  13994. + int pagesize = getpagesize ();
  13995. + char *two_pages =
  13996. + (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
  13997. + flags, fd, 0);
  13998. + if (two_pages != (char *)(-1)
  13999. + && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0)
  14000. + fence = two_pages + pagesize;
  14001. + }
  14002. +#endif
  14003. + if (fence)
  14004. + {
  14005. + if (memchr (fence, 0, 0))
  14006. + result |= 1;
  14007. + strcpy (fence - 9, "12345678");
  14008. + if (memchr (fence - 9, 0, 79) != fence - 1)
  14009. + result |= 2;
  14010. + if (memchr (fence - 1, 0, 3) != fence - 1)
  14011. + result |= 4;
  14012. + }
  14013. + return result;
  14014. +
  14015. + ;
  14016. + return 0;
  14017. +}
  14018. +_ACEOF
  14019. +if ac_fn_c_try_run "$LINENO"; then :
  14020. + gl_cv_func_memchr_works=yes
  14021. +else
  14022. + gl_cv_func_memchr_works=no
  14023. +fi
  14024. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  14025. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  14026. +fi
  14027. +
  14028. +fi
  14029. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5
  14030. +$as_echo "$gl_cv_func_memchr_works" >&6; }
  14031. + if test "$gl_cv_func_memchr_works" != yes; then
  14032. + REPLACE_MEMCHR=1
  14033. + fi
  14034. + else
  14035. + HAVE_MEMCHR=0
  14036. + fi
  14037. + if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
  14038. +
  14039. +
  14040. +
  14041. +
  14042. +
  14043. +
  14044. +
  14045. +
  14046. + M4_LIBOBJS="$M4_LIBOBJS memchr.$ac_objext"
  14047. +
  14048. +
  14049. + for ac_header in bp-sym.h
  14050. +do :
  14051. + ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default"
  14052. +if test "x$ac_cv_header_bp_sym_h" = xyes; then :
  14053. + cat >>confdefs.h <<_ACEOF
  14054. +@%:@define HAVE_BP_SYM_H 1
  14055. +_ACEOF
  14056. +
  14057. +fi
  14058. +
  14059. +done
  14060. +
  14061. +
  14062. + fi
  14063. +
  14064. +@%:@ Check whether --enable-largefile was given.
  14065. +if test "${enable_largefile+set}" = set; then :
  14066. + enableval=$enable_largefile;
  14067. +fi
  14068. +
  14069. +if test "$enable_largefile" != no; then
  14070. +
  14071. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  14072. +$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  14073. +if ${ac_cv_sys_largefile_CC+:} false; then :
  14074. + $as_echo_n "(cached) " >&6
  14075. +else
  14076. + ac_cv_sys_largefile_CC=no
  14077. + if test "$GCC" != yes; then
  14078. + ac_save_CC=$CC
  14079. + while :; do
  14080. + # IRIX 6.2 and later do not support large files by default,
  14081. + # so use the C compiler's -n32 option if that helps.
  14082. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14083. +/* end confdefs.h. */
  14084. +@%:@include <sys/types.h>
  14085. + /* Check that off_t can represent 2**63 - 1 correctly.
  14086. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  14087. + since some C++ compilers masquerading as C compilers
  14088. + incorrectly reject 9223372036854775807. */
  14089. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  14090. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  14091. + && LARGE_OFF_T % 2147483647 == 1)
  14092. + ? 1 : -1];
  14093. +int
  14094. +main ()
  14095. +{
  14096. +
  14097. + ;
  14098. + return 0;
  14099. +}
  14100. +_ACEOF
  14101. + if ac_fn_c_try_compile "$LINENO"; then :
  14102. + break
  14103. +fi
  14104. +rm -f core conftest.err conftest.$ac_objext
  14105. + CC="$CC -n32"
  14106. + if ac_fn_c_try_compile "$LINENO"; then :
  14107. + ac_cv_sys_largefile_CC=' -n32'; break
  14108. +fi
  14109. +rm -f core conftest.err conftest.$ac_objext
  14110. + break
  14111. + done
  14112. + CC=$ac_save_CC
  14113. + rm -f conftest.$ac_ext
  14114. + fi
  14115. +fi
  14116. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  14117. +$as_echo "$ac_cv_sys_largefile_CC" >&6; }
  14118. + if test "$ac_cv_sys_largefile_CC" != no; then
  14119. + CC=$CC$ac_cv_sys_largefile_CC
  14120. + fi
  14121. +
  14122. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  14123. +$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  14124. +if ${ac_cv_sys_file_offset_bits+:} false; then :
  14125. + $as_echo_n "(cached) " >&6
  14126. +else
  14127. + while :; do
  14128. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14129. +/* end confdefs.h. */
  14130. +@%:@include <sys/types.h>
  14131. + /* Check that off_t can represent 2**63 - 1 correctly.
  14132. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  14133. + since some C++ compilers masquerading as C compilers
  14134. + incorrectly reject 9223372036854775807. */
  14135. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  14136. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  14137. + && LARGE_OFF_T % 2147483647 == 1)
  14138. + ? 1 : -1];
  14139. +int
  14140. +main ()
  14141. +{
  14142. +
  14143. + ;
  14144. + return 0;
  14145. +}
  14146. +_ACEOF
  14147. +if ac_fn_c_try_compile "$LINENO"; then :
  14148. + ac_cv_sys_file_offset_bits=no; break
  14149. +fi
  14150. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14151. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14152. +/* end confdefs.h. */
  14153. +@%:@define _FILE_OFFSET_BITS 64
  14154. +@%:@include <sys/types.h>
  14155. + /* Check that off_t can represent 2**63 - 1 correctly.
  14156. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  14157. + since some C++ compilers masquerading as C compilers
  14158. + incorrectly reject 9223372036854775807. */
  14159. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  14160. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  14161. + && LARGE_OFF_T % 2147483647 == 1)
  14162. + ? 1 : -1];
  14163. +int
  14164. +main ()
  14165. +{
  14166. +
  14167. + ;
  14168. + return 0;
  14169. +}
  14170. +_ACEOF
  14171. +if ac_fn_c_try_compile "$LINENO"; then :
  14172. + ac_cv_sys_file_offset_bits=64; break
  14173. +fi
  14174. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14175. + ac_cv_sys_file_offset_bits=unknown
  14176. + break
  14177. +done
  14178. +fi
  14179. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  14180. +$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  14181. +case $ac_cv_sys_file_offset_bits in #(
  14182. + no | unknown) ;;
  14183. + *)
  14184. +cat >>confdefs.h <<_ACEOF
  14185. +@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
  14186. +_ACEOF
  14187. +;;
  14188. +esac
  14189. +rm -rf conftest*
  14190. + if test $ac_cv_sys_file_offset_bits = unknown; then
  14191. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  14192. +$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  14193. +if ${ac_cv_sys_large_files+:} false; then :
  14194. + $as_echo_n "(cached) " >&6
  14195. +else
  14196. + while :; do
  14197. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14198. +/* end confdefs.h. */
  14199. +@%:@include <sys/types.h>
  14200. + /* Check that off_t can represent 2**63 - 1 correctly.
  14201. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  14202. + since some C++ compilers masquerading as C compilers
  14203. + incorrectly reject 9223372036854775807. */
  14204. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  14205. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  14206. + && LARGE_OFF_T % 2147483647 == 1)
  14207. + ? 1 : -1];
  14208. +int
  14209. +main ()
  14210. +{
  14211. +
  14212. + ;
  14213. + return 0;
  14214. +}
  14215. +_ACEOF
  14216. +if ac_fn_c_try_compile "$LINENO"; then :
  14217. + ac_cv_sys_large_files=no; break
  14218. +fi
  14219. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14220. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14221. +/* end confdefs.h. */
  14222. +@%:@define _LARGE_FILES 1
  14223. +@%:@include <sys/types.h>
  14224. + /* Check that off_t can represent 2**63 - 1 correctly.
  14225. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  14226. + since some C++ compilers masquerading as C compilers
  14227. + incorrectly reject 9223372036854775807. */
  14228. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  14229. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  14230. + && LARGE_OFF_T % 2147483647 == 1)
  14231. + ? 1 : -1];
  14232. +int
  14233. +main ()
  14234. +{
  14235. +
  14236. + ;
  14237. + return 0;
  14238. +}
  14239. +_ACEOF
  14240. +if ac_fn_c_try_compile "$LINENO"; then :
  14241. + ac_cv_sys_large_files=1; break
  14242. +fi
  14243. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14244. + ac_cv_sys_large_files=unknown
  14245. + break
  14246. +done
  14247. +fi
  14248. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  14249. +$as_echo "$ac_cv_sys_large_files" >&6; }
  14250. +case $ac_cv_sys_large_files in #(
  14251. + no | unknown) ;;
  14252. + *)
  14253. +cat >>confdefs.h <<_ACEOF
  14254. +@%:@define _LARGE_FILES $ac_cv_sys_large_files
  14255. +_ACEOF
  14256. +;;
  14257. +esac
  14258. +rm -rf conftest*
  14259. + fi
  14260. +
  14261. +
  14262. +fi
  14263. +
  14264. +
  14265. +
  14266. +
  14267. + gl_cv_c_multiarch=no
  14268. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14269. +/* end confdefs.h. */
  14270. +#ifndef __APPLE_CC__
  14271. + not a universal capable compiler
  14272. + #endif
  14273. + typedef int dummy;
  14274. +
  14275. +_ACEOF
  14276. +if ac_fn_c_try_compile "$LINENO"; then :
  14277. +
  14278. + arch=
  14279. + prev=
  14280. + for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do
  14281. + if test -n "$prev"; then
  14282. + case $word in
  14283. + i?86 | x86_64 | ppc | ppc64)
  14284. + if test -z "$arch" || test "$arch" = "$word"; then
  14285. + arch="$word"
  14286. + else
  14287. + gl_cv_c_multiarch=yes
  14288. + fi
  14289. + ;;
  14290. + esac
  14291. + prev=
  14292. + else
  14293. + if test "x$word" = "x-arch"; then
  14294. + prev=arch
  14295. + fi
  14296. + fi
  14297. + done
  14298. +
  14299. +fi
  14300. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14301. + if test $gl_cv_c_multiarch = yes; then
  14302. + APPLE_UNIVERSAL_BUILD=1
  14303. + else
  14304. + APPLE_UNIVERSAL_BUILD=0
  14305. + fi
  14306. +
  14307. +
  14308. +
  14309. +
  14310. +
  14311. +
  14312. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for promoted mode_t type" >&5
  14313. +$as_echo_n "checking for promoted mode_t type... " >&6; }
  14314. +if ${gl_cv_promoted_mode_t+:} false; then :
  14315. + $as_echo_n "(cached) " >&6
  14316. +else
  14317. +
  14318. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14319. +/* end confdefs.h. */
  14320. +#include <sys/types.h>
  14321. +int
  14322. +main ()
  14323. +{
  14324. +typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1];
  14325. + ;
  14326. + return 0;
  14327. +}
  14328. +_ACEOF
  14329. +if ac_fn_c_try_compile "$LINENO"; then :
  14330. + gl_cv_promoted_mode_t='int'
  14331. +else
  14332. + gl_cv_promoted_mode_t='mode_t'
  14333. +fi
  14334. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14335. +
  14336. +fi
  14337. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_promoted_mode_t" >&5
  14338. +$as_echo "$gl_cv_promoted_mode_t" >&6; }
  14339. +
  14340. +cat >>confdefs.h <<_ACEOF
  14341. +@%:@define PROMOTED_MODE_T $gl_cv_promoted_mode_t
  14342. +_ACEOF
  14343. +
  14344. +
  14345. +
  14346. +
  14347. +
  14348. +
  14349. +
  14350. + GNULIB_POSIX_SPAWN=0;
  14351. + GNULIB_POSIX_SPAWNP=0;
  14352. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT=0;
  14353. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE=0;
  14354. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2=0;
  14355. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN=0;
  14356. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY=0;
  14357. + GNULIB_POSIX_SPAWNATTR_INIT=0;
  14358. + GNULIB_POSIX_SPAWNATTR_GETFLAGS=0;
  14359. + GNULIB_POSIX_SPAWNATTR_SETFLAGS=0;
  14360. + GNULIB_POSIX_SPAWNATTR_GETPGROUP=0;
  14361. + GNULIB_POSIX_SPAWNATTR_SETPGROUP=0;
  14362. + GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM=0;
  14363. + GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM=0;
  14364. + GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY=0;
  14365. + GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY=0;
  14366. + GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT=0;
  14367. + GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT=0;
  14368. + GNULIB_POSIX_SPAWNATTR_GETSIGMASK=0;
  14369. + GNULIB_POSIX_SPAWNATTR_SETSIGMASK=0;
  14370. + GNULIB_POSIX_SPAWNATTR_DESTROY=0;
  14371. + HAVE_POSIX_SPAWN=1;
  14372. + HAVE_POSIX_SPAWNATTR_T=1;
  14373. + HAVE_POSIX_SPAWN_FILE_ACTIONS_T=1;
  14374. +
  14375. + REPLACE_POSIX_SPAWN=0;
  14376. +
  14377. +
  14378. +
  14379. +
  14380. +
  14381. +
  14382. +
  14383. + if test $ac_cv_func_posix_spawn != yes; then
  14384. + HAVE_POSIX_SPAWN=0
  14385. + fi
  14386. +
  14387. +
  14388. +
  14389. +
  14390. + if test $ac_cv_func_posix_spawn = yes; then
  14391. +
  14392. +
  14393. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawn works" >&5
  14394. +$as_echo_n "checking whether posix_spawn works... " >&6; }
  14395. +if ${gl_cv_func_posix_spawn_works+:} false; then :
  14396. + $as_echo_n "(cached) " >&6
  14397. +else
  14398. + if test $cross_compiling = no; then
  14399. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14400. +/* end confdefs.h. */
  14401. +
  14402. +#include <errno.h>
  14403. +#include <fcntl.h>
  14404. +#include <signal.h>
  14405. +#include <spawn.h>
  14406. +#include <stdbool.h>
  14407. +#include <stdio.h>
  14408. +#include <stdlib.h>
  14409. +#include <string.h>
  14410. +#include <unistd.h>
  14411. +#include <sys/types.h>
  14412. +#include <sys/wait.h>
  14413. +
  14414. +extern char **environ;
  14415. +
  14416. +#ifndef STDIN_FILENO
  14417. +# define STDIN_FILENO 0
  14418. +#endif
  14419. +#ifndef STDOUT_FILENO
  14420. +# define STDOUT_FILENO 1
  14421. +#endif
  14422. +#ifndef STDERR_FILENO
  14423. +# define STDERR_FILENO 2
  14424. +#endif
  14425. +
  14426. +#ifndef WTERMSIG
  14427. +# define WTERMSIG(x) ((x) & 0x7f)
  14428. +#endif
  14429. +#ifndef WIFEXITED
  14430. +# define WIFEXITED(x) (WTERMSIG (x) == 0)
  14431. +#endif
  14432. +#ifndef WEXITSTATUS
  14433. +# define WEXITSTATUS(x) (((x) >> 8) & 0xff)
  14434. +#endif
  14435. +
  14436. +#define CHILD_PROGRAM_FILENAME "/non/exist/ent"
  14437. +
  14438. +static int
  14439. +fd_safer (int fd)
  14440. +{
  14441. + if (0 <= fd && fd <= 2)
  14442. + {
  14443. + int f = fd_safer (dup (fd));
  14444. + int e = errno;
  14445. + close (fd);
  14446. + errno = e;
  14447. + fd = f;
  14448. + }
  14449. +
  14450. + return fd;
  14451. +}
  14452. +
  14453. +int
  14454. +main ()
  14455. +{
  14456. + char *argv[2] = { CHILD_PROGRAM_FILENAME, NULL };
  14457. + int ofd[2];
  14458. + sigset_t blocked_signals;
  14459. + sigset_t fatal_signal_set;
  14460. + posix_spawn_file_actions_t actions;
  14461. + bool actions_allocated;
  14462. + posix_spawnattr_t attrs;
  14463. + bool attrs_allocated;
  14464. + int err;
  14465. + pid_t child;
  14466. + int status;
  14467. + int exitstatus;
  14468. +
  14469. + setvbuf (stdout, NULL, _IOFBF, 0);
  14470. + puts ("This should be seen only once.");
  14471. + if (pipe (ofd) < 0 || (ofd[1] = fd_safer (ofd[1])) < 0)
  14472. + {
  14473. + perror ("cannot create pipe");
  14474. + exit (1);
  14475. + }
  14476. + sigprocmask (SIG_SETMASK, NULL, &blocked_signals);
  14477. + sigemptyset (&fatal_signal_set);
  14478. + sigaddset (&fatal_signal_set, SIGINT);
  14479. + sigaddset (&fatal_signal_set, SIGTERM);
  14480. + sigaddset (&fatal_signal_set, SIGHUP);
  14481. + sigaddset (&fatal_signal_set, SIGPIPE);
  14482. + sigprocmask (SIG_BLOCK, &fatal_signal_set, NULL);
  14483. + actions_allocated = false;
  14484. + attrs_allocated = false;
  14485. + if ((err = posix_spawn_file_actions_init (&actions)) != 0
  14486. + || (actions_allocated = true,
  14487. + (err = posix_spawn_file_actions_adddup2 (&actions, ofd[0], STDIN_FILENO)) != 0
  14488. + || (err = posix_spawn_file_actions_addclose (&actions, ofd[0])) != 0
  14489. + || (err = posix_spawn_file_actions_addclose (&actions, ofd[1])) != 0
  14490. + || (err = posix_spawnattr_init (&attrs)) != 0
  14491. + || (attrs_allocated = true,
  14492. + (err = posix_spawnattr_setsigmask (&attrs, &blocked_signals)) != 0
  14493. + || (err = posix_spawnattr_setflags (&attrs, POSIX_SPAWN_SETSIGMASK)) != 0)
  14494. + || (err = posix_spawnp (&child, CHILD_PROGRAM_FILENAME, &actions, &attrs, argv, environ)) != 0))
  14495. + {
  14496. + if (actions_allocated)
  14497. + posix_spawn_file_actions_destroy (&actions);
  14498. + if (attrs_allocated)
  14499. + posix_spawnattr_destroy (&attrs);
  14500. + sigprocmask (SIG_UNBLOCK, &fatal_signal_set, NULL);
  14501. + if (err == ENOENT)
  14502. + return 0;
  14503. + else
  14504. + {
  14505. + errno = err;
  14506. + perror ("subprocess failed");
  14507. + exit (1);
  14508. + }
  14509. + }
  14510. + posix_spawn_file_actions_destroy (&actions);
  14511. + posix_spawnattr_destroy (&attrs);
  14512. + sigprocmask (SIG_UNBLOCK, &fatal_signal_set, NULL);
  14513. + close (ofd[0]);
  14514. + close (ofd[1]);
  14515. + status = 0;
  14516. + while (waitpid (child, &status, 0) != child)
  14517. + ;
  14518. + if (!WIFEXITED (status))
  14519. + {
  14520. + fprintf (stderr, "subprocess terminated with unexpected wait status %d\n", status);
  14521. + exit (1);
  14522. + }
  14523. + exitstatus = WEXITSTATUS (status);
  14524. + if (exitstatus != 127)
  14525. + {
  14526. + fprintf (stderr, "subprocess terminated with unexpected exit status %d\n", exitstatus);
  14527. + exit (1);
  14528. + }
  14529. + return 0;
  14530. +}
  14531. +
  14532. +_ACEOF
  14533. +if ac_fn_c_try_link "$LINENO"; then :
  14534. + if test -s conftest$ac_exeext \
  14535. + && ./conftest$ac_exeext > conftest.out \
  14536. + && echo 'This should be seen only once.' > conftest.ok \
  14537. + && cmp conftest.out conftest.ok > /dev/null; then
  14538. + gl_cv_func_posix_spawn_works=yes
  14539. + else
  14540. + gl_cv_func_posix_spawn_works=no
  14541. + fi
  14542. +else
  14543. + gl_cv_func_posix_spawn_works=no
  14544. +fi
  14545. +rm -f core conftest.err conftest.$ac_objext \
  14546. + conftest$ac_exeext conftest.$ac_ext
  14547. + if test $gl_cv_func_posix_spawn_works = yes; then
  14548. + if test "$cross_compiling" = yes; then :
  14549. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  14550. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  14551. +as_fn_error $? "cannot run test program while cross compiling
  14552. +See \`config.log' for more details" "$LINENO" 5; }
  14553. +else
  14554. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14555. +/* end confdefs.h. */
  14556. +
  14557. +/* Test whether posix_spawn_file_actions_addopen supports filename arguments
  14558. + that contain special characters such as '*'. */
  14559. +
  14560. +#include <errno.h>
  14561. +#include <fcntl.h>
  14562. +#include <signal.h>
  14563. +#include <spawn.h>
  14564. +#include <stdbool.h>
  14565. +#include <stdio.h>
  14566. +#include <string.h>
  14567. +#include <unistd.h>
  14568. +#include <sys/types.h>
  14569. +#include <sys/wait.h>
  14570. +
  14571. +extern char **environ;
  14572. +
  14573. +#ifndef STDIN_FILENO
  14574. +# define STDIN_FILENO 0
  14575. +#endif
  14576. +#ifndef STDOUT_FILENO
  14577. +# define STDOUT_FILENO 1
  14578. +#endif
  14579. +#ifndef STDERR_FILENO
  14580. +# define STDERR_FILENO 2
  14581. +#endif
  14582. +
  14583. +#ifndef WTERMSIG
  14584. +# define WTERMSIG(x) ((x) & 0x7f)
  14585. +#endif
  14586. +#ifndef WIFEXITED
  14587. +# define WIFEXITED(x) (WTERMSIG (x) == 0)
  14588. +#endif
  14589. +#ifndef WEXITSTATUS
  14590. +# define WEXITSTATUS(x) (((x) >> 8) & 0xff)
  14591. +#endif
  14592. +
  14593. +#define CHILD_PROGRAM_FILENAME "conftest"
  14594. +#define DATA_FILENAME "conftest%=*#?"
  14595. +
  14596. +static int
  14597. +parent_main (void)
  14598. +{
  14599. + FILE *fp;
  14600. + char *argv[3] = { CHILD_PROGRAM_FILENAME, "-child", NULL };
  14601. + posix_spawn_file_actions_t actions;
  14602. + bool actions_allocated;
  14603. + int err;
  14604. + pid_t child;
  14605. + int status;
  14606. + int exitstatus;
  14607. +
  14608. + /* Create a data file with specific contents. */
  14609. + fp = fopen (DATA_FILENAME, "wb");
  14610. + if (fp == NULL)
  14611. + {
  14612. + perror ("cannot create data file");
  14613. + return 1;
  14614. + }
  14615. + fwrite ("Halle Potta", 1, 11, fp);
  14616. + if (fflush (fp) || fclose (fp))
  14617. + {
  14618. + perror ("cannot prepare data file");
  14619. + return 2;
  14620. + }
  14621. +
  14622. + /* Avoid reading from our stdin, as it could block. */
  14623. + freopen ("/dev/null", "rb", stdin);
  14624. +
  14625. + /* Test whether posix_spawn_file_actions_addopen with this file name
  14626. + actually works, but spawning a child that reads from this file. */
  14627. + actions_allocated = false;
  14628. + if ((err = posix_spawn_file_actions_init (&actions)) != 0
  14629. + || (actions_allocated = true,
  14630. + (err = posix_spawn_file_actions_addopen (&actions, STDIN_FILENO, DATA_FILENAME, O_RDONLY, 0600)) != 0
  14631. + || (err = posix_spawn (&child, CHILD_PROGRAM_FILENAME, &actions, NULL, argv, environ)) != 0))
  14632. + {
  14633. + if (actions_allocated)
  14634. + posix_spawn_file_actions_destroy (&actions);
  14635. + errno = err;
  14636. + perror ("subprocess failed");
  14637. + return 3;
  14638. + }
  14639. + posix_spawn_file_actions_destroy (&actions);
  14640. + status = 0;
  14641. + while (waitpid (child, &status, 0) != child)
  14642. + ;
  14643. + if (!WIFEXITED (status))
  14644. + {
  14645. + fprintf (stderr, "subprocess terminated with unexpected wait status %d\n", status);
  14646. + return 4;
  14647. + }
  14648. + exitstatus = WEXITSTATUS (status);
  14649. + if (exitstatus != 0)
  14650. + {
  14651. + fprintf (stderr, "subprocess terminated with unexpected exit status %d\n", exitstatus);
  14652. + return 5;
  14653. + }
  14654. + return 0;
  14655. +}
  14656. +
  14657. +static int
  14658. +child_main (void)
  14659. +{
  14660. + char buf[1024];
  14661. +
  14662. + /* See if reading from STDIN_FILENO yields the expected contents. */
  14663. + if (fread (buf, 1, sizeof (buf), stdin) == 11
  14664. + && memcmp (buf, "Halle Potta", 11) == 0)
  14665. + return 0;
  14666. + else
  14667. + return 8;
  14668. +}
  14669. +
  14670. +static void
  14671. +cleanup_then_die (int sig)
  14672. +{
  14673. + /* Clean up data file. */
  14674. + unlink (DATA_FILENAME);
  14675. +
  14676. + /* Re-raise the signal and die from it. */
  14677. + signal (sig, SIG_DFL);
  14678. + raise (sig);
  14679. +}
  14680. +
  14681. +int
  14682. +main (int argc, char *argv[])
  14683. +{
  14684. + int exitstatus;
  14685. +
  14686. + if (!(argc > 1 && strcmp (argv[1], "-child") == 0))
  14687. + {
  14688. + /* This is the parent process. */
  14689. + signal (SIGINT, cleanup_then_die);
  14690. + signal (SIGTERM, cleanup_then_die);
  14691. + #ifdef SIGHUP
  14692. + signal (SIGHUP, cleanup_then_die);
  14693. + #endif
  14694. +
  14695. + exitstatus = parent_main ();
  14696. + }
  14697. + else
  14698. + {
  14699. + /* This is the child process. */
  14700. +
  14701. + exitstatus = child_main ();
  14702. + }
  14703. + unlink (DATA_FILENAME);
  14704. + return exitstatus;
  14705. +}
  14706. +
  14707. +_ACEOF
  14708. +if ac_fn_c_try_run "$LINENO"; then :
  14709. +
  14710. +else
  14711. + gl_cv_func_posix_spawn_works=no
  14712. +fi
  14713. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  14714. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  14715. +fi
  14716. +
  14717. + fi
  14718. + else
  14719. + case "$host_os" in
  14720. + aix*) gl_cv_func_posix_spawn_works="guessing no";;
  14721. + *) gl_cv_func_posix_spawn_works="guessing yes";;
  14722. + esac
  14723. + fi
  14724. +
  14725. +fi
  14726. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_posix_spawn_works" >&5
  14727. +$as_echo "$gl_cv_func_posix_spawn_works" >&6; }
  14728. +
  14729. + case "$gl_cv_func_posix_spawn_works" in
  14730. + *yes)
  14731. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawnattr_setschedpolicy is supported" >&5
  14732. +$as_echo_n "checking whether posix_spawnattr_setschedpolicy is supported... " >&6; }
  14733. +if ${gl_cv_func_spawnattr_setschedpolicy+:} false; then :
  14734. + $as_echo_n "(cached) " >&6
  14735. +else
  14736. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14737. +/* end confdefs.h. */
  14738. +
  14739. +#include <spawn.h>
  14740. +#if POSIX_SPAWN_SETSCHEDULER
  14741. + POSIX scheduling supported
  14742. +#endif
  14743. +
  14744. +_ACEOF
  14745. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  14746. + $EGREP "POSIX scheduling supported" >/dev/null 2>&1; then :
  14747. + gl_cv_func_spawnattr_setschedpolicy=yes
  14748. +else
  14749. + gl_cv_func_spawnattr_setschedpolicy=no
  14750. +fi
  14751. +rm -f conftest*
  14752. +
  14753. +
  14754. +fi
  14755. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_spawnattr_setschedpolicy" >&5
  14756. +$as_echo "$gl_cv_func_spawnattr_setschedpolicy" >&6; }
  14757. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawnattr_setschedparam is supported" >&5
  14758. +$as_echo_n "checking whether posix_spawnattr_setschedparam is supported... " >&6; }
  14759. +if ${gl_cv_func_spawnattr_setschedparam+:} false; then :
  14760. + $as_echo_n "(cached) " >&6
  14761. +else
  14762. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14763. +/* end confdefs.h. */
  14764. +
  14765. +#include <spawn.h>
  14766. +#if POSIX_SPAWN_SETSCHEDPARAM
  14767. + POSIX scheduling supported
  14768. +#endif
  14769. +
  14770. +_ACEOF
  14771. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  14772. + $EGREP "POSIX scheduling supported" >/dev/null 2>&1; then :
  14773. + gl_cv_func_spawnattr_setschedparam=yes
  14774. +else
  14775. + gl_cv_func_spawnattr_setschedparam=no
  14776. +fi
  14777. +rm -f conftest*
  14778. +
  14779. +
  14780. +fi
  14781. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_spawnattr_setschedparam" >&5
  14782. +$as_echo "$gl_cv_func_spawnattr_setschedparam" >&6; }
  14783. + ;;
  14784. + *) REPLACE_POSIX_SPAWN=1 ;;
  14785. + esac
  14786. + fi
  14787. +
  14788. +
  14789. +
  14790. +
  14791. +
  14792. +
  14793. +
  14794. +
  14795. +
  14796. +
  14797. + GNULIB_SIGNAL_H_SIGPIPE=0;
  14798. + GNULIB_SIGPROCMASK=0;
  14799. + GNULIB_SIGACTION=0;
  14800. + HAVE_POSIX_SIGNALBLOCKING=1;
  14801. + HAVE_SIGSET_T=1;
  14802. + HAVE_SIGINFO_T=1;
  14803. + HAVE_SIGACTION=1;
  14804. + HAVE_STRUCT_SIGACTION_SA_SIGACTION=1;
  14805. +
  14806. + HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1;
  14807. +
  14808. +
  14809. +
  14810. +
  14811. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
  14812. +$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
  14813. +if ${ac_cv_type_uid_t+:} false; then :
  14814. + $as_echo_n "(cached) " >&6
  14815. +else
  14816. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14817. +/* end confdefs.h. */
  14818. +#include <sys/types.h>
  14819. +
  14820. +_ACEOF
  14821. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  14822. + $EGREP "uid_t" >/dev/null 2>&1; then :
  14823. + ac_cv_type_uid_t=yes
  14824. +else
  14825. + ac_cv_type_uid_t=no
  14826. +fi
  14827. +rm -f conftest*
  14828. +
  14829. +fi
  14830. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
  14831. +$as_echo "$ac_cv_type_uid_t" >&6; }
  14832. +if test $ac_cv_type_uid_t = no; then
  14833. +
  14834. +$as_echo "@%:@define uid_t int" >>confdefs.h
  14835. +
  14836. +
  14837. +$as_echo "@%:@define gid_t int" >>confdefs.h
  14838. +
  14839. +fi
  14840. +
  14841. +
  14842. +
  14843. +
  14844. +
  14845. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5
  14846. +$as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; }
  14847. +if ${gl_cv_func_snprintf_retval_c99+:} false; then :
  14848. + $as_echo_n "(cached) " >&6
  14849. +else
  14850. +
  14851. + if test "$cross_compiling" = yes; then :
  14852. +
  14853. + case "$host_os" in
  14854. + # Guess yes on glibc systems.
  14855. + *-gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  14856. + # Guess yes on FreeBSD >= 5.
  14857. + freebsd[1-4]*) gl_cv_func_snprintf_retval_c99="guessing no";;
  14858. + freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  14859. + # Guess yes on MacOS X >= 10.3.
  14860. + darwin[1-6].*) gl_cv_func_snprintf_retval_c99="guessing no";;
  14861. + darwin*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  14862. + # Guess yes on OpenBSD >= 3.9.
  14863. + openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
  14864. + gl_cv_func_snprintf_retval_c99="guessing no";;
  14865. + openbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  14866. + # Guess yes on Solaris >= 2.10.
  14867. + solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
  14868. + solaris*) gl_cv_func_printf_sizes_c99="guessing no";;
  14869. + # Guess yes on AIX >= 4.
  14870. + aix[1-3]*) gl_cv_func_snprintf_retval_c99="guessing no";;
  14871. + aix*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  14872. + # Guess yes on NetBSD >= 3.
  14873. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
  14874. + gl_cv_func_snprintf_retval_c99="guessing no";;
  14875. + netbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  14876. + # Guess yes on BeOS.
  14877. + beos*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  14878. + # If we don't know, assume the worst.
  14879. + *) gl_cv_func_snprintf_retval_c99="guessing no";;
  14880. + esac
  14881. +
  14882. +else
  14883. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14884. +/* end confdefs.h. */
  14885. +
  14886. +#include <stdio.h>
  14887. +#include <string.h>
  14888. +static char buf[100];
  14889. +int main ()
  14890. +{
  14891. + strcpy (buf, "ABCDEF");
  14892. + if (snprintf (buf, 3, "%d %d", 4567, 89) != 7)
  14893. + return 1;
  14894. + if (snprintf (buf, 0, "%d %d", 4567, 89) != 7)
  14895. + return 2;
  14896. + if (snprintf (NULL, 0, "%d %d", 4567, 89) != 7)
  14897. + return 3;
  14898. + return 0;
  14899. +}
  14900. +_ACEOF
  14901. +if ac_fn_c_try_run "$LINENO"; then :
  14902. + gl_cv_func_snprintf_retval_c99=yes
  14903. +else
  14904. + gl_cv_func_snprintf_retval_c99=no
  14905. +fi
  14906. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  14907. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  14908. +fi
  14909. +
  14910. +
  14911. +fi
  14912. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_retval_c99" >&5
  14913. +$as_echo "$gl_cv_func_snprintf_retval_c99" >&6; }
  14914. +
  14915. +ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
  14916. +if test "x$ac_cv_have_decl_snprintf" = xyes; then :
  14917. + ac_have_decl=1
  14918. +else
  14919. + ac_have_decl=0
  14920. +fi
  14921. +
  14922. +cat >>confdefs.h <<_ACEOF
  14923. +@%:@define HAVE_DECL_SNPRINTF $ac_have_decl
  14924. +_ACEOF
  14925. +
  14926. +
  14927. +
  14928. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
  14929. +$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
  14930. +if ${ac_cv_header_stdbool_h+:} false; then :
  14931. + $as_echo_n "(cached) " >&6
  14932. +else
  14933. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14934. +/* end confdefs.h. */
  14935. +
  14936. + #include <stdbool.h>
  14937. + #ifndef bool
  14938. + "error: bool is not defined"
  14939. + #endif
  14940. + #ifndef false
  14941. + "error: false is not defined"
  14942. + #endif
  14943. + #if false
  14944. + "error: false is not 0"
  14945. + #endif
  14946. + #ifndef true
  14947. + "error: true is not defined"
  14948. + #endif
  14949. + #if true != 1
  14950. + "error: true is not 1"
  14951. + #endif
  14952. + #ifndef __bool_true_false_are_defined
  14953. + "error: __bool_true_false_are_defined is not defined"
  14954. + #endif
  14955. +
  14956. + struct s { _Bool s: 1; _Bool t; } s;
  14957. +
  14958. + char a[true == 1 ? 1 : -1];
  14959. + char b[false == 0 ? 1 : -1];
  14960. + char c[__bool_true_false_are_defined == 1 ? 1 : -1];
  14961. + char d[(bool) 0.5 == true ? 1 : -1];
  14962. + /* See body of main program for 'e'. */
  14963. + char f[(_Bool) 0.0 == false ? 1 : -1];
  14964. + char g[true];
  14965. + char h[sizeof (_Bool)];
  14966. + char i[sizeof s.t];
  14967. + enum { j = false, k = true, l = false * true, m = true * 256 };
  14968. + /* The following fails for
  14969. + HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
  14970. + _Bool n[m];
  14971. + char o[sizeof n == m * sizeof n[0] ? 1 : -1];
  14972. + char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
  14973. + /* Catch a bug in an HP-UX C compiler. See
  14974. + http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
  14975. + http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
  14976. + */
  14977. + _Bool q = true;
  14978. + _Bool *pq = &q;
  14979. +
  14980. +int
  14981. +main ()
  14982. +{
  14983. +
  14984. + bool e = &s;
  14985. + *pq |= q;
  14986. + *pq |= ! q;
  14987. + /* Refer to every declared value, to avoid compiler optimizations. */
  14988. + return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
  14989. + + !m + !n + !o + !p + !q + !pq);
  14990. +
  14991. + ;
  14992. + return 0;
  14993. +}
  14994. +_ACEOF
  14995. +if ac_fn_c_try_compile "$LINENO"; then :
  14996. + ac_cv_header_stdbool_h=yes
  14997. +else
  14998. + ac_cv_header_stdbool_h=no
  14999. +fi
  15000. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15001. +fi
  15002. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
  15003. +$as_echo "$ac_cv_header_stdbool_h" >&6; }
  15004. + ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
  15005. +if test "x$ac_cv_type__Bool" = xyes; then :
  15006. +
  15007. +cat >>confdefs.h <<_ACEOF
  15008. +@%:@define HAVE__BOOL 1
  15009. +_ACEOF
  15010. +
  15011. +
  15012. +fi
  15013. +
  15014. +
  15015. +
  15016. + REPLACE_NULL=0;
  15017. + HAVE_WCHAR_T=1;
  15018. + STDDEF_H='';
  15019. +
  15020. +
  15021. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
  15022. +$as_echo_n "checking for wchar_t... " >&6; }
  15023. +if ${gt_cv_c_wchar_t+:} false; then :
  15024. + $as_echo_n "(cached) " >&6
  15025. +else
  15026. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15027. +/* end confdefs.h. */
  15028. +#include <stddef.h>
  15029. + wchar_t foo = (wchar_t)'\0';
  15030. +int
  15031. +main ()
  15032. +{
  15033. +
  15034. + ;
  15035. + return 0;
  15036. +}
  15037. +_ACEOF
  15038. +if ac_fn_c_try_compile "$LINENO"; then :
  15039. + gt_cv_c_wchar_t=yes
  15040. +else
  15041. + gt_cv_c_wchar_t=no
  15042. +fi
  15043. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15044. +fi
  15045. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
  15046. +$as_echo "$gt_cv_c_wchar_t" >&6; }
  15047. + if test $gt_cv_c_wchar_t = yes; then
  15048. +
  15049. +$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h
  15050. +
  15051. + fi
  15052. +
  15053. +
  15054. +
  15055. +
  15056. +
  15057. +
  15058. +
  15059. +
  15060. +
  15061. +
  15062. + if test -z "$ERRNO_H"; then
  15063. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5
  15064. +$as_echo_n "checking for working strerror function... " >&6; }
  15065. +if ${gl_cv_func_working_strerror+:} false; then :
  15066. + $as_echo_n "(cached) " >&6
  15067. +else
  15068. + if test "$cross_compiling" = yes; then :
  15069. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15070. +/* end confdefs.h. */
  15071. +#include <string.h>
  15072. +
  15073. +int
  15074. +main ()
  15075. +{
  15076. +return !*strerror (-2);
  15077. + ;
  15078. + return 0;
  15079. +}
  15080. +_ACEOF
  15081. +if ac_fn_c_try_compile "$LINENO"; then :
  15082. + gl_cv_func_working_strerror=yes
  15083. +else
  15084. + gl_cv_func_working_strerror=no
  15085. +fi
  15086. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15087. +
  15088. +else
  15089. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15090. +/* end confdefs.h. */
  15091. +#include <string.h>
  15092. +
  15093. +int
  15094. +main ()
  15095. +{
  15096. +return !*strerror (-2);
  15097. + ;
  15098. + return 0;
  15099. +}
  15100. +_ACEOF
  15101. +if ac_fn_c_try_run "$LINENO"; then :
  15102. + gl_cv_func_working_strerror=yes
  15103. +else
  15104. + gl_cv_func_working_strerror=no
  15105. +fi
  15106. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  15107. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  15108. +fi
  15109. +
  15110. +
  15111. +fi
  15112. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5
  15113. +$as_echo "$gl_cv_func_working_strerror" >&6; }
  15114. + if test $gl_cv_func_working_strerror = no; then
  15115. + REPLACE_STRERROR=1
  15116. + fi
  15117. + else
  15118. + REPLACE_STRERROR=1
  15119. + fi
  15120. + if test $REPLACE_STRERROR = 1; then
  15121. +
  15122. + ac_fn_c_check_decl "$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default"
  15123. +if test "x$ac_cv_have_decl_strerror" = xyes; then :
  15124. + ac_have_decl=1
  15125. +else
  15126. + ac_have_decl=0
  15127. +fi
  15128. +
  15129. +cat >>confdefs.h <<_ACEOF
  15130. +@%:@define HAVE_DECL_STRERROR $ac_have_decl
  15131. +_ACEOF
  15132. +
  15133. +
  15134. + if test $ac_cv_header_sys_socket_h != yes; then
  15135. + for ac_header in winsock2.h
  15136. +do :
  15137. + ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
  15138. +if test "x$ac_cv_header_winsock2_h" = xyes; then :
  15139. + cat >>confdefs.h <<_ACEOF
  15140. +@%:@define HAVE_WINSOCK2_H 1
  15141. +_ACEOF
  15142. +
  15143. +fi
  15144. +
  15145. +done
  15146. +
  15147. + fi
  15148. +
  15149. + fi
  15150. +
  15151. +
  15152. +
  15153. +
  15154. +
  15155. +
  15156. +
  15157. +
  15158. +
  15159. +
  15160. +
  15161. +
  15162. + if test $gl_cv_have_include_next = yes; then
  15163. + gl_cv_next_string_h='<'string.h'>'
  15164. + else
  15165. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
  15166. +$as_echo_n "checking absolute name of <string.h>... " >&6; }
  15167. +if ${gl_cv_next_string_h+:} false; then :
  15168. + $as_echo_n "(cached) " >&6
  15169. +else
  15170. +
  15171. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15172. +/* end confdefs.h. */
  15173. +#include <string.h>
  15174. +
  15175. +_ACEOF
  15176. + case "$host_os" in
  15177. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  15178. + *) gl_absname_cpp="$ac_cpp" ;;
  15179. + esac
  15180. + gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  15181. + sed -n '\#/string.h#{
  15182. + s#.*"\(.*/string.h\)".*#\1#
  15183. + s#^/[^/]#//&#
  15184. + p
  15185. + q
  15186. + }'`'"'
  15187. +
  15188. +
  15189. +fi
  15190. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5
  15191. +$as_echo "$gl_cv_next_string_h" >&6; }
  15192. + fi
  15193. + NEXT_STRING_H=$gl_cv_next_string_h
  15194. +
  15195. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  15196. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  15197. + gl_next_as_first_directive='<'string.h'>'
  15198. + else
  15199. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  15200. + gl_next_as_first_directive=$gl_cv_next_string_h
  15201. + fi
  15202. + NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive
  15203. +
  15204. +
  15205. +
  15206. +
  15207. +
  15208. +
  15209. +
  15210. +ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
  15211. +if test "x$ac_cv_have_decl_strndup" = xyes; then :
  15212. + ac_have_decl=1
  15213. +else
  15214. + ac_have_decl=0
  15215. +fi
  15216. +
  15217. +cat >>confdefs.h <<_ACEOF
  15218. +@%:@define HAVE_DECL_STRNDUP $ac_have_decl
  15219. +_ACEOF
  15220. +
  15221. +
  15222. +
  15223. +ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
  15224. +if test "x$ac_cv_have_decl_strnlen" = xyes; then :
  15225. + ac_have_decl=1
  15226. +else
  15227. + ac_have_decl=0
  15228. +fi
  15229. +
  15230. +cat >>confdefs.h <<_ACEOF
  15231. +@%:@define HAVE_DECL_STRNLEN $ac_have_decl
  15232. +_ACEOF
  15233. +
  15234. +ac_fn_c_check_decl "$LINENO" "strsignal" "ac_cv_have_decl_strsignal" "$ac_includes_default"
  15235. +if test "x$ac_cv_have_decl_strsignal" = xyes; then :
  15236. + ac_have_decl=1
  15237. +else
  15238. + ac_have_decl=0
  15239. +fi
  15240. +
  15241. +cat >>confdefs.h <<_ACEOF
  15242. +@%:@define HAVE_DECL_STRSIGNAL $ac_have_decl
  15243. +_ACEOF
  15244. +
  15245. +ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "#include <signal.h>
  15246. +/* NetBSD declares sys_siglist in unistd.h. */
  15247. +#ifdef HAVE_UNISTD_H
  15248. +# include <unistd.h>
  15249. +#endif
  15250. +
  15251. +"
  15252. +if test "x$ac_cv_have_decl_sys_siglist" = xyes; then :
  15253. + ac_have_decl=1
  15254. +else
  15255. + ac_have_decl=0
  15256. +fi
  15257. +
  15258. +cat >>confdefs.h <<_ACEOF
  15259. +@%:@define HAVE_DECL_SYS_SIGLIST $ac_have_decl
  15260. +_ACEOF
  15261. +
  15262. +
  15263. +
  15264. +
  15265. +
  15266. + if test "$gl_cv_func_memchr_works" != yes; then
  15267. + REPLACE_STRSTR=1
  15268. +
  15269. +
  15270. +
  15271. +
  15272. +
  15273. +
  15274. +
  15275. +
  15276. + M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext"
  15277. +
  15278. + else
  15279. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5
  15280. +$as_echo_n "checking whether strstr works... " >&6; }
  15281. +if ${gl_cv_func_strstr_works_always+:} false; then :
  15282. + $as_echo_n "(cached) " >&6
  15283. +else
  15284. + if test "$cross_compiling" = yes; then :
  15285. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15286. +/* end confdefs.h. */
  15287. +
  15288. +#ifdef __GNU_LIBRARY__
  15289. + #include <features.h>
  15290. + #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \
  15291. + || defined __UCLIBC__
  15292. + Lucky user
  15293. + #endif
  15294. +#elif defined __CYGWIN__
  15295. + #include <cygwin/version.h>
  15296. + #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
  15297. + Lucky user
  15298. + #endif
  15299. +#else
  15300. + Lucky user
  15301. +#endif
  15302. +
  15303. +_ACEOF
  15304. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  15305. + $EGREP "Lucky user" >/dev/null 2>&1; then :
  15306. + gl_cv_func_strstr_works_always=yes
  15307. +else
  15308. + gl_cv_func_strstr_works_always="guessing no"
  15309. +fi
  15310. +rm -f conftest*
  15311. +
  15312. +
  15313. +else
  15314. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15315. +/* end confdefs.h. */
  15316. +
  15317. +#include <string.h> /* for strstr */
  15318. +#define P "_EF_BF_BD"
  15319. +#define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P
  15320. +#define NEEDLE P P P P P
  15321. +
  15322. +int
  15323. +main ()
  15324. +{
  15325. +return !!strstr (HAYSTACK, NEEDLE);
  15326. +
  15327. + ;
  15328. + return 0;
  15329. +}
  15330. +_ACEOF
  15331. +if ac_fn_c_try_run "$LINENO"; then :
  15332. + gl_cv_func_strstr_works_always=yes
  15333. +else
  15334. + gl_cv_func_strstr_works_always=no
  15335. +fi
  15336. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  15337. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  15338. +fi
  15339. +
  15340. +
  15341. +fi
  15342. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strstr_works_always" >&5
  15343. +$as_echo "$gl_cv_func_strstr_works_always" >&6; }
  15344. + if test "$gl_cv_func_strstr_works_always" != yes; then
  15345. + REPLACE_STRSTR=1
  15346. +
  15347. +
  15348. +
  15349. +
  15350. +
  15351. +
  15352. +
  15353. +
  15354. + M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext"
  15355. +
  15356. + fi
  15357. + fi
  15358. +
  15359. +ac_fn_c_check_decl "$LINENO" "strtod" "ac_cv_have_decl_strtod" "$ac_includes_default"
  15360. +if test "x$ac_cv_have_decl_strtod" = xyes; then :
  15361. + ac_have_decl=1
  15362. +else
  15363. + ac_have_decl=0
  15364. +fi
  15365. +
  15366. +cat >>confdefs.h <<_ACEOF
  15367. +@%:@define HAVE_DECL_STRTOD $ac_have_decl
  15368. +_ACEOF
  15369. +
  15370. +
  15371. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexp() can be used without linking with libm" >&5
  15372. +$as_echo_n "checking whether ldexp() can be used without linking with libm... " >&6; }
  15373. +if ${gl_cv_func_ldexp_no_libm+:} false; then :
  15374. + $as_echo_n "(cached) " >&6
  15375. +else
  15376. +
  15377. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15378. +/* end confdefs.h. */
  15379. +#ifndef __NO_MATH_INLINES
  15380. + # define __NO_MATH_INLINES 1 /* for glibc */
  15381. + #endif
  15382. + #include <math.h>
  15383. + double (*funcptr) (double, int) = ldexp;
  15384. + double x;
  15385. +int
  15386. +main ()
  15387. +{
  15388. +return ldexp (x, -1) > 0;
  15389. + ;
  15390. + return 0;
  15391. +}
  15392. +_ACEOF
  15393. +if ac_fn_c_try_link "$LINENO"; then :
  15394. + gl_cv_func_ldexp_no_libm=yes
  15395. +else
  15396. + gl_cv_func_ldexp_no_libm=no
  15397. +fi
  15398. +rm -f core conftest.err conftest.$ac_objext \
  15399. + conftest$ac_exeext conftest.$ac_ext
  15400. +
  15401. +fi
  15402. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_no_libm" >&5
  15403. +$as_echo "$gl_cv_func_ldexp_no_libm" >&6; }
  15404. +
  15405. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
  15406. +$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
  15407. +if ${ac_cv_header_stat_broken+:} false; then :
  15408. + $as_echo_n "(cached) " >&6
  15409. +else
  15410. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15411. +/* end confdefs.h. */
  15412. +#include <sys/types.h>
  15413. +#include <sys/stat.h>
  15414. +
  15415. +#if defined S_ISBLK && defined S_IFDIR
  15416. +extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
  15417. +#endif
  15418. +
  15419. +#if defined S_ISBLK && defined S_IFCHR
  15420. +extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
  15421. +#endif
  15422. +
  15423. +#if defined S_ISLNK && defined S_IFREG
  15424. +extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
  15425. +#endif
  15426. +
  15427. +#if defined S_ISSOCK && defined S_IFREG
  15428. +extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
  15429. +#endif
  15430. +
  15431. +_ACEOF
  15432. +if ac_fn_c_try_compile "$LINENO"; then :
  15433. + ac_cv_header_stat_broken=no
  15434. +else
  15435. + ac_cv_header_stat_broken=yes
  15436. +fi
  15437. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15438. +fi
  15439. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
  15440. +$as_echo "$ac_cv_header_stat_broken" >&6; }
  15441. +if test $ac_cv_header_stat_broken = yes; then
  15442. +
  15443. +$as_echo "@%:@define STAT_MACROS_BROKEN 1" >>confdefs.h
  15444. +
  15445. +fi
  15446. +
  15447. +
  15448. +
  15449. +
  15450. + GNULIB_WAITPID=0;
  15451. +
  15452. +
  15453. +
  15454. +
  15455. + GNULIB_MKTIME=0;
  15456. + GNULIB_NANOSLEEP=0;
  15457. + GNULIB_STRPTIME=0;
  15458. + GNULIB_TIMEGM=0;
  15459. + GNULIB_TIME_R=0;
  15460. + HAVE_DECL_LOCALTIME_R=1;
  15461. + HAVE_NANOSLEEP=1;
  15462. + HAVE_STRPTIME=1;
  15463. + HAVE_TIMEGM=1;
  15464. + REPLACE_LOCALTIME_R=GNULIB_PORTCHECK;
  15465. + REPLACE_MKTIME=GNULIB_PORTCHECK;
  15466. + REPLACE_NANOSLEEP=GNULIB_PORTCHECK;
  15467. + REPLACE_TIMEGM=GNULIB_PORTCHECK;
  15468. +
  15469. +
  15470. +
  15471. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5
  15472. +$as_echo_n "checking for struct timespec in <time.h>... " >&6; }
  15473. +if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then :
  15474. + $as_echo_n "(cached) " >&6
  15475. +else
  15476. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15477. +/* end confdefs.h. */
  15478. +#include <time.h>
  15479. +
  15480. +int
  15481. +main ()
  15482. +{
  15483. +static struct timespec x; x.tv_sec = x.tv_nsec;
  15484. + ;
  15485. + return 0;
  15486. +}
  15487. +_ACEOF
  15488. +if ac_fn_c_try_compile "$LINENO"; then :
  15489. + gl_cv_sys_struct_timespec_in_time_h=yes
  15490. +else
  15491. + gl_cv_sys_struct_timespec_in_time_h=no
  15492. +fi
  15493. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15494. +fi
  15495. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5
  15496. +$as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; }
  15497. +
  15498. + TIME_H_DEFINES_STRUCT_TIMESPEC=0
  15499. + SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0
  15500. + PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0
  15501. + if test $gl_cv_sys_struct_timespec_in_time_h = yes; then
  15502. + TIME_H_DEFINES_STRUCT_TIMESPEC=1
  15503. + else
  15504. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5
  15505. +$as_echo_n "checking for struct timespec in <sys/time.h>... " >&6; }
  15506. +if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then :
  15507. + $as_echo_n "(cached) " >&6
  15508. +else
  15509. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15510. +/* end confdefs.h. */
  15511. +#include <sys/time.h>
  15512. +
  15513. +int
  15514. +main ()
  15515. +{
  15516. +static struct timespec x; x.tv_sec = x.tv_nsec;
  15517. + ;
  15518. + return 0;
  15519. +}
  15520. +_ACEOF
  15521. +if ac_fn_c_try_compile "$LINENO"; then :
  15522. + gl_cv_sys_struct_timespec_in_sys_time_h=yes
  15523. +else
  15524. + gl_cv_sys_struct_timespec_in_sys_time_h=no
  15525. +fi
  15526. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15527. +fi
  15528. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5
  15529. +$as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; }
  15530. + if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then
  15531. + SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1
  15532. + else
  15533. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5
  15534. +$as_echo_n "checking for struct timespec in <pthread.h>... " >&6; }
  15535. +if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then :
  15536. + $as_echo_n "(cached) " >&6
  15537. +else
  15538. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15539. +/* end confdefs.h. */
  15540. +#include <pthread.h>
  15541. +
  15542. +int
  15543. +main ()
  15544. +{
  15545. +static struct timespec x; x.tv_sec = x.tv_nsec;
  15546. + ;
  15547. + return 0;
  15548. +}
  15549. +_ACEOF
  15550. +if ac_fn_c_try_compile "$LINENO"; then :
  15551. + gl_cv_sys_struct_timespec_in_pthread_h=yes
  15552. +else
  15553. + gl_cv_sys_struct_timespec_in_pthread_h=no
  15554. +fi
  15555. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15556. +fi
  15557. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5
  15558. +$as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; }
  15559. + if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then
  15560. + PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1
  15561. + fi
  15562. + fi
  15563. + fi
  15564. +
  15565. +
  15566. +
  15567. +
  15568. +
  15569. +
  15570. +
  15571. +
  15572. +
  15573. +
  15574. +
  15575. +
  15576. +
  15577. +
  15578. +
  15579. + if test $gl_cv_have_include_next = yes; then
  15580. + gl_cv_next_time_h='<'time.h'>'
  15581. + else
  15582. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5
  15583. +$as_echo_n "checking absolute name of <time.h>... " >&6; }
  15584. +if ${gl_cv_next_time_h+:} false; then :
  15585. + $as_echo_n "(cached) " >&6
  15586. +else
  15587. +
  15588. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15589. +/* end confdefs.h. */
  15590. +#include <time.h>
  15591. +
  15592. +_ACEOF
  15593. + case "$host_os" in
  15594. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  15595. + *) gl_absname_cpp="$ac_cpp" ;;
  15596. + esac
  15597. + gl_cv_next_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  15598. + sed -n '\#/time.h#{
  15599. + s#.*"\(.*/time.h\)".*#\1#
  15600. + s#^/[^/]#//&#
  15601. + p
  15602. + q
  15603. + }'`'"'
  15604. +
  15605. +
  15606. +fi
  15607. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5
  15608. +$as_echo "$gl_cv_next_time_h" >&6; }
  15609. + fi
  15610. + NEXT_TIME_H=$gl_cv_next_time_h
  15611. +
  15612. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  15613. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  15614. + gl_next_as_first_directive='<'time.h'>'
  15615. + else
  15616. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  15617. + gl_next_as_first_directive=$gl_cv_next_time_h
  15618. + fi
  15619. + NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive
  15620. +
  15621. +
  15622. +
  15623. +
  15624. +
  15625. +
  15626. +
  15627. +
  15628. +ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
  15629. +if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then :
  15630. + ac_have_decl=1
  15631. +else
  15632. + ac_have_decl=0
  15633. +fi
  15634. +
  15635. +cat >>confdefs.h <<_ACEOF
  15636. +@%:@define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
  15637. +_ACEOF
  15638. +
  15639. +ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
  15640. +if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then :
  15641. + ac_have_decl=1
  15642. +else
  15643. + ac_have_decl=0
  15644. +fi
  15645. +
  15646. +cat >>confdefs.h <<_ACEOF
  15647. +@%:@define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
  15648. +_ACEOF
  15649. +
  15650. +ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
  15651. +if test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then :
  15652. + ac_have_decl=1
  15653. +else
  15654. + ac_have_decl=0
  15655. +fi
  15656. +
  15657. +cat >>confdefs.h <<_ACEOF
  15658. +@%:@define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
  15659. +_ACEOF
  15660. +
  15661. +ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
  15662. +if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then :
  15663. + ac_have_decl=1
  15664. +else
  15665. + ac_have_decl=0
  15666. +fi
  15667. +
  15668. +cat >>confdefs.h <<_ACEOF
  15669. +@%:@define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
  15670. +_ACEOF
  15671. +
  15672. +ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
  15673. +if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then :
  15674. + ac_have_decl=1
  15675. +else
  15676. + ac_have_decl=0
  15677. +fi
  15678. +
  15679. +cat >>confdefs.h <<_ACEOF
  15680. +@%:@define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
  15681. +_ACEOF
  15682. +
  15683. +ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
  15684. +if test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then :
  15685. + ac_have_decl=1
  15686. +else
  15687. + ac_have_decl=0
  15688. +fi
  15689. +
  15690. +cat >>confdefs.h <<_ACEOF
  15691. +@%:@define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
  15692. +_ACEOF
  15693. +
  15694. +ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
  15695. +if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then :
  15696. + ac_have_decl=1
  15697. +else
  15698. + ac_have_decl=0
  15699. +fi
  15700. +
  15701. +cat >>confdefs.h <<_ACEOF
  15702. +@%:@define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
  15703. +_ACEOF
  15704. +
  15705. +ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
  15706. +if test "x$ac_cv_have_decl_fread_unlocked" = xyes; then :
  15707. + ac_have_decl=1
  15708. +else
  15709. + ac_have_decl=0
  15710. +fi
  15711. +
  15712. +cat >>confdefs.h <<_ACEOF
  15713. +@%:@define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
  15714. +_ACEOF
  15715. +
  15716. +ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
  15717. +if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then :
  15718. + ac_have_decl=1
  15719. +else
  15720. + ac_have_decl=0
  15721. +fi
  15722. +
  15723. +cat >>confdefs.h <<_ACEOF
  15724. +@%:@define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
  15725. +_ACEOF
  15726. +
  15727. +ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
  15728. +if test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then :
  15729. + ac_have_decl=1
  15730. +else
  15731. + ac_have_decl=0
  15732. +fi
  15733. +
  15734. +cat >>confdefs.h <<_ACEOF
  15735. +@%:@define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
  15736. +_ACEOF
  15737. +
  15738. +ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
  15739. +if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then :
  15740. + ac_have_decl=1
  15741. +else
  15742. + ac_have_decl=0
  15743. +fi
  15744. +
  15745. +cat >>confdefs.h <<_ACEOF
  15746. +@%:@define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl
  15747. +_ACEOF
  15748. +
  15749. +ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
  15750. +if test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then :
  15751. + ac_have_decl=1
  15752. +else
  15753. + ac_have_decl=0
  15754. +fi
  15755. +
  15756. +cat >>confdefs.h <<_ACEOF
  15757. +@%:@define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
  15758. +_ACEOF
  15759. +
  15760. +
  15761. +
  15762. +
  15763. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
  15764. +$as_echo_n "checking for wint_t... " >&6; }
  15765. +if ${gt_cv_c_wint_t+:} false; then :
  15766. + $as_echo_n "(cached) " >&6
  15767. +else
  15768. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15769. +/* end confdefs.h. */
  15770. +
  15771. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  15772. + <wchar.h>.
  15773. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
  15774. + before <wchar.h>. */
  15775. +#include <stddef.h>
  15776. +#include <stdio.h>
  15777. +#include <time.h>
  15778. +#include <wchar.h>
  15779. + wint_t foo = (wchar_t)'\0';
  15780. +int
  15781. +main ()
  15782. +{
  15783. +
  15784. + ;
  15785. + return 0;
  15786. +}
  15787. +_ACEOF
  15788. +if ac_fn_c_try_compile "$LINENO"; then :
  15789. + gt_cv_c_wint_t=yes
  15790. +else
  15791. + gt_cv_c_wint_t=no
  15792. +fi
  15793. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15794. +fi
  15795. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
  15796. +$as_echo "$gt_cv_c_wint_t" >&6; }
  15797. + if test $gt_cv_c_wint_t = yes; then
  15798. +
  15799. +$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h
  15800. +
  15801. + fi
  15802. +
  15803. +
  15804. +
  15805. +
  15806. +
  15807. + if test $ac_cv_header_features_h = yes; then
  15808. + HAVE_FEATURES_H=1
  15809. + else
  15810. + HAVE_FEATURES_H=0
  15811. + fi
  15812. +
  15813. +
  15814. +
  15815. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
  15816. +$as_echo_n "checking for inttypes.h... " >&6; }
  15817. +if ${gl_cv_header_inttypes_h+:} false; then :
  15818. + $as_echo_n "(cached) " >&6
  15819. +else
  15820. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15821. +/* end confdefs.h. */
  15822. +
  15823. +#include <sys/types.h>
  15824. +#include <inttypes.h>
  15825. +
  15826. +int
  15827. +main ()
  15828. +{
  15829. +uintmax_t i = (uintmax_t) -1; return !i;
  15830. + ;
  15831. + return 0;
  15832. +}
  15833. +_ACEOF
  15834. +if ac_fn_c_try_compile "$LINENO"; then :
  15835. + gl_cv_header_inttypes_h=yes
  15836. +else
  15837. + gl_cv_header_inttypes_h=no
  15838. +fi
  15839. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15840. +fi
  15841. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5
  15842. +$as_echo "$gl_cv_header_inttypes_h" >&6; }
  15843. + if test $gl_cv_header_inttypes_h = yes; then
  15844. +
  15845. +cat >>confdefs.h <<_ACEOF
  15846. +@%:@define HAVE_INTTYPES_H_WITH_UINTMAX 1
  15847. +_ACEOF
  15848. +
  15849. + fi
  15850. +
  15851. +
  15852. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
  15853. +$as_echo_n "checking for stdint.h... " >&6; }
  15854. +if ${gl_cv_header_stdint_h+:} false; then :
  15855. + $as_echo_n "(cached) " >&6
  15856. +else
  15857. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15858. +/* end confdefs.h. */
  15859. +#include <sys/types.h>
  15860. + #include <stdint.h>
  15861. +int
  15862. +main ()
  15863. +{
  15864. +uintmax_t i = (uintmax_t) -1; return !i;
  15865. + ;
  15866. + return 0;
  15867. +}
  15868. +_ACEOF
  15869. +if ac_fn_c_try_compile "$LINENO"; then :
  15870. + gl_cv_header_stdint_h=yes
  15871. +else
  15872. + gl_cv_header_stdint_h=no
  15873. +fi
  15874. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15875. +fi
  15876. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5
  15877. +$as_echo "$gl_cv_header_stdint_h" >&6; }
  15878. + if test $gl_cv_header_stdint_h = yes; then
  15879. +
  15880. +cat >>confdefs.h <<_ACEOF
  15881. +@%:@define HAVE_STDINT_H_WITH_UINTMAX 1
  15882. +_ACEOF
  15883. +
  15884. + fi
  15885. +
  15886. +
  15887. +
  15888. +
  15889. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
  15890. +$as_echo_n "checking for intmax_t... " >&6; }
  15891. +if ${gt_cv_c_intmax_t+:} false; then :
  15892. + $as_echo_n "(cached) " >&6
  15893. +else
  15894. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15895. +/* end confdefs.h. */
  15896. +
  15897. +#include <stddef.h>
  15898. +#include <stdlib.h>
  15899. +#if HAVE_STDINT_H_WITH_UINTMAX
  15900. +#include <stdint.h>
  15901. +#endif
  15902. +#if HAVE_INTTYPES_H_WITH_UINTMAX
  15903. +#include <inttypes.h>
  15904. +#endif
  15905. +
  15906. +int
  15907. +main ()
  15908. +{
  15909. +intmax_t x = -1; return !x;
  15910. + ;
  15911. + return 0;
  15912. +}
  15913. +_ACEOF
  15914. +if ac_fn_c_try_compile "$LINENO"; then :
  15915. + gt_cv_c_intmax_t=yes
  15916. +else
  15917. + gt_cv_c_intmax_t=no
  15918. +fi
  15919. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15920. +fi
  15921. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
  15922. +$as_echo "$gt_cv_c_intmax_t" >&6; }
  15923. + if test $gt_cv_c_intmax_t = yes; then
  15924. +
  15925. +$as_echo "@%:@define HAVE_INTMAX_T 1" >>confdefs.h
  15926. +
  15927. + else
  15928. +
  15929. + test $ac_cv_type_long_long_int = yes \
  15930. + && ac_type='long long' \
  15931. + || ac_type='long'
  15932. +
  15933. +cat >>confdefs.h <<_ACEOF
  15934. +@%:@define intmax_t $ac_type
  15935. +_ACEOF
  15936. +
  15937. + fi
  15938. +
  15939. +
  15940. +
  15941. +
  15942. +
  15943. +
  15944. +
  15945. + for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb
  15946. +do :
  15947. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  15948. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  15949. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  15950. + cat >>confdefs.h <<_ACEOF
  15951. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  15952. +_ACEOF
  15953. +
  15954. +fi
  15955. +done
  15956. +
  15957. + ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include <stdio.h>
  15958. +"
  15959. +if test "x$ac_cv_have_decl__snprintf" = xyes; then :
  15960. + ac_have_decl=1
  15961. +else
  15962. + ac_have_decl=0
  15963. +fi
  15964. +
  15965. +cat >>confdefs.h <<_ACEOF
  15966. +@%:@define HAVE_DECL__SNPRINTF $ac_have_decl
  15967. +_ACEOF
  15968. +
  15969. +
  15970. + case "$gl_cv_func_snprintf_retval_c99" in
  15971. + *yes)
  15972. +
  15973. +$as_echo "@%:@define HAVE_SNPRINTF_RETVAL_C99 1" >>confdefs.h
  15974. +
  15975. + ;;
  15976. + esac
  15977. +
  15978. +
  15979. +
  15980. +
  15981. +
  15982. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports size specifiers as in C99" >&5
  15983. +$as_echo_n "checking whether printf supports size specifiers as in C99... " >&6; }
  15984. +if ${gl_cv_func_printf_sizes_c99+:} false; then :
  15985. + $as_echo_n "(cached) " >&6
  15986. +else
  15987. +
  15988. + if test "$cross_compiling" = yes; then :
  15989. +
  15990. + case "$host_os" in
  15991. + # Guess yes on glibc systems.
  15992. + *-gnu*) gl_cv_func_printf_sizes_c99="guessing yes";;
  15993. + # Guess yes on FreeBSD >= 5.
  15994. + freebsd[1-4]*) gl_cv_func_printf_sizes_c99="guessing no";;
  15995. + freebsd* | kfreebsd*) gl_cv_func_printf_sizes_c99="guessing yes";;
  15996. + # Guess yes on MacOS X >= 10.3.
  15997. + darwin[1-6].*) gl_cv_func_printf_sizes_c99="guessing no";;
  15998. + darwin*) gl_cv_func_printf_sizes_c99="guessing yes";;
  15999. + # Guess yes on OpenBSD >= 3.9.
  16000. + openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
  16001. + gl_cv_func_printf_sizes_c99="guessing no";;
  16002. + openbsd*) gl_cv_func_printf_sizes_c99="guessing yes";;
  16003. + # Guess yes on Solaris >= 2.10.
  16004. + solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
  16005. + solaris*) gl_cv_func_printf_sizes_c99="guessing no";;
  16006. + # Guess yes on NetBSD >= 3.
  16007. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
  16008. + gl_cv_func_printf_sizes_c99="guessing no";;
  16009. + netbsd*) gl_cv_func_printf_sizes_c99="guessing yes";;
  16010. + # If we don't know, assume the worst.
  16011. + *) gl_cv_func_printf_sizes_c99="guessing no";;
  16012. + esac
  16013. +
  16014. +else
  16015. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16016. +/* end confdefs.h. */
  16017. +
  16018. +#include <stddef.h>
  16019. +#include <stdio.h>
  16020. +#include <string.h>
  16021. +#include <sys/types.h>
  16022. +#if HAVE_STDINT_H_WITH_UINTMAX
  16023. +# include <stdint.h>
  16024. +#endif
  16025. +#if HAVE_INTTYPES_H_WITH_UINTMAX
  16026. +# include <inttypes.h>
  16027. +#endif
  16028. +static char buf[100];
  16029. +int main ()
  16030. +{
  16031. + int result = 0;
  16032. +#if HAVE_STDINT_H_WITH_UINTMAX || HAVE_INTTYPES_H_WITH_UINTMAX
  16033. + buf[0] = '\0';
  16034. + if (sprintf (buf, "%ju %d", (uintmax_t) 12345671, 33, 44, 55) < 0
  16035. + || strcmp (buf, "12345671 33") != 0)
  16036. + result |= 1;
  16037. +#endif
  16038. + buf[0] = '\0';
  16039. + if (sprintf (buf, "%zu %d", (size_t) 12345672, 33, 44, 55) < 0
  16040. + || strcmp (buf, "12345672 33") != 0)
  16041. + result |= 2;
  16042. + buf[0] = '\0';
  16043. + if (sprintf (buf, "%tu %d", (ptrdiff_t) 12345673, 33, 44, 55) < 0
  16044. + || strcmp (buf, "12345673 33") != 0)
  16045. + result |= 4;
  16046. + buf[0] = '\0';
  16047. + if (sprintf (buf, "%Lg %d", (long double) 1.5, 33, 44, 55) < 0
  16048. + || strcmp (buf, "1.5 33") != 0)
  16049. + result |= 8;
  16050. + return result;
  16051. +}
  16052. +_ACEOF
  16053. +if ac_fn_c_try_run "$LINENO"; then :
  16054. + gl_cv_func_printf_sizes_c99=yes
  16055. +else
  16056. + gl_cv_func_printf_sizes_c99=no
  16057. +fi
  16058. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16059. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  16060. +fi
  16061. +
  16062. +
  16063. +fi
  16064. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_sizes_c99" >&5
  16065. +$as_echo "$gl_cv_func_printf_sizes_c99" >&6; }
  16066. +
  16067. +
  16068. +
  16069. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports 'long double' arguments" >&5
  16070. +$as_echo_n "checking whether printf supports 'long double' arguments... " >&6; }
  16071. +if ${gl_cv_func_printf_long_double+:} false; then :
  16072. + $as_echo_n "(cached) " >&6
  16073. +else
  16074. +
  16075. + if test "$cross_compiling" = yes; then :
  16076. +
  16077. + case "$host_os" in
  16078. + beos*) gl_cv_func_printf_long_double="guessing no";;
  16079. + mingw* | pw*) gl_cv_func_printf_long_double="guessing no";;
  16080. + *) gl_cv_func_printf_long_double="guessing yes";;
  16081. + esac
  16082. +
  16083. +else
  16084. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16085. +/* end confdefs.h. */
  16086. +
  16087. +#include <stdio.h>
  16088. +#include <string.h>
  16089. +static char buf[10000];
  16090. +int main ()
  16091. +{
  16092. + int result = 0;
  16093. + buf[0] = '\0';
  16094. + if (sprintf (buf, "%Lf %d", 1.75L, 33, 44, 55) < 0
  16095. + || strcmp (buf, "1.750000 33") != 0)
  16096. + result |= 1;
  16097. + buf[0] = '\0';
  16098. + if (sprintf (buf, "%Le %d", 1.75L, 33, 44, 55) < 0
  16099. + || strcmp (buf, "1.750000e+00 33") != 0)
  16100. + result |= 2;
  16101. + buf[0] = '\0';
  16102. + if (sprintf (buf, "%Lg %d", 1.75L, 33, 44, 55) < 0
  16103. + || strcmp (buf, "1.75 33") != 0)
  16104. + result |= 4;
  16105. + return result;
  16106. +}
  16107. +_ACEOF
  16108. +if ac_fn_c_try_run "$LINENO"; then :
  16109. + gl_cv_func_printf_long_double=yes
  16110. +else
  16111. + gl_cv_func_printf_long_double=no
  16112. +fi
  16113. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16114. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  16115. +fi
  16116. +
  16117. +
  16118. +fi
  16119. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_long_double" >&5
  16120. +$as_echo "$gl_cv_func_printf_long_double" >&6; }
  16121. +
  16122. +
  16123. +
  16124. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'double' arguments" >&5
  16125. +$as_echo_n "checking whether printf supports infinite 'double' arguments... " >&6; }
  16126. +if ${gl_cv_func_printf_infinite+:} false; then :
  16127. + $as_echo_n "(cached) " >&6
  16128. +else
  16129. +
  16130. + if test "$cross_compiling" = yes; then :
  16131. +
  16132. + case "$host_os" in
  16133. + # Guess yes on glibc systems.
  16134. + *-gnu*) gl_cv_func_printf_infinite="guessing yes";;
  16135. + # Guess yes on FreeBSD >= 6.
  16136. + freebsd[1-5]*) gl_cv_func_printf_infinite="guessing no";;
  16137. + freebsd* | kfreebsd*) gl_cv_func_printf_infinite="guessing yes";;
  16138. + # Guess yes on MacOS X >= 10.3.
  16139. + darwin[1-6].*) gl_cv_func_printf_infinite="guessing no";;
  16140. + darwin*) gl_cv_func_printf_infinite="guessing yes";;
  16141. + # Guess yes on HP-UX >= 11.
  16142. + hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite="guessing no";;
  16143. + hpux*) gl_cv_func_printf_infinite="guessing yes";;
  16144. + # Guess yes on NetBSD >= 3.
  16145. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
  16146. + gl_cv_func_printf_infinite="guessing no";;
  16147. + netbsd*) gl_cv_func_printf_infinite="guessing yes";;
  16148. + # Guess yes on BeOS.
  16149. + beos*) gl_cv_func_printf_infinite="guessing yes";;
  16150. + # If we don't know, assume the worst.
  16151. + *) gl_cv_func_printf_infinite="guessing no";;
  16152. + esac
  16153. +
  16154. +else
  16155. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16156. +/* end confdefs.h. */
  16157. +
  16158. +#include <stdio.h>
  16159. +#include <string.h>
  16160. +static int
  16161. +strisnan (const char *string, size_t start_index, size_t end_index)
  16162. +{
  16163. + if (start_index < end_index)
  16164. + {
  16165. + if (string[start_index] == '-')
  16166. + start_index++;
  16167. + if (start_index + 3 <= end_index
  16168. + && memcmp (string + start_index, "nan", 3) == 0)
  16169. + {
  16170. + start_index += 3;
  16171. + if (start_index == end_index
  16172. + || (string[start_index] == '(' && string[end_index - 1] == ')'))
  16173. + return 1;
  16174. + }
  16175. + }
  16176. + return 0;
  16177. +}
  16178. +static int
  16179. +have_minus_zero ()
  16180. +{
  16181. + static double plus_zero = 0.0;
  16182. + double minus_zero = - plus_zero;
  16183. + return memcmp (&plus_zero, &minus_zero, sizeof (double)) != 0;
  16184. +}
  16185. +static char buf[10000];
  16186. +static double zero = 0.0;
  16187. +int main ()
  16188. +{
  16189. + int result = 0;
  16190. + if (sprintf (buf, "%f", 1.0 / 0.0) < 0
  16191. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  16192. + result |= 1;
  16193. + if (sprintf (buf, "%f", -1.0 / 0.0) < 0
  16194. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  16195. + result |= 1;
  16196. + if (sprintf (buf, "%f", zero / zero) < 0
  16197. + || !strisnan (buf, 0, strlen (buf)))
  16198. + result |= 2;
  16199. + if (sprintf (buf, "%e", 1.0 / 0.0) < 0
  16200. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  16201. + result |= 4;
  16202. + if (sprintf (buf, "%e", -1.0 / 0.0) < 0
  16203. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  16204. + result |= 4;
  16205. + if (sprintf (buf, "%e", zero / zero) < 0
  16206. + || !strisnan (buf, 0, strlen (buf)))
  16207. + result |= 8;
  16208. + if (sprintf (buf, "%g", 1.0 / 0.0) < 0
  16209. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  16210. + result |= 16;
  16211. + if (sprintf (buf, "%g", -1.0 / 0.0) < 0
  16212. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  16213. + result |= 16;
  16214. + if (sprintf (buf, "%g", zero / zero) < 0
  16215. + || !strisnan (buf, 0, strlen (buf)))
  16216. + result |= 32;
  16217. + /* This test fails on HP-UX 10.20. */
  16218. + if (have_minus_zero ())
  16219. + if (sprintf (buf, "%g", - zero) < 0
  16220. + || strcmp (buf, "-0") != 0)
  16221. + result |= 64;
  16222. + return result;
  16223. +}
  16224. +_ACEOF
  16225. +if ac_fn_c_try_run "$LINENO"; then :
  16226. + gl_cv_func_printf_infinite=yes
  16227. +else
  16228. + gl_cv_func_printf_infinite=no
  16229. +fi
  16230. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16231. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  16232. +fi
  16233. +
  16234. +
  16235. +fi
  16236. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_infinite" >&5
  16237. +$as_echo "$gl_cv_func_printf_infinite" >&6; }
  16238. +
  16239. +
  16240. +
  16241. +
  16242. +
  16243. + if test -n "$gl_printf_safe"; then
  16244. +
  16245. +$as_echo "@%:@define CHECK_PRINTF_SAFE 1" >>confdefs.h
  16246. +
  16247. + fi
  16248. + case "$gl_cv_func_printf_long_double" in
  16249. + *yes)
  16250. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'long double' arguments" >&5
  16251. +$as_echo_n "checking whether printf supports infinite 'long double' arguments... " >&6; }
  16252. +if ${gl_cv_func_printf_infinite_long_double+:} false; then :
  16253. + $as_echo_n "(cached) " >&6
  16254. +else
  16255. +
  16256. + if test "$cross_compiling" = yes; then :
  16257. +
  16258. + case "$host_cpu" in
  16259. + # Guess no on ia64, x86_64, i386.
  16260. + ia64 | x86_64 | i*86) gl_cv_func_printf_infinite_long_double="guessing no";;
  16261. + *)
  16262. + case "$host_os" in
  16263. + # Guess yes on glibc systems.
  16264. + *-gnu*) gl_cv_func_printf_infinite_long_double="guessing yes";;
  16265. + # Guess yes on FreeBSD >= 6.
  16266. + freebsd[1-5]*) gl_cv_func_printf_infinite_long_double="guessing no";;
  16267. + freebsd* | kfreebsd*) gl_cv_func_printf_infinite_long_double="guessing yes";;
  16268. + # Guess yes on HP-UX >= 11.
  16269. + hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite_long_double="guessing no";;
  16270. + hpux*) gl_cv_func_printf_infinite_long_double="guessing yes";;
  16271. + # If we don't know, assume the worst.
  16272. + *) gl_cv_func_printf_infinite_long_double="guessing no";;
  16273. + esac
  16274. + ;;
  16275. + esac
  16276. +
  16277. +else
  16278. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16279. +/* end confdefs.h. */
  16280. +
  16281. +
  16282. +#include <stdlib.h>
  16283. +#if defined __MACH__ && defined __APPLE__
  16284. +/* Avoid a crash on MacOS X. */
  16285. +#include <mach/mach.h>
  16286. +#include <mach/mach_error.h>
  16287. +#include <mach/thread_status.h>
  16288. +#include <mach/exception.h>
  16289. +#include <mach/task.h>
  16290. +#include <pthread.h>
  16291. +/* The exception port on which our thread listens. */
  16292. +static mach_port_t our_exception_port;
  16293. +/* The main function of the thread listening for exceptions of type
  16294. + EXC_BAD_ACCESS. */
  16295. +static void *
  16296. +mach_exception_thread (void *arg)
  16297. +{
  16298. + /* Buffer for a message to be received. */
  16299. + struct {
  16300. + mach_msg_header_t head;
  16301. + mach_msg_body_t msgh_body;
  16302. + char data[1024];
  16303. + } msg;
  16304. + mach_msg_return_t retval;
  16305. + /* Wait for a message on the exception port. */
  16306. + retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
  16307. + our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
  16308. + if (retval != MACH_MSG_SUCCESS)
  16309. + abort ();
  16310. + exit (1);
  16311. +}
  16312. +static void
  16313. +nocrash_init (void)
  16314. +{
  16315. + mach_port_t self = mach_task_self ();
  16316. + /* Allocate a port on which the thread shall listen for exceptions. */
  16317. + if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
  16318. + == KERN_SUCCESS) {
  16319. + /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */
  16320. + if (mach_port_insert_right (self, our_exception_port, our_exception_port,
  16321. + MACH_MSG_TYPE_MAKE_SEND)
  16322. + == KERN_SUCCESS) {
  16323. + /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting
  16324. + for us. */
  16325. + exception_mask_t mask = EXC_MASK_BAD_ACCESS;
  16326. + /* Create the thread listening on the exception port. */
  16327. + pthread_attr_t attr;
  16328. + pthread_t thread;
  16329. + if (pthread_attr_init (&attr) == 0
  16330. + && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
  16331. + && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
  16332. + pthread_attr_destroy (&attr);
  16333. + /* Replace the exception port info for these exceptions with our own.
  16334. + Note that we replace the exception port for the entire task, not only
  16335. + for a particular thread. This has the effect that when our exception
  16336. + port gets the message, the thread specific exception port has already
  16337. + been asked, and we don't need to bother about it.
  16338. + See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */
  16339. + task_set_exception_ports (self, mask, our_exception_port,
  16340. + EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
  16341. + }
  16342. + }
  16343. + }
  16344. +}
  16345. +#else
  16346. +/* Avoid a crash on POSIX systems. */
  16347. +#include <signal.h>
  16348. +/* A POSIX signal handler. */
  16349. +static void
  16350. +exception_handler (int sig)
  16351. +{
  16352. + exit (1);
  16353. +}
  16354. +static void
  16355. +nocrash_init (void)
  16356. +{
  16357. +#ifdef SIGSEGV
  16358. + signal (SIGSEGV, exception_handler);
  16359. +#endif
  16360. +#ifdef SIGBUS
  16361. + signal (SIGBUS, exception_handler);
  16362. +#endif
  16363. +}
  16364. +#endif
  16365. +
  16366. +#include <float.h>
  16367. +#include <stdio.h>
  16368. +#include <string.h>
  16369. +static int
  16370. +strisnan (const char *string, size_t start_index, size_t end_index)
  16371. +{
  16372. + if (start_index < end_index)
  16373. + {
  16374. + if (string[start_index] == '-')
  16375. + start_index++;
  16376. + if (start_index + 3 <= end_index
  16377. + && memcmp (string + start_index, "nan", 3) == 0)
  16378. + {
  16379. + start_index += 3;
  16380. + if (start_index == end_index
  16381. + || (string[start_index] == '(' && string[end_index - 1] == ')'))
  16382. + return 1;
  16383. + }
  16384. + }
  16385. + return 0;
  16386. +}
  16387. +static char buf[10000];
  16388. +static long double zeroL = 0.0L;
  16389. +int main ()
  16390. +{
  16391. + int result = 0;
  16392. + nocrash_init();
  16393. + if (sprintf (buf, "%Lf", 1.0L / 0.0L) < 0
  16394. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  16395. + result |= 1;
  16396. + if (sprintf (buf, "%Lf", -1.0L / 0.0L) < 0
  16397. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  16398. + result |= 1;
  16399. + if (sprintf (buf, "%Lf", zeroL / zeroL) < 0
  16400. + || !strisnan (buf, 0, strlen (buf)))
  16401. + result |= 1;
  16402. + if (sprintf (buf, "%Le", 1.0L / 0.0L) < 0
  16403. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  16404. + result |= 1;
  16405. + if (sprintf (buf, "%Le", -1.0L / 0.0L) < 0
  16406. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  16407. + result |= 1;
  16408. + if (sprintf (buf, "%Le", zeroL / zeroL) < 0
  16409. + || !strisnan (buf, 0, strlen (buf)))
  16410. + result |= 1;
  16411. + if (sprintf (buf, "%Lg", 1.0L / 0.0L) < 0
  16412. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  16413. + result |= 1;
  16414. + if (sprintf (buf, "%Lg", -1.0L / 0.0L) < 0
  16415. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  16416. + result |= 1;
  16417. + if (sprintf (buf, "%Lg", zeroL / zeroL) < 0
  16418. + || !strisnan (buf, 0, strlen (buf)))
  16419. + result |= 1;
  16420. +#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_))
  16421. +/* Representation of an 80-bit 'long double' as an initializer for a sequence
  16422. + of 'unsigned int' words. */
  16423. +# ifdef WORDS_BIGENDIAN
  16424. +# define LDBL80_WORDS(exponent,manthi,mantlo) \
  16425. + { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \
  16426. + ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16), \
  16427. + (unsigned int) (mantlo) << 16 \
  16428. + }
  16429. +# else
  16430. +# define LDBL80_WORDS(exponent,manthi,mantlo) \
  16431. + { mantlo, manthi, exponent }
  16432. +# endif
  16433. + { /* Quiet NaN. */
  16434. + static union { unsigned int word[4]; long double value; } x =
  16435. + { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
  16436. + if (sprintf (buf, "%Lf", x.value) < 0
  16437. + || !strisnan (buf, 0, strlen (buf)))
  16438. + result |= 2;
  16439. + if (sprintf (buf, "%Le", x.value) < 0
  16440. + || !strisnan (buf, 0, strlen (buf)))
  16441. + result |= 2;
  16442. + if (sprintf (buf, "%Lg", x.value) < 0
  16443. + || !strisnan (buf, 0, strlen (buf)))
  16444. + result |= 2;
  16445. + }
  16446. + {
  16447. + /* Signalling NaN. */
  16448. + static union { unsigned int word[4]; long double value; } x =
  16449. + { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
  16450. + if (sprintf (buf, "%Lf", x.value) < 0
  16451. + || !strisnan (buf, 0, strlen (buf)))
  16452. + result |= 2;
  16453. + if (sprintf (buf, "%Le", x.value) < 0
  16454. + || !strisnan (buf, 0, strlen (buf)))
  16455. + result |= 2;
  16456. + if (sprintf (buf, "%Lg", x.value) < 0
  16457. + || !strisnan (buf, 0, strlen (buf)))
  16458. + result |= 2;
  16459. + }
  16460. + { /* Pseudo-NaN. */
  16461. + static union { unsigned int word[4]; long double value; } x =
  16462. + { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
  16463. + if (sprintf (buf, "%Lf", x.value) < 0
  16464. + || !strisnan (buf, 0, strlen (buf)))
  16465. + result |= 4;
  16466. + if (sprintf (buf, "%Le", x.value) < 0
  16467. + || !strisnan (buf, 0, strlen (buf)))
  16468. + result |= 4;
  16469. + if (sprintf (buf, "%Lg", x.value) < 0
  16470. + || !strisnan (buf, 0, strlen (buf)))
  16471. + result |= 4;
  16472. + }
  16473. + { /* Pseudo-Infinity. */
  16474. + static union { unsigned int word[4]; long double value; } x =
  16475. + { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
  16476. + if (sprintf (buf, "%Lf", x.value) < 0
  16477. + || !strisnan (buf, 0, strlen (buf)))
  16478. + result |= 8;
  16479. + if (sprintf (buf, "%Le", x.value) < 0
  16480. + || !strisnan (buf, 0, strlen (buf)))
  16481. + result |= 8;
  16482. + if (sprintf (buf, "%Lg", x.value) < 0
  16483. + || !strisnan (buf, 0, strlen (buf)))
  16484. + result |= 8;
  16485. + }
  16486. + { /* Pseudo-Zero. */
  16487. + static union { unsigned int word[4]; long double value; } x =
  16488. + { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
  16489. + if (sprintf (buf, "%Lf", x.value) < 0
  16490. + || !strisnan (buf, 0, strlen (buf)))
  16491. + result |= 16;
  16492. + if (sprintf (buf, "%Le", x.value) < 0
  16493. + || !strisnan (buf, 0, strlen (buf)))
  16494. + result |= 16;
  16495. + if (sprintf (buf, "%Lg", x.value) < 0
  16496. + || !strisnan (buf, 0, strlen (buf)))
  16497. + result |= 16;
  16498. + }
  16499. + { /* Unnormalized number. */
  16500. + static union { unsigned int word[4]; long double value; } x =
  16501. + { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
  16502. + if (sprintf (buf, "%Lf", x.value) < 0
  16503. + || !strisnan (buf, 0, strlen (buf)))
  16504. + result |= 32;
  16505. + if (sprintf (buf, "%Le", x.value) < 0
  16506. + || !strisnan (buf, 0, strlen (buf)))
  16507. + result |= 32;
  16508. + if (sprintf (buf, "%Lg", x.value) < 0
  16509. + || !strisnan (buf, 0, strlen (buf)))
  16510. + result |= 32;
  16511. + }
  16512. + { /* Pseudo-Denormal. */
  16513. + static union { unsigned int word[4]; long double value; } x =
  16514. + { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
  16515. + if (sprintf (buf, "%Lf", x.value) < 0
  16516. + || !strisnan (buf, 0, strlen (buf)))
  16517. + result |= 64;
  16518. + if (sprintf (buf, "%Le", x.value) < 0
  16519. + || !strisnan (buf, 0, strlen (buf)))
  16520. + result |= 64;
  16521. + if (sprintf (buf, "%Lg", x.value) < 0
  16522. + || !strisnan (buf, 0, strlen (buf)))
  16523. + result |= 64;
  16524. + }
  16525. +#endif
  16526. + return result;
  16527. +}
  16528. +_ACEOF
  16529. +if ac_fn_c_try_run "$LINENO"; then :
  16530. + gl_cv_func_printf_infinite_long_double=yes
  16531. +else
  16532. + gl_cv_func_printf_infinite_long_double=no
  16533. +fi
  16534. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16535. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  16536. +fi
  16537. +
  16538. +
  16539. +fi
  16540. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_infinite_long_double" >&5
  16541. +$as_echo "$gl_cv_func_printf_infinite_long_double" >&6; }
  16542. + ;;
  16543. + *)
  16544. + gl_cv_func_printf_infinite_long_double="irrelevant"
  16545. + ;;
  16546. + esac
  16547. +
  16548. +
  16549. +
  16550. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'a' and 'A' directives" >&5
  16551. +$as_echo_n "checking whether printf supports the 'a' and 'A' directives... " >&6; }
  16552. +if ${gl_cv_func_printf_directive_a+:} false; then :
  16553. + $as_echo_n "(cached) " >&6
  16554. +else
  16555. +
  16556. + if test "$cross_compiling" = yes; then :
  16557. +
  16558. + case "$host_os" in
  16559. + # Guess yes on glibc >= 2.5 systems.
  16560. + *-gnu*)
  16561. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16562. +/* end confdefs.h. */
  16563. +
  16564. + #include <features.h>
  16565. + #ifdef __GNU_LIBRARY__
  16566. + #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 5) || (__GLIBC__ > 2)) && !defined __UCLIBC__
  16567. + BZ2908
  16568. + #endif
  16569. + #endif
  16570. +
  16571. +_ACEOF
  16572. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  16573. + $EGREP "BZ2908" >/dev/null 2>&1; then :
  16574. + gl_cv_func_printf_directive_a="guessing yes"
  16575. +else
  16576. + gl_cv_func_printf_directive_a="guessing no"
  16577. +fi
  16578. +rm -f conftest*
  16579. +
  16580. + ;;
  16581. + # If we don't know, assume the worst.
  16582. + *) gl_cv_func_printf_directive_a="guessing no";;
  16583. + esac
  16584. +
  16585. +else
  16586. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16587. +/* end confdefs.h. */
  16588. +
  16589. +#include <stdio.h>
  16590. +#include <string.h>
  16591. +static char buf[100];
  16592. +int main ()
  16593. +{
  16594. + int result = 0;
  16595. + if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0
  16596. + || (strcmp (buf, "0x1.922p+1 33") != 0
  16597. + && strcmp (buf, "0x3.244p+0 33") != 0
  16598. + && strcmp (buf, "0x6.488p-1 33") != 0
  16599. + && strcmp (buf, "0xc.91p-2 33") != 0))
  16600. + result |= 1;
  16601. + if (sprintf (buf, "%A %d", -3.1416015625, 33, 44, 55) < 0
  16602. + || (strcmp (buf, "-0X1.922P+1 33") != 0
  16603. + && strcmp (buf, "-0X3.244P+0 33") != 0
  16604. + && strcmp (buf, "-0X6.488P-1 33") != 0
  16605. + && strcmp (buf, "-0XC.91P-2 33") != 0))
  16606. + result |= 2;
  16607. + /* This catches a FreeBSD 6.1 bug: it doesn't round. */
  16608. + if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0
  16609. + || (strcmp (buf, "0x1.83p+0 33") != 0
  16610. + && strcmp (buf, "0x3.05p-1 33") != 0
  16611. + && strcmp (buf, "0x6.0ap-2 33") != 0
  16612. + && strcmp (buf, "0xc.14p-3 33") != 0))
  16613. + result |= 4;
  16614. + /* This catches a FreeBSD 6.1 bug. See
  16615. + <http://lists.gnu.org/archive/html/bug-gnulib/2007-04/msg00107.html> */
  16616. + if (sprintf (buf, "%010a %d", 1.0 / 0.0, 33, 44, 55) < 0
  16617. + || buf[0] == '0')
  16618. + result |= 8;
  16619. + /* This catches a MacOS X 10.3.9 (Darwin 7.9) bug. */
  16620. + if (sprintf (buf, "%.1a", 1.999) < 0
  16621. + || (strcmp (buf, "0x1.0p+1") != 0
  16622. + && strcmp (buf, "0x2.0p+0") != 0
  16623. + && strcmp (buf, "0x4.0p-1") != 0
  16624. + && strcmp (buf, "0x8.0p-2") != 0))
  16625. + result |= 16;
  16626. + /* This catches the same MacOS X 10.3.9 (Darwin 7.9) bug and also a
  16627. + glibc 2.4 bug <http://sourceware.org/bugzilla/show_bug.cgi?id=2908>. */
  16628. + if (sprintf (buf, "%.1La", 1.999L) < 0
  16629. + || (strcmp (buf, "0x1.0p+1") != 0
  16630. + && strcmp (buf, "0x2.0p+0") != 0
  16631. + && strcmp (buf, "0x4.0p-1") != 0
  16632. + && strcmp (buf, "0x8.0p-2") != 0))
  16633. + result |= 32;
  16634. + return result;
  16635. +}
  16636. +_ACEOF
  16637. +if ac_fn_c_try_run "$LINENO"; then :
  16638. + gl_cv_func_printf_directive_a=yes
  16639. +else
  16640. + gl_cv_func_printf_directive_a=no
  16641. +fi
  16642. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16643. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  16644. +fi
  16645. +
  16646. +
  16647. +fi
  16648. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_a" >&5
  16649. +$as_echo "$gl_cv_func_printf_directive_a" >&6; }
  16650. +
  16651. +
  16652. +
  16653. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'F' directive" >&5
  16654. +$as_echo_n "checking whether printf supports the 'F' directive... " >&6; }
  16655. +if ${gl_cv_func_printf_directive_f+:} false; then :
  16656. + $as_echo_n "(cached) " >&6
  16657. +else
  16658. +
  16659. + if test "$cross_compiling" = yes; then :
  16660. +
  16661. + case "$host_os" in
  16662. + # Guess yes on glibc systems.
  16663. + *-gnu*) gl_cv_func_printf_directive_f="guessing yes";;
  16664. + # Guess yes on FreeBSD >= 6.
  16665. + freebsd[1-5]*) gl_cv_func_printf_directive_f="guessing no";;
  16666. + freebsd* | kfreebsd*) gl_cv_func_printf_directive_f="guessing yes";;
  16667. + # Guess yes on MacOS X >= 10.3.
  16668. + darwin[1-6].*) gl_cv_func_printf_directive_f="guessing no";;
  16669. + darwin*) gl_cv_func_printf_directive_f="guessing yes";;
  16670. + # Guess yes on Solaris >= 2.10.
  16671. + solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
  16672. + solaris*) gl_cv_func_printf_sizes_c99="guessing no";;
  16673. + # If we don't know, assume the worst.
  16674. + *) gl_cv_func_printf_directive_f="guessing no";;
  16675. + esac
  16676. +
  16677. +else
  16678. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16679. +/* end confdefs.h. */
  16680. +
  16681. +#include <stdio.h>
  16682. +#include <string.h>
  16683. +static char buf[100];
  16684. +int main ()
  16685. +{
  16686. + int result = 0;
  16687. + if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0
  16688. + || strcmp (buf, "1234567.000000 33") != 0)
  16689. + result |= 1;
  16690. + if (sprintf (buf, "%F", 1.0 / 0.0) < 0
  16691. + || (strcmp (buf, "INF") != 0 && strcmp (buf, "INFINITY") != 0))
  16692. + result |= 2;
  16693. + /* This catches a Cygwin 1.5.x bug. */
  16694. + if (sprintf (buf, "%.F", 1234.0) < 0
  16695. + || strcmp (buf, "1234") != 0)
  16696. + result |= 4;
  16697. + return result;
  16698. +}
  16699. +_ACEOF
  16700. +if ac_fn_c_try_run "$LINENO"; then :
  16701. + gl_cv_func_printf_directive_f=yes
  16702. +else
  16703. + gl_cv_func_printf_directive_f=no
  16704. +fi
  16705. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16706. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  16707. +fi
  16708. +
  16709. +
  16710. +fi
  16711. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_f" >&5
  16712. +$as_echo "$gl_cv_func_printf_directive_f" >&6; }
  16713. +
  16714. +
  16715. +
  16716. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'n' directive" >&5
  16717. +$as_echo_n "checking whether printf supports the 'n' directive... " >&6; }
  16718. +if ${gl_cv_func_printf_directive_n+:} false; then :
  16719. + $as_echo_n "(cached) " >&6
  16720. +else
  16721. +
  16722. + if test "$cross_compiling" = yes; then :
  16723. +
  16724. + case "$host_os" in
  16725. + *) gl_cv_func_printf_directive_n="guessing yes";;
  16726. + esac
  16727. +
  16728. +else
  16729. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16730. +/* end confdefs.h. */
  16731. +
  16732. +#include <stdio.h>
  16733. +#include <string.h>
  16734. +static char fmtstring[10];
  16735. +static char buf[100];
  16736. +int main ()
  16737. +{
  16738. + int count = -1;
  16739. + /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2)
  16740. + support %n in format strings in read-only memory but not in writable
  16741. + memory. */
  16742. + strcpy (fmtstring, "%d %n");
  16743. + if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0
  16744. + || strcmp (buf, "123 ") != 0
  16745. + || count != 4)
  16746. + return 1;
  16747. + return 0;
  16748. +}
  16749. +_ACEOF
  16750. +if ac_fn_c_try_run "$LINENO"; then :
  16751. + gl_cv_func_printf_directive_n=yes
  16752. +else
  16753. + gl_cv_func_printf_directive_n=no
  16754. +fi
  16755. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16756. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  16757. +fi
  16758. +
  16759. +
  16760. +fi
  16761. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_n" >&5
  16762. +$as_echo "$gl_cv_func_printf_directive_n" >&6; }
  16763. +
  16764. +
  16765. +
  16766. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'ls' directive" >&5
  16767. +$as_echo_n "checking whether printf supports the 'ls' directive... " >&6; }
  16768. +if ${gl_cv_func_printf_directive_ls+:} false; then :
  16769. + $as_echo_n "(cached) " >&6
  16770. +else
  16771. +
  16772. + if test "$cross_compiling" = yes; then :
  16773. +
  16774. + case "$host_os" in
  16775. + openbsd*) gl_cv_func_printf_directive_ls="guessing no";;
  16776. + irix*) gl_cv_func_printf_directive_ls="guessing no";;
  16777. + solaris*) gl_cv_func_printf_directive_ls="guessing no";;
  16778. + cygwin*) gl_cv_func_printf_directive_ls="guessing no";;
  16779. + beos* | haiku*) gl_cv_func_printf_directive_ls="guessing no";;
  16780. + *) gl_cv_func_printf_directive_ls="guessing yes";;
  16781. + esac
  16782. +
  16783. +else
  16784. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16785. +/* end confdefs.h. */
  16786. +
  16787. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  16788. + <wchar.h>.
  16789. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  16790. + included before <wchar.h>. */
  16791. +#include <stddef.h>
  16792. +#include <stdio.h>
  16793. +#include <time.h>
  16794. +#include <wchar.h>
  16795. +#include <string.h>
  16796. +int main ()
  16797. +{
  16798. + int result = 0;
  16799. + char buf[100];
  16800. + /* Test whether %ls works at all.
  16801. + This test fails on OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Haiku, but not on
  16802. + Cygwin 1.5. */
  16803. + {
  16804. + static const wchar_t wstring[] = { 'a', 'b', 'c', 0 };
  16805. + buf[0] = '\0';
  16806. + if (sprintf (buf, "%ls", wstring) < 0
  16807. + || strcmp (buf, "abc") != 0)
  16808. + result |= 1;
  16809. + }
  16810. + /* This test fails on IRIX 6.5, Solaris 2.6, Cygwin 1.5, Haiku (with an
  16811. + assertion failure inside libc), but not on OpenBSD 4.0. */
  16812. + {
  16813. + static const wchar_t wstring[] = { 'a', 0 };
  16814. + buf[0] = '\0';
  16815. + if (sprintf (buf, "%ls", wstring) < 0
  16816. + || strcmp (buf, "a") != 0)
  16817. + result |= 2;
  16818. + }
  16819. + /* Test whether precisions in %ls are supported as specified in ISO C 99
  16820. + section 7.19.6.1:
  16821. + "If a precision is specified, no more than that many bytes are written
  16822. + (including shift sequences, if any), and the array shall contain a
  16823. + null wide character if, to equal the multibyte character sequence
  16824. + length given by the precision, the function would need to access a
  16825. + wide character one past the end of the array."
  16826. + This test fails on Solaris 10. */
  16827. + {
  16828. + static const wchar_t wstring[] = { 'a', 'b', (wchar_t) 0xfdfdfdfd, 0 };
  16829. + buf[0] = '\0';
  16830. + if (sprintf (buf, "%.2ls", wstring) < 0
  16831. + || strcmp (buf, "ab") != 0)
  16832. + result |= 8;
  16833. + }
  16834. + return result;
  16835. +}
  16836. +_ACEOF
  16837. +if ac_fn_c_try_run "$LINENO"; then :
  16838. + gl_cv_func_printf_directive_ls=yes
  16839. +else
  16840. + gl_cv_func_printf_directive_ls=no
  16841. +fi
  16842. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16843. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  16844. +fi
  16845. +
  16846. +
  16847. +fi
  16848. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_ls" >&5
  16849. +$as_echo "$gl_cv_func_printf_directive_ls" >&6; }
  16850. +
  16851. +
  16852. +
  16853. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports POSIX/XSI format strings with positions" >&5
  16854. +$as_echo_n "checking whether printf supports POSIX/XSI format strings with positions... " >&6; }
  16855. +if ${gl_cv_func_printf_positions+:} false; then :
  16856. + $as_echo_n "(cached) " >&6
  16857. +else
  16858. +
  16859. + if test "$cross_compiling" = yes; then :
  16860. +
  16861. + case "$host_os" in
  16862. + netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*)
  16863. + gl_cv_func_printf_positions="guessing no";;
  16864. + beos*) gl_cv_func_printf_positions="guessing no";;
  16865. + mingw* | pw*) gl_cv_func_printf_positions="guessing no";;
  16866. + *) gl_cv_func_printf_positions="guessing yes";;
  16867. + esac
  16868. +
  16869. +else
  16870. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16871. +/* end confdefs.h. */
  16872. +
  16873. +#include <stdio.h>
  16874. +#include <string.h>
  16875. +/* The string "%2$d %1$d", with dollar characters protected from the shell's
  16876. + dollar expansion (possibly an autoconf bug). */
  16877. +static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
  16878. +static char buf[100];
  16879. +int main ()
  16880. +{
  16881. + sprintf (buf, format, 33, 55);
  16882. + return (strcmp (buf, "55 33") != 0);
  16883. +}
  16884. +_ACEOF
  16885. +if ac_fn_c_try_run "$LINENO"; then :
  16886. + gl_cv_func_printf_positions=yes
  16887. +else
  16888. + gl_cv_func_printf_positions=no
  16889. +fi
  16890. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16891. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  16892. +fi
  16893. +
  16894. +
  16895. +fi
  16896. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_positions" >&5
  16897. +$as_echo "$gl_cv_func_printf_positions" >&6; }
  16898. +
  16899. +
  16900. +
  16901. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the grouping flag" >&5
  16902. +$as_echo_n "checking whether printf supports the grouping flag... " >&6; }
  16903. +if ${gl_cv_func_printf_flag_grouping+:} false; then :
  16904. + $as_echo_n "(cached) " >&6
  16905. +else
  16906. +
  16907. + if test "$cross_compiling" = yes; then :
  16908. +
  16909. + case "$host_os" in
  16910. + cygwin*) gl_cv_func_printf_flag_grouping="guessing no";;
  16911. + netbsd*) gl_cv_func_printf_flag_grouping="guessing no";;
  16912. + mingw* | pw*) gl_cv_func_printf_flag_grouping="guessing no";;
  16913. + *) gl_cv_func_printf_flag_grouping="guessing yes";;
  16914. + esac
  16915. +
  16916. +else
  16917. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16918. +/* end confdefs.h. */
  16919. +
  16920. +#include <stdio.h>
  16921. +#include <string.h>
  16922. +static char buf[100];
  16923. +int main ()
  16924. +{
  16925. + if (sprintf (buf, "%'d %d", 1234567, 99) < 0
  16926. + || buf[strlen (buf) - 1] != '9')
  16927. + return 1;
  16928. + return 0;
  16929. +}
  16930. +_ACEOF
  16931. +if ac_fn_c_try_run "$LINENO"; then :
  16932. + gl_cv_func_printf_flag_grouping=yes
  16933. +else
  16934. + gl_cv_func_printf_flag_grouping=no
  16935. +fi
  16936. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16937. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  16938. +fi
  16939. +
  16940. +
  16941. +fi
  16942. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_flag_grouping" >&5
  16943. +$as_echo "$gl_cv_func_printf_flag_grouping" >&6; }
  16944. +
  16945. +
  16946. +
  16947. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the left-adjust flag correctly" >&5
  16948. +$as_echo_n "checking whether printf supports the left-adjust flag correctly... " >&6; }
  16949. +if ${gl_cv_func_printf_flag_leftadjust+:} false; then :
  16950. + $as_echo_n "(cached) " >&6
  16951. +else
  16952. +
  16953. + if test "$cross_compiling" = yes; then :
  16954. +
  16955. + case "$host_os" in
  16956. + # Guess yes on HP-UX 11.
  16957. + hpux11*) gl_cv_func_printf_flag_leftadjust="guessing yes";;
  16958. + # Guess no on HP-UX 10 and older.
  16959. + hpux*) gl_cv_func_printf_flag_leftadjust="guessing no";;
  16960. + # Guess yes otherwise.
  16961. + *) gl_cv_func_printf_flag_leftadjust="guessing yes";;
  16962. + esac
  16963. +
  16964. +else
  16965. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16966. +/* end confdefs.h. */
  16967. +
  16968. +#include <stdio.h>
  16969. +#include <string.h>
  16970. +static char buf[100];
  16971. +int main ()
  16972. +{
  16973. + /* Check that a '-' flag is not annihilated by a negative width. */
  16974. + if (sprintf (buf, "a%-*sc", -3, "b") < 0
  16975. + || strcmp (buf, "ab c") != 0)
  16976. + return 1;
  16977. + return 0;
  16978. +}
  16979. +_ACEOF
  16980. +if ac_fn_c_try_run "$LINENO"; then :
  16981. + gl_cv_func_printf_flag_leftadjust=yes
  16982. +else
  16983. + gl_cv_func_printf_flag_leftadjust=no
  16984. +fi
  16985. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16986. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  16987. +fi
  16988. +
  16989. +
  16990. +fi
  16991. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_flag_leftadjust" >&5
  16992. +$as_echo "$gl_cv_func_printf_flag_leftadjust" >&6; }
  16993. +
  16994. +
  16995. +
  16996. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the zero flag correctly" >&5
  16997. +$as_echo_n "checking whether printf supports the zero flag correctly... " >&6; }
  16998. +if ${gl_cv_func_printf_flag_zero+:} false; then :
  16999. + $as_echo_n "(cached) " >&6
  17000. +else
  17001. +
  17002. + if test "$cross_compiling" = yes; then :
  17003. +
  17004. + case "$host_os" in
  17005. + # Guess yes on glibc systems.
  17006. + *-gnu*) gl_cv_func_printf_flag_zero="guessing yes";;
  17007. + # Guess yes on BeOS.
  17008. + beos*) gl_cv_func_printf_flag_zero="guessing yes";;
  17009. + # If we don't know, assume the worst.
  17010. + *) gl_cv_func_printf_flag_zero="guessing no";;
  17011. + esac
  17012. +
  17013. +else
  17014. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17015. +/* end confdefs.h. */
  17016. +
  17017. +#include <stdio.h>
  17018. +#include <string.h>
  17019. +static char buf[100];
  17020. +int main ()
  17021. +{
  17022. + if (sprintf (buf, "%010f", 1.0 / 0.0, 33, 44, 55) < 0
  17023. + || (strcmp (buf, " inf") != 0
  17024. + && strcmp (buf, " infinity") != 0))
  17025. + return 1;
  17026. + return 0;
  17027. +}
  17028. +_ACEOF
  17029. +if ac_fn_c_try_run "$LINENO"; then :
  17030. + gl_cv_func_printf_flag_zero=yes
  17031. +else
  17032. + gl_cv_func_printf_flag_zero=no
  17033. +fi
  17034. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  17035. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  17036. +fi
  17037. +
  17038. +
  17039. +fi
  17040. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_flag_zero" >&5
  17041. +$as_echo "$gl_cv_func_printf_flag_zero" >&6; }
  17042. +
  17043. +
  17044. +
  17045. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports large precisions" >&5
  17046. +$as_echo_n "checking whether printf supports large precisions... " >&6; }
  17047. +if ${gl_cv_func_printf_precision+:} false; then :
  17048. + $as_echo_n "(cached) " >&6
  17049. +else
  17050. +
  17051. + if test "$cross_compiling" = yes; then :
  17052. +
  17053. + case "$host_os" in
  17054. + # Guess no only on Solaris, native Win32, and BeOS systems.
  17055. + solaris*) gl_cv_func_printf_precision="guessing no" ;;
  17056. + mingw* | pw*) gl_cv_func_printf_precision="guessing no" ;;
  17057. + beos*) gl_cv_func_printf_precision="guessing no" ;;
  17058. + *) gl_cv_func_printf_precision="guessing yes" ;;
  17059. + esac
  17060. +
  17061. +else
  17062. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17063. +/* end confdefs.h. */
  17064. +
  17065. +#include <stdio.h>
  17066. +#include <string.h>
  17067. +static char buf[5000];
  17068. +int main ()
  17069. +{
  17070. + int result = 0;
  17071. +#ifdef __BEOS__
  17072. + /* On BeOS, this would crash and show a dialog box. Avoid the crash. */
  17073. + return 1;
  17074. +#endif
  17075. + if (sprintf (buf, "%.4000d %d", 1, 33, 44) < 4000 + 3)
  17076. + result |= 1;
  17077. + if (sprintf (buf, "%.4000f %d", 1.0, 33, 44) < 4000 + 5)
  17078. + result |= 2;
  17079. + if (sprintf (buf, "%.511f %d", 1.0, 33, 44) < 511 + 5
  17080. + || buf[0] != '1')
  17081. + result |= 4;
  17082. + return result;
  17083. +}
  17084. +_ACEOF
  17085. +if ac_fn_c_try_run "$LINENO"; then :
  17086. + gl_cv_func_printf_precision=yes
  17087. +else
  17088. + gl_cv_func_printf_precision=no
  17089. +fi
  17090. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  17091. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  17092. +fi
  17093. +
  17094. +
  17095. +fi
  17096. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_precision" >&5
  17097. +$as_echo "$gl_cv_func_printf_precision" >&6; }
  17098. +
  17099. +
  17100. +
  17101. +
  17102. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf survives out-of-memory conditions" >&5
  17103. +$as_echo_n "checking whether printf survives out-of-memory conditions... " >&6; }
  17104. +if ${gl_cv_func_printf_enomem+:} false; then :
  17105. + $as_echo_n "(cached) " >&6
  17106. +else
  17107. +
  17108. + gl_cv_func_printf_enomem="guessing no"
  17109. + if test "$cross_compiling" = no; then
  17110. + if test $APPLE_UNIVERSAL_BUILD = 0; then
  17111. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17112. +/* end confdefs.h. */
  17113. +
  17114. +
  17115. +#include <stdlib.h>
  17116. +#if defined __MACH__ && defined __APPLE__
  17117. +/* Avoid a crash on MacOS X. */
  17118. +#include <mach/mach.h>
  17119. +#include <mach/mach_error.h>
  17120. +#include <mach/thread_status.h>
  17121. +#include <mach/exception.h>
  17122. +#include <mach/task.h>
  17123. +#include <pthread.h>
  17124. +/* The exception port on which our thread listens. */
  17125. +static mach_port_t our_exception_port;
  17126. +/* The main function of the thread listening for exceptions of type
  17127. + EXC_BAD_ACCESS. */
  17128. +static void *
  17129. +mach_exception_thread (void *arg)
  17130. +{
  17131. + /* Buffer for a message to be received. */
  17132. + struct {
  17133. + mach_msg_header_t head;
  17134. + mach_msg_body_t msgh_body;
  17135. + char data1024;
  17136. + } msg;
  17137. + mach_msg_return_t retval;
  17138. + /* Wait for a message on the exception port. */
  17139. + retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
  17140. + our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
  17141. + if (retval != MACH_MSG_SUCCESS)
  17142. + abort ();
  17143. + exit (1);
  17144. +}
  17145. +static void
  17146. +nocrash_init (void)
  17147. +{
  17148. + mach_port_t self = mach_task_self ();
  17149. + /* Allocate a port on which the thread shall listen for exceptions. */
  17150. + if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
  17151. + == KERN_SUCCESS) {
  17152. + /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */
  17153. + if (mach_port_insert_right (self, our_exception_port, our_exception_port,
  17154. + MACH_MSG_TYPE_MAKE_SEND)
  17155. + == KERN_SUCCESS) {
  17156. + /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting
  17157. + for us. */
  17158. + exception_mask_t mask = EXC_MASK_BAD_ACCESS;
  17159. + /* Create the thread listening on the exception port. */
  17160. + pthread_attr_t attr;
  17161. + pthread_t thread;
  17162. + if (pthread_attr_init (&attr) == 0
  17163. + && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
  17164. + && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
  17165. + pthread_attr_destroy (&attr);
  17166. + /* Replace the exception port info for these exceptions with our own.
  17167. + Note that we replace the exception port for the entire task, not only
  17168. + for a particular thread. This has the effect that when our exception
  17169. + port gets the message, the thread specific exception port has already
  17170. + been asked, and we don't need to bother about it.
  17171. + See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */
  17172. + task_set_exception_ports (self, mask, our_exception_port,
  17173. + EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
  17174. + }
  17175. + }
  17176. + }
  17177. +}
  17178. +#else
  17179. +/* Avoid a crash on POSIX systems. */
  17180. +#include <signal.h>
  17181. +/* A POSIX signal handler. */
  17182. +static void
  17183. +exception_handler (int sig)
  17184. +{
  17185. + exit (1);
  17186. +}
  17187. +static void
  17188. +nocrash_init (void)
  17189. +{
  17190. +#ifdef SIGSEGV
  17191. + signal (SIGSEGV, exception_handler);
  17192. +#endif
  17193. +#ifdef SIGBUS
  17194. + signal (SIGBUS, exception_handler);
  17195. +#endif
  17196. +}
  17197. +#endif
  17198. +
  17199. +#include <stdio.h>
  17200. +#include <sys/types.h>
  17201. +#include <sys/time.h>
  17202. +#include <sys/resource.h>
  17203. +#include <errno.h>
  17204. +int main()
  17205. +{
  17206. + struct rlimit limit;
  17207. + int ret;
  17208. + nocrash_init ();
  17209. + /* Some printf implementations allocate temporary space with malloc. */
  17210. + /* On BSD systems, malloc() is limited by RLIMIT_DATA. */
  17211. +#ifdef RLIMIT_DATA
  17212. + if (getrlimit (RLIMIT_DATA, &limit) < 0)
  17213. + return 77;
  17214. + if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
  17215. + limit.rlim_max = 5000000;
  17216. + limit.rlim_cur = limit.rlim_max;
  17217. + if (setrlimit (RLIMIT_DATA, &limit) < 0)
  17218. + return 77;
  17219. +#endif
  17220. + /* On Linux systems, malloc() is limited by RLIMIT_AS. */
  17221. +#ifdef RLIMIT_AS
  17222. + if (getrlimit (RLIMIT_AS, &limit) < 0)
  17223. + return 77;
  17224. + if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
  17225. + limit.rlim_max = 5000000;
  17226. + limit.rlim_cur = limit.rlim_max;
  17227. + if (setrlimit (RLIMIT_AS, &limit) < 0)
  17228. + return 77;
  17229. +#endif
  17230. + /* Some printf implementations allocate temporary space on the stack. */
  17231. +#ifdef RLIMIT_STACK
  17232. + if (getrlimit (RLIMIT_STACK, &limit) < 0)
  17233. + return 77;
  17234. + if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
  17235. + limit.rlim_max = 5000000;
  17236. + limit.rlim_cur = limit.rlim_max;
  17237. + if (setrlimit (RLIMIT_STACK, &limit) < 0)
  17238. + return 77;
  17239. +#endif
  17240. + ret = printf ("%.5000000f", 1.0);
  17241. + return !(ret == 5000002 || (ret < 0 && errno == ENOMEM));
  17242. +}
  17243. +
  17244. +_ACEOF
  17245. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  17246. + (eval $ac_link) 2>&5
  17247. + ac_status=$?
  17248. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17249. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  17250. + (./conftest
  17251. + result=$?
  17252. + if test $result != 0 && test $result != 77; then result=1; fi
  17253. + exit $result
  17254. + ) >/dev/null 2>/dev/null
  17255. + case $? in
  17256. + 0) gl_cv_func_printf_enomem="yes" ;;
  17257. + 77) gl_cv_func_printf_enomem="guessing no" ;;
  17258. + *) gl_cv_func_printf_enomem="no" ;;
  17259. + esac
  17260. + else
  17261. + gl_cv_func_printf_enomem="guessing no"
  17262. + fi
  17263. + rm -fr conftest*
  17264. + else
  17265. + gl_cv_func_printf_enomem="guessing no"
  17266. + fi
  17267. + fi
  17268. + if test "$gl_cv_func_printf_enomem" = "guessing no"; then
  17269. + case "$host_os" in
  17270. + # Guess yes on glibc systems.
  17271. + *-gnu*) gl_cv_func_printf_enomem="guessing yes";;
  17272. + # Guess yes on Solaris.
  17273. + solaris*) gl_cv_func_printf_enomem="guessing yes";;
  17274. + # Guess yes on AIX.
  17275. + aix*) gl_cv_func_printf_enomem="guessing yes";;
  17276. + # Guess yes on HP-UX/hppa.
  17277. + hpux*) case "$host_cpu" in
  17278. + hppa*) gl_cv_func_printf_enomem="guessing yes";;
  17279. + *) gl_cv_func_printf_enomem="guessing no";;
  17280. + esac
  17281. + ;;
  17282. + # Guess yes on IRIX.
  17283. + irix*) gl_cv_func_printf_enomem="guessing yes";;
  17284. + # Guess yes on OSF/1.
  17285. + osf*) gl_cv_func_printf_enomem="guessing yes";;
  17286. + # Guess yes on BeOS.
  17287. + beos*) gl_cv_func_printf_enomem="guessing yes";;
  17288. + # Guess yes on Haiku.
  17289. + haiku*) gl_cv_func_printf_enomem="guessing yes";;
  17290. + # If we don't know, assume the worst.
  17291. + *) gl_cv_func_printf_enomem="guessing no";;
  17292. + esac
  17293. + fi
  17294. +
  17295. +fi
  17296. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_enomem" >&5
  17297. +$as_echo "$gl_cv_func_printf_enomem" >&6; }
  17298. +
  17299. +
  17300. +
  17301. + case "$gl_cv_func_printf_long_double" in
  17302. + *yes)
  17303. + ;;
  17304. + *)
  17305. +
  17306. +$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
  17307. +
  17308. + ;;
  17309. + esac
  17310. +
  17311. +
  17312. +
  17313. +
  17314. + GNULIB_ISWBLANK=0;
  17315. + GNULIB_WCTYPE=0;
  17316. + GNULIB_ISWCTYPE=0;
  17317. + GNULIB_WCTRANS=0;
  17318. + GNULIB_TOWCTRANS=0;
  17319. + HAVE_ISWBLANK=1;
  17320. + HAVE_WCTYPE_T=1;
  17321. + HAVE_WCTRANS_T=1;
  17322. + REPLACE_ISWBLANK=0;
  17323. +
  17324. +
  17325. +
  17326. +
  17327. +
  17328. +
  17329. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use C++" >&5
  17330. +$as_echo_n "checking whether to use C++... " >&6; }
  17331. + @%:@ Check whether --enable-c++ was given.
  17332. +if test "${enable_c__+set}" = set; then :
  17333. + enableval=$enable_c__; CXX_CHOICE="$enableval"
  17334. +else
  17335. + CXX_CHOICE=no
  17336. +fi
  17337. +
  17338. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_CHOICE" >&5
  17339. +$as_echo "$CXX_CHOICE" >&6; }
  17340. +
  17341. +
  17342. +
  17343. +
  17344. +
  17345. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ungetc works on arbitrary bytes" >&5
  17346. +$as_echo_n "checking whether ungetc works on arbitrary bytes... " >&6; }
  17347. +if ${gl_cv_func_ungetc_works+:} false; then :
  17348. + $as_echo_n "(cached) " >&6
  17349. +else
  17350. + if test "$cross_compiling" = yes; then :
  17351. + gl_cv_func_ungetc_works='guessing no'
  17352. +else
  17353. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17354. +/* end confdefs.h. */
  17355. +
  17356. +#include <stdio.h>
  17357. +
  17358. +int
  17359. +main ()
  17360. +{
  17361. +FILE *f;
  17362. + if (!(f = fopen ("conftest.tmp", "w+"))) return 1;
  17363. + if (fputs ("abc", f) < 0) return 2;
  17364. + rewind (f);
  17365. + if (fgetc (f) != 'a') return 3;
  17366. + if (fgetc (f) != 'b') return 4;
  17367. + if (ungetc ('d', f) != 'd') return 5;
  17368. + if (ftell (f) != 1) return 6;
  17369. + if (fgetc (f) != 'd') return 7;
  17370. + if (ftell (f) != 2) return 8;
  17371. + if (fseek (f, 0, SEEK_CUR) != 0) return 9;
  17372. + if (ftell (f) != 2) return 10;
  17373. + if (fgetc (f) != 'c') return 11;
  17374. + fclose (f); remove ("conftest.tmp");
  17375. + ;
  17376. + return 0;
  17377. +}
  17378. +_ACEOF
  17379. +if ac_fn_c_try_run "$LINENO"; then :
  17380. + gl_cv_func_ungetc_works=yes
  17381. +else
  17382. + gl_cv_func_ungetc_works=no
  17383. +fi
  17384. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  17385. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  17386. +fi
  17387. +
  17388. +
  17389. +fi
  17390. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ungetc_works" >&5
  17391. +$as_echo "$gl_cv_func_ungetc_works" >&6; }
  17392. + if test "$gl_cv_func_ungetc_works" != yes; then
  17393. +
  17394. +$as_echo "@%:@define FUNC_UNGETC_BROKEN 1" >>confdefs.h
  17395. +
  17396. + fi
  17397. +
  17398. +
  17399. +
  17400. +
  17401. + GNULIB_SETLOCALE=0;
  17402. + GNULIB_DUPLOCALE=0;
  17403. + HAVE_DUPLOCALE=1;
  17404. + REPLACE_SETLOCALE=0;
  17405. + REPLACE_DUPLOCALE=0;
  17406. +
  17407. +
  17408. +
  17409. +
  17410. +
  17411. +
  17412. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
  17413. +$as_echo_n "checking for LC_MESSAGES... " >&6; }
  17414. +if ${gt_cv_val_LC_MESSAGES+:} false; then :
  17415. + $as_echo_n "(cached) " >&6
  17416. +else
  17417. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17418. +/* end confdefs.h. */
  17419. +#include <locale.h>
  17420. +int
  17421. +main ()
  17422. +{
  17423. +return LC_MESSAGES
  17424. + ;
  17425. + return 0;
  17426. +}
  17427. +_ACEOF
  17428. +if ac_fn_c_try_link "$LINENO"; then :
  17429. + gt_cv_val_LC_MESSAGES=yes
  17430. +else
  17431. + gt_cv_val_LC_MESSAGES=no
  17432. +fi
  17433. +rm -f core conftest.err conftest.$ac_objext \
  17434. + conftest$ac_exeext conftest.$ac_ext
  17435. +fi
  17436. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5
  17437. +$as_echo "$gt_cv_val_LC_MESSAGES" >&6; }
  17438. + if test $gt_cv_val_LC_MESSAGES = yes; then
  17439. +
  17440. +$as_echo "@%:@define HAVE_LC_MESSAGES 1" >>confdefs.h
  17441. +
  17442. + fi
  17443. +
  17444. +
  17445. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
  17446. +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
  17447. +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
  17448. + $as_echo_n "(cached) " >&6
  17449. +else
  17450. + gt_save_LIBS="$LIBS"
  17451. + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
  17452. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17453. +/* end confdefs.h. */
  17454. +#include <CoreFoundation/CFPreferences.h>
  17455. +int
  17456. +main ()
  17457. +{
  17458. +CFPreferencesCopyAppValue(NULL, NULL)
  17459. + ;
  17460. + return 0;
  17461. +}
  17462. +_ACEOF
  17463. +if ac_fn_c_try_link "$LINENO"; then :
  17464. + gt_cv_func_CFPreferencesCopyAppValue=yes
  17465. +else
  17466. + gt_cv_func_CFPreferencesCopyAppValue=no
  17467. +fi
  17468. +rm -f core conftest.err conftest.$ac_objext \
  17469. + conftest$ac_exeext conftest.$ac_ext
  17470. + LIBS="$gt_save_LIBS"
  17471. +fi
  17472. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
  17473. +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
  17474. + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
  17475. +
  17476. +$as_echo "@%:@define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
  17477. +
  17478. + fi
  17479. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
  17480. +$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
  17481. +if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
  17482. + $as_echo_n "(cached) " >&6
  17483. +else
  17484. + gt_save_LIBS="$LIBS"
  17485. + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
  17486. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17487. +/* end confdefs.h. */
  17488. +#include <CoreFoundation/CFLocale.h>
  17489. +int
  17490. +main ()
  17491. +{
  17492. +CFLocaleCopyCurrent();
  17493. + ;
  17494. + return 0;
  17495. +}
  17496. +_ACEOF
  17497. +if ac_fn_c_try_link "$LINENO"; then :
  17498. + gt_cv_func_CFLocaleCopyCurrent=yes
  17499. +else
  17500. + gt_cv_func_CFLocaleCopyCurrent=no
  17501. +fi
  17502. +rm -f core conftest.err conftest.$ac_objext \
  17503. + conftest$ac_exeext conftest.$ac_ext
  17504. + LIBS="$gt_save_LIBS"
  17505. +fi
  17506. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
  17507. +$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
  17508. + if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
  17509. +
  17510. +$as_echo "@%:@define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
  17511. +
  17512. + fi
  17513. + INTL_MACOSX_LIBS=
  17514. + if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
  17515. + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
  17516. + fi
  17517. +
  17518. +
  17519. +ac_fn_c_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default"
  17520. +if test "x$ac_cv_have_decl_setenv" = xyes; then :
  17521. + ac_have_decl=1
  17522. +else
  17523. + ac_have_decl=0
  17524. +fi
  17525. +
  17526. +cat >>confdefs.h <<_ACEOF
  17527. +@%:@define HAVE_DECL_SETENV $ac_have_decl
  17528. +_ACEOF
  17529. +
  17530. +
  17531. +
  17532. +
  17533. +
  17534. +
  17535. + if test $ac_cv_have_decl_setenv = no; then
  17536. + HAVE_DECL_SETENV=0
  17537. + fi
  17538. +
  17539. + if test $ac_cv_func_setenv = no; then
  17540. + HAVE_SETENV=0
  17541. + else
  17542. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setenv validates arguments" >&5
  17543. +$as_echo_n "checking whether setenv validates arguments... " >&6; }
  17544. +if ${gl_cv_func_setenv_works+:} false; then :
  17545. + $as_echo_n "(cached) " >&6
  17546. +else
  17547. + if test "$cross_compiling" = yes; then :
  17548. + gl_cv_func_setenv_works="guessing no"
  17549. +else
  17550. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17551. +/* end confdefs.h. */
  17552. +
  17553. + #include <stdlib.h>
  17554. + #include <errno.h>
  17555. + #include <string.h>
  17556. +
  17557. +int
  17558. +main ()
  17559. +{
  17560. +
  17561. + int result = 0;
  17562. + {
  17563. + if (setenv ("", "", 0) != -1)
  17564. + result |= 1;
  17565. + else if (errno != EINVAL)
  17566. + result |= 2;
  17567. + }
  17568. + {
  17569. + if (setenv ("a", "=", 1) != 0)
  17570. + result |= 4;
  17571. + else if (strcmp (getenv ("a"), "=") != 0)
  17572. + result |= 8;
  17573. + }
  17574. + return result;
  17575. +
  17576. + ;
  17577. + return 0;
  17578. +}
  17579. +_ACEOF
  17580. +if ac_fn_c_try_run "$LINENO"; then :
  17581. + gl_cv_func_setenv_works=yes
  17582. +else
  17583. + gl_cv_func_setenv_works=no
  17584. +fi
  17585. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  17586. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  17587. +fi
  17588. +
  17589. +fi
  17590. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_setenv_works" >&5
  17591. +$as_echo "$gl_cv_func_setenv_works" >&6; }
  17592. + if test "$gl_cv_func_setenv_works" != yes; then
  17593. + REPLACE_SETENV=1
  17594. +
  17595. +
  17596. +
  17597. +
  17598. +
  17599. +
  17600. +
  17601. +
  17602. + M4tests_LIBOBJS="$M4tests_LIBOBJS setenv.$ac_objext"
  17603. +
  17604. + fi
  17605. + fi
  17606. +
  17607. +
  17608. +
  17609. +
  17610. + for ac_header in search.h
  17611. +do :
  17612. + ac_fn_c_check_header_mongrel "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default"
  17613. +if test "x$ac_cv_header_search_h" = xyes; then :
  17614. + cat >>confdefs.h <<_ACEOF
  17615. +@%:@define HAVE_SEARCH_H 1
  17616. +_ACEOF
  17617. +
  17618. +fi
  17619. +
  17620. +done
  17621. +
  17622. + for ac_func in tsearch
  17623. +do :
  17624. + ac_fn_c_check_func "$LINENO" "tsearch" "ac_cv_func_tsearch"
  17625. +if test "x$ac_cv_func_tsearch" = xyes; then :
  17626. + cat >>confdefs.h <<_ACEOF
  17627. +@%:@define HAVE_TSEARCH 1
  17628. +_ACEOF
  17629. +
  17630. +fi
  17631. +done
  17632. +
  17633. +
  17634. +
  17635. +
  17636. +
  17637. +ac_fn_c_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default"
  17638. +if test "x$ac_cv_have_decl_strdup" = xyes; then :
  17639. + ac_have_decl=1
  17640. +else
  17641. + ac_have_decl=0
  17642. +fi
  17643. +
  17644. +cat >>confdefs.h <<_ACEOF
  17645. +@%:@define HAVE_DECL_STRDUP $ac_have_decl
  17646. +_ACEOF
  17647. +
  17648. +ac_fn_c_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default"
  17649. +if test "x$ac_cv_have_decl_alarm" = xyes; then :
  17650. + ac_have_decl=1
  17651. +else
  17652. + ac_have_decl=0
  17653. +fi
  17654. +
  17655. +cat >>confdefs.h <<_ACEOF
  17656. +@%:@define HAVE_DECL_ALARM $ac_have_decl
  17657. +_ACEOF
  17658. +
  17659. +
  17660. +
  17661. +ac_fn_c_check_decl "$LINENO" "unsetenv" "ac_cv_have_decl_unsetenv" "$ac_includes_default"
  17662. +if test "x$ac_cv_have_decl_unsetenv" = xyes; then :
  17663. + ac_have_decl=1
  17664. +else
  17665. + ac_have_decl=0
  17666. +fi
  17667. +
  17668. +cat >>confdefs.h <<_ACEOF
  17669. +@%:@define HAVE_DECL_UNSETENV $ac_have_decl
  17670. +_ACEOF
  17671. +
  17672. +
  17673. +
  17674. +
  17675. + if false; then
  17676. + GL_COND_LIBTOOL_TRUE=
  17677. + GL_COND_LIBTOOL_FALSE='#'
  17678. +else
  17679. + GL_COND_LIBTOOL_TRUE='#'
  17680. + GL_COND_LIBTOOL_FALSE=
  17681. +fi
  17682. +
  17683. + gl_cond_libtool=false
  17684. + gl_libdeps=
  17685. + gl_ltlibdeps=
  17686. + gl_m4_base='m4'
  17687. +
  17688. +
  17689. +
  17690. +
  17691. +
  17692. +
  17693. +
  17694. +
  17695. +
  17696. + gl_source_base='lib'
  17697. + # Code from module alloca-opt:
  17698. +
  17699. +
  17700. + if test $ac_cv_func_alloca_works = no; then
  17701. + :
  17702. + fi
  17703. +
  17704. + # Define an additional variable used in the Makefile substitution.
  17705. + if test $ac_cv_working_alloca_h = yes; then
  17706. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5
  17707. +$as_echo_n "checking for alloca as a compiler built-in... " >&6; }
  17708. +if ${gl_cv_rpl_alloca+:} false; then :
  17709. + $as_echo_n "(cached) " >&6
  17710. +else
  17711. +
  17712. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17713. +/* end confdefs.h. */
  17714. +
  17715. +#if defined __GNUC__ || defined _AIX || defined _MSC_VER
  17716. + Need own alloca
  17717. +#endif
  17718. +
  17719. +_ACEOF
  17720. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  17721. + $EGREP "Need own alloca" >/dev/null 2>&1; then :
  17722. + gl_cv_rpl_alloca=yes
  17723. +else
  17724. + gl_cv_rpl_alloca=no
  17725. +fi
  17726. +rm -f conftest*
  17727. +
  17728. +
  17729. +fi
  17730. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5
  17731. +$as_echo "$gl_cv_rpl_alloca" >&6; }
  17732. + if test $gl_cv_rpl_alloca = yes; then
  17733. +
  17734. +$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
  17735. +
  17736. + ALLOCA_H=alloca.h
  17737. + else
  17738. + ALLOCA_H=
  17739. + fi
  17740. + else
  17741. + ALLOCA_H=alloca.h
  17742. + fi
  17743. +
  17744. +
  17745. + # Code from module announce-gen:
  17746. + # Code from module arg-nonnull:
  17747. + # Code from module assert:
  17748. +
  17749. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5
  17750. +$as_echo_n "checking whether to enable assertions... " >&6; }
  17751. + @%:@ Check whether --enable-assert was given.
  17752. +if test "${enable_assert+set}" = set; then :
  17753. + enableval=$enable_assert; if test "x$enableval" = xno; then :
  17754. +
  17755. +$as_echo "@%:@define NDEBUG 1" >>confdefs.h
  17756. +
  17757. +elif test "x$enableval" != xyes; then :
  17758. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5
  17759. +$as_echo "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;}
  17760. + enable_assert=yes
  17761. +fi
  17762. +else
  17763. + enable_assert=yes
  17764. +fi
  17765. +
  17766. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_assert" >&5
  17767. +$as_echo "$enable_assert" >&6; }
  17768. +
  17769. + # Code from module autobuild:
  17770. + # Code from module avltree-oset:
  17771. + # Code from module binary-io:
  17772. + # Code from module btowc:
  17773. +
  17774. +
  17775. +
  17776. +
  17777. +
  17778. +
  17779. + if test $ac_cv_func_btowc = no; then
  17780. + HAVE_BTOWC=0
  17781. + else
  17782. +
  17783. +
  17784. +
  17785. +
  17786. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5
  17787. +$as_echo_n "checking whether btowc(0) is correct... " >&6; }
  17788. +if ${gl_cv_func_btowc_nul+:} false; then :
  17789. + $as_echo_n "(cached) " >&6
  17790. +else
  17791. +
  17792. + if test "$cross_compiling" = yes; then :
  17793. +
  17794. + case "$host_os" in
  17795. + # Guess no on Cygwin.
  17796. + cygwin*) gl_cv_func_btowc_nul="guessing no" ;;
  17797. + # Guess yes otherwise.
  17798. + *) gl_cv_func_btowc_nul="guessing yes" ;;
  17799. + esac
  17800. +
  17801. +else
  17802. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17803. +/* end confdefs.h. */
  17804. +
  17805. +#include <string.h>
  17806. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  17807. + <wchar.h>.
  17808. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  17809. + included before <wchar.h>. */
  17810. +#include <stddef.h>
  17811. +#include <stdio.h>
  17812. +#include <time.h>
  17813. +#include <wchar.h>
  17814. +int main ()
  17815. +{
  17816. + if (btowc ('\0') != 0)
  17817. + return 1;
  17818. + return 0;
  17819. +}
  17820. +_ACEOF
  17821. +if ac_fn_c_try_run "$LINENO"; then :
  17822. + gl_cv_func_btowc_nul=yes
  17823. +else
  17824. + gl_cv_func_btowc_nul=no
  17825. +fi
  17826. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  17827. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  17828. +fi
  17829. +
  17830. +
  17831. +fi
  17832. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_nul" >&5
  17833. +$as_echo "$gl_cv_func_btowc_nul" >&6; }
  17834. +
  17835. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5
  17836. +$as_echo_n "checking whether btowc(EOF) is correct... " >&6; }
  17837. +if ${gl_cv_func_btowc_eof+:} false; then :
  17838. + $as_echo_n "(cached) " >&6
  17839. +else
  17840. +
  17841. + case "$host_os" in
  17842. + # Guess no on IRIX.
  17843. + irix*) gl_cv_func_btowc_eof="guessing no" ;;
  17844. + # Guess yes otherwise.
  17845. + *) gl_cv_func_btowc_eof="guessing yes" ;;
  17846. + esac
  17847. + if test $LOCALE_FR != none; then
  17848. + if test "$cross_compiling" = yes; then :
  17849. + :
  17850. +else
  17851. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17852. +/* end confdefs.h. */
  17853. +
  17854. +#include <locale.h>
  17855. +#include <string.h>
  17856. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  17857. + <wchar.h>.
  17858. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  17859. + included before <wchar.h>. */
  17860. +#include <stddef.h>
  17861. +#include <stdio.h>
  17862. +#include <time.h>
  17863. +#include <wchar.h>
  17864. +int main ()
  17865. +{
  17866. + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
  17867. + {
  17868. + if (btowc (EOF) != WEOF)
  17869. + return 1;
  17870. + }
  17871. + return 0;
  17872. +}
  17873. +_ACEOF
  17874. +if ac_fn_c_try_run "$LINENO"; then :
  17875. + gl_cv_func_btowc_eof=yes
  17876. +else
  17877. + gl_cv_func_btowc_eof=no
  17878. +fi
  17879. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  17880. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  17881. +fi
  17882. +
  17883. + fi
  17884. +
  17885. +fi
  17886. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_eof" >&5
  17887. +$as_echo "$gl_cv_func_btowc_eof" >&6; }
  17888. +
  17889. + case "$gl_cv_func_btowc_nul" in
  17890. + *yes) ;;
  17891. + *) REPLACE_BTOWC=1 ;;
  17892. + esac
  17893. + case "$gl_cv_func_btowc_eof" in
  17894. + *yes) ;;
  17895. + *) REPLACE_BTOWC=1 ;;
  17896. + esac
  17897. + fi
  17898. + if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
  17899. +
  17900. + :
  17901. +
  17902. +
  17903. +
  17904. +
  17905. +
  17906. +
  17907. +
  17908. +
  17909. +
  17910. + M4_LIBOBJS="$M4_LIBOBJS btowc.$ac_objext"
  17911. +
  17912. +
  17913. + :
  17914. +
  17915. + fi
  17916. +
  17917. +
  17918. +
  17919. +
  17920. + GNULIB_BTOWC=1
  17921. +
  17922. +
  17923. +
  17924. +$as_echo "@%:@define GNULIB_TEST_BTOWC 1" >>confdefs.h
  17925. +
  17926. +
  17927. +
  17928. + # Code from module c++defs:
  17929. + # Code from module c-ctype:
  17930. + # Code from module c-stack:
  17931. +
  17932. +
  17933. +
  17934. +
  17935. + # for STACK_DIRECTION
  17936. +
  17937. +
  17938. +
  17939. + ac_fn_c_check_decl "$LINENO" "sigaltstack" "ac_cv_have_decl_sigaltstack" "#include <signal.h>
  17940. +"
  17941. +if test "x$ac_cv_have_decl_sigaltstack" = xyes; then :
  17942. + ac_have_decl=1
  17943. +else
  17944. + ac_have_decl=0
  17945. +fi
  17946. +
  17947. +cat >>confdefs.h <<_ACEOF
  17948. +@%:@define HAVE_DECL_SIGALTSTACK $ac_have_decl
  17949. +_ACEOF
  17950. +
  17951. +
  17952. +
  17953. +
  17954. + ac_fn_c_check_type "$LINENO" "stack_t" "ac_cv_type_stack_t" "#include <signal.h>
  17955. +"
  17956. +if test "x$ac_cv_type_stack_t" = xyes; then :
  17957. +
  17958. +cat >>confdefs.h <<_ACEOF
  17959. +@%:@define HAVE_STACK_T 1
  17960. +_ACEOF
  17961. +
  17962. +
  17963. +fi
  17964. +
  17965. +
  17966. + if test "$gl_cv_lib_sigsegv" = yes \
  17967. + && test $"ac_cv_sys_xsi_stack_overflow_heuristic" != yes ; then
  17968. + LIBCSTACK=$LIBSIGSEGV
  17969. +
  17970. + LTLIBCSTACK=$LTLIBSIGSEGV
  17971. +
  17972. + fi
  17973. +
  17974. +
  17975. + # Code from module canonicalize-lgpl:
  17976. +
  17977. +
  17978. + if test $ac_cv_func_canonicalize_file_name = no; then
  17979. + HAVE_CANONICALIZE_FILE_NAME=0
  17980. +
  17981. +
  17982. +
  17983. +
  17984. +
  17985. +
  17986. +
  17987. +
  17988. + M4_LIBOBJS="$M4_LIBOBJS canonicalize-lgpl.$ac_objext"
  17989. +
  17990. + if test $ac_cv_func_realpath = no; then
  17991. + HAVE_REALPATH=0
  17992. + elif test "$gl_cv_func_realpath_works" != yes; then
  17993. + REPLACE_REALPATH=1
  17994. + fi
  17995. + elif test "$gl_cv_func_realpath_works" != yes; then
  17996. +
  17997. +
  17998. +
  17999. +
  18000. +
  18001. +
  18002. +
  18003. +
  18004. + M4_LIBOBJS="$M4_LIBOBJS canonicalize-lgpl.$ac_objext"
  18005. +
  18006. + REPLACE_REALPATH=1
  18007. + REPLACE_CANONICALIZE_FILE_NAME=1
  18008. + fi
  18009. +
  18010. +
  18011. +
  18012. +cat >>confdefs.h <<_ACEOF
  18013. +@%:@define GNULIB_CANONICALIZE_LGPL 1
  18014. +_ACEOF
  18015. +
  18016. +
  18017. +
  18018. +
  18019. +
  18020. + GNULIB_CANONICALIZE_FILE_NAME=1
  18021. +
  18022. +
  18023. +
  18024. +$as_echo "@%:@define GNULIB_TEST_CANONICALIZE_FILE_NAME 1" >>confdefs.h
  18025. +
  18026. +
  18027. +
  18028. +
  18029. +
  18030. +
  18031. + GNULIB_REALPATH=1
  18032. +
  18033. +
  18034. +
  18035. +$as_echo "@%:@define GNULIB_TEST_REALPATH 1" >>confdefs.h
  18036. +
  18037. +
  18038. +
  18039. + # Code from module clean-temp:
  18040. +
  18041. +$as_echo "@%:@define SIGNAL_SAFE_LIST 1" >>confdefs.h
  18042. +
  18043. + # Code from module cloexec:
  18044. +
  18045. +
  18046. +
  18047. +
  18048. +
  18049. +
  18050. +
  18051. +
  18052. +
  18053. + M4_LIBOBJS="$M4_LIBOBJS cloexec.$ac_objext"
  18054. +
  18055. +
  18056. +
  18057. +
  18058. +$as_echo "@%:@define GNULIB_TEST_CLOEXEC 1" >>confdefs.h
  18059. +
  18060. +
  18061. + # Code from module close:
  18062. +
  18063. +
  18064. +
  18065. +
  18066. +
  18067. +
  18068. + GNULIB_CLOSE=1
  18069. +
  18070. +
  18071. +
  18072. +$as_echo "@%:@define GNULIB_TEST_CLOSE 1" >>confdefs.h
  18073. +
  18074. +
  18075. +
  18076. + # Code from module close-hook:
  18077. + # Code from module close-stream:
  18078. +
  18079. +
  18080. +
  18081. +
  18082. +
  18083. +
  18084. +
  18085. +
  18086. +
  18087. + M4_LIBOBJS="$M4_LIBOBJS close-stream.$ac_objext"
  18088. +
  18089. +
  18090. + :
  18091. +
  18092. +
  18093. +
  18094. +cat >>confdefs.h <<_ACEOF
  18095. +@%:@define GNULIB_CLOSE_STREAM 1
  18096. +_ACEOF
  18097. +
  18098. +
  18099. + # Code from module closein:
  18100. +
  18101. +
  18102. +
  18103. +
  18104. +
  18105. +
  18106. +
  18107. +
  18108. +
  18109. + M4_LIBOBJS="$M4_LIBOBJS closein.$ac_objext"
  18110. +
  18111. +
  18112. + :
  18113. +
  18114. + # Code from module closeout:
  18115. +
  18116. +
  18117. +
  18118. +
  18119. +
  18120. +
  18121. +
  18122. +
  18123. +
  18124. + M4_LIBOBJS="$M4_LIBOBJS closeout.$ac_objext"
  18125. +
  18126. +
  18127. + :
  18128. +
  18129. + # Code from module config-h:
  18130. +
  18131. + # Code from module configmake:
  18132. +
  18133. + if test "x$datarootdir" = x; then
  18134. + datarootdir='${datadir}'
  18135. +
  18136. + fi
  18137. + if test "x$docdir" = x; then
  18138. + docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  18139. +
  18140. + fi
  18141. + if test "x$htmldir" = x; then
  18142. + htmldir='${docdir}'
  18143. +
  18144. + fi
  18145. + if test "x$dvidir" = x; then
  18146. + dvidir='${docdir}'
  18147. +
  18148. + fi
  18149. + if test "x$pdfdir" = x; then
  18150. + pdfdir='${docdir}'
  18151. +
  18152. + fi
  18153. + if test "x$psdir" = x; then
  18154. + psdir='${docdir}'
  18155. +
  18156. + fi
  18157. + if test "x$lispdir" = x; then
  18158. + lispdir='${datarootdir}/emacs/site-lisp'
  18159. +
  18160. + fi
  18161. + if test "x$localedir" = x; then
  18162. + localedir='${datarootdir}/locale'
  18163. +
  18164. + fi
  18165. +
  18166. + pkglibexecdir='${libexecdir}/${PACKAGE}'
  18167. +
  18168. +
  18169. + # Code from module dirname:
  18170. +
  18171. +
  18172. +
  18173. +
  18174. +
  18175. +
  18176. +
  18177. +
  18178. +
  18179. +
  18180. + M4_LIBOBJS="$M4_LIBOBJS basename.$ac_objext"
  18181. +
  18182. +
  18183. +
  18184. +
  18185. +
  18186. +
  18187. +
  18188. +
  18189. +
  18190. + M4_LIBOBJS="$M4_LIBOBJS dirname.$ac_objext"
  18191. +
  18192. +
  18193. +
  18194. +
  18195. +cat >>confdefs.h <<_ACEOF
  18196. +@%:@define GNULIB_DIRNAME 1
  18197. +_ACEOF
  18198. +
  18199. +
  18200. + # Code from module dirname-lgpl:
  18201. +
  18202. +
  18203. +
  18204. +
  18205. +
  18206. +
  18207. +
  18208. +
  18209. +
  18210. + M4_LIBOBJS="$M4_LIBOBJS basename-lgpl.$ac_objext"
  18211. +
  18212. +
  18213. +
  18214. +
  18215. +
  18216. +
  18217. +
  18218. +
  18219. +
  18220. + M4_LIBOBJS="$M4_LIBOBJS dirname-lgpl.$ac_objext"
  18221. +
  18222. +
  18223. +
  18224. +
  18225. +
  18226. +
  18227. +
  18228. +
  18229. +
  18230. + M4_LIBOBJS="$M4_LIBOBJS stripslash.$ac_objext"
  18231. +
  18232. +
  18233. +
  18234. +
  18235. +
  18236. + # Code from module dosname:
  18237. + # Code from module double-slash-root:
  18238. +
  18239. +
  18240. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
  18241. +$as_echo_n "checking whether // is distinct from /... " >&6; }
  18242. +if ${gl_cv_double_slash_root+:} false; then :
  18243. + $as_echo_n "(cached) " >&6
  18244. +else
  18245. + if test x"$cross_compiling" = xyes ; then
  18246. + # When cross-compiling, there is no way to tell whether // is special
  18247. + # short of a list of hosts. However, the only known hosts to date
  18248. + # that have a distinct // are Apollo DomainOS (too old to port to),
  18249. + # Cygwin, and z/OS. If anyone knows of another system for which // has
  18250. + # special semantics and is distinct from /, please report it to
  18251. + # <bug-gnulib@gnu.org>.
  18252. + case $host in
  18253. + *-cygwin | i370-ibm-openedition)
  18254. + gl_cv_double_slash_root=yes ;;
  18255. + *)
  18256. + # Be optimistic and assume that / and // are the same when we
  18257. + # don't know.
  18258. + gl_cv_double_slash_root='unknown, assuming no' ;;
  18259. + esac
  18260. + else
  18261. + set x `ls -di / // 2>/dev/null`
  18262. + if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then
  18263. + gl_cv_double_slash_root=no
  18264. + else
  18265. + gl_cv_double_slash_root=yes
  18266. + fi
  18267. + fi
  18268. +fi
  18269. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
  18270. +$as_echo "$gl_cv_double_slash_root" >&6; }
  18271. + if test "$gl_cv_double_slash_root" = yes; then
  18272. +
  18273. +$as_echo "@%:@define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
  18274. +
  18275. + fi
  18276. +
  18277. + # Code from module dup2:
  18278. +
  18279. +
  18280. +
  18281. +
  18282. + if test $ac_cv_func_dup2 = no; then
  18283. + HAVE_DUP2=0
  18284. +
  18285. +
  18286. +
  18287. +
  18288. +
  18289. +
  18290. +
  18291. +
  18292. + M4_LIBOBJS="$M4_LIBOBJS dup2.$ac_objext"
  18293. +
  18294. + else
  18295. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5
  18296. +$as_echo_n "checking whether dup2 works... " >&6; }
  18297. +if ${gl_cv_func_dup2_works+:} false; then :
  18298. + $as_echo_n "(cached) " >&6
  18299. +else
  18300. + if test "$cross_compiling" = yes; then :
  18301. + case "$host_os" in
  18302. + mingw*) # on this platform, dup2 always returns 0 for success
  18303. + gl_cv_func_dup2_works=no;;
  18304. + cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0
  18305. + gl_cv_func_dup2_works=no;;
  18306. + linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a
  18307. + # closed fd may yield -EBADF instead of -1 / errno=EBADF.
  18308. + gl_cv_func_dup2_works=no;;
  18309. + freebsd*) # on FreeBSD 6.1, dup2(1,1000000) gives EMFILE, not EBADF.
  18310. + gl_cv_func_dup2_works=no;;
  18311. + haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC.
  18312. + gl_cv_func_dup2_works=no;;
  18313. + *) gl_cv_func_dup2_works=yes;;
  18314. + esac
  18315. +else
  18316. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18317. +/* end confdefs.h. */
  18318. +
  18319. + #include <unistd.h>
  18320. +#include <fcntl.h>
  18321. +#include <errno.h>
  18322. +int
  18323. +main ()
  18324. +{
  18325. +int result = 0;
  18326. +#if HAVE_FCNTL
  18327. + if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1)
  18328. + result |= 1;
  18329. +#endif HAVE_FCNTL
  18330. + if (dup2 (1, 1) == 0)
  18331. + result |= 2;
  18332. +#if HAVE_FCNTL
  18333. + if (fcntl (1, F_GETFD) != FD_CLOEXEC)
  18334. + result |= 4;
  18335. +#endif
  18336. + close (0);
  18337. + if (dup2 (0, 0) != -1)
  18338. + result |= 8;
  18339. + /* Many gnulib modules require POSIX conformance of EBADF. */
  18340. + if (dup2 (2, 1000000) == -1 && errno != EBADF)
  18341. + result |= 16;
  18342. + return result;
  18343. +
  18344. + ;
  18345. + return 0;
  18346. +}
  18347. +
  18348. +_ACEOF
  18349. +if ac_fn_c_try_run "$LINENO"; then :
  18350. + gl_cv_func_dup2_works=yes
  18351. +else
  18352. + gl_cv_func_dup2_works=no
  18353. +fi
  18354. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  18355. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  18356. +fi
  18357. +
  18358. +
  18359. +fi
  18360. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup2_works" >&5
  18361. +$as_echo "$gl_cv_func_dup2_works" >&6; }
  18362. + if test "$gl_cv_func_dup2_works" = no; then
  18363. +
  18364. +
  18365. + if test $ac_cv_func_dup2 = yes; then
  18366. + REPLACE_DUP2=1
  18367. + fi
  18368. +
  18369. +
  18370. +
  18371. +
  18372. +
  18373. +
  18374. +
  18375. +
  18376. + M4_LIBOBJS="$M4_LIBOBJS dup2.$ac_objext"
  18377. +
  18378. +
  18379. + fi
  18380. + fi
  18381. +
  18382. +
  18383. +
  18384. +
  18385. + GNULIB_DUP2=1
  18386. +
  18387. +
  18388. +
  18389. +$as_echo "@%:@define GNULIB_TEST_DUP2 1" >>confdefs.h
  18390. +
  18391. +
  18392. +
  18393. + # Code from module environ:
  18394. +
  18395. +
  18396. +
  18397. +
  18398. + GNULIB_ENVIRON=1
  18399. +
  18400. +
  18401. +
  18402. +$as_echo "@%:@define GNULIB_TEST_ENVIRON 1" >>confdefs.h
  18403. +
  18404. +
  18405. +
  18406. + # Code from module errno:
  18407. +
  18408. + # Code from module error:
  18409. +
  18410. +
  18411. +
  18412. +
  18413. +
  18414. +
  18415. +
  18416. +
  18417. +
  18418. +
  18419. +
  18420. +
  18421. +
  18422. +
  18423. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
  18424. +$as_echo_n "checking for error_at_line... " >&6; }
  18425. +if ${ac_cv_lib_error_at_line+:} false; then :
  18426. + $as_echo_n "(cached) " >&6
  18427. +else
  18428. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18429. +/* end confdefs.h. */
  18430. +#include <error.h>
  18431. +int
  18432. +main ()
  18433. +{
  18434. +error_at_line (0, 0, "", 0, "an error occurred");
  18435. + ;
  18436. + return 0;
  18437. +}
  18438. +_ACEOF
  18439. +if ac_fn_c_try_link "$LINENO"; then :
  18440. + ac_cv_lib_error_at_line=yes
  18441. +else
  18442. + ac_cv_lib_error_at_line=no
  18443. +fi
  18444. +rm -f core conftest.err conftest.$ac_objext \
  18445. + conftest$ac_exeext conftest.$ac_ext
  18446. +fi
  18447. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
  18448. +$as_echo "$ac_cv_lib_error_at_line" >&6; }
  18449. + if test $ac_cv_lib_error_at_line = no; then
  18450. +
  18451. +
  18452. +
  18453. +
  18454. +
  18455. +
  18456. +
  18457. +
  18458. + M4_LIBOBJS="$M4_LIBOBJS error.$ac_objext"
  18459. +
  18460. + fi
  18461. +
  18462. +
  18463. +
  18464. +
  18465. + :
  18466. +
  18467. +
  18468. +
  18469. +
  18470. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format"
  18471. +
  18472. +
  18473. +
  18474. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format"
  18475. +
  18476. + # Code from module execute:
  18477. +
  18478. +
  18479. +
  18480. +
  18481. + # Code from module exitfail:
  18482. + # Code from module extensions:
  18483. + # Code from module fatal-signal:
  18484. +
  18485. +
  18486. +
  18487. +
  18488. +
  18489. +
  18490. +
  18491. +
  18492. + # Code from module fclose:
  18493. +
  18494. +
  18495. +
  18496. +
  18497. +
  18498. + GNULIB_FCLOSE=1
  18499. +
  18500. +
  18501. +
  18502. +$as_echo "@%:@define GNULIB_TEST_FCLOSE 1" >>confdefs.h
  18503. +
  18504. +
  18505. +
  18506. + # Code from module fcntl:
  18507. +
  18508. +
  18509. +
  18510. +
  18511. +
  18512. + if test $ac_cv_func_fcntl = no; then
  18513. +
  18514. +
  18515. +
  18516. + if test $ac_cv_func_fcntl = no; then
  18517. + HAVE_FCNTL=0
  18518. + else
  18519. + REPLACE_FCNTL=1
  18520. + fi
  18521. +
  18522. +
  18523. +
  18524. +
  18525. +
  18526. +
  18527. +
  18528. +
  18529. + M4_LIBOBJS="$M4_LIBOBJS fcntl.$ac_objext"
  18530. +
  18531. +
  18532. + else
  18533. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl handles F_DUPFD correctly" >&5
  18534. +$as_echo_n "checking whether fcntl handles F_DUPFD correctly... " >&6; }
  18535. +if ${gl_cv_func_fcntl_f_dupfd_works+:} false; then :
  18536. + $as_echo_n "(cached) " >&6
  18537. +else
  18538. + if test "$cross_compiling" = yes; then :
  18539. + # Guess that it works on glibc systems
  18540. + case $host_os in #((
  18541. + *-gnu*) gl_cv_func_fcntl_f_dupfd_works="guessing yes";;
  18542. + *) gl_cv_func_fcntl_f_dupfd_works="guessing no";;
  18543. + esac
  18544. +else
  18545. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18546. +/* end confdefs.h. */
  18547. +
  18548. +#include <fcntl.h>
  18549. +#include <errno.h>
  18550. +
  18551. +int
  18552. +main ()
  18553. +{
  18554. +int result = 0;
  18555. + if (fcntl (0, F_DUPFD, -1) != -1) result |= 1;
  18556. + if (errno != EINVAL) result |= 2;
  18557. + return result;
  18558. +
  18559. + ;
  18560. + return 0;
  18561. +}
  18562. +_ACEOF
  18563. +if ac_fn_c_try_run "$LINENO"; then :
  18564. + gl_cv_func_fcntl_f_dupfd_works=yes
  18565. +else
  18566. + gl_cv_func_fcntl_f_dupfd_works=no
  18567. +fi
  18568. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  18569. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  18570. +fi
  18571. +
  18572. +fi
  18573. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_works" >&5
  18574. +$as_echo "$gl_cv_func_fcntl_f_dupfd_works" >&6; }
  18575. + case $gl_cv_func_fcntl_f_dupfd_works in
  18576. + *yes) ;;
  18577. + *)
  18578. +
  18579. +
  18580. + if test $ac_cv_func_fcntl = no; then
  18581. + HAVE_FCNTL=0
  18582. + else
  18583. + REPLACE_FCNTL=1
  18584. + fi
  18585. +
  18586. +
  18587. +
  18588. +
  18589. +
  18590. +
  18591. +
  18592. +
  18593. + M4_LIBOBJS="$M4_LIBOBJS fcntl.$ac_objext"
  18594. +
  18595. +
  18596. +
  18597. +$as_echo "@%:@define FCNTL_DUPFD_BUGGY 1" >>confdefs.h
  18598. + ;;
  18599. + esac
  18600. +
  18601. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl understands F_DUPFD_CLOEXEC" >&5
  18602. +$as_echo_n "checking whether fcntl understands F_DUPFD_CLOEXEC... " >&6; }
  18603. +if ${gl_cv_func_fcntl_f_dupfd_cloexec+:} false; then :
  18604. + $as_echo_n "(cached) " >&6
  18605. +else
  18606. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18607. +/* end confdefs.h. */
  18608. +
  18609. +#include <fcntl.h>
  18610. +#ifndef F_DUPFD_CLOEXEC
  18611. +choke me
  18612. +#endif
  18613. +
  18614. +int
  18615. +main ()
  18616. +{
  18617. +
  18618. + ;
  18619. + return 0;
  18620. +}
  18621. +_ACEOF
  18622. +if ac_fn_c_try_compile "$LINENO"; then :
  18623. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18624. +/* end confdefs.h. */
  18625. +
  18626. +#ifdef __linux__
  18627. +/* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace
  18628. + it to support the semantics on older kernels that failed with EINVAL. */
  18629. +choke me
  18630. +#endif
  18631. +
  18632. +int
  18633. +main ()
  18634. +{
  18635. +
  18636. + ;
  18637. + return 0;
  18638. +}
  18639. +_ACEOF
  18640. +if ac_fn_c_try_compile "$LINENO"; then :
  18641. + gl_cv_func_fcntl_f_dupfd_cloexec=yes
  18642. +else
  18643. + gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check"
  18644. +fi
  18645. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18646. +else
  18647. + gl_cv_func_fcntl_f_dupfd_cloexec=no
  18648. +fi
  18649. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18650. +fi
  18651. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_cloexec" >&5
  18652. +$as_echo "$gl_cv_func_fcntl_f_dupfd_cloexec" >&6; }
  18653. + if test "$gl_cv_func_fcntl_f_dupfd_cloexec" != yes; then
  18654. +
  18655. +
  18656. +
  18657. + if test $ac_cv_func_fcntl = no; then
  18658. + HAVE_FCNTL=0
  18659. + else
  18660. + REPLACE_FCNTL=1
  18661. + fi
  18662. +
  18663. +
  18664. +
  18665. +
  18666. +
  18667. +
  18668. +
  18669. +
  18670. + M4_LIBOBJS="$M4_LIBOBJS fcntl.$ac_objext"
  18671. +
  18672. +
  18673. + fi
  18674. + fi
  18675. +
  18676. +
  18677. +
  18678. +
  18679. + GNULIB_FCNTL=1
  18680. +
  18681. +
  18682. +
  18683. +$as_echo "@%:@define GNULIB_TEST_FCNTL 1" >>confdefs.h
  18684. +
  18685. +
  18686. +
  18687. + # Code from module fcntl-h:
  18688. +
  18689. +
  18690. +
  18691. +
  18692. +
  18693. +
  18694. +
  18695. +
  18696. +
  18697. +
  18698. +
  18699. + if test $gl_cv_have_include_next = yes; then
  18700. + gl_cv_next_fcntl_h='<'fcntl.h'>'
  18701. + else
  18702. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <fcntl.h>" >&5
  18703. +$as_echo_n "checking absolute name of <fcntl.h>... " >&6; }
  18704. +if ${gl_cv_next_fcntl_h+:} false; then :
  18705. + $as_echo_n "(cached) " >&6
  18706. +else
  18707. +
  18708. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18709. +/* end confdefs.h. */
  18710. +#include <fcntl.h>
  18711. +
  18712. +_ACEOF
  18713. + case "$host_os" in
  18714. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  18715. + *) gl_absname_cpp="$ac_cpp" ;;
  18716. + esac
  18717. + gl_cv_next_fcntl_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  18718. + sed -n '\#/fcntl.h#{
  18719. + s#.*"\(.*/fcntl.h\)".*#\1#
  18720. + s#^/[^/]#//&#
  18721. + p
  18722. + q
  18723. + }'`'"'
  18724. +
  18725. +
  18726. +fi
  18727. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fcntl_h" >&5
  18728. +$as_echo "$gl_cv_next_fcntl_h" >&6; }
  18729. + fi
  18730. + NEXT_FCNTL_H=$gl_cv_next_fcntl_h
  18731. +
  18732. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  18733. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  18734. + gl_next_as_first_directive='<'fcntl.h'>'
  18735. + else
  18736. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  18737. + gl_next_as_first_directive=$gl_cv_next_fcntl_h
  18738. + fi
  18739. + NEXT_AS_FIRST_DIRECTIVE_FCNTL_H=$gl_next_as_first_directive
  18740. +
  18741. +
  18742. +
  18743. +
  18744. +
  18745. +
  18746. +
  18747. + # Code from module fd-safer-flag:
  18748. +
  18749. +
  18750. +cat >>confdefs.h <<_ACEOF
  18751. +@%:@define GNULIB_FD_SAFER_FLAG 1
  18752. +_ACEOF
  18753. +
  18754. +
  18755. + # Code from module fdl-1.3:
  18756. + # Code from module fflush:
  18757. +
  18758. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5
  18759. +$as_echo_n "checking whether fflush works on input streams... " >&6; }
  18760. +if ${gl_cv_func_fflush_stdin+:} false; then :
  18761. + $as_echo_n "(cached) " >&6
  18762. +else
  18763. + echo hello world > conftest.txt
  18764. + if test "$cross_compiling" = yes; then :
  18765. + gl_cv_func_fflush_stdin=cross
  18766. +else
  18767. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18768. +/* end confdefs.h. */
  18769. +
  18770. +#include <stdio.h>
  18771. +#include <unistd.h>
  18772. +
  18773. +int
  18774. +main ()
  18775. +{
  18776. +FILE *f = fopen ("conftest.txt", "r");
  18777. + char buffer[10];
  18778. + int fd;
  18779. + int c;
  18780. + if (f == NULL)
  18781. + return 1;
  18782. + fd = fileno (f);
  18783. + if (fd < 0 || fread (buffer, 1, 5, f) != 5)
  18784. + return 2;
  18785. + /* For deterministic results, ensure f read a bigger buffer. */
  18786. + if (lseek (fd, 0, SEEK_CUR) == 5)
  18787. + return 3;
  18788. + /* POSIX requires fflush-fseek to set file offset of fd. This fails
  18789. + on BSD systems and on mingw. */
  18790. + if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0)
  18791. + return 4;
  18792. + if (lseek (fd, 0, SEEK_CUR) != 5)
  18793. + return 5;
  18794. + /* Verify behaviour of fflush after ungetc. See
  18795. + <http://www.opengroup.org/austin/aardvark/latest/xshbug3.txt> */
  18796. + /* Verify behaviour of fflush after a backup ungetc. This fails on
  18797. + mingw. */
  18798. + c = fgetc (f);
  18799. + ungetc (c, f);
  18800. + fflush (f);
  18801. + if (fgetc (f) != c)
  18802. + return 6;
  18803. + /* Verify behaviour of fflush after a non-backup ungetc. This fails
  18804. + on glibc 2.8 and on BSD systems. */
  18805. + c = fgetc (f);
  18806. + ungetc ('@', f);
  18807. + fflush (f);
  18808. + if (fgetc (f) != c)
  18809. + return 7;
  18810. + return 0;
  18811. +
  18812. + ;
  18813. + return 0;
  18814. +}
  18815. +_ACEOF
  18816. +if ac_fn_c_try_run "$LINENO"; then :
  18817. + gl_cv_func_fflush_stdin=yes
  18818. +else
  18819. + gl_cv_func_fflush_stdin=no
  18820. +fi
  18821. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  18822. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  18823. +fi
  18824. +
  18825. + rm conftest.txt
  18826. +
  18827. +fi
  18828. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5
  18829. +$as_echo "$gl_cv_func_fflush_stdin" >&6; }
  18830. + case $gl_cv_func_fflush_stdin in
  18831. + yes) gl_func_fflush_stdin=1 ;;
  18832. + no) gl_func_fflush_stdin=0 ;;
  18833. + *) gl_func_fflush_stdin='(-1)' ;;
  18834. + esac
  18835. +
  18836. +cat >>confdefs.h <<_ACEOF
  18837. +@%:@define FUNC_FFLUSH_STDIN $gl_func_fflush_stdin
  18838. +_ACEOF
  18839. +
  18840. + if test $gl_cv_func_fflush_stdin != yes; then
  18841. +
  18842. +
  18843. +
  18844. +
  18845. +
  18846. +
  18847. +
  18848. +
  18849. +
  18850. + M4_LIBOBJS="$M4_LIBOBJS fflush.$ac_objext"
  18851. +
  18852. +
  18853. + REPLACE_FFLUSH=1
  18854. +
  18855. +
  18856. + :
  18857. +
  18858. +
  18859. +
  18860. +
  18861. + if test $gl_cv_func_fseeko = yes; then
  18862. + REPLACE_FSEEKO=1
  18863. + fi
  18864. +
  18865. +
  18866. +
  18867. +
  18868. +
  18869. +
  18870. +
  18871. +
  18872. + M4_LIBOBJS="$M4_LIBOBJS fseeko.$ac_objext"
  18873. +
  18874. +
  18875. +
  18876. +
  18877. + fi
  18878. +
  18879. +
  18880. +
  18881. +
  18882. + GNULIB_FFLUSH=1
  18883. +
  18884. +
  18885. +
  18886. +$as_echo "@%:@define GNULIB_TEST_FFLUSH 1" >>confdefs.h
  18887. +
  18888. +
  18889. +
  18890. + # Code from module filenamecat:
  18891. +
  18892. +
  18893. +
  18894. +
  18895. +
  18896. +
  18897. +
  18898. +
  18899. +
  18900. +
  18901. + M4_LIBOBJS="$M4_LIBOBJS filenamecat.$ac_objext"
  18902. +
  18903. +
  18904. +
  18905. +
  18906. +cat >>confdefs.h <<_ACEOF
  18907. +@%:@define GNULIB_FILENAMECAT 1
  18908. +_ACEOF
  18909. +
  18910. +
  18911. + # Code from module filenamecat-lgpl:
  18912. +
  18913. +
  18914. +
  18915. +
  18916. +
  18917. +
  18918. +
  18919. +
  18920. +
  18921. + M4_LIBOBJS="$M4_LIBOBJS filenamecat-lgpl.$ac_objext"
  18922. +
  18923. +
  18924. +
  18925. +
  18926. + # Code from module float:
  18927. +
  18928. +
  18929. +
  18930. + FLOAT_H=
  18931. + case "$host_os" in
  18932. + beos* | openbsd* | mirbsd*)
  18933. + FLOAT_H=float.h
  18934. +
  18935. +
  18936. +
  18937. +
  18938. +
  18939. +
  18940. +
  18941. +
  18942. + if test $gl_cv_have_include_next = yes; then
  18943. + gl_cv_next_float_h='<'float.h'>'
  18944. + else
  18945. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <float.h>" >&5
  18946. +$as_echo_n "checking absolute name of <float.h>... " >&6; }
  18947. +if ${gl_cv_next_float_h+:} false; then :
  18948. + $as_echo_n "(cached) " >&6
  18949. +else
  18950. +
  18951. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18952. +/* end confdefs.h. */
  18953. +#include <float.h>
  18954. +
  18955. +_ACEOF
  18956. + case "$host_os" in
  18957. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  18958. + *) gl_absname_cpp="$ac_cpp" ;;
  18959. + esac
  18960. + gl_cv_next_float_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  18961. + sed -n '\#/float.h#{
  18962. + s#.*"\(.*/float.h\)".*#\1#
  18963. + s#^/[^/]#//&#
  18964. + p
  18965. + q
  18966. + }'`'"'
  18967. +
  18968. +
  18969. +fi
  18970. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5
  18971. +$as_echo "$gl_cv_next_float_h" >&6; }
  18972. + fi
  18973. + NEXT_FLOAT_H=$gl_cv_next_float_h
  18974. +
  18975. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  18976. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  18977. + gl_next_as_first_directive='<'float.h'>'
  18978. + else
  18979. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  18980. + gl_next_as_first_directive=$gl_cv_next_float_h
  18981. + fi
  18982. + NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive
  18983. +
  18984. +
  18985. +
  18986. +
  18987. + ;;
  18988. + esac
  18989. +
  18990. +
  18991. + # Code from module fopen:
  18992. +
  18993. +
  18994. +
  18995. + case "$host_os" in
  18996. + mingw* | pw*)
  18997. + REPLACE_FOPEN=1
  18998. + gl_cv_func_fopen_slash="guessing no"
  18999. + ;;
  19000. + *)
  19001. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fopen recognizes a trailing slash" >&5
  19002. +$as_echo_n "checking whether fopen recognizes a trailing slash... " >&6; }
  19003. +if ${gl_cv_func_fopen_slash+:} false; then :
  19004. + $as_echo_n "(cached) " >&6
  19005. +else
  19006. +
  19007. + if test "$cross_compiling" = yes; then :
  19008. +
  19009. + case "$host_os" in
  19010. + aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*)
  19011. + gl_cv_func_fopen_slash="guessing no" ;;
  19012. + *)
  19013. + gl_cv_func_fopen_slash="guessing yes" ;;
  19014. + esac
  19015. +
  19016. +else
  19017. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19018. +/* end confdefs.h. */
  19019. +
  19020. +#include <stddef.h>
  19021. +#include <stdio.h>
  19022. +int main ()
  19023. +{
  19024. + return fopen ("conftest.sl/", "w") != NULL;
  19025. +}
  19026. +_ACEOF
  19027. +if ac_fn_c_try_run "$LINENO"; then :
  19028. + gl_cv_func_fopen_slash=yes
  19029. +else
  19030. + gl_cv_func_fopen_slash=no
  19031. +fi
  19032. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  19033. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  19034. +fi
  19035. +
  19036. + rm -f conftest.sl
  19037. +
  19038. +fi
  19039. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fopen_slash" >&5
  19040. +$as_echo "$gl_cv_func_fopen_slash" >&6; }
  19041. + ;;
  19042. + esac
  19043. + case "$gl_cv_func_fopen_slash" in
  19044. + *no)
  19045. +
  19046. +$as_echo "@%:@define FOPEN_TRAILING_SLASH_BUG 1" >>confdefs.h
  19047. +
  19048. + REPLACE_FOPEN=1
  19049. + ;;
  19050. + esac
  19051. + if test $REPLACE_FOPEN = 1; then
  19052. +
  19053. +
  19054. +
  19055. +
  19056. +
  19057. +
  19058. +
  19059. +
  19060. + M4_LIBOBJS="$M4_LIBOBJS fopen.$ac_objext"
  19061. +
  19062. +
  19063. +
  19064. +
  19065. + fi
  19066. +
  19067. +
  19068. +
  19069. +
  19070. + GNULIB_FOPEN=1
  19071. +
  19072. +
  19073. +
  19074. +$as_echo "@%:@define GNULIB_TEST_FOPEN 1" >>confdefs.h
  19075. +
  19076. +
  19077. +
  19078. + # Code from module fopen-safer:
  19079. +
  19080. +
  19081. +
  19082. +
  19083. +
  19084. +
  19085. +
  19086. +
  19087. +
  19088. + M4_LIBOBJS="$M4_LIBOBJS fopen-safer.$ac_objext"
  19089. +
  19090. +
  19091. +
  19092. +
  19093. +cat >>confdefs.h <<_ACEOF
  19094. +@%:@define GNULIB_FOPEN_SAFER 1
  19095. +_ACEOF
  19096. +
  19097. +
  19098. + # Code from module fpending:
  19099. +
  19100. +
  19101. +
  19102. + fp_headers='
  19103. +# include <stdio.h>
  19104. +# if HAVE_STDIO_EXT_H
  19105. +# include <stdio_ext.h>
  19106. +# endif
  19107. +'
  19108. + ac_fn_c_check_decl "$LINENO" "__fpending" "ac_cv_have_decl___fpending" "$fp_headers
  19109. +"
  19110. +if test "x$ac_cv_have_decl___fpending" = xyes; then :
  19111. + ac_have_decl=1
  19112. +else
  19113. + ac_have_decl=0
  19114. +fi
  19115. +
  19116. +cat >>confdefs.h <<_ACEOF
  19117. +@%:@define HAVE_DECL___FPENDING $ac_have_decl
  19118. +_ACEOF
  19119. +
  19120. + if test $ac_cv_func___fpending = no; then
  19121. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to determine the number of pending output bytes on a stream" >&5
  19122. +$as_echo_n "checking how to determine the number of pending output bytes on a stream... " >&6; }
  19123. +if ${ac_cv_sys_pending_output_n_bytes+:} false; then :
  19124. + $as_echo_n "(cached) " >&6
  19125. +else
  19126. +
  19127. + for ac_expr in \
  19128. + \
  19129. + '# glibc2' \
  19130. + 'fp->_IO_write_ptr - fp->_IO_write_base' \
  19131. + \
  19132. + '# traditional Unix' \
  19133. + 'fp->_ptr - fp->_base' \
  19134. + \
  19135. + '# BSD' \
  19136. + 'fp->_p - fp->_bf._base' \
  19137. + \
  19138. + '# SCO, Unixware' \
  19139. + '(fp->__ptr ? fp->__ptr - fp->__base : 0)' \
  19140. + \
  19141. + '# QNX' \
  19142. + '(fp->_Mode & 0x2000 /*_MWRITE*/ ? fp->_Next - fp->_Buf : 0)' \
  19143. + \
  19144. + '# old glibc?' \
  19145. + 'fp->__bufp - fp->__buffer' \
  19146. + \
  19147. + '# old glibc iostream?' \
  19148. + 'fp->_pptr - fp->_pbase' \
  19149. + \
  19150. + '# emx+gcc' \
  19151. + 'fp->_ptr - fp->_buffer' \
  19152. + \
  19153. + '# VMS' \
  19154. + '(*fp)->_ptr - (*fp)->_base' \
  19155. + \
  19156. + '# e.g., DGUX R4.11; the info is not available' \
  19157. + 1 \
  19158. + ; do
  19159. +
  19160. + # Skip each embedded comment.
  19161. + case "$ac_expr" in '#'*) continue;; esac
  19162. +
  19163. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19164. +/* end confdefs.h. */
  19165. +#include <stdio.h>
  19166. +int
  19167. +main ()
  19168. +{
  19169. +FILE *fp = stdin; (void) ($ac_expr);
  19170. + ;
  19171. + return 0;
  19172. +}
  19173. +_ACEOF
  19174. +if ac_fn_c_try_compile "$LINENO"; then :
  19175. + fp_done=yes
  19176. +
  19177. +fi
  19178. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19179. + test "$fp_done" = yes && break
  19180. + done
  19181. +
  19182. + ac_cv_sys_pending_output_n_bytes=$ac_expr
  19183. +
  19184. +
  19185. +fi
  19186. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_pending_output_n_bytes" >&5
  19187. +$as_echo "$ac_cv_sys_pending_output_n_bytes" >&6; }
  19188. +
  19189. +cat >>confdefs.h <<_ACEOF
  19190. +@%:@define PENDING_OUTPUT_N_BYTES $ac_cv_sys_pending_output_n_bytes
  19191. +_ACEOF
  19192. +
  19193. +
  19194. +
  19195. +
  19196. +
  19197. +
  19198. +
  19199. +
  19200. +
  19201. + M4_LIBOBJS="$M4_LIBOBJS fpending.$ac_objext"
  19202. +
  19203. + fi
  19204. +
  19205. + # Code from module fpieee:
  19206. + # Code from module fpucw:
  19207. + # Code from module fpurge:
  19208. +
  19209. +
  19210. +
  19211. +
  19212. + ac_fn_c_check_decl "$LINENO" "fpurge" "ac_cv_have_decl_fpurge" "#include <stdio.h>
  19213. +"
  19214. +if test "x$ac_cv_have_decl_fpurge" = xyes; then :
  19215. + ac_have_decl=1
  19216. +else
  19217. + ac_have_decl=0
  19218. +fi
  19219. +
  19220. +cat >>confdefs.h <<_ACEOF
  19221. +@%:@define HAVE_DECL_FPURGE $ac_have_decl
  19222. +_ACEOF
  19223. +
  19224. + if test "x$ac_cv_func_fpurge" = xyes; then
  19225. + # Detect BSD bug. Only cygwin 1.7 is known to be immune.
  19226. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpurge works" >&5
  19227. +$as_echo_n "checking whether fpurge works... " >&6; }
  19228. +if ${gl_cv_func_fpurge_works+:} false; then :
  19229. + $as_echo_n "(cached) " >&6
  19230. +else
  19231. + if test "$cross_compiling" = yes; then :
  19232. + gl_cv_func_fpurge_works='guessing no'
  19233. +else
  19234. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19235. +/* end confdefs.h. */
  19236. +#include <stdio.h>
  19237. +
  19238. +int
  19239. +main ()
  19240. +{
  19241. +FILE *f = fopen ("conftest.txt", "w+");
  19242. + if (!f) return 1;
  19243. + if (fputc ('a', f) != 'a') return 2;
  19244. + rewind (f);
  19245. + if (fgetc (f) != 'a') return 3;
  19246. + if (fgetc (f) != EOF) return 4;
  19247. + if (fpurge (f) != 0) return 5;
  19248. + if (putc ('b', f) != 'b') return 6;
  19249. + if (fclose (f) != 0) return 7;
  19250. + if ((f = fopen ("conftest.txt", "r")) == NULL) return 8;
  19251. + if (fgetc (f) != 'a') return 9;
  19252. + if (fgetc (f) != 'b') return 10;
  19253. + if (fgetc (f) != EOF) return 11;
  19254. + if (fclose (f) != 0) return 12;
  19255. + if (remove ("conftest.txt") != 0) return 13;
  19256. + return 0;
  19257. + ;
  19258. + return 0;
  19259. +}
  19260. +_ACEOF
  19261. +if ac_fn_c_try_run "$LINENO"; then :
  19262. + gl_cv_func_fpurge_works=yes
  19263. +else
  19264. + gl_cv_func_fpurge_works=no
  19265. +fi
  19266. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  19267. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  19268. +fi
  19269. +
  19270. +fi
  19271. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fpurge_works" >&5
  19272. +$as_echo "$gl_cv_func_fpurge_works" >&6; }
  19273. + if test "x$gl_cv_func_fpurge_works" != xyes; then
  19274. + REPLACE_FPURGE=1
  19275. +
  19276. +
  19277. +
  19278. +
  19279. +
  19280. +
  19281. +
  19282. +
  19283. + M4_LIBOBJS="$M4_LIBOBJS fpurge.$ac_objext"
  19284. +
  19285. + fi
  19286. + else
  19287. +
  19288. +
  19289. +
  19290. +
  19291. +
  19292. +
  19293. +
  19294. +
  19295. + M4_LIBOBJS="$M4_LIBOBJS fpurge.$ac_objext"
  19296. +
  19297. + fi
  19298. + if test "x$ac_cv_have_decl_fpurge" = xno; then
  19299. + HAVE_DECL_FPURGE=0
  19300. + fi
  19301. +
  19302. +
  19303. +
  19304. +
  19305. + GNULIB_FPURGE=1
  19306. +
  19307. +
  19308. +
  19309. +$as_echo "@%:@define GNULIB_TEST_FPURGE 1" >>confdefs.h
  19310. +
  19311. +
  19312. +
  19313. + # Code from module freadahead:
  19314. + # Code from module freading:
  19315. +
  19316. +
  19317. +
  19318. + # Code from module frexp-nolibm:
  19319. +
  19320. +
  19321. +
  19322. + if test $gl_cv_func_frexp_no_libm = yes; then
  19323. +
  19324. +
  19325. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5
  19326. +$as_echo_n "checking whether frexp works... " >&6; }
  19327. +if ${gl_cv_func_frexp_works+:} false; then :
  19328. + $as_echo_n "(cached) " >&6
  19329. +else
  19330. +
  19331. + if test "$cross_compiling" = yes; then :
  19332. + case "$host_os" in
  19333. + netbsd* | irix* | mingw*) gl_cv_func_frexp_works="guessing no";;
  19334. + *) gl_cv_func_frexp_works="guessing yes";;
  19335. + esac
  19336. +
  19337. +else
  19338. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19339. +/* end confdefs.h. */
  19340. +
  19341. +#include <float.h>
  19342. +#include <math.h>
  19343. +#include <string.h>
  19344. +/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
  19345. + ICC 10.0 has a bug when optimizing the expression -zero.
  19346. + The expression -DBL_MIN * DBL_MIN does not work when cross-compiling
  19347. + to PowerPC on MacOS X 10.5. */
  19348. +#if defined __hpux || defined __sgi || defined __ICC
  19349. +static double
  19350. +compute_minus_zero (void)
  19351. +{
  19352. + return -DBL_MIN * DBL_MIN;
  19353. +}
  19354. +# define minus_zero compute_minus_zero ()
  19355. +#else
  19356. +double minus_zero = -0.0;
  19357. +#endif
  19358. +int main()
  19359. +{
  19360. + int result = 0;
  19361. + int i;
  19362. + volatile double x;
  19363. + double zero = 0.0;
  19364. + /* Test on denormalized numbers. */
  19365. + for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5)
  19366. + ;
  19367. + if (x > 0.0)
  19368. + {
  19369. + int exp;
  19370. + double y = frexp (x, &exp);
  19371. + /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022.
  19372. + On NetBSD: y = 0.75. Correct: y = 0.5. */
  19373. + if (y != 0.5)
  19374. + result |= 1;
  19375. + }
  19376. + /* Test on infinite numbers. */
  19377. + x = 1.0 / 0.0;
  19378. + {
  19379. + int exp;
  19380. + double y = frexp (x, &exp);
  19381. + if (y != x)
  19382. + result |= 2;
  19383. + }
  19384. + /* Test on negative zero. */
  19385. + x = minus_zero;
  19386. + {
  19387. + int exp;
  19388. + double y = frexp (x, &exp);
  19389. + if (memcmp (&y, &x, sizeof x))
  19390. + result |= 4;
  19391. + }
  19392. + return result;
  19393. +}
  19394. +_ACEOF
  19395. +if ac_fn_c_try_run "$LINENO"; then :
  19396. + gl_cv_func_frexp_works=yes
  19397. +else
  19398. + gl_cv_func_frexp_works=no
  19399. +fi
  19400. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  19401. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  19402. +fi
  19403. +
  19404. +
  19405. +fi
  19406. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_works" >&5
  19407. +$as_echo "$gl_cv_func_frexp_works" >&6; }
  19408. +
  19409. + case "$gl_cv_func_frexp_works" in
  19410. + *yes) gl_func_frexp_no_libm=yes ;;
  19411. + *) gl_func_frexp_no_libm=no; REPLACE_FREXP=1 ;;
  19412. + esac
  19413. + else
  19414. + gl_func_frexp_no_libm=no
  19415. + REPLACE_FREXP=1
  19416. + fi
  19417. + if test $gl_func_frexp_no_libm = yes; then
  19418. +
  19419. +$as_echo "@%:@define HAVE_FREXP_IN_LIBC 1" >>confdefs.h
  19420. +
  19421. + else
  19422. +
  19423. +
  19424. +
  19425. +
  19426. +
  19427. +
  19428. +
  19429. +
  19430. + M4_LIBOBJS="$M4_LIBOBJS frexp.$ac_objext"
  19431. +
  19432. + fi
  19433. +
  19434. +
  19435. +
  19436. +
  19437. + GNULIB_FREXP=1
  19438. +
  19439. +
  19440. +
  19441. +$as_echo "@%:@define GNULIB_TEST_FREXP 1" >>confdefs.h
  19442. +
  19443. +
  19444. +
  19445. + # Code from module frexpl-nolibm:
  19446. +
  19447. +
  19448. + ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include <math.h>
  19449. +"
  19450. +if test "x$ac_cv_have_decl_frexpl" = xyes; then :
  19451. +
  19452. +else
  19453. + HAVE_DECL_FREXPL=0
  19454. +fi
  19455. +
  19456. + if test $HAVE_DECL_FREXPL = 1; then
  19457. +
  19458. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5
  19459. +$as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; }
  19460. +if ${gl_cv_func_frexpl_no_libm+:} false; then :
  19461. + $as_echo_n "(cached) " >&6
  19462. +else
  19463. +
  19464. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19465. +/* end confdefs.h. */
  19466. +#include <math.h>
  19467. + long double x;
  19468. +int
  19469. +main ()
  19470. +{
  19471. +int e; return frexpl (x, &e) > 0;
  19472. + ;
  19473. + return 0;
  19474. +}
  19475. +_ACEOF
  19476. +if ac_fn_c_try_link "$LINENO"; then :
  19477. + gl_cv_func_frexpl_no_libm=yes
  19478. +else
  19479. + gl_cv_func_frexpl_no_libm=no
  19480. +fi
  19481. +rm -f core conftest.err conftest.$ac_objext \
  19482. + conftest$ac_exeext conftest.$ac_ext
  19483. +
  19484. +fi
  19485. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_no_libm" >&5
  19486. +$as_echo "$gl_cv_func_frexpl_no_libm" >&6; }
  19487. +
  19488. + if test $gl_cv_func_frexpl_no_libm = yes; then
  19489. +
  19490. +
  19491. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5
  19492. +$as_echo_n "checking whether frexpl works... " >&6; }
  19493. +if ${gl_cv_func_frexpl_works+:} false; then :
  19494. + $as_echo_n "(cached) " >&6
  19495. +else
  19496. +
  19497. + if test "$cross_compiling" = yes; then :
  19498. +
  19499. + case "$host_os" in
  19500. + aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*)
  19501. + gl_cv_func_frexpl_works="guessing no";;
  19502. + *) gl_cv_func_frexpl_works="guessing yes";;
  19503. + esac
  19504. +
  19505. +else
  19506. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19507. +/* end confdefs.h. */
  19508. +
  19509. +#include <float.h>
  19510. +#include <math.h>
  19511. +/* Override the values of <float.h>, like done in float.in.h. */
  19512. +#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__)
  19513. +# undef LDBL_MIN_EXP
  19514. +# define LDBL_MIN_EXP (-16381)
  19515. +#endif
  19516. +extern long double frexpl (long double, int *);
  19517. +int main()
  19518. +{
  19519. + int result = 0;
  19520. + volatile long double x;
  19521. + /* Test on finite numbers that fails on AIX 5.1. */
  19522. + x = 16.0L;
  19523. + {
  19524. + int exp = -9999;
  19525. + frexpl (x, &exp);
  19526. + if (exp != 5)
  19527. + result |= 1;
  19528. + }
  19529. + /* Test on finite numbers that fails on MacOS X 10.4, because its frexpl
  19530. + function returns an invalid (incorrectly normalized) value: it returns
  19531. + y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 }
  19532. + but the correct result is
  19533. + 0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 } */
  19534. + x = 1.01L;
  19535. + {
  19536. + int exp = -9999;
  19537. + long double y = frexpl (x, &exp);
  19538. + if (!(exp == 1 && y == 0.505L))
  19539. + result |= 2;
  19540. + }
  19541. + /* Test on large finite numbers. This fails on BeOS at i = 16322, while
  19542. + LDBL_MAX_EXP = 16384.
  19543. + In the loop end test, we test x against Infinity, rather than comparing
  19544. + i with LDBL_MAX_EXP, because BeOS <float.h> has a wrong LDBL_MAX_EXP. */
  19545. + {
  19546. + int i;
  19547. + for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L)
  19548. + {
  19549. + int exp = -9999;
  19550. + frexpl (x, &exp);
  19551. + if (exp != i)
  19552. + {
  19553. + result |= 4;
  19554. + break;
  19555. + }
  19556. + }
  19557. + }
  19558. + /* Test on denormalized numbers. */
  19559. + {
  19560. + int i;
  19561. + for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L)
  19562. + ;
  19563. + if (x > 0.0L)
  19564. + {
  19565. + int exp;
  19566. + long double y = frexpl (x, &exp);
  19567. + /* On machines with IEEE854 arithmetic: x = 1.68105e-4932,
  19568. + exp = -16382, y = 0.5. On MacOS X 10.5: exp = -16384, y = 0.5. */
  19569. + if (exp != LDBL_MIN_EXP - 1)
  19570. + result |= 8;
  19571. + }
  19572. + }
  19573. + /* Test on infinite numbers. */
  19574. + x = 1.0L / 0.0L;
  19575. + {
  19576. + int exp;
  19577. + long double y = frexpl (x, &exp);
  19578. + if (y != x)
  19579. + result |= 16;
  19580. + }
  19581. + return result;
  19582. +}
  19583. +_ACEOF
  19584. +if ac_fn_c_try_run "$LINENO"; then :
  19585. + gl_cv_func_frexpl_works=yes
  19586. +else
  19587. + gl_cv_func_frexpl_works=no
  19588. +fi
  19589. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  19590. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  19591. +fi
  19592. +
  19593. +
  19594. +fi
  19595. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_works" >&5
  19596. +$as_echo "$gl_cv_func_frexpl_works" >&6; }
  19597. +
  19598. + case "$gl_cv_func_frexpl_works" in
  19599. + *yes) gl_func_frexpl_no_libm=yes ;;
  19600. + *) gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;;
  19601. + esac
  19602. + else
  19603. + gl_func_frexpl_no_libm=no
  19604. + REPLACE_FREXPL=1
  19605. + fi
  19606. + if test $gl_func_frexpl_no_libm = yes; then
  19607. +
  19608. +$as_echo "@%:@define HAVE_FREXPL_IN_LIBC 1" >>confdefs.h
  19609. +
  19610. + fi
  19611. + fi
  19612. + if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then
  19613. +
  19614. +
  19615. +
  19616. +
  19617. +
  19618. +
  19619. +
  19620. +
  19621. + M4_LIBOBJS="$M4_LIBOBJS frexpl.$ac_objext"
  19622. +
  19623. + fi
  19624. +
  19625. +
  19626. +
  19627. +
  19628. + GNULIB_FREXPL=1
  19629. +
  19630. +
  19631. +
  19632. +$as_echo "@%:@define GNULIB_TEST_FREXPL 1" >>confdefs.h
  19633. +
  19634. +
  19635. +
  19636. + # Code from module fseeko:
  19637. +
  19638. +
  19639. +
  19640. +
  19641. +
  19642. +
  19643. + if test $ac_cv_have_decl_fseeko = no; then
  19644. + HAVE_DECL_FSEEKO=0
  19645. + fi
  19646. +
  19647. + if test $gl_cv_func_fseeko = no; then
  19648. + HAVE_FSEEKO=0
  19649. +
  19650. +
  19651. +
  19652. + if test $gl_cv_func_fseeko = yes; then
  19653. + REPLACE_FSEEKO=1
  19654. + fi
  19655. +
  19656. +
  19657. +
  19658. +
  19659. +
  19660. +
  19661. +
  19662. +
  19663. + M4_LIBOBJS="$M4_LIBOBJS fseeko.$ac_objext"
  19664. +
  19665. +
  19666. +
  19667. + else
  19668. + if test $gl_cv_var_stdin_large_offset = no; then
  19669. +
  19670. +
  19671. +
  19672. + if test $gl_cv_func_fseeko = yes; then
  19673. + REPLACE_FSEEKO=1
  19674. + fi
  19675. +
  19676. +
  19677. +
  19678. +
  19679. +
  19680. +
  19681. +
  19682. +
  19683. + M4_LIBOBJS="$M4_LIBOBJS fseeko.$ac_objext"
  19684. +
  19685. +
  19686. +
  19687. + fi
  19688. + fi
  19689. +
  19690. +
  19691. +
  19692. +
  19693. + GNULIB_FSEEKO=1
  19694. +
  19695. +
  19696. +
  19697. +$as_echo "@%:@define GNULIB_TEST_FSEEKO 1" >>confdefs.h
  19698. +
  19699. +
  19700. +
  19701. + # Code from module ftello:
  19702. +
  19703. +
  19704. +
  19705. +
  19706. +
  19707. +
  19708. +
  19709. +
  19710. + if test $ac_cv_have_decl_ftello = no; then
  19711. + HAVE_DECL_FTELLO=0
  19712. + fi
  19713. +
  19714. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftello" >&5
  19715. +$as_echo_n "checking for ftello... " >&6; }
  19716. +if ${gl_cv_func_ftello+:} false; then :
  19717. + $as_echo_n "(cached) " >&6
  19718. +else
  19719. +
  19720. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19721. +/* end confdefs.h. */
  19722. +#include <stdio.h>
  19723. +int
  19724. +main ()
  19725. +{
  19726. +ftello (stdin);
  19727. + ;
  19728. + return 0;
  19729. +}
  19730. +_ACEOF
  19731. +if ac_fn_c_try_link "$LINENO"; then :
  19732. + gl_cv_func_ftello=yes
  19733. +else
  19734. + gl_cv_func_ftello=no
  19735. +fi
  19736. +rm -f core conftest.err conftest.$ac_objext \
  19737. + conftest$ac_exeext conftest.$ac_ext
  19738. +
  19739. +fi
  19740. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello" >&5
  19741. +$as_echo "$gl_cv_func_ftello" >&6; }
  19742. + if test $gl_cv_func_ftello = no; then
  19743. + HAVE_FTELLO=0
  19744. + else
  19745. + if test $gl_cv_var_stdin_large_offset = no; then
  19746. + REPLACE_FTELLO=1
  19747. + else
  19748. +
  19749. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ftello works" >&5
  19750. +$as_echo_n "checking whether ftello works... " >&6; }
  19751. +if ${gl_cv_func_ftello_works+:} false; then :
  19752. + $as_echo_n "(cached) " >&6
  19753. +else
  19754. +
  19755. + case "$host_os" in
  19756. + # Guess no on Solaris.
  19757. + solaris*) gl_cv_func_ftello_works="guessing no" ;;
  19758. + # Guess yes otherwise.
  19759. + *) gl_cv_func_ftello_works="guessing yes" ;;
  19760. + esac
  19761. + if test "$cross_compiling" = yes; then :
  19762. + :
  19763. +else
  19764. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19765. +/* end confdefs.h. */
  19766. +
  19767. +#include <stdio.h>
  19768. +#include <stdlib.h>
  19769. +#include <string.h>
  19770. +#define TESTFILE "conftest.tmp"
  19771. +int
  19772. +main (void)
  19773. +{
  19774. + FILE *fp;
  19775. +
  19776. + /* Create a file with some contents. */
  19777. + fp = fopen (TESTFILE, "w");
  19778. + if (fp == NULL)
  19779. + return 70;
  19780. + if (fwrite ("foogarsh", 1, 8, fp) < 8)
  19781. + return 71;
  19782. + if (fclose (fp))
  19783. + return 72;
  19784. +
  19785. + /* The file's contents is now "foogarsh". */
  19786. +
  19787. + /* Try writing after reading to EOF. */
  19788. + fp = fopen (TESTFILE, "r+");
  19789. + if (fp == NULL)
  19790. + return 73;
  19791. + if (fseek (fp, -1, SEEK_END))
  19792. + return 74;
  19793. + if (!(getc (fp) == 'h'))
  19794. + return 1;
  19795. + if (!(getc (fp) == EOF))
  19796. + return 2;
  19797. + if (!(ftell (fp) == 8))
  19798. + return 3;
  19799. + if (!(ftell (fp) == 8))
  19800. + return 4;
  19801. + if (!(putc ('!', fp) == '!'))
  19802. + return 5;
  19803. + if (!(ftell (fp) == 9))
  19804. + return 6;
  19805. + if (!(fclose (fp) == 0))
  19806. + return 7;
  19807. + fp = fopen (TESTFILE, "r");
  19808. + if (fp == NULL)
  19809. + return 75;
  19810. + {
  19811. + char buf[10];
  19812. + if (!(fread (buf, 1, 10, fp) == 9))
  19813. + return 10;
  19814. + if (!(memcmp (buf, "foogarsh!", 9) == 0))
  19815. + return 11;
  19816. + }
  19817. + if (!(fclose (fp) == 0))
  19818. + return 12;
  19819. +
  19820. + /* The file's contents is now "foogarsh!". */
  19821. +
  19822. + return 0;
  19823. +}
  19824. +_ACEOF
  19825. +if ac_fn_c_try_run "$LINENO"; then :
  19826. + gl_cv_func_ftello_works=yes
  19827. +else
  19828. + gl_cv_func_ftello_works=no
  19829. +fi
  19830. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  19831. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  19832. +fi
  19833. +
  19834. +
  19835. +fi
  19836. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello_works" >&5
  19837. +$as_echo "$gl_cv_func_ftello_works" >&6; }
  19838. + case "$gl_cv_func_ftello_works" in
  19839. + *yes) ;;
  19840. + *)
  19841. + REPLACE_FTELLO=1
  19842. +
  19843. +$as_echo "@%:@define FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE 1" >>confdefs.h
  19844. +
  19845. + ;;
  19846. + esac
  19847. + fi
  19848. + fi
  19849. + if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
  19850. +
  19851. +
  19852. +
  19853. +
  19854. +
  19855. +
  19856. +
  19857. +
  19858. +
  19859. + M4_LIBOBJS="$M4_LIBOBJS ftello.$ac_objext"
  19860. +
  19861. +
  19862. + fi
  19863. +
  19864. +
  19865. +
  19866. +
  19867. + GNULIB_FTELLO=1
  19868. +
  19869. +
  19870. +
  19871. +$as_echo "@%:@define GNULIB_TEST_FTELLO 1" >>confdefs.h
  19872. +
  19873. +
  19874. +
  19875. + # Code from module gendocs:
  19876. + # Code from module getdtablesize:
  19877. +
  19878. +
  19879. +
  19880. + if test $ac_cv_func_getdtablesize != yes; then
  19881. + HAVE_GETDTABLESIZE=0
  19882. +
  19883. +
  19884. +
  19885. +
  19886. +
  19887. +
  19888. +
  19889. +
  19890. + M4_LIBOBJS="$M4_LIBOBJS getdtablesize.$ac_objext"
  19891. +
  19892. + fi
  19893. +
  19894. +
  19895. +
  19896. +
  19897. + GNULIB_GETDTABLESIZE=1
  19898. +
  19899. +
  19900. +
  19901. +$as_echo "@%:@define GNULIB_TEST_GETDTABLESIZE 1" >>confdefs.h
  19902. +
  19903. +
  19904. +
  19905. + # Code from module getopt-gnu:
  19906. +
  19907. +
  19908. +
  19909. +
  19910. +
  19911. +
  19912. +
  19913. +$as_echo "@%:@define GNULIB_TEST_GETOPT_GNU 1" >>confdefs.h
  19914. +
  19915. +
  19916. + # Code from module getopt-posix:
  19917. +
  19918. +
  19919. +
  19920. +
  19921. +
  19922. + if test -n "$gl_replace_getopt"; then :
  19923. +
  19924. +
  19925. +
  19926. + GETOPT_H=getopt.h
  19927. +
  19928. +$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h
  19929. +
  19930. +
  19931. +
  19932. + GNULIB_UNISTD_H_GETOPT=1
  19933. +
  19934. +
  19935. +
  19936. +
  19937. +
  19938. +
  19939. +
  19940. +
  19941. + M4_LIBOBJS="$M4_LIBOBJS getopt.$ac_objext"
  19942. +
  19943. +
  19944. +
  19945. +
  19946. +
  19947. +
  19948. +
  19949. +
  19950. +
  19951. + M4_LIBOBJS="$M4_LIBOBJS getopt1.$ac_objext"
  19952. +
  19953. +
  19954. +
  19955. +
  19956. +
  19957. +
  19958. +fi
  19959. +
  19960. +
  19961. + # Code from module gettext-h:
  19962. +
  19963. +
  19964. + # Code from module gettimeofday:
  19965. +
  19966. +
  19967. +
  19968. +
  19969. +
  19970. +
  19971. + gl_gettimeofday_timezone=void
  19972. + if test $ac_cv_func_gettimeofday != yes; then
  19973. + HAVE_GETTIMEOFDAY=0
  19974. +
  19975. +
  19976. +
  19977. +
  19978. +
  19979. +
  19980. +
  19981. +
  19982. + M4_LIBOBJS="$M4_LIBOBJS gettimeofday.$ac_objext"
  19983. +
  19984. +
  19985. + for ac_header in sys/timeb.h
  19986. +do :
  19987. + ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
  19988. +if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
  19989. + cat >>confdefs.h <<_ACEOF
  19990. +@%:@define HAVE_SYS_TIMEB_H 1
  19991. +_ACEOF
  19992. +
  19993. +fi
  19994. +
  19995. +done
  19996. +
  19997. + for ac_func in _ftime
  19998. +do :
  19999. + ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime"
  20000. +if test "x$ac_cv_func__ftime" = xyes; then :
  20001. + cat >>confdefs.h <<_ACEOF
  20002. +@%:@define HAVE__FTIME 1
  20003. +_ACEOF
  20004. +
  20005. +fi
  20006. +done
  20007. +
  20008. +
  20009. + else
  20010. +
  20011. +
  20012. +
  20013. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday clobbers localtime buffer" >&5
  20014. +$as_echo_n "checking whether gettimeofday clobbers localtime buffer... " >&6; }
  20015. +if ${gl_cv_func_gettimeofday_clobber+:} false; then :
  20016. + $as_echo_n "(cached) " >&6
  20017. +else
  20018. + if test "$cross_compiling" = yes; then :
  20019. + gl_cv_func_gettimeofday_clobber=yes
  20020. +else
  20021. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20022. +/* end confdefs.h. */
  20023. +#include <string.h>
  20024. + #include <sys/time.h>
  20025. + #include <time.h>
  20026. + #include <stdlib.h>
  20027. +
  20028. +int
  20029. +main ()
  20030. +{
  20031. +
  20032. + time_t t = 0;
  20033. + struct tm *lt;
  20034. + struct tm saved_lt;
  20035. + struct timeval tv;
  20036. + lt = localtime (&t);
  20037. + saved_lt = *lt;
  20038. + gettimeofday (&tv, NULL);
  20039. + return memcmp (lt, &saved_lt, sizeof (struct tm)) != 0;
  20040. +
  20041. + ;
  20042. + return 0;
  20043. +}
  20044. +_ACEOF
  20045. +if ac_fn_c_try_run "$LINENO"; then :
  20046. + gl_cv_func_gettimeofday_clobber=no
  20047. +else
  20048. + gl_cv_func_gettimeofday_clobber=yes
  20049. +fi
  20050. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  20051. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  20052. +fi
  20053. +
  20054. +fi
  20055. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_clobber" >&5
  20056. +$as_echo "$gl_cv_func_gettimeofday_clobber" >&6; }
  20057. +
  20058. + if test $gl_cv_func_gettimeofday_clobber = yes; then
  20059. + REPLACE_GETTIMEOFDAY=1
  20060. +
  20061. +
  20062. +
  20063. +
  20064. +
  20065. +
  20066. +
  20067. +
  20068. +
  20069. + M4_LIBOBJS="$M4_LIBOBJS gettimeofday.$ac_objext"
  20070. +
  20071. +
  20072. + for ac_header in sys/timeb.h
  20073. +do :
  20074. + ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
  20075. +if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
  20076. + cat >>confdefs.h <<_ACEOF
  20077. +@%:@define HAVE_SYS_TIMEB_H 1
  20078. +_ACEOF
  20079. +
  20080. +fi
  20081. +
  20082. +done
  20083. +
  20084. + for ac_func in _ftime
  20085. +do :
  20086. + ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime"
  20087. +if test "x$ac_cv_func__ftime" = xyes; then :
  20088. + cat >>confdefs.h <<_ACEOF
  20089. +@%:@define HAVE__FTIME 1
  20090. +_ACEOF
  20091. +
  20092. +fi
  20093. +done
  20094. +
  20095. +
  20096. +
  20097. +$as_echo "@%:@define gmtime rpl_gmtime" >>confdefs.h
  20098. +
  20099. +
  20100. +$as_echo "@%:@define localtime rpl_localtime" >>confdefs.h
  20101. +
  20102. +
  20103. +
  20104. +$as_echo "@%:@define GETTIMEOFDAY_CLOBBERS_LOCALTIME 1" >>confdefs.h
  20105. +
  20106. + fi
  20107. +
  20108. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday with POSIX signature" >&5
  20109. +$as_echo_n "checking for gettimeofday with POSIX signature... " >&6; }
  20110. +if ${gl_cv_func_gettimeofday_posix_signature+:} false; then :
  20111. + $as_echo_n "(cached) " >&6
  20112. +else
  20113. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20114. +/* end confdefs.h. */
  20115. +#include <sys/time.h>
  20116. + struct timeval c;
  20117. + int gettimeofday (struct timeval *restrict, void *restrict);
  20118. +
  20119. +int
  20120. +main ()
  20121. +{
  20122. +/* glibc uses struct timezone * rather than the POSIX void *
  20123. + if _GNU_SOURCE is defined. However, since the only portable
  20124. + use of gettimeofday uses NULL as the second parameter, and
  20125. + since the glibc definition is actually more typesafe, it is
  20126. + not worth wrapping this to get a compliant signature. */
  20127. + int (*f) (struct timeval *restrict, void *restrict)
  20128. + = gettimeofday;
  20129. + int x = f (&c, 0);
  20130. + return !(x | c.tv_sec | c.tv_usec);
  20131. +
  20132. + ;
  20133. + return 0;
  20134. +}
  20135. +_ACEOF
  20136. +if ac_fn_c_try_compile "$LINENO"; then :
  20137. + gl_cv_func_gettimeofday_posix_signature=yes
  20138. +else
  20139. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20140. +/* end confdefs.h. */
  20141. +#include <sys/time.h>
  20142. +int gettimeofday (struct timeval *restrict, struct timezone *restrict);
  20143. +
  20144. +int
  20145. +main ()
  20146. +{
  20147. +
  20148. + ;
  20149. + return 0;
  20150. +}
  20151. +_ACEOF
  20152. +if ac_fn_c_try_compile "$LINENO"; then :
  20153. + gl_cv_func_gettimeofday_posix_signature=almost
  20154. +else
  20155. + gl_cv_func_gettimeofday_posix_signature=no
  20156. +fi
  20157. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20158. +fi
  20159. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20160. +fi
  20161. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_posix_signature" >&5
  20162. +$as_echo "$gl_cv_func_gettimeofday_posix_signature" >&6; }
  20163. + if test $gl_cv_func_gettimeofday_posix_signature = almost; then
  20164. + gl_gettimeofday_timezone='struct timezone'
  20165. + elif test $gl_cv_func_gettimeofday_posix_signature != yes; then
  20166. + REPLACE_GETTIMEOFDAY=1
  20167. +
  20168. +
  20169. +
  20170. +
  20171. +
  20172. +
  20173. +
  20174. +
  20175. + M4_LIBOBJS="$M4_LIBOBJS gettimeofday.$ac_objext"
  20176. +
  20177. +
  20178. + for ac_header in sys/timeb.h
  20179. +do :
  20180. + ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
  20181. +if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
  20182. + cat >>confdefs.h <<_ACEOF
  20183. +@%:@define HAVE_SYS_TIMEB_H 1
  20184. +_ACEOF
  20185. +
  20186. +fi
  20187. +
  20188. +done
  20189. +
  20190. + for ac_func in _ftime
  20191. +do :
  20192. + ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime"
  20193. +if test "x$ac_cv_func__ftime" = xyes; then :
  20194. + cat >>confdefs.h <<_ACEOF
  20195. +@%:@define HAVE__FTIME 1
  20196. +_ACEOF
  20197. +
  20198. +fi
  20199. +done
  20200. +
  20201. +
  20202. + fi
  20203. + fi
  20204. +
  20205. +cat >>confdefs.h <<_ACEOF
  20206. +@%:@define GETTIMEOFDAY_TIMEZONE $gl_gettimeofday_timezone
  20207. +_ACEOF
  20208. +
  20209. +
  20210. +
  20211. +
  20212. +
  20213. + GNULIB_GETTIMEOFDAY=1
  20214. +
  20215. +
  20216. +
  20217. +$as_echo "@%:@define GNULIB_TEST_GETTIMEOFDAY 1" >>confdefs.h
  20218. +
  20219. +
  20220. +
  20221. + # Code from module git-version-gen:
  20222. + # Code from module gnu-web-doc-update:
  20223. + # Code from module gnumakefile:
  20224. + # Autoconf 2.61a.99 and earlier don't support linking a file only
  20225. + # in VPATH builds. But since GNUmakefile is for maintainer use
  20226. + # only, it does not matter if we skip the link with older autoconf.
  20227. + # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
  20228. + # builds, so use a shell variable to bypass this.
  20229. + GNUmakefile=GNUmakefile
  20230. + ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
  20231. +
  20232. + # Code from module gnupload:
  20233. + # Code from module gpl-3.0:
  20234. + # Code from module havelib:
  20235. + # Code from module ignore-value:
  20236. +
  20237. + # Code from module include_next:
  20238. + # Code from module inline:
  20239. +
  20240. +
  20241. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler generally respects inline" >&5
  20242. +$as_echo_n "checking whether the compiler generally respects inline... " >&6; }
  20243. +if ${gl_cv_c_inline_effective+:} false; then :
  20244. + $as_echo_n "(cached) " >&6
  20245. +else
  20246. + if test $ac_cv_c_inline = no; then
  20247. + gl_cv_c_inline_effective=no
  20248. + else
  20249. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20250. +/* end confdefs.h. */
  20251. +
  20252. +int
  20253. +main ()
  20254. +{
  20255. +#ifdef __NO_INLINE__
  20256. + #error "inline is not effective"
  20257. + #endif
  20258. + ;
  20259. + return 0;
  20260. +}
  20261. +_ACEOF
  20262. +if ac_fn_c_try_compile "$LINENO"; then :
  20263. + gl_cv_c_inline_effective=yes
  20264. +else
  20265. + gl_cv_c_inline_effective=no
  20266. +fi
  20267. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20268. + fi
  20269. +
  20270. +fi
  20271. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_inline_effective" >&5
  20272. +$as_echo "$gl_cv_c_inline_effective" >&6; }
  20273. + if test $gl_cv_c_inline_effective = yes; then
  20274. +
  20275. +$as_echo "@%:@define HAVE_INLINE 1" >>confdefs.h
  20276. +
  20277. + fi
  20278. +
  20279. + # Code from module intprops:
  20280. + # Code from module isnand-nolibm:
  20281. +
  20282. +
  20283. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(double) can be used without linking with libm" >&5
  20284. +$as_echo_n "checking whether isnan(double) can be used without linking with libm... " >&6; }
  20285. +if ${gl_cv_func_isnand_no_libm+:} false; then :
  20286. + $as_echo_n "(cached) " >&6
  20287. +else
  20288. +
  20289. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20290. +/* end confdefs.h. */
  20291. +#include <math.h>
  20292. + #if __GNUC__ >= 4
  20293. + # undef isnand
  20294. + # define isnand(x) __builtin_isnan ((double)(x))
  20295. + #else
  20296. + # undef isnand
  20297. + # define isnand(x) isnan ((double)(x))
  20298. + #endif
  20299. + double x;
  20300. +int
  20301. +main ()
  20302. +{
  20303. +return isnand (x);
  20304. + ;
  20305. + return 0;
  20306. +}
  20307. +_ACEOF
  20308. +if ac_fn_c_try_link "$LINENO"; then :
  20309. + gl_cv_func_isnand_no_libm=yes
  20310. +else
  20311. + gl_cv_func_isnand_no_libm=no
  20312. +fi
  20313. +rm -f core conftest.err conftest.$ac_objext \
  20314. + conftest$ac_exeext conftest.$ac_ext
  20315. +
  20316. +fi
  20317. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnand_no_libm" >&5
  20318. +$as_echo "$gl_cv_func_isnand_no_libm" >&6; }
  20319. +
  20320. + if test $gl_cv_func_isnand_no_libm = yes; then
  20321. +
  20322. +$as_echo "@%:@define HAVE_ISNAND_IN_LIBC 1" >>confdefs.h
  20323. +
  20324. + else
  20325. +
  20326. +
  20327. +
  20328. +
  20329. +
  20330. +
  20331. +
  20332. +
  20333. +
  20334. + M4_LIBOBJS="$M4_LIBOBJS isnand.$ac_objext"
  20335. +
  20336. +
  20337. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5
  20338. +$as_echo_n "checking where to find the exponent in a 'double'... " >&6; }
  20339. +if ${gl_cv_cc_double_expbit0+:} false; then :
  20340. + $as_echo_n "(cached) " >&6
  20341. +else
  20342. +
  20343. + if test "$cross_compiling" = yes; then :
  20344. +
  20345. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20346. +/* end confdefs.h. */
  20347. +
  20348. +#if defined arm || defined __arm || defined __arm__
  20349. + mixed_endianness
  20350. +#endif
  20351. +
  20352. +_ACEOF
  20353. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  20354. + $EGREP "mixed_endianness" >/dev/null 2>&1; then :
  20355. + gl_cv_cc_double_expbit0="unknown"
  20356. +else
  20357. +
  20358. + :
  20359. +if ${ac_cv_c_bigendian+:} false; then :
  20360. + $as_echo_n "(cached) " >&6
  20361. +else
  20362. + ac_cv_c_bigendian=unknown
  20363. + # See if we're dealing with a universal compiler.
  20364. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20365. +/* end confdefs.h. */
  20366. +#ifndef __APPLE_CC__
  20367. + not a universal capable compiler
  20368. + #endif
  20369. + typedef int dummy;
  20370. +
  20371. +_ACEOF
  20372. +if ac_fn_c_try_compile "$LINENO"; then :
  20373. +
  20374. + # Check for potential -arch flags. It is not universal unless
  20375. + # there are at least two -arch flags with different values.
  20376. + ac_arch=
  20377. + ac_prev=
  20378. + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  20379. + if test -n "$ac_prev"; then
  20380. + case $ac_word in
  20381. + i?86 | x86_64 | ppc | ppc64)
  20382. + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  20383. + ac_arch=$ac_word
  20384. + else
  20385. + ac_cv_c_bigendian=universal
  20386. + break
  20387. + fi
  20388. + ;;
  20389. + esac
  20390. + ac_prev=
  20391. + elif test "x$ac_word" = "x-arch"; then
  20392. + ac_prev=arch
  20393. + fi
  20394. + done
  20395. +fi
  20396. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20397. + if test $ac_cv_c_bigendian = unknown; then
  20398. + # See if sys/param.h defines the BYTE_ORDER macro.
  20399. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20400. +/* end confdefs.h. */
  20401. +#include <sys/types.h>
  20402. + #include <sys/param.h>
  20403. +
  20404. +int
  20405. +main ()
  20406. +{
  20407. +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  20408. + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  20409. + && LITTLE_ENDIAN)
  20410. + bogus endian macros
  20411. + #endif
  20412. +
  20413. + ;
  20414. + return 0;
  20415. +}
  20416. +_ACEOF
  20417. +if ac_fn_c_try_compile "$LINENO"; then :
  20418. + # It does; now see whether it defined to BIG_ENDIAN or not.
  20419. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20420. +/* end confdefs.h. */
  20421. +#include <sys/types.h>
  20422. + #include <sys/param.h>
  20423. +
  20424. +int
  20425. +main ()
  20426. +{
  20427. +#if BYTE_ORDER != BIG_ENDIAN
  20428. + not big endian
  20429. + #endif
  20430. +
  20431. + ;
  20432. + return 0;
  20433. +}
  20434. +_ACEOF
  20435. +if ac_fn_c_try_compile "$LINENO"; then :
  20436. + ac_cv_c_bigendian=yes
  20437. +else
  20438. + ac_cv_c_bigendian=no
  20439. +fi
  20440. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20441. +fi
  20442. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20443. + fi
  20444. + if test $ac_cv_c_bigendian = unknown; then
  20445. + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  20446. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20447. +/* end confdefs.h. */
  20448. +#include <limits.h>
  20449. +
  20450. +int
  20451. +main ()
  20452. +{
  20453. +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  20454. + bogus endian macros
  20455. + #endif
  20456. +
  20457. + ;
  20458. + return 0;
  20459. +}
  20460. +_ACEOF
  20461. +if ac_fn_c_try_compile "$LINENO"; then :
  20462. + # It does; now see whether it defined to _BIG_ENDIAN or not.
  20463. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20464. +/* end confdefs.h. */
  20465. +#include <limits.h>
  20466. +
  20467. +int
  20468. +main ()
  20469. +{
  20470. +#ifndef _BIG_ENDIAN
  20471. + not big endian
  20472. + #endif
  20473. +
  20474. + ;
  20475. + return 0;
  20476. +}
  20477. +_ACEOF
  20478. +if ac_fn_c_try_compile "$LINENO"; then :
  20479. + ac_cv_c_bigendian=yes
  20480. +else
  20481. + ac_cv_c_bigendian=no
  20482. +fi
  20483. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20484. +fi
  20485. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20486. + fi
  20487. + if test $ac_cv_c_bigendian = unknown; then
  20488. + # Compile a test program.
  20489. + if test "$cross_compiling" = yes; then :
  20490. + # Try to guess by grepping values from an object file.
  20491. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20492. +/* end confdefs.h. */
  20493. +short int ascii_mm[] =
  20494. + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  20495. + short int ascii_ii[] =
  20496. + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  20497. + int use_ascii (int i) {
  20498. + return ascii_mm[i] + ascii_ii[i];
  20499. + }
  20500. + short int ebcdic_ii[] =
  20501. + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  20502. + short int ebcdic_mm[] =
  20503. + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  20504. + int use_ebcdic (int i) {
  20505. + return ebcdic_mm[i] + ebcdic_ii[i];
  20506. + }
  20507. + extern int foo;
  20508. +
  20509. +int
  20510. +main ()
  20511. +{
  20512. +return use_ascii (foo) == use_ebcdic (foo);
  20513. + ;
  20514. + return 0;
  20515. +}
  20516. +_ACEOF
  20517. +if ac_fn_c_try_compile "$LINENO"; then :
  20518. + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  20519. + ac_cv_c_bigendian=yes
  20520. + fi
  20521. + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  20522. + if test "$ac_cv_c_bigendian" = unknown; then
  20523. + ac_cv_c_bigendian=no
  20524. + else
  20525. + # finding both strings is unlikely to happen, but who knows?
  20526. + ac_cv_c_bigendian=unknown
  20527. + fi
  20528. + fi
  20529. +fi
  20530. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20531. +else
  20532. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20533. +/* end confdefs.h. */
  20534. +$ac_includes_default
  20535. +int
  20536. +main ()
  20537. +{
  20538. +
  20539. + /* Are we little or big endian? From Harbison&Steele. */
  20540. + union
  20541. + {
  20542. + long int l;
  20543. + char c[sizeof (long int)];
  20544. + } u;
  20545. + u.l = 1;
  20546. + return u.c[sizeof (long int) - 1] == 1;
  20547. +
  20548. + ;
  20549. + return 0;
  20550. +}
  20551. +_ACEOF
  20552. +if ac_fn_c_try_run "$LINENO"; then :
  20553. + ac_cv_c_bigendian=no
  20554. +else
  20555. + ac_cv_c_bigendian=yes
  20556. +fi
  20557. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  20558. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  20559. +fi
  20560. +
  20561. + fi
  20562. +fi
  20563. +:
  20564. + case $ac_cv_c_bigendian in #(
  20565. + yes)
  20566. + gl_cv_cc_double_expbit0="word 0 bit 20";; #(
  20567. + no)
  20568. + gl_cv_cc_double_expbit0="word 1 bit 20" ;; #(
  20569. + universal)
  20570. +
  20571. +$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  20572. +
  20573. + ;; #(
  20574. + *)
  20575. + gl_cv_cc_double_expbit0="unknown" ;;
  20576. + esac
  20577. +
  20578. +
  20579. +fi
  20580. +rm -f conftest*
  20581. +
  20582. +
  20583. +else
  20584. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20585. +/* end confdefs.h. */
  20586. +
  20587. +#include <float.h>
  20588. +#include <stddef.h>
  20589. +#include <stdio.h>
  20590. +#include <string.h>
  20591. +#define NWORDS \
  20592. + ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  20593. +typedef union { double value; unsigned int word[NWORDS]; } memory_double;
  20594. +static unsigned int ored_words[NWORDS];
  20595. +static unsigned int anded_words[NWORDS];
  20596. +static void add_to_ored_words (double x)
  20597. +{
  20598. + memory_double m;
  20599. + size_t i;
  20600. + /* Clear it first, in case sizeof (double) < sizeof (memory_double). */
  20601. + memset (&m, 0, sizeof (memory_double));
  20602. + m.value = x;
  20603. + for (i = 0; i < NWORDS; i++)
  20604. + {
  20605. + ored_words[i] |= m.word[i];
  20606. + anded_words[i] &= m.word[i];
  20607. + }
  20608. +}
  20609. +int main ()
  20610. +{
  20611. + size_t j;
  20612. + FILE *fp = fopen ("conftest.out", "w");
  20613. + if (fp == NULL)
  20614. + return 1;
  20615. + for (j = 0; j < NWORDS; j++)
  20616. + anded_words[j] = ~ (unsigned int) 0;
  20617. + add_to_ored_words (0.25);
  20618. + add_to_ored_words (0.5);
  20619. + add_to_ored_words (1.0);
  20620. + add_to_ored_words (2.0);
  20621. + add_to_ored_words (4.0);
  20622. + /* Remove bits that are common (e.g. if representation of the first mantissa
  20623. + bit is explicit). */
  20624. + for (j = 0; j < NWORDS; j++)
  20625. + ored_words[j] &= ~anded_words[j];
  20626. + /* Now find the nonzero word. */
  20627. + for (j = 0; j < NWORDS; j++)
  20628. + if (ored_words[j] != 0)
  20629. + break;
  20630. + if (j < NWORDS)
  20631. + {
  20632. + size_t i;
  20633. + for (i = j + 1; i < NWORDS; i++)
  20634. + if (ored_words[i] != 0)
  20635. + {
  20636. + fprintf (fp, "unknown");
  20637. + return (fclose (fp) != 0);
  20638. + }
  20639. + for (i = 0; ; i++)
  20640. + if ((ored_words[j] >> i) & 1)
  20641. + {
  20642. + fprintf (fp, "word %d bit %d", (int) j, (int) i);
  20643. + return (fclose (fp) != 0);
  20644. + }
  20645. + }
  20646. + fprintf (fp, "unknown");
  20647. + return (fclose (fp) != 0);
  20648. +}
  20649. +
  20650. +_ACEOF
  20651. +if ac_fn_c_try_run "$LINENO"; then :
  20652. + gl_cv_cc_double_expbit0=`cat conftest.out`
  20653. +else
  20654. + gl_cv_cc_double_expbit0="unknown"
  20655. +fi
  20656. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  20657. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  20658. +fi
  20659. +
  20660. + rm -f conftest.out
  20661. +
  20662. +fi
  20663. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5
  20664. +$as_echo "$gl_cv_cc_double_expbit0" >&6; }
  20665. + case "$gl_cv_cc_double_expbit0" in
  20666. + word*bit*)
  20667. + word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
  20668. + bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'`
  20669. +
  20670. +cat >>confdefs.h <<_ACEOF
  20671. +@%:@define DBL_EXPBIT0_WORD $word
  20672. +_ACEOF
  20673. +
  20674. +
  20675. +cat >>confdefs.h <<_ACEOF
  20676. +@%:@define DBL_EXPBIT0_BIT $bit
  20677. +_ACEOF
  20678. +
  20679. + ;;
  20680. + esac
  20681. +
  20682. +
  20683. + fi
  20684. +
  20685. + # Code from module isnanf-nolibm:
  20686. +
  20687. +
  20688. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) can be used without linking with libm" >&5
  20689. +$as_echo_n "checking whether isnan(float) can be used without linking with libm... " >&6; }
  20690. +if ${gl_cv_func_isnanf_no_libm+:} false; then :
  20691. + $as_echo_n "(cached) " >&6
  20692. +else
  20693. +
  20694. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20695. +/* end confdefs.h. */
  20696. +#include <math.h>
  20697. + #if __GNUC__ >= 4
  20698. + # undef isnanf
  20699. + # define isnanf(x) __builtin_isnanf ((float)(x))
  20700. + #elif defined isnan
  20701. + # undef isnanf
  20702. + # define isnanf(x) isnan ((float)(x))
  20703. + #endif
  20704. + float x;
  20705. +int
  20706. +main ()
  20707. +{
  20708. +return isnanf (x);
  20709. + ;
  20710. + return 0;
  20711. +}
  20712. +_ACEOF
  20713. +if ac_fn_c_try_link "$LINENO"; then :
  20714. + gl_cv_func_isnanf_no_libm=yes
  20715. +else
  20716. + gl_cv_func_isnanf_no_libm=no
  20717. +fi
  20718. +rm -f core conftest.err conftest.$ac_objext \
  20719. + conftest$ac_exeext conftest.$ac_ext
  20720. +
  20721. +fi
  20722. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanf_no_libm" >&5
  20723. +$as_echo "$gl_cv_func_isnanf_no_libm" >&6; }
  20724. +
  20725. + if test $gl_cv_func_isnanf_no_libm = yes; then
  20726. +
  20727. +
  20728. +
  20729. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) works" >&5
  20730. +$as_echo_n "checking whether isnan(float) works... " >&6; }
  20731. +if ${gl_cv_func_isnanf_works+:} false; then :
  20732. + $as_echo_n "(cached) " >&6
  20733. +else
  20734. +
  20735. + if test "$cross_compiling" = yes; then :
  20736. + case "$host_os" in
  20737. + irix* | solaris*) gl_cv_func_isnanf_works="guessing no";;
  20738. + *) gl_cv_func_isnanf_works="guessing yes";;
  20739. + esac
  20740. +
  20741. +else
  20742. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20743. +/* end confdefs.h. */
  20744. +
  20745. +#include <math.h>
  20746. +#if __GNUC__ >= 4
  20747. +# undef isnanf
  20748. +# define isnanf(x) __builtin_isnanf ((float)(x))
  20749. +#elif defined isnan
  20750. +# undef isnanf
  20751. +# define isnanf(x) isnan ((float)(x))
  20752. +#endif
  20753. +/* The Compaq (ex-DEC) C 6.4 compiler chokes on the expression 0.0 / 0.0. */
  20754. +#ifdef __DECC
  20755. +static float
  20756. +NaN ()
  20757. +{
  20758. + static float zero = 0.0f;
  20759. + return zero / zero;
  20760. +}
  20761. +#else
  20762. +# define NaN() (0.0f / 0.0f)
  20763. +#endif
  20764. +#define NWORDS \
  20765. + ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  20766. +typedef union { unsigned int word[NWORDS]; float value; } memory_float;
  20767. +int main()
  20768. +{
  20769. + int result = 0;
  20770. +
  20771. + if (isnanf (1.0f / 0.0f))
  20772. + result |= 1;
  20773. +
  20774. + if (!isnanf (NaN ()))
  20775. + result |= 2;
  20776. +
  20777. +#if defined FLT_EXPBIT0_WORD && defined FLT_EXPBIT0_BIT
  20778. + /* The isnanf function should be immune against changes in the sign bit and
  20779. + in the mantissa bits. The xor operation twiddles a bit that can only be
  20780. + a sign bit or a mantissa bit. */
  20781. + if (FLT_EXPBIT0_WORD == 0 && FLT_EXPBIT0_BIT > 0)
  20782. + {
  20783. + memory_float m;
  20784. +
  20785. + m.value = NaN ();
  20786. + /* Set the bits below the exponent to 01111...111. */
  20787. + m.word[0] &= -1U << FLT_EXPBIT0_BIT;
  20788. + m.word[0] |= 1U << (FLT_EXPBIT0_BIT - 1) - 1;
  20789. + if (!isnanf (m.value))
  20790. + result |= 4;
  20791. + }
  20792. +#endif
  20793. +
  20794. + return result;
  20795. +}
  20796. +_ACEOF
  20797. +if ac_fn_c_try_run "$LINENO"; then :
  20798. + gl_cv_func_isnanf_works=yes
  20799. +else
  20800. + gl_cv_func_isnanf_works=no
  20801. +fi
  20802. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  20803. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  20804. +fi
  20805. +
  20806. +
  20807. +fi
  20808. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanf_works" >&5
  20809. +$as_echo "$gl_cv_func_isnanf_works" >&6; }
  20810. +
  20811. + fi
  20812. + if test $gl_cv_func_isnanf_no_libm = yes \
  20813. + && { case "$gl_cv_func_isnanf_works" in
  20814. + *yes) true;;
  20815. + *) false;;
  20816. + esac
  20817. + }; then
  20818. +
  20819. +$as_echo "@%:@define HAVE_ISNANF_IN_LIBC 1" >>confdefs.h
  20820. +
  20821. + else
  20822. +
  20823. +
  20824. +
  20825. +
  20826. +
  20827. +
  20828. +
  20829. +
  20830. +
  20831. + M4_LIBOBJS="$M4_LIBOBJS isnanf.$ac_objext"
  20832. +
  20833. +
  20834. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
  20835. +$as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
  20836. +if ${gl_cv_cc_float_expbit0+:} false; then :
  20837. + $as_echo_n "(cached) " >&6
  20838. +else
  20839. +
  20840. + if test "$cross_compiling" = yes; then :
  20841. + gl_cv_cc_float_expbit0="word 0 bit 23"
  20842. +else
  20843. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20844. +/* end confdefs.h. */
  20845. +
  20846. +#include <float.h>
  20847. +#include <stddef.h>
  20848. +#include <stdio.h>
  20849. +#include <string.h>
  20850. +#define NWORDS \
  20851. + ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  20852. +typedef union { float value; unsigned int word[NWORDS]; } memory_float;
  20853. +static unsigned int ored_words[NWORDS];
  20854. +static unsigned int anded_words[NWORDS];
  20855. +static void add_to_ored_words (float x)
  20856. +{
  20857. + memory_float m;
  20858. + size_t i;
  20859. + /* Clear it first, in case
  20860. + sizeof (float) < sizeof (memory_float). */
  20861. + memset (&m, 0, sizeof (memory_float));
  20862. + m.value = x;
  20863. + for (i = 0; i < NWORDS; i++)
  20864. + {
  20865. + ored_words[i] |= m.word[i];
  20866. + anded_words[i] &= m.word[i];
  20867. + }
  20868. +}
  20869. +int main ()
  20870. +{
  20871. + size_t j;
  20872. + FILE *fp = fopen ("conftest.out", "w");
  20873. + if (fp == NULL)
  20874. + return 1;
  20875. + for (j = 0; j < NWORDS; j++)
  20876. + anded_words[j] = ~ (unsigned int) 0;
  20877. + add_to_ored_words (0.25f);
  20878. + add_to_ored_words (0.5f);
  20879. + add_to_ored_words (1.0f);
  20880. + add_to_ored_words (2.0f);
  20881. + add_to_ored_words (4.0f);
  20882. + /* Remove bits that are common (e.g. if representation of the first mantissa
  20883. + bit is explicit). */
  20884. + for (j = 0; j < NWORDS; j++)
  20885. + ored_words[j] &= ~anded_words[j];
  20886. + /* Now find the nonzero word. */
  20887. + for (j = 0; j < NWORDS; j++)
  20888. + if (ored_words[j] != 0)
  20889. + break;
  20890. + if (j < NWORDS)
  20891. + {
  20892. + size_t i;
  20893. + for (i = j + 1; i < NWORDS; i++)
  20894. + if (ored_words[i] != 0)
  20895. + {
  20896. + fprintf (fp, "unknown");
  20897. + return (fclose (fp) != 0);
  20898. + }
  20899. + for (i = 0; ; i++)
  20900. + if ((ored_words[j] >> i) & 1)
  20901. + {
  20902. + fprintf (fp, "word %d bit %d", (int) j, (int) i);
  20903. + return (fclose (fp) != 0);
  20904. + }
  20905. + }
  20906. + fprintf (fp, "unknown");
  20907. + return (fclose (fp) != 0);
  20908. +}
  20909. +
  20910. +_ACEOF
  20911. +if ac_fn_c_try_run "$LINENO"; then :
  20912. + gl_cv_cc_float_expbit0=`cat conftest.out`
  20913. +else
  20914. + gl_cv_cc_float_expbit0="unknown"
  20915. +fi
  20916. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  20917. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  20918. +fi
  20919. +
  20920. + rm -f conftest.out
  20921. +
  20922. +fi
  20923. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5
  20924. +$as_echo "$gl_cv_cc_float_expbit0" >&6; }
  20925. + case "$gl_cv_cc_float_expbit0" in
  20926. + word*bit*)
  20927. + word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
  20928. + bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'`
  20929. +
  20930. +cat >>confdefs.h <<_ACEOF
  20931. +@%:@define FLT_EXPBIT0_WORD $word
  20932. +_ACEOF
  20933. +
  20934. +
  20935. +cat >>confdefs.h <<_ACEOF
  20936. +@%:@define FLT_EXPBIT0_BIT $bit
  20937. +_ACEOF
  20938. +
  20939. + ;;
  20940. + esac
  20941. +
  20942. +
  20943. + fi
  20944. +
  20945. + # Code from module isnanl-nolibm:
  20946. +
  20947. +
  20948. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(long double) can be used without linking with libm" >&5
  20949. +$as_echo_n "checking whether isnan(long double) can be used without linking with libm... " >&6; }
  20950. +if ${gl_cv_func_isnanl_no_libm+:} false; then :
  20951. + $as_echo_n "(cached) " >&6
  20952. +else
  20953. +
  20954. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20955. +/* end confdefs.h. */
  20956. +#include <math.h>
  20957. + #if __GNUC__ >= 4
  20958. + # undef isnanl
  20959. + # define isnanl(x) __builtin_isnanl ((long double)(x))
  20960. + #elif defined isnan
  20961. + # undef isnanl
  20962. + # define isnanl(x) isnan ((long double)(x))
  20963. + #endif
  20964. + long double x;
  20965. +int
  20966. +main ()
  20967. +{
  20968. +return isnanl (x);
  20969. + ;
  20970. + return 0;
  20971. +}
  20972. +_ACEOF
  20973. +if ac_fn_c_try_link "$LINENO"; then :
  20974. + gl_cv_func_isnanl_no_libm=yes
  20975. +else
  20976. + gl_cv_func_isnanl_no_libm=no
  20977. +fi
  20978. +rm -f core conftest.err conftest.$ac_objext \
  20979. + conftest$ac_exeext conftest.$ac_ext
  20980. +
  20981. +fi
  20982. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanl_no_libm" >&5
  20983. +$as_echo "$gl_cv_func_isnanl_no_libm" >&6; }
  20984. +
  20985. + gl_func_isnanl_no_libm=$gl_cv_func_isnanl_no_libm
  20986. + if test $gl_func_isnanl_no_libm = yes; then
  20987. +
  20988. +
  20989. +
  20990. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnanl works" >&5
  20991. +$as_echo_n "checking whether isnanl works... " >&6; }
  20992. +if ${gl_cv_func_isnanl_works+:} false; then :
  20993. + $as_echo_n "(cached) " >&6
  20994. +else
  20995. +
  20996. + if test "$cross_compiling" = yes; then :
  20997. + case "$host_cpu" in
  20998. + # Guess no on ia64, x86_64, i386.
  20999. + ia64 | x86_64 | i*86) gl_cv_func_isnanl_works="guessing no";;
  21000. + *)
  21001. + case "$host_os" in
  21002. + netbsd*) gl_cv_func_isnanl_works="guessing no";;
  21003. + *) gl_cv_func_isnanl_works="guessing yes";;
  21004. + esac
  21005. + ;;
  21006. + esac
  21007. +
  21008. +else
  21009. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21010. +/* end confdefs.h. */
  21011. +
  21012. +#include <float.h>
  21013. +#include <limits.h>
  21014. +#include <math.h>
  21015. +#if __GNUC__ >= 4
  21016. +# undef isnanl
  21017. +# define isnanl(x) __builtin_isnanl ((long double)(x))
  21018. +#elif defined isnan
  21019. +# undef isnanl
  21020. +# define isnanl(x) isnan ((long double)(x))
  21021. +#endif
  21022. +#define NWORDS \
  21023. + ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  21024. +typedef union { unsigned int word[NWORDS]; long double value; }
  21025. + memory_long_double;
  21026. +/* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the
  21027. + runtime type conversion. */
  21028. +#ifdef __sgi
  21029. +static long double NaNl ()
  21030. +{
  21031. + double zero = 0.0;
  21032. + return zero / zero;
  21033. +}
  21034. +#else
  21035. +# define NaNl() (0.0L / 0.0L)
  21036. +#endif
  21037. +int main ()
  21038. +{
  21039. + int result = 0;
  21040. +
  21041. + if (!isnanl (NaNl ()))
  21042. + result |= 1;
  21043. +
  21044. + {
  21045. + memory_long_double m;
  21046. + unsigned int i;
  21047. +
  21048. + /* The isnanl function should be immune against changes in the sign bit and
  21049. + in the mantissa bits. The xor operation twiddles a bit that can only be
  21050. + a sign bit or a mantissa bit (since the exponent never extends to
  21051. + bit 31). */
  21052. + m.value = NaNl ();
  21053. + m.word[NWORDS / 2] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1);
  21054. + for (i = 0; i < NWORDS; i++)
  21055. + m.word[i] |= 1;
  21056. + if (!isnanl (m.value))
  21057. + result |= 1;
  21058. + }
  21059. +
  21060. +#if ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_))
  21061. +/* Representation of an 80-bit 'long double' as an initializer for a sequence
  21062. + of 'unsigned int' words. */
  21063. +# ifdef WORDS_BIGENDIAN
  21064. +# define LDBL80_WORDS(exponent,manthi,mantlo) \
  21065. + { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \
  21066. + ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16), \
  21067. + (unsigned int) (mantlo) << 16 \
  21068. + }
  21069. +# else
  21070. +# define LDBL80_WORDS(exponent,manthi,mantlo) \
  21071. + { mantlo, manthi, exponent }
  21072. +# endif
  21073. + { /* Quiet NaN. */
  21074. + static memory_long_double x =
  21075. + { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
  21076. + if (!isnanl (x.value))
  21077. + result |= 2;
  21078. + }
  21079. + {
  21080. + /* Signalling NaN. */
  21081. + static memory_long_double x =
  21082. + { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
  21083. + if (!isnanl (x.value))
  21084. + result |= 2;
  21085. + }
  21086. + /* The isnanl function should recognize Pseudo-NaNs, Pseudo-Infinities,
  21087. + Pseudo-Zeroes, Unnormalized Numbers, and Pseudo-Denormals, as defined in
  21088. + Intel IA-64 Architecture Software Developer's Manual, Volume 1:
  21089. + Application Architecture.
  21090. + Table 5-2 "Floating-Point Register Encodings"
  21091. + Figure 5-6 "Memory to Floating-Point Register Data Translation"
  21092. + */
  21093. + { /* Pseudo-NaN. */
  21094. + static memory_long_double x =
  21095. + { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
  21096. + if (!isnanl (x.value))
  21097. + result |= 4;
  21098. + }
  21099. + { /* Pseudo-Infinity. */
  21100. + static memory_long_double x =
  21101. + { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
  21102. + if (!isnanl (x.value))
  21103. + result |= 8;
  21104. + }
  21105. + { /* Pseudo-Zero. */
  21106. + static memory_long_double x =
  21107. + { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
  21108. + if (!isnanl (x.value))
  21109. + result |= 16;
  21110. + }
  21111. + { /* Unnormalized number. */
  21112. + static memory_long_double x =
  21113. + { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
  21114. + if (!isnanl (x.value))
  21115. + result |= 32;
  21116. + }
  21117. + { /* Pseudo-Denormal. */
  21118. + static memory_long_double x =
  21119. + { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
  21120. + if (!isnanl (x.value))
  21121. + result |= 64;
  21122. + }
  21123. +#endif
  21124. +
  21125. + return result;
  21126. +}
  21127. +_ACEOF
  21128. +if ac_fn_c_try_run "$LINENO"; then :
  21129. + gl_cv_func_isnanl_works=yes
  21130. +else
  21131. + gl_cv_func_isnanl_works=no
  21132. +fi
  21133. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  21134. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  21135. +fi
  21136. +
  21137. +
  21138. +fi
  21139. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanl_works" >&5
  21140. +$as_echo "$gl_cv_func_isnanl_works" >&6; }
  21141. +
  21142. + case "$gl_cv_func_isnanl_works" in
  21143. + *yes) ;;
  21144. + *) gl_func_isnanl_no_libm=no ;;
  21145. + esac
  21146. + fi
  21147. + if test $gl_func_isnanl_no_libm = yes; then
  21148. +
  21149. +$as_echo "@%:@define HAVE_ISNANL_IN_LIBC 1" >>confdefs.h
  21150. +
  21151. + else
  21152. +
  21153. +
  21154. +
  21155. +
  21156. +
  21157. +
  21158. +
  21159. +
  21160. +
  21161. + M4_LIBOBJS="$M4_LIBOBJS isnanl.$ac_objext"
  21162. +
  21163. +
  21164. +
  21165. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5
  21166. +$as_echo_n "checking where to find the exponent in a 'long double'... " >&6; }
  21167. +if ${gl_cv_cc_long_double_expbit0+:} false; then :
  21168. + $as_echo_n "(cached) " >&6
  21169. +else
  21170. +
  21171. + if test "$cross_compiling" = yes; then :
  21172. +
  21173. + gl_cv_cc_long_double_expbit0="unknown"
  21174. +
  21175. +else
  21176. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21177. +/* end confdefs.h. */
  21178. +
  21179. +#include <float.h>
  21180. +#include <stddef.h>
  21181. +#include <stdio.h>
  21182. +#include <string.h>
  21183. +#define NWORDS \
  21184. + ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  21185. +typedef union { long double value; unsigned int word[NWORDS]; }
  21186. + memory_long_double;
  21187. +static unsigned int ored_words[NWORDS];
  21188. +static unsigned int anded_words[NWORDS];
  21189. +static void add_to_ored_words (long double x)
  21190. +{
  21191. + memory_long_double m;
  21192. + size_t i;
  21193. + /* Clear it first, in case
  21194. + sizeof (long double) < sizeof (memory_long_double). */
  21195. + memset (&m, 0, sizeof (memory_long_double));
  21196. + m.value = x;
  21197. + for (i = 0; i < NWORDS; i++)
  21198. + {
  21199. + ored_words[i] |= m.word[i];
  21200. + anded_words[i] &= m.word[i];
  21201. + }
  21202. +}
  21203. +int main ()
  21204. +{
  21205. + size_t j;
  21206. + FILE *fp = fopen ("conftest.out", "w");
  21207. + if (fp == NULL)
  21208. + return 1;
  21209. + for (j = 0; j < NWORDS; j++)
  21210. + anded_words[j] = ~ (unsigned int) 0;
  21211. + add_to_ored_words (0.25L);
  21212. + add_to_ored_words (0.5L);
  21213. + add_to_ored_words (1.0L);
  21214. + add_to_ored_words (2.0L);
  21215. + add_to_ored_words (4.0L);
  21216. + /* Remove bits that are common (e.g. if representation of the first mantissa
  21217. + bit is explicit). */
  21218. + for (j = 0; j < NWORDS; j++)
  21219. + ored_words[j] &= ~anded_words[j];
  21220. + /* Now find the nonzero word. */
  21221. + for (j = 0; j < NWORDS; j++)
  21222. + if (ored_words[j] != 0)
  21223. + break;
  21224. + if (j < NWORDS)
  21225. + {
  21226. + size_t i;
  21227. + for (i = j + 1; i < NWORDS; i++)
  21228. + if (ored_words[i] != 0)
  21229. + {
  21230. + fprintf (fp, "unknown");
  21231. + return (fclose (fp) != 0);
  21232. + }
  21233. + for (i = 0; ; i++)
  21234. + if ((ored_words[j] >> i) & 1)
  21235. + {
  21236. + fprintf (fp, "word %d bit %d", (int) j, (int) i);
  21237. + return (fclose (fp) != 0);
  21238. + }
  21239. + }
  21240. + fprintf (fp, "unknown");
  21241. + return (fclose (fp) != 0);
  21242. +}
  21243. +
  21244. +_ACEOF
  21245. +if ac_fn_c_try_run "$LINENO"; then :
  21246. + gl_cv_cc_long_double_expbit0=`cat conftest.out`
  21247. +else
  21248. + gl_cv_cc_long_double_expbit0="unknown"
  21249. +fi
  21250. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  21251. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  21252. +fi
  21253. +
  21254. + rm -f conftest.out
  21255. +
  21256. +fi
  21257. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_expbit0" >&5
  21258. +$as_echo "$gl_cv_cc_long_double_expbit0" >&6; }
  21259. + case "$gl_cv_cc_long_double_expbit0" in
  21260. + word*bit*)
  21261. + word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
  21262. + bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'`
  21263. +
  21264. +cat >>confdefs.h <<_ACEOF
  21265. +@%:@define LDBL_EXPBIT0_WORD $word
  21266. +_ACEOF
  21267. +
  21268. +
  21269. +cat >>confdefs.h <<_ACEOF
  21270. +@%:@define LDBL_EXPBIT0_BIT $bit
  21271. +_ACEOF
  21272. +
  21273. + ;;
  21274. + esac
  21275. +
  21276. +
  21277. + fi
  21278. +
  21279. + # Code from module langinfo:
  21280. +
  21281. +
  21282. +
  21283. +
  21284. +
  21285. +
  21286. +
  21287. +
  21288. +
  21289. +
  21290. +
  21291. +
  21292. +
  21293. +
  21294. + if test $gl_cv_have_include_next = yes; then
  21295. + gl_cv_next_langinfo_h='<'langinfo.h'>'
  21296. + else
  21297. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <langinfo.h>" >&5
  21298. +$as_echo_n "checking absolute name of <langinfo.h>... " >&6; }
  21299. +if ${gl_cv_next_langinfo_h+:} false; then :
  21300. + $as_echo_n "(cached) " >&6
  21301. +else
  21302. +
  21303. + if test $ac_cv_header_langinfo_h = yes; then
  21304. +
  21305. +
  21306. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21307. +/* end confdefs.h. */
  21308. +#include <langinfo.h>
  21309. +
  21310. +_ACEOF
  21311. + case "$host_os" in
  21312. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  21313. + *) gl_absname_cpp="$ac_cpp" ;;
  21314. + esac
  21315. + gl_cv_next_langinfo_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  21316. + sed -n '\#/langinfo.h#{
  21317. + s#.*"\(.*/langinfo.h\)".*#\1#
  21318. + s#^/[^/]#//&#
  21319. + p
  21320. + q
  21321. + }'`'"'
  21322. + else
  21323. + gl_cv_next_langinfo_h='<'langinfo.h'>'
  21324. + fi
  21325. +
  21326. +
  21327. +fi
  21328. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_langinfo_h" >&5
  21329. +$as_echo "$gl_cv_next_langinfo_h" >&6; }
  21330. + fi
  21331. + NEXT_LANGINFO_H=$gl_cv_next_langinfo_h
  21332. +
  21333. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  21334. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  21335. + gl_next_as_first_directive='<'langinfo.h'>'
  21336. + else
  21337. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  21338. + gl_next_as_first_directive=$gl_cv_next_langinfo_h
  21339. + fi
  21340. + NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H=$gl_next_as_first_directive
  21341. +
  21342. +
  21343. +
  21344. +
  21345. +
  21346. + HAVE_LANGINFO_CODESET=0
  21347. + HAVE_LANGINFO_T_FMT_AMPM=0
  21348. + HAVE_LANGINFO_ERA=0
  21349. + HAVE_LANGINFO_YESEXPR=0
  21350. +
  21351. + if test $ac_cv_header_langinfo_h = yes; then
  21352. + HAVE_LANGINFO_H=1
  21353. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5
  21354. +$as_echo_n "checking whether langinfo.h defines CODESET... " >&6; }
  21355. +if ${gl_cv_header_langinfo_codeset+:} false; then :
  21356. + $as_echo_n "(cached) " >&6
  21357. +else
  21358. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21359. +/* end confdefs.h. */
  21360. +#include <langinfo.h>
  21361. +int a = CODESET;
  21362. +
  21363. +int
  21364. +main ()
  21365. +{
  21366. +
  21367. + ;
  21368. + return 0;
  21369. +}
  21370. +_ACEOF
  21371. +if ac_fn_c_try_compile "$LINENO"; then :
  21372. + gl_cv_header_langinfo_codeset=yes
  21373. +else
  21374. + gl_cv_header_langinfo_codeset=no
  21375. +fi
  21376. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21377. +
  21378. +fi
  21379. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_codeset" >&5
  21380. +$as_echo "$gl_cv_header_langinfo_codeset" >&6; }
  21381. + if test $gl_cv_header_langinfo_codeset = yes; then
  21382. + HAVE_LANGINFO_CODESET=1
  21383. + fi
  21384. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5
  21385. +$as_echo_n "checking whether langinfo.h defines T_FMT_AMPM... " >&6; }
  21386. +if ${gl_cv_header_langinfo_t_fmt_ampm+:} false; then :
  21387. + $as_echo_n "(cached) " >&6
  21388. +else
  21389. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21390. +/* end confdefs.h. */
  21391. +#include <langinfo.h>
  21392. +int a = T_FMT_AMPM;
  21393. +
  21394. +int
  21395. +main ()
  21396. +{
  21397. +
  21398. + ;
  21399. + return 0;
  21400. +}
  21401. +_ACEOF
  21402. +if ac_fn_c_try_compile "$LINENO"; then :
  21403. + gl_cv_header_langinfo_t_fmt_ampm=yes
  21404. +else
  21405. + gl_cv_header_langinfo_t_fmt_ampm=no
  21406. +fi
  21407. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21408. +
  21409. +fi
  21410. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_t_fmt_ampm" >&5
  21411. +$as_echo "$gl_cv_header_langinfo_t_fmt_ampm" >&6; }
  21412. + if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then
  21413. + HAVE_LANGINFO_T_FMT_AMPM=1
  21414. + fi
  21415. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5
  21416. +$as_echo_n "checking whether langinfo.h defines ERA... " >&6; }
  21417. +if ${gl_cv_header_langinfo_era+:} false; then :
  21418. + $as_echo_n "(cached) " >&6
  21419. +else
  21420. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21421. +/* end confdefs.h. */
  21422. +#include <langinfo.h>
  21423. +int a = ERA;
  21424. +
  21425. +int
  21426. +main ()
  21427. +{
  21428. +
  21429. + ;
  21430. + return 0;
  21431. +}
  21432. +_ACEOF
  21433. +if ac_fn_c_try_compile "$LINENO"; then :
  21434. + gl_cv_header_langinfo_era=yes
  21435. +else
  21436. + gl_cv_header_langinfo_era=no
  21437. +fi
  21438. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21439. +
  21440. +fi
  21441. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_era" >&5
  21442. +$as_echo "$gl_cv_header_langinfo_era" >&6; }
  21443. + if test $gl_cv_header_langinfo_era = yes; then
  21444. + HAVE_LANGINFO_ERA=1
  21445. + fi
  21446. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5
  21447. +$as_echo_n "checking whether langinfo.h defines YESEXPR... " >&6; }
  21448. +if ${gl_cv_header_langinfo_yesexpr+:} false; then :
  21449. + $as_echo_n "(cached) " >&6
  21450. +else
  21451. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21452. +/* end confdefs.h. */
  21453. +#include <langinfo.h>
  21454. +int a = YESEXPR;
  21455. +
  21456. +int
  21457. +main ()
  21458. +{
  21459. +
  21460. + ;
  21461. + return 0;
  21462. +}
  21463. +_ACEOF
  21464. +if ac_fn_c_try_compile "$LINENO"; then :
  21465. + gl_cv_header_langinfo_yesexpr=yes
  21466. +else
  21467. + gl_cv_header_langinfo_yesexpr=no
  21468. +fi
  21469. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21470. +
  21471. +fi
  21472. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_yesexpr" >&5
  21473. +$as_echo "$gl_cv_header_langinfo_yesexpr" >&6; }
  21474. + if test $gl_cv_header_langinfo_yesexpr = yes; then
  21475. + HAVE_LANGINFO_YESEXPR=1
  21476. + fi
  21477. + else
  21478. + HAVE_LANGINFO_H=0
  21479. + fi
  21480. +
  21481. +
  21482. +
  21483. +
  21484. +
  21485. +
  21486. +
  21487. +
  21488. + # Code from module libsigsegv:
  21489. +
  21490. +
  21491. +
  21492. +
  21493. +
  21494. +
  21495. +
  21496. +
  21497. +
  21498. +
  21499. +
  21500. +
  21501. +
  21502. +
  21503. + use_additional=yes
  21504. +
  21505. + acl_save_prefix="$prefix"
  21506. + prefix="$acl_final_prefix"
  21507. + acl_save_exec_prefix="$exec_prefix"
  21508. + exec_prefix="$acl_final_exec_prefix"
  21509. +
  21510. + eval additional_includedir=\"$includedir\"
  21511. + eval additional_libdir=\"$libdir\"
  21512. +
  21513. + exec_prefix="$acl_save_exec_prefix"
  21514. + prefix="$acl_save_prefix"
  21515. +
  21516. +
  21517. +@%:@ Check whether --with-libsigsegv-prefix was given.
  21518. +if test "${with_libsigsegv_prefix+set}" = set; then :
  21519. + withval=$with_libsigsegv_prefix;
  21520. + if test "X$withval" = "Xno"; then
  21521. + use_additional=no
  21522. + else
  21523. + if test "X$withval" = "X"; then
  21524. +
  21525. + acl_save_prefix="$prefix"
  21526. + prefix="$acl_final_prefix"
  21527. + acl_save_exec_prefix="$exec_prefix"
  21528. + exec_prefix="$acl_final_exec_prefix"
  21529. +
  21530. + eval additional_includedir=\"$includedir\"
  21531. + eval additional_libdir=\"$libdir\"
  21532. +
  21533. + exec_prefix="$acl_save_exec_prefix"
  21534. + prefix="$acl_save_prefix"
  21535. +
  21536. + else
  21537. + additional_includedir="$withval/include"
  21538. + additional_libdir="$withval/$acl_libdirstem"
  21539. + if test "$acl_libdirstem2" != "$acl_libdirstem" \
  21540. + && ! test -d "$withval/$acl_libdirstem"; then
  21541. + additional_libdir="$withval/$acl_libdirstem2"
  21542. + fi
  21543. + fi
  21544. + fi
  21545. +
  21546. +fi
  21547. +
  21548. + LIBSIGSEGV=
  21549. + LTLIBSIGSEGV=
  21550. + INCSIGSEGV=
  21551. + LIBSIGSEGV_PREFIX=
  21552. + HAVE_LIBSIGSEGV=
  21553. + rpathdirs=
  21554. + ltrpathdirs=
  21555. + names_already_handled=
  21556. + names_next_round='sigsegv '
  21557. + while test -n "$names_next_round"; do
  21558. + names_this_round="$names_next_round"
  21559. + names_next_round=
  21560. + for name in $names_this_round; do
  21561. + already_handled=
  21562. + for n in $names_already_handled; do
  21563. + if test "$n" = "$name"; then
  21564. + already_handled=yes
  21565. + break
  21566. + fi
  21567. + done
  21568. + if test -z "$already_handled"; then
  21569. + names_already_handled="$names_already_handled $name"
  21570. + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
  21571. + eval value=\"\$HAVE_LIB$uppername\"
  21572. + if test -n "$value"; then
  21573. + if test "$value" = yes; then
  21574. + eval value=\"\$LIB$uppername\"
  21575. + test -z "$value" || LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$value"
  21576. + eval value=\"\$LTLIB$uppername\"
  21577. + test -z "$value" || LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$value"
  21578. + else
  21579. + :
  21580. + fi
  21581. + else
  21582. + found_dir=
  21583. + found_la=
  21584. + found_so=
  21585. + found_a=
  21586. + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
  21587. + if test -n "$acl_shlibext"; then
  21588. + shrext=".$acl_shlibext" # typically: shrext=.so
  21589. + else
  21590. + shrext=
  21591. + fi
  21592. + if test $use_additional = yes; then
  21593. + dir="$additional_libdir"
  21594. + if test -n "$acl_shlibext"; then
  21595. + if test -f "$dir/$libname$shrext"; then
  21596. + found_dir="$dir"
  21597. + found_so="$dir/$libname$shrext"
  21598. + else
  21599. + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  21600. + ver=`(cd "$dir" && \
  21601. + for f in "$libname$shrext".*; do echo "$f"; done \
  21602. + | sed -e "s,^$libname$shrext\\\\.,," \
  21603. + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  21604. + | sed 1q ) 2>/dev/null`
  21605. + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  21606. + found_dir="$dir"
  21607. + found_so="$dir/$libname$shrext.$ver"
  21608. + fi
  21609. + else
  21610. + eval library_names=\"$acl_library_names_spec\"
  21611. + for f in $library_names; do
  21612. + if test -f "$dir/$f"; then
  21613. + found_dir="$dir"
  21614. + found_so="$dir/$f"
  21615. + break
  21616. + fi
  21617. + done
  21618. + fi
  21619. + fi
  21620. + fi
  21621. + if test "X$found_dir" = "X"; then
  21622. + if test -f "$dir/$libname.$acl_libext"; then
  21623. + found_dir="$dir"
  21624. + found_a="$dir/$libname.$acl_libext"
  21625. + fi
  21626. + fi
  21627. + if test "X$found_dir" != "X"; then
  21628. + if test -f "$dir/$libname.la"; then
  21629. + found_la="$dir/$libname.la"
  21630. + fi
  21631. + fi
  21632. + fi
  21633. + if test "X$found_dir" = "X"; then
  21634. + for x in $LDFLAGS $LTLIBSIGSEGV; do
  21635. +
  21636. + acl_save_prefix="$prefix"
  21637. + prefix="$acl_final_prefix"
  21638. + acl_save_exec_prefix="$exec_prefix"
  21639. + exec_prefix="$acl_final_exec_prefix"
  21640. + eval x=\"$x\"
  21641. + exec_prefix="$acl_save_exec_prefix"
  21642. + prefix="$acl_save_prefix"
  21643. +
  21644. + case "$x" in
  21645. + -L*)
  21646. + dir=`echo "X$x" | sed -e 's/^X-L//'`
  21647. + if test -n "$acl_shlibext"; then
  21648. + if test -f "$dir/$libname$shrext"; then
  21649. + found_dir="$dir"
  21650. + found_so="$dir/$libname$shrext"
  21651. + else
  21652. + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  21653. + ver=`(cd "$dir" && \
  21654. + for f in "$libname$shrext".*; do echo "$f"; done \
  21655. + | sed -e "s,^$libname$shrext\\\\.,," \
  21656. + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  21657. + | sed 1q ) 2>/dev/null`
  21658. + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  21659. + found_dir="$dir"
  21660. + found_so="$dir/$libname$shrext.$ver"
  21661. + fi
  21662. + else
  21663. + eval library_names=\"$acl_library_names_spec\"
  21664. + for f in $library_names; do
  21665. + if test -f "$dir/$f"; then
  21666. + found_dir="$dir"
  21667. + found_so="$dir/$f"
  21668. + break
  21669. + fi
  21670. + done
  21671. + fi
  21672. + fi
  21673. + fi
  21674. + if test "X$found_dir" = "X"; then
  21675. + if test -f "$dir/$libname.$acl_libext"; then
  21676. + found_dir="$dir"
  21677. + found_a="$dir/$libname.$acl_libext"
  21678. + fi
  21679. + fi
  21680. + if test "X$found_dir" != "X"; then
  21681. + if test -f "$dir/$libname.la"; then
  21682. + found_la="$dir/$libname.la"
  21683. + fi
  21684. + fi
  21685. + ;;
  21686. + esac
  21687. + if test "X$found_dir" != "X"; then
  21688. + break
  21689. + fi
  21690. + done
  21691. + fi
  21692. + if test "X$found_dir" != "X"; then
  21693. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$found_dir -l$name"
  21694. + if test "X$found_so" != "X"; then
  21695. + if test "$enable_rpath" = no \
  21696. + || test "X$found_dir" = "X/usr/$acl_libdirstem" \
  21697. + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
  21698. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  21699. + else
  21700. + haveit=
  21701. + for x in $ltrpathdirs; do
  21702. + if test "X$x" = "X$found_dir"; then
  21703. + haveit=yes
  21704. + break
  21705. + fi
  21706. + done
  21707. + if test -z "$haveit"; then
  21708. + ltrpathdirs="$ltrpathdirs $found_dir"
  21709. + fi
  21710. + if test "$acl_hardcode_direct" = yes; then
  21711. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  21712. + else
  21713. + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
  21714. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  21715. + haveit=
  21716. + for x in $rpathdirs; do
  21717. + if test "X$x" = "X$found_dir"; then
  21718. + haveit=yes
  21719. + break
  21720. + fi
  21721. + done
  21722. + if test -z "$haveit"; then
  21723. + rpathdirs="$rpathdirs $found_dir"
  21724. + fi
  21725. + else
  21726. + haveit=
  21727. + for x in $LDFLAGS $LIBSIGSEGV; do
  21728. +
  21729. + acl_save_prefix="$prefix"
  21730. + prefix="$acl_final_prefix"
  21731. + acl_save_exec_prefix="$exec_prefix"
  21732. + exec_prefix="$acl_final_exec_prefix"
  21733. + eval x=\"$x\"
  21734. + exec_prefix="$acl_save_exec_prefix"
  21735. + prefix="$acl_save_prefix"
  21736. +
  21737. + if test "X$x" = "X-L$found_dir"; then
  21738. + haveit=yes
  21739. + break
  21740. + fi
  21741. + done
  21742. + if test -z "$haveit"; then
  21743. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir"
  21744. + fi
  21745. + if test "$acl_hardcode_minus_L" != no; then
  21746. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  21747. + else
  21748. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name"
  21749. + fi
  21750. + fi
  21751. + fi
  21752. + fi
  21753. + else
  21754. + if test "X$found_a" != "X"; then
  21755. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_a"
  21756. + else
  21757. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir -l$name"
  21758. + fi
  21759. + fi
  21760. + additional_includedir=
  21761. + case "$found_dir" in
  21762. + */$acl_libdirstem | */$acl_libdirstem/)
  21763. + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
  21764. + if test "$name" = 'sigsegv'; then
  21765. + LIBSIGSEGV_PREFIX="$basedir"
  21766. + fi
  21767. + additional_includedir="$basedir/include"
  21768. + ;;
  21769. + */$acl_libdirstem2 | */$acl_libdirstem2/)
  21770. + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
  21771. + if test "$name" = 'sigsegv'; then
  21772. + LIBSIGSEGV_PREFIX="$basedir"
  21773. + fi
  21774. + additional_includedir="$basedir/include"
  21775. + ;;
  21776. + esac
  21777. + if test "X$additional_includedir" != "X"; then
  21778. + if test "X$additional_includedir" != "X/usr/include"; then
  21779. + haveit=
  21780. + if test "X$additional_includedir" = "X/usr/local/include"; then
  21781. + if test -n "$GCC"; then
  21782. + case $host_os in
  21783. + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  21784. + esac
  21785. + fi
  21786. + fi
  21787. + if test -z "$haveit"; then
  21788. + for x in $CPPFLAGS $INCSIGSEGV; do
  21789. +
  21790. + acl_save_prefix="$prefix"
  21791. + prefix="$acl_final_prefix"
  21792. + acl_save_exec_prefix="$exec_prefix"
  21793. + exec_prefix="$acl_final_exec_prefix"
  21794. + eval x=\"$x\"
  21795. + exec_prefix="$acl_save_exec_prefix"
  21796. + prefix="$acl_save_prefix"
  21797. +
  21798. + if test "X$x" = "X-I$additional_includedir"; then
  21799. + haveit=yes
  21800. + break
  21801. + fi
  21802. + done
  21803. + if test -z "$haveit"; then
  21804. + if test -d "$additional_includedir"; then
  21805. + INCSIGSEGV="${INCSIGSEGV}${INCSIGSEGV:+ }-I$additional_includedir"
  21806. + fi
  21807. + fi
  21808. + fi
  21809. + fi
  21810. + fi
  21811. + if test -n "$found_la"; then
  21812. + save_libdir="$libdir"
  21813. + case "$found_la" in
  21814. + */* | *\\*) . "$found_la" ;;
  21815. + *) . "./$found_la" ;;
  21816. + esac
  21817. + libdir="$save_libdir"
  21818. + for dep in $dependency_libs; do
  21819. + case "$dep" in
  21820. + -L*)
  21821. + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
  21822. + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
  21823. + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
  21824. + haveit=
  21825. + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
  21826. + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
  21827. + if test -n "$GCC"; then
  21828. + case $host_os in
  21829. + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  21830. + esac
  21831. + fi
  21832. + fi
  21833. + if test -z "$haveit"; then
  21834. + haveit=
  21835. + for x in $LDFLAGS $LIBSIGSEGV; do
  21836. +
  21837. + acl_save_prefix="$prefix"
  21838. + prefix="$acl_final_prefix"
  21839. + acl_save_exec_prefix="$exec_prefix"
  21840. + exec_prefix="$acl_final_exec_prefix"
  21841. + eval x=\"$x\"
  21842. + exec_prefix="$acl_save_exec_prefix"
  21843. + prefix="$acl_save_prefix"
  21844. +
  21845. + if test "X$x" = "X-L$additional_libdir"; then
  21846. + haveit=yes
  21847. + break
  21848. + fi
  21849. + done
  21850. + if test -z "$haveit"; then
  21851. + if test -d "$additional_libdir"; then
  21852. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$additional_libdir"
  21853. + fi
  21854. + fi
  21855. + haveit=
  21856. + for x in $LDFLAGS $LTLIBSIGSEGV; do
  21857. +
  21858. + acl_save_prefix="$prefix"
  21859. + prefix="$acl_final_prefix"
  21860. + acl_save_exec_prefix="$exec_prefix"
  21861. + exec_prefix="$acl_final_exec_prefix"
  21862. + eval x=\"$x\"
  21863. + exec_prefix="$acl_save_exec_prefix"
  21864. + prefix="$acl_save_prefix"
  21865. +
  21866. + if test "X$x" = "X-L$additional_libdir"; then
  21867. + haveit=yes
  21868. + break
  21869. + fi
  21870. + done
  21871. + if test -z "$haveit"; then
  21872. + if test -d "$additional_libdir"; then
  21873. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$additional_libdir"
  21874. + fi
  21875. + fi
  21876. + fi
  21877. + fi
  21878. + ;;
  21879. + -R*)
  21880. + dir=`echo "X$dep" | sed -e 's/^X-R//'`
  21881. + if test "$enable_rpath" != no; then
  21882. + haveit=
  21883. + for x in $rpathdirs; do
  21884. + if test "X$x" = "X$dir"; then
  21885. + haveit=yes
  21886. + break
  21887. + fi
  21888. + done
  21889. + if test -z "$haveit"; then
  21890. + rpathdirs="$rpathdirs $dir"
  21891. + fi
  21892. + haveit=
  21893. + for x in $ltrpathdirs; do
  21894. + if test "X$x" = "X$dir"; then
  21895. + haveit=yes
  21896. + break
  21897. + fi
  21898. + done
  21899. + if test -z "$haveit"; then
  21900. + ltrpathdirs="$ltrpathdirs $dir"
  21901. + fi
  21902. + fi
  21903. + ;;
  21904. + -l*)
  21905. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
  21906. + ;;
  21907. + *.la)
  21908. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
  21909. + ;;
  21910. + *)
  21911. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$dep"
  21912. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$dep"
  21913. + ;;
  21914. + esac
  21915. + done
  21916. + fi
  21917. + else
  21918. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name"
  21919. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-l$name"
  21920. + fi
  21921. + fi
  21922. + fi
  21923. + done
  21924. + done
  21925. + if test "X$rpathdirs" != "X"; then
  21926. + if test -n "$acl_hardcode_libdir_separator"; then
  21927. + alldirs=
  21928. + for found_dir in $rpathdirs; do
  21929. + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
  21930. + done
  21931. + acl_save_libdir="$libdir"
  21932. + libdir="$alldirs"
  21933. + eval flag=\"$acl_hardcode_libdir_flag_spec\"
  21934. + libdir="$acl_save_libdir"
  21935. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag"
  21936. + else
  21937. + for found_dir in $rpathdirs; do
  21938. + acl_save_libdir="$libdir"
  21939. + libdir="$found_dir"
  21940. + eval flag=\"$acl_hardcode_libdir_flag_spec\"
  21941. + libdir="$acl_save_libdir"
  21942. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag"
  21943. + done
  21944. + fi
  21945. + fi
  21946. + if test "X$ltrpathdirs" != "X"; then
  21947. + for found_dir in $ltrpathdirs; do
  21948. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-R$found_dir"
  21949. + done
  21950. + fi
  21951. +
  21952. +
  21953. +
  21954. +
  21955. +
  21956. +
  21957. +
  21958. + ac_save_CPPFLAGS="$CPPFLAGS"
  21959. +
  21960. + for element in $INCSIGSEGV; do
  21961. + haveit=
  21962. + for x in $CPPFLAGS; do
  21963. +
  21964. + acl_save_prefix="$prefix"
  21965. + prefix="$acl_final_prefix"
  21966. + acl_save_exec_prefix="$exec_prefix"
  21967. + exec_prefix="$acl_final_exec_prefix"
  21968. + eval x=\"$x\"
  21969. + exec_prefix="$acl_save_exec_prefix"
  21970. + prefix="$acl_save_prefix"
  21971. +
  21972. + if test "X$x" = "X$element"; then
  21973. + haveit=yes
  21974. + break
  21975. + fi
  21976. + done
  21977. + if test -z "$haveit"; then
  21978. + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
  21979. + fi
  21980. + done
  21981. +
  21982. +
  21983. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigsegv" >&5
  21984. +$as_echo_n "checking for libsigsegv... " >&6; }
  21985. +if ${ac_cv_libsigsegv+:} false; then :
  21986. + $as_echo_n "(cached) " >&6
  21987. +else
  21988. +
  21989. + ac_save_LIBS="$LIBS"
  21990. + case " $LIBSIGSEGV" in
  21991. + *" -l"*) LIBS="$LIBS $LIBSIGSEGV" ;;
  21992. + *) LIBS="$LIBSIGSEGV $LIBS" ;;
  21993. + esac
  21994. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21995. +/* end confdefs.h. */
  21996. +#include <sigsegv.h>
  21997. +int
  21998. +main ()
  21999. +{
  22000. +sigsegv_deinstall_handler();
  22001. + ;
  22002. + return 0;
  22003. +}
  22004. +_ACEOF
  22005. +if ac_fn_c_try_link "$LINENO"; then :
  22006. + ac_cv_libsigsegv=yes
  22007. +else
  22008. + ac_cv_libsigsegv='no, consider installing GNU libsigsegv'
  22009. +fi
  22010. +rm -f core conftest.err conftest.$ac_objext \
  22011. + conftest$ac_exeext conftest.$ac_ext
  22012. + LIBS="$ac_save_LIBS"
  22013. +
  22014. +fi
  22015. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libsigsegv" >&5
  22016. +$as_echo "$ac_cv_libsigsegv" >&6; }
  22017. + if test "$ac_cv_libsigsegv" = yes; then
  22018. + HAVE_LIBSIGSEGV=yes
  22019. +
  22020. +$as_echo "@%:@define HAVE_LIBSIGSEGV 1" >>confdefs.h
  22021. +
  22022. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libsigsegv" >&5
  22023. +$as_echo_n "checking how to link with libsigsegv... " >&6; }
  22024. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSIGSEGV" >&5
  22025. +$as_echo "$LIBSIGSEGV" >&6; }
  22026. + else
  22027. + HAVE_LIBSIGSEGV=no
  22028. + CPPFLAGS="$ac_save_CPPFLAGS"
  22029. + LIBSIGSEGV=
  22030. + LTLIBSIGSEGV=
  22031. + LIBSIGSEGV_PREFIX=
  22032. + fi
  22033. +
  22034. +
  22035. +
  22036. +
  22037. +
  22038. +
  22039. +
  22040. + gl_cv_lib_sigsegv="$ac_cv_libsigsegv"
  22041. +
  22042. + # Code from module linkedhash-list:
  22043. + # Code from module list:
  22044. +
  22045. +
  22046. +
  22047. + # Code from module localcharset:
  22048. +
  22049. +
  22050. +
  22051. +
  22052. +
  22053. +
  22054. +
  22055. +
  22056. + LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
  22057. +
  22058. + # Code from module lock:
  22059. +
  22060. +
  22061. + if test "$gl_threads_api" = posix; then
  22062. + # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
  22063. + # pthread_rwlock_* functions.
  22064. + ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h>
  22065. +"
  22066. +if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
  22067. +
  22068. +$as_echo "@%:@define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
  22069. +
  22070. +fi
  22071. +
  22072. + # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
  22073. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22074. +/* end confdefs.h. */
  22075. +
  22076. + #include <pthread.h>
  22077. +int
  22078. +main ()
  22079. +{
  22080. +
  22081. +#if __FreeBSD__ == 4
  22082. +error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
  22083. +#else
  22084. +int x = (int)PTHREAD_MUTEX_RECURSIVE;
  22085. +return !x;
  22086. +#endif
  22087. +
  22088. + ;
  22089. + return 0;
  22090. +}
  22091. +_ACEOF
  22092. +if ac_fn_c_try_compile "$LINENO"; then :
  22093. +
  22094. +$as_echo "@%:@define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h
  22095. +
  22096. +fi
  22097. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22098. + fi
  22099. +
  22100. +
  22101. +
  22102. +
  22103. + # Code from module lseek:
  22104. +
  22105. +
  22106. +
  22107. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lseek detects pipes" >&5
  22108. +$as_echo_n "checking whether lseek detects pipes... " >&6; }
  22109. +if ${gl_cv_func_lseek_pipe+:} false; then :
  22110. + $as_echo_n "(cached) " >&6
  22111. +else
  22112. + if test $cross_compiling = no; then
  22113. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22114. +/* end confdefs.h. */
  22115. +
  22116. +#include <sys/types.h> /* for off_t */
  22117. +#include <stdio.h> /* for SEEK_CUR */
  22118. +#include <unistd.h>
  22119. +int
  22120. +main ()
  22121. +{
  22122. +
  22123. + /* Exit with success only if stdin is seekable. */
  22124. + return lseek (0, (off_t)0, SEEK_CUR) < 0;
  22125. +
  22126. + ;
  22127. + return 0;
  22128. +}
  22129. +_ACEOF
  22130. +if ac_fn_c_try_link "$LINENO"; then :
  22131. + if test -s conftest$ac_exeext \
  22132. + && ./conftest$ac_exeext < conftest.$ac_ext \
  22133. + && test 1 = "`echo hi \
  22134. + | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then
  22135. + gl_cv_func_lseek_pipe=yes
  22136. + else
  22137. + gl_cv_func_lseek_pipe=no
  22138. + fi
  22139. +else
  22140. + gl_cv_func_lseek_pipe=no
  22141. +fi
  22142. +rm -f core conftest.err conftest.$ac_objext \
  22143. + conftest$ac_exeext conftest.$ac_ext
  22144. + else
  22145. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22146. +/* end confdefs.h. */
  22147. +
  22148. +#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined __BEOS__
  22149. +/* mingw and BeOS mistakenly return 0 when trying to seek on pipes. */
  22150. + Choke me.
  22151. +#endif
  22152. +_ACEOF
  22153. +if ac_fn_c_try_compile "$LINENO"; then :
  22154. + gl_cv_func_lseek_pipe=yes
  22155. +else
  22156. + gl_cv_func_lseek_pipe=no
  22157. +fi
  22158. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22159. + fi
  22160. +fi
  22161. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lseek_pipe" >&5
  22162. +$as_echo "$gl_cv_func_lseek_pipe" >&6; }
  22163. + if test $gl_cv_func_lseek_pipe = no; then
  22164. +
  22165. +
  22166. +
  22167. +
  22168. +
  22169. +
  22170. +
  22171. +
  22172. +
  22173. + M4_LIBOBJS="$M4_LIBOBJS lseek.$ac_objext"
  22174. +
  22175. +
  22176. + REPLACE_LSEEK=1
  22177. +
  22178. +$as_echo "@%:@define LSEEK_PIPE_BROKEN 1" >>confdefs.h
  22179. +
  22180. +
  22181. + fi
  22182. +
  22183. +
  22184. +
  22185. +
  22186. + GNULIB_LSEEK=1
  22187. +
  22188. +
  22189. +
  22190. +$as_echo "@%:@define GNULIB_TEST_LSEEK 1" >>confdefs.h
  22191. +
  22192. +
  22193. +
  22194. + # Code from module lstat:
  22195. +
  22196. +
  22197. +
  22198. + if test $ac_cv_func_lstat = yes; then
  22199. +
  22200. + if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
  22201. + REPLACE_LSTAT=1
  22202. + fi
  22203. + # Prerequisites of lib/lstat.c.
  22204. +
  22205. + else
  22206. + HAVE_LSTAT=0
  22207. + fi
  22208. +
  22209. +
  22210. +
  22211. +
  22212. + GNULIB_LSTAT=1
  22213. +
  22214. +
  22215. +
  22216. +$as_echo "@%:@define GNULIB_TEST_LSTAT 1" >>confdefs.h
  22217. +
  22218. +
  22219. +
  22220. + # Code from module maintainer-makefile:
  22221. +
  22222. + # Code from module malloc-gnu:
  22223. +
  22224. +
  22225. + for ac_header in stdlib.h
  22226. +do :
  22227. + ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  22228. +if test "x$ac_cv_header_stdlib_h" = xyes; then :
  22229. + cat >>confdefs.h <<_ACEOF
  22230. +@%:@define HAVE_STDLIB_H 1
  22231. +_ACEOF
  22232. +
  22233. +fi
  22234. +
  22235. +done
  22236. +
  22237. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
  22238. +$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
  22239. +if ${ac_cv_func_malloc_0_nonnull+:} false; then :
  22240. + $as_echo_n "(cached) " >&6
  22241. +else
  22242. + if test "$cross_compiling" = yes; then :
  22243. + ac_cv_func_malloc_0_nonnull=no
  22244. +else
  22245. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22246. +/* end confdefs.h. */
  22247. +#if defined STDC_HEADERS || defined HAVE_STDLIB_H
  22248. +# include <stdlib.h>
  22249. +#else
  22250. +char *malloc ();
  22251. +#endif
  22252. +
  22253. +int
  22254. +main ()
  22255. +{
  22256. +return ! malloc (0);
  22257. + ;
  22258. + return 0;
  22259. +}
  22260. +_ACEOF
  22261. +if ac_fn_c_try_run "$LINENO"; then :
  22262. + ac_cv_func_malloc_0_nonnull=yes
  22263. +else
  22264. + ac_cv_func_malloc_0_nonnull=no
  22265. +fi
  22266. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  22267. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  22268. +fi
  22269. +
  22270. +fi
  22271. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
  22272. +$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
  22273. +if test $ac_cv_func_malloc_0_nonnull = yes; then :
  22274. +
  22275. +$as_echo "@%:@define HAVE_MALLOC_GNU 1" >>confdefs.h
  22276. +
  22277. +else
  22278. + $as_echo "@%:@define HAVE_MALLOC_GNU 0" >>confdefs.h
  22279. +
  22280. +
  22281. +
  22282. +
  22283. +
  22284. +
  22285. +
  22286. +
  22287. +
  22288. +
  22289. + M4_LIBOBJS="$M4_LIBOBJS malloc.$ac_objext"
  22290. +
  22291. + REPLACE_MALLOC=1
  22292. +
  22293. +
  22294. +fi
  22295. +
  22296. +
  22297. +
  22298. +
  22299. +cat >>confdefs.h <<_ACEOF
  22300. +@%:@define GNULIB_MALLOC_GNU 1
  22301. +_ACEOF
  22302. +
  22303. +
  22304. + # Code from module malloc-posix:
  22305. +
  22306. +
  22307. +
  22308. + if test $gl_cv_func_malloc_posix = yes; then
  22309. +
  22310. +$as_echo "@%:@define HAVE_MALLOC_POSIX 1" >>confdefs.h
  22311. +
  22312. + else
  22313. +
  22314. +
  22315. +
  22316. +
  22317. +
  22318. +
  22319. +
  22320. +
  22321. +
  22322. + M4_LIBOBJS="$M4_LIBOBJS malloc.$ac_objext"
  22323. +
  22324. + REPLACE_MALLOC=1
  22325. +
  22326. + fi
  22327. +
  22328. +
  22329. +
  22330. +
  22331. + GNULIB_MALLOC_POSIX=1
  22332. +
  22333. +
  22334. +
  22335. +$as_echo "@%:@define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h
  22336. +
  22337. +
  22338. +
  22339. + # Code from module malloca:
  22340. +
  22341. +
  22342. +
  22343. +
  22344. + # Code from module manywarnings:
  22345. + # Code from module math:
  22346. +
  22347. +
  22348. +
  22349. +
  22350. +
  22351. +
  22352. +
  22353. +
  22354. +
  22355. +
  22356. +
  22357. + if test $gl_cv_have_include_next = yes; then
  22358. + gl_cv_next_math_h='<'math.h'>'
  22359. + else
  22360. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <math.h>" >&5
  22361. +$as_echo_n "checking absolute name of <math.h>... " >&6; }
  22362. +if ${gl_cv_next_math_h+:} false; then :
  22363. + $as_echo_n "(cached) " >&6
  22364. +else
  22365. +
  22366. + if test $ac_cv_header_math_h = yes; then
  22367. +
  22368. +
  22369. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22370. +/* end confdefs.h. */
  22371. +#include <math.h>
  22372. +
  22373. +_ACEOF
  22374. + case "$host_os" in
  22375. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  22376. + *) gl_absname_cpp="$ac_cpp" ;;
  22377. + esac
  22378. + gl_cv_next_math_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  22379. + sed -n '\#/math.h#{
  22380. + s#.*"\(.*/math.h\)".*#\1#
  22381. + s#^/[^/]#//&#
  22382. + p
  22383. + q
  22384. + }'`'"'
  22385. + else
  22386. + gl_cv_next_math_h='<'math.h'>'
  22387. + fi
  22388. +
  22389. +
  22390. +fi
  22391. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_math_h" >&5
  22392. +$as_echo "$gl_cv_next_math_h" >&6; }
  22393. + fi
  22394. + NEXT_MATH_H=$gl_cv_next_math_h
  22395. +
  22396. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  22397. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  22398. + gl_next_as_first_directive='<'math.h'>'
  22399. + else
  22400. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  22401. + gl_next_as_first_directive=$gl_cv_next_math_h
  22402. + fi
  22403. + NEXT_AS_FIRST_DIRECTIVE_MATH_H=$gl_next_as_first_directive
  22404. +
  22405. +
  22406. +
  22407. +
  22408. +
  22409. +
  22410. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NAN macro works" >&5
  22411. +$as_echo_n "checking whether NAN macro works... " >&6; }
  22412. +if ${gl_cv_header_math_nan_works+:} false; then :
  22413. + $as_echo_n "(cached) " >&6
  22414. +else
  22415. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22416. +/* end confdefs.h. */
  22417. +@%:@include <math.h>
  22418. +int
  22419. +main ()
  22420. +{
  22421. +/* Solaris 10 has a broken definition of NAN. Other platforms
  22422. + fail to provide NAN, or provide it only in C99 mode; this
  22423. + test only needs to fail when NAN is provided but wrong. */
  22424. + float f = 1.0f;
  22425. +#ifdef NAN
  22426. + f = NAN;
  22427. +#endif
  22428. + return f == 0;
  22429. + ;
  22430. + return 0;
  22431. +}
  22432. +_ACEOF
  22433. +if ac_fn_c_try_compile "$LINENO"; then :
  22434. + gl_cv_header_math_nan_works=yes
  22435. +else
  22436. + gl_cv_header_math_nan_works=no
  22437. +fi
  22438. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22439. +fi
  22440. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_math_nan_works" >&5
  22441. +$as_echo "$gl_cv_header_math_nan_works" >&6; }
  22442. + if test $gl_cv_header_math_nan_works = no; then
  22443. + REPLACE_NAN=1
  22444. + fi
  22445. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether HUGE_VAL works" >&5
  22446. +$as_echo_n "checking whether HUGE_VAL works... " >&6; }
  22447. +if ${gl_cv_header_math_huge_val_works+:} false; then :
  22448. + $as_echo_n "(cached) " >&6
  22449. +else
  22450. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22451. +/* end confdefs.h. */
  22452. +@%:@include <math.h>
  22453. +int
  22454. +main ()
  22455. +{
  22456. +/* Solaris 10 has a broken definition of HUGE_VAL. */
  22457. + double d = HUGE_VAL;
  22458. + return d == 0;
  22459. + ;
  22460. + return 0;
  22461. +}
  22462. +_ACEOF
  22463. +if ac_fn_c_try_compile "$LINENO"; then :
  22464. + gl_cv_header_math_huge_val_works=yes
  22465. +else
  22466. + gl_cv_header_math_huge_val_works=no
  22467. +fi
  22468. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  22469. +fi
  22470. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_math_huge_val_works" >&5
  22471. +$as_echo "$gl_cv_header_math_huge_val_works" >&6; }
  22472. + if test $gl_cv_header_math_huge_val_works = no; then
  22473. + REPLACE_HUGE_VAL=1
  22474. + fi
  22475. +
  22476. +
  22477. +
  22478. + # Code from module mbrtowc:
  22479. +
  22480. +
  22481. +
  22482. +
  22483. +
  22484. +
  22485. +
  22486. +
  22487. +
  22488. +
  22489. + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
  22490. +
  22491. +
  22492. +
  22493. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
  22494. +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
  22495. +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
  22496. + $as_echo_n "(cached) " >&6
  22497. +else
  22498. +
  22499. + case "$host_os" in
  22500. + # Guess no on AIX and OSF/1.
  22501. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
  22502. + # Guess yes otherwise.
  22503. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
  22504. + esac
  22505. + if test $LOCALE_JA != none; then
  22506. + if test "$cross_compiling" = yes; then :
  22507. + :
  22508. +else
  22509. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22510. +/* end confdefs.h. */
  22511. +
  22512. +#include <locale.h>
  22513. +#include <string.h>
  22514. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  22515. + <wchar.h>.
  22516. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  22517. + included before <wchar.h>. */
  22518. +#include <stddef.h>
  22519. +#include <stdio.h>
  22520. +#include <time.h>
  22521. +#include <wchar.h>
  22522. +int main ()
  22523. +{
  22524. + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
  22525. + {
  22526. + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
  22527. + mbstate_t state;
  22528. + wchar_t wc;
  22529. +
  22530. + memset (&state, '\0', sizeof (mbstate_t));
  22531. + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
  22532. + if (mbsinit (&state))
  22533. + return 1;
  22534. + }
  22535. + return 0;
  22536. +}
  22537. +_ACEOF
  22538. +if ac_fn_c_try_run "$LINENO"; then :
  22539. + gl_cv_func_mbrtowc_incomplete_state=yes
  22540. +else
  22541. + gl_cv_func_mbrtowc_incomplete_state=no
  22542. +fi
  22543. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  22544. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  22545. +fi
  22546. +
  22547. + fi
  22548. +
  22549. +fi
  22550. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
  22551. +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
  22552. +
  22553. +
  22554. +
  22555. +
  22556. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
  22557. +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
  22558. +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
  22559. + $as_echo_n "(cached) " >&6
  22560. +else
  22561. +
  22562. + case "$host_os" in
  22563. + # Guess no on Solaris 8.
  22564. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
  22565. + # Guess yes otherwise.
  22566. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
  22567. + esac
  22568. + if test $LOCALE_ZH_CN != none; then
  22569. + if test "$cross_compiling" = yes; then :
  22570. + :
  22571. +else
  22572. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22573. +/* end confdefs.h. */
  22574. +
  22575. +#include <locale.h>
  22576. +#include <stdlib.h>
  22577. +#include <string.h>
  22578. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  22579. + <wchar.h>.
  22580. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  22581. + included before <wchar.h>. */
  22582. +#include <stddef.h>
  22583. +#include <stdio.h>
  22584. +#include <time.h>
  22585. +#include <wchar.h>
  22586. +int main ()
  22587. +{
  22588. + /* This fails on Solaris 8:
  22589. + mbrtowc returns 2, and sets wc to 0x00F0.
  22590. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */
  22591. + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
  22592. + {
  22593. + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
  22594. + mbstate_t state;
  22595. + wchar_t wc;
  22596. +
  22597. + memset (&state, '\0', sizeof (mbstate_t));
  22598. + if (mbrtowc (&wc, input + 3, 6, &state) != 4
  22599. + && mbtowc (&wc, input + 3, 6) == 4)
  22600. + return 1;
  22601. + }
  22602. + return 0;
  22603. +}
  22604. +_ACEOF
  22605. +if ac_fn_c_try_run "$LINENO"; then :
  22606. + gl_cv_func_mbrtowc_sanitycheck=yes
  22607. +else
  22608. + gl_cv_func_mbrtowc_sanitycheck=no
  22609. +fi
  22610. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  22611. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  22612. +fi
  22613. +
  22614. + fi
  22615. +
  22616. +fi
  22617. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
  22618. +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
  22619. +
  22620. + REPLACE_MBSTATE_T=0
  22621. + case "$gl_cv_func_mbrtowc_incomplete_state" in
  22622. + *yes) ;;
  22623. + *) REPLACE_MBSTATE_T=1 ;;
  22624. + esac
  22625. + case "$gl_cv_func_mbrtowc_sanitycheck" in
  22626. + *yes) ;;
  22627. + *) REPLACE_MBSTATE_T=1 ;;
  22628. + esac
  22629. + else
  22630. + REPLACE_MBSTATE_T=1
  22631. + fi
  22632. + if test $REPLACE_MBSTATE_T = 1; then
  22633. +
  22634. + :
  22635. +
  22636. + fi
  22637. +
  22638. +
  22639. +
  22640. + if test $ac_cv_func_mbrtowc = no; then
  22641. + HAVE_MBRTOWC=0
  22642. + else
  22643. + if test $REPLACE_MBSTATE_T = 1; then
  22644. + REPLACE_MBRTOWC=1
  22645. + else
  22646. +
  22647. +
  22648. +
  22649. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5
  22650. +$as_echo_n "checking whether mbrtowc handles a NULL pwc argument... " >&6; }
  22651. +if ${gl_cv_func_mbrtowc_null_arg1+:} false; then :
  22652. + $as_echo_n "(cached) " >&6
  22653. +else
  22654. +
  22655. + case "$host_os" in
  22656. + # Guess no on Solaris.
  22657. + solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;;
  22658. + # Guess yes otherwise.
  22659. + *) gl_cv_func_mbrtowc_null_arg1="guessing yes" ;;
  22660. + esac
  22661. + if test $LOCALE_FR_UTF8 != none; then
  22662. + if test "$cross_compiling" = yes; then :
  22663. + :
  22664. +else
  22665. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22666. +/* end confdefs.h. */
  22667. +
  22668. +#include <locale.h>
  22669. +#include <stdlib.h>
  22670. +#include <string.h>
  22671. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  22672. + <wchar.h>.
  22673. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  22674. + included before <wchar.h>. */
  22675. +#include <stddef.h>
  22676. +#include <stdio.h>
  22677. +#include <time.h>
  22678. +#include <wchar.h>
  22679. +int main ()
  22680. +{
  22681. + int result = 0;
  22682. +
  22683. + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
  22684. + {
  22685. + char input[] = "\303\237er";
  22686. + mbstate_t state;
  22687. + wchar_t wc;
  22688. + size_t ret;
  22689. +
  22690. + memset (&state, '\0', sizeof (mbstate_t));
  22691. + wc = (wchar_t) 0xBADFACE;
  22692. + ret = mbrtowc (&wc, input, 5, &state);
  22693. + if (ret != 2)
  22694. + result |= 1;
  22695. + if (!mbsinit (&state))
  22696. + result |= 2;
  22697. +
  22698. + memset (&state, '\0', sizeof (mbstate_t));
  22699. + ret = mbrtowc (NULL, input, 5, &state);
  22700. + if (ret != 2) /* Solaris 7 fails here: ret is -1. */
  22701. + result |= 4;
  22702. + if (!mbsinit (&state))
  22703. + result |= 8;
  22704. + }
  22705. + return result;
  22706. +}
  22707. +_ACEOF
  22708. +if ac_fn_c_try_run "$LINENO"; then :
  22709. + gl_cv_func_mbrtowc_null_arg1=yes
  22710. +else
  22711. + gl_cv_func_mbrtowc_null_arg1=no
  22712. +fi
  22713. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  22714. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  22715. +fi
  22716. +
  22717. + fi
  22718. +
  22719. +fi
  22720. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg1" >&5
  22721. +$as_echo "$gl_cv_func_mbrtowc_null_arg1" >&6; }
  22722. +
  22723. +
  22724. +
  22725. +
  22726. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5
  22727. +$as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; }
  22728. +if ${gl_cv_func_mbrtowc_null_arg2+:} false; then :
  22729. + $as_echo_n "(cached) " >&6
  22730. +else
  22731. +
  22732. + case "$host_os" in
  22733. + # Guess no on OSF/1.
  22734. + osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;;
  22735. + # Guess yes otherwise.
  22736. + *) gl_cv_func_mbrtowc_null_arg2="guessing yes" ;;
  22737. + esac
  22738. + if test $LOCALE_FR_UTF8 != none; then
  22739. + if test "$cross_compiling" = yes; then :
  22740. + :
  22741. +else
  22742. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22743. +/* end confdefs.h. */
  22744. +
  22745. +#include <locale.h>
  22746. +#include <string.h>
  22747. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  22748. + <wchar.h>.
  22749. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  22750. + included before <wchar.h>. */
  22751. +#include <stddef.h>
  22752. +#include <stdio.h>
  22753. +#include <time.h>
  22754. +#include <wchar.h>
  22755. +int main ()
  22756. +{
  22757. + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
  22758. + {
  22759. + mbstate_t state;
  22760. + wchar_t wc;
  22761. + int ret;
  22762. +
  22763. + memset (&state, '\0', sizeof (mbstate_t));
  22764. + wc = (wchar_t) 0xBADFACE;
  22765. + mbrtowc (&wc, NULL, 5, &state);
  22766. + /* Check that wc was not modified. */
  22767. + if (wc != (wchar_t) 0xBADFACE)
  22768. + return 1;
  22769. + }
  22770. + return 0;
  22771. +}
  22772. +_ACEOF
  22773. +if ac_fn_c_try_run "$LINENO"; then :
  22774. + gl_cv_func_mbrtowc_null_arg2=yes
  22775. +else
  22776. + gl_cv_func_mbrtowc_null_arg2=no
  22777. +fi
  22778. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  22779. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  22780. +fi
  22781. +
  22782. + fi
  22783. +
  22784. +fi
  22785. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg2" >&5
  22786. +$as_echo "$gl_cv_func_mbrtowc_null_arg2" >&6; }
  22787. +
  22788. +
  22789. +
  22790. +
  22791. +
  22792. +
  22793. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5
  22794. +$as_echo_n "checking whether mbrtowc has a correct return value... " >&6; }
  22795. +if ${gl_cv_func_mbrtowc_retval+:} false; then :
  22796. + $as_echo_n "(cached) " >&6
  22797. +else
  22798. +
  22799. + case "$host_os" in
  22800. + # Guess no on HP-UX, Solaris, native Windows.
  22801. + hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;;
  22802. + # Guess yes otherwise.
  22803. + *) gl_cv_func_mbrtowc_retval="guessing yes" ;;
  22804. + esac
  22805. + if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \
  22806. + || { case "$host_os" in mingw*) true;; *) false;; esac; }; then
  22807. + if test "$cross_compiling" = yes; then :
  22808. + :
  22809. +else
  22810. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22811. +/* end confdefs.h. */
  22812. +
  22813. +#include <locale.h>
  22814. +#include <string.h>
  22815. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  22816. + <wchar.h>.
  22817. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  22818. + included before <wchar.h>. */
  22819. +#include <stddef.h>
  22820. +#include <stdio.h>
  22821. +#include <time.h>
  22822. +#include <wchar.h>
  22823. +int main ()
  22824. +{
  22825. + int result = 0;
  22826. + int found_some_locale = 0;
  22827. + /* This fails on Solaris. */
  22828. + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
  22829. + {
  22830. + char input[] = "B\303\274\303\237er"; /* "Büßer" */
  22831. + mbstate_t state;
  22832. + wchar_t wc;
  22833. +
  22834. + memset (&state, '\0', sizeof (mbstate_t));
  22835. + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
  22836. + {
  22837. + input[1] = '\0';
  22838. + if (mbrtowc (&wc, input + 2, 5, &state) != 1)
  22839. + result |= 1;
  22840. + }
  22841. + found_some_locale = 1;
  22842. + }
  22843. + /* This fails on HP-UX 11.11. */
  22844. + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
  22845. + {
  22846. + char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
  22847. + mbstate_t state;
  22848. + wchar_t wc;
  22849. +
  22850. + memset (&state, '\0', sizeof (mbstate_t));
  22851. + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
  22852. + {
  22853. + input[1] = '\0';
  22854. + if (mbrtowc (&wc, input + 2, 5, &state) != 2)
  22855. + result |= 2;
  22856. + }
  22857. + found_some_locale = 1;
  22858. + }
  22859. + /* This fails on native Windows. */
  22860. + if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL)
  22861. + {
  22862. + char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */
  22863. + mbstate_t state;
  22864. + wchar_t wc;
  22865. +
  22866. + memset (&state, '\0', sizeof (mbstate_t));
  22867. + if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
  22868. + {
  22869. + input[3] = '\0';
  22870. + if (mbrtowc (&wc, input + 4, 4, &state) != 1)
  22871. + result |= 4;
  22872. + }
  22873. + found_some_locale = 1;
  22874. + }
  22875. + if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL)
  22876. + {
  22877. + char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */
  22878. + mbstate_t state;
  22879. + wchar_t wc;
  22880. +
  22881. + memset (&state, '\0', sizeof (mbstate_t));
  22882. + if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
  22883. + {
  22884. + input[3] = '\0';
  22885. + if (mbrtowc (&wc, input + 4, 4, &state) != 1)
  22886. + result |= 8;
  22887. + }
  22888. + found_some_locale = 1;
  22889. + }
  22890. + if (setlocale (LC_ALL, "Chinese_China.936") != NULL)
  22891. + {
  22892. + char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */
  22893. + mbstate_t state;
  22894. + wchar_t wc;
  22895. +
  22896. + memset (&state, '\0', sizeof (mbstate_t));
  22897. + if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
  22898. + {
  22899. + input[3] = '\0';
  22900. + if (mbrtowc (&wc, input + 4, 4, &state) != 1)
  22901. + result |= 16;
  22902. + }
  22903. + found_some_locale = 1;
  22904. + }
  22905. + return (found_some_locale ? result : 77);
  22906. +}
  22907. +_ACEOF
  22908. +if ac_fn_c_try_run "$LINENO"; then :
  22909. + gl_cv_func_mbrtowc_retval=yes
  22910. +else
  22911. + if test $? != 77; then
  22912. + gl_cv_func_mbrtowc_retval=no
  22913. + fi
  22914. +
  22915. +fi
  22916. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  22917. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  22918. +fi
  22919. +
  22920. + fi
  22921. +
  22922. +fi
  22923. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5
  22924. +$as_echo "$gl_cv_func_mbrtowc_retval" >&6; }
  22925. +
  22926. +
  22927. +
  22928. +
  22929. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5
  22930. +$as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; }
  22931. +if ${gl_cv_func_mbrtowc_nul_retval+:} false; then :
  22932. + $as_echo_n "(cached) " >&6
  22933. +else
  22934. +
  22935. + case "$host_os" in
  22936. + # Guess no on Solaris 8 and 9.
  22937. + solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;;
  22938. + # Guess yes otherwise.
  22939. + *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;;
  22940. + esac
  22941. + if test $LOCALE_ZH_CN != none; then
  22942. + if test "$cross_compiling" = yes; then :
  22943. + :
  22944. +else
  22945. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22946. +/* end confdefs.h. */
  22947. +
  22948. +#include <locale.h>
  22949. +#include <string.h>
  22950. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  22951. + <wchar.h>.
  22952. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  22953. + included before <wchar.h>. */
  22954. +#include <stddef.h>
  22955. +#include <stdio.h>
  22956. +#include <time.h>
  22957. +#include <wchar.h>
  22958. +int main ()
  22959. +{
  22960. + /* This fails on Solaris 8 and 9. */
  22961. + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
  22962. + {
  22963. + mbstate_t state;
  22964. + wchar_t wc;
  22965. +
  22966. + memset (&state, '\0', sizeof (mbstate_t));
  22967. + if (mbrtowc (&wc, "", 1, &state) != 0)
  22968. + return 1;
  22969. + }
  22970. + return 0;
  22971. +}
  22972. +_ACEOF
  22973. +if ac_fn_c_try_run "$LINENO"; then :
  22974. + gl_cv_func_mbrtowc_nul_retval=yes
  22975. +else
  22976. + gl_cv_func_mbrtowc_nul_retval=no
  22977. +fi
  22978. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  22979. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  22980. +fi
  22981. +
  22982. + fi
  22983. +
  22984. +fi
  22985. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5
  22986. +$as_echo "$gl_cv_func_mbrtowc_nul_retval" >&6; }
  22987. +
  22988. + case "$gl_cv_func_mbrtowc_null_arg1" in
  22989. + *yes) ;;
  22990. + *)
  22991. +$as_echo "@%:@define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h
  22992. +
  22993. + REPLACE_MBRTOWC=1
  22994. + ;;
  22995. + esac
  22996. + case "$gl_cv_func_mbrtowc_null_arg2" in
  22997. + *yes) ;;
  22998. + *)
  22999. +$as_echo "@%:@define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h
  23000. +
  23001. + REPLACE_MBRTOWC=1
  23002. + ;;
  23003. + esac
  23004. + case "$gl_cv_func_mbrtowc_retval" in
  23005. + *yes) ;;
  23006. + *)
  23007. +$as_echo "@%:@define MBRTOWC_RETVAL_BUG 1" >>confdefs.h
  23008. +
  23009. + REPLACE_MBRTOWC=1
  23010. + ;;
  23011. + esac
  23012. + case "$gl_cv_func_mbrtowc_nul_retval" in
  23013. + *yes) ;;
  23014. + *)
  23015. +$as_echo "@%:@define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h
  23016. +
  23017. + REPLACE_MBRTOWC=1
  23018. + ;;
  23019. + esac
  23020. + fi
  23021. + fi
  23022. + if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
  23023. +
  23024. + :
  23025. +
  23026. +
  23027. +
  23028. +
  23029. +
  23030. +
  23031. +
  23032. +
  23033. +
  23034. + M4_LIBOBJS="$M4_LIBOBJS mbrtowc.$ac_objext"
  23035. +
  23036. +
  23037. + :
  23038. +
  23039. + fi
  23040. +
  23041. +
  23042. +
  23043. +
  23044. + GNULIB_MBRTOWC=1
  23045. +
  23046. +
  23047. +
  23048. +$as_echo "@%:@define GNULIB_TEST_MBRTOWC 1" >>confdefs.h
  23049. +
  23050. +
  23051. +
  23052. + # Code from module mbsinit:
  23053. +
  23054. +
  23055. +
  23056. +
  23057. +
  23058. +
  23059. +
  23060. +
  23061. +
  23062. +
  23063. +
  23064. + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
  23065. +
  23066. +
  23067. +
  23068. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
  23069. +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
  23070. +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
  23071. + $as_echo_n "(cached) " >&6
  23072. +else
  23073. +
  23074. + case "$host_os" in
  23075. + # Guess no on AIX and OSF/1.
  23076. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
  23077. + # Guess yes otherwise.
  23078. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
  23079. + esac
  23080. + if test $LOCALE_JA != none; then
  23081. + if test "$cross_compiling" = yes; then :
  23082. + :
  23083. +else
  23084. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23085. +/* end confdefs.h. */
  23086. +
  23087. +#include <locale.h>
  23088. +#include <string.h>
  23089. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  23090. + <wchar.h>.
  23091. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  23092. + included before <wchar.h>. */
  23093. +#include <stddef.h>
  23094. +#include <stdio.h>
  23095. +#include <time.h>
  23096. +#include <wchar.h>
  23097. +int main ()
  23098. +{
  23099. + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
  23100. + {
  23101. + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
  23102. + mbstate_t state;
  23103. + wchar_t wc;
  23104. +
  23105. + memset (&state, '\0', sizeof (mbstate_t));
  23106. + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
  23107. + if (mbsinit (&state))
  23108. + return 1;
  23109. + }
  23110. + return 0;
  23111. +}
  23112. +_ACEOF
  23113. +if ac_fn_c_try_run "$LINENO"; then :
  23114. + gl_cv_func_mbrtowc_incomplete_state=yes
  23115. +else
  23116. + gl_cv_func_mbrtowc_incomplete_state=no
  23117. +fi
  23118. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  23119. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  23120. +fi
  23121. +
  23122. + fi
  23123. +
  23124. +fi
  23125. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
  23126. +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
  23127. +
  23128. +
  23129. +
  23130. +
  23131. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
  23132. +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
  23133. +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
  23134. + $as_echo_n "(cached) " >&6
  23135. +else
  23136. +
  23137. + case "$host_os" in
  23138. + # Guess no on Solaris 8.
  23139. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
  23140. + # Guess yes otherwise.
  23141. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
  23142. + esac
  23143. + if test $LOCALE_ZH_CN != none; then
  23144. + if test "$cross_compiling" = yes; then :
  23145. + :
  23146. +else
  23147. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23148. +/* end confdefs.h. */
  23149. +
  23150. +#include <locale.h>
  23151. +#include <stdlib.h>
  23152. +#include <string.h>
  23153. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  23154. + <wchar.h>.
  23155. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  23156. + included before <wchar.h>. */
  23157. +#include <stddef.h>
  23158. +#include <stdio.h>
  23159. +#include <time.h>
  23160. +#include <wchar.h>
  23161. +int main ()
  23162. +{
  23163. + /* This fails on Solaris 8:
  23164. + mbrtowc returns 2, and sets wc to 0x00F0.
  23165. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */
  23166. + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
  23167. + {
  23168. + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
  23169. + mbstate_t state;
  23170. + wchar_t wc;
  23171. +
  23172. + memset (&state, '\0', sizeof (mbstate_t));
  23173. + if (mbrtowc (&wc, input + 3, 6, &state) != 4
  23174. + && mbtowc (&wc, input + 3, 6) == 4)
  23175. + return 1;
  23176. + }
  23177. + return 0;
  23178. +}
  23179. +_ACEOF
  23180. +if ac_fn_c_try_run "$LINENO"; then :
  23181. + gl_cv_func_mbrtowc_sanitycheck=yes
  23182. +else
  23183. + gl_cv_func_mbrtowc_sanitycheck=no
  23184. +fi
  23185. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  23186. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  23187. +fi
  23188. +
  23189. + fi
  23190. +
  23191. +fi
  23192. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
  23193. +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
  23194. +
  23195. + REPLACE_MBSTATE_T=0
  23196. + case "$gl_cv_func_mbrtowc_incomplete_state" in
  23197. + *yes) ;;
  23198. + *) REPLACE_MBSTATE_T=1 ;;
  23199. + esac
  23200. + case "$gl_cv_func_mbrtowc_sanitycheck" in
  23201. + *yes) ;;
  23202. + *) REPLACE_MBSTATE_T=1 ;;
  23203. + esac
  23204. + else
  23205. + REPLACE_MBSTATE_T=1
  23206. + fi
  23207. + if test $REPLACE_MBSTATE_T = 1; then
  23208. +
  23209. + :
  23210. +
  23211. + fi
  23212. +
  23213. +
  23214. +
  23215. + if test $ac_cv_func_mbsinit = no; then
  23216. + HAVE_MBSINIT=0
  23217. + else
  23218. + if test $REPLACE_MBSTATE_T = 1; then
  23219. + REPLACE_MBSINIT=1
  23220. + else
  23221. + case "$host_os" in
  23222. + mingw*) REPLACE_MBSINIT=1 ;;
  23223. + esac
  23224. + fi
  23225. + fi
  23226. + if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
  23227. +
  23228. + :
  23229. +
  23230. +
  23231. +
  23232. +
  23233. +
  23234. +
  23235. +
  23236. +
  23237. +
  23238. + M4_LIBOBJS="$M4_LIBOBJS mbsinit.$ac_objext"
  23239. +
  23240. +
  23241. + :
  23242. +
  23243. + fi
  23244. +
  23245. +
  23246. +
  23247. +
  23248. + GNULIB_MBSINIT=1
  23249. +
  23250. +
  23251. +
  23252. +$as_echo "@%:@define GNULIB_TEST_MBSINIT 1" >>confdefs.h
  23253. +
  23254. +
  23255. +
  23256. + # Code from module mbtowc:
  23257. +
  23258. +
  23259. +
  23260. + if false; then
  23261. + REPLACE_MBTOWC=1
  23262. + fi
  23263. + if test $REPLACE_MBTOWC = 1; then
  23264. +
  23265. +
  23266. +
  23267. +
  23268. +
  23269. +
  23270. +
  23271. +
  23272. + M4_LIBOBJS="$M4_LIBOBJS mbtowc.$ac_objext"
  23273. +
  23274. +
  23275. + :
  23276. +
  23277. + fi
  23278. +
  23279. +
  23280. +
  23281. +
  23282. + GNULIB_MBTOWC=1
  23283. +
  23284. +
  23285. +
  23286. +$as_echo "@%:@define GNULIB_TEST_MBTOWC 1" >>confdefs.h
  23287. +
  23288. +
  23289. +
  23290. + # Code from module memchr:
  23291. +
  23292. +
  23293. +
  23294. +
  23295. + GNULIB_MEMCHR=1
  23296. +
  23297. +
  23298. +
  23299. +$as_echo "@%:@define GNULIB_TEST_MEMCHR 1" >>confdefs.h
  23300. +
  23301. +
  23302. +
  23303. + # Code from module memchr2:
  23304. + # Code from module mkdtemp:
  23305. +
  23306. +
  23307. +
  23308. +
  23309. +
  23310. +
  23311. +
  23312. +
  23313. +
  23314. +
  23315. + for ac_func in mkdtemp
  23316. +do :
  23317. + ac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp"
  23318. +if test "x$ac_cv_func_mkdtemp" = xyes; then :
  23319. + cat >>confdefs.h <<_ACEOF
  23320. +@%:@define HAVE_MKDTEMP 1
  23321. +_ACEOF
  23322. +
  23323. +else
  23324. +
  23325. + M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext"
  23326. +
  23327. +fi
  23328. +done
  23329. +
  23330. +
  23331. + if test $ac_cv_func_mkdtemp = no; then
  23332. + HAVE_MKDTEMP=0
  23333. + :
  23334. +
  23335. + fi
  23336. +
  23337. +
  23338. +
  23339. +
  23340. + GNULIB_MKDTEMP=1
  23341. +
  23342. +
  23343. +
  23344. +$as_echo "@%:@define GNULIB_TEST_MKDTEMP 1" >>confdefs.h
  23345. +
  23346. +
  23347. +
  23348. + # Code from module mkstemp:
  23349. +
  23350. +
  23351. +
  23352. +
  23353. +
  23354. + if test $ac_cv_func_mkstemp = yes; then
  23355. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mkstemp" >&5
  23356. +$as_echo_n "checking for working mkstemp... " >&6; }
  23357. +if ${gl_cv_func_working_mkstemp+:} false; then :
  23358. + $as_echo_n "(cached) " >&6
  23359. +else
  23360. +
  23361. + mkdir conftest.mkstemp
  23362. + if test "$cross_compiling" = yes; then :
  23363. + gl_cv_func_working_mkstemp=no
  23364. +else
  23365. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23366. +/* end confdefs.h. */
  23367. +$ac_includes_default
  23368. +int
  23369. +main ()
  23370. +{
  23371. +int result = 0;
  23372. + int i;
  23373. + off_t large = (off_t) 4294967295u;
  23374. + if (large < 0)
  23375. + large = 2147483647;
  23376. + for (i = 0; i < 70; i++)
  23377. + {
  23378. + char templ[] = "conftest.mkstemp/coXXXXXX";
  23379. + int (*mkstemp_function) (char *) = mkstemp;
  23380. + int fd = mkstemp_function (templ);
  23381. + if (fd < 0)
  23382. + result |= 1;
  23383. + else
  23384. + {
  23385. + if (lseek (fd, large, SEEK_SET) != large)
  23386. + result |= 2;
  23387. + close (fd);
  23388. + }
  23389. + }
  23390. + return result;
  23391. + ;
  23392. + return 0;
  23393. +}
  23394. +_ACEOF
  23395. +if ac_fn_c_try_run "$LINENO"; then :
  23396. + gl_cv_func_working_mkstemp=yes
  23397. +else
  23398. + gl_cv_func_working_mkstemp=no
  23399. +fi
  23400. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  23401. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  23402. +fi
  23403. +
  23404. + rm -rf conftest.mkstemp
  23405. +
  23406. +fi
  23407. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_mkstemp" >&5
  23408. +$as_echo "$gl_cv_func_working_mkstemp" >&6; }
  23409. + if test $gl_cv_func_working_mkstemp != yes; then
  23410. + REPLACE_MKSTEMP=1
  23411. +
  23412. +
  23413. +
  23414. +
  23415. +
  23416. +
  23417. +
  23418. +
  23419. + M4_LIBOBJS="$M4_LIBOBJS mkstemp.$ac_objext"
  23420. +
  23421. +
  23422. +
  23423. + fi
  23424. + else
  23425. + HAVE_MKSTEMP=0
  23426. +
  23427. +
  23428. +
  23429. +
  23430. +
  23431. +
  23432. +
  23433. +
  23434. + M4_LIBOBJS="$M4_LIBOBJS mkstemp.$ac_objext"
  23435. +
  23436. +
  23437. +
  23438. + fi
  23439. +
  23440. +
  23441. +
  23442. +
  23443. + GNULIB_MKSTEMP=1
  23444. +
  23445. +
  23446. +
  23447. +$as_echo "@%:@define GNULIB_TEST_MKSTEMP 1" >>confdefs.h
  23448. +
  23449. +
  23450. +
  23451. + # Code from module multiarch:
  23452. +
  23453. + # Code from module nl_langinfo:
  23454. +
  23455. +
  23456. +
  23457. +
  23458. + if test $ac_cv_func_nl_langinfo = yes; then
  23459. + # On Irix 6.5, YESEXPR is defined, but nl_langinfo(YESEXPR) is broken.
  23460. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether YESEXPR works" >&5
  23461. +$as_echo_n "checking whether YESEXPR works... " >&6; }
  23462. +if ${gl_cv_func_nl_langinfo_yesexpr_works+:} false; then :
  23463. + $as_echo_n "(cached) " >&6
  23464. +else
  23465. + if test "$cross_compiling" = yes; then :
  23466. +
  23467. + case "$host_os" in
  23468. + # Guess no on irix systems.
  23469. + irix*) gl_cv_func_nl_langinfo_yesexpr_works="guessing no";;
  23470. + # Guess yes elsewhere.
  23471. + *) gl_cv_func_nl_langinfo_yesexpr_works="guessing yes";;
  23472. + esac
  23473. +
  23474. +else
  23475. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23476. +/* end confdefs.h. */
  23477. +#include <langinfo.h>
  23478. +
  23479. +int
  23480. +main ()
  23481. +{
  23482. +return !*nl_langinfo(YESEXPR);
  23483. +
  23484. + ;
  23485. + return 0;
  23486. +}
  23487. +_ACEOF
  23488. +if ac_fn_c_try_run "$LINENO"; then :
  23489. + gl_cv_func_nl_langinfo_yesexpr_works=yes
  23490. +else
  23491. + gl_cv_func_nl_langinfo_yesexpr_works=no
  23492. +fi
  23493. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  23494. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  23495. +fi
  23496. +
  23497. +
  23498. +fi
  23499. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_nl_langinfo_yesexpr_works" >&5
  23500. +$as_echo "$gl_cv_func_nl_langinfo_yesexpr_works" >&6; }
  23501. + case $gl_cv_func_nl_langinfo_yesexpr_works in
  23502. + *yes) FUNC_NL_LANGINFO_YESEXPR_WORKS=1 ;;
  23503. + *) FUNC_NL_LANGINFO_YESEXPR_WORKS=0 ;;
  23504. + esac
  23505. +
  23506. +cat >>confdefs.h <<_ACEOF
  23507. +@%:@define FUNC_NL_LANGINFO_YESEXPR_WORKS $FUNC_NL_LANGINFO_YESEXPR_WORKS
  23508. +_ACEOF
  23509. +
  23510. + if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1 \
  23511. + && test $FUNC_NL_LANGINFO_YESEXPR_WORKS = 1; then
  23512. + :
  23513. + else
  23514. + REPLACE_NL_LANGINFO=1
  23515. +
  23516. +$as_echo "@%:@define REPLACE_NL_LANGINFO 1" >>confdefs.h
  23517. +
  23518. +
  23519. +
  23520. +
  23521. +
  23522. +
  23523. +
  23524. +
  23525. +
  23526. + M4_LIBOBJS="$M4_LIBOBJS nl_langinfo.$ac_objext"
  23527. +
  23528. + fi
  23529. + else
  23530. + HAVE_NL_LANGINFO=0
  23531. +
  23532. +
  23533. +
  23534. +
  23535. +
  23536. +
  23537. +
  23538. +
  23539. + M4_LIBOBJS="$M4_LIBOBJS nl_langinfo.$ac_objext"
  23540. +
  23541. + fi
  23542. +
  23543. +
  23544. +
  23545. +
  23546. + GNULIB_NL_LANGINFO=1
  23547. +
  23548. +
  23549. +
  23550. +$as_echo "@%:@define GNULIB_TEST_NL_LANGINFO 1" >>confdefs.h
  23551. +
  23552. +
  23553. +
  23554. + # Code from module nocrash:
  23555. + # Code from module obstack:
  23556. +
  23557. +
  23558. +
  23559. +
  23560. +
  23561. +
  23562. +
  23563. +
  23564. +
  23565. +
  23566. +
  23567. +
  23568. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5
  23569. +$as_echo_n "checking for obstacks... " >&6; }
  23570. +if ${ac_cv_func_obstack+:} false; then :
  23571. + $as_echo_n "(cached) " >&6
  23572. +else
  23573. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23574. +/* end confdefs.h. */
  23575. +$ac_includes_default
  23576. + @%:@include "obstack.h"
  23577. +int
  23578. +main ()
  23579. +{
  23580. +struct obstack mem;
  23581. + @%:@define obstack_chunk_alloc malloc
  23582. + @%:@define obstack_chunk_free free
  23583. + obstack_init (&mem);
  23584. + obstack_free (&mem, 0);
  23585. + ;
  23586. + return 0;
  23587. +}
  23588. +_ACEOF
  23589. +if ac_fn_c_try_link "$LINENO"; then :
  23590. + ac_cv_func_obstack=yes
  23591. +else
  23592. + ac_cv_func_obstack=no
  23593. +fi
  23594. +rm -f core conftest.err conftest.$ac_objext \
  23595. + conftest$ac_exeext conftest.$ac_ext
  23596. +fi
  23597. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_obstack" >&5
  23598. +$as_echo "$ac_cv_func_obstack" >&6; }
  23599. +if test $ac_cv_func_obstack = yes; then
  23600. +
  23601. +$as_echo "@%:@define HAVE_OBSTACK 1" >>confdefs.h
  23602. +
  23603. +else
  23604. +
  23605. +
  23606. +
  23607. +
  23608. +
  23609. +
  23610. +
  23611. +
  23612. + M4_LIBOBJS="$M4_LIBOBJS obstack.$ac_objext"
  23613. +
  23614. +fi
  23615. +
  23616. + # Code from module open:
  23617. +
  23618. +
  23619. + case "$host_os" in
  23620. + mingw* | pw*)
  23621. +
  23622. +
  23623. + REPLACE_OPEN=1
  23624. +
  23625. +
  23626. +
  23627. +
  23628. +
  23629. +
  23630. +
  23631. +
  23632. + M4_LIBOBJS="$M4_LIBOBJS open.$ac_objext"
  23633. +
  23634. +
  23635. +
  23636. +
  23637. + :
  23638. +
  23639. +
  23640. + ;;
  23641. + *)
  23642. +
  23643. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether open recognizes a trailing slash" >&5
  23644. +$as_echo_n "checking whether open recognizes a trailing slash... " >&6; }
  23645. +if ${gl_cv_func_open_slash+:} false; then :
  23646. + $as_echo_n "(cached) " >&6
  23647. +else
  23648. + # Assume that if we have lstat, we can also check symlinks.
  23649. + if test $ac_cv_func_lstat = yes; then
  23650. + touch conftest.tmp
  23651. + ln -s conftest.tmp conftest.lnk
  23652. + fi
  23653. + if test "$cross_compiling" = yes; then :
  23654. +
  23655. + case "$host_os" in
  23656. + freebsd* | aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*)
  23657. + gl_cv_func_open_slash="guessing no" ;;
  23658. + *)
  23659. + gl_cv_func_open_slash="guessing yes" ;;
  23660. + esac
  23661. +
  23662. +else
  23663. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23664. +/* end confdefs.h. */
  23665. +
  23666. +#include <fcntl.h>
  23667. +#if HAVE_UNISTD_H
  23668. +# include <unistd.h>
  23669. +#endif
  23670. +int main ()
  23671. +{
  23672. + int result = 0;
  23673. +#if HAVE_LSTAT
  23674. + if (open ("conftest.lnk/", O_RDONLY) != -1)
  23675. + result |= 1;
  23676. +#endif
  23677. + if (open ("conftest.sl/", O_CREAT, 0600) >= 0)
  23678. + result |= 2;
  23679. + return result;
  23680. +}
  23681. +_ACEOF
  23682. +if ac_fn_c_try_run "$LINENO"; then :
  23683. + gl_cv_func_open_slash=yes
  23684. +else
  23685. + gl_cv_func_open_slash=no
  23686. +fi
  23687. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  23688. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  23689. +fi
  23690. +
  23691. + rm -f conftest.sl conftest.tmp conftest.lnk
  23692. +
  23693. +fi
  23694. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_open_slash" >&5
  23695. +$as_echo "$gl_cv_func_open_slash" >&6; }
  23696. + case "$gl_cv_func_open_slash" in
  23697. + *no)
  23698. +
  23699. +$as_echo "@%:@define OPEN_TRAILING_SLASH_BUG 1" >>confdefs.h
  23700. +
  23701. +
  23702. +
  23703. + REPLACE_OPEN=1
  23704. +
  23705. +
  23706. +
  23707. +
  23708. +
  23709. +
  23710. +
  23711. +
  23712. + M4_LIBOBJS="$M4_LIBOBJS open.$ac_objext"
  23713. +
  23714. +
  23715. +
  23716. +
  23717. + :
  23718. +
  23719. +
  23720. + ;;
  23721. + esac
  23722. + ;;
  23723. + esac
  23724. +
  23725. +
  23726. +
  23727. +
  23728. + GNULIB_OPEN=1
  23729. +
  23730. +
  23731. +
  23732. +$as_echo "@%:@define GNULIB_TEST_OPEN 1" >>confdefs.h
  23733. +
  23734. +
  23735. +
  23736. + # Code from module oset:
  23737. +
  23738. +
  23739. +
  23740. + # Code from module pathmax:
  23741. +
  23742. +
  23743. +
  23744. +
  23745. + # Code from module pipe2:
  23746. +
  23747. +
  23748. +
  23749. +
  23750. +
  23751. +
  23752. + if test $ac_cv_func_pipe2 != yes; then
  23753. + HAVE_PIPE2=0
  23754. + fi
  23755. +
  23756. +
  23757. +
  23758. +
  23759. + GNULIB_PIPE2=1
  23760. +
  23761. +
  23762. +
  23763. +$as_echo "@%:@define GNULIB_TEST_PIPE2 1" >>confdefs.h
  23764. +
  23765. +
  23766. +
  23767. + # Code from module pipe2-safer:
  23768. +
  23769. +
  23770. +cat >>confdefs.h <<_ACEOF
  23771. +@%:@define GNULIB_PIPE2_SAFER 1
  23772. +_ACEOF
  23773. +
  23774. +
  23775. + # Code from module posix_spawn-internal:
  23776. + # Code from module posix_spawn_file_actions_addclose:
  23777. +
  23778. +
  23779. +
  23780. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  23781. +
  23782. + :
  23783. +
  23784. +
  23785. +
  23786. +
  23787. +
  23788. +
  23789. +
  23790. +
  23791. +
  23792. + M4_LIBOBJS="$M4_LIBOBJS spawn_faction_addclose.$ac_objext"
  23793. +
  23794. + fi
  23795. +
  23796. +
  23797. +
  23798. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE=1
  23799. +
  23800. +
  23801. +
  23802. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE 1" >>confdefs.h
  23803. +
  23804. +
  23805. +
  23806. + # Code from module posix_spawn_file_actions_adddup2:
  23807. +
  23808. +
  23809. +
  23810. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  23811. +
  23812. + :
  23813. +
  23814. +
  23815. +
  23816. +
  23817. +
  23818. +
  23819. +
  23820. +
  23821. +
  23822. + M4_LIBOBJS="$M4_LIBOBJS spawn_faction_adddup2.$ac_objext"
  23823. +
  23824. + fi
  23825. +
  23826. +
  23827. +
  23828. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2=1
  23829. +
  23830. +
  23831. +
  23832. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1" >>confdefs.h
  23833. +
  23834. +
  23835. +
  23836. + # Code from module posix_spawn_file_actions_addopen:
  23837. +
  23838. +
  23839. +
  23840. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  23841. +
  23842. + :
  23843. +
  23844. +
  23845. +
  23846. +
  23847. +
  23848. +
  23849. +
  23850. +
  23851. +
  23852. + M4_LIBOBJS="$M4_LIBOBJS spawn_faction_addopen.$ac_objext"
  23853. +
  23854. + fi
  23855. +
  23856. +
  23857. +
  23858. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN=1
  23859. +
  23860. +
  23861. +
  23862. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN 1" >>confdefs.h
  23863. +
  23864. +
  23865. +
  23866. + # Code from module posix_spawn_file_actions_destroy:
  23867. +
  23868. +
  23869. +
  23870. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  23871. +
  23872. + :
  23873. +
  23874. +
  23875. +
  23876. +
  23877. +
  23878. +
  23879. +
  23880. +
  23881. +
  23882. + M4_LIBOBJS="$M4_LIBOBJS spawn_faction_destroy.$ac_objext"
  23883. +
  23884. + fi
  23885. +
  23886. +
  23887. +
  23888. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY=1
  23889. +
  23890. +
  23891. +
  23892. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY 1" >>confdefs.h
  23893. +
  23894. +
  23895. +
  23896. + # Code from module posix_spawn_file_actions_init:
  23897. +
  23898. +
  23899. +
  23900. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  23901. +
  23902. + :
  23903. +
  23904. +
  23905. +
  23906. +
  23907. +
  23908. +
  23909. +
  23910. +
  23911. +
  23912. + M4_LIBOBJS="$M4_LIBOBJS spawn_faction_init.$ac_objext"
  23913. +
  23914. + fi
  23915. +
  23916. +
  23917. +
  23918. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT=1
  23919. +
  23920. +
  23921. +
  23922. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT 1" >>confdefs.h
  23923. +
  23924. +
  23925. +
  23926. + # Code from module posix_spawnattr_destroy:
  23927. +
  23928. +
  23929. +
  23930. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  23931. +
  23932. + :
  23933. +
  23934. +
  23935. +
  23936. +
  23937. +
  23938. +
  23939. +
  23940. +
  23941. +
  23942. + M4_LIBOBJS="$M4_LIBOBJS spawnattr_destroy.$ac_objext"
  23943. +
  23944. + fi
  23945. +
  23946. +
  23947. +
  23948. + GNULIB_POSIX_SPAWNATTR_DESTROY=1
  23949. +
  23950. +
  23951. +
  23952. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNATTR_DESTROY 1" >>confdefs.h
  23953. +
  23954. +
  23955. +
  23956. + # Code from module posix_spawnattr_init:
  23957. +
  23958. +
  23959. +
  23960. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  23961. +
  23962. + :
  23963. +
  23964. +
  23965. +
  23966. +
  23967. +
  23968. +
  23969. +
  23970. +
  23971. +
  23972. + M4_LIBOBJS="$M4_LIBOBJS spawnattr_init.$ac_objext"
  23973. +
  23974. + fi
  23975. +
  23976. +
  23977. +
  23978. + GNULIB_POSIX_SPAWNATTR_INIT=1
  23979. +
  23980. +
  23981. +
  23982. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNATTR_INIT 1" >>confdefs.h
  23983. +
  23984. +
  23985. +
  23986. + # Code from module posix_spawnattr_setflags:
  23987. +
  23988. +
  23989. +
  23990. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  23991. +
  23992. + :
  23993. +
  23994. +
  23995. +
  23996. +
  23997. +
  23998. +
  23999. +
  24000. +
  24001. +
  24002. + M4_LIBOBJS="$M4_LIBOBJS spawnattr_setflags.$ac_objext"
  24003. +
  24004. + fi
  24005. +
  24006. +
  24007. +
  24008. + GNULIB_POSIX_SPAWNATTR_SETFLAGS=1
  24009. +
  24010. +
  24011. +
  24012. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS 1" >>confdefs.h
  24013. +
  24014. +
  24015. +
  24016. + # Code from module posix_spawnattr_setsigmask:
  24017. +
  24018. +
  24019. +
  24020. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  24021. +
  24022. + :
  24023. +
  24024. +
  24025. +
  24026. +
  24027. +
  24028. +
  24029. +
  24030. +
  24031. +
  24032. + M4_LIBOBJS="$M4_LIBOBJS spawnattr_setsigmask.$ac_objext"
  24033. +
  24034. + fi
  24035. +
  24036. +
  24037. +
  24038. + GNULIB_POSIX_SPAWNATTR_SETSIGMASK=1
  24039. +
  24040. +
  24041. +
  24042. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK 1" >>confdefs.h
  24043. +
  24044. +
  24045. +
  24046. + # Code from module posix_spawnp:
  24047. +
  24048. +
  24049. +
  24050. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  24051. +
  24052. + :
  24053. +
  24054. +
  24055. +
  24056. +
  24057. +
  24058. +
  24059. +
  24060. +
  24061. +
  24062. + M4_LIBOBJS="$M4_LIBOBJS spawnp.$ac_objext"
  24063. +
  24064. +
  24065. +
  24066. +
  24067. +
  24068. +
  24069. +
  24070. +
  24071. +
  24072. +
  24073. + M4_LIBOBJS="$M4_LIBOBJS spawni.$ac_objext"
  24074. +
  24075. + for ac_header in paths.h
  24076. +do :
  24077. + ac_fn_c_check_header_mongrel "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default"
  24078. +if test "x$ac_cv_header_paths_h" = xyes; then :
  24079. + cat >>confdefs.h <<_ACEOF
  24080. +@%:@define HAVE_PATHS_H 1
  24081. +_ACEOF
  24082. +
  24083. +fi
  24084. +
  24085. +done
  24086. +
  24087. + for ac_func in confstr sched_setparam sched_setscheduler setegid seteuid vfork
  24088. +do :
  24089. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  24090. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  24091. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  24092. + cat >>confdefs.h <<_ACEOF
  24093. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  24094. +_ACEOF
  24095. +
  24096. +fi
  24097. +done
  24098. +
  24099. +
  24100. + fi
  24101. +
  24102. +
  24103. +
  24104. + GNULIB_POSIX_SPAWNP=1
  24105. +
  24106. +
  24107. +
  24108. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNP 1" >>confdefs.h
  24109. +
  24110. +
  24111. +
  24112. + # Code from module printf-frexp:
  24113. +
  24114. +
  24115. + if test $gl_cv_func_frexp_no_libm = yes; then
  24116. +
  24117. +
  24118. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5
  24119. +$as_echo_n "checking whether frexp works... " >&6; }
  24120. +if ${gl_cv_func_frexp_works+:} false; then :
  24121. + $as_echo_n "(cached) " >&6
  24122. +else
  24123. +
  24124. + if test "$cross_compiling" = yes; then :
  24125. + case "$host_os" in
  24126. + netbsd* | irix* | mingw*) gl_cv_func_frexp_works="guessing no";;
  24127. + *) gl_cv_func_frexp_works="guessing yes";;
  24128. + esac
  24129. +
  24130. +else
  24131. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24132. +/* end confdefs.h. */
  24133. +
  24134. +#include <float.h>
  24135. +#include <math.h>
  24136. +#include <string.h>
  24137. +/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
  24138. + ICC 10.0 has a bug when optimizing the expression -zero.
  24139. + The expression -DBL_MIN * DBL_MIN does not work when cross-compiling
  24140. + to PowerPC on MacOS X 10.5. */
  24141. +#if defined __hpux || defined __sgi || defined __ICC
  24142. +static double
  24143. +compute_minus_zero (void)
  24144. +{
  24145. + return -DBL_MIN * DBL_MIN;
  24146. +}
  24147. +# define minus_zero compute_minus_zero ()
  24148. +#else
  24149. +double minus_zero = -0.0;
  24150. +#endif
  24151. +int main()
  24152. +{
  24153. + int result = 0;
  24154. + int i;
  24155. + volatile double x;
  24156. + double zero = 0.0;
  24157. + /* Test on denormalized numbers. */
  24158. + for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5)
  24159. + ;
  24160. + if (x > 0.0)
  24161. + {
  24162. + int exp;
  24163. + double y = frexp (x, &exp);
  24164. + /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022.
  24165. + On NetBSD: y = 0.75. Correct: y = 0.5. */
  24166. + if (y != 0.5)
  24167. + result |= 1;
  24168. + }
  24169. + /* Test on infinite numbers. */
  24170. + x = 1.0 / 0.0;
  24171. + {
  24172. + int exp;
  24173. + double y = frexp (x, &exp);
  24174. + if (y != x)
  24175. + result |= 2;
  24176. + }
  24177. + /* Test on negative zero. */
  24178. + x = minus_zero;
  24179. + {
  24180. + int exp;
  24181. + double y = frexp (x, &exp);
  24182. + if (memcmp (&y, &x, sizeof x))
  24183. + result |= 4;
  24184. + }
  24185. + return result;
  24186. +}
  24187. +_ACEOF
  24188. +if ac_fn_c_try_run "$LINENO"; then :
  24189. + gl_cv_func_frexp_works=yes
  24190. +else
  24191. + gl_cv_func_frexp_works=no
  24192. +fi
  24193. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  24194. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  24195. +fi
  24196. +
  24197. +
  24198. +fi
  24199. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_works" >&5
  24200. +$as_echo "$gl_cv_func_frexp_works" >&6; }
  24201. +
  24202. + case "$gl_cv_func_frexp_works" in
  24203. + *yes)
  24204. +
  24205. +$as_echo "@%:@define HAVE_FREXP_IN_LIBC 1" >>confdefs.h
  24206. +
  24207. + ;;
  24208. + esac
  24209. + fi
  24210. +
  24211. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexp can be used without linking with libm" >&5
  24212. +$as_echo_n "checking whether ldexp can be used without linking with libm... " >&6; }
  24213. +if ${gl_cv_func_ldexp_no_libm+:} false; then :
  24214. + $as_echo_n "(cached) " >&6
  24215. +else
  24216. +
  24217. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24218. +/* end confdefs.h. */
  24219. +#include <math.h>
  24220. + double x;
  24221. + int y;
  24222. +int
  24223. +main ()
  24224. +{
  24225. +return ldexp (x, y) < 1;
  24226. + ;
  24227. + return 0;
  24228. +}
  24229. +_ACEOF
  24230. +if ac_fn_c_try_link "$LINENO"; then :
  24231. + gl_cv_func_ldexp_no_libm=yes
  24232. +else
  24233. + gl_cv_func_ldexp_no_libm=no
  24234. +fi
  24235. +rm -f core conftest.err conftest.$ac_objext \
  24236. + conftest$ac_exeext conftest.$ac_ext
  24237. +
  24238. +fi
  24239. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_no_libm" >&5
  24240. +$as_echo "$gl_cv_func_ldexp_no_libm" >&6; }
  24241. + if test $gl_cv_func_ldexp_no_libm = yes; then
  24242. +
  24243. +$as_echo "@%:@define HAVE_LDEXP_IN_LIBC 1" >>confdefs.h
  24244. +
  24245. + fi
  24246. +
  24247. + # Code from module printf-frexpl:
  24248. +
  24249. +
  24250. +
  24251. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5
  24252. +$as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; }
  24253. +if ${gl_cv_func_frexpl_no_libm+:} false; then :
  24254. + $as_echo_n "(cached) " >&6
  24255. +else
  24256. +
  24257. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24258. +/* end confdefs.h. */
  24259. +#include <math.h>
  24260. + long double x;
  24261. +int
  24262. +main ()
  24263. +{
  24264. +int e; return frexpl (x, &e) > 0;
  24265. + ;
  24266. + return 0;
  24267. +}
  24268. +_ACEOF
  24269. +if ac_fn_c_try_link "$LINENO"; then :
  24270. + gl_cv_func_frexpl_no_libm=yes
  24271. +else
  24272. + gl_cv_func_frexpl_no_libm=no
  24273. +fi
  24274. +rm -f core conftest.err conftest.$ac_objext \
  24275. + conftest$ac_exeext conftest.$ac_ext
  24276. +
  24277. +fi
  24278. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_no_libm" >&5
  24279. +$as_echo "$gl_cv_func_frexpl_no_libm" >&6; }
  24280. +
  24281. + if test $gl_cv_func_frexpl_no_libm = yes; then
  24282. +
  24283. +
  24284. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5
  24285. +$as_echo_n "checking whether frexpl works... " >&6; }
  24286. +if ${gl_cv_func_frexpl_works+:} false; then :
  24287. + $as_echo_n "(cached) " >&6
  24288. +else
  24289. +
  24290. + if test "$cross_compiling" = yes; then :
  24291. +
  24292. + case "$host_os" in
  24293. + aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*)
  24294. + gl_cv_func_frexpl_works="guessing no";;
  24295. + *) gl_cv_func_frexpl_works="guessing yes";;
  24296. + esac
  24297. +
  24298. +else
  24299. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24300. +/* end confdefs.h. */
  24301. +
  24302. +#include <float.h>
  24303. +#include <math.h>
  24304. +/* Override the values of <float.h>, like done in float.in.h. */
  24305. +#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__)
  24306. +# undef LDBL_MIN_EXP
  24307. +# define LDBL_MIN_EXP (-16381)
  24308. +#endif
  24309. +extern long double frexpl (long double, int *);
  24310. +int main()
  24311. +{
  24312. + int result = 0;
  24313. + volatile long double x;
  24314. + /* Test on finite numbers that fails on AIX 5.1. */
  24315. + x = 16.0L;
  24316. + {
  24317. + int exp = -9999;
  24318. + frexpl (x, &exp);
  24319. + if (exp != 5)
  24320. + result |= 1;
  24321. + }
  24322. + /* Test on finite numbers that fails on MacOS X 10.4, because its frexpl
  24323. + function returns an invalid (incorrectly normalized) value: it returns
  24324. + y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 }
  24325. + but the correct result is
  24326. + 0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 } */
  24327. + x = 1.01L;
  24328. + {
  24329. + int exp = -9999;
  24330. + long double y = frexpl (x, &exp);
  24331. + if (!(exp == 1 && y == 0.505L))
  24332. + result |= 2;
  24333. + }
  24334. + /* Test on large finite numbers. This fails on BeOS at i = 16322, while
  24335. + LDBL_MAX_EXP = 16384.
  24336. + In the loop end test, we test x against Infinity, rather than comparing
  24337. + i with LDBL_MAX_EXP, because BeOS <float.h> has a wrong LDBL_MAX_EXP. */
  24338. + {
  24339. + int i;
  24340. + for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L)
  24341. + {
  24342. + int exp = -9999;
  24343. + frexpl (x, &exp);
  24344. + if (exp != i)
  24345. + {
  24346. + result |= 4;
  24347. + break;
  24348. + }
  24349. + }
  24350. + }
  24351. + /* Test on denormalized numbers. */
  24352. + {
  24353. + int i;
  24354. + for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L)
  24355. + ;
  24356. + if (x > 0.0L)
  24357. + {
  24358. + int exp;
  24359. + long double y = frexpl (x, &exp);
  24360. + /* On machines with IEEE854 arithmetic: x = 1.68105e-4932,
  24361. + exp = -16382, y = 0.5. On MacOS X 10.5: exp = -16384, y = 0.5. */
  24362. + if (exp != LDBL_MIN_EXP - 1)
  24363. + result |= 8;
  24364. + }
  24365. + }
  24366. + /* Test on infinite numbers. */
  24367. + x = 1.0L / 0.0L;
  24368. + {
  24369. + int exp;
  24370. + long double y = frexpl (x, &exp);
  24371. + if (y != x)
  24372. + result |= 16;
  24373. + }
  24374. + return result;
  24375. +}
  24376. +_ACEOF
  24377. +if ac_fn_c_try_run "$LINENO"; then :
  24378. + gl_cv_func_frexpl_works=yes
  24379. +else
  24380. + gl_cv_func_frexpl_works=no
  24381. +fi
  24382. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  24383. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  24384. +fi
  24385. +
  24386. +
  24387. +fi
  24388. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_works" >&5
  24389. +$as_echo "$gl_cv_func_frexpl_works" >&6; }
  24390. +
  24391. + case "$gl_cv_func_frexpl_works" in
  24392. + *yes) gl_func_frexpl_no_libm=yes ;;
  24393. + *) gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;;
  24394. + esac
  24395. + else
  24396. + gl_func_frexpl_no_libm=no
  24397. + REPLACE_FREXPL=1
  24398. + fi
  24399. + if test $gl_func_frexpl_no_libm = yes; then
  24400. +
  24401. +$as_echo "@%:@define HAVE_FREXPL_IN_LIBC 1" >>confdefs.h
  24402. +
  24403. + ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include <math.h>
  24404. +"
  24405. +if test "x$ac_cv_have_decl_frexpl" = xyes; then :
  24406. +
  24407. +else
  24408. + HAVE_DECL_FREXPL=0
  24409. +fi
  24410. +
  24411. + fi
  24412. +
  24413. +
  24414. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl() can be used without linking with libm" >&5
  24415. +$as_echo_n "checking whether ldexpl() can be used without linking with libm... " >&6; }
  24416. +if ${gl_cv_func_ldexpl_no_libm+:} false; then :
  24417. + $as_echo_n "(cached) " >&6
  24418. +else
  24419. +
  24420. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24421. +/* end confdefs.h. */
  24422. +#include <math.h>
  24423. + long double x;
  24424. +int
  24425. +main ()
  24426. +{
  24427. +return ldexpl (x, -1) > 0;
  24428. + ;
  24429. + return 0;
  24430. +}
  24431. +_ACEOF
  24432. +if ac_fn_c_try_link "$LINENO"; then :
  24433. + gl_cv_func_ldexpl_no_libm=yes
  24434. +else
  24435. + gl_cv_func_ldexpl_no_libm=no
  24436. +fi
  24437. +rm -f core conftest.err conftest.$ac_objext \
  24438. + conftest$ac_exeext conftest.$ac_ext
  24439. +
  24440. +fi
  24441. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_no_libm" >&5
  24442. +$as_echo "$gl_cv_func_ldexpl_no_libm" >&6; }
  24443. +
  24444. + if test $gl_cv_func_ldexpl_no_libm = yes; then
  24445. +
  24446. +
  24447. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl works" >&5
  24448. +$as_echo_n "checking whether ldexpl works... " >&6; }
  24449. +if ${gl_cv_func_ldexpl_works+:} false; then :
  24450. + $as_echo_n "(cached) " >&6
  24451. +else
  24452. +
  24453. + if test "$cross_compiling" = yes; then :
  24454. +
  24455. + case "$host_os" in
  24456. + aix | aix[3-6]*) gl_cv_func_ldexpl_works="guessing no";;
  24457. + *) gl_cv_func_ldexpl_works="guessing yes";;
  24458. + esac
  24459. +
  24460. +else
  24461. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24462. +/* end confdefs.h. */
  24463. +
  24464. +#include <math.h>
  24465. +extern long double ldexpl (long double, int);
  24466. +int main()
  24467. +{
  24468. + int result = 0;
  24469. + {
  24470. + volatile long double x = 1.0;
  24471. + volatile long double y = ldexpl (x, -1);
  24472. + if (y != 0.5L)
  24473. + result |= 1;
  24474. + }
  24475. + {
  24476. + volatile long double x = 1.73205L;
  24477. + volatile long double y = ldexpl (x, 0);
  24478. + if (y != x)
  24479. + result |= 2;
  24480. + }
  24481. + return result;
  24482. +}
  24483. +_ACEOF
  24484. +if ac_fn_c_try_run "$LINENO"; then :
  24485. + gl_cv_func_ldexpl_works=yes
  24486. +else
  24487. + gl_cv_func_ldexpl_works=no
  24488. +fi
  24489. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  24490. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  24491. +fi
  24492. +
  24493. +
  24494. +fi
  24495. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_works" >&5
  24496. +$as_echo "$gl_cv_func_ldexpl_works" >&6; }
  24497. +
  24498. + case "$gl_cv_func_ldexpl_works" in
  24499. + *yes)
  24500. +
  24501. +$as_echo "@%:@define HAVE_LDEXPL_IN_LIBC 1" >>confdefs.h
  24502. +
  24503. + ac_fn_c_check_decl "$LINENO" "ldexpl" "ac_cv_have_decl_ldexpl" "#include <math.h>
  24504. +"
  24505. +if test "x$ac_cv_have_decl_ldexpl" = xyes; then :
  24506. +
  24507. +else
  24508. + HAVE_DECL_LDEXPL=0
  24509. +fi
  24510. +
  24511. + ;;
  24512. + esac
  24513. + fi
  24514. +
  24515. + # Code from module printf-safe:
  24516. +
  24517. + # Code from module progname:
  24518. + ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
  24519. +"
  24520. +if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then :
  24521. + ac_have_decl=1
  24522. +else
  24523. + ac_have_decl=0
  24524. +fi
  24525. +
  24526. +cat >>confdefs.h <<_ACEOF
  24527. +@%:@define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl
  24528. +_ACEOF
  24529. +
  24530. + ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
  24531. +"
  24532. +if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then :
  24533. + ac_have_decl=1
  24534. +else
  24535. + ac_have_decl=0
  24536. +fi
  24537. +
  24538. +cat >>confdefs.h <<_ACEOF
  24539. +@%:@define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl
  24540. +_ACEOF
  24541. +
  24542. + # Code from module quotearg:
  24543. +
  24544. +
  24545. +
  24546. +
  24547. +
  24548. +
  24549. +
  24550. +
  24551. +
  24552. + M4_LIBOBJS="$M4_LIBOBJS quotearg.$ac_objext"
  24553. +
  24554. +
  24555. + # Code from module quotearg-simple:
  24556. + # Code from module rawmemchr:
  24557. +
  24558. +
  24559. +
  24560. +
  24561. +
  24562. +
  24563. +
  24564. +
  24565. +
  24566. +
  24567. +
  24568. +
  24569. + for ac_func in rawmemchr
  24570. +do :
  24571. + ac_fn_c_check_func "$LINENO" "rawmemchr" "ac_cv_func_rawmemchr"
  24572. +if test "x$ac_cv_func_rawmemchr" = xyes; then :
  24573. + cat >>confdefs.h <<_ACEOF
  24574. +@%:@define HAVE_RAWMEMCHR 1
  24575. +_ACEOF
  24576. +
  24577. +else
  24578. +
  24579. + M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext"
  24580. +
  24581. +fi
  24582. +done
  24583. +
  24584. +
  24585. + if test $ac_cv_func_rawmemchr = no; then
  24586. + HAVE_RAWMEMCHR=0
  24587. + :
  24588. + fi
  24589. +
  24590. +
  24591. +
  24592. +
  24593. + GNULIB_RAWMEMCHR=1
  24594. +
  24595. +
  24596. +
  24597. +$as_echo "@%:@define GNULIB_TEST_RAWMEMCHR 1" >>confdefs.h
  24598. +
  24599. +
  24600. +
  24601. + # Code from module readlink:
  24602. +
  24603. +
  24604. +
  24605. + if test $ac_cv_func_readlink = no; then
  24606. + HAVE_READLINK=0
  24607. +
  24608. +
  24609. +
  24610. +
  24611. +
  24612. +
  24613. +
  24614. +
  24615. + M4_LIBOBJS="$M4_LIBOBJS readlink.$ac_objext"
  24616. +
  24617. +
  24618. + :
  24619. +
  24620. + else
  24621. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink signature is correct" >&5
  24622. +$as_echo_n "checking whether readlink signature is correct... " >&6; }
  24623. +if ${gl_cv_decl_readlink_works+:} false; then :
  24624. + $as_echo_n "(cached) " >&6
  24625. +else
  24626. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24627. +/* end confdefs.h. */
  24628. +#include <unistd.h>
  24629. + /* Cause compilation failure if original declaration has wrong type. */
  24630. + ssize_t readlink (const char *, char *, size_t);
  24631. +int
  24632. +main ()
  24633. +{
  24634. +
  24635. + ;
  24636. + return 0;
  24637. +}
  24638. +_ACEOF
  24639. +if ac_fn_c_try_compile "$LINENO"; then :
  24640. + gl_cv_decl_readlink_works=yes
  24641. +else
  24642. + gl_cv_decl_readlink_works=no
  24643. +fi
  24644. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24645. +fi
  24646. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_readlink_works" >&5
  24647. +$as_echo "$gl_cv_decl_readlink_works" >&6; }
  24648. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink handles trailing slash correctly" >&5
  24649. +$as_echo_n "checking whether readlink handles trailing slash correctly... " >&6; }
  24650. +if ${gl_cv_func_readlink_works+:} false; then :
  24651. + $as_echo_n "(cached) " >&6
  24652. +else
  24653. + # We have readlink, so assume ln -s works.
  24654. + ln -s conftest.no-such conftest.link
  24655. + ln -s conftest.link conftest.lnk2
  24656. + if test "$cross_compiling" = yes; then :
  24657. + gl_cv_func_readlink_works="guessing no"
  24658. +else
  24659. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24660. +/* end confdefs.h. */
  24661. +#include <unistd.h>
  24662. +
  24663. +int
  24664. +main ()
  24665. +{
  24666. +char buf[20];
  24667. + return readlink ("conftest.lnk2/", buf, sizeof buf) != -1;
  24668. + ;
  24669. + return 0;
  24670. +}
  24671. +_ACEOF
  24672. +if ac_fn_c_try_run "$LINENO"; then :
  24673. + gl_cv_func_readlink_works=yes
  24674. +else
  24675. + gl_cv_func_readlink_works=no
  24676. +fi
  24677. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  24678. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  24679. +fi
  24680. +
  24681. + rm -f conftest.link conftest.lnk2
  24682. +fi
  24683. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_readlink_works" >&5
  24684. +$as_echo "$gl_cv_func_readlink_works" >&6; }
  24685. + if test "$gl_cv_func_readlink_works" != yes; then
  24686. +
  24687. +$as_echo "@%:@define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h
  24688. +
  24689. + REPLACE_READLINK=1
  24690. +
  24691. +
  24692. +
  24693. +
  24694. +
  24695. +
  24696. +
  24697. +
  24698. + M4_LIBOBJS="$M4_LIBOBJS readlink.$ac_objext"
  24699. +
  24700. + elif test "$gl_cv_decl_readlink_works" != yes; then
  24701. + REPLACE_READLINK=1
  24702. +
  24703. +
  24704. +
  24705. +
  24706. +
  24707. +
  24708. +
  24709. +
  24710. + M4_LIBOBJS="$M4_LIBOBJS readlink.$ac_objext"
  24711. +
  24712. + fi
  24713. + fi
  24714. +
  24715. +
  24716. +
  24717. +
  24718. + GNULIB_READLINK=1
  24719. +
  24720. +
  24721. +
  24722. +$as_echo "@%:@define GNULIB_TEST_READLINK 1" >>confdefs.h
  24723. +
  24724. +
  24725. +
  24726. + # Code from module regex:
  24727. +
  24728. +
  24729. +@%:@ Check whether --with-included-regex was given.
  24730. +if test "${with_included_regex+set}" = set; then :
  24731. + withval=$with_included_regex;
  24732. +fi
  24733. +
  24734. +
  24735. + case $with_included_regex in #(
  24736. + yes|no) ac_use_included_regex=$with_included_regex
  24737. + ;;
  24738. + '')
  24739. + # If the system regex support is good enough that it passes the
  24740. + # following run test, then default to *not* using the included regex.c.
  24741. + # If cross compiling, assume the test would fail and use the included
  24742. + # regex.c.
  24743. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working re_compile_pattern" >&5
  24744. +$as_echo_n "checking for working re_compile_pattern... " >&6; }
  24745. +if ${gl_cv_func_re_compile_pattern_working+:} false; then :
  24746. + $as_echo_n "(cached) " >&6
  24747. +else
  24748. + if test "$cross_compiling" = yes; then :
  24749. + gl_cv_func_re_compile_pattern_working=no
  24750. +else
  24751. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24752. +/* end confdefs.h. */
  24753. +$ac_includes_default
  24754. + #include <locale.h>
  24755. + #include <limits.h>
  24756. + #include <regex.h>
  24757. +
  24758. +int
  24759. +main ()
  24760. +{
  24761. +int result = 0;
  24762. + static struct re_pattern_buffer regex;
  24763. + unsigned char folded_chars[UCHAR_MAX + 1];
  24764. + int i;
  24765. + const char *s;
  24766. + struct re_registers regs;
  24767. +
  24768. + /* http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html
  24769. + This test needs valgrind to catch the bug on Debian
  24770. + GNU/Linux 3.1 x86, but it might catch the bug better
  24771. + on other platforms and it shouldn't hurt to try the
  24772. + test here. */
  24773. + if (setlocale (LC_ALL, "en_US.UTF-8"))
  24774. + {
  24775. + static char const pat[] = "insert into";
  24776. + static char const data[] =
  24777. + "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK";
  24778. + re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE
  24779. + | RE_ICASE);
  24780. + memset (&regex, 0, sizeof regex);
  24781. + s = re_compile_pattern (pat, sizeof pat - 1, &regex);
  24782. + if (s)
  24783. + result |= 1;
  24784. + else if (re_search (&regex, data, sizeof data - 1,
  24785. + 0, sizeof data - 1, &regs)
  24786. + != -1)
  24787. + result |= 1;
  24788. + if (! setlocale (LC_ALL, "C"))
  24789. + return 1;
  24790. + }
  24791. +
  24792. + /* This test is from glibc bug 3957, reported by Andrew Mackey. */
  24793. + re_set_syntax (RE_SYNTAX_EGREP | RE_HAT_LISTS_NOT_NEWLINE);
  24794. + memset (&regex, 0, sizeof regex);
  24795. + s = re_compile_pattern ("a[^x]b", 6, &regex);
  24796. + if (s)
  24797. + result |= 2;
  24798. + /* This should fail, but succeeds for glibc-2.5. */
  24799. + else if (re_search (&regex, "a\nb", 3, 0, 3, &regs) != -1)
  24800. + result |= 2;
  24801. +
  24802. + /* This regular expression is from Spencer ere test number 75
  24803. + in grep-2.3. */
  24804. + re_set_syntax (RE_SYNTAX_POSIX_EGREP);
  24805. + memset (&regex, 0, sizeof regex);
  24806. + for (i = 0; i <= UCHAR_MAX; i++)
  24807. + folded_chars[i] = i;
  24808. + regex.translate = folded_chars;
  24809. + s = re_compile_pattern ("a[[:@:>@:]]b\n", 11, &regex);
  24810. + /* This should fail with _Invalid character class name_ error. */
  24811. + if (!s)
  24812. + result |= 4;
  24813. +
  24814. + /* Ensure that [b-a] is diagnosed as invalid, when
  24815. + using RE_NO_EMPTY_RANGES. */
  24816. + re_set_syntax (RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES);
  24817. + memset (&regex, 0, sizeof regex);
  24818. + s = re_compile_pattern ("a[b-a]", 6, &regex);
  24819. + if (s == 0)
  24820. + result |= 8;
  24821. +
  24822. + /* This should succeed, but does not for glibc-2.1.3. */
  24823. + memset (&regex, 0, sizeof regex);
  24824. + s = re_compile_pattern ("{1", 2, &regex);
  24825. + if (s)
  24826. + result |= 8;
  24827. +
  24828. + /* The following example is derived from a problem report
  24829. + against gawk from Jorge Stolfi <stolfi@ic.unicamp.br>. */
  24830. + memset (&regex, 0, sizeof regex);
  24831. + s = re_compile_pattern ("[an\371]*n", 7, &regex);
  24832. + if (s)
  24833. + result |= 8;
  24834. + /* This should match, but does not for glibc-2.2.1. */
  24835. + else if (re_match (&regex, "an", 2, 0, &regs) != 2)
  24836. + result |= 8;
  24837. +
  24838. + memset (&regex, 0, sizeof regex);
  24839. + s = re_compile_pattern ("x", 1, &regex);
  24840. + if (s)
  24841. + result |= 8;
  24842. + /* glibc-2.2.93 does not work with a negative RANGE argument. */
  24843. + else if (re_search (&regex, "wxy", 3, 2, -2, &regs) != 1)
  24844. + result |= 8;
  24845. +
  24846. + /* The version of regex.c in older versions of gnulib
  24847. + ignored RE_ICASE. Detect that problem too. */
  24848. + re_set_syntax (RE_SYNTAX_EMACS | RE_ICASE);
  24849. + memset (&regex, 0, sizeof regex);
  24850. + s = re_compile_pattern ("x", 1, &regex);
  24851. + if (s)
  24852. + result |= 16;
  24853. + else if (re_search (&regex, "WXY", 3, 0, 3, &regs) < 0)
  24854. + result |= 16;
  24855. +
  24856. + /* Catch a bug reported by Vin Shelton in
  24857. + http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00089.html
  24858. + */
  24859. + re_set_syntax (RE_SYNTAX_POSIX_BASIC
  24860. + & ~RE_CONTEXT_INVALID_DUP
  24861. + & ~RE_NO_EMPTY_RANGES);
  24862. + memset (&regex, 0, sizeof regex);
  24863. + s = re_compile_pattern ("[[:alnum:]_-]\\\\+$", 16, &regex);
  24864. + if (s)
  24865. + result |= 32;
  24866. +
  24867. + /* REG_STARTEND was added to glibc on 2004-01-15.
  24868. + Reject older versions. */
  24869. + if (! REG_STARTEND)
  24870. + result |= 64;
  24871. +
  24872. +#if 0
  24873. + /* It would be nice to reject hosts whose regoff_t values are too
  24874. + narrow (including glibc on hosts with 64-bit ptrdiff_t and
  24875. + 32-bit int), but we should wait until glibc implements this
  24876. + feature. Otherwise, support for equivalence classes and
  24877. + multibyte collation symbols would always be broken except
  24878. + when compiling --without-included-regex. */
  24879. + if (sizeof (regoff_t) < sizeof (ptrdiff_t)
  24880. + || sizeof (regoff_t) < sizeof (ssize_t))
  24881. + result |= 64;
  24882. +#endif
  24883. +
  24884. + return result;
  24885. +
  24886. + ;
  24887. + return 0;
  24888. +}
  24889. +_ACEOF
  24890. +if ac_fn_c_try_run "$LINENO"; then :
  24891. + gl_cv_func_re_compile_pattern_working=yes
  24892. +else
  24893. + gl_cv_func_re_compile_pattern_working=no
  24894. +fi
  24895. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  24896. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  24897. +fi
  24898. +
  24899. +fi
  24900. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_re_compile_pattern_working" >&5
  24901. +$as_echo "$gl_cv_func_re_compile_pattern_working" >&6; }
  24902. + case $gl_cv_func_re_compile_pattern_working in #(
  24903. + yes) ac_use_included_regex=no;; #(
  24904. + no) ac_use_included_regex=yes;;
  24905. + esac
  24906. + ;;
  24907. + *) as_fn_error $? "Invalid value for --with-included-regex: $with_included_regex" "$LINENO" 5
  24908. + ;;
  24909. + esac
  24910. +
  24911. + if test $ac_use_included_regex = yes; then
  24912. +
  24913. +$as_echo "@%:@define _REGEX_LARGE_OFFSETS 1" >>confdefs.h
  24914. +
  24915. +
  24916. +$as_echo "@%:@define re_syntax_options rpl_re_syntax_options" >>confdefs.h
  24917. +
  24918. +
  24919. +$as_echo "@%:@define re_set_syntax rpl_re_set_syntax" >>confdefs.h
  24920. +
  24921. +
  24922. +$as_echo "@%:@define re_compile_pattern rpl_re_compile_pattern" >>confdefs.h
  24923. +
  24924. +
  24925. +$as_echo "@%:@define re_compile_fastmap rpl_re_compile_fastmap" >>confdefs.h
  24926. +
  24927. +
  24928. +$as_echo "@%:@define re_search rpl_re_search" >>confdefs.h
  24929. +
  24930. +
  24931. +$as_echo "@%:@define re_search_2 rpl_re_search_2" >>confdefs.h
  24932. +
  24933. +
  24934. +$as_echo "@%:@define re_match rpl_re_match" >>confdefs.h
  24935. +
  24936. +
  24937. +$as_echo "@%:@define re_match_2 rpl_re_match_2" >>confdefs.h
  24938. +
  24939. +
  24940. +$as_echo "@%:@define re_set_registers rpl_re_set_registers" >>confdefs.h
  24941. +
  24942. +
  24943. +$as_echo "@%:@define re_comp rpl_re_comp" >>confdefs.h
  24944. +
  24945. +
  24946. +$as_echo "@%:@define re_exec rpl_re_exec" >>confdefs.h
  24947. +
  24948. +
  24949. +$as_echo "@%:@define regcomp rpl_regcomp" >>confdefs.h
  24950. +
  24951. +
  24952. +$as_echo "@%:@define regexec rpl_regexec" >>confdefs.h
  24953. +
  24954. +
  24955. +$as_echo "@%:@define regerror rpl_regerror" >>confdefs.h
  24956. +
  24957. +
  24958. +$as_echo "@%:@define regfree rpl_regfree" >>confdefs.h
  24959. +
  24960. +
  24961. +
  24962. +
  24963. +
  24964. +
  24965. +
  24966. +
  24967. +
  24968. + M4_LIBOBJS="$M4_LIBOBJS regex.$ac_objext"
  24969. +
  24970. +
  24971. +
  24972. +
  24973. +
  24974. +
  24975. + for ac_header in libintl.h
  24976. +do :
  24977. + ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
  24978. +if test "x$ac_cv_header_libintl_h" = xyes; then :
  24979. + cat >>confdefs.h <<_ACEOF
  24980. +@%:@define HAVE_LIBINTL_H 1
  24981. +_ACEOF
  24982. +
  24983. +fi
  24984. +
  24985. +done
  24986. +
  24987. +
  24988. + ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include <ctype.h>
  24989. +"
  24990. +if test "x$ac_cv_have_decl_isblank" = xyes; then :
  24991. + ac_have_decl=1
  24992. +else
  24993. + ac_have_decl=0
  24994. +fi
  24995. +
  24996. +cat >>confdefs.h <<_ACEOF
  24997. +@%:@define HAVE_DECL_ISBLANK $ac_have_decl
  24998. +_ACEOF
  24999. +
  25000. +
  25001. + fi
  25002. +
  25003. + # Code from module rename:
  25004. +
  25005. +
  25006. +
  25007. +
  25008. +
  25009. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on destination" >&5
  25010. +$as_echo_n "checking whether rename honors trailing slash on destination... " >&6; }
  25011. +if ${gl_cv_func_rename_slash_dst_works+:} false; then :
  25012. + $as_echo_n "(cached) " >&6
  25013. +else
  25014. + rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk
  25015. + touch conftest.f && touch conftest.f1 && mkdir conftest.d1 ||
  25016. + as_fn_error $? "cannot create temporary files" "$LINENO" 5
  25017. + # Assume that if we have lstat, we can also check symlinks.
  25018. + if test $ac_cv_func_lstat = yes; then
  25019. + ln -s conftest.f conftest.lnk
  25020. + fi
  25021. + if test "$cross_compiling" = yes; then :
  25022. + gl_cv_func_rename_slash_dst_works="guessing no"
  25023. +else
  25024. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25025. +/* end confdefs.h. */
  25026. +
  25027. +# include <stdio.h>
  25028. +# include <stdlib.h>
  25029. +
  25030. +int
  25031. +main ()
  25032. +{
  25033. +int result = 0;
  25034. + if (rename ("conftest.f1", "conftest.f2/") == 0)
  25035. + result |= 1;
  25036. + if (rename ("conftest.d1", "conftest.d2/") != 0)
  25037. + result |= 2;
  25038. +#if HAVE_LSTAT
  25039. + if (rename ("conftest.f", "conftest.lnk/") == 0)
  25040. + result |= 4;
  25041. +#endif
  25042. + return result;
  25043. +
  25044. + ;
  25045. + return 0;
  25046. +}
  25047. +_ACEOF
  25048. +if ac_fn_c_try_run "$LINENO"; then :
  25049. + gl_cv_func_rename_slash_dst_works=yes
  25050. +else
  25051. + gl_cv_func_rename_slash_dst_works=no
  25052. +fi
  25053. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  25054. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  25055. +fi
  25056. +
  25057. + rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk
  25058. +
  25059. +fi
  25060. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_slash_dst_works" >&5
  25061. +$as_echo "$gl_cv_func_rename_slash_dst_works" >&6; }
  25062. + if test "x$gl_cv_func_rename_slash_dst_works" != xyes; then
  25063. +
  25064. +
  25065. +
  25066. +
  25067. +
  25068. +
  25069. +
  25070. +
  25071. + M4_LIBOBJS="$M4_LIBOBJS rename.$ac_objext"
  25072. +
  25073. + REPLACE_RENAME=1
  25074. +
  25075. +$as_echo "@%:@define RENAME_TRAILING_SLASH_DEST_BUG 1" >>confdefs.h
  25076. +
  25077. + fi
  25078. +
  25079. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on source" >&5
  25080. +$as_echo_n "checking whether rename honors trailing slash on source... " >&6; }
  25081. +if ${gl_cv_func_rename_slash_src_works+:} false; then :
  25082. + $as_echo_n "(cached) " >&6
  25083. +else
  25084. + rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk
  25085. + touch conftest.f && touch conftest.f1 && mkdir conftest.d1 ||
  25086. + as_fn_error $? "cannot create temporary files" "$LINENO" 5
  25087. + # Assume that if we have lstat, we can also check symlinks.
  25088. + if test $ac_cv_func_lstat = yes; then
  25089. + ln -s conftest.f conftest.lnk
  25090. + fi
  25091. + if test "$cross_compiling" = yes; then :
  25092. + gl_cv_func_rename_slash_src_works="guessing no"
  25093. +else
  25094. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25095. +/* end confdefs.h. */
  25096. +
  25097. +# include <stdio.h>
  25098. +# include <stdlib.h>
  25099. +
  25100. +int
  25101. +main ()
  25102. +{
  25103. +int result = 0;
  25104. + if (rename ("conftest.f1/", "conftest.d3") == 0)
  25105. + result |= 1;
  25106. + if (rename ("conftest.d1/", "conftest.d2") != 0)
  25107. + result |= 2;
  25108. +#if HAVE_LSTAT
  25109. + if (rename ("conftest.lnk/", "conftest.f") == 0)
  25110. + result |= 4;
  25111. +#endif
  25112. + return result;
  25113. +
  25114. + ;
  25115. + return 0;
  25116. +}
  25117. +_ACEOF
  25118. +if ac_fn_c_try_run "$LINENO"; then :
  25119. + gl_cv_func_rename_slash_src_works=yes
  25120. +else
  25121. + gl_cv_func_rename_slash_src_works=no
  25122. +fi
  25123. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  25124. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  25125. +fi
  25126. +
  25127. + rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk
  25128. +
  25129. +fi
  25130. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_slash_src_works" >&5
  25131. +$as_echo "$gl_cv_func_rename_slash_src_works" >&6; }
  25132. + if test "x$gl_cv_func_rename_slash_src_works" != xyes; then
  25133. +
  25134. +
  25135. +
  25136. +
  25137. +
  25138. +
  25139. +
  25140. +
  25141. + M4_LIBOBJS="$M4_LIBOBJS rename.$ac_objext"
  25142. +
  25143. + REPLACE_RENAME=1
  25144. +
  25145. +$as_echo "@%:@define RENAME_TRAILING_SLASH_SOURCE_BUG 1" >>confdefs.h
  25146. +
  25147. + fi
  25148. +
  25149. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages hard links correctly" >&5
  25150. +$as_echo_n "checking whether rename manages hard links correctly... " >&6; }
  25151. +if ${gl_cv_func_rename_link_works+:} false; then :
  25152. + $as_echo_n "(cached) " >&6
  25153. +else
  25154. + rm -rf conftest.f conftest.f1
  25155. + if touch conftest.f && ln conftest.f conftest.f1 &&
  25156. + set x `ls -i conftest.f conftest.f1` && test "" = ""; then
  25157. + if test "$cross_compiling" = yes; then :
  25158. + gl_cv_func_rename_link_works="guessing no"
  25159. +else
  25160. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25161. +/* end confdefs.h. */
  25162. +
  25163. +# include <stdio.h>
  25164. +# include <stdlib.h>
  25165. +# include <unistd.h>
  25166. +
  25167. +int
  25168. +main ()
  25169. +{
  25170. +int result = 0;
  25171. + if (rename ("conftest.f", "conftest.f1"))
  25172. + result |= 1;
  25173. + if (unlink ("conftest.f1"))
  25174. + result |= 2;
  25175. + if (rename ("conftest.f", "conftest.f"))
  25176. + result |= 4;
  25177. + if (rename ("conftest.f1", "conftest.f1") == 0)
  25178. + result |= 8;
  25179. + return result;
  25180. +
  25181. + ;
  25182. + return 0;
  25183. +}
  25184. +_ACEOF
  25185. +if ac_fn_c_try_run "$LINENO"; then :
  25186. + gl_cv_func_rename_link_works=yes
  25187. +else
  25188. + gl_cv_func_rename_link_works=no
  25189. +fi
  25190. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  25191. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  25192. +fi
  25193. +
  25194. + else
  25195. + gl_cv_func_rename_link_works="guessing no"
  25196. + fi
  25197. + rm -rf conftest.f conftest.f1
  25198. +
  25199. +fi
  25200. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_link_works" >&5
  25201. +$as_echo "$gl_cv_func_rename_link_works" >&6; }
  25202. + if test "x$gl_cv_func_rename_link_works" != xyes; then
  25203. +
  25204. +
  25205. +
  25206. +
  25207. +
  25208. +
  25209. +
  25210. +
  25211. + M4_LIBOBJS="$M4_LIBOBJS rename.$ac_objext"
  25212. +
  25213. + REPLACE_RENAME=1
  25214. +
  25215. +$as_echo "@%:@define RENAME_HARD_LINK_BUG 1" >>confdefs.h
  25216. +
  25217. + fi
  25218. +
  25219. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages existing destinations correctly" >&5
  25220. +$as_echo_n "checking whether rename manages existing destinations correctly... " >&6; }
  25221. +if ${gl_cv_func_rename_dest_works+:} false; then :
  25222. + $as_echo_n "(cached) " >&6
  25223. +else
  25224. + rm -rf conftest.f conftest.d1 conftest.d2
  25225. + touch conftest.f && mkdir conftest.d1 conftest.d2 ||
  25226. + as_fn_error $? "cannot create temporary files" "$LINENO" 5
  25227. + if test "$cross_compiling" = yes; then :
  25228. + gl_cv_func_rename_dest_works="guessing no"
  25229. +else
  25230. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25231. +/* end confdefs.h. */
  25232. +
  25233. +# include <stdio.h>
  25234. +# include <stdlib.h>
  25235. +
  25236. +int
  25237. +main ()
  25238. +{
  25239. +int result = 0;
  25240. + if (rename ("conftest.d1", "conftest.d2") != 0)
  25241. + result |= 1;
  25242. + if (rename ("conftest.d2", "conftest.f") == 0)
  25243. + result |= 2;
  25244. + return result;
  25245. +
  25246. + ;
  25247. + return 0;
  25248. +}
  25249. +_ACEOF
  25250. +if ac_fn_c_try_run "$LINENO"; then :
  25251. + gl_cv_func_rename_dest_works=yes
  25252. +else
  25253. + gl_cv_func_rename_dest_works=no
  25254. +fi
  25255. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  25256. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  25257. +fi
  25258. +
  25259. + rm -rf conftest.f conftest.d1 conftest.d2
  25260. +
  25261. +fi
  25262. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_dest_works" >&5
  25263. +$as_echo "$gl_cv_func_rename_dest_works" >&6; }
  25264. + if test "x$gl_cv_func_rename_dest_works" != xyes; then
  25265. +
  25266. +
  25267. +
  25268. +
  25269. +
  25270. +
  25271. +
  25272. +
  25273. + M4_LIBOBJS="$M4_LIBOBJS rename.$ac_objext"
  25274. +
  25275. + REPLACE_RENAME=1
  25276. +
  25277. +$as_echo "@%:@define RENAME_DEST_EXISTS_BUG 1" >>confdefs.h
  25278. +
  25279. + fi
  25280. +
  25281. +
  25282. +
  25283. +
  25284. + GNULIB_RENAME=1
  25285. +
  25286. +
  25287. +
  25288. +$as_echo "@%:@define GNULIB_TEST_RENAME 1" >>confdefs.h
  25289. +
  25290. +
  25291. +
  25292. + # Code from module rmdir:
  25293. +
  25294. +
  25295. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rmdir works" >&5
  25296. +$as_echo_n "checking whether rmdir works... " >&6; }
  25297. +if ${gl_cv_func_rmdir_works+:} false; then :
  25298. + $as_echo_n "(cached) " >&6
  25299. +else
  25300. + mkdir conftest.dir
  25301. + touch conftest.file
  25302. + if test "$cross_compiling" = yes; then :
  25303. + gl_cv_func_rmdir_works="guessing no"
  25304. +else
  25305. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25306. +/* end confdefs.h. */
  25307. +#include <stdio.h>
  25308. + #include <errno.h>
  25309. + #include <unistd.h>
  25310. +
  25311. +int
  25312. +main ()
  25313. +{
  25314. +int result = 0;
  25315. + if (!rmdir ("conftest.file/"))
  25316. + result |= 1;
  25317. + else if (errno != ENOTDIR)
  25318. + result |= 2;
  25319. + if (!rmdir ("conftest.dir/./"))
  25320. + result |= 4;
  25321. + return result;
  25322. +
  25323. + ;
  25324. + return 0;
  25325. +}
  25326. +_ACEOF
  25327. +if ac_fn_c_try_run "$LINENO"; then :
  25328. + gl_cv_func_rmdir_works=yes
  25329. +else
  25330. + gl_cv_func_rmdir_works=no
  25331. +fi
  25332. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  25333. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  25334. +fi
  25335. +
  25336. + rm -rf conftest.dir conftest.file
  25337. +fi
  25338. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rmdir_works" >&5
  25339. +$as_echo "$gl_cv_func_rmdir_works" >&6; }
  25340. + if test x"$gl_cv_func_rmdir_works" != xyes; then
  25341. + REPLACE_RMDIR=1
  25342. +
  25343. +
  25344. +
  25345. +
  25346. +
  25347. +
  25348. +
  25349. +
  25350. + M4_LIBOBJS="$M4_LIBOBJS rmdir.$ac_objext"
  25351. +
  25352. + fi
  25353. +
  25354. +
  25355. +
  25356. +
  25357. + GNULIB_RMDIR=1
  25358. +
  25359. +
  25360. +
  25361. +$as_echo "@%:@define GNULIB_TEST_RMDIR 1" >>confdefs.h
  25362. +
  25363. +
  25364. +
  25365. + # Code from module same-inode:
  25366. + # Code from module sched:
  25367. +
  25368. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25369. +/* end confdefs.h. */
  25370. +
  25371. + #include <sched.h>
  25372. + struct sched_param a;
  25373. + int b[] = { SCHED_FIFO, SCHED_RR, SCHED_OTHER };
  25374. +
  25375. +int
  25376. +main ()
  25377. +{
  25378. +
  25379. + ;
  25380. + return 0;
  25381. +}
  25382. +_ACEOF
  25383. +if ac_fn_c_try_compile "$LINENO"; then :
  25384. + SCHED_H=''
  25385. +else
  25386. + SCHED_H='sched.h'
  25387. +
  25388. +
  25389. +
  25390. +
  25391. +
  25392. +
  25393. +
  25394. +
  25395. +
  25396. +
  25397. + if test $gl_cv_have_include_next = yes; then
  25398. + gl_cv_next_sched_h='<'sched.h'>'
  25399. + else
  25400. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sched.h>" >&5
  25401. +$as_echo_n "checking absolute name of <sched.h>... " >&6; }
  25402. +if ${gl_cv_next_sched_h+:} false; then :
  25403. + $as_echo_n "(cached) " >&6
  25404. +else
  25405. +
  25406. + if test $ac_cv_header_sched_h = yes; then
  25407. +
  25408. +
  25409. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25410. +/* end confdefs.h. */
  25411. +#include <sched.h>
  25412. +
  25413. +_ACEOF
  25414. + case "$host_os" in
  25415. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  25416. + *) gl_absname_cpp="$ac_cpp" ;;
  25417. + esac
  25418. + gl_cv_next_sched_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  25419. + sed -n '\#/sched.h#{
  25420. + s#.*"\(.*/sched.h\)".*#\1#
  25421. + s#^/[^/]#//&#
  25422. + p
  25423. + q
  25424. + }'`'"'
  25425. + else
  25426. + gl_cv_next_sched_h='<'sched.h'>'
  25427. + fi
  25428. +
  25429. +
  25430. +fi
  25431. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sched_h" >&5
  25432. +$as_echo "$gl_cv_next_sched_h" >&6; }
  25433. + fi
  25434. + NEXT_SCHED_H=$gl_cv_next_sched_h
  25435. +
  25436. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  25437. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  25438. + gl_next_as_first_directive='<'sched.h'>'
  25439. + else
  25440. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  25441. + gl_next_as_first_directive=$gl_cv_next_sched_h
  25442. + fi
  25443. + NEXT_AS_FIRST_DIRECTIVE_SCHED_H=$gl_next_as_first_directive
  25444. +
  25445. +
  25446. +
  25447. +
  25448. +
  25449. + if test $ac_cv_header_sched_h = yes; then
  25450. + HAVE_SCHED_H=1
  25451. + else
  25452. + HAVE_SCHED_H=0
  25453. + fi
  25454. +
  25455. +
  25456. + ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include <sched.h>
  25457. +"
  25458. +if test "x$ac_cv_type_struct_sched_param" = xyes; then :
  25459. + HAVE_STRUCT_SCHED_PARAM=1
  25460. +else
  25461. + HAVE_STRUCT_SCHED_PARAM=0
  25462. +fi
  25463. +
  25464. +
  25465. +
  25466. +fi
  25467. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25468. +
  25469. +
  25470. + # Code from module sigaction:
  25471. +
  25472. +
  25473. +
  25474. + if test $ac_cv_func_sigaction = yes; then
  25475. + ac_fn_c_check_member "$LINENO" "struct sigaction" "sa_sigaction" "ac_cv_member_struct_sigaction_sa_sigaction" "#include <signal.h>
  25476. +"
  25477. +if test "x$ac_cv_member_struct_sigaction_sa_sigaction" = xyes; then :
  25478. +
  25479. +cat >>confdefs.h <<_ACEOF
  25480. +@%:@define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1
  25481. +_ACEOF
  25482. +
  25483. +
  25484. +fi
  25485. +
  25486. + if test $ac_cv_member_struct_sigaction_sa_sigaction = no; then
  25487. + HAVE_STRUCT_SIGACTION_SA_SIGACTION=0
  25488. + fi
  25489. + else
  25490. + HAVE_SIGACTION=0
  25491. +
  25492. +
  25493. +
  25494. +
  25495. +
  25496. +
  25497. +
  25498. +
  25499. + M4_LIBOBJS="$M4_LIBOBJS sigaction.$ac_objext"
  25500. +
  25501. +
  25502. +
  25503. +
  25504. +
  25505. +
  25506. +
  25507. + ac_fn_c_check_type "$LINENO" "siginfo_t" "ac_cv_type_siginfo_t" "
  25508. +#include <signal.h>
  25509. +
  25510. +"
  25511. +if test "x$ac_cv_type_siginfo_t" = xyes; then :
  25512. +
  25513. +cat >>confdefs.h <<_ACEOF
  25514. +@%:@define HAVE_SIGINFO_T 1
  25515. +_ACEOF
  25516. +
  25517. +
  25518. +fi
  25519. +
  25520. + if test $ac_cv_type_siginfo_t = no; then
  25521. + HAVE_SIGINFO_T=0
  25522. + fi
  25523. +
  25524. + fi
  25525. +
  25526. +
  25527. +
  25528. +
  25529. + GNULIB_SIGACTION=1
  25530. +
  25531. +
  25532. +
  25533. +$as_echo "@%:@define GNULIB_TEST_SIGACTION 1" >>confdefs.h
  25534. +
  25535. +
  25536. +
  25537. + # Code from module signal:
  25538. +
  25539. +
  25540. +
  25541. +
  25542. +
  25543. +
  25544. +
  25545. +
  25546. +
  25547. +
  25548. + if test $gl_cv_have_include_next = yes; then
  25549. + gl_cv_next_signal_h='<'signal.h'>'
  25550. + else
  25551. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <signal.h>" >&5
  25552. +$as_echo_n "checking absolute name of <signal.h>... " >&6; }
  25553. +if ${gl_cv_next_signal_h+:} false; then :
  25554. + $as_echo_n "(cached) " >&6
  25555. +else
  25556. +
  25557. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25558. +/* end confdefs.h. */
  25559. +#include <signal.h>
  25560. +
  25561. +_ACEOF
  25562. + case "$host_os" in
  25563. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  25564. + *) gl_absname_cpp="$ac_cpp" ;;
  25565. + esac
  25566. + gl_cv_next_signal_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  25567. + sed -n '\#/signal.h#{
  25568. + s#.*"\(.*/signal.h\)".*#\1#
  25569. + s#^/[^/]#//&#
  25570. + p
  25571. + q
  25572. + }'`'"'
  25573. +
  25574. +
  25575. +fi
  25576. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_signal_h" >&5
  25577. +$as_echo "$gl_cv_next_signal_h" >&6; }
  25578. + fi
  25579. + NEXT_SIGNAL_H=$gl_cv_next_signal_h
  25580. +
  25581. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  25582. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  25583. + gl_next_as_first_directive='<'signal.h'>'
  25584. + else
  25585. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  25586. + gl_next_as_first_directive=$gl_cv_next_signal_h
  25587. + fi
  25588. + NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H=$gl_next_as_first_directive
  25589. +
  25590. +
  25591. +
  25592. +
  25593. +# AIX declares sig_atomic_t to already include volatile, and C89 compilers
  25594. +# then choke on 'volatile sig_atomic_t'. C99 requires that it compile.
  25595. + ac_fn_c_check_type "$LINENO" "volatile sig_atomic_t" "ac_cv_type_volatile_sig_atomic_t" "
  25596. +#include <signal.h>
  25597. +
  25598. +"
  25599. +if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes; then :
  25600. +
  25601. +else
  25602. + HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0
  25603. +fi
  25604. +
  25605. +
  25606. +
  25607. +
  25608. +
  25609. + # Code from module signbit:
  25610. +
  25611. +
  25612. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit macro" >&5
  25613. +$as_echo_n "checking for signbit macro... " >&6; }
  25614. +if ${gl_cv_func_signbit+:} false; then :
  25615. + $as_echo_n "(cached) " >&6
  25616. +else
  25617. +
  25618. + if test "$cross_compiling" = yes; then :
  25619. + gl_cv_func_signbit="guessing no"
  25620. +else
  25621. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25622. +/* end confdefs.h. */
  25623. +
  25624. +#include <math.h>
  25625. +/* If signbit is defined as a function, don't use it, since calling it for
  25626. + 'float' or 'long double' arguments would involve conversions.
  25627. + If signbit is not declared at all but exists as a library function, don't
  25628. + use it, since the prototype may not match.
  25629. + If signbit is not declared at all but exists as a compiler built-in, don't
  25630. + use it, since it's preferable to use __builtin_signbit* (no warnings,
  25631. + no conversions). */
  25632. +#ifndef signbit
  25633. +# error "signbit should be a macro"
  25634. +#endif
  25635. +#include <string.h>
  25636. +
  25637. +/* Global variables.
  25638. + Needed because GCC 4 constant-folds __builtin_signbitl (literal)
  25639. + but cannot constant-fold __builtin_signbitl (variable). */
  25640. +float vf;
  25641. +double vd;
  25642. +long double vl;
  25643. +int main ()
  25644. +{
  25645. +/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
  25646. + So we use -p0f and -p0d instead. */
  25647. +float p0f = 0.0f;
  25648. +float m0f = -p0f;
  25649. +double p0d = 0.0;
  25650. +double m0d = -p0d;
  25651. +/* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
  25652. + So we use another constant expression instead.
  25653. + But that expression does not work on other platforms, such as when
  25654. + cross-compiling to PowerPC on MacOS X 10.5. */
  25655. +long double p0l = 0.0L;
  25656. +#if defined __hpux || defined __sgi
  25657. +long double m0l = -LDBL_MIN * LDBL_MIN;
  25658. +#else
  25659. +long double m0l = -p0l;
  25660. +#endif
  25661. + int result = 0;
  25662. + if (signbit (vf)) /* link check */
  25663. + vf++;
  25664. + {
  25665. + float plus_inf = 1.0f / p0f;
  25666. + float minus_inf = -1.0f / p0f;
  25667. + if (!(!signbit (255.0f)
  25668. + && signbit (-255.0f)
  25669. + && !signbit (p0f)
  25670. + && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f))
  25671. + && !signbit (plus_inf)
  25672. + && signbit (minus_inf)))
  25673. + result |= 1;
  25674. + }
  25675. + if (signbit (vd)) /* link check */
  25676. + vd++;
  25677. + {
  25678. + double plus_inf = 1.0 / p0d;
  25679. + double minus_inf = -1.0 / p0d;
  25680. + if (!(!signbit (255.0)
  25681. + && signbit (-255.0)
  25682. + && !signbit (p0d)
  25683. + && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d))
  25684. + && !signbit (plus_inf)
  25685. + && signbit (minus_inf)))
  25686. + result |= 2;
  25687. + }
  25688. + if (signbit (vl)) /* link check */
  25689. + vl++;
  25690. + {
  25691. + long double plus_inf = 1.0L / p0l;
  25692. + long double minus_inf = -1.0L / p0l;
  25693. + if (signbit (255.0L))
  25694. + result |= 4;
  25695. + if (!signbit (-255.0L))
  25696. + result |= 4;
  25697. + if (signbit (p0l))
  25698. + result |= 8;
  25699. + if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l)))
  25700. + result |= 16;
  25701. + if (signbit (plus_inf))
  25702. + result |= 32;
  25703. + if (!signbit (minus_inf))
  25704. + result |= 64;
  25705. + }
  25706. + return result;
  25707. +}
  25708. +
  25709. +
  25710. +_ACEOF
  25711. +if ac_fn_c_try_run "$LINENO"; then :
  25712. + gl_cv_func_signbit=yes
  25713. +else
  25714. + gl_cv_func_signbit=no
  25715. +fi
  25716. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  25717. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  25718. +fi
  25719. +
  25720. +
  25721. +fi
  25722. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_signbit" >&5
  25723. +$as_echo "$gl_cv_func_signbit" >&6; }
  25724. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit compiler built-ins" >&5
  25725. +$as_echo_n "checking for signbit compiler built-ins... " >&6; }
  25726. +if ${gl_cv_func_signbit_gcc+:} false; then :
  25727. + $as_echo_n "(cached) " >&6
  25728. +else
  25729. +
  25730. + if test "$cross_compiling" = yes; then :
  25731. + gl_cv_func_signbit_gcc="guessing no"
  25732. +else
  25733. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25734. +/* end confdefs.h. */
  25735. +
  25736. +#if __GNUC__ >= 4
  25737. +# define signbit(x) \
  25738. + (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \
  25739. + sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \
  25740. + __builtin_signbitf (x))
  25741. +#else
  25742. +# error "signbit should be three compiler built-ins"
  25743. +#endif
  25744. +#include <string.h>
  25745. +
  25746. +/* Global variables.
  25747. + Needed because GCC 4 constant-folds __builtin_signbitl (literal)
  25748. + but cannot constant-fold __builtin_signbitl (variable). */
  25749. +float vf;
  25750. +double vd;
  25751. +long double vl;
  25752. +int main ()
  25753. +{
  25754. +/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
  25755. + So we use -p0f and -p0d instead. */
  25756. +float p0f = 0.0f;
  25757. +float m0f = -p0f;
  25758. +double p0d = 0.0;
  25759. +double m0d = -p0d;
  25760. +/* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
  25761. + So we use another constant expression instead.
  25762. + But that expression does not work on other platforms, such as when
  25763. + cross-compiling to PowerPC on MacOS X 10.5. */
  25764. +long double p0l = 0.0L;
  25765. +#if defined __hpux || defined __sgi
  25766. +long double m0l = -LDBL_MIN * LDBL_MIN;
  25767. +#else
  25768. +long double m0l = -p0l;
  25769. +#endif
  25770. + int result = 0;
  25771. + if (signbit (vf)) /* link check */
  25772. + vf++;
  25773. + {
  25774. + float plus_inf = 1.0f / p0f;
  25775. + float minus_inf = -1.0f / p0f;
  25776. + if (!(!signbit (255.0f)
  25777. + && signbit (-255.0f)
  25778. + && !signbit (p0f)
  25779. + && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f))
  25780. + && !signbit (plus_inf)
  25781. + && signbit (minus_inf)))
  25782. + result |= 1;
  25783. + }
  25784. + if (signbit (vd)) /* link check */
  25785. + vd++;
  25786. + {
  25787. + double plus_inf = 1.0 / p0d;
  25788. + double minus_inf = -1.0 / p0d;
  25789. + if (!(!signbit (255.0)
  25790. + && signbit (-255.0)
  25791. + && !signbit (p0d)
  25792. + && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d))
  25793. + && !signbit (plus_inf)
  25794. + && signbit (minus_inf)))
  25795. + result |= 2;
  25796. + }
  25797. + if (signbit (vl)) /* link check */
  25798. + vl++;
  25799. + {
  25800. + long double plus_inf = 1.0L / p0l;
  25801. + long double minus_inf = -1.0L / p0l;
  25802. + if (signbit (255.0L))
  25803. + result |= 4;
  25804. + if (!signbit (-255.0L))
  25805. + result |= 4;
  25806. + if (signbit (p0l))
  25807. + result |= 8;
  25808. + if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l)))
  25809. + result |= 16;
  25810. + if (signbit (plus_inf))
  25811. + result |= 32;
  25812. + if (!signbit (minus_inf))
  25813. + result |= 64;
  25814. + }
  25815. + return result;
  25816. +}
  25817. +
  25818. +
  25819. +_ACEOF
  25820. +if ac_fn_c_try_run "$LINENO"; then :
  25821. + gl_cv_func_signbit_gcc=yes
  25822. +else
  25823. + gl_cv_func_signbit_gcc=no
  25824. +fi
  25825. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  25826. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  25827. +fi
  25828. +
  25829. +
  25830. +fi
  25831. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_signbit_gcc" >&5
  25832. +$as_echo "$gl_cv_func_signbit_gcc" >&6; }
  25833. + if test "$gl_cv_func_signbit_gcc" = yes; then
  25834. + REPLACE_SIGNBIT_USING_GCC=1
  25835. + else
  25836. + if test "$gl_cv_func_signbit" != yes; then
  25837. + REPLACE_SIGNBIT=1
  25838. +
  25839. +
  25840. +
  25841. +
  25842. +
  25843. +
  25844. +
  25845. +
  25846. + M4_LIBOBJS="$M4_LIBOBJS signbitf.$ac_objext"
  25847. +
  25848. +
  25849. +
  25850. +
  25851. +
  25852. +
  25853. +
  25854. +
  25855. +
  25856. + M4_LIBOBJS="$M4_LIBOBJS signbitd.$ac_objext"
  25857. +
  25858. +
  25859. +
  25860. +
  25861. +
  25862. +
  25863. +
  25864. +
  25865. +
  25866. + M4_LIBOBJS="$M4_LIBOBJS signbitl.$ac_objext"
  25867. +
  25868. +
  25869. +
  25870. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'float'" >&5
  25871. +$as_echo_n "checking where to find the sign bit in a 'float'... " >&6; }
  25872. +if ${gl_cv_cc_float_signbit+:} false; then :
  25873. + $as_echo_n "(cached) " >&6
  25874. +else
  25875. +
  25876. + if test "$cross_compiling" = yes; then :
  25877. +
  25878. + gl_cv_cc_float_signbit="unknown"
  25879. +
  25880. +else
  25881. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25882. +/* end confdefs.h. */
  25883. +
  25884. +#include <stddef.h>
  25885. +#include <stdio.h>
  25886. +#define NWORDS \
  25887. + ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  25888. +typedef union { float value; unsigned int word[NWORDS]; }
  25889. + memory_float;
  25890. +static memory_float plus = { 1.0f };
  25891. +static memory_float minus = { -1.0f };
  25892. +int main ()
  25893. +{
  25894. + size_t j, k, i;
  25895. + unsigned int m;
  25896. + FILE *fp = fopen ("conftest.out", "w");
  25897. + if (fp == NULL)
  25898. + return 1;
  25899. + /* Find the different bit. */
  25900. + k = 0; m = 0;
  25901. + for (j = 0; j < NWORDS; j++)
  25902. + {
  25903. + unsigned int x = plus.word[j] ^ minus.word[j];
  25904. + if ((x & (x - 1)) || (x && m))
  25905. + {
  25906. + /* More than one bit difference. */
  25907. + fprintf (fp, "unknown");
  25908. + return 2;
  25909. + }
  25910. + if (x)
  25911. + {
  25912. + k = j;
  25913. + m = x;
  25914. + }
  25915. + }
  25916. + if (m == 0)
  25917. + {
  25918. + /* No difference. */
  25919. + fprintf (fp, "unknown");
  25920. + return 3;
  25921. + }
  25922. + /* Now m = plus.word[k] ^ ~minus.word[k]. */
  25923. + if (plus.word[k] & ~minus.word[k])
  25924. + {
  25925. + /* Oh? The sign bit is set in the positive and cleared in the negative
  25926. + numbers? */
  25927. + fprintf (fp, "unknown");
  25928. + return 4;
  25929. + }
  25930. + for (i = 0; ; i++)
  25931. + if ((m >> i) & 1)
  25932. + break;
  25933. + fprintf (fp, "word %d bit %d", (int) k, (int) i);
  25934. + if (fclose (fp) != 0)
  25935. + return 5;
  25936. + return 0;
  25937. +}
  25938. +
  25939. +_ACEOF
  25940. +if ac_fn_c_try_run "$LINENO"; then :
  25941. + gl_cv_cc_float_signbit=`cat conftest.out`
  25942. +else
  25943. + gl_cv_cc_float_signbit="unknown"
  25944. +fi
  25945. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  25946. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  25947. +fi
  25948. +
  25949. + rm -f conftest.out
  25950. +
  25951. +fi
  25952. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_signbit" >&5
  25953. +$as_echo "$gl_cv_cc_float_signbit" >&6; }
  25954. + case "$gl_cv_cc_float_signbit" in
  25955. + word*bit*)
  25956. + word=`echo "$gl_cv_cc_float_signbit" | sed -e 's/word //' -e 's/ bit.*//'`
  25957. + bit=`echo "$gl_cv_cc_float_signbit" | sed -e 's/word.*bit //'`
  25958. +
  25959. +cat >>confdefs.h <<_ACEOF
  25960. +@%:@define FLT_SIGNBIT_WORD $word
  25961. +_ACEOF
  25962. +
  25963. +
  25964. +cat >>confdefs.h <<_ACEOF
  25965. +@%:@define FLT_SIGNBIT_BIT $bit
  25966. +_ACEOF
  25967. +
  25968. + ;;
  25969. + esac
  25970. +
  25971. +
  25972. +
  25973. +
  25974. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'double'" >&5
  25975. +$as_echo_n "checking where to find the sign bit in a 'double'... " >&6; }
  25976. +if ${gl_cv_cc_double_signbit+:} false; then :
  25977. + $as_echo_n "(cached) " >&6
  25978. +else
  25979. +
  25980. + if test "$cross_compiling" = yes; then :
  25981. +
  25982. + gl_cv_cc_double_signbit="unknown"
  25983. +
  25984. +else
  25985. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25986. +/* end confdefs.h. */
  25987. +
  25988. +#include <stddef.h>
  25989. +#include <stdio.h>
  25990. +#define NWORDS \
  25991. + ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  25992. +typedef union { double value; unsigned int word[NWORDS]; }
  25993. + memory_float;
  25994. +static memory_float plus = { 1.0 };
  25995. +static memory_float minus = { -1.0 };
  25996. +int main ()
  25997. +{
  25998. + size_t j, k, i;
  25999. + unsigned int m;
  26000. + FILE *fp = fopen ("conftest.out", "w");
  26001. + if (fp == NULL)
  26002. + return 1;
  26003. + /* Find the different bit. */
  26004. + k = 0; m = 0;
  26005. + for (j = 0; j < NWORDS; j++)
  26006. + {
  26007. + unsigned int x = plus.word[j] ^ minus.word[j];
  26008. + if ((x & (x - 1)) || (x && m))
  26009. + {
  26010. + /* More than one bit difference. */
  26011. + fprintf (fp, "unknown");
  26012. + return 2;
  26013. + }
  26014. + if (x)
  26015. + {
  26016. + k = j;
  26017. + m = x;
  26018. + }
  26019. + }
  26020. + if (m == 0)
  26021. + {
  26022. + /* No difference. */
  26023. + fprintf (fp, "unknown");
  26024. + return 3;
  26025. + }
  26026. + /* Now m = plus.word[k] ^ ~minus.word[k]. */
  26027. + if (plus.word[k] & ~minus.word[k])
  26028. + {
  26029. + /* Oh? The sign bit is set in the positive and cleared in the negative
  26030. + numbers? */
  26031. + fprintf (fp, "unknown");
  26032. + return 4;
  26033. + }
  26034. + for (i = 0; ; i++)
  26035. + if ((m >> i) & 1)
  26036. + break;
  26037. + fprintf (fp, "word %d bit %d", (int) k, (int) i);
  26038. + if (fclose (fp) != 0)
  26039. + return 5;
  26040. + return 0;
  26041. +}
  26042. +
  26043. +_ACEOF
  26044. +if ac_fn_c_try_run "$LINENO"; then :
  26045. + gl_cv_cc_double_signbit=`cat conftest.out`
  26046. +else
  26047. + gl_cv_cc_double_signbit="unknown"
  26048. +fi
  26049. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  26050. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  26051. +fi
  26052. +
  26053. + rm -f conftest.out
  26054. +
  26055. +fi
  26056. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_signbit" >&5
  26057. +$as_echo "$gl_cv_cc_double_signbit" >&6; }
  26058. + case "$gl_cv_cc_double_signbit" in
  26059. + word*bit*)
  26060. + word=`echo "$gl_cv_cc_double_signbit" | sed -e 's/word //' -e 's/ bit.*//'`
  26061. + bit=`echo "$gl_cv_cc_double_signbit" | sed -e 's/word.*bit //'`
  26062. +
  26063. +cat >>confdefs.h <<_ACEOF
  26064. +@%:@define DBL_SIGNBIT_WORD $word
  26065. +_ACEOF
  26066. +
  26067. +
  26068. +cat >>confdefs.h <<_ACEOF
  26069. +@%:@define DBL_SIGNBIT_BIT $bit
  26070. +_ACEOF
  26071. +
  26072. + ;;
  26073. + esac
  26074. +
  26075. +
  26076. +
  26077. +
  26078. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'long double'" >&5
  26079. +$as_echo_n "checking where to find the sign bit in a 'long double'... " >&6; }
  26080. +if ${gl_cv_cc_long_double_signbit+:} false; then :
  26081. + $as_echo_n "(cached) " >&6
  26082. +else
  26083. +
  26084. + if test "$cross_compiling" = yes; then :
  26085. +
  26086. + gl_cv_cc_long_double_signbit="unknown"
  26087. +
  26088. +else
  26089. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26090. +/* end confdefs.h. */
  26091. +
  26092. +#include <stddef.h>
  26093. +#include <stdio.h>
  26094. +#define NWORDS \
  26095. + ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  26096. +typedef union { long double value; unsigned int word[NWORDS]; }
  26097. + memory_float;
  26098. +static memory_float plus = { 1.0L };
  26099. +static memory_float minus = { -1.0L };
  26100. +int main ()
  26101. +{
  26102. + size_t j, k, i;
  26103. + unsigned int m;
  26104. + FILE *fp = fopen ("conftest.out", "w");
  26105. + if (fp == NULL)
  26106. + return 1;
  26107. + /* Find the different bit. */
  26108. + k = 0; m = 0;
  26109. + for (j = 0; j < NWORDS; j++)
  26110. + {
  26111. + unsigned int x = plus.word[j] ^ minus.word[j];
  26112. + if ((x & (x - 1)) || (x && m))
  26113. + {
  26114. + /* More than one bit difference. */
  26115. + fprintf (fp, "unknown");
  26116. + return 2;
  26117. + }
  26118. + if (x)
  26119. + {
  26120. + k = j;
  26121. + m = x;
  26122. + }
  26123. + }
  26124. + if (m == 0)
  26125. + {
  26126. + /* No difference. */
  26127. + fprintf (fp, "unknown");
  26128. + return 3;
  26129. + }
  26130. + /* Now m = plus.word[k] ^ ~minus.word[k]. */
  26131. + if (plus.word[k] & ~minus.word[k])
  26132. + {
  26133. + /* Oh? The sign bit is set in the positive and cleared in the negative
  26134. + numbers? */
  26135. + fprintf (fp, "unknown");
  26136. + return 4;
  26137. + }
  26138. + for (i = 0; ; i++)
  26139. + if ((m >> i) & 1)
  26140. + break;
  26141. + fprintf (fp, "word %d bit %d", (int) k, (int) i);
  26142. + if (fclose (fp) != 0)
  26143. + return 5;
  26144. + return 0;
  26145. +}
  26146. +
  26147. +_ACEOF
  26148. +if ac_fn_c_try_run "$LINENO"; then :
  26149. + gl_cv_cc_long_double_signbit=`cat conftest.out`
  26150. +else
  26151. + gl_cv_cc_long_double_signbit="unknown"
  26152. +fi
  26153. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  26154. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  26155. +fi
  26156. +
  26157. + rm -f conftest.out
  26158. +
  26159. +fi
  26160. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_signbit" >&5
  26161. +$as_echo "$gl_cv_cc_long_double_signbit" >&6; }
  26162. + case "$gl_cv_cc_long_double_signbit" in
  26163. + word*bit*)
  26164. + word=`echo "$gl_cv_cc_long_double_signbit" | sed -e 's/word //' -e 's/ bit.*//'`
  26165. + bit=`echo "$gl_cv_cc_long_double_signbit" | sed -e 's/word.*bit //'`
  26166. +
  26167. +cat >>confdefs.h <<_ACEOF
  26168. +@%:@define LDBL_SIGNBIT_WORD $word
  26169. +_ACEOF
  26170. +
  26171. +
  26172. +cat >>confdefs.h <<_ACEOF
  26173. +@%:@define LDBL_SIGNBIT_BIT $bit
  26174. +_ACEOF
  26175. +
  26176. + ;;
  26177. + esac
  26178. +
  26179. +
  26180. + if test "$gl_cv_cc_float_signbit" = unknown; then
  26181. + ac_fn_c_check_decl "$LINENO" "copysignf" "ac_cv_have_decl_copysignf" "#include <math.h>
  26182. +"
  26183. +if test "x$ac_cv_have_decl_copysignf" = xyes; then :
  26184. + ac_have_decl=1
  26185. +else
  26186. + ac_have_decl=0
  26187. +fi
  26188. +
  26189. +cat >>confdefs.h <<_ACEOF
  26190. +@%:@define HAVE_DECL_COPYSIGNF $ac_have_decl
  26191. +_ACEOF
  26192. +
  26193. + if test "$ac_cv_have_decl_copysignf" = yes; then
  26194. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignf can be used without linking with libm" >&5
  26195. +$as_echo_n "checking whether copysignf can be used without linking with libm... " >&6; }
  26196. +if ${gl_cv_func_copysignf_no_libm+:} false; then :
  26197. + $as_echo_n "(cached) " >&6
  26198. +else
  26199. +
  26200. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26201. +/* end confdefs.h. */
  26202. +#include <math.h>
  26203. + float x, y;
  26204. +int
  26205. +main ()
  26206. +{
  26207. +return copysignf (x, y) < 0;
  26208. + ;
  26209. + return 0;
  26210. +}
  26211. +_ACEOF
  26212. +if ac_fn_c_try_link "$LINENO"; then :
  26213. + gl_cv_func_copysignf_no_libm=yes
  26214. +else
  26215. + gl_cv_func_copysignf_no_libm=no
  26216. +fi
  26217. +rm -f core conftest.err conftest.$ac_objext \
  26218. + conftest$ac_exeext conftest.$ac_ext
  26219. +
  26220. +fi
  26221. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysignf_no_libm" >&5
  26222. +$as_echo "$gl_cv_func_copysignf_no_libm" >&6; }
  26223. + if test $gl_cv_func_copysignf_no_libm = yes; then
  26224. +
  26225. +$as_echo "@%:@define HAVE_COPYSIGNF_IN_LIBC 1" >>confdefs.h
  26226. +
  26227. + fi
  26228. + fi
  26229. + fi
  26230. + if test "$gl_cv_cc_double_signbit" = unknown; then
  26231. + ac_fn_c_check_decl "$LINENO" "copysign" "ac_cv_have_decl_copysign" "#include <math.h>
  26232. +"
  26233. +if test "x$ac_cv_have_decl_copysign" = xyes; then :
  26234. + ac_have_decl=1
  26235. +else
  26236. + ac_have_decl=0
  26237. +fi
  26238. +
  26239. +cat >>confdefs.h <<_ACEOF
  26240. +@%:@define HAVE_DECL_COPYSIGN $ac_have_decl
  26241. +_ACEOF
  26242. +
  26243. + if test "$ac_cv_have_decl_copysign" = yes; then
  26244. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysign can be used without linking with libm" >&5
  26245. +$as_echo_n "checking whether copysign can be used without linking with libm... " >&6; }
  26246. +if ${gl_cv_func_copysign_no_libm+:} false; then :
  26247. + $as_echo_n "(cached) " >&6
  26248. +else
  26249. +
  26250. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26251. +/* end confdefs.h. */
  26252. +#include <math.h>
  26253. + double x, y;
  26254. +int
  26255. +main ()
  26256. +{
  26257. +return copysign (x, y) < 0;
  26258. + ;
  26259. + return 0;
  26260. +}
  26261. +_ACEOF
  26262. +if ac_fn_c_try_link "$LINENO"; then :
  26263. + gl_cv_func_copysign_no_libm=yes
  26264. +else
  26265. + gl_cv_func_copysign_no_libm=no
  26266. +fi
  26267. +rm -f core conftest.err conftest.$ac_objext \
  26268. + conftest$ac_exeext conftest.$ac_ext
  26269. +
  26270. +fi
  26271. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysign_no_libm" >&5
  26272. +$as_echo "$gl_cv_func_copysign_no_libm" >&6; }
  26273. + if test $gl_cv_func_copysign_no_libm = yes; then
  26274. +
  26275. +$as_echo "@%:@define HAVE_COPYSIGN_IN_LIBC 1" >>confdefs.h
  26276. +
  26277. + fi
  26278. + fi
  26279. + fi
  26280. + if test "$gl_cv_cc_long_double_signbit" = unknown; then
  26281. + ac_fn_c_check_decl "$LINENO" "copysignl" "ac_cv_have_decl_copysignl" "#include <math.h>
  26282. +"
  26283. +if test "x$ac_cv_have_decl_copysignl" = xyes; then :
  26284. + ac_have_decl=1
  26285. +else
  26286. + ac_have_decl=0
  26287. +fi
  26288. +
  26289. +cat >>confdefs.h <<_ACEOF
  26290. +@%:@define HAVE_DECL_COPYSIGNL $ac_have_decl
  26291. +_ACEOF
  26292. +
  26293. + if test "$ac_cv_have_decl_copysignl" = yes; then
  26294. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignl can be used without linking with libm" >&5
  26295. +$as_echo_n "checking whether copysignl can be used without linking with libm... " >&6; }
  26296. +if ${gl_cv_func_copysignl_no_libm+:} false; then :
  26297. + $as_echo_n "(cached) " >&6
  26298. +else
  26299. +
  26300. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26301. +/* end confdefs.h. */
  26302. +#include <math.h>
  26303. + long double x, y;
  26304. +int
  26305. +main ()
  26306. +{
  26307. +return copysignl (x, y) < 0;
  26308. + ;
  26309. + return 0;
  26310. +}
  26311. +_ACEOF
  26312. +if ac_fn_c_try_link "$LINENO"; then :
  26313. + gl_cv_func_copysignl_no_libm=yes
  26314. +else
  26315. + gl_cv_func_copysignl_no_libm=no
  26316. +fi
  26317. +rm -f core conftest.err conftest.$ac_objext \
  26318. + conftest$ac_exeext conftest.$ac_ext
  26319. +
  26320. +fi
  26321. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysignl_no_libm" >&5
  26322. +$as_echo "$gl_cv_func_copysignl_no_libm" >&6; }
  26323. + if test $gl_cv_func_copysignl_no_libm = yes; then
  26324. +
  26325. +$as_echo "@%:@define HAVE_COPYSIGNL_IN_LIBC 1" >>confdefs.h
  26326. +
  26327. + fi
  26328. + fi
  26329. + fi
  26330. + fi
  26331. + fi
  26332. +
  26333. +
  26334. +
  26335. +
  26336. + GNULIB_SIGNBIT=1
  26337. +
  26338. +
  26339. +
  26340. +$as_echo "@%:@define GNULIB_TEST_SIGNBIT 1" >>confdefs.h
  26341. +
  26342. +
  26343. +
  26344. + # Code from module sigprocmask:
  26345. +
  26346. +
  26347. + signals_not_posix=
  26348. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26349. +/* end confdefs.h. */
  26350. +#include <signal.h>
  26351. +
  26352. +_ACEOF
  26353. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  26354. + $EGREP "sigset_t" >/dev/null 2>&1; then :
  26355. +
  26356. +else
  26357. + signals_not_posix=1
  26358. +fi
  26359. +rm -f conftest*
  26360. +
  26361. + if test -z "$signals_not_posix"; then
  26362. + ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
  26363. +if test "x$ac_cv_func_sigprocmask" = xyes; then :
  26364. + gl_cv_func_sigprocmask=1
  26365. +fi
  26366. +
  26367. + fi
  26368. + if test -z "$gl_cv_func_sigprocmask"; then
  26369. + HAVE_POSIX_SIGNALBLOCKING=0
  26370. +
  26371. +
  26372. +
  26373. +
  26374. +
  26375. +
  26376. +
  26377. +
  26378. + M4_LIBOBJS="$M4_LIBOBJS sigprocmask.$ac_objext"
  26379. +
  26380. +
  26381. +
  26382. + ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <signal.h>
  26383. +/* Mingw defines sigset_t not in <signal.h>, but in <sys/types.h>. */
  26384. +#include <sys/types.h>
  26385. +"
  26386. +if test "x$ac_cv_type_sigset_t" = xyes; then :
  26387. +
  26388. +cat >>confdefs.h <<_ACEOF
  26389. +@%:@define HAVE_SIGSET_T 1
  26390. +_ACEOF
  26391. +
  26392. +gl_cv_type_sigset_t=yes
  26393. +else
  26394. + gl_cv_type_sigset_t=no
  26395. +fi
  26396. +
  26397. + if test $gl_cv_type_sigset_t != yes; then
  26398. + HAVE_SIGSET_T=0
  26399. + fi
  26400. +
  26401. +
  26402. + fi
  26403. +
  26404. +
  26405. +
  26406. +
  26407. + GNULIB_SIGPROCMASK=1
  26408. +
  26409. +
  26410. +
  26411. +$as_echo "@%:@define GNULIB_TEST_SIGPROCMASK 1" >>confdefs.h
  26412. +
  26413. +
  26414. +
  26415. + # Code from module size_max:
  26416. +
  26417. + for ac_header in stdint.h
  26418. +do :
  26419. + ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
  26420. +if test "x$ac_cv_header_stdint_h" = xyes; then :
  26421. + cat >>confdefs.h <<_ACEOF
  26422. +@%:@define HAVE_STDINT_H 1
  26423. +_ACEOF
  26424. +
  26425. +fi
  26426. +
  26427. +done
  26428. +
  26429. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
  26430. +$as_echo_n "checking for SIZE_MAX... " >&6; }
  26431. +if ${gl_cv_size_max+:} false; then :
  26432. + $as_echo_n "(cached) " >&6
  26433. +else
  26434. +
  26435. + gl_cv_size_max=
  26436. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26437. +/* end confdefs.h. */
  26438. +
  26439. +#include <limits.h>
  26440. +#if HAVE_STDINT_H
  26441. +#include <stdint.h>
  26442. +#endif
  26443. +#ifdef SIZE_MAX
  26444. +Found it
  26445. +#endif
  26446. +
  26447. +_ACEOF
  26448. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  26449. + $EGREP "Found it" >/dev/null 2>&1; then :
  26450. + gl_cv_size_max=yes
  26451. +fi
  26452. +rm -f conftest*
  26453. +
  26454. + if test -z "$gl_cv_size_max"; then
  26455. + if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1" "#include <stddef.h>
  26456. +#include <limits.h>"; then :
  26457. +
  26458. +else
  26459. + size_t_bits_minus_1=
  26460. +fi
  26461. +
  26462. + if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include <stddef.h>"; then :
  26463. +
  26464. +else
  26465. + fits_in_uint=
  26466. +fi
  26467. +
  26468. + if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
  26469. + if test $fits_in_uint = 1; then
  26470. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26471. +/* end confdefs.h. */
  26472. +#include <stddef.h>
  26473. + extern size_t foo;
  26474. + extern unsigned long foo;
  26475. +
  26476. +int
  26477. +main ()
  26478. +{
  26479. +
  26480. + ;
  26481. + return 0;
  26482. +}
  26483. +_ACEOF
  26484. +if ac_fn_c_try_compile "$LINENO"; then :
  26485. + fits_in_uint=0
  26486. +fi
  26487. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26488. + fi
  26489. + if test $fits_in_uint = 1; then
  26490. + gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
  26491. + else
  26492. + gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
  26493. + fi
  26494. + else
  26495. + gl_cv_size_max='((size_t)~(size_t)0)'
  26496. + fi
  26497. + fi
  26498. +
  26499. +fi
  26500. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5
  26501. +$as_echo "$gl_cv_size_max" >&6; }
  26502. + if test "$gl_cv_size_max" != yes; then
  26503. +
  26504. +cat >>confdefs.h <<_ACEOF
  26505. +@%:@define SIZE_MAX $gl_cv_size_max
  26506. +_ACEOF
  26507. +
  26508. + fi
  26509. +
  26510. +
  26511. + # Code from module snprintf:
  26512. +
  26513. +
  26514. + gl_cv_func_snprintf_usable=no
  26515. + for ac_func in snprintf
  26516. +do :
  26517. + ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
  26518. +if test "x$ac_cv_func_snprintf" = xyes; then :
  26519. + cat >>confdefs.h <<_ACEOF
  26520. +@%:@define HAVE_SNPRINTF 1
  26521. +_ACEOF
  26522. +
  26523. +fi
  26524. +done
  26525. +
  26526. + if test $ac_cv_func_snprintf = yes; then
  26527. +
  26528. +
  26529. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5
  26530. +$as_echo_n "checking whether snprintf respects a size of 1... " >&6; }
  26531. +if ${gl_cv_func_snprintf_size1+:} false; then :
  26532. + $as_echo_n "(cached) " >&6
  26533. +else
  26534. +
  26535. + if test "$cross_compiling" = yes; then :
  26536. + gl_cv_func_snprintf_size1="guessing yes"
  26537. +else
  26538. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26539. +/* end confdefs.h. */
  26540. +
  26541. +#include <stdio.h>
  26542. +int main()
  26543. +{
  26544. + static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' };
  26545. + snprintf (buf, 1, "%d", 12345);
  26546. + return buf[1] != 'E';
  26547. +}
  26548. +_ACEOF
  26549. +if ac_fn_c_try_run "$LINENO"; then :
  26550. + gl_cv_func_snprintf_size1=yes
  26551. +else
  26552. + gl_cv_func_snprintf_size1=no
  26553. +fi
  26554. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  26555. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  26556. +fi
  26557. +
  26558. +
  26559. +fi
  26560. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_size1" >&5
  26561. +$as_echo "$gl_cv_func_snprintf_size1" >&6; }
  26562. +
  26563. + case "$gl_cv_func_snprintf_size1" in
  26564. + *yes)
  26565. +
  26566. + case "$gl_cv_func_snprintf_retval_c99" in
  26567. + *yes)
  26568. + gl_cv_func_snprintf_usable=yes
  26569. + ;;
  26570. + esac
  26571. + ;;
  26572. + esac
  26573. + fi
  26574. + if test $gl_cv_func_snprintf_usable = no; then
  26575. +
  26576. +
  26577. +
  26578. +
  26579. +
  26580. +
  26581. +
  26582. +
  26583. +
  26584. +
  26585. + M4_LIBOBJS="$M4_LIBOBJS snprintf.$ac_objext"
  26586. +
  26587. + if test $ac_cv_func_snprintf = yes; then
  26588. + REPLACE_SNPRINTF=1
  26589. + fi
  26590. + :
  26591. +
  26592. + fi
  26593. +
  26594. + if test $ac_cv_have_decl_snprintf = no; then
  26595. + HAVE_DECL_SNPRINTF=0
  26596. + fi
  26597. +
  26598. +
  26599. +
  26600. +
  26601. + GNULIB_SNPRINTF=1
  26602. +
  26603. +
  26604. +
  26605. +$as_echo "@%:@define GNULIB_TEST_SNPRINTF 1" >>confdefs.h
  26606. +
  26607. +
  26608. +
  26609. +
  26610. +
  26611. +cat >>confdefs.h <<_ACEOF
  26612. +@%:@define GNULIB_SNPRINTF 1
  26613. +_ACEOF
  26614. +
  26615. +
  26616. + # Code from module spawn:
  26617. +
  26618. +
  26619. +
  26620. +
  26621. +
  26622. +
  26623. +
  26624. +
  26625. +
  26626. +
  26627. +
  26628. +
  26629. + if test $gl_cv_have_include_next = yes; then
  26630. + gl_cv_next_spawn_h='<'spawn.h'>'
  26631. + else
  26632. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <spawn.h>" >&5
  26633. +$as_echo_n "checking absolute name of <spawn.h>... " >&6; }
  26634. +if ${gl_cv_next_spawn_h+:} false; then :
  26635. + $as_echo_n "(cached) " >&6
  26636. +else
  26637. +
  26638. + if test $ac_cv_header_spawn_h = yes; then
  26639. +
  26640. +
  26641. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26642. +/* end confdefs.h. */
  26643. +#include <spawn.h>
  26644. +
  26645. +_ACEOF
  26646. + case "$host_os" in
  26647. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  26648. + *) gl_absname_cpp="$ac_cpp" ;;
  26649. + esac
  26650. + gl_cv_next_spawn_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  26651. + sed -n '\#/spawn.h#{
  26652. + s#.*"\(.*/spawn.h\)".*#\1#
  26653. + s#^/[^/]#//&#
  26654. + p
  26655. + q
  26656. + }'`'"'
  26657. + else
  26658. + gl_cv_next_spawn_h='<'spawn.h'>'
  26659. + fi
  26660. +
  26661. +
  26662. +fi
  26663. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_spawn_h" >&5
  26664. +$as_echo "$gl_cv_next_spawn_h" >&6; }
  26665. + fi
  26666. + NEXT_SPAWN_H=$gl_cv_next_spawn_h
  26667. +
  26668. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  26669. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  26670. + gl_next_as_first_directive='<'spawn.h'>'
  26671. + else
  26672. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  26673. + gl_next_as_first_directive=$gl_cv_next_spawn_h
  26674. + fi
  26675. + NEXT_AS_FIRST_DIRECTIVE_SPAWN_H=$gl_next_as_first_directive
  26676. +
  26677. +
  26678. +
  26679. +
  26680. +
  26681. + if test $ac_cv_header_spawn_h = yes; then
  26682. + HAVE_SPAWN_H=1
  26683. + ac_fn_c_check_type "$LINENO" "posix_spawnattr_t" "ac_cv_type_posix_spawnattr_t" "
  26684. +#include <spawn.h>
  26685. +
  26686. +"
  26687. +if test "x$ac_cv_type_posix_spawnattr_t" = xyes; then :
  26688. +
  26689. +cat >>confdefs.h <<_ACEOF
  26690. +@%:@define HAVE_POSIX_SPAWNATTR_T 1
  26691. +_ACEOF
  26692. +
  26693. +
  26694. +else
  26695. + HAVE_POSIX_SPAWNATTR_T=0
  26696. +fi
  26697. +
  26698. + ac_fn_c_check_type "$LINENO" "posix_spawn_file_actions_t" "ac_cv_type_posix_spawn_file_actions_t" "
  26699. +#include <spawn.h>
  26700. +
  26701. +"
  26702. +if test "x$ac_cv_type_posix_spawn_file_actions_t" = xyes; then :
  26703. +
  26704. +cat >>confdefs.h <<_ACEOF
  26705. +@%:@define HAVE_POSIX_SPAWN_FILE_ACTIONS_T 1
  26706. +_ACEOF
  26707. +
  26708. +
  26709. +else
  26710. + HAVE_POSIX_SPAWN_FILE_ACTIONS_T=0
  26711. +fi
  26712. +
  26713. + else
  26714. + HAVE_SPAWN_H=0
  26715. + HAVE_POSIX_SPAWNATTR_T=0
  26716. + HAVE_POSIX_SPAWN_FILE_ACTIONS_T=0
  26717. +
  26718. + :
  26719. +
  26720. + fi
  26721. +
  26722. +
  26723. +
  26724. +
  26725. +
  26726. +
  26727. +
  26728. +
  26729. + # Code from module spawn-pipe:
  26730. +
  26731. +
  26732. +
  26733. +
  26734. + # Code from module ssize_t:
  26735. +
  26736. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
  26737. +$as_echo_n "checking for ssize_t... " >&6; }
  26738. +if ${gt_cv_ssize_t+:} false; then :
  26739. + $as_echo_n "(cached) " >&6
  26740. +else
  26741. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26742. +/* end confdefs.h. */
  26743. +#include <sys/types.h>
  26744. +int
  26745. +main ()
  26746. +{
  26747. +int x = sizeof (ssize_t *) + sizeof (ssize_t);
  26748. + return !x;
  26749. + ;
  26750. + return 0;
  26751. +}
  26752. +_ACEOF
  26753. +if ac_fn_c_try_compile "$LINENO"; then :
  26754. + gt_cv_ssize_t=yes
  26755. +else
  26756. + gt_cv_ssize_t=no
  26757. +fi
  26758. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26759. +fi
  26760. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5
  26761. +$as_echo "$gt_cv_ssize_t" >&6; }
  26762. + if test $gt_cv_ssize_t = no; then
  26763. +
  26764. +$as_echo "@%:@define ssize_t int" >>confdefs.h
  26765. +
  26766. + fi
  26767. +
  26768. + # Code from module stat:
  26769. +
  26770. +
  26771. +
  26772. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on directories" >&5
  26773. +$as_echo_n "checking whether stat handles trailing slashes on directories... " >&6; }
  26774. +if ${gl_cv_func_stat_dir_slash+:} false; then :
  26775. + $as_echo_n "(cached) " >&6
  26776. +else
  26777. + if test "$cross_compiling" = yes; then :
  26778. + case $host_os in
  26779. + mingw*) gl_cv_func_stat_dir_slash="guessing no";;
  26780. + *) gl_cv_func_stat_dir_slash="guessing yes";;
  26781. + esac
  26782. +else
  26783. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26784. +/* end confdefs.h. */
  26785. +#include <sys/stat.h>
  26786. +
  26787. +int
  26788. +main ()
  26789. +{
  26790. +struct stat st; return stat (".", &st) != stat ("./", &st);
  26791. + ;
  26792. + return 0;
  26793. +}
  26794. +_ACEOF
  26795. +if ac_fn_c_try_run "$LINENO"; then :
  26796. + gl_cv_func_stat_dir_slash=yes
  26797. +else
  26798. + gl_cv_func_stat_dir_slash=no
  26799. +fi
  26800. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  26801. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  26802. +fi
  26803. +
  26804. +fi
  26805. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_dir_slash" >&5
  26806. +$as_echo "$gl_cv_func_stat_dir_slash" >&6; }
  26807. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5
  26808. +$as_echo_n "checking whether stat handles trailing slashes on files... " >&6; }
  26809. +if ${gl_cv_func_stat_file_slash+:} false; then :
  26810. + $as_echo_n "(cached) " >&6
  26811. +else
  26812. + touch conftest.tmp
  26813. + # Assume that if we have lstat, we can also check symlinks.
  26814. + if test $ac_cv_func_lstat = yes; then
  26815. + ln -s conftest.tmp conftest.lnk
  26816. + fi
  26817. + if test "$cross_compiling" = yes; then :
  26818. + gl_cv_func_stat_file_slash="guessing no"
  26819. +else
  26820. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26821. +/* end confdefs.h. */
  26822. +#include <sys/stat.h>
  26823. +
  26824. +int
  26825. +main ()
  26826. +{
  26827. +int result = 0;
  26828. + struct stat st;
  26829. + if (!stat ("conftest.tmp/", &st))
  26830. + result |= 1;
  26831. +#if HAVE_LSTAT
  26832. + if (!stat ("conftest.lnk/", &st))
  26833. + result |= 2;
  26834. +#endif
  26835. + return result;
  26836. +
  26837. + ;
  26838. + return 0;
  26839. +}
  26840. +_ACEOF
  26841. +if ac_fn_c_try_run "$LINENO"; then :
  26842. + gl_cv_func_stat_file_slash=yes
  26843. +else
  26844. + gl_cv_func_stat_file_slash=no
  26845. +fi
  26846. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  26847. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  26848. +fi
  26849. +
  26850. + rm -f conftest.tmp conftest.lnk
  26851. +fi
  26852. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_file_slash" >&5
  26853. +$as_echo "$gl_cv_func_stat_file_slash" >&6; }
  26854. + case $gl_cv_func_stat_dir_slash in
  26855. + *no) REPLACE_STAT=1
  26856. +
  26857. +$as_echo "@%:@define REPLACE_FUNC_STAT_DIR 1" >>confdefs.h
  26858. +;;
  26859. + esac
  26860. + case $gl_cv_func_stat_file_slash in
  26861. + *no) REPLACE_STAT=1
  26862. +
  26863. +$as_echo "@%:@define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h
  26864. +;;
  26865. + esac
  26866. + if test $REPLACE_STAT = 1; then
  26867. +
  26868. +
  26869. +
  26870. +
  26871. +
  26872. +
  26873. +
  26874. +
  26875. + M4_LIBOBJS="$M4_LIBOBJS stat.$ac_objext"
  26876. +
  26877. +
  26878. + fi
  26879. +
  26880. +
  26881. +
  26882. +
  26883. + GNULIB_STAT=1
  26884. +
  26885. +
  26886. +
  26887. +$as_echo "@%:@define GNULIB_TEST_STAT 1" >>confdefs.h
  26888. +
  26889. +
  26890. +
  26891. + # Code from module stdarg:
  26892. +
  26893. + STDARG_H='';
  26894. + NEXT_STDARG_H='<stdarg.h>';
  26895. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
  26896. +$as_echo_n "checking for va_copy... " >&6; }
  26897. + if ${gl_cv_func_va_copy+:} false; then :
  26898. + $as_echo_n "(cached) " >&6
  26899. +else
  26900. +
  26901. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26902. +/* end confdefs.h. */
  26903. +#include <stdarg.h>
  26904. +int
  26905. +main ()
  26906. +{
  26907. +
  26908. +#ifndef va_copy
  26909. +void (*func) (va_list, va_list) = va_copy;
  26910. +#endif
  26911. +
  26912. + ;
  26913. + return 0;
  26914. +}
  26915. +_ACEOF
  26916. +if ac_fn_c_try_compile "$LINENO"; then :
  26917. + gl_cv_func_va_copy=yes
  26918. +else
  26919. + gl_cv_func_va_copy=no
  26920. +fi
  26921. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26922. +fi
  26923. +
  26924. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_va_copy" >&5
  26925. +$as_echo "$gl_cv_func_va_copy" >&6; }
  26926. + if test $gl_cv_func_va_copy = no; then
  26927. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26928. +/* end confdefs.h. */
  26929. +#if defined _AIX && !defined __GNUC__
  26930. + AIX vaccine
  26931. + #endif
  26932. +
  26933. +_ACEOF
  26934. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  26935. + $EGREP "vaccine" >/dev/null 2>&1; then :
  26936. + gl_aixcc=yes
  26937. +else
  26938. + gl_aixcc=no
  26939. +fi
  26940. +rm -f conftest*
  26941. +
  26942. + if test $gl_aixcc = yes; then
  26943. + STDARG_H=stdarg.h
  26944. +
  26945. +
  26946. +
  26947. +
  26948. +
  26949. +
  26950. +
  26951. +
  26952. + if test $gl_cv_have_include_next = yes; then
  26953. + gl_cv_next_stdarg_h='<'stdarg.h'>'
  26954. + else
  26955. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdarg.h>" >&5
  26956. +$as_echo_n "checking absolute name of <stdarg.h>... " >&6; }
  26957. +if ${gl_cv_next_stdarg_h+:} false; then :
  26958. + $as_echo_n "(cached) " >&6
  26959. +else
  26960. +
  26961. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26962. +/* end confdefs.h. */
  26963. +#include <stdarg.h>
  26964. +
  26965. +_ACEOF
  26966. + case "$host_os" in
  26967. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  26968. + *) gl_absname_cpp="$ac_cpp" ;;
  26969. + esac
  26970. + gl_cv_next_stdarg_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  26971. + sed -n '\#/stdarg.h#{
  26972. + s#.*"\(.*/stdarg.h\)".*#\1#
  26973. + s#^/[^/]#//&#
  26974. + p
  26975. + q
  26976. + }'`'"'
  26977. +
  26978. +
  26979. +fi
  26980. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdarg_h" >&5
  26981. +$as_echo "$gl_cv_next_stdarg_h" >&6; }
  26982. + fi
  26983. + NEXT_STDARG_H=$gl_cv_next_stdarg_h
  26984. +
  26985. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  26986. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  26987. + gl_next_as_first_directive='<'stdarg.h'>'
  26988. + else
  26989. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  26990. + gl_next_as_first_directive=$gl_cv_next_stdarg_h
  26991. + fi
  26992. + NEXT_AS_FIRST_DIRECTIVE_STDARG_H=$gl_next_as_first_directive
  26993. +
  26994. +
  26995. +
  26996. +
  26997. + if test "$gl_cv_next_stdarg_h" = '""'; then
  26998. + gl_cv_next_stdarg_h='"///usr/include/stdarg.h"'
  26999. + NEXT_STDARG_H="$gl_cv_next_stdarg_h"
  27000. + fi
  27001. + else
  27002. +
  27003. + saved_as_echo_n="$as_echo_n"
  27004. + as_echo_n=':'
  27005. + if ${gl_cv_func___va_copy+:} false; then :
  27006. + $as_echo_n "(cached) " >&6
  27007. +else
  27008. +
  27009. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27010. +/* end confdefs.h. */
  27011. +#include <stdarg.h>
  27012. +int
  27013. +main ()
  27014. +{
  27015. +
  27016. +#ifndef __va_copy
  27017. +error, bail out
  27018. +#endif
  27019. +
  27020. + ;
  27021. + return 0;
  27022. +}
  27023. +_ACEOF
  27024. +if ac_fn_c_try_compile "$LINENO"; then :
  27025. + gl_cv_func___va_copy=yes
  27026. +else
  27027. + gl_cv_func___va_copy=no
  27028. +fi
  27029. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27030. +fi
  27031. +
  27032. + as_echo_n="$saved_as_echo_n"
  27033. +
  27034. + if test $gl_cv_func___va_copy = yes; then
  27035. +
  27036. +$as_echo "@%:@define va_copy __va_copy" >>confdefs.h
  27037. +
  27038. + else
  27039. +
  27040. +
  27041. +$as_echo "@%:@define va_copy gl_va_copy" >>confdefs.h
  27042. +
  27043. + fi
  27044. + fi
  27045. + fi
  27046. +
  27047. + # Code from module stdbool:
  27048. +
  27049. +
  27050. +
  27051. + # Define two additional variables used in the Makefile substitution.
  27052. +
  27053. + if test "$ac_cv_header_stdbool_h" = yes; then
  27054. + STDBOOL_H=''
  27055. + else
  27056. + STDBOOL_H='stdbool.h'
  27057. + fi
  27058. +
  27059. +
  27060. + if test "$ac_cv_type__Bool" = yes; then
  27061. + HAVE__BOOL=1
  27062. + else
  27063. + HAVE__BOOL=0
  27064. + fi
  27065. +
  27066. +
  27067. + # Code from module stddef:
  27068. +
  27069. +
  27070. +
  27071. + if test $gt_cv_c_wchar_t = no; then
  27072. + HAVE_WCHAR_T=0
  27073. + STDDEF_H=stddef.h
  27074. + fi
  27075. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
  27076. +$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
  27077. +if ${gl_cv_decl_null_works+:} false; then :
  27078. + $as_echo_n "(cached) " >&6
  27079. +else
  27080. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27081. +/* end confdefs.h. */
  27082. +#include <stddef.h>
  27083. + int test[2 * (sizeof NULL == sizeof (void *)) -1];
  27084. +
  27085. +int
  27086. +main ()
  27087. +{
  27088. +
  27089. + ;
  27090. + return 0;
  27091. +}
  27092. +_ACEOF
  27093. +if ac_fn_c_try_compile "$LINENO"; then :
  27094. + gl_cv_decl_null_works=yes
  27095. +else
  27096. + gl_cv_decl_null_works=no
  27097. +fi
  27098. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27099. +fi
  27100. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5
  27101. +$as_echo "$gl_cv_decl_null_works" >&6; }
  27102. + if test $gl_cv_decl_null_works = no; then
  27103. + REPLACE_NULL=1
  27104. + STDDEF_H=stddef.h
  27105. + fi
  27106. + if test -n "$STDDEF_H"; then
  27107. +
  27108. +
  27109. +
  27110. +
  27111. +
  27112. +
  27113. +
  27114. +
  27115. + if test $gl_cv_have_include_next = yes; then
  27116. + gl_cv_next_stddef_h='<'stddef.h'>'
  27117. + else
  27118. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
  27119. +$as_echo_n "checking absolute name of <stddef.h>... " >&6; }
  27120. +if ${gl_cv_next_stddef_h+:} false; then :
  27121. + $as_echo_n "(cached) " >&6
  27122. +else
  27123. +
  27124. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27125. +/* end confdefs.h. */
  27126. +#include <stddef.h>
  27127. +
  27128. +_ACEOF
  27129. + case "$host_os" in
  27130. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  27131. + *) gl_absname_cpp="$ac_cpp" ;;
  27132. + esac
  27133. + gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  27134. + sed -n '\#/stddef.h#{
  27135. + s#.*"\(.*/stddef.h\)".*#\1#
  27136. + s#^/[^/]#//&#
  27137. + p
  27138. + q
  27139. + }'`'"'
  27140. +
  27141. +
  27142. +fi
  27143. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
  27144. +$as_echo "$gl_cv_next_stddef_h" >&6; }
  27145. + fi
  27146. + NEXT_STDDEF_H=$gl_cv_next_stddef_h
  27147. +
  27148. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  27149. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  27150. + gl_next_as_first_directive='<'stddef.h'>'
  27151. + else
  27152. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  27153. + gl_next_as_first_directive=$gl_cv_next_stddef_h
  27154. + fi
  27155. + NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive
  27156. +
  27157. +
  27158. +
  27159. +
  27160. + fi
  27161. +
  27162. + # Code from module stdint:
  27163. +
  27164. +
  27165. +
  27166. + if test $ac_cv_type_long_long_int = yes; then
  27167. + HAVE_LONG_LONG_INT=1
  27168. + else
  27169. + HAVE_LONG_LONG_INT=0
  27170. + fi
  27171. +
  27172. +
  27173. + if test $ac_cv_type_unsigned_long_long_int = yes; then
  27174. + HAVE_UNSIGNED_LONG_LONG_INT=1
  27175. + else
  27176. + HAVE_UNSIGNED_LONG_LONG_INT=0
  27177. + fi
  27178. +
  27179. +
  27180. +
  27181. + if test $ac_cv_header_wchar_h = yes; then
  27182. + HAVE_WCHAR_H=1
  27183. + else
  27184. + HAVE_WCHAR_H=0
  27185. + fi
  27186. +
  27187. +
  27188. + if test $ac_cv_header_inttypes_h = yes; then
  27189. + HAVE_INTTYPES_H=1
  27190. + else
  27191. + HAVE_INTTYPES_H=0
  27192. + fi
  27193. +
  27194. +
  27195. + if test $ac_cv_header_sys_types_h = yes; then
  27196. + HAVE_SYS_TYPES_H=1
  27197. + else
  27198. + HAVE_SYS_TYPES_H=0
  27199. + fi
  27200. +
  27201. +
  27202. +
  27203. +
  27204. +
  27205. +
  27206. +
  27207. +
  27208. +
  27209. +
  27210. +
  27211. + if test $gl_cv_have_include_next = yes; then
  27212. + gl_cv_next_stdint_h='<'stdint.h'>'
  27213. + else
  27214. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
  27215. +$as_echo_n "checking absolute name of <stdint.h>... " >&6; }
  27216. +if ${gl_cv_next_stdint_h+:} false; then :
  27217. + $as_echo_n "(cached) " >&6
  27218. +else
  27219. +
  27220. + if test $ac_cv_header_stdint_h = yes; then
  27221. +
  27222. +
  27223. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27224. +/* end confdefs.h. */
  27225. +#include <stdint.h>
  27226. +
  27227. +_ACEOF
  27228. + case "$host_os" in
  27229. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  27230. + *) gl_absname_cpp="$ac_cpp" ;;
  27231. + esac
  27232. + gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  27233. + sed -n '\#/stdint.h#{
  27234. + s#.*"\(.*/stdint.h\)".*#\1#
  27235. + s#^/[^/]#//&#
  27236. + p
  27237. + q
  27238. + }'`'"'
  27239. + else
  27240. + gl_cv_next_stdint_h='<'stdint.h'>'
  27241. + fi
  27242. +
  27243. +
  27244. +fi
  27245. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5
  27246. +$as_echo "$gl_cv_next_stdint_h" >&6; }
  27247. + fi
  27248. + NEXT_STDINT_H=$gl_cv_next_stdint_h
  27249. +
  27250. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  27251. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  27252. + gl_next_as_first_directive='<'stdint.h'>'
  27253. + else
  27254. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  27255. + gl_next_as_first_directive=$gl_cv_next_stdint_h
  27256. + fi
  27257. + NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive
  27258. +
  27259. +
  27260. +
  27261. +
  27262. + if test $ac_cv_header_stdint_h = yes; then
  27263. + HAVE_STDINT_H=1
  27264. + else
  27265. + HAVE_STDINT_H=0
  27266. + fi
  27267. +
  27268. +
  27269. + if test $ac_cv_header_stdint_h = yes; then
  27270. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
  27271. +$as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
  27272. +if ${gl_cv_header_working_stdint_h+:} false; then :
  27273. + $as_echo_n "(cached) " >&6
  27274. +else
  27275. + gl_cv_header_working_stdint_h=no
  27276. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27277. +/* end confdefs.h. */
  27278. +
  27279. +
  27280. +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
  27281. +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
  27282. +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
  27283. +#include <stdint.h>
  27284. +/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */
  27285. +#if !(defined WCHAR_MIN && defined WCHAR_MAX)
  27286. +#error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
  27287. +#endif
  27288. +
  27289. +
  27290. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  27291. + included before <wchar.h>. */
  27292. + #include <stddef.h>
  27293. + #include <signal.h>
  27294. + #if HAVE_WCHAR_H
  27295. + # include <stdio.h>
  27296. + # include <time.h>
  27297. + # include <wchar.h>
  27298. + #endif
  27299. +
  27300. +
  27301. +#ifdef INT8_MAX
  27302. +int8_t a1 = INT8_MAX;
  27303. +int8_t a1min = INT8_MIN;
  27304. +#endif
  27305. +#ifdef INT16_MAX
  27306. +int16_t a2 = INT16_MAX;
  27307. +int16_t a2min = INT16_MIN;
  27308. +#endif
  27309. +#ifdef INT32_MAX
  27310. +int32_t a3 = INT32_MAX;
  27311. +int32_t a3min = INT32_MIN;
  27312. +#endif
  27313. +#ifdef INT64_MAX
  27314. +int64_t a4 = INT64_MAX;
  27315. +int64_t a4min = INT64_MIN;
  27316. +#endif
  27317. +#ifdef UINT8_MAX
  27318. +uint8_t b1 = UINT8_MAX;
  27319. +#else
  27320. +typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
  27321. +#endif
  27322. +#ifdef UINT16_MAX
  27323. +uint16_t b2 = UINT16_MAX;
  27324. +#endif
  27325. +#ifdef UINT32_MAX
  27326. +uint32_t b3 = UINT32_MAX;
  27327. +#endif
  27328. +#ifdef UINT64_MAX
  27329. +uint64_t b4 = UINT64_MAX;
  27330. +#endif
  27331. +int_least8_t c1 = INT8_C (0x7f);
  27332. +int_least8_t c1max = INT_LEAST8_MAX;
  27333. +int_least8_t c1min = INT_LEAST8_MIN;
  27334. +int_least16_t c2 = INT16_C (0x7fff);
  27335. +int_least16_t c2max = INT_LEAST16_MAX;
  27336. +int_least16_t c2min = INT_LEAST16_MIN;
  27337. +int_least32_t c3 = INT32_C (0x7fffffff);
  27338. +int_least32_t c3max = INT_LEAST32_MAX;
  27339. +int_least32_t c3min = INT_LEAST32_MIN;
  27340. +int_least64_t c4 = INT64_C (0x7fffffffffffffff);
  27341. +int_least64_t c4max = INT_LEAST64_MAX;
  27342. +int_least64_t c4min = INT_LEAST64_MIN;
  27343. +uint_least8_t d1 = UINT8_C (0xff);
  27344. +uint_least8_t d1max = UINT_LEAST8_MAX;
  27345. +uint_least16_t d2 = UINT16_C (0xffff);
  27346. +uint_least16_t d2max = UINT_LEAST16_MAX;
  27347. +uint_least32_t d3 = UINT32_C (0xffffffff);
  27348. +uint_least32_t d3max = UINT_LEAST32_MAX;
  27349. +uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
  27350. +uint_least64_t d4max = UINT_LEAST64_MAX;
  27351. +int_fast8_t e1 = INT_FAST8_MAX;
  27352. +int_fast8_t e1min = INT_FAST8_MIN;
  27353. +int_fast16_t e2 = INT_FAST16_MAX;
  27354. +int_fast16_t e2min = INT_FAST16_MIN;
  27355. +int_fast32_t e3 = INT_FAST32_MAX;
  27356. +int_fast32_t e3min = INT_FAST32_MIN;
  27357. +int_fast64_t e4 = INT_FAST64_MAX;
  27358. +int_fast64_t e4min = INT_FAST64_MIN;
  27359. +uint_fast8_t f1 = UINT_FAST8_MAX;
  27360. +uint_fast16_t f2 = UINT_FAST16_MAX;
  27361. +uint_fast32_t f3 = UINT_FAST32_MAX;
  27362. +uint_fast64_t f4 = UINT_FAST64_MAX;
  27363. +#ifdef INTPTR_MAX
  27364. +intptr_t g = INTPTR_MAX;
  27365. +intptr_t gmin = INTPTR_MIN;
  27366. +#endif
  27367. +#ifdef UINTPTR_MAX
  27368. +uintptr_t h = UINTPTR_MAX;
  27369. +#endif
  27370. +intmax_t i = INTMAX_MAX;
  27371. +uintmax_t j = UINTMAX_MAX;
  27372. +
  27373. +#include <limits.h> /* for CHAR_BIT */
  27374. +#define TYPE_MINIMUM(t) \
  27375. + ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t)))
  27376. +#define TYPE_MAXIMUM(t) \
  27377. + ((t) ((t) 0 < (t) -1 \
  27378. + ? (t) -1 \
  27379. + : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
  27380. +struct s {
  27381. + int check_PTRDIFF:
  27382. + PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
  27383. + && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
  27384. + ? 1 : -1;
  27385. + /* Detect bug in FreeBSD 6.0 / ia64. */
  27386. + int check_SIG_ATOMIC:
  27387. + SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
  27388. + && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
  27389. + ? 1 : -1;
  27390. + int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
  27391. + int check_WCHAR:
  27392. + WCHAR_MIN == TYPE_MINIMUM (wchar_t)
  27393. + && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
  27394. + ? 1 : -1;
  27395. + /* Detect bug in mingw. */
  27396. + int check_WINT:
  27397. + WINT_MIN == TYPE_MINIMUM (wint_t)
  27398. + && WINT_MAX == TYPE_MAXIMUM (wint_t)
  27399. + ? 1 : -1;
  27400. +
  27401. + /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */
  27402. + int check_UINT8_C:
  27403. + (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
  27404. + int check_UINT16_C:
  27405. + (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
  27406. +
  27407. + /* Detect bugs in OpenBSD 3.9 stdint.h. */
  27408. +#ifdef UINT8_MAX
  27409. + int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
  27410. +#endif
  27411. +#ifdef UINT16_MAX
  27412. + int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
  27413. +#endif
  27414. +#ifdef UINT32_MAX
  27415. + int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
  27416. +#endif
  27417. +#ifdef UINT64_MAX
  27418. + int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
  27419. +#endif
  27420. + int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
  27421. + int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
  27422. + int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
  27423. + int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
  27424. + int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
  27425. + int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
  27426. + int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
  27427. + int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
  27428. + int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
  27429. + int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
  27430. + int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
  27431. +};
  27432. +
  27433. +int
  27434. +main ()
  27435. +{
  27436. +
  27437. + ;
  27438. + return 0;
  27439. +}
  27440. +_ACEOF
  27441. +if ac_fn_c_try_compile "$LINENO"; then :
  27442. + if test "$cross_compiling" = yes; then :
  27443. + gl_cv_header_working_stdint_h=yes
  27444. +
  27445. +else
  27446. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27447. +/* end confdefs.h. */
  27448. +
  27449. +
  27450. +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
  27451. +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
  27452. +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
  27453. +#include <stdint.h>
  27454. +
  27455. +
  27456. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  27457. + included before <wchar.h>. */
  27458. + #include <stddef.h>
  27459. + #include <signal.h>
  27460. + #if HAVE_WCHAR_H
  27461. + # include <stdio.h>
  27462. + # include <time.h>
  27463. + # include <wchar.h>
  27464. + #endif
  27465. +
  27466. +
  27467. +#include <stdio.h>
  27468. +#include <string.h>
  27469. +#define MVAL(macro) MVAL1(macro)
  27470. +#define MVAL1(expression) #expression
  27471. +static const char *macro_values[] =
  27472. + {
  27473. +#ifdef INT8_MAX
  27474. + MVAL (INT8_MAX),
  27475. +#endif
  27476. +#ifdef INT16_MAX
  27477. + MVAL (INT16_MAX),
  27478. +#endif
  27479. +#ifdef INT32_MAX
  27480. + MVAL (INT32_MAX),
  27481. +#endif
  27482. +#ifdef INT64_MAX
  27483. + MVAL (INT64_MAX),
  27484. +#endif
  27485. +#ifdef UINT8_MAX
  27486. + MVAL (UINT8_MAX),
  27487. +#endif
  27488. +#ifdef UINT16_MAX
  27489. + MVAL (UINT16_MAX),
  27490. +#endif
  27491. +#ifdef UINT32_MAX
  27492. + MVAL (UINT32_MAX),
  27493. +#endif
  27494. +#ifdef UINT64_MAX
  27495. + MVAL (UINT64_MAX),
  27496. +#endif
  27497. + NULL
  27498. + };
  27499. +
  27500. +int
  27501. +main ()
  27502. +{
  27503. +
  27504. + const char **mv;
  27505. + for (mv = macro_values; *mv != NULL; mv++)
  27506. + {
  27507. + const char *value = *mv;
  27508. + /* Test whether it looks like a cast expression. */
  27509. + if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0
  27510. + || strncmp (value, "((unsigned short)"/*)*/, 17) == 0
  27511. + || strncmp (value, "((unsigned char)"/*)*/, 16) == 0
  27512. + || strncmp (value, "((int)"/*)*/, 6) == 0
  27513. + || strncmp (value, "((signed short)"/*)*/, 15) == 0
  27514. + || strncmp (value, "((signed char)"/*)*/, 14) == 0)
  27515. + return mv - macro_values + 1;
  27516. + }
  27517. + return 0;
  27518. +
  27519. + ;
  27520. + return 0;
  27521. +}
  27522. +_ACEOF
  27523. +if ac_fn_c_try_run "$LINENO"; then :
  27524. + gl_cv_header_working_stdint_h=yes
  27525. +fi
  27526. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  27527. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  27528. +fi
  27529. +
  27530. +
  27531. +fi
  27532. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27533. +
  27534. +fi
  27535. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5
  27536. +$as_echo "$gl_cv_header_working_stdint_h" >&6; }
  27537. + fi
  27538. + if test "$gl_cv_header_working_stdint_h" = yes; then
  27539. + STDINT_H=
  27540. + else
  27541. + for ac_header in sys/inttypes.h sys/bitypes.h
  27542. +do :
  27543. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  27544. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  27545. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  27546. + cat >>confdefs.h <<_ACEOF
  27547. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  27548. +_ACEOF
  27549. +
  27550. +fi
  27551. +
  27552. +done
  27553. +
  27554. + if test $ac_cv_header_sys_inttypes_h = yes; then
  27555. + HAVE_SYS_INTTYPES_H=1
  27556. + else
  27557. + HAVE_SYS_INTTYPES_H=0
  27558. + fi
  27559. +
  27560. + if test $ac_cv_header_sys_bitypes_h = yes; then
  27561. + HAVE_SYS_BITYPES_H=1
  27562. + else
  27563. + HAVE_SYS_BITYPES_H=0
  27564. + fi
  27565. +
  27566. +
  27567. +
  27568. +
  27569. + if test $APPLE_UNIVERSAL_BUILD = 0; then
  27570. +
  27571. +
  27572. + for gltype in ptrdiff_t size_t ; do
  27573. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
  27574. +$as_echo_n "checking for bit size of $gltype... " >&6; }
  27575. +if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
  27576. + $as_echo_n "(cached) " >&6
  27577. +else
  27578. + if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
  27579. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  27580. + included before <wchar.h>. */
  27581. + #include <stddef.h>
  27582. + #include <signal.h>
  27583. + #if HAVE_WCHAR_H
  27584. + # include <stdio.h>
  27585. + # include <time.h>
  27586. + # include <wchar.h>
  27587. + #endif
  27588. +
  27589. +#include <limits.h>"; then :
  27590. +
  27591. +else
  27592. + result=unknown
  27593. +fi
  27594. +
  27595. + eval gl_cv_bitsizeof_${gltype}=\$result
  27596. +
  27597. +fi
  27598. +eval ac_res=\$gl_cv_bitsizeof_${gltype}
  27599. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  27600. +$as_echo "$ac_res" >&6; }
  27601. + eval result=\$gl_cv_bitsizeof_${gltype}
  27602. + if test $result = unknown; then
  27603. + result=0
  27604. + fi
  27605. + GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  27606. + cat >>confdefs.h <<_ACEOF
  27607. +@%:@define BITSIZEOF_${GLTYPE} $result
  27608. +_ACEOF
  27609. +
  27610. + eval BITSIZEOF_${GLTYPE}=\$result
  27611. + done
  27612. +
  27613. +
  27614. + fi
  27615. +
  27616. +
  27617. + for gltype in sig_atomic_t wchar_t wint_t ; do
  27618. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
  27619. +$as_echo_n "checking for bit size of $gltype... " >&6; }
  27620. +if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
  27621. + $as_echo_n "(cached) " >&6
  27622. +else
  27623. + if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
  27624. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  27625. + included before <wchar.h>. */
  27626. + #include <stddef.h>
  27627. + #include <signal.h>
  27628. + #if HAVE_WCHAR_H
  27629. + # include <stdio.h>
  27630. + # include <time.h>
  27631. + # include <wchar.h>
  27632. + #endif
  27633. +
  27634. +#include <limits.h>"; then :
  27635. +
  27636. +else
  27637. + result=unknown
  27638. +fi
  27639. +
  27640. + eval gl_cv_bitsizeof_${gltype}=\$result
  27641. +
  27642. +fi
  27643. +eval ac_res=\$gl_cv_bitsizeof_${gltype}
  27644. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  27645. +$as_echo "$ac_res" >&6; }
  27646. + eval result=\$gl_cv_bitsizeof_${gltype}
  27647. + if test $result = unknown; then
  27648. + result=0
  27649. + fi
  27650. + GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  27651. + cat >>confdefs.h <<_ACEOF
  27652. +@%:@define BITSIZEOF_${GLTYPE} $result
  27653. +_ACEOF
  27654. +
  27655. + eval BITSIZEOF_${GLTYPE}=\$result
  27656. + done
  27657. +
  27658. +
  27659. +
  27660. +
  27661. + for gltype in sig_atomic_t wchar_t wint_t ; do
  27662. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
  27663. +$as_echo_n "checking whether $gltype is signed... " >&6; }
  27664. +if eval \${gl_cv_type_${gltype}_signed+:} false; then :
  27665. + $as_echo_n "(cached) " >&6
  27666. +else
  27667. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27668. +/* end confdefs.h. */
  27669. +
  27670. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  27671. + included before <wchar.h>. */
  27672. + #include <stddef.h>
  27673. + #include <signal.h>
  27674. + #if HAVE_WCHAR_H
  27675. + # include <stdio.h>
  27676. + # include <time.h>
  27677. + # include <wchar.h>
  27678. + #endif
  27679. +
  27680. + int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
  27681. +int
  27682. +main ()
  27683. +{
  27684. +
  27685. + ;
  27686. + return 0;
  27687. +}
  27688. +_ACEOF
  27689. +if ac_fn_c_try_compile "$LINENO"; then :
  27690. + result=yes
  27691. +else
  27692. + result=no
  27693. +fi
  27694. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27695. + eval gl_cv_type_${gltype}_signed=\$result
  27696. +
  27697. +fi
  27698. +eval ac_res=\$gl_cv_type_${gltype}_signed
  27699. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  27700. +$as_echo "$ac_res" >&6; }
  27701. + eval result=\$gl_cv_type_${gltype}_signed
  27702. + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  27703. + if test "$result" = yes; then
  27704. + cat >>confdefs.h <<_ACEOF
  27705. +@%:@define HAVE_SIGNED_${GLTYPE} 1
  27706. +_ACEOF
  27707. +
  27708. + eval HAVE_SIGNED_${GLTYPE}=1
  27709. + else
  27710. + eval HAVE_SIGNED_${GLTYPE}=0
  27711. + fi
  27712. + done
  27713. +
  27714. +
  27715. + gl_cv_type_ptrdiff_t_signed=yes
  27716. + gl_cv_type_size_t_signed=no
  27717. + if test $APPLE_UNIVERSAL_BUILD = 0; then
  27718. +
  27719. +
  27720. + for gltype in ptrdiff_t size_t ; do
  27721. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
  27722. +$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
  27723. +if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
  27724. + $as_echo_n "(cached) " >&6
  27725. +else
  27726. + eval gl_cv_type_${gltype}_suffix=no
  27727. + eval result=\$gl_cv_type_${gltype}_signed
  27728. + if test "$result" = yes; then
  27729. + glsufu=
  27730. + else
  27731. + glsufu=u
  27732. + fi
  27733. + for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
  27734. + case $glsuf in
  27735. + '') gltype1='int';;
  27736. + l) gltype1='long int';;
  27737. + ll) gltype1='long long int';;
  27738. + i64) gltype1='__int64';;
  27739. + u) gltype1='unsigned int';;
  27740. + ul) gltype1='unsigned long int';;
  27741. + ull) gltype1='unsigned long long int';;
  27742. + ui64)gltype1='unsigned __int64';;
  27743. + esac
  27744. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27745. +/* end confdefs.h. */
  27746. +
  27747. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  27748. + included before <wchar.h>. */
  27749. + #include <stddef.h>
  27750. + #include <signal.h>
  27751. + #if HAVE_WCHAR_H
  27752. + # include <stdio.h>
  27753. + # include <time.h>
  27754. + # include <wchar.h>
  27755. + #endif
  27756. +
  27757. + extern $gltype foo;
  27758. + extern $gltype1 foo;
  27759. +int
  27760. +main ()
  27761. +{
  27762. +
  27763. + ;
  27764. + return 0;
  27765. +}
  27766. +_ACEOF
  27767. +if ac_fn_c_try_compile "$LINENO"; then :
  27768. + eval gl_cv_type_${gltype}_suffix=\$glsuf
  27769. +fi
  27770. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27771. + eval result=\$gl_cv_type_${gltype}_suffix
  27772. + test "$result" != no && break
  27773. + done
  27774. +fi
  27775. +eval ac_res=\$gl_cv_type_${gltype}_suffix
  27776. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  27777. +$as_echo "$ac_res" >&6; }
  27778. + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  27779. + eval result=\$gl_cv_type_${gltype}_suffix
  27780. + test "$result" = no && result=
  27781. + eval ${GLTYPE}_SUFFIX=\$result
  27782. + cat >>confdefs.h <<_ACEOF
  27783. +@%:@define ${GLTYPE}_SUFFIX $result
  27784. +_ACEOF
  27785. +
  27786. + done
  27787. +
  27788. +
  27789. + fi
  27790. +
  27791. +
  27792. + for gltype in sig_atomic_t wchar_t wint_t ; do
  27793. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
  27794. +$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
  27795. +if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
  27796. + $as_echo_n "(cached) " >&6
  27797. +else
  27798. + eval gl_cv_type_${gltype}_suffix=no
  27799. + eval result=\$gl_cv_type_${gltype}_signed
  27800. + if test "$result" = yes; then
  27801. + glsufu=
  27802. + else
  27803. + glsufu=u
  27804. + fi
  27805. + for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
  27806. + case $glsuf in
  27807. + '') gltype1='int';;
  27808. + l) gltype1='long int';;
  27809. + ll) gltype1='long long int';;
  27810. + i64) gltype1='__int64';;
  27811. + u) gltype1='unsigned int';;
  27812. + ul) gltype1='unsigned long int';;
  27813. + ull) gltype1='unsigned long long int';;
  27814. + ui64)gltype1='unsigned __int64';;
  27815. + esac
  27816. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27817. +/* end confdefs.h. */
  27818. +
  27819. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  27820. + included before <wchar.h>. */
  27821. + #include <stddef.h>
  27822. + #include <signal.h>
  27823. + #if HAVE_WCHAR_H
  27824. + # include <stdio.h>
  27825. + # include <time.h>
  27826. + # include <wchar.h>
  27827. + #endif
  27828. +
  27829. + extern $gltype foo;
  27830. + extern $gltype1 foo;
  27831. +int
  27832. +main ()
  27833. +{
  27834. +
  27835. + ;
  27836. + return 0;
  27837. +}
  27838. +_ACEOF
  27839. +if ac_fn_c_try_compile "$LINENO"; then :
  27840. + eval gl_cv_type_${gltype}_suffix=\$glsuf
  27841. +fi
  27842. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27843. + eval result=\$gl_cv_type_${gltype}_suffix
  27844. + test "$result" != no && break
  27845. + done
  27846. +fi
  27847. +eval ac_res=\$gl_cv_type_${gltype}_suffix
  27848. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  27849. +$as_echo "$ac_res" >&6; }
  27850. + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  27851. + eval result=\$gl_cv_type_${gltype}_suffix
  27852. + test "$result" = no && result=
  27853. + eval ${GLTYPE}_SUFFIX=\$result
  27854. + cat >>confdefs.h <<_ACEOF
  27855. +@%:@define ${GLTYPE}_SUFFIX $result
  27856. +_ACEOF
  27857. +
  27858. + done
  27859. +
  27860. +
  27861. +
  27862. + STDINT_H=stdint.h
  27863. + fi
  27864. +
  27865. +
  27866. + # Code from module stdio:
  27867. +
  27868. +
  27869. +
  27870. +
  27871. +
  27872. +
  27873. +
  27874. +
  27875. +
  27876. +
  27877. +
  27878. + if test $gl_cv_have_include_next = yes; then
  27879. + gl_cv_next_stdio_h='<'stdio.h'>'
  27880. + else
  27881. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdio.h>" >&5
  27882. +$as_echo_n "checking absolute name of <stdio.h>... " >&6; }
  27883. +if ${gl_cv_next_stdio_h+:} false; then :
  27884. + $as_echo_n "(cached) " >&6
  27885. +else
  27886. +
  27887. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27888. +/* end confdefs.h. */
  27889. +#include <stdio.h>
  27890. +
  27891. +_ACEOF
  27892. + case "$host_os" in
  27893. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  27894. + *) gl_absname_cpp="$ac_cpp" ;;
  27895. + esac
  27896. + gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  27897. + sed -n '\#/stdio.h#{
  27898. + s#.*"\(.*/stdio.h\)".*#\1#
  27899. + s#^/[^/]#//&#
  27900. + p
  27901. + q
  27902. + }'`'"'
  27903. +
  27904. +
  27905. +fi
  27906. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5
  27907. +$as_echo "$gl_cv_next_stdio_h" >&6; }
  27908. + fi
  27909. + NEXT_STDIO_H=$gl_cv_next_stdio_h
  27910. +
  27911. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  27912. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  27913. + gl_next_as_first_directive='<'stdio.h'>'
  27914. + else
  27915. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  27916. + gl_next_as_first_directive=$gl_cv_next_stdio_h
  27917. + fi
  27918. + NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive
  27919. +
  27920. +
  27921. +
  27922. +
  27923. + GNULIB_FPRINTF=1
  27924. + GNULIB_PRINTF=1
  27925. + GNULIB_VFPRINTF=1
  27926. + GNULIB_VPRINTF=1
  27927. + GNULIB_FPUTC=1
  27928. + GNULIB_PUTC=1
  27929. + GNULIB_PUTCHAR=1
  27930. + GNULIB_FPUTS=1
  27931. + GNULIB_PUTS=1
  27932. + GNULIB_FWRITE=1
  27933. +
  27934. +
  27935. +
  27936. +
  27937. + # Code from module stdlib:
  27938. +
  27939. +
  27940. +
  27941. +
  27942. +
  27943. +
  27944. +
  27945. +
  27946. +
  27947. +
  27948. + if test $gl_cv_have_include_next = yes; then
  27949. + gl_cv_next_stdlib_h='<'stdlib.h'>'
  27950. + else
  27951. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdlib.h>" >&5
  27952. +$as_echo_n "checking absolute name of <stdlib.h>... " >&6; }
  27953. +if ${gl_cv_next_stdlib_h+:} false; then :
  27954. + $as_echo_n "(cached) " >&6
  27955. +else
  27956. +
  27957. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27958. +/* end confdefs.h. */
  27959. +#include <stdlib.h>
  27960. +
  27961. +_ACEOF
  27962. + case "$host_os" in
  27963. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  27964. + *) gl_absname_cpp="$ac_cpp" ;;
  27965. + esac
  27966. + gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  27967. + sed -n '\#/stdlib.h#{
  27968. + s#.*"\(.*/stdlib.h\)".*#\1#
  27969. + s#^/[^/]#//&#
  27970. + p
  27971. + q
  27972. + }'`'"'
  27973. +
  27974. +
  27975. +fi
  27976. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5
  27977. +$as_echo "$gl_cv_next_stdlib_h" >&6; }
  27978. + fi
  27979. + NEXT_STDLIB_H=$gl_cv_next_stdlib_h
  27980. +
  27981. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  27982. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  27983. + gl_next_as_first_directive='<'stdlib.h'>'
  27984. + else
  27985. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  27986. + gl_next_as_first_directive=$gl_cv_next_stdlib_h
  27987. + fi
  27988. + NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive
  27989. +
  27990. +
  27991. +
  27992. +
  27993. +
  27994. +
  27995. +
  27996. + # Code from module stdlib-safer:
  27997. +
  27998. +
  27999. +
  28000. +
  28001. +
  28002. +
  28003. +
  28004. +
  28005. +
  28006. + M4_LIBOBJS="$M4_LIBOBJS mkstemp-safer.$ac_objext"
  28007. +
  28008. +
  28009. + # Code from module strchrnul:
  28010. +
  28011. +
  28012. +
  28013. +
  28014. +
  28015. +
  28016. +
  28017. +
  28018. +
  28019. +
  28020. +
  28021. +
  28022. + for ac_func in strchrnul
  28023. +do :
  28024. + ac_fn_c_check_func "$LINENO" "strchrnul" "ac_cv_func_strchrnul"
  28025. +if test "x$ac_cv_func_strchrnul" = xyes; then :
  28026. + cat >>confdefs.h <<_ACEOF
  28027. +@%:@define HAVE_STRCHRNUL 1
  28028. +_ACEOF
  28029. +
  28030. +else
  28031. +
  28032. + M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext"
  28033. +
  28034. +fi
  28035. +done
  28036. +
  28037. +
  28038. + if test $ac_cv_func_strchrnul = no; then
  28039. + HAVE_STRCHRNUL=0
  28040. + :
  28041. + fi
  28042. +
  28043. +
  28044. +
  28045. +
  28046. + GNULIB_STRCHRNUL=1
  28047. +
  28048. +
  28049. +
  28050. +$as_echo "@%:@define GNULIB_TEST_STRCHRNUL 1" >>confdefs.h
  28051. +
  28052. +
  28053. +
  28054. + # Code from module streq:
  28055. + # Code from module strerror:
  28056. +
  28057. +
  28058. + if test $REPLACE_STRERROR = 1; then
  28059. +
  28060. +
  28061. +
  28062. +
  28063. +
  28064. +
  28065. +
  28066. +
  28067. + M4_LIBOBJS="$M4_LIBOBJS strerror.$ac_objext"
  28068. +
  28069. +
  28070. +cat >>confdefs.h <<_ACEOF
  28071. +@%:@define REPLACE_STRERROR $REPLACE_STRERROR
  28072. +_ACEOF
  28073. +
  28074. + fi
  28075. +
  28076. +
  28077. +
  28078. +
  28079. + GNULIB_STRERROR=1
  28080. +
  28081. +
  28082. +
  28083. +$as_echo "@%:@define GNULIB_TEST_STRERROR 1" >>confdefs.h
  28084. +
  28085. +
  28086. +
  28087. + # Code from module string:
  28088. +
  28089. +
  28090. +
  28091. + # Code from module strndup:
  28092. +
  28093. +
  28094. +
  28095. +
  28096. +
  28097. +
  28098. + if test $ac_cv_have_decl_strndup = no; then
  28099. + HAVE_DECL_STRNDUP=0
  28100. + fi
  28101. +
  28102. + if test $ac_cv_func_strndup = yes; then
  28103. + # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'.
  28104. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5
  28105. +$as_echo_n "checking for working strndup... " >&6; }
  28106. +if ${gl_cv_func_strndup_works+:} false; then :
  28107. + $as_echo_n "(cached) " >&6
  28108. +else
  28109. + if test "$cross_compiling" = yes; then :
  28110. +
  28111. + case $host_os in
  28112. + aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";;
  28113. + *) gl_cv_func_strndup_works="guessing yes";;
  28114. + esac
  28115. +
  28116. +else
  28117. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28118. +/* end confdefs.h. */
  28119. +
  28120. + #include <string.h>
  28121. + #include <stdlib.h>
  28122. +int
  28123. +main ()
  28124. +{
  28125. +
  28126. +#ifndef HAVE_DECL_STRNDUP
  28127. + extern char *strndup (const char *, size_t);
  28128. +#endif
  28129. + char *s;
  28130. + s = strndup ("some longer string", 15);
  28131. + free (s);
  28132. + s = strndup ("shorter string", 13);
  28133. + return s[13] != '\0';
  28134. + ;
  28135. + return 0;
  28136. +}
  28137. +_ACEOF
  28138. +if ac_fn_c_try_run "$LINENO"; then :
  28139. + gl_cv_func_strndup_works=yes
  28140. +else
  28141. + gl_cv_func_strndup_works=no
  28142. +fi
  28143. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  28144. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  28145. +fi
  28146. +
  28147. +fi
  28148. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strndup_works" >&5
  28149. +$as_echo "$gl_cv_func_strndup_works" >&6; }
  28150. + case $gl_cv_func_strndup_works in
  28151. + *no)
  28152. + REPLACE_STRNDUP=1
  28153. +
  28154. +
  28155. +
  28156. +
  28157. +
  28158. +
  28159. +
  28160. +
  28161. + M4_LIBOBJS="$M4_LIBOBJS strndup.$ac_objext"
  28162. +
  28163. + ;;
  28164. + esac
  28165. + else
  28166. +
  28167. +
  28168. +
  28169. +
  28170. +
  28171. +
  28172. +
  28173. +
  28174. + M4_LIBOBJS="$M4_LIBOBJS strndup.$ac_objext"
  28175. +
  28176. + fi
  28177. +
  28178. +
  28179. +
  28180. +
  28181. + GNULIB_STRNDUP=1
  28182. +
  28183. +
  28184. +
  28185. +$as_echo "@%:@define GNULIB_TEST_STRNDUP 1" >>confdefs.h
  28186. +
  28187. +
  28188. +
  28189. + # Code from module strnlen:
  28190. +
  28191. +
  28192. +
  28193. +
  28194. +
  28195. +
  28196. + if test $ac_cv_have_decl_strnlen = no; then
  28197. + HAVE_DECL_STRNLEN=0
  28198. + else
  28199. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
  28200. +$as_echo_n "checking for working strnlen... " >&6; }
  28201. +if ${ac_cv_func_strnlen_working+:} false; then :
  28202. + $as_echo_n "(cached) " >&6
  28203. +else
  28204. + if test "$cross_compiling" = yes; then :
  28205. + # Guess no on AIX systems, yes otherwise.
  28206. + case "$host_os" in
  28207. + aix*) ac_cv_func_strnlen_working=no;;
  28208. + *) ac_cv_func_strnlen_working=yes;;
  28209. + esac
  28210. +else
  28211. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28212. +/* end confdefs.h. */
  28213. +$ac_includes_default
  28214. +int
  28215. +main ()
  28216. +{
  28217. +
  28218. +#define S "foobar"
  28219. +#define S_LEN (sizeof S - 1)
  28220. +
  28221. + /* At least one implementation is buggy: that of AIX 4.3 would
  28222. + give strnlen (S, 1) == 3. */
  28223. +
  28224. + int i;
  28225. + for (i = 0; i < S_LEN + 1; ++i)
  28226. + {
  28227. + int expected = i <= S_LEN ? i : S_LEN;
  28228. + if (strnlen (S, i) != expected)
  28229. + return 1;
  28230. + }
  28231. + return 0;
  28232. +
  28233. + ;
  28234. + return 0;
  28235. +}
  28236. +_ACEOF
  28237. +if ac_fn_c_try_run "$LINENO"; then :
  28238. + ac_cv_func_strnlen_working=yes
  28239. +else
  28240. + ac_cv_func_strnlen_working=no
  28241. +fi
  28242. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  28243. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  28244. +fi
  28245. +
  28246. +fi
  28247. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5
  28248. +$as_echo "$ac_cv_func_strnlen_working" >&6; }
  28249. +test $ac_cv_func_strnlen_working = no &&
  28250. +
  28251. +
  28252. +
  28253. +
  28254. +
  28255. +
  28256. +
  28257. + M4_LIBOBJS="$M4_LIBOBJS strnlen.$ac_objext"
  28258. +
  28259. +
  28260. + if test $ac_cv_func_strnlen_working = no; then
  28261. + REPLACE_STRNLEN=1
  28262. + fi
  28263. + fi
  28264. + if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
  28265. +
  28266. +
  28267. +
  28268. +
  28269. +
  28270. +
  28271. +
  28272. +
  28273. + M4_LIBOBJS="$M4_LIBOBJS strnlen.$ac_objext"
  28274. +
  28275. + :
  28276. + fi
  28277. +
  28278. +
  28279. +
  28280. +
  28281. + GNULIB_STRNLEN=1
  28282. +
  28283. +
  28284. +
  28285. +$as_echo "@%:@define GNULIB_TEST_STRNLEN 1" >>confdefs.h
  28286. +
  28287. +
  28288. +
  28289. + # Code from module strsignal:
  28290. +
  28291. +
  28292. +
  28293. +
  28294. +
  28295. +
  28296. + if test $ac_cv_have_decl_strsignal = no; then
  28297. + HAVE_DECL_STRSIGNAL=0
  28298. + fi
  28299. +
  28300. + for ac_func in strsignal
  28301. +do :
  28302. + ac_fn_c_check_func "$LINENO" "strsignal" "ac_cv_func_strsignal"
  28303. +if test "x$ac_cv_func_strsignal" = xyes; then :
  28304. + cat >>confdefs.h <<_ACEOF
  28305. +@%:@define HAVE_STRSIGNAL 1
  28306. +_ACEOF
  28307. +
  28308. +fi
  28309. +done
  28310. +
  28311. + if test $ac_cv_func_strsignal = yes; then
  28312. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strsignal always returns a string" >&5
  28313. +$as_echo_n "checking whether strsignal always returns a string... " >&6; }
  28314. +if ${gl_cv_func_working_strsignal+:} false; then :
  28315. + $as_echo_n "(cached) " >&6
  28316. +else
  28317. + if test "$cross_compiling" = yes; then :
  28318. + case "$host_os" in
  28319. + solaris* | aix*) gl_cv_func_working_strsignal=no;;
  28320. + *) gl_cv_func_working_strsignal="guessing yes";;
  28321. + esac
  28322. +else
  28323. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28324. +/* end confdefs.h. */
  28325. +#include <string.h>
  28326. +#include <unistd.h> /* NetBSD 5.0 declares it in wrong header. */
  28327. +
  28328. +int
  28329. +main ()
  28330. +{
  28331. +int result = 0;
  28332. + char *s = strsignal (-1);
  28333. + if (s == (char *) 0)
  28334. + result |= 1;
  28335. + if (s == (char *) -1)
  28336. + result |= 2;
  28337. + return result;
  28338. +
  28339. + ;
  28340. + return 0;
  28341. +}
  28342. +_ACEOF
  28343. +if ac_fn_c_try_run "$LINENO"; then :
  28344. + gl_cv_func_working_strsignal=yes
  28345. +else
  28346. + gl_cv_func_working_strsignal=no
  28347. +fi
  28348. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  28349. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  28350. +fi
  28351. +
  28352. +fi
  28353. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strsignal" >&5
  28354. +$as_echo "$gl_cv_func_working_strsignal" >&6; }
  28355. + else
  28356. + gl_cv_func_working_strsignal=no
  28357. + fi
  28358. +
  28359. + if test "$gl_cv_func_working_strsignal" = no; then
  28360. + if test $ac_cv_func_strsignal = yes; then
  28361. + REPLACE_STRSIGNAL=1
  28362. + fi
  28363. +
  28364. +
  28365. +
  28366. +
  28367. +
  28368. +
  28369. +
  28370. +
  28371. + M4_LIBOBJS="$M4_LIBOBJS strsignal.$ac_objext"
  28372. +
  28373. +
  28374. +
  28375. + ac_fn_c_check_decl "$LINENO" "_sys_siglist" "ac_cv_have_decl__sys_siglist" "#include <signal.h>
  28376. +"
  28377. +if test "x$ac_cv_have_decl__sys_siglist" = xyes; then :
  28378. + ac_have_decl=1
  28379. +else
  28380. + ac_have_decl=0
  28381. +fi
  28382. +
  28383. +cat >>confdefs.h <<_ACEOF
  28384. +@%:@define HAVE_DECL__SYS_SIGLIST $ac_have_decl
  28385. +_ACEOF
  28386. +
  28387. +
  28388. + fi
  28389. +
  28390. +
  28391. +
  28392. +
  28393. + GNULIB_STRSIGNAL=1
  28394. +
  28395. +
  28396. +
  28397. +$as_echo "@%:@define GNULIB_TEST_STRSIGNAL 1" >>confdefs.h
  28398. +
  28399. +
  28400. +
  28401. + # Code from module strstr:
  28402. +
  28403. +
  28404. + if test $REPLACE_STRSTR = 0; then
  28405. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works in linear time" >&5
  28406. +$as_echo_n "checking whether strstr works in linear time... " >&6; }
  28407. +if ${gl_cv_func_strstr_linear+:} false; then :
  28408. + $as_echo_n "(cached) " >&6
  28409. +else
  28410. + if test "$cross_compiling" = yes; then :
  28411. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28412. +/* end confdefs.h. */
  28413. +
  28414. +#include <features.h>
  28415. +#ifdef __GNU_LIBRARY__
  28416. + #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \
  28417. + && !defined __UCLIBC__
  28418. + Lucky user
  28419. + #endif
  28420. +#endif
  28421. +#ifdef __CYGWIN__
  28422. + #include <cygwin/version.h>
  28423. + #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
  28424. + Lucky user
  28425. + #endif
  28426. +#endif
  28427. +
  28428. +_ACEOF
  28429. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  28430. + $EGREP "Lucky user" >/dev/null 2>&1; then :
  28431. + gl_cv_func_strstr_linear=yes
  28432. +else
  28433. + gl_cv_func_strstr_linear="guessing no"
  28434. +fi
  28435. +rm -f conftest*
  28436. +
  28437. +
  28438. +else
  28439. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28440. +/* end confdefs.h. */
  28441. +
  28442. +#include <signal.h> /* for signal */
  28443. +#include <string.h> /* for strstr */
  28444. +#include <stdlib.h> /* for malloc */
  28445. +#include <unistd.h> /* for alarm */
  28446. +static void quit (int sig) { exit (sig + 128); }
  28447. +
  28448. +int
  28449. +main ()
  28450. +{
  28451. +
  28452. + int result = 0;
  28453. + size_t m = 1000000;
  28454. + char *haystack = (char *) malloc (2 * m + 2);
  28455. + char *needle = (char *) malloc (m + 2);
  28456. + /* Failure to compile this test due to missing alarm is okay,
  28457. + since all such platforms (mingw) also have quadratic strstr. */
  28458. + signal (SIGALRM, quit);
  28459. + alarm (5);
  28460. + /* Check for quadratic performance. */
  28461. + if (haystack && needle)
  28462. + {
  28463. + memset (haystack, 'A', 2 * m);
  28464. + haystack[2 * m] = 'B';
  28465. + haystack[2 * m + 1] = 0;
  28466. + memset (needle, 'A', m);
  28467. + needle[m] = 'B';
  28468. + needle[m + 1] = 0;
  28469. + if (!strstr (haystack, needle))
  28470. + result |= 1;
  28471. + }
  28472. + return result;
  28473. +
  28474. + ;
  28475. + return 0;
  28476. +}
  28477. +_ACEOF
  28478. +if ac_fn_c_try_run "$LINENO"; then :
  28479. + gl_cv_func_strstr_linear=yes
  28480. +else
  28481. + gl_cv_func_strstr_linear=no
  28482. +fi
  28483. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  28484. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  28485. +fi
  28486. +
  28487. +
  28488. +fi
  28489. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strstr_linear" >&5
  28490. +$as_echo "$gl_cv_func_strstr_linear" >&6; }
  28491. + if test "$gl_cv_func_strstr_linear" != yes; then
  28492. + REPLACE_STRSTR=1
  28493. + fi
  28494. + fi
  28495. + if test $REPLACE_STRSTR = 1; then
  28496. +
  28497. +
  28498. +
  28499. +
  28500. +
  28501. +
  28502. +
  28503. +
  28504. + M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext"
  28505. +
  28506. + fi
  28507. +
  28508. + # Code from module strstr-simple:
  28509. +
  28510. +
  28511. +
  28512. + if test "$gl_cv_func_memchr_works" != yes; then
  28513. + REPLACE_STRSTR=1
  28514. +
  28515. +
  28516. +
  28517. +
  28518. +
  28519. +
  28520. +
  28521. +
  28522. + M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext"
  28523. +
  28524. + else
  28525. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5
  28526. +$as_echo_n "checking whether strstr works... " >&6; }
  28527. +if ${gl_cv_func_strstr_works_always+:} false; then :
  28528. + $as_echo_n "(cached) " >&6
  28529. +else
  28530. + if test "$cross_compiling" = yes; then :
  28531. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28532. +/* end confdefs.h. */
  28533. +
  28534. +#ifdef __GNU_LIBRARY__
  28535. + #include <features.h>
  28536. + #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \
  28537. + || defined __UCLIBC__
  28538. + Lucky user
  28539. + #endif
  28540. +#elif defined __CYGWIN__
  28541. + #include <cygwin/version.h>
  28542. + #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
  28543. + Lucky user
  28544. + #endif
  28545. +#else
  28546. + Lucky user
  28547. +#endif
  28548. +
  28549. +_ACEOF
  28550. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  28551. + $EGREP "Lucky user" >/dev/null 2>&1; then :
  28552. + gl_cv_func_strstr_works_always=yes
  28553. +else
  28554. + gl_cv_func_strstr_works_always="guessing no"
  28555. +fi
  28556. +rm -f conftest*
  28557. +
  28558. +
  28559. +else
  28560. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28561. +/* end confdefs.h. */
  28562. +
  28563. +#include <string.h> /* for strstr */
  28564. +#define P "_EF_BF_BD"
  28565. +#define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P
  28566. +#define NEEDLE P P P P P
  28567. +
  28568. +int
  28569. +main ()
  28570. +{
  28571. +return !!strstr (HAYSTACK, NEEDLE);
  28572. +
  28573. + ;
  28574. + return 0;
  28575. +}
  28576. +_ACEOF
  28577. +if ac_fn_c_try_run "$LINENO"; then :
  28578. + gl_cv_func_strstr_works_always=yes
  28579. +else
  28580. + gl_cv_func_strstr_works_always=no
  28581. +fi
  28582. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  28583. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  28584. +fi
  28585. +
  28586. +
  28587. +fi
  28588. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strstr_works_always" >&5
  28589. +$as_echo "$gl_cv_func_strstr_works_always" >&6; }
  28590. + if test "$gl_cv_func_strstr_works_always" != yes; then
  28591. + REPLACE_STRSTR=1
  28592. +
  28593. +
  28594. +
  28595. +
  28596. +
  28597. +
  28598. +
  28599. +
  28600. + M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext"
  28601. +
  28602. + fi
  28603. + fi
  28604. +
  28605. +
  28606. +
  28607. +
  28608. + GNULIB_STRSTR=1
  28609. +
  28610. +
  28611. +
  28612. +$as_echo "@%:@define GNULIB_TEST_STRSTR 1" >>confdefs.h
  28613. +
  28614. +
  28615. +
  28616. + # Code from module strtod:
  28617. +
  28618. +
  28619. +
  28620. + if test $ac_cv_have_decl_strtod != yes; then
  28621. + HAVE_STRTOD=0
  28622. + else
  28623. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtod obeys C99" >&5
  28624. +$as_echo_n "checking whether strtod obeys C99... " >&6; }
  28625. +if ${gl_cv_func_strtod_works+:} false; then :
  28626. + $as_echo_n "(cached) " >&6
  28627. +else
  28628. + if test "$cross_compiling" = yes; then :
  28629. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28630. +/* end confdefs.h. */
  28631. +
  28632. +#include <features.h>
  28633. +#ifdef __GNU_LIBRARY__
  28634. + #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8) || (__GLIBC__ > 2)) \
  28635. + && !defined __UCLIBC__
  28636. + Lucky user
  28637. + #endif
  28638. +#endif
  28639. +
  28640. +_ACEOF
  28641. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  28642. + $EGREP "Lucky user" >/dev/null 2>&1; then :
  28643. + gl_cv_func_strtod_works=yes
  28644. +else
  28645. + gl_cv_func_strtod_works="guessing no"
  28646. +fi
  28647. +rm -f conftest*
  28648. +
  28649. +else
  28650. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28651. +/* end confdefs.h. */
  28652. +
  28653. +#include <stdlib.h>
  28654. +#include <math.h>
  28655. +#include <errno.h>
  28656. +/* Compare two numbers with ==.
  28657. + This is a separate function because IRIX 6.5 "cc -O" miscompiles an
  28658. + 'x == x' test. */
  28659. +static int
  28660. +numeric_equal (double x, double y)
  28661. +{
  28662. + return x == y;
  28663. +}
  28664. +
  28665. +int
  28666. +main ()
  28667. +{
  28668. +
  28669. + int result = 0;
  28670. + {
  28671. + /* In some old versions of Linux (2000 or before), strtod mis-parses
  28672. + strings with leading '+'. */
  28673. + const char *string = " +69";
  28674. + char *term;
  28675. + double value = strtod (string, &term);
  28676. + if (value != 69 || term != (string + 4))
  28677. + result |= 1;
  28678. + }
  28679. + {
  28680. + /* Under Solaris 2.4, strtod returns the wrong value for the
  28681. + terminating character under some conditions. */
  28682. + const char *string = "NaN";
  28683. + char *term;
  28684. + strtod (string, &term);
  28685. + if (term != string && *(term - 1) == 0)
  28686. + result |= 2;
  28687. + }
  28688. + {
  28689. + /* Older glibc and Cygwin mis-parse "-0x". */
  28690. + const char *string = "-0x";
  28691. + char *term;
  28692. + double value = strtod (string, &term);
  28693. + double zero = 0.0;
  28694. + if (1.0 / value != -1.0 / zero || term != (string + 2))
  28695. + result |= 4;
  28696. + }
  28697. + {
  28698. + /* Many platforms do not parse hex floats. */
  28699. + const char *string = "0XaP+1";
  28700. + char *term;
  28701. + double value = strtod (string, &term);
  28702. + if (value != 20.0 || term != (string + 6))
  28703. + result |= 8;
  28704. + }
  28705. + {
  28706. + /* Many platforms do not parse infinities. HP-UX 11.31 parses inf,
  28707. + but mistakenly sets errno. */
  28708. + const char *string = "inf";
  28709. + char *term;
  28710. + double value;
  28711. + errno = 0;
  28712. + value = strtod (string, &term);
  28713. + if (value != HUGE_VAL || term != (string + 3) || errno)
  28714. + result |= 16;
  28715. + }
  28716. + {
  28717. + /* glibc 2.7 and cygwin 1.5.24 misparse "nan()". */
  28718. + const char *string = "nan()";
  28719. + char *term;
  28720. + double value = strtod (string, &term);
  28721. + if (numeric_equal (value, value) || term != (string + 5))
  28722. + result |= 32;
  28723. + }
  28724. + {
  28725. + /* darwin 10.6.1 misparses "nan(". */
  28726. + const char *string = "nan(";
  28727. + char *term;
  28728. + double value = strtod (string, &term);
  28729. + if (numeric_equal (value, value) || term != (string + 3))
  28730. + result |= 64;
  28731. + }
  28732. + return result;
  28733. +
  28734. + ;
  28735. + return 0;
  28736. +}
  28737. +_ACEOF
  28738. +if ac_fn_c_try_run "$LINENO"; then :
  28739. + gl_cv_func_strtod_works=yes
  28740. +else
  28741. + gl_cv_func_strtod_works=no
  28742. +fi
  28743. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  28744. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  28745. +fi
  28746. +
  28747. +fi
  28748. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strtod_works" >&5
  28749. +$as_echo "$gl_cv_func_strtod_works" >&6; }
  28750. + if test "$gl_cv_func_strtod_works" != yes; then
  28751. + REPLACE_STRTOD=1
  28752. + fi
  28753. + fi
  28754. + if test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1; then
  28755. +
  28756. +
  28757. +
  28758. +
  28759. +
  28760. +
  28761. +
  28762. +
  28763. + M4_LIBOBJS="$M4_LIBOBJS strtod.$ac_objext"
  28764. +
  28765. +
  28766. +
  28767. + if test $gl_cv_func_ldexp_no_libm = yes; then
  28768. +
  28769. +$as_echo "@%:@define HAVE_LDEXP_IN_LIBC 1" >>confdefs.h
  28770. +
  28771. + fi
  28772. +
  28773. + fi
  28774. +
  28775. +
  28776. +
  28777. +
  28778. + GNULIB_STRTOD=1
  28779. +
  28780. +
  28781. +
  28782. +$as_echo "@%:@define GNULIB_TEST_STRTOD 1" >>confdefs.h
  28783. +
  28784. +
  28785. +
  28786. + # Code from module strtol:
  28787. +
  28788. +
  28789. +
  28790. +
  28791. +
  28792. +
  28793. +
  28794. +
  28795. +
  28796. + for ac_func in strtol
  28797. +do :
  28798. + ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
  28799. +if test "x$ac_cv_func_strtol" = xyes; then :
  28800. + cat >>confdefs.h <<_ACEOF
  28801. +@%:@define HAVE_STRTOL 1
  28802. +_ACEOF
  28803. +
  28804. +else
  28805. +
  28806. + M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext"
  28807. +
  28808. +fi
  28809. +done
  28810. +
  28811. +
  28812. +
  28813. + # Code from module sys_stat:
  28814. +
  28815. +
  28816. +
  28817. +
  28818. +
  28819. +
  28820. +
  28821. +
  28822. +
  28823. +
  28824. +
  28825. +
  28826. +
  28827. +
  28828. +
  28829. +
  28830. + if test $gl_cv_have_include_next = yes; then
  28831. + gl_cv_next_sys_stat_h='<'sys/stat.h'>'
  28832. + else
  28833. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5
  28834. +$as_echo_n "checking absolute name of <sys/stat.h>... " >&6; }
  28835. +if ${gl_cv_next_sys_stat_h+:} false; then :
  28836. + $as_echo_n "(cached) " >&6
  28837. +else
  28838. +
  28839. + if test $ac_cv_header_sys_stat_h = yes; then
  28840. +
  28841. +
  28842. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28843. +/* end confdefs.h. */
  28844. +#include <sys/stat.h>
  28845. +
  28846. +_ACEOF
  28847. + case "$host_os" in
  28848. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  28849. + *) gl_absname_cpp="$ac_cpp" ;;
  28850. + esac
  28851. + gl_cv_next_sys_stat_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  28852. + sed -n '\#/sys/stat.h#{
  28853. + s#.*"\(.*/sys/stat.h\)".*#\1#
  28854. + s#^/[^/]#//&#
  28855. + p
  28856. + q
  28857. + }'`'"'
  28858. + else
  28859. + gl_cv_next_sys_stat_h='<'sys/stat.h'>'
  28860. + fi
  28861. +
  28862. +
  28863. +fi
  28864. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5
  28865. +$as_echo "$gl_cv_next_sys_stat_h" >&6; }
  28866. + fi
  28867. + NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h
  28868. +
  28869. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  28870. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  28871. + gl_next_as_first_directive='<'sys/stat.h'>'
  28872. + else
  28873. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  28874. + gl_next_as_first_directive=$gl_cv_next_sys_stat_h
  28875. + fi
  28876. + NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive
  28877. +
  28878. +
  28879. +
  28880. +
  28881. +
  28882. + ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
  28883. + #include <sys/stat.h>
  28884. +"
  28885. +if test "x$ac_cv_type_nlink_t" = xyes; then :
  28886. +
  28887. +else
  28888. +
  28889. +$as_echo "@%:@define nlink_t int" >>confdefs.h
  28890. +
  28891. +fi
  28892. +
  28893. +
  28894. +
  28895. +
  28896. +
  28897. + # Code from module sys_time:
  28898. +
  28899. +
  28900. +
  28901. +
  28902. + # Code from module sys_wait:
  28903. +
  28904. +
  28905. +
  28906. +
  28907. +
  28908. +
  28909. +
  28910. +
  28911. +
  28912. +
  28913. +
  28914. +
  28915. + if test $gl_cv_have_include_next = yes; then
  28916. + gl_cv_next_sys_wait_h='<'sys/wait.h'>'
  28917. + else
  28918. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/wait.h>" >&5
  28919. +$as_echo_n "checking absolute name of <sys/wait.h>... " >&6; }
  28920. +if ${gl_cv_next_sys_wait_h+:} false; then :
  28921. + $as_echo_n "(cached) " >&6
  28922. +else
  28923. +
  28924. + if test $ac_cv_header_sys_wait_h = yes; then
  28925. +
  28926. +
  28927. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28928. +/* end confdefs.h. */
  28929. +#include <sys/wait.h>
  28930. +
  28931. +_ACEOF
  28932. + case "$host_os" in
  28933. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  28934. + *) gl_absname_cpp="$ac_cpp" ;;
  28935. + esac
  28936. + gl_cv_next_sys_wait_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  28937. + sed -n '\#/sys/wait.h#{
  28938. + s#.*"\(.*/sys/wait.h\)".*#\1#
  28939. + s#^/[^/]#//&#
  28940. + p
  28941. + q
  28942. + }'`'"'
  28943. + else
  28944. + gl_cv_next_sys_wait_h='<'sys/wait.h'>'
  28945. + fi
  28946. +
  28947. +
  28948. +fi
  28949. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_wait_h" >&5
  28950. +$as_echo "$gl_cv_next_sys_wait_h" >&6; }
  28951. + fi
  28952. + NEXT_SYS_WAIT_H=$gl_cv_next_sys_wait_h
  28953. +
  28954. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  28955. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  28956. + gl_next_as_first_directive='<'sys/wait.h'>'
  28957. + else
  28958. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  28959. + gl_next_as_first_directive=$gl_cv_next_sys_wait_h
  28960. + fi
  28961. + NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H=$gl_next_as_first_directive
  28962. +
  28963. +
  28964. +
  28965. +
  28966. +
  28967. +
  28968. +
  28969. +
  28970. + # Code from module tempname:
  28971. +
  28972. +
  28973. +
  28974. +
  28975. +
  28976. +
  28977. +
  28978. +
  28979. +
  28980. +
  28981. +
  28982. + M4_LIBOBJS="$M4_LIBOBJS tempname.$ac_objext"
  28983. +
  28984. +
  28985. + :
  28986. +
  28987. +
  28988. + # Code from module threadlib:
  28989. +
  28990. +
  28991. +
  28992. +
  28993. + # Code from module time:
  28994. +
  28995. +
  28996. +
  28997. + # Code from module tls:
  28998. +
  28999. +
  29000. +
  29001. + # Code from module tmpdir:
  29002. +
  29003. + for ac_func in __secure_getenv
  29004. +do :
  29005. + ac_fn_c_check_func "$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv"
  29006. +if test "x$ac_cv_func___secure_getenv" = xyes; then :
  29007. + cat >>confdefs.h <<_ACEOF
  29008. +@%:@define HAVE___SECURE_GETENV 1
  29009. +_ACEOF
  29010. +
  29011. +fi
  29012. +done
  29013. +
  29014. +
  29015. + # Code from module unistd:
  29016. +
  29017. +
  29018. +
  29019. +
  29020. +
  29021. +
  29022. +
  29023. +
  29024. +
  29025. +
  29026. +
  29027. +
  29028. +
  29029. + if test $gl_cv_have_include_next = yes; then
  29030. + gl_cv_next_unistd_h='<'unistd.h'>'
  29031. + else
  29032. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5
  29033. +$as_echo_n "checking absolute name of <unistd.h>... " >&6; }
  29034. +if ${gl_cv_next_unistd_h+:} false; then :
  29035. + $as_echo_n "(cached) " >&6
  29036. +else
  29037. +
  29038. + if test $ac_cv_header_unistd_h = yes; then
  29039. +
  29040. +
  29041. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29042. +/* end confdefs.h. */
  29043. +#include <unistd.h>
  29044. +
  29045. +_ACEOF
  29046. + case "$host_os" in
  29047. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  29048. + *) gl_absname_cpp="$ac_cpp" ;;
  29049. + esac
  29050. + gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  29051. + sed -n '\#/unistd.h#{
  29052. + s#.*"\(.*/unistd.h\)".*#\1#
  29053. + s#^/[^/]#//&#
  29054. + p
  29055. + q
  29056. + }'`'"'
  29057. + else
  29058. + gl_cv_next_unistd_h='<'unistd.h'>'
  29059. + fi
  29060. +
  29061. +
  29062. +fi
  29063. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5
  29064. +$as_echo "$gl_cv_next_unistd_h" >&6; }
  29065. + fi
  29066. + NEXT_UNISTD_H=$gl_cv_next_unistd_h
  29067. +
  29068. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  29069. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  29070. + gl_next_as_first_directive='<'unistd.h'>'
  29071. + else
  29072. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  29073. + gl_next_as_first_directive=$gl_cv_next_unistd_h
  29074. + fi
  29075. + NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive
  29076. +
  29077. +
  29078. +
  29079. +
  29080. + if test $ac_cv_header_unistd_h = yes; then
  29081. + HAVE_UNISTD_H=1
  29082. + else
  29083. + HAVE_UNISTD_H=0
  29084. + fi
  29085. +
  29086. +
  29087. +
  29088. +
  29089. + # Code from module unistd-safer:
  29090. +
  29091. +
  29092. +
  29093. +
  29094. +
  29095. +
  29096. +
  29097. +
  29098. +
  29099. +
  29100. + M4_LIBOBJS="$M4_LIBOBJS dup-safer.$ac_objext"
  29101. +
  29102. +
  29103. +
  29104. +
  29105. +
  29106. +
  29107. +
  29108. +
  29109. +
  29110. + M4_LIBOBJS="$M4_LIBOBJS fd-safer.$ac_objext"
  29111. +
  29112. +
  29113. +
  29114. +
  29115. +
  29116. +
  29117. +
  29118. +
  29119. +
  29120. + M4_LIBOBJS="$M4_LIBOBJS pipe-safer.$ac_objext"
  29121. +
  29122. +
  29123. + # Code from module unlocked-io:
  29124. +
  29125. +
  29126. +$as_echo "@%:@define USE_UNLOCKED_IO 1" >>confdefs.h
  29127. +
  29128. +
  29129. +
  29130. +
  29131. +
  29132. +
  29133. +
  29134. +
  29135. +
  29136. +
  29137. +
  29138. +
  29139. +
  29140. +
  29141. +
  29142. +
  29143. +
  29144. +
  29145. + # Code from module update-copyright:
  29146. + # Code from module useless-if-before-free:
  29147. + # Code from module vasnprintf:
  29148. +
  29149. +
  29150. + if test $ac_cv_func_vasnprintf = no; then
  29151. +
  29152. +
  29153. +
  29154. +
  29155. +
  29156. +
  29157. +
  29158. +
  29159. +
  29160. +
  29161. + M4_LIBOBJS="$M4_LIBOBJS vasnprintf.$ac_objext"
  29162. +
  29163. +
  29164. +
  29165. +
  29166. +
  29167. +
  29168. +
  29169. +
  29170. +
  29171. + M4_LIBOBJS="$M4_LIBOBJS printf-args.$ac_objext"
  29172. +
  29173. +
  29174. +
  29175. +
  29176. +
  29177. +
  29178. +
  29179. +
  29180. +
  29181. + M4_LIBOBJS="$M4_LIBOBJS printf-parse.$ac_objext"
  29182. +
  29183. +
  29184. +
  29185. +
  29186. +
  29187. +
  29188. +
  29189. +
  29190. +
  29191. + M4_LIBOBJS="$M4_LIBOBJS asnprintf.$ac_objext"
  29192. +
  29193. + if test $ac_cv_func_vasnprintf = yes; then
  29194. +
  29195. +$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h
  29196. +
  29197. + fi
  29198. +
  29199. +
  29200. +
  29201. +
  29202. +
  29203. +
  29204. +
  29205. +
  29206. +
  29207. +
  29208. +
  29209. + ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
  29210. +if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
  29211. +
  29212. +else
  29213. +
  29214. +$as_echo "@%:@define ptrdiff_t long" >>confdefs.h
  29215. +
  29216. +
  29217. +fi
  29218. +
  29219. +
  29220. +
  29221. +
  29222. +
  29223. +
  29224. +
  29225. + fi
  29226. +
  29227. + # Code from module vasprintf:
  29228. +
  29229. + for ac_func in vasprintf
  29230. +do :
  29231. + ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
  29232. +if test "x$ac_cv_func_vasprintf" = xyes; then :
  29233. + cat >>confdefs.h <<_ACEOF
  29234. +@%:@define HAVE_VASPRINTF 1
  29235. +_ACEOF
  29236. +
  29237. +fi
  29238. +done
  29239. +
  29240. + if test $ac_cv_func_vasprintf = no; then
  29241. +
  29242. +
  29243. +
  29244. +
  29245. +
  29246. +
  29247. +
  29248. +
  29249. +
  29250. + M4_LIBOBJS="$M4_LIBOBJS vasprintf.$ac_objext"
  29251. +
  29252. +
  29253. +
  29254. +
  29255. +
  29256. +
  29257. +
  29258. +
  29259. +
  29260. + M4_LIBOBJS="$M4_LIBOBJS asprintf.$ac_objext"
  29261. +
  29262. +
  29263. + if test $ac_cv_func_vasprintf = yes; then
  29264. + REPLACE_VASPRINTF=1
  29265. + else
  29266. + HAVE_VASPRINTF=0
  29267. + fi
  29268. +
  29269. +
  29270. +
  29271. +
  29272. +
  29273. +
  29274. +
  29275. +
  29276. + fi
  29277. +
  29278. +
  29279. +
  29280. +
  29281. + GNULIB_VASPRINTF=1
  29282. +
  29283. +
  29284. +
  29285. +$as_echo "@%:@define GNULIB_TEST_VASPRINTF 1" >>confdefs.h
  29286. +
  29287. +
  29288. +
  29289. +
  29290. +
  29291. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=asprintf:2:c-format"
  29292. +
  29293. +
  29294. +
  29295. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=vasprintf:2:c-format"
  29296. +
  29297. + # Code from module vasprintf-posix:
  29298. +
  29299. +
  29300. +
  29301. +
  29302. +
  29303. +
  29304. +
  29305. +
  29306. +
  29307. +
  29308. +
  29309. +
  29310. +
  29311. +
  29312. +
  29313. + gl_cv_func_vasprintf_posix=no
  29314. + for ac_func in vasprintf
  29315. +do :
  29316. + ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
  29317. +if test "x$ac_cv_func_vasprintf" = xyes; then :
  29318. + cat >>confdefs.h <<_ACEOF
  29319. +@%:@define HAVE_VASPRINTF 1
  29320. +_ACEOF
  29321. +
  29322. +fi
  29323. +done
  29324. +
  29325. + case "$gl_cv_func_printf_sizes_c99" in
  29326. + *yes)
  29327. + case "$gl_cv_func_printf_long_double" in
  29328. + *yes)
  29329. + case "$gl_cv_func_printf_infinite" in
  29330. + *yes)
  29331. + case "$gl_cv_func_printf_infinite_long_double" in
  29332. + *yes)
  29333. + case "$gl_cv_func_printf_directive_a" in
  29334. + *yes)
  29335. + case "$gl_cv_func_printf_directive_f" in
  29336. + *yes)
  29337. + case "$gl_cv_func_printf_directive_n" in
  29338. + *yes)
  29339. + case "$gl_cv_func_printf_directive_ls" in
  29340. + *yes)
  29341. + case "$gl_cv_func_printf_positions" in
  29342. + *yes)
  29343. + case "$gl_cv_func_printf_flag_grouping" in
  29344. + *yes)
  29345. + case "$gl_cv_func_printf_flag_leftadjust" in
  29346. + *yes)
  29347. + case "$gl_cv_func_printf_flag_zero" in
  29348. + *yes)
  29349. + case "$gl_cv_func_printf_precision" in
  29350. + *yes)
  29351. + case "$gl_cv_func_printf_enomem" in
  29352. + *yes)
  29353. + if test $ac_cv_func_vasprintf = yes; then
  29354. + # vasprintf exists and is
  29355. + # already POSIX compliant.
  29356. + gl_cv_func_vasprintf_posix=yes
  29357. + fi
  29358. + ;;
  29359. + esac
  29360. + ;;
  29361. + esac
  29362. + ;;
  29363. + esac
  29364. + ;;
  29365. + esac
  29366. + ;;
  29367. + esac
  29368. + ;;
  29369. + esac
  29370. + ;;
  29371. + esac
  29372. + ;;
  29373. + esac
  29374. + ;;
  29375. + esac
  29376. + ;;
  29377. + esac
  29378. + ;;
  29379. + esac
  29380. + ;;
  29381. + esac
  29382. + ;;
  29383. + esac
  29384. + ;;
  29385. + esac
  29386. + if test $gl_cv_func_vasprintf_posix = no; then
  29387. +
  29388. +
  29389. +
  29390. + case "$gl_cv_func_printf_infinite" in
  29391. + *yes)
  29392. + ;;
  29393. + *)
  29394. +
  29395. +$as_echo "@%:@define NEED_PRINTF_INFINITE_DOUBLE 1" >>confdefs.h
  29396. +
  29397. + ;;
  29398. + esac
  29399. +
  29400. +
  29401. +
  29402. +
  29403. + case "$gl_cv_func_printf_long_double" in
  29404. + *yes)
  29405. + case "$gl_cv_func_printf_infinite_long_double" in
  29406. + *yes)
  29407. + ;;
  29408. + *)
  29409. +
  29410. +$as_echo "@%:@define NEED_PRINTF_INFINITE_LONG_DOUBLE 1" >>confdefs.h
  29411. +
  29412. + ;;
  29413. + esac
  29414. + ;;
  29415. + esac
  29416. +
  29417. +
  29418. +
  29419. + case "$gl_cv_func_printf_directive_a" in
  29420. + *yes)
  29421. + ;;
  29422. + *)
  29423. +
  29424. +$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_A 1" >>confdefs.h
  29425. +
  29426. + for ac_func in nl_langinfo
  29427. +do :
  29428. + ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
  29429. +if test "x$ac_cv_func_nl_langinfo" = xyes; then :
  29430. + cat >>confdefs.h <<_ACEOF
  29431. +@%:@define HAVE_NL_LANGINFO 1
  29432. +_ACEOF
  29433. +
  29434. +fi
  29435. +done
  29436. +
  29437. + ;;
  29438. + esac
  29439. +
  29440. +
  29441. +
  29442. + case "$gl_cv_func_printf_directive_f" in
  29443. + *yes)
  29444. + ;;
  29445. + *)
  29446. +
  29447. +$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_F 1" >>confdefs.h
  29448. +
  29449. + ;;
  29450. + esac
  29451. +
  29452. +
  29453. +
  29454. + case "$gl_cv_func_printf_directive_ls" in
  29455. + *yes)
  29456. + ;;
  29457. + *)
  29458. +
  29459. +$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_LS 1" >>confdefs.h
  29460. +
  29461. + ;;
  29462. + esac
  29463. +
  29464. +
  29465. +
  29466. + case "$gl_cv_func_printf_flag_grouping" in
  29467. + *yes)
  29468. + ;;
  29469. + *)
  29470. +
  29471. +$as_echo "@%:@define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h
  29472. +
  29473. + ;;
  29474. + esac
  29475. +
  29476. +
  29477. +
  29478. + case "$gl_cv_func_printf_flag_leftadjust" in
  29479. + *yes)
  29480. + ;;
  29481. + *)
  29482. +
  29483. +$as_echo "@%:@define NEED_PRINTF_FLAG_LEFTADJUST 1" >>confdefs.h
  29484. +
  29485. + ;;
  29486. + esac
  29487. +
  29488. +
  29489. +
  29490. + case "$gl_cv_func_printf_flag_zero" in
  29491. + *yes)
  29492. + ;;
  29493. + *)
  29494. +
  29495. +$as_echo "@%:@define NEED_PRINTF_FLAG_ZERO 1" >>confdefs.h
  29496. +
  29497. + ;;
  29498. + esac
  29499. +
  29500. +
  29501. +
  29502. + case "$gl_cv_func_printf_precision" in
  29503. + *yes)
  29504. + ;;
  29505. + *)
  29506. +
  29507. +$as_echo "@%:@define NEED_PRINTF_UNBOUNDED_PRECISION 1" >>confdefs.h
  29508. +
  29509. +
  29510. +$as_echo "@%:@define NEED_PRINTF_DOUBLE 1" >>confdefs.h
  29511. +
  29512. +
  29513. +$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
  29514. +
  29515. + ;;
  29516. + esac
  29517. +
  29518. +
  29519. +
  29520. + case "$gl_cv_func_printf_enomem" in
  29521. + *yes)
  29522. + ;;
  29523. + *)
  29524. +
  29525. +$as_echo "@%:@define NEED_PRINTF_ENOMEM 1" >>confdefs.h
  29526. +
  29527. +
  29528. +$as_echo "@%:@define NEED_PRINTF_DOUBLE 1" >>confdefs.h
  29529. +
  29530. +
  29531. +$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
  29532. +
  29533. + ;;
  29534. + esac
  29535. +
  29536. +
  29537. +
  29538. +
  29539. +
  29540. +
  29541. +
  29542. +
  29543. +
  29544. +
  29545. +
  29546. + M4_LIBOBJS="$M4_LIBOBJS vasnprintf.$ac_objext"
  29547. +
  29548. +
  29549. +
  29550. +
  29551. +
  29552. +
  29553. +
  29554. +
  29555. +
  29556. + M4_LIBOBJS="$M4_LIBOBJS printf-args.$ac_objext"
  29557. +
  29558. +
  29559. +
  29560. +
  29561. +
  29562. +
  29563. +
  29564. +
  29565. +
  29566. + M4_LIBOBJS="$M4_LIBOBJS printf-parse.$ac_objext"
  29567. +
  29568. +
  29569. +
  29570. +
  29571. +
  29572. +
  29573. +
  29574. +
  29575. +
  29576. + M4_LIBOBJS="$M4_LIBOBJS asnprintf.$ac_objext"
  29577. +
  29578. + if test $ac_cv_func_vasnprintf = yes; then
  29579. +
  29580. +$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h
  29581. +
  29582. + fi
  29583. +
  29584. +
  29585. +
  29586. +
  29587. +
  29588. +
  29589. +
  29590. +
  29591. +
  29592. +
  29593. +
  29594. + ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
  29595. +if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
  29596. +
  29597. +else
  29598. +
  29599. +$as_echo "@%:@define ptrdiff_t long" >>confdefs.h
  29600. +
  29601. +
  29602. +fi
  29603. +
  29604. +
  29605. +
  29606. +
  29607. +
  29608. +
  29609. +
  29610. +
  29611. +
  29612. +
  29613. +
  29614. +
  29615. +
  29616. +
  29617. +
  29618. +
  29619. + M4_LIBOBJS="$M4_LIBOBJS vasprintf.$ac_objext"
  29620. +
  29621. +
  29622. +
  29623. +
  29624. +
  29625. +
  29626. +
  29627. +
  29628. +
  29629. + M4_LIBOBJS="$M4_LIBOBJS asprintf.$ac_objext"
  29630. +
  29631. +
  29632. + if test $ac_cv_func_vasprintf = yes; then
  29633. + REPLACE_VASPRINTF=1
  29634. + else
  29635. + HAVE_VASPRINTF=0
  29636. + fi
  29637. +
  29638. +
  29639. +
  29640. +
  29641. +
  29642. +
  29643. +
  29644. +
  29645. + fi
  29646. +
  29647. + # Code from module vc-list-files:
  29648. + # Code from module verify:
  29649. + # Code from module verror:
  29650. +
  29651. +
  29652. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=verror:3:c-format"
  29653. +
  29654. +
  29655. +
  29656. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=verror_at_line:5:c-format"
  29657. +
  29658. + # Code from module version-etc:
  29659. +
  29660. +@%:@ Check whether --with-packager was given.
  29661. +if test "${with_packager+set}" = set; then :
  29662. + withval=$with_packager; case $withval in
  29663. + yes|no) ;;
  29664. + *)
  29665. +cat >>confdefs.h <<_ACEOF
  29666. +@%:@define PACKAGE_PACKAGER "$withval"
  29667. +_ACEOF
  29668. + ;;
  29669. + esac
  29670. +
  29671. +fi
  29672. +
  29673. +
  29674. +
  29675. +@%:@ Check whether --with-packager-version was given.
  29676. +if test "${with_packager_version+set}" = set; then :
  29677. + withval=$with_packager_version; case $withval in
  29678. + yes|no) ;;
  29679. + *)
  29680. +cat >>confdefs.h <<_ACEOF
  29681. +@%:@define PACKAGE_PACKAGER_VERSION "$withval"
  29682. +_ACEOF
  29683. + ;;
  29684. + esac
  29685. +
  29686. +fi
  29687. +
  29688. +
  29689. +
  29690. +@%:@ Check whether --with-packager-bug-reports was given.
  29691. +if test "${with_packager_bug_reports+set}" = set; then :
  29692. + withval=$with_packager_bug_reports; case $withval in
  29693. + yes|no) ;;
  29694. + *)
  29695. +cat >>confdefs.h <<_ACEOF
  29696. +@%:@define PACKAGE_PACKAGER_BUG_REPORTS "$withval"
  29697. +_ACEOF
  29698. + ;;
  29699. + esac
  29700. +
  29701. +fi
  29702. +
  29703. +
  29704. + if test "X$with_packager" = "X" && \
  29705. + test "X$with_packager_version$with_packager_bug_reports" != "X"
  29706. + then
  29707. + as_fn_error $? "The --with-packager-{bug-reports,version} options require --with-packager" "$LINENO" 5
  29708. + fi
  29709. +
  29710. + # Code from module version-etc-fsf:
  29711. + # Code from module wait-process:
  29712. +
  29713. +
  29714. +
  29715. + for ac_func in waitid
  29716. +do :
  29717. + ac_fn_c_check_func "$LINENO" "waitid" "ac_cv_func_waitid"
  29718. +if test "x$ac_cv_func_waitid" = xyes; then :
  29719. + cat >>confdefs.h <<_ACEOF
  29720. +@%:@define HAVE_WAITID 1
  29721. +_ACEOF
  29722. +
  29723. +fi
  29724. +done
  29725. +
  29726. +
  29727. + # Code from module waitpid:
  29728. +
  29729. +
  29730. + case $host_os in
  29731. + mingw*)
  29732. +
  29733. +
  29734. +
  29735. +
  29736. +
  29737. +
  29738. +
  29739. +
  29740. + M4_LIBOBJS="$M4_LIBOBJS waitpid.$ac_objext"
  29741. +
  29742. + ;;
  29743. + esac
  29744. +
  29745. +
  29746. +
  29747. +
  29748. + GNULIB_WAITPID=1
  29749. +
  29750. +
  29751. +
  29752. +$as_echo "@%:@define GNULIB_TEST_WAITPID 1" >>confdefs.h
  29753. +
  29754. +
  29755. +
  29756. + # Code from module warn-on-use:
  29757. + # Code from module warnings:
  29758. +
  29759. + # Code from module wchar:
  29760. +
  29761. +
  29762. +
  29763. +
  29764. +
  29765. +
  29766. +
  29767. +
  29768. +
  29769. +
  29770. +
  29771. +
  29772. + if test $gl_cv_have_include_next = yes; then
  29773. + gl_cv_next_wchar_h='<'wchar.h'>'
  29774. + else
  29775. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wchar.h>" >&5
  29776. +$as_echo_n "checking absolute name of <wchar.h>... " >&6; }
  29777. +if ${gl_cv_next_wchar_h+:} false; then :
  29778. + $as_echo_n "(cached) " >&6
  29779. +else
  29780. +
  29781. + if test $ac_cv_header_wchar_h = yes; then
  29782. +
  29783. +
  29784. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29785. +/* end confdefs.h. */
  29786. +#include <wchar.h>
  29787. +
  29788. +_ACEOF
  29789. + case "$host_os" in
  29790. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  29791. + *) gl_absname_cpp="$ac_cpp" ;;
  29792. + esac
  29793. + gl_cv_next_wchar_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  29794. + sed -n '\#/wchar.h#{
  29795. + s#.*"\(.*/wchar.h\)".*#\1#
  29796. + s#^/[^/]#//&#
  29797. + p
  29798. + q
  29799. + }'`'"'
  29800. + else
  29801. + gl_cv_next_wchar_h='<'wchar.h'>'
  29802. + fi
  29803. +
  29804. +
  29805. +fi
  29806. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5
  29807. +$as_echo "$gl_cv_next_wchar_h" >&6; }
  29808. + fi
  29809. + NEXT_WCHAR_H=$gl_cv_next_wchar_h
  29810. +
  29811. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  29812. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  29813. + gl_next_as_first_directive='<'wchar.h'>'
  29814. + else
  29815. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  29816. + gl_next_as_first_directive=$gl_cv_next_wchar_h
  29817. + fi
  29818. + NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive
  29819. +
  29820. +
  29821. +
  29822. +
  29823. + if test $ac_cv_header_wchar_h = yes; then
  29824. + HAVE_WCHAR_H=1
  29825. + else
  29826. + HAVE_WCHAR_H=0
  29827. + fi
  29828. +
  29829. +
  29830. +
  29831. +
  29832. +
  29833. + if test $gt_cv_c_wint_t = yes; then
  29834. + HAVE_WINT_T=1
  29835. + else
  29836. + HAVE_WINT_T=0
  29837. + fi
  29838. +
  29839. +
  29840. +
  29841. +
  29842. + # Code from module wcrtomb:
  29843. +
  29844. +
  29845. +
  29846. +
  29847. +
  29848. +
  29849. +
  29850. +
  29851. +
  29852. +
  29853. + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
  29854. +
  29855. +
  29856. +
  29857. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
  29858. +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
  29859. +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
  29860. + $as_echo_n "(cached) " >&6
  29861. +else
  29862. +
  29863. + case "$host_os" in
  29864. + # Guess no on AIX and OSF/1.
  29865. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
  29866. + # Guess yes otherwise.
  29867. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
  29868. + esac
  29869. + if test $LOCALE_JA != none; then
  29870. + if test "$cross_compiling" = yes; then :
  29871. + :
  29872. +else
  29873. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29874. +/* end confdefs.h. */
  29875. +
  29876. +#include <locale.h>
  29877. +#include <string.h>
  29878. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  29879. + <wchar.h>.
  29880. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  29881. + included before <wchar.h>. */
  29882. +#include <stddef.h>
  29883. +#include <stdio.h>
  29884. +#include <time.h>
  29885. +#include <wchar.h>
  29886. +int main ()
  29887. +{
  29888. + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
  29889. + {
  29890. + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
  29891. + mbstate_t state;
  29892. + wchar_t wc;
  29893. +
  29894. + memset (&state, '\0', sizeof (mbstate_t));
  29895. + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
  29896. + if (mbsinit (&state))
  29897. + return 1;
  29898. + }
  29899. + return 0;
  29900. +}
  29901. +_ACEOF
  29902. +if ac_fn_c_try_run "$LINENO"; then :
  29903. + gl_cv_func_mbrtowc_incomplete_state=yes
  29904. +else
  29905. + gl_cv_func_mbrtowc_incomplete_state=no
  29906. +fi
  29907. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  29908. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  29909. +fi
  29910. +
  29911. + fi
  29912. +
  29913. +fi
  29914. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
  29915. +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
  29916. +
  29917. +
  29918. +
  29919. +
  29920. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
  29921. +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
  29922. +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
  29923. + $as_echo_n "(cached) " >&6
  29924. +else
  29925. +
  29926. + case "$host_os" in
  29927. + # Guess no on Solaris 8.
  29928. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
  29929. + # Guess yes otherwise.
  29930. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
  29931. + esac
  29932. + if test $LOCALE_ZH_CN != none; then
  29933. + if test "$cross_compiling" = yes; then :
  29934. + :
  29935. +else
  29936. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29937. +/* end confdefs.h. */
  29938. +
  29939. +#include <locale.h>
  29940. +#include <stdlib.h>
  29941. +#include <string.h>
  29942. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  29943. + <wchar.h>.
  29944. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  29945. + included before <wchar.h>. */
  29946. +#include <stddef.h>
  29947. +#include <stdio.h>
  29948. +#include <time.h>
  29949. +#include <wchar.h>
  29950. +int main ()
  29951. +{
  29952. + /* This fails on Solaris 8:
  29953. + mbrtowc returns 2, and sets wc to 0x00F0.
  29954. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */
  29955. + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
  29956. + {
  29957. + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
  29958. + mbstate_t state;
  29959. + wchar_t wc;
  29960. +
  29961. + memset (&state, '\0', sizeof (mbstate_t));
  29962. + if (mbrtowc (&wc, input + 3, 6, &state) != 4
  29963. + && mbtowc (&wc, input + 3, 6) == 4)
  29964. + return 1;
  29965. + }
  29966. + return 0;
  29967. +}
  29968. +_ACEOF
  29969. +if ac_fn_c_try_run "$LINENO"; then :
  29970. + gl_cv_func_mbrtowc_sanitycheck=yes
  29971. +else
  29972. + gl_cv_func_mbrtowc_sanitycheck=no
  29973. +fi
  29974. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  29975. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  29976. +fi
  29977. +
  29978. + fi
  29979. +
  29980. +fi
  29981. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
  29982. +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
  29983. +
  29984. + REPLACE_MBSTATE_T=0
  29985. + case "$gl_cv_func_mbrtowc_incomplete_state" in
  29986. + *yes) ;;
  29987. + *) REPLACE_MBSTATE_T=1 ;;
  29988. + esac
  29989. + case "$gl_cv_func_mbrtowc_sanitycheck" in
  29990. + *yes) ;;
  29991. + *) REPLACE_MBSTATE_T=1 ;;
  29992. + esac
  29993. + else
  29994. + REPLACE_MBSTATE_T=1
  29995. + fi
  29996. + if test $REPLACE_MBSTATE_T = 1; then
  29997. +
  29998. + :
  29999. +
  30000. + fi
  30001. +
  30002. +
  30003. +
  30004. + if test $ac_cv_func_wcrtomb = no; then
  30005. + HAVE_WCRTOMB=0
  30006. + else
  30007. + if test $REPLACE_MBSTATE_T = 1; then
  30008. + REPLACE_WCRTOMB=1
  30009. + else
  30010. +
  30011. +
  30012. +
  30013. +
  30014. +
  30015. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb return value is correct" >&5
  30016. +$as_echo_n "checking whether wcrtomb return value is correct... " >&6; }
  30017. +if ${gl_cv_func_wcrtomb_retval+:} false; then :
  30018. + $as_echo_n "(cached) " >&6
  30019. +else
  30020. +
  30021. + case "$host_os" in
  30022. + # Guess no on AIX 4, OSF/1 and Solaris.
  30023. + aix4* | osf* | solaris*) gl_cv_func_wcrtomb_retval="guessing no" ;;
  30024. + # Guess yes otherwise.
  30025. + *) gl_cv_func_wcrtomb_retval="guessing yes" ;;
  30026. + esac
  30027. + if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
  30028. + if test "$cross_compiling" = yes; then :
  30029. + :
  30030. +else
  30031. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30032. +/* end confdefs.h. */
  30033. +
  30034. +#include <locale.h>
  30035. +#include <string.h>
  30036. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  30037. + <wchar.h>.
  30038. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  30039. + included before <wchar.h>. */
  30040. +#include <stddef.h>
  30041. +#include <stdio.h>
  30042. +#include <time.h>
  30043. +#include <wchar.h>
  30044. +int main ()
  30045. +{
  30046. + int result = 0;
  30047. + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
  30048. + {
  30049. + if (wcrtomb (NULL, 0, NULL) != 1)
  30050. + result |= 1;
  30051. + }
  30052. + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
  30053. + {
  30054. + if (wcrtomb (NULL, 0, NULL) != 1)
  30055. + result |= 2;
  30056. + }
  30057. + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
  30058. + {
  30059. + if (wcrtomb (NULL, 0, NULL) != 1)
  30060. + result |= 4;
  30061. + }
  30062. + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
  30063. + {
  30064. + if (wcrtomb (NULL, 0, NULL) != 1)
  30065. + result |= 8;
  30066. + }
  30067. + return result;
  30068. +}
  30069. +_ACEOF
  30070. +if ac_fn_c_try_run "$LINENO"; then :
  30071. + gl_cv_func_wcrtomb_retval=yes
  30072. +else
  30073. + gl_cv_func_wcrtomb_retval=no
  30074. +fi
  30075. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  30076. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  30077. +fi
  30078. +
  30079. + fi
  30080. +
  30081. +fi
  30082. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcrtomb_retval" >&5
  30083. +$as_echo "$gl_cv_func_wcrtomb_retval" >&6; }
  30084. + case "$gl_cv_func_wcrtomb_retval" in
  30085. + *yes) ;;
  30086. + *) REPLACE_WCRTOMB=1 ;;
  30087. + esac
  30088. + fi
  30089. + fi
  30090. + if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
  30091. +
  30092. + :
  30093. +
  30094. +
  30095. +
  30096. +
  30097. +
  30098. +
  30099. +
  30100. +
  30101. +
  30102. + M4_LIBOBJS="$M4_LIBOBJS wcrtomb.$ac_objext"
  30103. +
  30104. +
  30105. + :
  30106. +
  30107. + fi
  30108. +
  30109. +
  30110. +
  30111. +
  30112. + GNULIB_WCRTOMB=1
  30113. +
  30114. +
  30115. +
  30116. +$as_echo "@%:@define GNULIB_TEST_WCRTOMB 1" >>confdefs.h
  30117. +
  30118. +
  30119. +
  30120. + # Code from module wctype-h:
  30121. +
  30122. +
  30123. +
  30124. +
  30125. +
  30126. + if test $ac_cv_func_iswcntrl = yes; then
  30127. + HAVE_ISWCNTRL=1
  30128. + else
  30129. + HAVE_ISWCNTRL=0
  30130. + fi
  30131. +
  30132. +
  30133. +
  30134. +
  30135. +
  30136. + if test $gt_cv_c_wint_t = yes; then
  30137. + HAVE_WINT_T=1
  30138. + else
  30139. + HAVE_WINT_T=0
  30140. + fi
  30141. +
  30142. +
  30143. +
  30144. +
  30145. +
  30146. +
  30147. +
  30148. +
  30149. +
  30150. +
  30151. +
  30152. + if test $gl_cv_have_include_next = yes; then
  30153. + gl_cv_next_wctype_h='<'wctype.h'>'
  30154. + else
  30155. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wctype.h>" >&5
  30156. +$as_echo_n "checking absolute name of <wctype.h>... " >&6; }
  30157. +if ${gl_cv_next_wctype_h+:} false; then :
  30158. + $as_echo_n "(cached) " >&6
  30159. +else
  30160. +
  30161. + if test $ac_cv_header_wctype_h = yes; then
  30162. +
  30163. +
  30164. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30165. +/* end confdefs.h. */
  30166. +#include <wctype.h>
  30167. +
  30168. +_ACEOF
  30169. + case "$host_os" in
  30170. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  30171. + *) gl_absname_cpp="$ac_cpp" ;;
  30172. + esac
  30173. + gl_cv_next_wctype_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  30174. + sed -n '\#/wctype.h#{
  30175. + s#.*"\(.*/wctype.h\)".*#\1#
  30176. + s#^/[^/]#//&#
  30177. + p
  30178. + q
  30179. + }'`'"'
  30180. + else
  30181. + gl_cv_next_wctype_h='<'wctype.h'>'
  30182. + fi
  30183. +
  30184. +
  30185. +fi
  30186. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5
  30187. +$as_echo "$gl_cv_next_wctype_h" >&6; }
  30188. + fi
  30189. + NEXT_WCTYPE_H=$gl_cv_next_wctype_h
  30190. +
  30191. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  30192. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  30193. + gl_next_as_first_directive='<'wctype.h'>'
  30194. + else
  30195. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  30196. + gl_next_as_first_directive=$gl_cv_next_wctype_h
  30197. + fi
  30198. + NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H=$gl_next_as_first_directive
  30199. +
  30200. +
  30201. +
  30202. +
  30203. + if test $ac_cv_header_wctype_h = yes; then
  30204. + if test $ac_cv_func_iswcntrl = yes; then
  30205. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5
  30206. +$as_echo_n "checking whether iswcntrl works... " >&6; }
  30207. +if ${gl_cv_func_iswcntrl_works+:} false; then :
  30208. + $as_echo_n "(cached) " >&6
  30209. +else
  30210. +
  30211. + if test "$cross_compiling" = yes; then :
  30212. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30213. +/* end confdefs.h. */
  30214. +#include <stdlib.h>
  30215. + #if __GNU_LIBRARY__ == 1
  30216. + Linux libc5 i18n is broken.
  30217. + #endif
  30218. +int
  30219. +main ()
  30220. +{
  30221. +
  30222. + ;
  30223. + return 0;
  30224. +}
  30225. +_ACEOF
  30226. +if ac_fn_c_try_compile "$LINENO"; then :
  30227. + gl_cv_func_iswcntrl_works=yes
  30228. +else
  30229. + gl_cv_func_iswcntrl_works=no
  30230. +fi
  30231. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  30232. +
  30233. +else
  30234. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30235. +/* end confdefs.h. */
  30236. +
  30237. + /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
  30238. + included before <wchar.h>.
  30239. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
  30240. + must be included before <wchar.h>. */
  30241. + #include <stddef.h>
  30242. + #include <stdio.h>
  30243. + #include <time.h>
  30244. + #include <wchar.h>
  30245. + #include <wctype.h>
  30246. + int main () { return iswprint ('x') == 0; }
  30247. +
  30248. +_ACEOF
  30249. +if ac_fn_c_try_run "$LINENO"; then :
  30250. + gl_cv_func_iswcntrl_works=yes
  30251. +else
  30252. + gl_cv_func_iswcntrl_works=no
  30253. +fi
  30254. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  30255. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  30256. +fi
  30257. +
  30258. +
  30259. +fi
  30260. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswcntrl_works" >&5
  30261. +$as_echo "$gl_cv_func_iswcntrl_works" >&6; }
  30262. + fi
  30263. + HAVE_WCTYPE_H=1
  30264. + else
  30265. + HAVE_WCTYPE_H=0
  30266. + fi
  30267. +
  30268. +
  30269. + if test "$gl_cv_func_iswcntrl_works" = no; then
  30270. + REPLACE_ISWCNTRL=1
  30271. + else
  30272. + REPLACE_ISWCNTRL=0
  30273. + fi
  30274. +
  30275. +
  30276. + if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
  30277. + :
  30278. + fi
  30279. +
  30280. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5
  30281. +$as_echo_n "checking for wctype_t... " >&6; }
  30282. +if ${gl_cv_type_wctype_t+:} false; then :
  30283. + $as_echo_n "(cached) " >&6
  30284. +else
  30285. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30286. +/* end confdefs.h. */
  30287. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
  30288. + included before <wchar.h>.
  30289. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
  30290. + must be included before <wchar.h>. */
  30291. + #include <stddef.h>
  30292. + #include <stdio.h>
  30293. + #include <time.h>
  30294. + #include <wchar.h>
  30295. + #if HAVE_WCTYPE_H
  30296. + # include <wctype.h>
  30297. + #endif
  30298. + wctype_t a;
  30299. +
  30300. +int
  30301. +main ()
  30302. +{
  30303. +
  30304. + ;
  30305. + return 0;
  30306. +}
  30307. +_ACEOF
  30308. +if ac_fn_c_try_compile "$LINENO"; then :
  30309. + gl_cv_type_wctype_t=yes
  30310. +else
  30311. + gl_cv_type_wctype_t=no
  30312. +fi
  30313. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  30314. +
  30315. +fi
  30316. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctype_t" >&5
  30317. +$as_echo "$gl_cv_type_wctype_t" >&6; }
  30318. + if test $gl_cv_type_wctype_t = no; then
  30319. + HAVE_WCTYPE_T=0
  30320. + fi
  30321. +
  30322. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5
  30323. +$as_echo_n "checking for wctrans_t... " >&6; }
  30324. +if ${gl_cv_type_wctrans_t+:} false; then :
  30325. + $as_echo_n "(cached) " >&6
  30326. +else
  30327. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30328. +/* end confdefs.h. */
  30329. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
  30330. + included before <wchar.h>.
  30331. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
  30332. + must be included before <wchar.h>. */
  30333. + #include <stddef.h>
  30334. + #include <stdio.h>
  30335. + #include <time.h>
  30336. + #include <wchar.h>
  30337. + #include <wctype.h>
  30338. + wctrans_t a;
  30339. +
  30340. +int
  30341. +main ()
  30342. +{
  30343. +
  30344. + ;
  30345. + return 0;
  30346. +}
  30347. +_ACEOF
  30348. +if ac_fn_c_try_compile "$LINENO"; then :
  30349. + gl_cv_type_wctrans_t=yes
  30350. +else
  30351. + gl_cv_type_wctrans_t=no
  30352. +fi
  30353. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  30354. +
  30355. +fi
  30356. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctrans_t" >&5
  30357. +$as_echo "$gl_cv_type_wctrans_t" >&6; }
  30358. + if test $gl_cv_type_wctrans_t = no; then
  30359. + HAVE_WCTRANS_T=0
  30360. + fi
  30361. +
  30362. +
  30363. +
  30364. + # Code from module xalloc:
  30365. +
  30366. +
  30367. +
  30368. +
  30369. +
  30370. +
  30371. +
  30372. +
  30373. +
  30374. + M4_LIBOBJS="$M4_LIBOBJS xmalloc.$ac_objext"
  30375. +
  30376. +
  30377. +
  30378. +
  30379. + :
  30380. +
  30381. +
  30382. + :
  30383. +
  30384. +
  30385. + # Code from module xalloc-die:
  30386. + # Code from module xlist:
  30387. +
  30388. +
  30389. +
  30390. + # Code from module xmalloca:
  30391. + # Code from module xoset:
  30392. +
  30393. +
  30394. +
  30395. + # Code from module xprintf:
  30396. +
  30397. +
  30398. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xprintf:1:c-format"
  30399. +
  30400. +
  30401. +
  30402. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xvprintf:1:c-format"
  30403. +
  30404. +
  30405. +
  30406. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xfprintf:2:c-format"
  30407. +
  30408. +
  30409. +
  30410. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xvfprintf:2:c-format"
  30411. +
  30412. + # Code from module xsize:
  30413. +
  30414. +
  30415. +
  30416. + for ac_header in stdint.h
  30417. +do :
  30418. + ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
  30419. +if test "x$ac_cv_header_stdint_h" = xyes; then :
  30420. + cat >>confdefs.h <<_ACEOF
  30421. +@%:@define HAVE_STDINT_H 1
  30422. +_ACEOF
  30423. +
  30424. +fi
  30425. +
  30426. +done
  30427. +
  30428. +
  30429. + # Code from module xstrndup:
  30430. +
  30431. +
  30432. + :
  30433. +
  30434. +
  30435. + # Code from module xvasprintf:
  30436. +
  30437. +
  30438. +
  30439. +
  30440. +
  30441. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xasprintf:1:c-format"
  30442. +
  30443. + # Code from module xvasprintf-posix:
  30444. + # End of code from modules
  30445. +
  30446. +
  30447. +
  30448. +
  30449. +
  30450. +
  30451. +
  30452. +
  30453. +
  30454. + gltests_libdeps=
  30455. + gltests_ltlibdeps=
  30456. +
  30457. +
  30458. +
  30459. +
  30460. +
  30461. +
  30462. +
  30463. +
  30464. +
  30465. + gl_source_base='tests'
  30466. + M4tests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
  30467. +
  30468. + gl_module_indicator_condition=$M4tests_WITNESS
  30469. +
  30470. +
  30471. +
  30472. +
  30473. + if test "$CXX_CHOICE" = no; then
  30474. + CXX=":"
  30475. + fi
  30476. + if test -z "$CXX"; then
  30477. + if test -n "$CCC"; then
  30478. + CXX="$CCC"
  30479. + else
  30480. + if test -n "$ac_tool_prefix"; then
  30481. + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
  30482. + do
  30483. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  30484. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  30485. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  30486. +$as_echo_n "checking for $ac_word... " >&6; }
  30487. +if ${ac_cv_prog_CXX+:} false; then :
  30488. + $as_echo_n "(cached) " >&6
  30489. +else
  30490. + if test -n "$CXX"; then
  30491. + ac_cv_prog_CXX="$CXX" # Let the user override the test.
  30492. +else
  30493. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  30494. +for as_dir in $PATH
  30495. +do
  30496. + IFS=$as_save_IFS
  30497. + test -z "$as_dir" && as_dir=.
  30498. + for ac_exec_ext in '' $ac_executable_extensions; do
  30499. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  30500. + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  30501. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  30502. + break 2
  30503. + fi
  30504. +done
  30505. + done
  30506. +IFS=$as_save_IFS
  30507. +
  30508. +fi
  30509. +fi
  30510. +CXX=$ac_cv_prog_CXX
  30511. +if test -n "$CXX"; then
  30512. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  30513. +$as_echo "$CXX" >&6; }
  30514. +else
  30515. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30516. +$as_echo "no" >&6; }
  30517. +fi
  30518. +
  30519. +
  30520. + test -n "$CXX" && break
  30521. + done
  30522. +fi
  30523. +if test -z "$CXX"; then
  30524. + ac_ct_CXX=$CXX
  30525. + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
  30526. +do
  30527. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  30528. +set dummy $ac_prog; ac_word=$2
  30529. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  30530. +$as_echo_n "checking for $ac_word... " >&6; }
  30531. +if ${ac_cv_prog_ac_ct_CXX+:} false; then :
  30532. + $as_echo_n "(cached) " >&6
  30533. +else
  30534. + if test -n "$ac_ct_CXX"; then
  30535. + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  30536. +else
  30537. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  30538. +for as_dir in $PATH
  30539. +do
  30540. + IFS=$as_save_IFS
  30541. + test -z "$as_dir" && as_dir=.
  30542. + for ac_exec_ext in '' $ac_executable_extensions; do
  30543. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  30544. + ac_cv_prog_ac_ct_CXX="$ac_prog"
  30545. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  30546. + break 2
  30547. + fi
  30548. +done
  30549. + done
  30550. +IFS=$as_save_IFS
  30551. +
  30552. +fi
  30553. +fi
  30554. +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  30555. +if test -n "$ac_ct_CXX"; then
  30556. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  30557. +$as_echo "$ac_ct_CXX" >&6; }
  30558. +else
  30559. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30560. +$as_echo "no" >&6; }
  30561. +fi
  30562. +
  30563. +
  30564. + test -n "$ac_ct_CXX" && break
  30565. +done
  30566. +
  30567. + if test "x$ac_ct_CXX" = x; then
  30568. + CXX=":"
  30569. + else
  30570. + case $cross_compiling:$ac_tool_warned in
  30571. +yes:)
  30572. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  30573. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  30574. +ac_tool_warned=yes ;;
  30575. +esac
  30576. + CXX=$ac_ct_CXX
  30577. + fi
  30578. +fi
  30579. +
  30580. + fi
  30581. + fi
  30582. + if test "$CXX" != ":"; then
  30583. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
  30584. +$as_echo_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works... " >&6; }
  30585. + ac_ext=cpp
  30586. +ac_cpp='$CXXCPP $CPPFLAGS'
  30587. +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  30588. +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  30589. +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  30590. +
  30591. +
  30592. +
  30593. + echo 'int main () { return 0; }' > conftest.$ac_ext
  30594. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  30595. + (eval $ac_link) 2>&5
  30596. + ac_status=$?
  30597. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30598. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  30599. + gl_cv_prog_ansicxx_works=yes
  30600. + if (./conftest; exit) 2>/dev/null; then
  30601. + gl_cv_prog_ansicxx_cross=no
  30602. + else
  30603. + gl_cv_prog_ansicxx_cross=yes
  30604. + fi
  30605. + else
  30606. + gl_cv_prog_ansicxx_works=no
  30607. + fi
  30608. + rm -fr conftest*
  30609. + ac_ext=c
  30610. +ac_cpp='$CPP $CPPFLAGS'
  30611. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  30612. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  30613. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  30614. +
  30615. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_prog_ansicxx_works" >&5
  30616. +$as_echo "$gl_cv_prog_ansicxx_works" >&6; }
  30617. + if test $gl_cv_prog_ansicxx_works = no; then
  30618. + CXX=:
  30619. + else
  30620. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler supports namespaces" >&5
  30621. +$as_echo_n "checking whether the C++ compiler supports namespaces... " >&6; }
  30622. + ac_ext=cpp
  30623. +ac_cpp='$CXXCPP $CPPFLAGS'
  30624. +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  30625. +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  30626. +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  30627. +
  30628. + cat <<EOF > conftest.$ac_ext
  30629. +#include <iostream>
  30630. +namespace test { using namespace std; }
  30631. +std::ostream* ptr;
  30632. +int main () { return 0; }
  30633. +EOF
  30634. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  30635. + (eval $ac_link) 2>&5
  30636. + ac_status=$?
  30637. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30638. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  30639. + gl_cv_prog_ansicxx_namespaces=yes
  30640. + else
  30641. + gl_cv_prog_ansicxx_namespaces=no
  30642. + fi
  30643. + rm -fr conftest*
  30644. + ac_ext=c
  30645. +ac_cpp='$CPP $CPPFLAGS'
  30646. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  30647. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  30648. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  30649. +
  30650. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_prog_ansicxx_namespaces" >&5
  30651. +$as_echo "$gl_cv_prog_ansicxx_namespaces" >&6; }
  30652. + if test $gl_cv_prog_ansicxx_namespaces = no; then
  30653. + CXX=:
  30654. + fi
  30655. + fi
  30656. + fi
  30657. +
  30658. +
  30659. +
  30660. + if test "$CXX" != ":"; then
  30661. + ANSICXX_TRUE=
  30662. + ANSICXX_FALSE='#'
  30663. +else
  30664. + ANSICXX_TRUE='#'
  30665. + ANSICXX_FALSE=
  30666. +fi
  30667. +
  30668. +
  30669. + if test "$CXX" != ":"; then
  30670. +
  30671. +depcc="$CXX" am_compiler_list=
  30672. +
  30673. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  30674. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  30675. +if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
  30676. + $as_echo_n "(cached) " >&6
  30677. +else
  30678. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  30679. + # We make a subdir and do the tests there. Otherwise we can end up
  30680. + # making bogus files that we don't know about and never remove. For
  30681. + # instance it was reported that on HP-UX the gcc test will end up
  30682. + # making a dummy file named 'D' -- because '-MD' means "put the output
  30683. + # in D".
  30684. + rm -rf conftest.dir
  30685. + mkdir conftest.dir
  30686. + # Copy depcomp to subdir because otherwise we won't find it if we're
  30687. + # using a relative directory.
  30688. + cp "$am_depcomp" conftest.dir
  30689. + cd conftest.dir
  30690. + # We will build objects and dependencies in a subdirectory because
  30691. + # it helps to detect inapplicable dependency modes. For instance
  30692. + # both Tru64's cc and ICC support -MD to output dependencies as a
  30693. + # side effect of compilation, but ICC will put the dependencies in
  30694. + # the current directory while Tru64 will put them in the object
  30695. + # directory.
  30696. + mkdir sub
  30697. +
  30698. + am_cv_CXX_dependencies_compiler_type=none
  30699. + if test "$am_compiler_list" = ""; then
  30700. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  30701. + fi
  30702. + am__universal=false
  30703. + case " $depcc " in #(
  30704. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  30705. + esac
  30706. +
  30707. + for depmode in $am_compiler_list; do
  30708. + # Setup a source with many dependencies, because some compilers
  30709. + # like to wrap large dependency lists on column 80 (with \), and
  30710. + # we should not choose a depcomp mode which is confused by this.
  30711. + #
  30712. + # We need to recreate these files for each test, as the compiler may
  30713. + # overwrite some of them when testing with obscure command lines.
  30714. + # This happens at least with the AIX C compiler.
  30715. + : > sub/conftest.c
  30716. + for i in 1 2 3 4 5 6; do
  30717. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  30718. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  30719. + # Solaris 10 /bin/sh.
  30720. + echo '/* dummy */' > sub/conftst$i.h
  30721. + done
  30722. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  30723. +
  30724. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  30725. + # mode. It turns out that the SunPro C++ compiler does not properly
  30726. + # handle '-M -o', and we need to detect this. Also, some Intel
  30727. + # versions had trouble with output in subdirs.
  30728. + am__obj=sub/conftest.${OBJEXT-o}
  30729. + am__minus_obj="-o $am__obj"
  30730. + case $depmode in
  30731. + gcc)
  30732. + # This depmode causes a compiler race in universal mode.
  30733. + test "$am__universal" = false || continue
  30734. + ;;
  30735. + nosideeffect)
  30736. + # After this tag, mechanisms are not by side-effect, so they'll
  30737. + # only be used when explicitly requested.
  30738. + if test "x$enable_dependency_tracking" = xyes; then
  30739. + continue
  30740. + else
  30741. + break
  30742. + fi
  30743. + ;;
  30744. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  30745. + # This compiler won't grok '-c -o', but also, the minuso test has
  30746. + # not run yet. These depmodes are late enough in the game, and
  30747. + # so weak that their functioning should not be impacted.
  30748. + am__obj=conftest.${OBJEXT-o}
  30749. + am__minus_obj=
  30750. + ;;
  30751. + none) break ;;
  30752. + esac
  30753. + if depmode=$depmode \
  30754. + source=sub/conftest.c object=$am__obj \
  30755. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  30756. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  30757. + >/dev/null 2>conftest.err &&
  30758. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  30759. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  30760. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  30761. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  30762. + # icc doesn't choke on unknown options, it will just issue warnings
  30763. + # or remarks (even with -Werror). So we grep stderr for any message
  30764. + # that says an option was ignored or not supported.
  30765. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  30766. + # icc: Command line warning: ignoring option '-M'; no argument required
  30767. + # The diagnosis changed in icc 8.0:
  30768. + # icc: Command line remark: option '-MP' not supported
  30769. + if (grep 'ignoring option' conftest.err ||
  30770. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  30771. + am_cv_CXX_dependencies_compiler_type=$depmode
  30772. + break
  30773. + fi
  30774. + fi
  30775. + done
  30776. +
  30777. + cd ..
  30778. + rm -rf conftest.dir
  30779. +else
  30780. + am_cv_CXX_dependencies_compiler_type=none
  30781. +fi
  30782. +
  30783. +fi
  30784. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
  30785. +$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  30786. +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  30787. +
  30788. + if
  30789. + test "x$enable_dependency_tracking" != xno \
  30790. + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  30791. + am__fastdepCXX_TRUE=
  30792. + am__fastdepCXX_FALSE='#'
  30793. +else
  30794. + am__fastdepCXX_TRUE='#'
  30795. + am__fastdepCXX_FALSE=
  30796. +fi
  30797. +
  30798. +
  30799. + else
  30800. + if false; then
  30801. + am__fastdepCXX_TRUE=
  30802. + am__fastdepCXX_FALSE='#'
  30803. +else
  30804. + am__fastdepCXX_TRUE='#'
  30805. + am__fastdepCXX_FALSE=
  30806. +fi
  30807. +
  30808. + fi
  30809. +
  30810. +
  30811. +
  30812. +
  30813. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  30814. +$as_echo_n "checking for a traditional french locale... " >&6; }
  30815. +if ${gt_cv_locale_fr+:} false; then :
  30816. + $as_echo_n "(cached) " >&6
  30817. +else
  30818. +
  30819. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30820. +/* end confdefs.h. */
  30821. +
  30822. +#include <locale.h>
  30823. +#include <time.h>
  30824. +#if HAVE_LANGINFO_CODESET
  30825. +# include <langinfo.h>
  30826. +#endif
  30827. +#include <stdlib.h>
  30828. +#include <string.h>
  30829. +struct tm t;
  30830. +char buf[16];
  30831. +int main () {
  30832. + /* Check whether the given locale name is recognized by the system. */
  30833. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  30834. + /* On native Win32, setlocale(category, "") looks at the system settings,
  30835. + not at the environment variables. Also, when an encoding suffix such
  30836. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  30837. + category of the locale to "C". */
  30838. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  30839. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  30840. + return 1;
  30841. +#else
  30842. + if (setlocale (LC_ALL, "") == NULL) return 1;
  30843. +#endif
  30844. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  30845. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  30846. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  30847. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  30848. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  30849. + some unit tests fail.
  30850. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  30851. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  30852. +#if HAVE_LANGINFO_CODESET
  30853. + {
  30854. + const char *cs = nl_langinfo (CODESET);
  30855. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  30856. + || strcmp (cs, "UTF-8") == 0)
  30857. + return 1;
  30858. + }
  30859. +#endif
  30860. +#ifdef __CYGWIN__
  30861. + /* On Cygwin, avoid locale names without encoding suffix, because the
  30862. + locale_charset() function relies on the encoding suffix. Note that
  30863. + LC_ALL is set on the command line. */
  30864. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  30865. +#endif
  30866. + /* Check whether in the abbreviation of the second month, the second
  30867. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
  30868. + one byte long. This excludes the UTF-8 encoding. */
  30869. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  30870. + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
  30871. + /* Check whether the decimal separator is a comma.
  30872. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  30873. + are nl_langinfo(RADIXCHAR) are both ".". */
  30874. + if (localeconv () ->decimal_point[0] != ',') return 1;
  30875. + return 0;
  30876. +}
  30877. +
  30878. +_ACEOF
  30879. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  30880. + (eval $ac_link) 2>&5
  30881. + ac_status=$?
  30882. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30883. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  30884. + case "$host_os" in
  30885. + # Handle native Windows specially, because there setlocale() interprets
  30886. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  30887. + # "fr" or "fra" as "French" or "French_France.1252",
  30888. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  30889. + # "ja" as "Japanese" or "Japanese_Japan.932",
  30890. + # and similar.
  30891. + mingw*)
  30892. + # Test for the native Win32 locale name.
  30893. + if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  30894. + gt_cv_locale_fr=French_France.1252
  30895. + else
  30896. + # None found.
  30897. + gt_cv_locale_fr=none
  30898. + fi
  30899. + ;;
  30900. + *)
  30901. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  30902. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  30903. + # configure script would override the LC_ALL setting. Likewise for
  30904. + # LC_CTYPE, which is also set at the beginning of the configure script.
  30905. + # Test for the usual locale name.
  30906. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  30907. + gt_cv_locale_fr=fr_FR
  30908. + else
  30909. + # Test for the locale name with explicit encoding suffix.
  30910. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  30911. + gt_cv_locale_fr=fr_FR.ISO-8859-1
  30912. + else
  30913. + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
  30914. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  30915. + gt_cv_locale_fr=fr_FR.ISO8859-1
  30916. + else
  30917. + # Test for the HP-UX locale name.
  30918. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  30919. + gt_cv_locale_fr=fr_FR.iso88591
  30920. + else
  30921. + # Test for the Solaris 7 locale name.
  30922. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  30923. + gt_cv_locale_fr=fr
  30924. + else
  30925. + # None found.
  30926. + gt_cv_locale_fr=none
  30927. + fi
  30928. + fi
  30929. + fi
  30930. + fi
  30931. + fi
  30932. + ;;
  30933. + esac
  30934. + fi
  30935. + rm -fr conftest*
  30936. +
  30937. +fi
  30938. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
  30939. +$as_echo "$gt_cv_locale_fr" >&6; }
  30940. + LOCALE_FR=$gt_cv_locale_fr
  30941. +
  30942. +
  30943. +
  30944. +
  30945. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  30946. +$as_echo_n "checking for a french Unicode locale... " >&6; }
  30947. +if ${gt_cv_locale_fr_utf8+:} false; then :
  30948. + $as_echo_n "(cached) " >&6
  30949. +else
  30950. +
  30951. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30952. +/* end confdefs.h. */
  30953. +
  30954. +#include <locale.h>
  30955. +#include <time.h>
  30956. +#if HAVE_LANGINFO_CODESET
  30957. +# include <langinfo.h>
  30958. +#endif
  30959. +#include <stdlib.h>
  30960. +#include <string.h>
  30961. +struct tm t;
  30962. +char buf[16];
  30963. +int main () {
  30964. + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl
  30965. + imitates locale dependent behaviour by looking at the environment
  30966. + variables, and all locales use the UTF-8 encoding. */
  30967. +#if !(defined __BEOS__ || defined __HAIKU__)
  30968. + /* Check whether the given locale name is recognized by the system. */
  30969. +# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  30970. + /* On native Win32, setlocale(category, "") looks at the system settings,
  30971. + not at the environment variables. Also, when an encoding suffix such
  30972. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  30973. + category of the locale to "C". */
  30974. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  30975. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  30976. + return 1;
  30977. +# else
  30978. + if (setlocale (LC_ALL, "") == NULL) return 1;
  30979. +# endif
  30980. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  30981. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  30982. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  30983. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  30984. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  30985. + some unit tests fail. */
  30986. +# if HAVE_LANGINFO_CODESET
  30987. + {
  30988. + const char *cs = nl_langinfo (CODESET);
  30989. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  30990. + return 1;
  30991. + }
  30992. +# endif
  30993. +# ifdef __CYGWIN__
  30994. + /* On Cygwin, avoid locale names without encoding suffix, because the
  30995. + locale_charset() function relies on the encoding suffix. Note that
  30996. + LC_ALL is set on the command line. */
  30997. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  30998. +# endif
  30999. + /* Check whether in the abbreviation of the second month, the second
  31000. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
  31001. + two bytes long, with UTF-8 encoding. */
  31002. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  31003. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  31004. + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
  31005. + return 1;
  31006. +#endif
  31007. + /* Check whether the decimal separator is a comma.
  31008. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  31009. + are nl_langinfo(RADIXCHAR) are both ".". */
  31010. + if (localeconv () ->decimal_point[0] != ',') return 1;
  31011. + return 0;
  31012. +}
  31013. +
  31014. +_ACEOF
  31015. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  31016. + (eval $ac_link) 2>&5
  31017. + ac_status=$?
  31018. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  31019. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  31020. + case "$host_os" in
  31021. + # Handle native Windows specially, because there setlocale() interprets
  31022. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  31023. + # "fr" or "fra" as "French" or "French_France.1252",
  31024. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  31025. + # "ja" as "Japanese" or "Japanese_Japan.932",
  31026. + # and similar.
  31027. + mingw*)
  31028. + # Test for the hypothetical native Win32 locale name.
  31029. + if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  31030. + gt_cv_locale_fr_utf8=French_France.65001
  31031. + else
  31032. + # None found.
  31033. + gt_cv_locale_fr_utf8=none
  31034. + fi
  31035. + ;;
  31036. + *)
  31037. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  31038. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  31039. + # configure script would override the LC_ALL setting. Likewise for
  31040. + # LC_CTYPE, which is also set at the beginning of the configure script.
  31041. + # Test for the usual locale name.
  31042. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  31043. + gt_cv_locale_fr_utf8=fr_FR
  31044. + else
  31045. + # Test for the locale name with explicit encoding suffix.
  31046. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  31047. + gt_cv_locale_fr_utf8=fr_FR.UTF-8
  31048. + else
  31049. + # Test for the Solaris 7 locale name.
  31050. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  31051. + gt_cv_locale_fr_utf8=fr.UTF-8
  31052. + else
  31053. + # None found.
  31054. + gt_cv_locale_fr_utf8=none
  31055. + fi
  31056. + fi
  31057. + fi
  31058. + ;;
  31059. + esac
  31060. + fi
  31061. + rm -fr conftest*
  31062. +
  31063. +fi
  31064. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
  31065. +$as_echo "$gt_cv_locale_fr_utf8" >&6; }
  31066. + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
  31067. +
  31068. +
  31069. +
  31070. +
  31071. +
  31072. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  31073. +$as_echo_n "checking for a traditional french locale... " >&6; }
  31074. +if ${gt_cv_locale_fr+:} false; then :
  31075. + $as_echo_n "(cached) " >&6
  31076. +else
  31077. +
  31078. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31079. +/* end confdefs.h. */
  31080. +
  31081. +#include <locale.h>
  31082. +#include <time.h>
  31083. +#if HAVE_LANGINFO_CODESET
  31084. +# include <langinfo.h>
  31085. +#endif
  31086. +#include <stdlib.h>
  31087. +#include <string.h>
  31088. +struct tm t;
  31089. +char buf[16];
  31090. +int main () {
  31091. + /* Check whether the given locale name is recognized by the system. */
  31092. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  31093. + /* On native Win32, setlocale(category, "") looks at the system settings,
  31094. + not at the environment variables. Also, when an encoding suffix such
  31095. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  31096. + category of the locale to "C". */
  31097. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  31098. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  31099. + return 1;
  31100. +#else
  31101. + if (setlocale (LC_ALL, "") == NULL) return 1;
  31102. +#endif
  31103. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  31104. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  31105. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  31106. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  31107. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  31108. + some unit tests fail.
  31109. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  31110. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  31111. +#if HAVE_LANGINFO_CODESET
  31112. + {
  31113. + const char *cs = nl_langinfo (CODESET);
  31114. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  31115. + || strcmp (cs, "UTF-8") == 0)
  31116. + return 1;
  31117. + }
  31118. +#endif
  31119. +#ifdef __CYGWIN__
  31120. + /* On Cygwin, avoid locale names without encoding suffix, because the
  31121. + locale_charset() function relies on the encoding suffix. Note that
  31122. + LC_ALL is set on the command line. */
  31123. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  31124. +#endif
  31125. + /* Check whether in the abbreviation of the second month, the second
  31126. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
  31127. + one byte long. This excludes the UTF-8 encoding. */
  31128. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  31129. + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
  31130. + /* Check whether the decimal separator is a comma.
  31131. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  31132. + are nl_langinfo(RADIXCHAR) are both ".". */
  31133. + if (localeconv () ->decimal_point[0] != ',') return 1;
  31134. + return 0;
  31135. +}
  31136. +
  31137. +_ACEOF
  31138. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  31139. + (eval $ac_link) 2>&5
  31140. + ac_status=$?
  31141. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  31142. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  31143. + case "$host_os" in
  31144. + # Handle native Windows specially, because there setlocale() interprets
  31145. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  31146. + # "fr" or "fra" as "French" or "French_France.1252",
  31147. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  31148. + # "ja" as "Japanese" or "Japanese_Japan.932",
  31149. + # and similar.
  31150. + mingw*)
  31151. + # Test for the native Win32 locale name.
  31152. + if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  31153. + gt_cv_locale_fr=French_France.1252
  31154. + else
  31155. + # None found.
  31156. + gt_cv_locale_fr=none
  31157. + fi
  31158. + ;;
  31159. + *)
  31160. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  31161. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  31162. + # configure script would override the LC_ALL setting. Likewise for
  31163. + # LC_CTYPE, which is also set at the beginning of the configure script.
  31164. + # Test for the usual locale name.
  31165. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  31166. + gt_cv_locale_fr=fr_FR
  31167. + else
  31168. + # Test for the locale name with explicit encoding suffix.
  31169. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  31170. + gt_cv_locale_fr=fr_FR.ISO-8859-1
  31171. + else
  31172. + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
  31173. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  31174. + gt_cv_locale_fr=fr_FR.ISO8859-1
  31175. + else
  31176. + # Test for the HP-UX locale name.
  31177. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  31178. + gt_cv_locale_fr=fr_FR.iso88591
  31179. + else
  31180. + # Test for the Solaris 7 locale name.
  31181. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  31182. + gt_cv_locale_fr=fr
  31183. + else
  31184. + # None found.
  31185. + gt_cv_locale_fr=none
  31186. + fi
  31187. + fi
  31188. + fi
  31189. + fi
  31190. + fi
  31191. + ;;
  31192. + esac
  31193. + fi
  31194. + rm -fr conftest*
  31195. +
  31196. +fi
  31197. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
  31198. +$as_echo "$gt_cv_locale_fr" >&6; }
  31199. + LOCALE_FR=$gt_cv_locale_fr
  31200. +
  31201. +
  31202. +
  31203. +
  31204. +
  31205. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a turkish Unicode locale" >&5
  31206. +$as_echo_n "checking for a turkish Unicode locale... " >&6; }
  31207. +if ${gt_cv_locale_tr_utf8+:} false; then :
  31208. + $as_echo_n "(cached) " >&6
  31209. +else
  31210. +
  31211. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31212. +/* end confdefs.h. */
  31213. +
  31214. +#include <locale.h>
  31215. +#include <time.h>
  31216. +#if HAVE_LANGINFO_CODESET
  31217. +# include <langinfo.h>
  31218. +#endif
  31219. +#include <stdlib.h>
  31220. +#include <string.h>
  31221. +struct tm t;
  31222. +char buf[16];
  31223. +int main () {
  31224. + /* On BeOS, locales are not implemented in libc. Rather, libintl
  31225. + imitates locale dependent behaviour by looking at the environment
  31226. + variables, and all locales use the UTF-8 encoding. But BeOS does not
  31227. + implement the Turkish upper-/lowercase mappings. Therefore, let this
  31228. + program return 1 on BeOS. */
  31229. + /* Check whether the given locale name is recognized by the system. */
  31230. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  31231. + /* On native Win32, setlocale(category, "") looks at the system settings,
  31232. + not at the environment variables. Also, when an encoding suffix such
  31233. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  31234. + category of the locale to "C". */
  31235. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  31236. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  31237. + return 1;
  31238. +#else
  31239. + if (setlocale (LC_ALL, "") == NULL) return 1;
  31240. +#endif
  31241. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  31242. + On MacOS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET)
  31243. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  31244. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  31245. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  31246. + some unit tests fail. */
  31247. +#if HAVE_LANGINFO_CODESET
  31248. + {
  31249. + const char *cs = nl_langinfo (CODESET);
  31250. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  31251. + return 1;
  31252. + }
  31253. +#endif
  31254. +#ifdef __CYGWIN__
  31255. + /* On Cygwin, avoid locale names without encoding suffix, because the
  31256. + locale_charset() function relies on the encoding suffix. Note that
  31257. + LC_ALL is set on the command line. */
  31258. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  31259. +#endif
  31260. + /* Check whether in the abbreviation of the eighth month, the second
  31261. + character (should be U+011F: LATIN SMALL LETTER G WITH BREVE) is
  31262. + two bytes long, with UTF-8 encoding. */
  31263. + t.tm_year = 1992 - 1900; t.tm_mon = 8 - 1; t.tm_mday = 19;
  31264. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  31265. + || buf[1] != (char) 0xc4 || buf[2] != (char) 0x9f)
  31266. + return 1;
  31267. + /* Check whether the upper-/lowercase mappings are as expected for
  31268. + Turkish. */
  31269. + if (towupper ('i') != 0x0130 || towlower (0x0130) != 'i'
  31270. + || towupper(0x0131) != 'I' || towlower ('I') != 0x0131)
  31271. + return 1;
  31272. + return 0;
  31273. +}
  31274. +
  31275. +_ACEOF
  31276. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  31277. + (eval $ac_link) 2>&5
  31278. + ac_status=$?
  31279. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  31280. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  31281. + case "$host_os" in
  31282. + # Handle native Windows specially, because there setlocale() interprets
  31283. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  31284. + # "fr" or "fra" as "French" or "French_France.1252",
  31285. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  31286. + # "ja" as "Japanese" or "Japanese_Japan.932",
  31287. + # and similar.
  31288. + mingw*)
  31289. + # Test for the hypothetical native Win32 locale name.
  31290. + if (LC_ALL=Turkish_Turkey.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  31291. + gt_cv_locale_tr_utf8=Turkish_Turkey.65001
  31292. + else
  31293. + # None found.
  31294. + gt_cv_locale_tr_utf8=none
  31295. + fi
  31296. + ;;
  31297. + *)
  31298. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  31299. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  31300. + # configure script would override the LC_ALL setting. Likewise for
  31301. + # LC_CTYPE, which is also set at the beginning of the configure script.
  31302. + # Test for the usual locale name.
  31303. + if (LC_ALL=tr_TR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  31304. + gt_cv_locale_tr_utf8=tr_TR
  31305. + else
  31306. + # Test for the locale name with explicit encoding suffix.
  31307. + if (LC_ALL=tr_TR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  31308. + gt_cv_locale_tr_utf8=tr_TR.UTF-8
  31309. + else
  31310. + # Test for the Solaris 7 locale name.
  31311. + if (LC_ALL=tr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  31312. + gt_cv_locale_tr_utf8=tr.UTF-8
  31313. + else
  31314. + # None found.
  31315. + gt_cv_locale_tr_utf8=none
  31316. + fi
  31317. + fi
  31318. + fi
  31319. + ;;
  31320. + esac
  31321. + else
  31322. + gt_cv_locale_tr_utf8=none
  31323. + fi
  31324. + rm -fr conftest*
  31325. +
  31326. +fi
  31327. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_tr_utf8" >&5
  31328. +$as_echo "$gt_cv_locale_tr_utf8" >&6; }
  31329. + LOCALE_TR_UTF8=$gt_cv_locale_tr_utf8
  31330. +
  31331. +
  31332. +
  31333. +
  31334. +
  31335. +
  31336. + if test $REPLACE_FTELLO != 0; then
  31337. +
  31338. +
  31339. +
  31340. +
  31341. +
  31342. +
  31343. +
  31344. +
  31345. + M4tests_LIBOBJS="$M4tests_LIBOBJS ftell.$ac_objext"
  31346. +
  31347. + REPLACE_FTELL=1
  31348. + fi
  31349. +
  31350. +
  31351. +
  31352. +
  31353. + GNULIB_FTELL=$gl_module_indicator_condition
  31354. +
  31355. +
  31356. +
  31357. +$as_echo "@%:@define GNULIB_TEST_FTELL 1" >>confdefs.h
  31358. +
  31359. +
  31360. +
  31361. +
  31362. +
  31363. +
  31364. +
  31365. +
  31366. + for ac_func in getpagesize
  31367. +do :
  31368. + ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
  31369. +if test "x$ac_cv_func_getpagesize" = xyes; then :
  31370. + cat >>confdefs.h <<_ACEOF
  31371. +@%:@define HAVE_GETPAGESIZE 1
  31372. +_ACEOF
  31373. +
  31374. +fi
  31375. +done
  31376. +
  31377. + if test $ac_cv_func_getpagesize = no; then
  31378. + HAVE_GETPAGESIZE=0
  31379. + for ac_header in OS.h
  31380. +do :
  31381. + ac_fn_c_check_header_mongrel "$LINENO" "OS.h" "ac_cv_header_OS_h" "$ac_includes_default"
  31382. +if test "x$ac_cv_header_OS_h" = xyes; then :
  31383. + cat >>confdefs.h <<_ACEOF
  31384. +@%:@define HAVE_OS_H 1
  31385. +_ACEOF
  31386. +
  31387. +fi
  31388. +
  31389. +done
  31390. +
  31391. + if test $ac_cv_header_OS_h = yes; then
  31392. + HAVE_OS_H=1
  31393. + fi
  31394. + for ac_header in sys/param.h
  31395. +do :
  31396. + ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
  31397. +if test "x$ac_cv_header_sys_param_h" = xyes; then :
  31398. + cat >>confdefs.h <<_ACEOF
  31399. +@%:@define HAVE_SYS_PARAM_H 1
  31400. +_ACEOF
  31401. +
  31402. +fi
  31403. +
  31404. +done
  31405. +
  31406. + if test $ac_cv_header_sys_param_h = yes; then
  31407. + HAVE_SYS_PARAM_H=1
  31408. + fi
  31409. + fi
  31410. + case "$host_os" in
  31411. + mingw*)
  31412. + REPLACE_GETPAGESIZE=1
  31413. +
  31414. +
  31415. +
  31416. +
  31417. +
  31418. +
  31419. +
  31420. +
  31421. + M4tests_LIBOBJS="$M4tests_LIBOBJS getpagesize.$ac_objext"
  31422. +
  31423. + ;;
  31424. + esac
  31425. + ac_fn_c_check_decl "$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default"
  31426. +if test "x$ac_cv_have_decl_getpagesize" = xyes; then :
  31427. +
  31428. +else
  31429. + HAVE_DECL_GETPAGESIZE=0
  31430. +fi
  31431. +
  31432. +
  31433. +
  31434. +
  31435. +
  31436. + GNULIB_GETPAGESIZE=$gl_module_indicator_condition
  31437. +
  31438. +
  31439. +
  31440. +$as_echo "@%:@define GNULIB_TEST_GETPAGESIZE 1" >>confdefs.h
  31441. +
  31442. +
  31443. +
  31444. +
  31445. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5
  31446. +$as_echo_n "checking where to find the exponent in a 'double'... " >&6; }
  31447. +if ${gl_cv_cc_double_expbit0+:} false; then :
  31448. + $as_echo_n "(cached) " >&6
  31449. +else
  31450. +
  31451. + if test "$cross_compiling" = yes; then :
  31452. +
  31453. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31454. +/* end confdefs.h. */
  31455. +
  31456. +#if defined arm || defined __arm || defined __arm__
  31457. + mixed_endianness
  31458. +#endif
  31459. +
  31460. +_ACEOF
  31461. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  31462. + $EGREP "mixed_endianness" >/dev/null 2>&1; then :
  31463. + gl_cv_cc_double_expbit0="unknown"
  31464. +else
  31465. +
  31466. + :
  31467. +if ${ac_cv_c_bigendian+:} false; then :
  31468. + $as_echo_n "(cached) " >&6
  31469. +else
  31470. + ac_cv_c_bigendian=unknown
  31471. + # See if we're dealing with a universal compiler.
  31472. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31473. +/* end confdefs.h. */
  31474. +#ifndef __APPLE_CC__
  31475. + not a universal capable compiler
  31476. + #endif
  31477. + typedef int dummy;
  31478. +
  31479. +_ACEOF
  31480. +if ac_fn_c_try_compile "$LINENO"; then :
  31481. +
  31482. + # Check for potential -arch flags. It is not universal unless
  31483. + # there are at least two -arch flags with different values.
  31484. + ac_arch=
  31485. + ac_prev=
  31486. + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  31487. + if test -n "$ac_prev"; then
  31488. + case $ac_word in
  31489. + i?86 | x86_64 | ppc | ppc64)
  31490. + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  31491. + ac_arch=$ac_word
  31492. + else
  31493. + ac_cv_c_bigendian=universal
  31494. + break
  31495. + fi
  31496. + ;;
  31497. + esac
  31498. + ac_prev=
  31499. + elif test "x$ac_word" = "x-arch"; then
  31500. + ac_prev=arch
  31501. + fi
  31502. + done
  31503. +fi
  31504. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31505. + if test $ac_cv_c_bigendian = unknown; then
  31506. + # See if sys/param.h defines the BYTE_ORDER macro.
  31507. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31508. +/* end confdefs.h. */
  31509. +#include <sys/types.h>
  31510. + #include <sys/param.h>
  31511. +
  31512. +int
  31513. +main ()
  31514. +{
  31515. +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  31516. + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  31517. + && LITTLE_ENDIAN)
  31518. + bogus endian macros
  31519. + #endif
  31520. +
  31521. + ;
  31522. + return 0;
  31523. +}
  31524. +_ACEOF
  31525. +if ac_fn_c_try_compile "$LINENO"; then :
  31526. + # It does; now see whether it defined to BIG_ENDIAN or not.
  31527. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31528. +/* end confdefs.h. */
  31529. +#include <sys/types.h>
  31530. + #include <sys/param.h>
  31531. +
  31532. +int
  31533. +main ()
  31534. +{
  31535. +#if BYTE_ORDER != BIG_ENDIAN
  31536. + not big endian
  31537. + #endif
  31538. +
  31539. + ;
  31540. + return 0;
  31541. +}
  31542. +_ACEOF
  31543. +if ac_fn_c_try_compile "$LINENO"; then :
  31544. + ac_cv_c_bigendian=yes
  31545. +else
  31546. + ac_cv_c_bigendian=no
  31547. +fi
  31548. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31549. +fi
  31550. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31551. + fi
  31552. + if test $ac_cv_c_bigendian = unknown; then
  31553. + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  31554. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31555. +/* end confdefs.h. */
  31556. +#include <limits.h>
  31557. +
  31558. +int
  31559. +main ()
  31560. +{
  31561. +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  31562. + bogus endian macros
  31563. + #endif
  31564. +
  31565. + ;
  31566. + return 0;
  31567. +}
  31568. +_ACEOF
  31569. +if ac_fn_c_try_compile "$LINENO"; then :
  31570. + # It does; now see whether it defined to _BIG_ENDIAN or not.
  31571. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31572. +/* end confdefs.h. */
  31573. +#include <limits.h>
  31574. +
  31575. +int
  31576. +main ()
  31577. +{
  31578. +#ifndef _BIG_ENDIAN
  31579. + not big endian
  31580. + #endif
  31581. +
  31582. + ;
  31583. + return 0;
  31584. +}
  31585. +_ACEOF
  31586. +if ac_fn_c_try_compile "$LINENO"; then :
  31587. + ac_cv_c_bigendian=yes
  31588. +else
  31589. + ac_cv_c_bigendian=no
  31590. +fi
  31591. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31592. +fi
  31593. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31594. + fi
  31595. + if test $ac_cv_c_bigendian = unknown; then
  31596. + # Compile a test program.
  31597. + if test "$cross_compiling" = yes; then :
  31598. + # Try to guess by grepping values from an object file.
  31599. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31600. +/* end confdefs.h. */
  31601. +short int ascii_mm[] =
  31602. + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  31603. + short int ascii_ii[] =
  31604. + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  31605. + int use_ascii (int i) {
  31606. + return ascii_mm[i] + ascii_ii[i];
  31607. + }
  31608. + short int ebcdic_ii[] =
  31609. + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  31610. + short int ebcdic_mm[] =
  31611. + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  31612. + int use_ebcdic (int i) {
  31613. + return ebcdic_mm[i] + ebcdic_ii[i];
  31614. + }
  31615. + extern int foo;
  31616. +
  31617. +int
  31618. +main ()
  31619. +{
  31620. +return use_ascii (foo) == use_ebcdic (foo);
  31621. + ;
  31622. + return 0;
  31623. +}
  31624. +_ACEOF
  31625. +if ac_fn_c_try_compile "$LINENO"; then :
  31626. + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  31627. + ac_cv_c_bigendian=yes
  31628. + fi
  31629. + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  31630. + if test "$ac_cv_c_bigendian" = unknown; then
  31631. + ac_cv_c_bigendian=no
  31632. + else
  31633. + # finding both strings is unlikely to happen, but who knows?
  31634. + ac_cv_c_bigendian=unknown
  31635. + fi
  31636. + fi
  31637. +fi
  31638. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31639. +else
  31640. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31641. +/* end confdefs.h. */
  31642. +$ac_includes_default
  31643. +int
  31644. +main ()
  31645. +{
  31646. +
  31647. + /* Are we little or big endian? From Harbison&Steele. */
  31648. + union
  31649. + {
  31650. + long int l;
  31651. + char c[sizeof (long int)];
  31652. + } u;
  31653. + u.l = 1;
  31654. + return u.c[sizeof (long int) - 1] == 1;
  31655. +
  31656. + ;
  31657. + return 0;
  31658. +}
  31659. +_ACEOF
  31660. +if ac_fn_c_try_run "$LINENO"; then :
  31661. + ac_cv_c_bigendian=no
  31662. +else
  31663. + ac_cv_c_bigendian=yes
  31664. +fi
  31665. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  31666. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  31667. +fi
  31668. +
  31669. + fi
  31670. +fi
  31671. +:
  31672. + case $ac_cv_c_bigendian in #(
  31673. + yes)
  31674. + gl_cv_cc_double_expbit0="word 0 bit 20";; #(
  31675. + no)
  31676. + gl_cv_cc_double_expbit0="word 1 bit 20" ;; #(
  31677. + universal)
  31678. +
  31679. +$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  31680. +
  31681. + ;; #(
  31682. + *)
  31683. + gl_cv_cc_double_expbit0="unknown" ;;
  31684. + esac
  31685. +
  31686. +
  31687. +fi
  31688. +rm -f conftest*
  31689. +
  31690. +
  31691. +else
  31692. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31693. +/* end confdefs.h. */
  31694. +
  31695. +#include <float.h>
  31696. +#include <stddef.h>
  31697. +#include <stdio.h>
  31698. +#include <string.h>
  31699. +#define NWORDS \
  31700. + ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  31701. +typedef union { double value; unsigned int word[NWORDS]; } memory_double;
  31702. +static unsigned int ored_words[NWORDS];
  31703. +static unsigned int anded_words[NWORDS];
  31704. +static void add_to_ored_words (double x)
  31705. +{
  31706. + memory_double m;
  31707. + size_t i;
  31708. + /* Clear it first, in case sizeof (double) < sizeof (memory_double). */
  31709. + memset (&m, 0, sizeof (memory_double));
  31710. + m.value = x;
  31711. + for (i = 0; i < NWORDS; i++)
  31712. + {
  31713. + ored_words[i] |= m.word[i];
  31714. + anded_words[i] &= m.word[i];
  31715. + }
  31716. +}
  31717. +int main ()
  31718. +{
  31719. + size_t j;
  31720. + FILE *fp = fopen ("conftest.out", "w");
  31721. + if (fp == NULL)
  31722. + return 1;
  31723. + for (j = 0; j < NWORDS; j++)
  31724. + anded_words[j] = ~ (unsigned int) 0;
  31725. + add_to_ored_words (0.25);
  31726. + add_to_ored_words (0.5);
  31727. + add_to_ored_words (1.0);
  31728. + add_to_ored_words (2.0);
  31729. + add_to_ored_words (4.0);
  31730. + /* Remove bits that are common (e.g. if representation of the first mantissa
  31731. + bit is explicit). */
  31732. + for (j = 0; j < NWORDS; j++)
  31733. + ored_words[j] &= ~anded_words[j];
  31734. + /* Now find the nonzero word. */
  31735. + for (j = 0; j < NWORDS; j++)
  31736. + if (ored_words[j] != 0)
  31737. + break;
  31738. + if (j < NWORDS)
  31739. + {
  31740. + size_t i;
  31741. + for (i = j + 1; i < NWORDS; i++)
  31742. + if (ored_words[i] != 0)
  31743. + {
  31744. + fprintf (fp, "unknown");
  31745. + return (fclose (fp) != 0);
  31746. + }
  31747. + for (i = 0; ; i++)
  31748. + if ((ored_words[j] >> i) & 1)
  31749. + {
  31750. + fprintf (fp, "word %d bit %d", (int) j, (int) i);
  31751. + return (fclose (fp) != 0);
  31752. + }
  31753. + }
  31754. + fprintf (fp, "unknown");
  31755. + return (fclose (fp) != 0);
  31756. +}
  31757. +
  31758. +_ACEOF
  31759. +if ac_fn_c_try_run "$LINENO"; then :
  31760. + gl_cv_cc_double_expbit0=`cat conftest.out`
  31761. +else
  31762. + gl_cv_cc_double_expbit0="unknown"
  31763. +fi
  31764. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  31765. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  31766. +fi
  31767. +
  31768. + rm -f conftest.out
  31769. +
  31770. +fi
  31771. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5
  31772. +$as_echo "$gl_cv_cc_double_expbit0" >&6; }
  31773. + case "$gl_cv_cc_double_expbit0" in
  31774. + word*bit*)
  31775. + word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
  31776. + bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'`
  31777. +
  31778. +cat >>confdefs.h <<_ACEOF
  31779. +@%:@define DBL_EXPBIT0_WORD $word
  31780. +_ACEOF
  31781. +
  31782. +
  31783. +cat >>confdefs.h <<_ACEOF
  31784. +@%:@define DBL_EXPBIT0_BIT $bit
  31785. +_ACEOF
  31786. +
  31787. + ;;
  31788. + esac
  31789. +
  31790. +
  31791. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
  31792. +$as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
  31793. +if ${gl_cv_cc_float_expbit0+:} false; then :
  31794. + $as_echo_n "(cached) " >&6
  31795. +else
  31796. +
  31797. + if test "$cross_compiling" = yes; then :
  31798. + gl_cv_cc_float_expbit0="word 0 bit 23"
  31799. +else
  31800. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31801. +/* end confdefs.h. */
  31802. +
  31803. +#include <float.h>
  31804. +#include <stddef.h>
  31805. +#include <stdio.h>
  31806. +#include <string.h>
  31807. +#define NWORDS \
  31808. + ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  31809. +typedef union { float value; unsigned int word[NWORDS]; } memory_float;
  31810. +static unsigned int ored_words[NWORDS];
  31811. +static unsigned int anded_words[NWORDS];
  31812. +static void add_to_ored_words (float x)
  31813. +{
  31814. + memory_float m;
  31815. + size_t i;
  31816. + /* Clear it first, in case
  31817. + sizeof (float) < sizeof (memory_float). */
  31818. + memset (&m, 0, sizeof (memory_float));
  31819. + m.value = x;
  31820. + for (i = 0; i < NWORDS; i++)
  31821. + {
  31822. + ored_words[i] |= m.word[i];
  31823. + anded_words[i] &= m.word[i];
  31824. + }
  31825. +}
  31826. +int main ()
  31827. +{
  31828. + size_t j;
  31829. + FILE *fp = fopen ("conftest.out", "w");
  31830. + if (fp == NULL)
  31831. + return 1;
  31832. + for (j = 0; j < NWORDS; j++)
  31833. + anded_words[j] = ~ (unsigned int) 0;
  31834. + add_to_ored_words (0.25f);
  31835. + add_to_ored_words (0.5f);
  31836. + add_to_ored_words (1.0f);
  31837. + add_to_ored_words (2.0f);
  31838. + add_to_ored_words (4.0f);
  31839. + /* Remove bits that are common (e.g. if representation of the first mantissa
  31840. + bit is explicit). */
  31841. + for (j = 0; j < NWORDS; j++)
  31842. + ored_words[j] &= ~anded_words[j];
  31843. + /* Now find the nonzero word. */
  31844. + for (j = 0; j < NWORDS; j++)
  31845. + if (ored_words[j] != 0)
  31846. + break;
  31847. + if (j < NWORDS)
  31848. + {
  31849. + size_t i;
  31850. + for (i = j + 1; i < NWORDS; i++)
  31851. + if (ored_words[i] != 0)
  31852. + {
  31853. + fprintf (fp, "unknown");
  31854. + return (fclose (fp) != 0);
  31855. + }
  31856. + for (i = 0; ; i++)
  31857. + if ((ored_words[j] >> i) & 1)
  31858. + {
  31859. + fprintf (fp, "word %d bit %d", (int) j, (int) i);
  31860. + return (fclose (fp) != 0);
  31861. + }
  31862. + }
  31863. + fprintf (fp, "unknown");
  31864. + return (fclose (fp) != 0);
  31865. +}
  31866. +
  31867. +_ACEOF
  31868. +if ac_fn_c_try_run "$LINENO"; then :
  31869. + gl_cv_cc_float_expbit0=`cat conftest.out`
  31870. +else
  31871. + gl_cv_cc_float_expbit0="unknown"
  31872. +fi
  31873. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  31874. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  31875. +fi
  31876. +
  31877. + rm -f conftest.out
  31878. +
  31879. +fi
  31880. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5
  31881. +$as_echo "$gl_cv_cc_float_expbit0" >&6; }
  31882. + case "$gl_cv_cc_float_expbit0" in
  31883. + word*bit*)
  31884. + word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
  31885. + bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'`
  31886. +
  31887. +cat >>confdefs.h <<_ACEOF
  31888. +@%:@define FLT_EXPBIT0_WORD $word
  31889. +_ACEOF
  31890. +
  31891. +
  31892. +cat >>confdefs.h <<_ACEOF
  31893. +@%:@define FLT_EXPBIT0_BIT $bit
  31894. +_ACEOF
  31895. +
  31896. + ;;
  31897. + esac
  31898. +
  31899. +
  31900. +
  31901. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5
  31902. +$as_echo_n "checking where to find the exponent in a 'long double'... " >&6; }
  31903. +if ${gl_cv_cc_long_double_expbit0+:} false; then :
  31904. + $as_echo_n "(cached) " >&6
  31905. +else
  31906. +
  31907. + if test "$cross_compiling" = yes; then :
  31908. +
  31909. + gl_cv_cc_long_double_expbit0="unknown"
  31910. +
  31911. +else
  31912. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31913. +/* end confdefs.h. */
  31914. +
  31915. +#include <float.h>
  31916. +#include <stddef.h>
  31917. +#include <stdio.h>
  31918. +#include <string.h>
  31919. +#define NWORDS \
  31920. + ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  31921. +typedef union { long double value; unsigned int word[NWORDS]; }
  31922. + memory_long_double;
  31923. +static unsigned int ored_words[NWORDS];
  31924. +static unsigned int anded_words[NWORDS];
  31925. +static void add_to_ored_words (long double x)
  31926. +{
  31927. + memory_long_double m;
  31928. + size_t i;
  31929. + /* Clear it first, in case
  31930. + sizeof (long double) < sizeof (memory_long_double). */
  31931. + memset (&m, 0, sizeof (memory_long_double));
  31932. + m.value = x;
  31933. + for (i = 0; i < NWORDS; i++)
  31934. + {
  31935. + ored_words[i] |= m.word[i];
  31936. + anded_words[i] &= m.word[i];
  31937. + }
  31938. +}
  31939. +int main ()
  31940. +{
  31941. + size_t j;
  31942. + FILE *fp = fopen ("conftest.out", "w");
  31943. + if (fp == NULL)
  31944. + return 1;
  31945. + for (j = 0; j < NWORDS; j++)
  31946. + anded_words[j] = ~ (unsigned int) 0;
  31947. + add_to_ored_words (0.25L);
  31948. + add_to_ored_words (0.5L);
  31949. + add_to_ored_words (1.0L);
  31950. + add_to_ored_words (2.0L);
  31951. + add_to_ored_words (4.0L);
  31952. + /* Remove bits that are common (e.g. if representation of the first mantissa
  31953. + bit is explicit). */
  31954. + for (j = 0; j < NWORDS; j++)
  31955. + ored_words[j] &= ~anded_words[j];
  31956. + /* Now find the nonzero word. */
  31957. + for (j = 0; j < NWORDS; j++)
  31958. + if (ored_words[j] != 0)
  31959. + break;
  31960. + if (j < NWORDS)
  31961. + {
  31962. + size_t i;
  31963. + for (i = j + 1; i < NWORDS; i++)
  31964. + if (ored_words[i] != 0)
  31965. + {
  31966. + fprintf (fp, "unknown");
  31967. + return (fclose (fp) != 0);
  31968. + }
  31969. + for (i = 0; ; i++)
  31970. + if ((ored_words[j] >> i) & 1)
  31971. + {
  31972. + fprintf (fp, "word %d bit %d", (int) j, (int) i);
  31973. + return (fclose (fp) != 0);
  31974. + }
  31975. + }
  31976. + fprintf (fp, "unknown");
  31977. + return (fclose (fp) != 0);
  31978. +}
  31979. +
  31980. +_ACEOF
  31981. +if ac_fn_c_try_run "$LINENO"; then :
  31982. + gl_cv_cc_long_double_expbit0=`cat conftest.out`
  31983. +else
  31984. + gl_cv_cc_long_double_expbit0="unknown"
  31985. +fi
  31986. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  31987. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  31988. +fi
  31989. +
  31990. + rm -f conftest.out
  31991. +
  31992. +fi
  31993. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_expbit0" >&5
  31994. +$as_echo "$gl_cv_cc_long_double_expbit0" >&6; }
  31995. + case "$gl_cv_cc_long_double_expbit0" in
  31996. + word*bit*)
  31997. + word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
  31998. + bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'`
  31999. +
  32000. +cat >>confdefs.h <<_ACEOF
  32001. +@%:@define LDBL_EXPBIT0_WORD $word
  32002. +_ACEOF
  32003. +
  32004. +
  32005. +cat >>confdefs.h <<_ACEOF
  32006. +@%:@define LDBL_EXPBIT0_BIT $bit
  32007. +_ACEOF
  32008. +
  32009. + ;;
  32010. + esac
  32011. +
  32012. +
  32013. +
  32014. +
  32015. + if test $ac_cv_func_link = no; then
  32016. + HAVE_LINK=0
  32017. +
  32018. +
  32019. +
  32020. +
  32021. +
  32022. +
  32023. +
  32024. +
  32025. + M4tests_LIBOBJS="$M4tests_LIBOBJS link.$ac_objext"
  32026. +
  32027. + else
  32028. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether link handles trailing slash correctly" >&5
  32029. +$as_echo_n "checking whether link handles trailing slash correctly... " >&6; }
  32030. +if ${gl_cv_func_link_works+:} false; then :
  32031. + $as_echo_n "(cached) " >&6
  32032. +else
  32033. + touch conftest.a
  32034. + # Assume that if we have lstat, we can also check symlinks.
  32035. + if test $ac_cv_func_lstat = yes; then
  32036. + ln -s conftest.a conftest.lnk
  32037. + fi
  32038. + if test "$cross_compiling" = yes; then :
  32039. + gl_cv_func_link_works="guessing no"
  32040. +else
  32041. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32042. +/* end confdefs.h. */
  32043. +#include <unistd.h>
  32044. +
  32045. +int
  32046. +main ()
  32047. +{
  32048. +int result = 0;
  32049. + if (!link ("conftest.a", "conftest.b/"))
  32050. + result |= 1;
  32051. +#if HAVE_LSTAT
  32052. + if (!link ("conftest.lnk/", "conftest.b"))
  32053. + result |= 2;
  32054. +#endif
  32055. + return result;
  32056. +
  32057. + ;
  32058. + return 0;
  32059. +}
  32060. +_ACEOF
  32061. +if ac_fn_c_try_run "$LINENO"; then :
  32062. + gl_cv_func_link_works=yes
  32063. +else
  32064. + gl_cv_func_link_works=no
  32065. +fi
  32066. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  32067. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  32068. +fi
  32069. +
  32070. + rm -f conftest.a conftest.b conftest.lnk
  32071. +fi
  32072. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_link_works" >&5
  32073. +$as_echo "$gl_cv_func_link_works" >&6; }
  32074. + if test "$gl_cv_func_link_works" != yes; then
  32075. + REPLACE_LINK=1
  32076. +
  32077. +
  32078. +
  32079. +
  32080. +
  32081. +
  32082. +
  32083. +
  32084. + M4tests_LIBOBJS="$M4tests_LIBOBJS link.$ac_objext"
  32085. +
  32086. + fi
  32087. + fi
  32088. +
  32089. +
  32090. +
  32091. +
  32092. + GNULIB_LINK=$gl_module_indicator_condition
  32093. +
  32094. +
  32095. +
  32096. +$as_echo "@%:@define GNULIB_TEST_LINK 1" >>confdefs.h
  32097. +
  32098. +
  32099. +
  32100. +
  32101. +
  32102. +
  32103. +
  32104. +
  32105. +
  32106. +
  32107. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h conforms to POSIX:2001" >&5
  32108. +$as_echo_n "checking whether locale.h conforms to POSIX:2001... " >&6; }
  32109. +if ${gl_cv_header_locale_h_posix2001+:} false; then :
  32110. + $as_echo_n "(cached) " >&6
  32111. +else
  32112. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32113. +/* end confdefs.h. */
  32114. +#include <locale.h>
  32115. + int x = LC_MESSAGES;
  32116. +int
  32117. +main ()
  32118. +{
  32119. +
  32120. + ;
  32121. + return 0;
  32122. +}
  32123. +_ACEOF
  32124. +if ac_fn_c_try_compile "$LINENO"; then :
  32125. + gl_cv_header_locale_h_posix2001=yes
  32126. +else
  32127. + gl_cv_header_locale_h_posix2001=no
  32128. +fi
  32129. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  32130. +fi
  32131. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_h_posix2001" >&5
  32132. +$as_echo "$gl_cv_header_locale_h_posix2001" >&6; }
  32133. +
  32134. +
  32135. + if test $ac_cv_header_xlocale_h = yes; then
  32136. + HAVE_XLOCALE_H=1
  32137. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5
  32138. +$as_echo_n "checking whether locale.h defines locale_t... " >&6; }
  32139. +if ${gl_cv_header_locale_has_locale_t+:} false; then :
  32140. + $as_echo_n "(cached) " >&6
  32141. +else
  32142. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32143. +/* end confdefs.h. */
  32144. +#include <locale.h>
  32145. + locale_t x;
  32146. +int
  32147. +main ()
  32148. +{
  32149. +
  32150. + ;
  32151. + return 0;
  32152. +}
  32153. +_ACEOF
  32154. +if ac_fn_c_try_compile "$LINENO"; then :
  32155. + gl_cv_header_locale_has_locale_t=yes
  32156. +else
  32157. + gl_cv_header_locale_has_locale_t=no
  32158. +fi
  32159. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  32160. +
  32161. +fi
  32162. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_has_locale_t" >&5
  32163. +$as_echo "$gl_cv_header_locale_has_locale_t" >&6; }
  32164. + if test $gl_cv_header_locale_has_locale_t = yes; then
  32165. + gl_cv_header_locale_h_needs_xlocale_h=no
  32166. + else
  32167. + gl_cv_header_locale_h_needs_xlocale_h=yes
  32168. + fi
  32169. + else
  32170. + HAVE_XLOCALE_H=0
  32171. + gl_cv_header_locale_h_needs_xlocale_h=no
  32172. + fi
  32173. +
  32174. +
  32175. +
  32176. +
  32177. +
  32178. +
  32179. +
  32180. +
  32181. +
  32182. +
  32183. + if test $gl_cv_have_include_next = yes; then
  32184. + gl_cv_next_locale_h='<'locale.h'>'
  32185. + else
  32186. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <locale.h>" >&5
  32187. +$as_echo_n "checking absolute name of <locale.h>... " >&6; }
  32188. +if ${gl_cv_next_locale_h+:} false; then :
  32189. + $as_echo_n "(cached) " >&6
  32190. +else
  32191. +
  32192. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32193. +/* end confdefs.h. */
  32194. +#include <locale.h>
  32195. +
  32196. +_ACEOF
  32197. + case "$host_os" in
  32198. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  32199. + *) gl_absname_cpp="$ac_cpp" ;;
  32200. + esac
  32201. + gl_cv_next_locale_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  32202. + sed -n '\#/locale.h#{
  32203. + s#.*"\(.*/locale.h\)".*#\1#
  32204. + s#^/[^/]#//&#
  32205. + p
  32206. + q
  32207. + }'`'"'
  32208. +
  32209. +
  32210. +fi
  32211. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_locale_h" >&5
  32212. +$as_echo "$gl_cv_next_locale_h" >&6; }
  32213. + fi
  32214. + NEXT_LOCALE_H=$gl_cv_next_locale_h
  32215. +
  32216. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  32217. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  32218. + gl_next_as_first_directive='<'locale.h'>'
  32219. + else
  32220. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  32221. + gl_next_as_first_directive=$gl_cv_next_locale_h
  32222. + fi
  32223. + NEXT_AS_FIRST_DIRECTIVE_LOCALE_H=$gl_next_as_first_directive
  32224. +
  32225. +
  32226. +
  32227. +
  32228. +
  32229. + if test -n "$STDDEF_H" \
  32230. + || test $gl_cv_header_locale_h_posix2001 = no \
  32231. + || test $gl_cv_header_locale_h_needs_xlocale_h = yes; then
  32232. +
  32233. + :
  32234. +
  32235. + fi
  32236. +
  32237. +
  32238. +
  32239. +
  32240. +
  32241. +
  32242. +
  32243. + for ac_func in setlocale uselocale
  32244. +do :
  32245. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  32246. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  32247. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  32248. + cat >>confdefs.h <<_ACEOF
  32249. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  32250. +_ACEOF
  32251. +
  32252. +fi
  32253. +done
  32254. +
  32255. +
  32256. +
  32257. +
  32258. +
  32259. +
  32260. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  32261. +$as_echo_n "checking for a traditional french locale... " >&6; }
  32262. +if ${gt_cv_locale_fr+:} false; then :
  32263. + $as_echo_n "(cached) " >&6
  32264. +else
  32265. +
  32266. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32267. +/* end confdefs.h. */
  32268. +
  32269. +#include <locale.h>
  32270. +#include <time.h>
  32271. +#if HAVE_LANGINFO_CODESET
  32272. +# include <langinfo.h>
  32273. +#endif
  32274. +#include <stdlib.h>
  32275. +#include <string.h>
  32276. +struct tm t;
  32277. +char buf[16];
  32278. +int main () {
  32279. + /* Check whether the given locale name is recognized by the system. */
  32280. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  32281. + /* On native Win32, setlocale(category, "") looks at the system settings,
  32282. + not at the environment variables. Also, when an encoding suffix such
  32283. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  32284. + category of the locale to "C". */
  32285. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  32286. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  32287. + return 1;
  32288. +#else
  32289. + if (setlocale (LC_ALL, "") == NULL) return 1;
  32290. +#endif
  32291. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  32292. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  32293. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  32294. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  32295. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  32296. + some unit tests fail.
  32297. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  32298. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  32299. +#if HAVE_LANGINFO_CODESET
  32300. + {
  32301. + const char *cs = nl_langinfo (CODESET);
  32302. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  32303. + || strcmp (cs, "UTF-8") == 0)
  32304. + return 1;
  32305. + }
  32306. +#endif
  32307. +#ifdef __CYGWIN__
  32308. + /* On Cygwin, avoid locale names without encoding suffix, because the
  32309. + locale_charset() function relies on the encoding suffix. Note that
  32310. + LC_ALL is set on the command line. */
  32311. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  32312. +#endif
  32313. + /* Check whether in the abbreviation of the second month, the second
  32314. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
  32315. + one byte long. This excludes the UTF-8 encoding. */
  32316. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  32317. + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
  32318. + /* Check whether the decimal separator is a comma.
  32319. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  32320. + are nl_langinfo(RADIXCHAR) are both ".". */
  32321. + if (localeconv () ->decimal_point[0] != ',') return 1;
  32322. + return 0;
  32323. +}
  32324. +
  32325. +_ACEOF
  32326. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  32327. + (eval $ac_link) 2>&5
  32328. + ac_status=$?
  32329. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  32330. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  32331. + case "$host_os" in
  32332. + # Handle native Windows specially, because there setlocale() interprets
  32333. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  32334. + # "fr" or "fra" as "French" or "French_France.1252",
  32335. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  32336. + # "ja" as "Japanese" or "Japanese_Japan.932",
  32337. + # and similar.
  32338. + mingw*)
  32339. + # Test for the native Win32 locale name.
  32340. + if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32341. + gt_cv_locale_fr=French_France.1252
  32342. + else
  32343. + # None found.
  32344. + gt_cv_locale_fr=none
  32345. + fi
  32346. + ;;
  32347. + *)
  32348. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  32349. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  32350. + # configure script would override the LC_ALL setting. Likewise for
  32351. + # LC_CTYPE, which is also set at the beginning of the configure script.
  32352. + # Test for the usual locale name.
  32353. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32354. + gt_cv_locale_fr=fr_FR
  32355. + else
  32356. + # Test for the locale name with explicit encoding suffix.
  32357. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32358. + gt_cv_locale_fr=fr_FR.ISO-8859-1
  32359. + else
  32360. + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
  32361. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32362. + gt_cv_locale_fr=fr_FR.ISO8859-1
  32363. + else
  32364. + # Test for the HP-UX locale name.
  32365. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32366. + gt_cv_locale_fr=fr_FR.iso88591
  32367. + else
  32368. + # Test for the Solaris 7 locale name.
  32369. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32370. + gt_cv_locale_fr=fr
  32371. + else
  32372. + # None found.
  32373. + gt_cv_locale_fr=none
  32374. + fi
  32375. + fi
  32376. + fi
  32377. + fi
  32378. + fi
  32379. + ;;
  32380. + esac
  32381. + fi
  32382. + rm -fr conftest*
  32383. +
  32384. +fi
  32385. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
  32386. +$as_echo "$gt_cv_locale_fr" >&6; }
  32387. + LOCALE_FR=$gt_cv_locale_fr
  32388. +
  32389. +
  32390. +
  32391. +
  32392. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  32393. +$as_echo_n "checking for a french Unicode locale... " >&6; }
  32394. +if ${gt_cv_locale_fr_utf8+:} false; then :
  32395. + $as_echo_n "(cached) " >&6
  32396. +else
  32397. +
  32398. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32399. +/* end confdefs.h. */
  32400. +
  32401. +#include <locale.h>
  32402. +#include <time.h>
  32403. +#if HAVE_LANGINFO_CODESET
  32404. +# include <langinfo.h>
  32405. +#endif
  32406. +#include <stdlib.h>
  32407. +#include <string.h>
  32408. +struct tm t;
  32409. +char buf[16];
  32410. +int main () {
  32411. + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl
  32412. + imitates locale dependent behaviour by looking at the environment
  32413. + variables, and all locales use the UTF-8 encoding. */
  32414. +#if !(defined __BEOS__ || defined __HAIKU__)
  32415. + /* Check whether the given locale name is recognized by the system. */
  32416. +# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  32417. + /* On native Win32, setlocale(category, "") looks at the system settings,
  32418. + not at the environment variables. Also, when an encoding suffix such
  32419. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  32420. + category of the locale to "C". */
  32421. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  32422. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  32423. + return 1;
  32424. +# else
  32425. + if (setlocale (LC_ALL, "") == NULL) return 1;
  32426. +# endif
  32427. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  32428. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  32429. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  32430. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  32431. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  32432. + some unit tests fail. */
  32433. +# if HAVE_LANGINFO_CODESET
  32434. + {
  32435. + const char *cs = nl_langinfo (CODESET);
  32436. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  32437. + return 1;
  32438. + }
  32439. +# endif
  32440. +# ifdef __CYGWIN__
  32441. + /* On Cygwin, avoid locale names without encoding suffix, because the
  32442. + locale_charset() function relies on the encoding suffix. Note that
  32443. + LC_ALL is set on the command line. */
  32444. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  32445. +# endif
  32446. + /* Check whether in the abbreviation of the second month, the second
  32447. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
  32448. + two bytes long, with UTF-8 encoding. */
  32449. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  32450. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  32451. + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
  32452. + return 1;
  32453. +#endif
  32454. + /* Check whether the decimal separator is a comma.
  32455. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  32456. + are nl_langinfo(RADIXCHAR) are both ".". */
  32457. + if (localeconv () ->decimal_point[0] != ',') return 1;
  32458. + return 0;
  32459. +}
  32460. +
  32461. +_ACEOF
  32462. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  32463. + (eval $ac_link) 2>&5
  32464. + ac_status=$?
  32465. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  32466. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  32467. + case "$host_os" in
  32468. + # Handle native Windows specially, because there setlocale() interprets
  32469. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  32470. + # "fr" or "fra" as "French" or "French_France.1252",
  32471. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  32472. + # "ja" as "Japanese" or "Japanese_Japan.932",
  32473. + # and similar.
  32474. + mingw*)
  32475. + # Test for the hypothetical native Win32 locale name.
  32476. + if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32477. + gt_cv_locale_fr_utf8=French_France.65001
  32478. + else
  32479. + # None found.
  32480. + gt_cv_locale_fr_utf8=none
  32481. + fi
  32482. + ;;
  32483. + *)
  32484. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  32485. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  32486. + # configure script would override the LC_ALL setting. Likewise for
  32487. + # LC_CTYPE, which is also set at the beginning of the configure script.
  32488. + # Test for the usual locale name.
  32489. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32490. + gt_cv_locale_fr_utf8=fr_FR
  32491. + else
  32492. + # Test for the locale name with explicit encoding suffix.
  32493. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32494. + gt_cv_locale_fr_utf8=fr_FR.UTF-8
  32495. + else
  32496. + # Test for the Solaris 7 locale name.
  32497. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32498. + gt_cv_locale_fr_utf8=fr.UTF-8
  32499. + else
  32500. + # None found.
  32501. + gt_cv_locale_fr_utf8=none
  32502. + fi
  32503. + fi
  32504. + fi
  32505. + ;;
  32506. + esac
  32507. + fi
  32508. + rm -fr conftest*
  32509. +
  32510. +fi
  32511. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
  32512. +$as_echo "$gt_cv_locale_fr_utf8" >&6; }
  32513. + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
  32514. +
  32515. +
  32516. +
  32517. +
  32518. +
  32519. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
  32520. +$as_echo_n "checking for a traditional japanese locale... " >&6; }
  32521. +if ${gt_cv_locale_ja+:} false; then :
  32522. + $as_echo_n "(cached) " >&6
  32523. +else
  32524. +
  32525. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32526. +/* end confdefs.h. */
  32527. +
  32528. +#include <locale.h>
  32529. +#include <time.h>
  32530. +#if HAVE_LANGINFO_CODESET
  32531. +# include <langinfo.h>
  32532. +#endif
  32533. +#include <stdlib.h>
  32534. +#include <string.h>
  32535. +struct tm t;
  32536. +char buf[16];
  32537. +int main ()
  32538. +{
  32539. + const char *p;
  32540. + /* Check whether the given locale name is recognized by the system. */
  32541. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  32542. + /* On native Win32, setlocale(category, "") looks at the system settings,
  32543. + not at the environment variables. Also, when an encoding suffix such
  32544. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  32545. + category of the locale to "C". */
  32546. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  32547. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  32548. + return 1;
  32549. +#else
  32550. + if (setlocale (LC_ALL, "") == NULL) return 1;
  32551. +#endif
  32552. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  32553. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  32554. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  32555. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  32556. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  32557. + some unit tests fail.
  32558. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  32559. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  32560. +#if HAVE_LANGINFO_CODESET
  32561. + {
  32562. + const char *cs = nl_langinfo (CODESET);
  32563. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  32564. + || strcmp (cs, "UTF-8") == 0)
  32565. + return 1;
  32566. + }
  32567. +#endif
  32568. +#ifdef __CYGWIN__
  32569. + /* On Cygwin, avoid locale names without encoding suffix, because the
  32570. + locale_charset() function relies on the encoding suffix. Note that
  32571. + LC_ALL is set on the command line. */
  32572. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  32573. +#endif
  32574. + /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales
  32575. + on Cygwin 1.5.x. */
  32576. + if (MB_CUR_MAX == 1)
  32577. + return 1;
  32578. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  32579. + This excludes the UTF-8 encoding (except on MirBSD). */
  32580. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  32581. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  32582. + for (p = buf; *p != '\0'; p++)
  32583. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  32584. + return 1;
  32585. + return 0;
  32586. +}
  32587. +
  32588. +_ACEOF
  32589. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  32590. + (eval $ac_link) 2>&5
  32591. + ac_status=$?
  32592. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  32593. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  32594. + case "$host_os" in
  32595. + # Handle native Windows specially, because there setlocale() interprets
  32596. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  32597. + # "fr" or "fra" as "French" or "French_France.1252",
  32598. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  32599. + # "ja" as "Japanese" or "Japanese_Japan.932",
  32600. + # and similar.
  32601. + mingw*)
  32602. + # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
  32603. + # and CP932 is very different from EUC-JP, so we cannot use it here.
  32604. + gt_cv_locale_ja=none
  32605. + ;;
  32606. + *)
  32607. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  32608. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  32609. + # configure script would override the LC_ALL setting. Likewise for
  32610. + # LC_CTYPE, which is also set at the beginning of the configure script.
  32611. + # Test for the AIX locale name.
  32612. + if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32613. + gt_cv_locale_ja=ja_JP
  32614. + else
  32615. + # Test for the locale name with explicit encoding suffix.
  32616. + if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32617. + gt_cv_locale_ja=ja_JP.EUC-JP
  32618. + else
  32619. + # Test for the HP-UX, OSF/1, NetBSD locale name.
  32620. + if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32621. + gt_cv_locale_ja=ja_JP.eucJP
  32622. + else
  32623. + # Test for the IRIX, FreeBSD locale name.
  32624. + if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32625. + gt_cv_locale_ja=ja_JP.EUC
  32626. + else
  32627. + # Test for the Solaris 7 locale name.
  32628. + if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32629. + gt_cv_locale_ja=ja
  32630. + else
  32631. + # Special test for NetBSD 1.6.
  32632. + if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
  32633. + gt_cv_locale_ja=ja_JP.eucJP
  32634. + else
  32635. + # None found.
  32636. + gt_cv_locale_ja=none
  32637. + fi
  32638. + fi
  32639. + fi
  32640. + fi
  32641. + fi
  32642. + fi
  32643. + ;;
  32644. + esac
  32645. + fi
  32646. + rm -fr conftest*
  32647. +
  32648. +fi
  32649. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
  32650. +$as_echo "$gt_cv_locale_ja" >&6; }
  32651. + LOCALE_JA=$gt_cv_locale_ja
  32652. +
  32653. +
  32654. +
  32655. +
  32656. +
  32657. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
  32658. +$as_echo_n "checking for a transitional chinese locale... " >&6; }
  32659. +if ${gt_cv_locale_zh_CN+:} false; then :
  32660. + $as_echo_n "(cached) " >&6
  32661. +else
  32662. +
  32663. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32664. +/* end confdefs.h. */
  32665. +
  32666. +#include <locale.h>
  32667. +#include <stdlib.h>
  32668. +#include <time.h>
  32669. +#if HAVE_LANGINFO_CODESET
  32670. +# include <langinfo.h>
  32671. +#endif
  32672. +#include <stdlib.h>
  32673. +#include <string.h>
  32674. +struct tm t;
  32675. +char buf[16];
  32676. +int main ()
  32677. +{
  32678. + const char *p;
  32679. + /* Check whether the given locale name is recognized by the system. */
  32680. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  32681. + /* On native Win32, setlocale(category, "") looks at the system settings,
  32682. + not at the environment variables. Also, when an encoding suffix such
  32683. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  32684. + category of the locale to "C". */
  32685. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  32686. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  32687. + return 1;
  32688. +#else
  32689. + if (setlocale (LC_ALL, "") == NULL) return 1;
  32690. +#endif
  32691. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  32692. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  32693. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  32694. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  32695. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  32696. + some unit tests fail.
  32697. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  32698. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  32699. +#if HAVE_LANGINFO_CODESET
  32700. + {
  32701. + const char *cs = nl_langinfo (CODESET);
  32702. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  32703. + || strcmp (cs, "UTF-8") == 0)
  32704. + return 1;
  32705. + }
  32706. +#endif
  32707. +#ifdef __CYGWIN__
  32708. + /* On Cygwin, avoid locale names without encoding suffix, because the
  32709. + locale_charset() function relies on the encoding suffix. Note that
  32710. + LC_ALL is set on the command line. */
  32711. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  32712. +#endif
  32713. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  32714. + This excludes the UTF-8 encoding (except on MirBSD). */
  32715. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  32716. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  32717. + for (p = buf; *p != '\0'; p++)
  32718. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  32719. + return 1;
  32720. + /* Check whether a typical GB18030 multibyte sequence is recognized as a
  32721. + single wide character. This excludes the GB2312 and GBK encodings. */
  32722. + if (mblen ("\203\062\332\066", 5) != 4)
  32723. + return 1;
  32724. + return 0;
  32725. +}
  32726. +
  32727. +_ACEOF
  32728. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  32729. + (eval $ac_link) 2>&5
  32730. + ac_status=$?
  32731. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  32732. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  32733. + case "$host_os" in
  32734. + # Handle native Windows specially, because there setlocale() interprets
  32735. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  32736. + # "fr" or "fra" as "French" or "French_France.1252",
  32737. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  32738. + # "ja" as "Japanese" or "Japanese_Japan.932",
  32739. + # and similar.
  32740. + mingw*)
  32741. + # Test for the hypothetical native Win32 locale name.
  32742. + if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32743. + gt_cv_locale_zh_CN=Chinese_China.54936
  32744. + else
  32745. + # None found.
  32746. + gt_cv_locale_zh_CN=none
  32747. + fi
  32748. + ;;
  32749. + *)
  32750. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  32751. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  32752. + # configure script would override the LC_ALL setting. Likewise for
  32753. + # LC_CTYPE, which is also set at the beginning of the configure script.
  32754. + # Test for the locale name without encoding suffix.
  32755. + if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32756. + gt_cv_locale_zh_CN=zh_CN
  32757. + else
  32758. + # Test for the locale name with explicit encoding suffix.
  32759. + if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32760. + gt_cv_locale_zh_CN=zh_CN.GB18030
  32761. + else
  32762. + # None found.
  32763. + gt_cv_locale_zh_CN=none
  32764. + fi
  32765. + fi
  32766. + ;;
  32767. + esac
  32768. + else
  32769. + # If there was a link error, due to mblen(), the system is so old that
  32770. + # it certainly doesn't have a chinese locale.
  32771. + gt_cv_locale_zh_CN=none
  32772. + fi
  32773. + rm -fr conftest*
  32774. +
  32775. +fi
  32776. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
  32777. +$as_echo "$gt_cv_locale_zh_CN" >&6; }
  32778. + LOCALE_ZH_CN=$gt_cv_locale_zh_CN
  32779. +
  32780. +
  32781. +
  32782. +
  32783. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  32784. +$as_echo_n "checking for a french Unicode locale... " >&6; }
  32785. +if ${gt_cv_locale_fr_utf8+:} false; then :
  32786. + $as_echo_n "(cached) " >&6
  32787. +else
  32788. +
  32789. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32790. +/* end confdefs.h. */
  32791. +
  32792. +#include <locale.h>
  32793. +#include <time.h>
  32794. +#if HAVE_LANGINFO_CODESET
  32795. +# include <langinfo.h>
  32796. +#endif
  32797. +#include <stdlib.h>
  32798. +#include <string.h>
  32799. +struct tm t;
  32800. +char buf[16];
  32801. +int main () {
  32802. + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl
  32803. + imitates locale dependent behaviour by looking at the environment
  32804. + variables, and all locales use the UTF-8 encoding. */
  32805. +#if !(defined __BEOS__ || defined __HAIKU__)
  32806. + /* Check whether the given locale name is recognized by the system. */
  32807. +# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  32808. + /* On native Win32, setlocale(category, "") looks at the system settings,
  32809. + not at the environment variables. Also, when an encoding suffix such
  32810. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  32811. + category of the locale to "C". */
  32812. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  32813. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  32814. + return 1;
  32815. +# else
  32816. + if (setlocale (LC_ALL, "") == NULL) return 1;
  32817. +# endif
  32818. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  32819. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  32820. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  32821. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  32822. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  32823. + some unit tests fail. */
  32824. +# if HAVE_LANGINFO_CODESET
  32825. + {
  32826. + const char *cs = nl_langinfo (CODESET);
  32827. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  32828. + return 1;
  32829. + }
  32830. +# endif
  32831. +# ifdef __CYGWIN__
  32832. + /* On Cygwin, avoid locale names without encoding suffix, because the
  32833. + locale_charset() function relies on the encoding suffix. Note that
  32834. + LC_ALL is set on the command line. */
  32835. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  32836. +# endif
  32837. + /* Check whether in the abbreviation of the second month, the second
  32838. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
  32839. + two bytes long, with UTF-8 encoding. */
  32840. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  32841. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  32842. + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
  32843. + return 1;
  32844. +#endif
  32845. + /* Check whether the decimal separator is a comma.
  32846. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  32847. + are nl_langinfo(RADIXCHAR) are both ".". */
  32848. + if (localeconv () ->decimal_point[0] != ',') return 1;
  32849. + return 0;
  32850. +}
  32851. +
  32852. +_ACEOF
  32853. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  32854. + (eval $ac_link) 2>&5
  32855. + ac_status=$?
  32856. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  32857. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  32858. + case "$host_os" in
  32859. + # Handle native Windows specially, because there setlocale() interprets
  32860. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  32861. + # "fr" or "fra" as "French" or "French_France.1252",
  32862. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  32863. + # "ja" as "Japanese" or "Japanese_Japan.932",
  32864. + # and similar.
  32865. + mingw*)
  32866. + # Test for the hypothetical native Win32 locale name.
  32867. + if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32868. + gt_cv_locale_fr_utf8=French_France.65001
  32869. + else
  32870. + # None found.
  32871. + gt_cv_locale_fr_utf8=none
  32872. + fi
  32873. + ;;
  32874. + *)
  32875. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  32876. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  32877. + # configure script would override the LC_ALL setting. Likewise for
  32878. + # LC_CTYPE, which is also set at the beginning of the configure script.
  32879. + # Test for the usual locale name.
  32880. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32881. + gt_cv_locale_fr_utf8=fr_FR
  32882. + else
  32883. + # Test for the locale name with explicit encoding suffix.
  32884. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32885. + gt_cv_locale_fr_utf8=fr_FR.UTF-8
  32886. + else
  32887. + # Test for the Solaris 7 locale name.
  32888. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  32889. + gt_cv_locale_fr_utf8=fr.UTF-8
  32890. + else
  32891. + # None found.
  32892. + gt_cv_locale_fr_utf8=none
  32893. + fi
  32894. + fi
  32895. + fi
  32896. + ;;
  32897. + esac
  32898. + fi
  32899. + rm -fr conftest*
  32900. +
  32901. +fi
  32902. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
  32903. +$as_echo "$gt_cv_locale_fr_utf8" >&6; }
  32904. + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
  32905. +
  32906. +
  32907. +
  32908. +
  32909. +
  32910. + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
  32911. + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  32912. + # irrelevant for anonymous mappings.
  32913. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  32914. +if test "x$ac_cv_func_mmap" = xyes; then :
  32915. + gl_have_mmap=yes
  32916. +else
  32917. + gl_have_mmap=no
  32918. +fi
  32919. +
  32920. +
  32921. + # Try to allow MAP_ANONYMOUS.
  32922. + gl_have_mmap_anonymous=no
  32923. + if test $gl_have_mmap = yes; then
  32924. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
  32925. +$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
  32926. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32927. +/* end confdefs.h. */
  32928. +
  32929. +#include <sys/mman.h>
  32930. +#ifdef MAP_ANONYMOUS
  32931. + I cant identify this map.
  32932. +#endif
  32933. +
  32934. +_ACEOF
  32935. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  32936. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  32937. + gl_have_mmap_anonymous=yes
  32938. +fi
  32939. +rm -f conftest*
  32940. +
  32941. + if test $gl_have_mmap_anonymous != yes; then
  32942. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32943. +/* end confdefs.h. */
  32944. +
  32945. +#include <sys/mman.h>
  32946. +#ifdef MAP_ANON
  32947. + I cant identify this map.
  32948. +#endif
  32949. +
  32950. +_ACEOF
  32951. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  32952. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  32953. +
  32954. +$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
  32955. +
  32956. + gl_have_mmap_anonymous=yes
  32957. +fi
  32958. +rm -f conftest*
  32959. +
  32960. + fi
  32961. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
  32962. +$as_echo "$gl_have_mmap_anonymous" >&6; }
  32963. + if test $gl_have_mmap_anonymous = yes; then
  32964. +
  32965. +$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
  32966. +
  32967. + fi
  32968. + fi
  32969. +
  32970. +
  32971. +
  32972. +
  32973. +
  32974. +
  32975. + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
  32976. + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  32977. + # irrelevant for anonymous mappings.
  32978. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  32979. +if test "x$ac_cv_func_mmap" = xyes; then :
  32980. + gl_have_mmap=yes
  32981. +else
  32982. + gl_have_mmap=no
  32983. +fi
  32984. +
  32985. +
  32986. + # Try to allow MAP_ANONYMOUS.
  32987. + gl_have_mmap_anonymous=no
  32988. + if test $gl_have_mmap = yes; then
  32989. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
  32990. +$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
  32991. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32992. +/* end confdefs.h. */
  32993. +
  32994. +#include <sys/mman.h>
  32995. +#ifdef MAP_ANONYMOUS
  32996. + I cant identify this map.
  32997. +#endif
  32998. +
  32999. +_ACEOF
  33000. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  33001. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  33002. + gl_have_mmap_anonymous=yes
  33003. +fi
  33004. +rm -f conftest*
  33005. +
  33006. + if test $gl_have_mmap_anonymous != yes; then
  33007. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33008. +/* end confdefs.h. */
  33009. +
  33010. +#include <sys/mman.h>
  33011. +#ifdef MAP_ANON
  33012. + I cant identify this map.
  33013. +#endif
  33014. +
  33015. +_ACEOF
  33016. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  33017. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  33018. +
  33019. +$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
  33020. +
  33021. + gl_have_mmap_anonymous=yes
  33022. +fi
  33023. +rm -f conftest*
  33024. +
  33025. + fi
  33026. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
  33027. +$as_echo "$gl_have_mmap_anonymous" >&6; }
  33028. + if test $gl_have_mmap_anonymous = yes; then
  33029. +
  33030. +$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
  33031. +
  33032. + fi
  33033. + fi
  33034. +
  33035. +
  33036. +
  33037. +
  33038. +
  33039. +
  33040. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  33041. +$as_echo_n "checking for a traditional french locale... " >&6; }
  33042. +if ${gt_cv_locale_fr+:} false; then :
  33043. + $as_echo_n "(cached) " >&6
  33044. +else
  33045. +
  33046. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33047. +/* end confdefs.h. */
  33048. +
  33049. +#include <locale.h>
  33050. +#include <time.h>
  33051. +#if HAVE_LANGINFO_CODESET
  33052. +# include <langinfo.h>
  33053. +#endif
  33054. +#include <stdlib.h>
  33055. +#include <string.h>
  33056. +struct tm t;
  33057. +char buf[16];
  33058. +int main () {
  33059. + /* Check whether the given locale name is recognized by the system. */
  33060. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  33061. + /* On native Win32, setlocale(category, "") looks at the system settings,
  33062. + not at the environment variables. Also, when an encoding suffix such
  33063. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  33064. + category of the locale to "C". */
  33065. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  33066. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  33067. + return 1;
  33068. +#else
  33069. + if (setlocale (LC_ALL, "") == NULL) return 1;
  33070. +#endif
  33071. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  33072. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  33073. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  33074. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  33075. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  33076. + some unit tests fail.
  33077. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  33078. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  33079. +#if HAVE_LANGINFO_CODESET
  33080. + {
  33081. + const char *cs = nl_langinfo (CODESET);
  33082. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  33083. + || strcmp (cs, "UTF-8") == 0)
  33084. + return 1;
  33085. + }
  33086. +#endif
  33087. +#ifdef __CYGWIN__
  33088. + /* On Cygwin, avoid locale names without encoding suffix, because the
  33089. + locale_charset() function relies on the encoding suffix. Note that
  33090. + LC_ALL is set on the command line. */
  33091. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  33092. +#endif
  33093. + /* Check whether in the abbreviation of the second month, the second
  33094. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
  33095. + one byte long. This excludes the UTF-8 encoding. */
  33096. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  33097. + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
  33098. + /* Check whether the decimal separator is a comma.
  33099. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  33100. + are nl_langinfo(RADIXCHAR) are both ".". */
  33101. + if (localeconv () ->decimal_point[0] != ',') return 1;
  33102. + return 0;
  33103. +}
  33104. +
  33105. +_ACEOF
  33106. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  33107. + (eval $ac_link) 2>&5
  33108. + ac_status=$?
  33109. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  33110. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  33111. + case "$host_os" in
  33112. + # Handle native Windows specially, because there setlocale() interprets
  33113. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  33114. + # "fr" or "fra" as "French" or "French_France.1252",
  33115. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  33116. + # "ja" as "Japanese" or "Japanese_Japan.932",
  33117. + # and similar.
  33118. + mingw*)
  33119. + # Test for the native Win32 locale name.
  33120. + if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33121. + gt_cv_locale_fr=French_France.1252
  33122. + else
  33123. + # None found.
  33124. + gt_cv_locale_fr=none
  33125. + fi
  33126. + ;;
  33127. + *)
  33128. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  33129. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  33130. + # configure script would override the LC_ALL setting. Likewise for
  33131. + # LC_CTYPE, which is also set at the beginning of the configure script.
  33132. + # Test for the usual locale name.
  33133. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33134. + gt_cv_locale_fr=fr_FR
  33135. + else
  33136. + # Test for the locale name with explicit encoding suffix.
  33137. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33138. + gt_cv_locale_fr=fr_FR.ISO-8859-1
  33139. + else
  33140. + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
  33141. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33142. + gt_cv_locale_fr=fr_FR.ISO8859-1
  33143. + else
  33144. + # Test for the HP-UX locale name.
  33145. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33146. + gt_cv_locale_fr=fr_FR.iso88591
  33147. + else
  33148. + # Test for the Solaris 7 locale name.
  33149. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33150. + gt_cv_locale_fr=fr
  33151. + else
  33152. + # None found.
  33153. + gt_cv_locale_fr=none
  33154. + fi
  33155. + fi
  33156. + fi
  33157. + fi
  33158. + fi
  33159. + ;;
  33160. + esac
  33161. + fi
  33162. + rm -fr conftest*
  33163. +
  33164. +fi
  33165. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
  33166. +$as_echo "$gt_cv_locale_fr" >&6; }
  33167. + LOCALE_FR=$gt_cv_locale_fr
  33168. +
  33169. +
  33170. +
  33171. +
  33172. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  33173. +$as_echo_n "checking for a french Unicode locale... " >&6; }
  33174. +if ${gt_cv_locale_fr_utf8+:} false; then :
  33175. + $as_echo_n "(cached) " >&6
  33176. +else
  33177. +
  33178. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33179. +/* end confdefs.h. */
  33180. +
  33181. +#include <locale.h>
  33182. +#include <time.h>
  33183. +#if HAVE_LANGINFO_CODESET
  33184. +# include <langinfo.h>
  33185. +#endif
  33186. +#include <stdlib.h>
  33187. +#include <string.h>
  33188. +struct tm t;
  33189. +char buf[16];
  33190. +int main () {
  33191. + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl
  33192. + imitates locale dependent behaviour by looking at the environment
  33193. + variables, and all locales use the UTF-8 encoding. */
  33194. +#if !(defined __BEOS__ || defined __HAIKU__)
  33195. + /* Check whether the given locale name is recognized by the system. */
  33196. +# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  33197. + /* On native Win32, setlocale(category, "") looks at the system settings,
  33198. + not at the environment variables. Also, when an encoding suffix such
  33199. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  33200. + category of the locale to "C". */
  33201. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  33202. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  33203. + return 1;
  33204. +# else
  33205. + if (setlocale (LC_ALL, "") == NULL) return 1;
  33206. +# endif
  33207. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  33208. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  33209. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  33210. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  33211. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  33212. + some unit tests fail. */
  33213. +# if HAVE_LANGINFO_CODESET
  33214. + {
  33215. + const char *cs = nl_langinfo (CODESET);
  33216. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  33217. + return 1;
  33218. + }
  33219. +# endif
  33220. +# ifdef __CYGWIN__
  33221. + /* On Cygwin, avoid locale names without encoding suffix, because the
  33222. + locale_charset() function relies on the encoding suffix. Note that
  33223. + LC_ALL is set on the command line. */
  33224. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  33225. +# endif
  33226. + /* Check whether in the abbreviation of the second month, the second
  33227. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
  33228. + two bytes long, with UTF-8 encoding. */
  33229. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  33230. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  33231. + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
  33232. + return 1;
  33233. +#endif
  33234. + /* Check whether the decimal separator is a comma.
  33235. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  33236. + are nl_langinfo(RADIXCHAR) are both ".". */
  33237. + if (localeconv () ->decimal_point[0] != ',') return 1;
  33238. + return 0;
  33239. +}
  33240. +
  33241. +_ACEOF
  33242. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  33243. + (eval $ac_link) 2>&5
  33244. + ac_status=$?
  33245. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  33246. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  33247. + case "$host_os" in
  33248. + # Handle native Windows specially, because there setlocale() interprets
  33249. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  33250. + # "fr" or "fra" as "French" or "French_France.1252",
  33251. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  33252. + # "ja" as "Japanese" or "Japanese_Japan.932",
  33253. + # and similar.
  33254. + mingw*)
  33255. + # Test for the hypothetical native Win32 locale name.
  33256. + if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33257. + gt_cv_locale_fr_utf8=French_France.65001
  33258. + else
  33259. + # None found.
  33260. + gt_cv_locale_fr_utf8=none
  33261. + fi
  33262. + ;;
  33263. + *)
  33264. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  33265. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  33266. + # configure script would override the LC_ALL setting. Likewise for
  33267. + # LC_CTYPE, which is also set at the beginning of the configure script.
  33268. + # Test for the usual locale name.
  33269. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33270. + gt_cv_locale_fr_utf8=fr_FR
  33271. + else
  33272. + # Test for the locale name with explicit encoding suffix.
  33273. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33274. + gt_cv_locale_fr_utf8=fr_FR.UTF-8
  33275. + else
  33276. + # Test for the Solaris 7 locale name.
  33277. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33278. + gt_cv_locale_fr_utf8=fr.UTF-8
  33279. + else
  33280. + # None found.
  33281. + gt_cv_locale_fr_utf8=none
  33282. + fi
  33283. + fi
  33284. + fi
  33285. + ;;
  33286. + esac
  33287. + fi
  33288. + rm -fr conftest*
  33289. +
  33290. +fi
  33291. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
  33292. +$as_echo "$gt_cv_locale_fr_utf8" >&6; }
  33293. + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
  33294. +
  33295. +
  33296. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33297. +/* end confdefs.h. */
  33298. +[
  33299. + #if defined _MSC_VER || defined __MINGW32__
  33300. + notposix
  33301. + #endif
  33302. + ]
  33303. +_ACEOF
  33304. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  33305. + $EGREP "notposix" >/dev/null 2>&1; then :
  33306. + posix_spawn_ported=no
  33307. +else
  33308. + posix_spawn_ported=yes
  33309. +fi
  33310. +rm -f conftest*
  33311. +
  33312. + if test $posix_spawn_ported = yes; then
  33313. + POSIX_SPAWN_PORTED_TRUE=
  33314. + POSIX_SPAWN_PORTED_FALSE='#'
  33315. +else
  33316. + POSIX_SPAWN_PORTED_TRUE='#'
  33317. + POSIX_SPAWN_PORTED_FALSE=
  33318. +fi
  33319. +
  33320. +
  33321. +
  33322. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for putenv compatible with GNU and SVID" >&5
  33323. +$as_echo_n "checking for putenv compatible with GNU and SVID... " >&6; }
  33324. +if ${gl_cv_func_svid_putenv+:} false; then :
  33325. + $as_echo_n "(cached) " >&6
  33326. +else
  33327. + if test "$cross_compiling" = yes; then :
  33328. + gl_cv_func_svid_putenv=no
  33329. +else
  33330. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33331. +/* end confdefs.h. */
  33332. +$ac_includes_default
  33333. +int
  33334. +main ()
  33335. +{
  33336. +
  33337. + /* Put it in env. */
  33338. + if (putenv ("CONFTEST_putenv=val"))
  33339. + return 1;
  33340. +
  33341. + /* Try to remove it. */
  33342. + if (putenv ("CONFTEST_putenv"))
  33343. + return 2;
  33344. +
  33345. + /* Make sure it was deleted. */
  33346. + if (getenv ("CONFTEST_putenv") != 0)
  33347. + return 3;
  33348. +
  33349. + return 0;
  33350. +
  33351. + ;
  33352. + return 0;
  33353. +}
  33354. +_ACEOF
  33355. +if ac_fn_c_try_run "$LINENO"; then :
  33356. + gl_cv_func_svid_putenv=yes
  33357. +else
  33358. + gl_cv_func_svid_putenv=no
  33359. +fi
  33360. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  33361. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  33362. +fi
  33363. +
  33364. +
  33365. +fi
  33366. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_svid_putenv" >&5
  33367. +$as_echo "$gl_cv_func_svid_putenv" >&6; }
  33368. + if test $gl_cv_func_svid_putenv = no; then
  33369. + REPLACE_PUTENV=1
  33370. +
  33371. +
  33372. +
  33373. +
  33374. +
  33375. +
  33376. +
  33377. +
  33378. + M4tests_LIBOBJS="$M4tests_LIBOBJS putenv.$ac_objext"
  33379. +
  33380. + fi
  33381. +
  33382. +
  33383. +
  33384. +
  33385. + GNULIB_PUTENV=$gl_module_indicator_condition
  33386. +
  33387. +
  33388. +
  33389. +$as_echo "@%:@define GNULIB_TEST_PUTENV 1" >>confdefs.h
  33390. +
  33391. +
  33392. +
  33393. +
  33394. +
  33395. +
  33396. + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
  33397. + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  33398. + # irrelevant for anonymous mappings.
  33399. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  33400. +if test "x$ac_cv_func_mmap" = xyes; then :
  33401. + gl_have_mmap=yes
  33402. +else
  33403. + gl_have_mmap=no
  33404. +fi
  33405. +
  33406. +
  33407. + # Try to allow MAP_ANONYMOUS.
  33408. + gl_have_mmap_anonymous=no
  33409. + if test $gl_have_mmap = yes; then
  33410. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
  33411. +$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
  33412. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33413. +/* end confdefs.h. */
  33414. +
  33415. +#include <sys/mman.h>
  33416. +#ifdef MAP_ANONYMOUS
  33417. + I cant identify this map.
  33418. +#endif
  33419. +
  33420. +_ACEOF
  33421. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  33422. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  33423. + gl_have_mmap_anonymous=yes
  33424. +fi
  33425. +rm -f conftest*
  33426. +
  33427. + if test $gl_have_mmap_anonymous != yes; then
  33428. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33429. +/* end confdefs.h. */
  33430. +
  33431. +#include <sys/mman.h>
  33432. +#ifdef MAP_ANON
  33433. + I cant identify this map.
  33434. +#endif
  33435. +
  33436. +_ACEOF
  33437. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  33438. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  33439. +
  33440. +$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
  33441. +
  33442. + gl_have_mmap_anonymous=yes
  33443. +fi
  33444. +rm -f conftest*
  33445. +
  33446. + fi
  33447. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
  33448. +$as_echo "$gl_have_mmap_anonymous" >&6; }
  33449. + if test $gl_have_mmap_anonymous = yes; then
  33450. +
  33451. +$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
  33452. +
  33453. + fi
  33454. + fi
  33455. +
  33456. +
  33457. +
  33458. +
  33459. +
  33460. + if test $HAVE_SETENV$REPLACE_SETENV != 10; then
  33461. +
  33462. +
  33463. +
  33464. +
  33465. +
  33466. +
  33467. +
  33468. +
  33469. + M4tests_LIBOBJS="$M4tests_LIBOBJS setenv.$ac_objext"
  33470. +
  33471. + fi
  33472. +
  33473. +
  33474. +
  33475. +
  33476. + GNULIB_SETENV=$gl_module_indicator_condition
  33477. +
  33478. +
  33479. +
  33480. +$as_echo "@%:@define GNULIB_TEST_SETENV 1" >>confdefs.h
  33481. +
  33482. +
  33483. +
  33484. +
  33485. +
  33486. +
  33487. + case "$host_os" in
  33488. + mingw*) REPLACE_SETLOCALE=1 ;;
  33489. + esac
  33490. + if test $REPLACE_SETLOCALE = 1; then
  33491. +
  33492. + :
  33493. +
  33494. +
  33495. +
  33496. +
  33497. +
  33498. +
  33499. +
  33500. +
  33501. +
  33502. + M4tests_LIBOBJS="$M4tests_LIBOBJS setlocale.$ac_objext"
  33503. +
  33504. +
  33505. + :
  33506. +
  33507. + fi
  33508. +
  33509. +
  33510. +
  33511. +
  33512. + GNULIB_SETLOCALE=$gl_module_indicator_condition
  33513. +
  33514. +
  33515. +
  33516. +$as_echo "@%:@define GNULIB_TEST_SETLOCALE 1" >>confdefs.h
  33517. +
  33518. +
  33519. +
  33520. +
  33521. +
  33522. +
  33523. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  33524. +$as_echo_n "checking for a traditional french locale... " >&6; }
  33525. +if ${gt_cv_locale_fr+:} false; then :
  33526. + $as_echo_n "(cached) " >&6
  33527. +else
  33528. +
  33529. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33530. +/* end confdefs.h. */
  33531. +
  33532. +#include <locale.h>
  33533. +#include <time.h>
  33534. +#if HAVE_LANGINFO_CODESET
  33535. +# include <langinfo.h>
  33536. +#endif
  33537. +#include <stdlib.h>
  33538. +#include <string.h>
  33539. +struct tm t;
  33540. +char buf[16];
  33541. +int main () {
  33542. + /* Check whether the given locale name is recognized by the system. */
  33543. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  33544. + /* On native Win32, setlocale(category, "") looks at the system settings,
  33545. + not at the environment variables. Also, when an encoding suffix such
  33546. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  33547. + category of the locale to "C". */
  33548. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  33549. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  33550. + return 1;
  33551. +#else
  33552. + if (setlocale (LC_ALL, "") == NULL) return 1;
  33553. +#endif
  33554. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  33555. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  33556. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  33557. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  33558. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  33559. + some unit tests fail.
  33560. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  33561. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  33562. +#if HAVE_LANGINFO_CODESET
  33563. + {
  33564. + const char *cs = nl_langinfo (CODESET);
  33565. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  33566. + || strcmp (cs, "UTF-8") == 0)
  33567. + return 1;
  33568. + }
  33569. +#endif
  33570. +#ifdef __CYGWIN__
  33571. + /* On Cygwin, avoid locale names without encoding suffix, because the
  33572. + locale_charset() function relies on the encoding suffix. Note that
  33573. + LC_ALL is set on the command line. */
  33574. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  33575. +#endif
  33576. + /* Check whether in the abbreviation of the second month, the second
  33577. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
  33578. + one byte long. This excludes the UTF-8 encoding. */
  33579. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  33580. + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
  33581. + /* Check whether the decimal separator is a comma.
  33582. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  33583. + are nl_langinfo(RADIXCHAR) are both ".". */
  33584. + if (localeconv () ->decimal_point[0] != ',') return 1;
  33585. + return 0;
  33586. +}
  33587. +
  33588. +_ACEOF
  33589. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  33590. + (eval $ac_link) 2>&5
  33591. + ac_status=$?
  33592. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  33593. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  33594. + case "$host_os" in
  33595. + # Handle native Windows specially, because there setlocale() interprets
  33596. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  33597. + # "fr" or "fra" as "French" or "French_France.1252",
  33598. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  33599. + # "ja" as "Japanese" or "Japanese_Japan.932",
  33600. + # and similar.
  33601. + mingw*)
  33602. + # Test for the native Win32 locale name.
  33603. + if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33604. + gt_cv_locale_fr=French_France.1252
  33605. + else
  33606. + # None found.
  33607. + gt_cv_locale_fr=none
  33608. + fi
  33609. + ;;
  33610. + *)
  33611. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  33612. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  33613. + # configure script would override the LC_ALL setting. Likewise for
  33614. + # LC_CTYPE, which is also set at the beginning of the configure script.
  33615. + # Test for the usual locale name.
  33616. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33617. + gt_cv_locale_fr=fr_FR
  33618. + else
  33619. + # Test for the locale name with explicit encoding suffix.
  33620. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33621. + gt_cv_locale_fr=fr_FR.ISO-8859-1
  33622. + else
  33623. + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
  33624. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33625. + gt_cv_locale_fr=fr_FR.ISO8859-1
  33626. + else
  33627. + # Test for the HP-UX locale name.
  33628. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33629. + gt_cv_locale_fr=fr_FR.iso88591
  33630. + else
  33631. + # Test for the Solaris 7 locale name.
  33632. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33633. + gt_cv_locale_fr=fr
  33634. + else
  33635. + # None found.
  33636. + gt_cv_locale_fr=none
  33637. + fi
  33638. + fi
  33639. + fi
  33640. + fi
  33641. + fi
  33642. + ;;
  33643. + esac
  33644. + fi
  33645. + rm -fr conftest*
  33646. +
  33647. +fi
  33648. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
  33649. +$as_echo "$gt_cv_locale_fr" >&6; }
  33650. + LOCALE_FR=$gt_cv_locale_fr
  33651. +
  33652. +
  33653. +
  33654. +
  33655. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  33656. +$as_echo_n "checking for a french Unicode locale... " >&6; }
  33657. +if ${gt_cv_locale_fr_utf8+:} false; then :
  33658. + $as_echo_n "(cached) " >&6
  33659. +else
  33660. +
  33661. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33662. +/* end confdefs.h. */
  33663. +
  33664. +#include <locale.h>
  33665. +#include <time.h>
  33666. +#if HAVE_LANGINFO_CODESET
  33667. +# include <langinfo.h>
  33668. +#endif
  33669. +#include <stdlib.h>
  33670. +#include <string.h>
  33671. +struct tm t;
  33672. +char buf[16];
  33673. +int main () {
  33674. + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl
  33675. + imitates locale dependent behaviour by looking at the environment
  33676. + variables, and all locales use the UTF-8 encoding. */
  33677. +#if !(defined __BEOS__ || defined __HAIKU__)
  33678. + /* Check whether the given locale name is recognized by the system. */
  33679. +# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  33680. + /* On native Win32, setlocale(category, "") looks at the system settings,
  33681. + not at the environment variables. Also, when an encoding suffix such
  33682. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  33683. + category of the locale to "C". */
  33684. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  33685. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  33686. + return 1;
  33687. +# else
  33688. + if (setlocale (LC_ALL, "") == NULL) return 1;
  33689. +# endif
  33690. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  33691. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  33692. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  33693. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  33694. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  33695. + some unit tests fail. */
  33696. +# if HAVE_LANGINFO_CODESET
  33697. + {
  33698. + const char *cs = nl_langinfo (CODESET);
  33699. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  33700. + return 1;
  33701. + }
  33702. +# endif
  33703. +# ifdef __CYGWIN__
  33704. + /* On Cygwin, avoid locale names without encoding suffix, because the
  33705. + locale_charset() function relies on the encoding suffix. Note that
  33706. + LC_ALL is set on the command line. */
  33707. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  33708. +# endif
  33709. + /* Check whether in the abbreviation of the second month, the second
  33710. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
  33711. + two bytes long, with UTF-8 encoding. */
  33712. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  33713. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  33714. + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
  33715. + return 1;
  33716. +#endif
  33717. + /* Check whether the decimal separator is a comma.
  33718. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  33719. + are nl_langinfo(RADIXCHAR) are both ".". */
  33720. + if (localeconv () ->decimal_point[0] != ',') return 1;
  33721. + return 0;
  33722. +}
  33723. +
  33724. +_ACEOF
  33725. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  33726. + (eval $ac_link) 2>&5
  33727. + ac_status=$?
  33728. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  33729. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  33730. + case "$host_os" in
  33731. + # Handle native Windows specially, because there setlocale() interprets
  33732. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  33733. + # "fr" or "fra" as "French" or "French_France.1252",
  33734. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  33735. + # "ja" as "Japanese" or "Japanese_Japan.932",
  33736. + # and similar.
  33737. + mingw*)
  33738. + # Test for the hypothetical native Win32 locale name.
  33739. + if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33740. + gt_cv_locale_fr_utf8=French_France.65001
  33741. + else
  33742. + # None found.
  33743. + gt_cv_locale_fr_utf8=none
  33744. + fi
  33745. + ;;
  33746. + *)
  33747. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  33748. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  33749. + # configure script would override the LC_ALL setting. Likewise for
  33750. + # LC_CTYPE, which is also set at the beginning of the configure script.
  33751. + # Test for the usual locale name.
  33752. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33753. + gt_cv_locale_fr_utf8=fr_FR
  33754. + else
  33755. + # Test for the locale name with explicit encoding suffix.
  33756. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33757. + gt_cv_locale_fr_utf8=fr_FR.UTF-8
  33758. + else
  33759. + # Test for the Solaris 7 locale name.
  33760. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33761. + gt_cv_locale_fr_utf8=fr.UTF-8
  33762. + else
  33763. + # None found.
  33764. + gt_cv_locale_fr_utf8=none
  33765. + fi
  33766. + fi
  33767. + fi
  33768. + ;;
  33769. + esac
  33770. + fi
  33771. + rm -fr conftest*
  33772. +
  33773. +fi
  33774. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
  33775. +$as_echo "$gt_cv_locale_fr_utf8" >&6; }
  33776. + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
  33777. +
  33778. +
  33779. +
  33780. +
  33781. +
  33782. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
  33783. +$as_echo_n "checking for a traditional japanese locale... " >&6; }
  33784. +if ${gt_cv_locale_ja+:} false; then :
  33785. + $as_echo_n "(cached) " >&6
  33786. +else
  33787. +
  33788. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33789. +/* end confdefs.h. */
  33790. +
  33791. +#include <locale.h>
  33792. +#include <time.h>
  33793. +#if HAVE_LANGINFO_CODESET
  33794. +# include <langinfo.h>
  33795. +#endif
  33796. +#include <stdlib.h>
  33797. +#include <string.h>
  33798. +struct tm t;
  33799. +char buf[16];
  33800. +int main ()
  33801. +{
  33802. + const char *p;
  33803. + /* Check whether the given locale name is recognized by the system. */
  33804. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  33805. + /* On native Win32, setlocale(category, "") looks at the system settings,
  33806. + not at the environment variables. Also, when an encoding suffix such
  33807. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  33808. + category of the locale to "C". */
  33809. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  33810. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  33811. + return 1;
  33812. +#else
  33813. + if (setlocale (LC_ALL, "") == NULL) return 1;
  33814. +#endif
  33815. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  33816. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  33817. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  33818. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  33819. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  33820. + some unit tests fail.
  33821. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  33822. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  33823. +#if HAVE_LANGINFO_CODESET
  33824. + {
  33825. + const char *cs = nl_langinfo (CODESET);
  33826. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  33827. + || strcmp (cs, "UTF-8") == 0)
  33828. + return 1;
  33829. + }
  33830. +#endif
  33831. +#ifdef __CYGWIN__
  33832. + /* On Cygwin, avoid locale names without encoding suffix, because the
  33833. + locale_charset() function relies on the encoding suffix. Note that
  33834. + LC_ALL is set on the command line. */
  33835. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  33836. +#endif
  33837. + /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales
  33838. + on Cygwin 1.5.x. */
  33839. + if (MB_CUR_MAX == 1)
  33840. + return 1;
  33841. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  33842. + This excludes the UTF-8 encoding (except on MirBSD). */
  33843. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  33844. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  33845. + for (p = buf; *p != '\0'; p++)
  33846. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  33847. + return 1;
  33848. + return 0;
  33849. +}
  33850. +
  33851. +_ACEOF
  33852. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  33853. + (eval $ac_link) 2>&5
  33854. + ac_status=$?
  33855. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  33856. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  33857. + case "$host_os" in
  33858. + # Handle native Windows specially, because there setlocale() interprets
  33859. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  33860. + # "fr" or "fra" as "French" or "French_France.1252",
  33861. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  33862. + # "ja" as "Japanese" or "Japanese_Japan.932",
  33863. + # and similar.
  33864. + mingw*)
  33865. + # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
  33866. + # and CP932 is very different from EUC-JP, so we cannot use it here.
  33867. + gt_cv_locale_ja=none
  33868. + ;;
  33869. + *)
  33870. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  33871. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  33872. + # configure script would override the LC_ALL setting. Likewise for
  33873. + # LC_CTYPE, which is also set at the beginning of the configure script.
  33874. + # Test for the AIX locale name.
  33875. + if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33876. + gt_cv_locale_ja=ja_JP
  33877. + else
  33878. + # Test for the locale name with explicit encoding suffix.
  33879. + if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33880. + gt_cv_locale_ja=ja_JP.EUC-JP
  33881. + else
  33882. + # Test for the HP-UX, OSF/1, NetBSD locale name.
  33883. + if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33884. + gt_cv_locale_ja=ja_JP.eucJP
  33885. + else
  33886. + # Test for the IRIX, FreeBSD locale name.
  33887. + if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33888. + gt_cv_locale_ja=ja_JP.EUC
  33889. + else
  33890. + # Test for the Solaris 7 locale name.
  33891. + if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  33892. + gt_cv_locale_ja=ja
  33893. + else
  33894. + # Special test for NetBSD 1.6.
  33895. + if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
  33896. + gt_cv_locale_ja=ja_JP.eucJP
  33897. + else
  33898. + # None found.
  33899. + gt_cv_locale_ja=none
  33900. + fi
  33901. + fi
  33902. + fi
  33903. + fi
  33904. + fi
  33905. + fi
  33906. + ;;
  33907. + esac
  33908. + fi
  33909. + rm -fr conftest*
  33910. +
  33911. +fi
  33912. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
  33913. +$as_echo "$gt_cv_locale_ja" >&6; }
  33914. + LOCALE_JA=$gt_cv_locale_ja
  33915. +
  33916. +
  33917. +
  33918. +
  33919. +
  33920. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
  33921. +$as_echo_n "checking for a transitional chinese locale... " >&6; }
  33922. +if ${gt_cv_locale_zh_CN+:} false; then :
  33923. + $as_echo_n "(cached) " >&6
  33924. +else
  33925. +
  33926. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  33927. +/* end confdefs.h. */
  33928. +
  33929. +#include <locale.h>
  33930. +#include <stdlib.h>
  33931. +#include <time.h>
  33932. +#if HAVE_LANGINFO_CODESET
  33933. +# include <langinfo.h>
  33934. +#endif
  33935. +#include <stdlib.h>
  33936. +#include <string.h>
  33937. +struct tm t;
  33938. +char buf[16];
  33939. +int main ()
  33940. +{
  33941. + const char *p;
  33942. + /* Check whether the given locale name is recognized by the system. */
  33943. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  33944. + /* On native Win32, setlocale(category, "") looks at the system settings,
  33945. + not at the environment variables. Also, when an encoding suffix such
  33946. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  33947. + category of the locale to "C". */
  33948. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  33949. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  33950. + return 1;
  33951. +#else
  33952. + if (setlocale (LC_ALL, "") == NULL) return 1;
  33953. +#endif
  33954. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  33955. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  33956. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  33957. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  33958. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  33959. + some unit tests fail.
  33960. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  33961. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  33962. +#if HAVE_LANGINFO_CODESET
  33963. + {
  33964. + const char *cs = nl_langinfo (CODESET);
  33965. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  33966. + || strcmp (cs, "UTF-8") == 0)
  33967. + return 1;
  33968. + }
  33969. +#endif
  33970. +#ifdef __CYGWIN__
  33971. + /* On Cygwin, avoid locale names without encoding suffix, because the
  33972. + locale_charset() function relies on the encoding suffix. Note that
  33973. + LC_ALL is set on the command line. */
  33974. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  33975. +#endif
  33976. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  33977. + This excludes the UTF-8 encoding (except on MirBSD). */
  33978. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  33979. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  33980. + for (p = buf; *p != '\0'; p++)
  33981. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  33982. + return 1;
  33983. + /* Check whether a typical GB18030 multibyte sequence is recognized as a
  33984. + single wide character. This excludes the GB2312 and GBK encodings. */
  33985. + if (mblen ("\203\062\332\066", 5) != 4)
  33986. + return 1;
  33987. + return 0;
  33988. +}
  33989. +
  33990. +_ACEOF
  33991. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  33992. + (eval $ac_link) 2>&5
  33993. + ac_status=$?
  33994. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  33995. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  33996. + case "$host_os" in
  33997. + # Handle native Windows specially, because there setlocale() interprets
  33998. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  33999. + # "fr" or "fra" as "French" or "French_France.1252",
  34000. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  34001. + # "ja" as "Japanese" or "Japanese_Japan.932",
  34002. + # and similar.
  34003. + mingw*)
  34004. + # Test for the hypothetical native Win32 locale name.
  34005. + if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34006. + gt_cv_locale_zh_CN=Chinese_China.54936
  34007. + else
  34008. + # None found.
  34009. + gt_cv_locale_zh_CN=none
  34010. + fi
  34011. + ;;
  34012. + *)
  34013. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  34014. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  34015. + # configure script would override the LC_ALL setting. Likewise for
  34016. + # LC_CTYPE, which is also set at the beginning of the configure script.
  34017. + # Test for the locale name without encoding suffix.
  34018. + if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34019. + gt_cv_locale_zh_CN=zh_CN
  34020. + else
  34021. + # Test for the locale name with explicit encoding suffix.
  34022. + if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34023. + gt_cv_locale_zh_CN=zh_CN.GB18030
  34024. + else
  34025. + # None found.
  34026. + gt_cv_locale_zh_CN=none
  34027. + fi
  34028. + fi
  34029. + ;;
  34030. + esac
  34031. + else
  34032. + # If there was a link error, due to mblen(), the system is so old that
  34033. + # it certainly doesn't have a chinese locale.
  34034. + gt_cv_locale_zh_CN=none
  34035. + fi
  34036. + rm -fr conftest*
  34037. +
  34038. +fi
  34039. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
  34040. +$as_echo "$gt_cv_locale_zh_CN" >&6; }
  34041. + LOCALE_ZH_CN=$gt_cv_locale_zh_CN
  34042. +
  34043. +
  34044. +
  34045. +
  34046. +
  34047. +
  34048. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
  34049. +$as_echo_n "checking for wchar_t... " >&6; }
  34050. +if ${gt_cv_c_wchar_t+:} false; then :
  34051. + $as_echo_n "(cached) " >&6
  34052. +else
  34053. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34054. +/* end confdefs.h. */
  34055. +#include <stddef.h>
  34056. + wchar_t foo = (wchar_t)'\0';
  34057. +int
  34058. +main ()
  34059. +{
  34060. +
  34061. + ;
  34062. + return 0;
  34063. +}
  34064. +_ACEOF
  34065. +if ac_fn_c_try_compile "$LINENO"; then :
  34066. + gt_cv_c_wchar_t=yes
  34067. +else
  34068. + gt_cv_c_wchar_t=no
  34069. +fi
  34070. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  34071. +fi
  34072. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
  34073. +$as_echo "$gt_cv_c_wchar_t" >&6; }
  34074. + if test $gt_cv_c_wchar_t = yes; then
  34075. +
  34076. +$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h
  34077. +
  34078. + fi
  34079. +
  34080. +
  34081. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
  34082. +$as_echo_n "checking for wint_t... " >&6; }
  34083. +if ${gt_cv_c_wint_t+:} false; then :
  34084. + $as_echo_n "(cached) " >&6
  34085. +else
  34086. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34087. +/* end confdefs.h. */
  34088. +
  34089. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  34090. + <wchar.h>.
  34091. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
  34092. + before <wchar.h>. */
  34093. +#include <stddef.h>
  34094. +#include <stdio.h>
  34095. +#include <time.h>
  34096. +#include <wchar.h>
  34097. + wint_t foo = (wchar_t)'\0';
  34098. +int
  34099. +main ()
  34100. +{
  34101. +
  34102. + ;
  34103. + return 0;
  34104. +}
  34105. +_ACEOF
  34106. +if ac_fn_c_try_compile "$LINENO"; then :
  34107. + gt_cv_c_wint_t=yes
  34108. +else
  34109. + gt_cv_c_wint_t=no
  34110. +fi
  34111. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  34112. +fi
  34113. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
  34114. +$as_echo "$gt_cv_c_wint_t" >&6; }
  34115. + if test $gt_cv_c_wint_t = yes; then
  34116. +
  34117. +$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h
  34118. +
  34119. + fi
  34120. +
  34121. +
  34122. +
  34123. +
  34124. +
  34125. + if test $ac_cv_func_strdup = yes; then
  34126. + if test $gl_cv_func_malloc_posix != yes; then
  34127. + REPLACE_STRDUP=1
  34128. +
  34129. +
  34130. +
  34131. +
  34132. +
  34133. +
  34134. +
  34135. +
  34136. + M4tests_LIBOBJS="$M4tests_LIBOBJS strdup.$ac_objext"
  34137. +
  34138. + :
  34139. + fi
  34140. + else
  34141. +
  34142. +
  34143. +
  34144. +
  34145. +
  34146. +
  34147. +
  34148. +
  34149. + M4tests_LIBOBJS="$M4tests_LIBOBJS strdup.$ac_objext"
  34150. +
  34151. + :
  34152. + fi
  34153. +
  34154. + if test $ac_cv_have_decl_strdup = no; then
  34155. + HAVE_DECL_STRDUP=0
  34156. + fi
  34157. +
  34158. +
  34159. +
  34160. +
  34161. + GNULIB_STRDUP=$gl_module_indicator_condition
  34162. +
  34163. +
  34164. +
  34165. +$as_echo "@%:@define GNULIB_TEST_STRDUP 1" >>confdefs.h
  34166. +
  34167. +
  34168. +
  34169. +
  34170. +
  34171. +
  34172. + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
  34173. + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  34174. + # irrelevant for anonymous mappings.
  34175. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  34176. +if test "x$ac_cv_func_mmap" = xyes; then :
  34177. + gl_have_mmap=yes
  34178. +else
  34179. + gl_have_mmap=no
  34180. +fi
  34181. +
  34182. +
  34183. + # Try to allow MAP_ANONYMOUS.
  34184. + gl_have_mmap_anonymous=no
  34185. + if test $gl_have_mmap = yes; then
  34186. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
  34187. +$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
  34188. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34189. +/* end confdefs.h. */
  34190. +
  34191. +#include <sys/mman.h>
  34192. +#ifdef MAP_ANONYMOUS
  34193. + I cant identify this map.
  34194. +#endif
  34195. +
  34196. +_ACEOF
  34197. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  34198. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  34199. + gl_have_mmap_anonymous=yes
  34200. +fi
  34201. +rm -f conftest*
  34202. +
  34203. + if test $gl_have_mmap_anonymous != yes; then
  34204. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34205. +/* end confdefs.h. */
  34206. +
  34207. +#include <sys/mman.h>
  34208. +#ifdef MAP_ANON
  34209. + I cant identify this map.
  34210. +#endif
  34211. +
  34212. +_ACEOF
  34213. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  34214. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  34215. +
  34216. +$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
  34217. +
  34218. + gl_have_mmap_anonymous=yes
  34219. +fi
  34220. +rm -f conftest*
  34221. +
  34222. + fi
  34223. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
  34224. +$as_echo "$gl_have_mmap_anonymous" >&6; }
  34225. + if test $gl_have_mmap_anonymous = yes; then
  34226. +
  34227. +$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
  34228. +
  34229. + fi
  34230. + fi
  34231. +
  34232. +
  34233. +
  34234. +
  34235. +
  34236. +
  34237. +
  34238. + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
  34239. + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  34240. + # irrelevant for anonymous mappings.
  34241. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  34242. +if test "x$ac_cv_func_mmap" = xyes; then :
  34243. + gl_have_mmap=yes
  34244. +else
  34245. + gl_have_mmap=no
  34246. +fi
  34247. +
  34248. +
  34249. + # Try to allow MAP_ANONYMOUS.
  34250. + gl_have_mmap_anonymous=no
  34251. + if test $gl_have_mmap = yes; then
  34252. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
  34253. +$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
  34254. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34255. +/* end confdefs.h. */
  34256. +
  34257. +#include <sys/mman.h>
  34258. +#ifdef MAP_ANONYMOUS
  34259. + I cant identify this map.
  34260. +#endif
  34261. +
  34262. +_ACEOF
  34263. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  34264. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  34265. + gl_have_mmap_anonymous=yes
  34266. +fi
  34267. +rm -f conftest*
  34268. +
  34269. + if test $gl_have_mmap_anonymous != yes; then
  34270. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34271. +/* end confdefs.h. */
  34272. +
  34273. +#include <sys/mman.h>
  34274. +#ifdef MAP_ANON
  34275. + I cant identify this map.
  34276. +#endif
  34277. +
  34278. +_ACEOF
  34279. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  34280. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  34281. +
  34282. +$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
  34283. +
  34284. + gl_have_mmap_anonymous=yes
  34285. +fi
  34286. +rm -f conftest*
  34287. +
  34288. + fi
  34289. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
  34290. +$as_echo "$gl_have_mmap_anonymous" >&6; }
  34291. + if test $gl_have_mmap_anonymous = yes; then
  34292. +
  34293. +$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
  34294. +
  34295. + fi
  34296. + fi
  34297. +
  34298. +
  34299. +
  34300. +
  34301. +
  34302. +
  34303. + if test $ac_cv_func_symlink = no; then
  34304. + HAVE_SYMLINK=0
  34305. +
  34306. +
  34307. +
  34308. +
  34309. +
  34310. +
  34311. +
  34312. +
  34313. + M4tests_LIBOBJS="$M4tests_LIBOBJS symlink.$ac_objext"
  34314. +
  34315. + else
  34316. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symlink handles trailing slash correctly" >&5
  34317. +$as_echo_n "checking whether symlink handles trailing slash correctly... " >&6; }
  34318. +if ${gl_cv_func_symlink_works+:} false; then :
  34319. + $as_echo_n "(cached) " >&6
  34320. +else
  34321. + if test "$cross_compiling" = yes; then :
  34322. + gl_cv_func_symlink_works="guessing no"
  34323. +else
  34324. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34325. +/* end confdefs.h. */
  34326. +#include <unistd.h>
  34327. +
  34328. +int
  34329. +main ()
  34330. +{
  34331. +int result = 0;
  34332. + if (!symlink ("a", "conftest.link/"))
  34333. + result |= 1;
  34334. + if (symlink ("conftest.f", "conftest.lnk2"))
  34335. + result |= 2;
  34336. + else if (!symlink ("a", "conftest.lnk2/"))
  34337. + result |= 4;
  34338. + return result;
  34339. +
  34340. + ;
  34341. + return 0;
  34342. +}
  34343. +_ACEOF
  34344. +if ac_fn_c_try_run "$LINENO"; then :
  34345. + gl_cv_func_symlink_works=yes
  34346. +else
  34347. + gl_cv_func_symlink_works=no
  34348. +fi
  34349. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  34350. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  34351. +fi
  34352. +
  34353. + rm -f conftest.f conftest.link conftest.lnk2
  34354. +fi
  34355. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_symlink_works" >&5
  34356. +$as_echo "$gl_cv_func_symlink_works" >&6; }
  34357. + if test "$gl_cv_func_symlink_works" != yes; then
  34358. + REPLACE_SYMLINK=1
  34359. +
  34360. +
  34361. +
  34362. +
  34363. +
  34364. +
  34365. +
  34366. +
  34367. + M4tests_LIBOBJS="$M4tests_LIBOBJS symlink.$ac_objext"
  34368. +
  34369. + fi
  34370. + fi
  34371. +
  34372. +
  34373. +
  34374. +
  34375. + GNULIB_SYMLINK=$gl_module_indicator_condition
  34376. +
  34377. +
  34378. +
  34379. +$as_echo "@%:@define GNULIB_TEST_SYMLINK 1" >>confdefs.h
  34380. +
  34381. +
  34382. +
  34383. +
  34384. +
  34385. +
  34386. + if test $ac_cv_have_decl_unsetenv = no; then
  34387. + HAVE_DECL_UNSETENV=0
  34388. + fi
  34389. + for ac_func in unsetenv
  34390. +do :
  34391. + ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
  34392. +if test "x$ac_cv_func_unsetenv" = xyes; then :
  34393. + cat >>confdefs.h <<_ACEOF
  34394. +@%:@define HAVE_UNSETENV 1
  34395. +_ACEOF
  34396. +
  34397. +fi
  34398. +done
  34399. +
  34400. + if test $ac_cv_func_unsetenv = no; then
  34401. +
  34402. +
  34403. +
  34404. +
  34405. +
  34406. +
  34407. +
  34408. +
  34409. + M4tests_LIBOBJS="$M4tests_LIBOBJS unsetenv.$ac_objext"
  34410. +
  34411. +
  34412. +
  34413. +
  34414. +
  34415. + else
  34416. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsetenv() return type" >&5
  34417. +$as_echo_n "checking for unsetenv() return type... " >&6; }
  34418. +if ${gt_cv_func_unsetenv_ret+:} false; then :
  34419. + $as_echo_n "(cached) " >&6
  34420. +else
  34421. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34422. +/* end confdefs.h. */
  34423. +
  34424. +#undef _BSD
  34425. +#define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 <stdlib.h> */
  34426. +#include <stdlib.h>
  34427. +extern
  34428. +#ifdef __cplusplus
  34429. +"C"
  34430. +#endif
  34431. +#if defined(__STDC__) || defined(__cplusplus)
  34432. +int unsetenv (const char *name);
  34433. +#else
  34434. +int unsetenv();
  34435. +#endif
  34436. +
  34437. +int
  34438. +main ()
  34439. +{
  34440. +
  34441. + ;
  34442. + return 0;
  34443. +}
  34444. +_ACEOF
  34445. +if ac_fn_c_try_compile "$LINENO"; then :
  34446. + gt_cv_func_unsetenv_ret='int'
  34447. +else
  34448. + gt_cv_func_unsetenv_ret='void'
  34449. +fi
  34450. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  34451. +fi
  34452. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_unsetenv_ret" >&5
  34453. +$as_echo "$gt_cv_func_unsetenv_ret" >&6; }
  34454. + if test $gt_cv_func_unsetenv_ret = 'void'; then
  34455. +
  34456. +$as_echo "@%:@define VOID_UNSETENV 1" >>confdefs.h
  34457. +
  34458. + REPLACE_UNSETENV=1
  34459. +
  34460. +
  34461. +
  34462. +
  34463. +
  34464. +
  34465. +
  34466. +
  34467. + M4tests_LIBOBJS="$M4tests_LIBOBJS unsetenv.$ac_objext"
  34468. +
  34469. + fi
  34470. +
  34471. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unsetenv obeys POSIX" >&5
  34472. +$as_echo_n "checking whether unsetenv obeys POSIX... " >&6; }
  34473. +if ${gl_cv_func_unsetenv_works+:} false; then :
  34474. + $as_echo_n "(cached) " >&6
  34475. +else
  34476. + if test "$cross_compiling" = yes; then :
  34477. + gl_cv_func_unsetenv_works="guessing no"
  34478. +else
  34479. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34480. +/* end confdefs.h. */
  34481. +
  34482. + #include <stdlib.h>
  34483. + #include <errno.h>
  34484. + extern char **environ;
  34485. +
  34486. +int
  34487. +main ()
  34488. +{
  34489. +
  34490. + char entry1[] = "a=1";
  34491. + char entry2[] = "b=2";
  34492. + char *env[] = { entry1, entry2, NULL };
  34493. + if (putenv ((char *) "a=1")) return 1;
  34494. + if (putenv (entry2)) return 2;
  34495. + entry2[0] = 'a';
  34496. + unsetenv ("a");
  34497. + if (getenv ("a")) return 3;
  34498. + if (!unsetenv ("") || errno != EINVAL) return 4;
  34499. + entry2[0] = 'b';
  34500. + environ = env;
  34501. + if (!getenv ("a")) return 5;
  34502. + entry2[0] = 'a';
  34503. + unsetenv ("a");
  34504. + if (getenv ("a")) return 6;
  34505. +
  34506. + ;
  34507. + return 0;
  34508. +}
  34509. +_ACEOF
  34510. +if ac_fn_c_try_run "$LINENO"; then :
  34511. + gl_cv_func_unsetenv_works=yes
  34512. +else
  34513. + gl_cv_func_unsetenv_works=no
  34514. +fi
  34515. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  34516. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  34517. +fi
  34518. +
  34519. +fi
  34520. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unsetenv_works" >&5
  34521. +$as_echo "$gl_cv_func_unsetenv_works" >&6; }
  34522. + if test "$gl_cv_func_unsetenv_works" != yes; then
  34523. + REPLACE_UNSETENV=1
  34524. +
  34525. +
  34526. +
  34527. +
  34528. +
  34529. +
  34530. +
  34531. +
  34532. + M4tests_LIBOBJS="$M4tests_LIBOBJS unsetenv.$ac_objext"
  34533. +
  34534. + fi
  34535. + fi
  34536. +
  34537. +
  34538. +
  34539. +
  34540. + GNULIB_UNSETENV=$gl_module_indicator_condition
  34541. +
  34542. +
  34543. +
  34544. +$as_echo "@%:@define GNULIB_TEST_UNSETENV 1" >>confdefs.h
  34545. +
  34546. +
  34547. +
  34548. + abs_aux_dir=`cd "$ac_aux_dir"; pwd`
  34549. +
  34550. + abs_aux_dir=`cd "$ac_aux_dir"; pwd`
  34551. +
  34552. +
  34553. +
  34554. +
  34555. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  34556. +$as_echo_n "checking for a traditional french locale... " >&6; }
  34557. +if ${gt_cv_locale_fr+:} false; then :
  34558. + $as_echo_n "(cached) " >&6
  34559. +else
  34560. +
  34561. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34562. +/* end confdefs.h. */
  34563. +
  34564. +#include <locale.h>
  34565. +#include <time.h>
  34566. +#if HAVE_LANGINFO_CODESET
  34567. +# include <langinfo.h>
  34568. +#endif
  34569. +#include <stdlib.h>
  34570. +#include <string.h>
  34571. +struct tm t;
  34572. +char buf[16];
  34573. +int main () {
  34574. + /* Check whether the given locale name is recognized by the system. */
  34575. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  34576. + /* On native Win32, setlocale(category, "") looks at the system settings,
  34577. + not at the environment variables. Also, when an encoding suffix such
  34578. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  34579. + category of the locale to "C". */
  34580. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  34581. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  34582. + return 1;
  34583. +#else
  34584. + if (setlocale (LC_ALL, "") == NULL) return 1;
  34585. +#endif
  34586. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  34587. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  34588. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  34589. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  34590. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  34591. + some unit tests fail.
  34592. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  34593. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  34594. +#if HAVE_LANGINFO_CODESET
  34595. + {
  34596. + const char *cs = nl_langinfo (CODESET);
  34597. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  34598. + || strcmp (cs, "UTF-8") == 0)
  34599. + return 1;
  34600. + }
  34601. +#endif
  34602. +#ifdef __CYGWIN__
  34603. + /* On Cygwin, avoid locale names without encoding suffix, because the
  34604. + locale_charset() function relies on the encoding suffix. Note that
  34605. + LC_ALL is set on the command line. */
  34606. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  34607. +#endif
  34608. + /* Check whether in the abbreviation of the second month, the second
  34609. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
  34610. + one byte long. This excludes the UTF-8 encoding. */
  34611. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  34612. + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
  34613. + /* Check whether the decimal separator is a comma.
  34614. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  34615. + are nl_langinfo(RADIXCHAR) are both ".". */
  34616. + if (localeconv () ->decimal_point[0] != ',') return 1;
  34617. + return 0;
  34618. +}
  34619. +
  34620. +_ACEOF
  34621. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  34622. + (eval $ac_link) 2>&5
  34623. + ac_status=$?
  34624. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  34625. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  34626. + case "$host_os" in
  34627. + # Handle native Windows specially, because there setlocale() interprets
  34628. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  34629. + # "fr" or "fra" as "French" or "French_France.1252",
  34630. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  34631. + # "ja" as "Japanese" or "Japanese_Japan.932",
  34632. + # and similar.
  34633. + mingw*)
  34634. + # Test for the native Win32 locale name.
  34635. + if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34636. + gt_cv_locale_fr=French_France.1252
  34637. + else
  34638. + # None found.
  34639. + gt_cv_locale_fr=none
  34640. + fi
  34641. + ;;
  34642. + *)
  34643. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  34644. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  34645. + # configure script would override the LC_ALL setting. Likewise for
  34646. + # LC_CTYPE, which is also set at the beginning of the configure script.
  34647. + # Test for the usual locale name.
  34648. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34649. + gt_cv_locale_fr=fr_FR
  34650. + else
  34651. + # Test for the locale name with explicit encoding suffix.
  34652. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34653. + gt_cv_locale_fr=fr_FR.ISO-8859-1
  34654. + else
  34655. + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
  34656. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34657. + gt_cv_locale_fr=fr_FR.ISO8859-1
  34658. + else
  34659. + # Test for the HP-UX locale name.
  34660. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34661. + gt_cv_locale_fr=fr_FR.iso88591
  34662. + else
  34663. + # Test for the Solaris 7 locale name.
  34664. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34665. + gt_cv_locale_fr=fr
  34666. + else
  34667. + # None found.
  34668. + gt_cv_locale_fr=none
  34669. + fi
  34670. + fi
  34671. + fi
  34672. + fi
  34673. + fi
  34674. + ;;
  34675. + esac
  34676. + fi
  34677. + rm -fr conftest*
  34678. +
  34679. +fi
  34680. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
  34681. +$as_echo "$gt_cv_locale_fr" >&6; }
  34682. + LOCALE_FR=$gt_cv_locale_fr
  34683. +
  34684. +
  34685. +
  34686. +
  34687. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  34688. +$as_echo_n "checking for a french Unicode locale... " >&6; }
  34689. +if ${gt_cv_locale_fr_utf8+:} false; then :
  34690. + $as_echo_n "(cached) " >&6
  34691. +else
  34692. +
  34693. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34694. +/* end confdefs.h. */
  34695. +
  34696. +#include <locale.h>
  34697. +#include <time.h>
  34698. +#if HAVE_LANGINFO_CODESET
  34699. +# include <langinfo.h>
  34700. +#endif
  34701. +#include <stdlib.h>
  34702. +#include <string.h>
  34703. +struct tm t;
  34704. +char buf[16];
  34705. +int main () {
  34706. + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl
  34707. + imitates locale dependent behaviour by looking at the environment
  34708. + variables, and all locales use the UTF-8 encoding. */
  34709. +#if !(defined __BEOS__ || defined __HAIKU__)
  34710. + /* Check whether the given locale name is recognized by the system. */
  34711. +# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  34712. + /* On native Win32, setlocale(category, "") looks at the system settings,
  34713. + not at the environment variables. Also, when an encoding suffix such
  34714. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  34715. + category of the locale to "C". */
  34716. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  34717. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  34718. + return 1;
  34719. +# else
  34720. + if (setlocale (LC_ALL, "") == NULL) return 1;
  34721. +# endif
  34722. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  34723. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  34724. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  34725. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  34726. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  34727. + some unit tests fail. */
  34728. +# if HAVE_LANGINFO_CODESET
  34729. + {
  34730. + const char *cs = nl_langinfo (CODESET);
  34731. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  34732. + return 1;
  34733. + }
  34734. +# endif
  34735. +# ifdef __CYGWIN__
  34736. + /* On Cygwin, avoid locale names without encoding suffix, because the
  34737. + locale_charset() function relies on the encoding suffix. Note that
  34738. + LC_ALL is set on the command line. */
  34739. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  34740. +# endif
  34741. + /* Check whether in the abbreviation of the second month, the second
  34742. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
  34743. + two bytes long, with UTF-8 encoding. */
  34744. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  34745. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  34746. + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
  34747. + return 1;
  34748. +#endif
  34749. + /* Check whether the decimal separator is a comma.
  34750. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  34751. + are nl_langinfo(RADIXCHAR) are both ".". */
  34752. + if (localeconv () ->decimal_point[0] != ',') return 1;
  34753. + return 0;
  34754. +}
  34755. +
  34756. +_ACEOF
  34757. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  34758. + (eval $ac_link) 2>&5
  34759. + ac_status=$?
  34760. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  34761. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  34762. + case "$host_os" in
  34763. + # Handle native Windows specially, because there setlocale() interprets
  34764. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  34765. + # "fr" or "fra" as "French" or "French_France.1252",
  34766. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  34767. + # "ja" as "Japanese" or "Japanese_Japan.932",
  34768. + # and similar.
  34769. + mingw*)
  34770. + # Test for the hypothetical native Win32 locale name.
  34771. + if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34772. + gt_cv_locale_fr_utf8=French_France.65001
  34773. + else
  34774. + # None found.
  34775. + gt_cv_locale_fr_utf8=none
  34776. + fi
  34777. + ;;
  34778. + *)
  34779. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  34780. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  34781. + # configure script would override the LC_ALL setting. Likewise for
  34782. + # LC_CTYPE, which is also set at the beginning of the configure script.
  34783. + # Test for the usual locale name.
  34784. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34785. + gt_cv_locale_fr_utf8=fr_FR
  34786. + else
  34787. + # Test for the locale name with explicit encoding suffix.
  34788. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34789. + gt_cv_locale_fr_utf8=fr_FR.UTF-8
  34790. + else
  34791. + # Test for the Solaris 7 locale name.
  34792. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34793. + gt_cv_locale_fr_utf8=fr.UTF-8
  34794. + else
  34795. + # None found.
  34796. + gt_cv_locale_fr_utf8=none
  34797. + fi
  34798. + fi
  34799. + fi
  34800. + ;;
  34801. + esac
  34802. + fi
  34803. + rm -fr conftest*
  34804. +
  34805. +fi
  34806. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
  34807. +$as_echo "$gt_cv_locale_fr_utf8" >&6; }
  34808. + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
  34809. +
  34810. +
  34811. +
  34812. +
  34813. +
  34814. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
  34815. +$as_echo_n "checking for a traditional japanese locale... " >&6; }
  34816. +if ${gt_cv_locale_ja+:} false; then :
  34817. + $as_echo_n "(cached) " >&6
  34818. +else
  34819. +
  34820. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34821. +/* end confdefs.h. */
  34822. +
  34823. +#include <locale.h>
  34824. +#include <time.h>
  34825. +#if HAVE_LANGINFO_CODESET
  34826. +# include <langinfo.h>
  34827. +#endif
  34828. +#include <stdlib.h>
  34829. +#include <string.h>
  34830. +struct tm t;
  34831. +char buf[16];
  34832. +int main ()
  34833. +{
  34834. + const char *p;
  34835. + /* Check whether the given locale name is recognized by the system. */
  34836. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  34837. + /* On native Win32, setlocale(category, "") looks at the system settings,
  34838. + not at the environment variables. Also, when an encoding suffix such
  34839. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  34840. + category of the locale to "C". */
  34841. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  34842. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  34843. + return 1;
  34844. +#else
  34845. + if (setlocale (LC_ALL, "") == NULL) return 1;
  34846. +#endif
  34847. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  34848. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  34849. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  34850. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  34851. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  34852. + some unit tests fail.
  34853. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  34854. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  34855. +#if HAVE_LANGINFO_CODESET
  34856. + {
  34857. + const char *cs = nl_langinfo (CODESET);
  34858. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  34859. + || strcmp (cs, "UTF-8") == 0)
  34860. + return 1;
  34861. + }
  34862. +#endif
  34863. +#ifdef __CYGWIN__
  34864. + /* On Cygwin, avoid locale names without encoding suffix, because the
  34865. + locale_charset() function relies on the encoding suffix. Note that
  34866. + LC_ALL is set on the command line. */
  34867. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  34868. +#endif
  34869. + /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales
  34870. + on Cygwin 1.5.x. */
  34871. + if (MB_CUR_MAX == 1)
  34872. + return 1;
  34873. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  34874. + This excludes the UTF-8 encoding (except on MirBSD). */
  34875. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  34876. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  34877. + for (p = buf; *p != '\0'; p++)
  34878. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  34879. + return 1;
  34880. + return 0;
  34881. +}
  34882. +
  34883. +_ACEOF
  34884. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  34885. + (eval $ac_link) 2>&5
  34886. + ac_status=$?
  34887. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  34888. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  34889. + case "$host_os" in
  34890. + # Handle native Windows specially, because there setlocale() interprets
  34891. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  34892. + # "fr" or "fra" as "French" or "French_France.1252",
  34893. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  34894. + # "ja" as "Japanese" or "Japanese_Japan.932",
  34895. + # and similar.
  34896. + mingw*)
  34897. + # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
  34898. + # and CP932 is very different from EUC-JP, so we cannot use it here.
  34899. + gt_cv_locale_ja=none
  34900. + ;;
  34901. + *)
  34902. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  34903. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  34904. + # configure script would override the LC_ALL setting. Likewise for
  34905. + # LC_CTYPE, which is also set at the beginning of the configure script.
  34906. + # Test for the AIX locale name.
  34907. + if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34908. + gt_cv_locale_ja=ja_JP
  34909. + else
  34910. + # Test for the locale name with explicit encoding suffix.
  34911. + if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34912. + gt_cv_locale_ja=ja_JP.EUC-JP
  34913. + else
  34914. + # Test for the HP-UX, OSF/1, NetBSD locale name.
  34915. + if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34916. + gt_cv_locale_ja=ja_JP.eucJP
  34917. + else
  34918. + # Test for the IRIX, FreeBSD locale name.
  34919. + if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34920. + gt_cv_locale_ja=ja_JP.EUC
  34921. + else
  34922. + # Test for the Solaris 7 locale name.
  34923. + if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  34924. + gt_cv_locale_ja=ja
  34925. + else
  34926. + # Special test for NetBSD 1.6.
  34927. + if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
  34928. + gt_cv_locale_ja=ja_JP.eucJP
  34929. + else
  34930. + # None found.
  34931. + gt_cv_locale_ja=none
  34932. + fi
  34933. + fi
  34934. + fi
  34935. + fi
  34936. + fi
  34937. + fi
  34938. + ;;
  34939. + esac
  34940. + fi
  34941. + rm -fr conftest*
  34942. +
  34943. +fi
  34944. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
  34945. +$as_echo "$gt_cv_locale_ja" >&6; }
  34946. + LOCALE_JA=$gt_cv_locale_ja
  34947. +
  34948. +
  34949. +
  34950. +
  34951. +
  34952. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
  34953. +$as_echo_n "checking for a transitional chinese locale... " >&6; }
  34954. +if ${gt_cv_locale_zh_CN+:} false; then :
  34955. + $as_echo_n "(cached) " >&6
  34956. +else
  34957. +
  34958. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34959. +/* end confdefs.h. */
  34960. +
  34961. +#include <locale.h>
  34962. +#include <stdlib.h>
  34963. +#include <time.h>
  34964. +#if HAVE_LANGINFO_CODESET
  34965. +# include <langinfo.h>
  34966. +#endif
  34967. +#include <stdlib.h>
  34968. +#include <string.h>
  34969. +struct tm t;
  34970. +char buf[16];
  34971. +int main ()
  34972. +{
  34973. + const char *p;
  34974. + /* Check whether the given locale name is recognized by the system. */
  34975. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  34976. + /* On native Win32, setlocale(category, "") looks at the system settings,
  34977. + not at the environment variables. Also, when an encoding suffix such
  34978. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  34979. + category of the locale to "C". */
  34980. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  34981. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  34982. + return 1;
  34983. +#else
  34984. + if (setlocale (LC_ALL, "") == NULL) return 1;
  34985. +#endif
  34986. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  34987. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  34988. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  34989. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  34990. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  34991. + some unit tests fail.
  34992. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  34993. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  34994. +#if HAVE_LANGINFO_CODESET
  34995. + {
  34996. + const char *cs = nl_langinfo (CODESET);
  34997. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  34998. + || strcmp (cs, "UTF-8") == 0)
  34999. + return 1;
  35000. + }
  35001. +#endif
  35002. +#ifdef __CYGWIN__
  35003. + /* On Cygwin, avoid locale names without encoding suffix, because the
  35004. + locale_charset() function relies on the encoding suffix. Note that
  35005. + LC_ALL is set on the command line. */
  35006. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  35007. +#endif
  35008. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  35009. + This excludes the UTF-8 encoding (except on MirBSD). */
  35010. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  35011. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  35012. + for (p = buf; *p != '\0'; p++)
  35013. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  35014. + return 1;
  35015. + /* Check whether a typical GB18030 multibyte sequence is recognized as a
  35016. + single wide character. This excludes the GB2312 and GBK encodings. */
  35017. + if (mblen ("\203\062\332\066", 5) != 4)
  35018. + return 1;
  35019. + return 0;
  35020. +}
  35021. +
  35022. +_ACEOF
  35023. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  35024. + (eval $ac_link) 2>&5
  35025. + ac_status=$?
  35026. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  35027. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  35028. + case "$host_os" in
  35029. + # Handle native Windows specially, because there setlocale() interprets
  35030. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  35031. + # "fr" or "fra" as "French" or "French_France.1252",
  35032. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  35033. + # "ja" as "Japanese" or "Japanese_Japan.932",
  35034. + # and similar.
  35035. + mingw*)
  35036. + # Test for the hypothetical native Win32 locale name.
  35037. + if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  35038. + gt_cv_locale_zh_CN=Chinese_China.54936
  35039. + else
  35040. + # None found.
  35041. + gt_cv_locale_zh_CN=none
  35042. + fi
  35043. + ;;
  35044. + *)
  35045. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  35046. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  35047. + # configure script would override the LC_ALL setting. Likewise for
  35048. + # LC_CTYPE, which is also set at the beginning of the configure script.
  35049. + # Test for the locale name without encoding suffix.
  35050. + if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  35051. + gt_cv_locale_zh_CN=zh_CN
  35052. + else
  35053. + # Test for the locale name with explicit encoding suffix.
  35054. + if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  35055. + gt_cv_locale_zh_CN=zh_CN.GB18030
  35056. + else
  35057. + # None found.
  35058. + gt_cv_locale_zh_CN=none
  35059. + fi
  35060. + fi
  35061. + ;;
  35062. + esac
  35063. + else
  35064. + # If there was a link error, due to mblen(), the system is so old that
  35065. + # it certainly doesn't have a chinese locale.
  35066. + gt_cv_locale_zh_CN=none
  35067. + fi
  35068. + rm -fr conftest*
  35069. +
  35070. +fi
  35071. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
  35072. +$as_echo "$gt_cv_locale_zh_CN" >&6; }
  35073. + LOCALE_ZH_CN=$gt_cv_locale_zh_CN
  35074. +
  35075. +
  35076. +
  35077. +
  35078. +
  35079. +
  35080. + if test $ac_cv_func_wctob = no; then
  35081. + HAVE_DECL_WCTOB=0
  35082. +
  35083. + :
  35084. +
  35085. +
  35086. +
  35087. +
  35088. +
  35089. +
  35090. +
  35091. +
  35092. +
  35093. + M4tests_LIBOBJS="$M4tests_LIBOBJS wctob.$ac_objext"
  35094. +
  35095. +
  35096. + :
  35097. +
  35098. + else
  35099. +
  35100. +
  35101. +
  35102. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wctob works" >&5
  35103. +$as_echo_n "checking whether wctob works... " >&6; }
  35104. +if ${gl_cv_func_wctob_works+:} false; then :
  35105. + $as_echo_n "(cached) " >&6
  35106. +else
  35107. +
  35108. + case "$host_os" in
  35109. + # Guess no on Solaris <= 9 and Cygwin.
  35110. + solaris2.[1-9] | solaris2.[1-9].* | cygwin*)
  35111. + gl_cv_func_wctob_works="guessing no" ;;
  35112. + # Guess yes otherwise.
  35113. + *) gl_cv_func_wctob_works="guessing yes" ;;
  35114. + esac
  35115. + case "$host_os" in
  35116. + cygwin*)
  35117. + if test "$cross_compiling" = yes; then :
  35118. + :
  35119. +else
  35120. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  35121. +/* end confdefs.h. */
  35122. +
  35123. +#include <locale.h>
  35124. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  35125. + <wchar.h>.
  35126. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  35127. + included before <wchar.h>. */
  35128. +#include <stddef.h>
  35129. +#include <stdio.h>
  35130. +#include <time.h>
  35131. +#include <wchar.h>
  35132. +
  35133. +register long global __asm__ ("%ebx");
  35134. +
  35135. +int main ()
  35136. +{
  35137. + setlocale (LC_ALL, "en_US.UTF-8");
  35138. +
  35139. + global = 0x12345678;
  35140. + if (wctob (0x00FC) != -1)
  35141. + return 1;
  35142. + if (global != 0x12345678)
  35143. + return 2;
  35144. + return 0;
  35145. +}
  35146. +_ACEOF
  35147. +if ac_fn_c_try_run "$LINENO"; then :
  35148. + :
  35149. +else
  35150. + gl_cv_func_wctob_works=no
  35151. +fi
  35152. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  35153. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  35154. +fi
  35155. +
  35156. + ;;
  35157. + esac
  35158. + if test "$gl_cv_func_wctob_works" != no && test $LOCALE_FR != none; then
  35159. + if test "$cross_compiling" = yes; then :
  35160. + :
  35161. +else
  35162. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  35163. +/* end confdefs.h. */
  35164. +
  35165. +#include <locale.h>
  35166. +#include <string.h>
  35167. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  35168. + <wchar.h>.
  35169. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  35170. + included before <wchar.h>. */
  35171. +#include <stddef.h>
  35172. +#include <stdio.h>
  35173. +#include <time.h>
  35174. +#include <wchar.h>
  35175. +int main ()
  35176. +{
  35177. + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
  35178. + {
  35179. + wchar_t wc;
  35180. +
  35181. + if (mbtowc (&wc, "\374", 1) == 1)
  35182. + if (wctob (wc) != (unsigned char) '\374')
  35183. + return 1;
  35184. + }
  35185. + return 0;
  35186. +}
  35187. +_ACEOF
  35188. +if ac_fn_c_try_run "$LINENO"; then :
  35189. + gl_cv_func_wctob_works=yes
  35190. +else
  35191. + gl_cv_func_wctob_works=no
  35192. +fi
  35193. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  35194. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  35195. +fi
  35196. +
  35197. + fi
  35198. +
  35199. +fi
  35200. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wctob_works" >&5
  35201. +$as_echo "$gl_cv_func_wctob_works" >&6; }
  35202. + case "$gl_cv_func_wctob_works" in
  35203. + *yes) ;;
  35204. + *) REPLACE_WCTOB=1 ;;
  35205. + esac
  35206. + if test $REPLACE_WCTOB = 1; then
  35207. +
  35208. + :
  35209. +
  35210. +
  35211. +
  35212. +
  35213. +
  35214. +
  35215. +
  35216. +
  35217. +
  35218. + M4tests_LIBOBJS="$M4tests_LIBOBJS wctob.$ac_objext"
  35219. +
  35220. +
  35221. + :
  35222. +
  35223. + else
  35224. +
  35225. + ac_fn_c_check_decl "$LINENO" "wctob" "ac_cv_have_decl_wctob" "
  35226. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  35227. + <wchar.h>.
  35228. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
  35229. + before <wchar.h>. */
  35230. +#include <stddef.h>
  35231. +#include <stdio.h>
  35232. +#include <time.h>
  35233. +#include <wchar.h>
  35234. +
  35235. +"
  35236. +if test "x$ac_cv_have_decl_wctob" = xyes; then :
  35237. + ac_have_decl=1
  35238. +else
  35239. + ac_have_decl=0
  35240. +fi
  35241. +
  35242. +cat >>confdefs.h <<_ACEOF
  35243. +@%:@define HAVE_DECL_WCTOB $ac_have_decl
  35244. +_ACEOF
  35245. +
  35246. + if test $ac_cv_have_decl_wctob != yes; then
  35247. + HAVE_DECL_WCTOB=0
  35248. +
  35249. + :
  35250. +
  35251. + fi
  35252. + fi
  35253. + fi
  35254. +
  35255. +
  35256. +
  35257. +
  35258. + GNULIB_WCTOB=$gl_module_indicator_condition
  35259. +
  35260. +
  35261. +
  35262. +$as_echo "@%:@define GNULIB_TEST_WCTOB 1" >>confdefs.h
  35263. +
  35264. +
  35265. +
  35266. +
  35267. +
  35268. +
  35269. + if false; then
  35270. + REPLACE_WCTOMB=1
  35271. + fi
  35272. + if test $REPLACE_WCTOMB = 1; then
  35273. +
  35274. +
  35275. +
  35276. +
  35277. +
  35278. +
  35279. +
  35280. +
  35281. + M4tests_LIBOBJS="$M4tests_LIBOBJS wctomb.$ac_objext"
  35282. +
  35283. +
  35284. + :
  35285. +
  35286. + fi
  35287. +
  35288. +
  35289. +
  35290. +
  35291. + GNULIB_WCTOMB=$gl_module_indicator_condition
  35292. +
  35293. +
  35294. +
  35295. +$as_echo "@%:@define GNULIB_TEST_WCTOMB 1" >>confdefs.h
  35296. +
  35297. +
  35298. +
  35299. +
  35300. +
  35301. +
  35302. +
  35303. +
  35304. +
  35305. +
  35306. +
  35307. +
  35308. +
  35309. + LIBM4_LIBDEPS="$gl_libdeps"
  35310. +
  35311. + LIBM4_LTLIBDEPS="$gl_ltlibdeps"
  35312. +
  35313. + LIBTESTS_LIBDEPS="$gltests_libdeps"
  35314. +
  35315. +
  35316. +
  35317. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether an open file can be renamed" >&5
  35318. +$as_echo_n "checking whether an open file can be renamed... " >&6; }
  35319. +if ${M4_cv_func_rename_open_file_works+:} false; then :
  35320. + $as_echo_n "(cached) " >&6
  35321. +else
  35322. + if test "$cross_compiling" = yes; then :
  35323. + M4_cv_func_rename_open_file_works='guessing no'
  35324. +else
  35325. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  35326. +/* end confdefs.h. */
  35327. +$ac_includes_default
  35328. +int
  35329. +main ()
  35330. +{
  35331. +FILE *f = fopen ("conftest.1", "w+");
  35332. + int result = rename ("conftest.1", "conftest.2");
  35333. + fclose (f); remove ("conftest.1"); remove ("conftest.2");
  35334. + return result;
  35335. + ;
  35336. + return 0;
  35337. +}
  35338. +_ACEOF
  35339. +if ac_fn_c_try_run "$LINENO"; then :
  35340. + M4_cv_func_rename_open_file_works=yes
  35341. +else
  35342. + M4_cv_func_rename_open_file_works=no
  35343. +fi
  35344. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  35345. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  35346. +fi
  35347. +
  35348. +fi
  35349. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4_cv_func_rename_open_file_works" >&5
  35350. +$as_echo "$M4_cv_func_rename_open_file_works" >&6; }
  35351. +if test "$M4_cv_func_rename_open_file_works" = yes ; then
  35352. + M4_rename_open_works=1
  35353. +else
  35354. + M4_rename_open_works=0
  35355. +fi
  35356. +
  35357. +cat >>confdefs.h <<_ACEOF
  35358. +@%:@define RENAME_OPEN_FILE_WORKS $M4_rename_open_works
  35359. +_ACEOF
  35360. +
  35361. +
  35362. +
  35363. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if changeword is wanted" >&5
  35364. +$as_echo_n "checking if changeword is wanted... " >&6; }
  35365. +@%:@ Check whether --enable-changeword was given.
  35366. +if test "${enable_changeword+set}" = set; then :
  35367. + enableval=$enable_changeword; if test "$enableval" = yes; then
  35368. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  35369. +$as_echo "yes" >&6; }
  35370. +
  35371. +$as_echo "@%:@define ENABLE_CHANGEWORD 1" >>confdefs.h
  35372. +
  35373. + else
  35374. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  35375. +$as_echo "no" >&6; }
  35376. + fi
  35377. +else
  35378. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  35379. +$as_echo "no" >&6; }
  35380. +fi
  35381. +
  35382. +
  35383. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which shell to use for syscmd" >&5
  35384. +$as_echo_n "checking which shell to use for syscmd... " >&6; }
  35385. +
  35386. +@%:@ Check whether --with-syscmd-shell was given.
  35387. +if test "${with_syscmd_shell+set}" = set; then :
  35388. + withval=$with_syscmd_shell; case $withval in
  35389. + yes) with_syscmd_shell=no;;
  35390. + esac
  35391. +else
  35392. + with_syscmd_shell=no
  35393. +fi
  35394. +
  35395. +if test "$with_syscmd_shell" = no ; then
  35396. + with_syscmd_shell=/bin/sh
  35397. + if test "$cross_compiling" != yes ; then
  35398. + if as_fn_executable_p /bin/sh; then :
  35399. +
  35400. +else
  35401. + if (cmd /c) 2>/dev/null; then with_syscmd_shell=cmd; fi
  35402. +fi
  35403. + M4_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  35404. + for M4_dir in `if (command -p getconf PATH) 2>/dev/null ; then
  35405. + command -p getconf PATH
  35406. + else
  35407. + echo "/bin$PATH_SEPARATOR$PATH"
  35408. + fi`
  35409. + do
  35410. + IFS=$M4_save_IFS
  35411. + test -z "$M4_dir" && continue
  35412. + as_fn_executable_p "$M4_dir/sh" \
  35413. + && { with_syscmd_shell=$M4_dir/sh; break; }
  35414. + done
  35415. + IFS=$M4_save_IFS
  35416. + fi
  35417. +fi
  35418. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_syscmd_shell" >&5
  35419. +$as_echo "$with_syscmd_shell" >&6; }
  35420. +
  35421. +cat >>confdefs.h <<_ACEOF
  35422. +@%:@define SYSCMD_SHELL "$with_syscmd_shell"
  35423. +_ACEOF
  35424. +
  35425. +
  35426. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
  35427. +$as_echo_n "checking if malloc debugging is wanted... " >&6; }
  35428. +
  35429. +@%:@ Check whether --with-dmalloc was given.
  35430. +if test "${with_dmalloc+set}" = set; then :
  35431. + withval=$with_dmalloc; if test "$withval" = yes; then
  35432. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  35433. +$as_echo "yes" >&6; }
  35434. +
  35435. +$as_echo "@%:@define WITH_DMALLOC 1" >>confdefs.h
  35436. +
  35437. + LIBS="$LIBS -ldmalloc"
  35438. + LDFLAGS="$LDFLAGS -g"
  35439. +else
  35440. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  35441. +$as_echo "no" >&6; }
  35442. +fi
  35443. +else
  35444. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  35445. +$as_echo "no" >&6; }
  35446. +fi
  35447. +
  35448. +
  35449. +ac_config_commands="$ac_config_commands stamp-h"
  35450. +
  35451. +
  35452. +ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile src/Makefile tests/Makefile checks/Makefile examples/Makefile"
  35453. +
  35454. +
  35455. +cat >confcache <<\_ACEOF
  35456. +# This file is a shell script that caches the results of configure
  35457. +# tests run on this system so they can be shared between configure
  35458. +# scripts and configure runs, see configure's option --config-cache.
  35459. +# It is not useful on other systems. If it contains results you don't
  35460. +# want to keep, you may remove or edit it.
  35461. +#
  35462. +# config.status only pays attention to the cache file if you give it
  35463. +# the --recheck option to rerun configure.
  35464. +#
  35465. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  35466. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  35467. +# following values.
  35468. +
  35469. +_ACEOF
  35470. +
  35471. +# The following way of writing the cache mishandles newlines in values,
  35472. +# but we know of no workaround that is simple, portable, and efficient.
  35473. +# So, we kill variables containing newlines.
  35474. +# Ultrix sh set writes to stderr and can't be redirected directly,
  35475. +# and sets the high bit in the cache file unless we assign to the vars.
  35476. +(
  35477. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  35478. + eval ac_val=\$$ac_var
  35479. + case $ac_val in #(
  35480. + *${as_nl}*)
  35481. + case $ac_var in #(
  35482. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  35483. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  35484. + esac
  35485. + case $ac_var in #(
  35486. + _ | IFS | as_nl) ;; #(
  35487. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  35488. + *) { eval $ac_var=; unset $ac_var;} ;;
  35489. + esac ;;
  35490. + esac
  35491. + done
  35492. +
  35493. + (set) 2>&1 |
  35494. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  35495. + *${as_nl}ac_space=\ *)
  35496. + # `set' does not quote correctly, so add quotes: double-quote
  35497. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  35498. + sed -n \
  35499. + "s/'/'\\\\''/g;
  35500. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  35501. + ;; #(
  35502. + *)
  35503. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  35504. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  35505. + ;;
  35506. + esac |
  35507. + sort
  35508. +) |
  35509. + sed '
  35510. + /^ac_cv_env_/b end
  35511. + t clear
  35512. + :clear
  35513. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  35514. + t end
  35515. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  35516. + :end' >>confcache
  35517. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  35518. + if test -w "$cache_file"; then
  35519. + if test "x$cache_file" != "x/dev/null"; then
  35520. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  35521. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  35522. + if test ! -f "$cache_file" || test -h "$cache_file"; then
  35523. + cat confcache >"$cache_file"
  35524. + else
  35525. + case $cache_file in #(
  35526. + */* | ?:*)
  35527. + mv -f confcache "$cache_file"$$ &&
  35528. + mv -f "$cache_file"$$ "$cache_file" ;; #(
  35529. + *)
  35530. + mv -f confcache "$cache_file" ;;
  35531. + esac
  35532. + fi
  35533. + fi
  35534. + else
  35535. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  35536. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  35537. + fi
  35538. +fi
  35539. +rm -f confcache
  35540. +
  35541. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  35542. +# Let make expand exec_prefix.
  35543. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  35544. +
  35545. +DEFS=-DHAVE_CONFIG_H
  35546. +
  35547. +ac_libobjs=
  35548. +ac_ltlibobjs=
  35549. +U=
  35550. +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
  35551. + # 1. Remove the extension, and $U if already installed.
  35552. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  35553. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  35554. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  35555. + # will be set to the directory where LIBOBJS objects are built.
  35556. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  35557. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  35558. +done
  35559. +LIB@&t@OBJS=$ac_libobjs
  35560. +
  35561. +LTLIBOBJS=$ac_ltlibobjs
  35562. +
  35563. +
  35564. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  35565. +$as_echo_n "checking that generated files are newer than configure... " >&6; }
  35566. + if test -n "$am_sleep_pid"; then
  35567. + # Hide warnings about reused PIDs.
  35568. + wait $am_sleep_pid 2>/dev/null
  35569. + fi
  35570. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  35571. +$as_echo "done" >&6; }
  35572. + if test -n "$EXEEXT"; then
  35573. + am__EXEEXT_TRUE=
  35574. + am__EXEEXT_FALSE='#'
  35575. +else
  35576. + am__EXEEXT_TRUE='#'
  35577. + am__EXEEXT_FALSE=
  35578. +fi
  35579. +
  35580. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  35581. + as_fn_error $? "conditional \"AMDEP\" was never defined.
  35582. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35583. +fi
  35584. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  35585. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  35586. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35587. +fi
  35588. +if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
  35589. + as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined.
  35590. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35591. +fi
  35592. +test "X$DEFS" = X-DHAVE_CONFIG_H && DEFS=
  35593. +
  35594. +
  35595. +CONFIG_INCLUDE=lib/config.h
  35596. +
  35597. +
  35598. + M4_libobjs=
  35599. + M4_ltlibobjs=
  35600. + if test -n "$M4_LIBOBJS"; then
  35601. + # Remove the extension.
  35602. + sed_drop_objext='s/\.o$//;s/\.obj$//'
  35603. + for i in `for i in $M4_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
  35604. + M4_libobjs="$M4_libobjs $i.$ac_objext"
  35605. + M4_ltlibobjs="$M4_ltlibobjs $i.lo"
  35606. + done
  35607. + fi
  35608. + M4_LIBOBJS=$M4_libobjs
  35609. +
  35610. + M4_LTLIBOBJS=$M4_ltlibobjs
  35611. +
  35612. +
  35613. +if test -z "${ANSICXX_TRUE}" && test -z "${ANSICXX_FALSE}"; then
  35614. + as_fn_error $? "conditional \"ANSICXX\" was never defined.
  35615. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35616. +fi
  35617. +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  35618. + as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
  35619. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35620. +fi
  35621. +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  35622. + as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
  35623. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35624. +fi
  35625. +
  35626. +if test -z "${POSIX_SPAWN_PORTED_TRUE}" && test -z "${POSIX_SPAWN_PORTED_FALSE}"; then
  35627. + as_fn_error $? "conditional \"POSIX_SPAWN_PORTED\" was never defined.
  35628. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  35629. +fi
  35630. +
  35631. + M4tests_libobjs=
  35632. + M4tests_ltlibobjs=
  35633. + if test -n "$M4tests_LIBOBJS"; then
  35634. + # Remove the extension.
  35635. + sed_drop_objext='s/\.o$//;s/\.obj$//'
  35636. + for i in `for i in $M4tests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
  35637. + M4tests_libobjs="$M4tests_libobjs $i.$ac_objext"
  35638. + M4tests_ltlibobjs="$M4tests_ltlibobjs $i.lo"
  35639. + done
  35640. + fi
  35641. + M4tests_LIBOBJS=$M4tests_libobjs
  35642. +
  35643. + M4tests_LTLIBOBJS=$M4tests_ltlibobjs
  35644. +
  35645. +
  35646. +
  35647. +: "${CONFIG_STATUS=./config.status}"
  35648. +ac_write_fail=0
  35649. +ac_clean_files_save=$ac_clean_files
  35650. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  35651. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  35652. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  35653. +as_write_fail=0
  35654. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  35655. +#! $SHELL
  35656. +# Generated by $as_me.
  35657. +# Run this file to recreate the current configuration.
  35658. +# Compiler output produced by configure, useful for debugging
  35659. +# configure, is in config.log if it exists.
  35660. +
  35661. +debug=false
  35662. +ac_cs_recheck=false
  35663. +ac_cs_silent=false
  35664. +
  35665. +SHELL=\${CONFIG_SHELL-$SHELL}
  35666. +export SHELL
  35667. +_ASEOF
  35668. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  35669. +## -------------------- ##
  35670. +## M4sh Initialization. ##
  35671. +## -------------------- ##
  35672. +
  35673. +# Be more Bourne compatible
  35674. +DUALCASE=1; export DUALCASE # for MKS sh
  35675. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  35676. + emulate sh
  35677. + NULLCMD=:
  35678. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  35679. + # is contrary to our usage. Disable this feature.
  35680. + alias -g '${1+"$@"}'='"$@"'
  35681. + setopt NO_GLOB_SUBST
  35682. +else
  35683. + case `(set -o) 2>/dev/null` in @%:@(
  35684. + *posix*) :
  35685. + set -o posix ;; @%:@(
  35686. + *) :
  35687. + ;;
  35688. +esac
  35689. +fi
  35690. +
  35691. +
  35692. +as_nl='
  35693. +'
  35694. +export as_nl
  35695. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  35696. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  35697. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  35698. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  35699. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  35700. +# but without wasting forks for bash or zsh.
  35701. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  35702. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  35703. + as_echo='print -r --'
  35704. + as_echo_n='print -rn --'
  35705. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  35706. + as_echo='printf %s\n'
  35707. + as_echo_n='printf %s'
  35708. +else
  35709. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  35710. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  35711. + as_echo_n='/usr/ucb/echo -n'
  35712. + else
  35713. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  35714. + as_echo_n_body='eval
  35715. + arg=$1;
  35716. + case $arg in @%:@(
  35717. + *"$as_nl"*)
  35718. + expr "X$arg" : "X\\(.*\\)$as_nl";
  35719. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  35720. + esac;
  35721. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  35722. + '
  35723. + export as_echo_n_body
  35724. + as_echo_n='sh -c $as_echo_n_body as_echo'
  35725. + fi
  35726. + export as_echo_body
  35727. + as_echo='sh -c $as_echo_body as_echo'
  35728. +fi
  35729. +
  35730. +# The user is always right.
  35731. +if test "${PATH_SEPARATOR+set}" != set; then
  35732. + PATH_SEPARATOR=:
  35733. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  35734. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  35735. + PATH_SEPARATOR=';'
  35736. + }
  35737. +fi
  35738. +
  35739. +
  35740. +# IFS
  35741. +# We need space, tab and new line, in precisely that order. Quoting is
  35742. +# there to prevent editors from complaining about space-tab.
  35743. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  35744. +# splitting by setting IFS to empty value.)
  35745. +IFS=" "" $as_nl"
  35746. +
  35747. +# Find who we are. Look in the path if we contain no directory separator.
  35748. +as_myself=
  35749. +case $0 in @%:@((
  35750. + *[\\/]* ) as_myself=$0 ;;
  35751. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  35752. +for as_dir in $PATH
  35753. +do
  35754. + IFS=$as_save_IFS
  35755. + test -z "$as_dir" && as_dir=.
  35756. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  35757. + done
  35758. +IFS=$as_save_IFS
  35759. +
  35760. + ;;
  35761. +esac
  35762. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  35763. +# in which case we are not to be found in the path.
  35764. +if test "x$as_myself" = x; then
  35765. + as_myself=$0
  35766. +fi
  35767. +if test ! -f "$as_myself"; then
  35768. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  35769. + exit 1
  35770. +fi
  35771. +
  35772. +# Unset variables that we do not need and which cause bugs (e.g. in
  35773. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  35774. +# suppresses any "Segmentation fault" message there. '((' could
  35775. +# trigger a bug in pdksh 5.2.14.
  35776. +for as_var in BASH_ENV ENV MAIL MAILPATH
  35777. +do eval test x\${$as_var+set} = xset \
  35778. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  35779. +done
  35780. +PS1='$ '
  35781. +PS2='> '
  35782. +PS4='+ '
  35783. +
  35784. +# NLS nuisances.
  35785. +LC_ALL=C
  35786. +export LC_ALL
  35787. +LANGUAGE=C
  35788. +export LANGUAGE
  35789. +
  35790. +# CDPATH.
  35791. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  35792. +
  35793. +
  35794. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  35795. +@%:@ ----------------------------------------
  35796. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  35797. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  35798. +@%:@ script with STATUS, using 1 if that was 0.
  35799. +as_fn_error ()
  35800. +{
  35801. + as_status=$1; test $as_status -eq 0 && as_status=1
  35802. + if test "$4"; then
  35803. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  35804. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  35805. + fi
  35806. + $as_echo "$as_me: error: $2" >&2
  35807. + as_fn_exit $as_status
  35808. +} @%:@ as_fn_error
  35809. +
  35810. +
  35811. +@%:@ as_fn_set_status STATUS
  35812. +@%:@ -----------------------
  35813. +@%:@ Set @S|@? to STATUS, without forking.
  35814. +as_fn_set_status ()
  35815. +{
  35816. + return $1
  35817. +} @%:@ as_fn_set_status
  35818. +
  35819. +@%:@ as_fn_exit STATUS
  35820. +@%:@ -----------------
  35821. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  35822. +as_fn_exit ()
  35823. +{
  35824. + set +e
  35825. + as_fn_set_status $1
  35826. + exit $1
  35827. +} @%:@ as_fn_exit
  35828. +
  35829. +@%:@ as_fn_unset VAR
  35830. +@%:@ ---------------
  35831. +@%:@ Portably unset VAR.
  35832. +as_fn_unset ()
  35833. +{
  35834. + { eval $1=; unset $1;}
  35835. +}
  35836. +as_unset=as_fn_unset
  35837. +@%:@ as_fn_append VAR VALUE
  35838. +@%:@ ----------------------
  35839. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  35840. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  35841. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  35842. +@%:@ implementations.
  35843. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  35844. + eval 'as_fn_append ()
  35845. + {
  35846. + eval $1+=\$2
  35847. + }'
  35848. +else
  35849. + as_fn_append ()
  35850. + {
  35851. + eval $1=\$$1\$2
  35852. + }
  35853. +fi # as_fn_append
  35854. +
  35855. +@%:@ as_fn_arith ARG...
  35856. +@%:@ ------------------
  35857. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  35858. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  35859. +@%:@ must be portable across @S|@(()) and expr.
  35860. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  35861. + eval 'as_fn_arith ()
  35862. + {
  35863. + as_val=$(( $* ))
  35864. + }'
  35865. +else
  35866. + as_fn_arith ()
  35867. + {
  35868. + as_val=`expr "$@" || test $? -eq 1`
  35869. + }
  35870. +fi # as_fn_arith
  35871. +
  35872. +
  35873. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  35874. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  35875. + as_expr=expr
  35876. +else
  35877. + as_expr=false
  35878. +fi
  35879. +
  35880. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  35881. + as_basename=basename
  35882. +else
  35883. + as_basename=false
  35884. +fi
  35885. +
  35886. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  35887. + as_dirname=dirname
  35888. +else
  35889. + as_dirname=false
  35890. +fi
  35891. +
  35892. +as_me=`$as_basename -- "$0" ||
  35893. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  35894. + X"$0" : 'X\(//\)$' \| \
  35895. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  35896. +$as_echo X/"$0" |
  35897. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  35898. + s//\1/
  35899. + q
  35900. + }
  35901. + /^X\/\(\/\/\)$/{
  35902. + s//\1/
  35903. + q
  35904. + }
  35905. + /^X\/\(\/\).*/{
  35906. + s//\1/
  35907. + q
  35908. + }
  35909. + s/.*/./; q'`
  35910. +
  35911. +# Avoid depending upon Character Ranges.
  35912. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  35913. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  35914. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  35915. +as_cr_digits='0123456789'
  35916. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  35917. +
  35918. +ECHO_C= ECHO_N= ECHO_T=
  35919. +case `echo -n x` in @%:@(((((
  35920. +-n*)
  35921. + case `echo 'xy\c'` in
  35922. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  35923. + xy) ECHO_C='\c';;
  35924. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  35925. + ECHO_T=' ';;
  35926. + esac;;
  35927. +*)
  35928. + ECHO_N='-n';;
  35929. +esac
  35930. +
  35931. +rm -f conf$$ conf$$.exe conf$$.file
  35932. +if test -d conf$$.dir; then
  35933. + rm -f conf$$.dir/conf$$.file
  35934. +else
  35935. + rm -f conf$$.dir
  35936. + mkdir conf$$.dir 2>/dev/null
  35937. +fi
  35938. +if (echo >conf$$.file) 2>/dev/null; then
  35939. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  35940. + as_ln_s='ln -s'
  35941. + # ... but there are two gotchas:
  35942. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  35943. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  35944. + # In both cases, we have to default to `cp -pR'.
  35945. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  35946. + as_ln_s='cp -pR'
  35947. + elif ln conf$$.file conf$$ 2>/dev/null; then
  35948. + as_ln_s=ln
  35949. + else
  35950. + as_ln_s='cp -pR'
  35951. + fi
  35952. +else
  35953. + as_ln_s='cp -pR'
  35954. +fi
  35955. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  35956. +rmdir conf$$.dir 2>/dev/null
  35957. +
  35958. +
  35959. +@%:@ as_fn_mkdir_p
  35960. +@%:@ -------------
  35961. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  35962. +as_fn_mkdir_p ()
  35963. +{
  35964. +
  35965. + case $as_dir in #(
  35966. + -*) as_dir=./$as_dir;;
  35967. + esac
  35968. + test -d "$as_dir" || eval $as_mkdir_p || {
  35969. + as_dirs=
  35970. + while :; do
  35971. + case $as_dir in #(
  35972. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  35973. + *) as_qdir=$as_dir;;
  35974. + esac
  35975. + as_dirs="'$as_qdir' $as_dirs"
  35976. + as_dir=`$as_dirname -- "$as_dir" ||
  35977. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  35978. + X"$as_dir" : 'X\(//\)[^/]' \| \
  35979. + X"$as_dir" : 'X\(//\)$' \| \
  35980. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  35981. +$as_echo X"$as_dir" |
  35982. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  35983. + s//\1/
  35984. + q
  35985. + }
  35986. + /^X\(\/\/\)[^/].*/{
  35987. + s//\1/
  35988. + q
  35989. + }
  35990. + /^X\(\/\/\)$/{
  35991. + s//\1/
  35992. + q
  35993. + }
  35994. + /^X\(\/\).*/{
  35995. + s//\1/
  35996. + q
  35997. + }
  35998. + s/.*/./; q'`
  35999. + test -d "$as_dir" && break
  36000. + done
  36001. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  36002. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  36003. +
  36004. +
  36005. +} @%:@ as_fn_mkdir_p
  36006. +if mkdir -p . 2>/dev/null; then
  36007. + as_mkdir_p='mkdir -p "$as_dir"'
  36008. +else
  36009. + test -d ./-p && rmdir ./-p
  36010. + as_mkdir_p=false
  36011. +fi
  36012. +
  36013. +
  36014. +@%:@ as_fn_executable_p FILE
  36015. +@%:@ -----------------------
  36016. +@%:@ Test if FILE is an executable regular file.
  36017. +as_fn_executable_p ()
  36018. +{
  36019. + test -f "$1" && test -x "$1"
  36020. +} @%:@ as_fn_executable_p
  36021. +as_test_x='test -x'
  36022. +as_executable_p=as_fn_executable_p
  36023. +
  36024. +# Sed expression to map a string onto a valid CPP name.
  36025. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  36026. +
  36027. +# Sed expression to map a string onto a valid variable name.
  36028. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  36029. +
  36030. +
  36031. +exec 6>&1
  36032. +## ----------------------------------- ##
  36033. +## Main body of $CONFIG_STATUS script. ##
  36034. +## ----------------------------------- ##
  36035. +_ASEOF
  36036. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  36037. +
  36038. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  36039. +# Save the log message, to keep $0 and so on meaningful, and to
  36040. +# report actual input values of CONFIG_FILES etc. instead of their
  36041. +# values after options handling.
  36042. +ac_log="
  36043. +This file was extended by GNU M4 $as_me 1.4.16, which was
  36044. +generated by GNU Autoconf 2.69. Invocation command line was
  36045. +
  36046. + CONFIG_FILES = $CONFIG_FILES
  36047. + CONFIG_HEADERS = $CONFIG_HEADERS
  36048. + CONFIG_LINKS = $CONFIG_LINKS
  36049. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  36050. + $ $0 $@
  36051. +
  36052. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  36053. +"
  36054. +
  36055. +_ACEOF
  36056. +
  36057. +case $ac_config_files in *"
  36058. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  36059. +esac
  36060. +
  36061. +case $ac_config_headers in *"
  36062. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  36063. +esac
  36064. +
  36065. +
  36066. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  36067. +# Files that config.status was made for.
  36068. +config_files="$ac_config_files"
  36069. +config_headers="$ac_config_headers"
  36070. +config_links="$ac_config_links"
  36071. +config_commands="$ac_config_commands"
  36072. +
  36073. +_ACEOF
  36074. +
  36075. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  36076. +ac_cs_usage="\
  36077. +\`$as_me' instantiates files and other configuration actions
  36078. +from templates according to the current configuration. Unless the files
  36079. +and actions are specified as TAGs, all are instantiated by default.
  36080. +
  36081. +Usage: $0 [OPTION]... [TAG]...
  36082. +
  36083. + -h, --help print this help, then exit
  36084. + -V, --version print version number and configuration settings, then exit
  36085. + --config print configuration, then exit
  36086. + -q, --quiet, --silent
  36087. + do not print progress messages
  36088. + -d, --debug don't remove temporary files
  36089. + --recheck update $as_me by reconfiguring in the same conditions
  36090. + --file=FILE[:TEMPLATE]
  36091. + instantiate the configuration file FILE
  36092. + --header=FILE[:TEMPLATE]
  36093. + instantiate the configuration header FILE
  36094. +
  36095. +Configuration files:
  36096. +$config_files
  36097. +
  36098. +Configuration headers:
  36099. +$config_headers
  36100. +
  36101. +Configuration links:
  36102. +$config_links
  36103. +
  36104. +Configuration commands:
  36105. +$config_commands
  36106. +
  36107. +Report bugs to <bug-m4@gnu.org>.
  36108. +GNU M4 home page: <http://www.gnu.org/software/m4/>.
  36109. +General help using GNU software: <http://www.gnu.org/gethelp/>."
  36110. +
  36111. +_ACEOF
  36112. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  36113. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  36114. +ac_cs_version="\\
  36115. +GNU M4 config.status 1.4.16
  36116. +configured by $0, generated by GNU Autoconf 2.69,
  36117. + with options \\"\$ac_cs_config\\"
  36118. +
  36119. +Copyright (C) 2012 Free Software Foundation, Inc.
  36120. +This config.status script is free software; the Free Software Foundation
  36121. +gives unlimited permission to copy, distribute and modify it."
  36122. +
  36123. +ac_pwd='$ac_pwd'
  36124. +srcdir='$srcdir'
  36125. +INSTALL='$INSTALL'
  36126. +MKDIR_P='$MKDIR_P'
  36127. +AWK='$AWK'
  36128. +test -n "\$AWK" || AWK=awk
  36129. +_ACEOF
  36130. +
  36131. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  36132. +# The default lists apply if the user does not specify any file.
  36133. +ac_need_defaults=:
  36134. +while test $# != 0
  36135. +do
  36136. + case $1 in
  36137. + --*=?*)
  36138. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  36139. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  36140. + ac_shift=:
  36141. + ;;
  36142. + --*=)
  36143. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  36144. + ac_optarg=
  36145. + ac_shift=:
  36146. + ;;
  36147. + *)
  36148. + ac_option=$1
  36149. + ac_optarg=$2
  36150. + ac_shift=shift
  36151. + ;;
  36152. + esac
  36153. +
  36154. + case $ac_option in
  36155. + # Handling of the options.
  36156. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  36157. + ac_cs_recheck=: ;;
  36158. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  36159. + $as_echo "$ac_cs_version"; exit ;;
  36160. + --config | --confi | --conf | --con | --co | --c )
  36161. + $as_echo "$ac_cs_config"; exit ;;
  36162. + --debug | --debu | --deb | --de | --d | -d )
  36163. + debug=: ;;
  36164. + --file | --fil | --fi | --f )
  36165. + $ac_shift
  36166. + case $ac_optarg in
  36167. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  36168. + '') as_fn_error $? "missing file argument" ;;
  36169. + esac
  36170. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  36171. + ac_need_defaults=false;;
  36172. + --header | --heade | --head | --hea )
  36173. + $ac_shift
  36174. + case $ac_optarg in
  36175. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  36176. + esac
  36177. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  36178. + ac_need_defaults=false;;
  36179. + --he | --h)
  36180. + # Conflict between --help and --header
  36181. + as_fn_error $? "ambiguous option: \`$1'
  36182. +Try \`$0 --help' for more information.";;
  36183. + --help | --hel | -h )
  36184. + $as_echo "$ac_cs_usage"; exit ;;
  36185. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  36186. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  36187. + ac_cs_silent=: ;;
  36188. +
  36189. + # This is an error.
  36190. + -*) as_fn_error $? "unrecognized option: \`$1'
  36191. +Try \`$0 --help' for more information." ;;
  36192. +
  36193. + *) as_fn_append ac_config_targets " $1"
  36194. + ac_need_defaults=false ;;
  36195. +
  36196. + esac
  36197. + shift
  36198. +done
  36199. +
  36200. +ac_configure_extra_args=
  36201. +
  36202. +if $ac_cs_silent; then
  36203. + exec 6>/dev/null
  36204. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  36205. +fi
  36206. +
  36207. +_ACEOF
  36208. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  36209. +if \$ac_cs_recheck; then
  36210. + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  36211. + shift
  36212. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  36213. + CONFIG_SHELL='$SHELL'
  36214. + export CONFIG_SHELL
  36215. + exec "\$@"
  36216. +fi
  36217. +
  36218. +_ACEOF
  36219. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  36220. +exec 5>>config.log
  36221. +{
  36222. + echo
  36223. + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  36224. +@%:@@%:@ Running $as_me. @%:@@%:@
  36225. +_ASBOX
  36226. + $as_echo "$ac_log"
  36227. +} >&5
  36228. +
  36229. +_ACEOF
  36230. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  36231. +#
  36232. +# INIT-COMMANDS
  36233. +#
  36234. +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  36235. +GNUmakefile=$GNUmakefile
  36236. +
  36237. +_ACEOF
  36238. +
  36239. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  36240. +
  36241. +# Handling of arguments.
  36242. +for ac_config_target in $ac_config_targets
  36243. +do
  36244. + case $ac_config_target in
  36245. + "lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/config.h:lib/config.hin" ;;
  36246. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  36247. + "$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;;
  36248. + "stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS stamp-h" ;;
  36249. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  36250. + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  36251. + "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
  36252. + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  36253. + "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
  36254. + "checks/Makefile") CONFIG_FILES="$CONFIG_FILES checks/Makefile" ;;
  36255. + "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
  36256. +
  36257. + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  36258. + esac
  36259. +done
  36260. +
  36261. +
  36262. +# If the user did not use the arguments to specify the items to instantiate,
  36263. +# then the envvar interface is used. Set only those that are not.
  36264. +# We use the long form for the default assignment because of an extremely
  36265. +# bizarre bug on SunOS 4.1.3.
  36266. +if $ac_need_defaults; then
  36267. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  36268. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  36269. + test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
  36270. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  36271. +fi
  36272. +
  36273. +# Have a temporary directory for convenience. Make it in the build tree
  36274. +# simply because there is no reason against having it here, and in addition,
  36275. +# creating and moving files from /tmp can sometimes cause problems.
  36276. +# Hook for its removal unless debugging.
  36277. +# Note that there is a small window in which the directory will not be cleaned:
  36278. +# after its creation but before its name has been assigned to `$tmp'.
  36279. +$debug ||
  36280. +{
  36281. + tmp= ac_tmp=
  36282. + trap 'exit_status=$?
  36283. + : "${ac_tmp:=$tmp}"
  36284. + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  36285. +' 0
  36286. + trap 'as_fn_exit 1' 1 2 13 15
  36287. +}
  36288. +# Create a (secure) tmp directory for tmp files.
  36289. +
  36290. +{
  36291. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  36292. + test -d "$tmp"
  36293. +} ||
  36294. +{
  36295. + tmp=./conf$$-$RANDOM
  36296. + (umask 077 && mkdir "$tmp")
  36297. +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  36298. +ac_tmp=$tmp
  36299. +
  36300. +# Set up the scripts for CONFIG_FILES section.
  36301. +# No need to generate them if there are no CONFIG_FILES.
  36302. +# This happens for instance with `./config.status config.h'.
  36303. +if test -n "$CONFIG_FILES"; then
  36304. +
  36305. +
  36306. +ac_cr=`echo X | tr X '\015'`
  36307. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  36308. +# But we know of no other shell where ac_cr would be empty at this
  36309. +# point, so we can use a bashism as a fallback.
  36310. +if test "x$ac_cr" = x; then
  36311. + eval ac_cr=\$\'\\r\'
  36312. +fi
  36313. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  36314. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  36315. + ac_cs_awk_cr='\\r'
  36316. +else
  36317. + ac_cs_awk_cr=$ac_cr
  36318. +fi
  36319. +
  36320. +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  36321. +_ACEOF
  36322. +
  36323. +
  36324. +{
  36325. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  36326. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  36327. + echo "_ACEOF"
  36328. +} >conf$$subs.sh ||
  36329. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  36330. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  36331. +ac_delim='%!_!# '
  36332. +for ac_last_try in false false false false false :; do
  36333. + . ./conf$$subs.sh ||
  36334. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  36335. +
  36336. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  36337. + if test $ac_delim_n = $ac_delim_num; then
  36338. + break
  36339. + elif $ac_last_try; then
  36340. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  36341. + else
  36342. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  36343. + fi
  36344. +done
  36345. +rm -f conf$$subs.sh
  36346. +
  36347. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  36348. +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  36349. +_ACEOF
  36350. +sed -n '
  36351. +h
  36352. +s/^/S["/; s/!.*/"]=/
  36353. +p
  36354. +g
  36355. +s/^[^!]*!//
  36356. +:repl
  36357. +t repl
  36358. +s/'"$ac_delim"'$//
  36359. +t delim
  36360. +:nl
  36361. +h
  36362. +s/\(.\{148\}\)..*/\1/
  36363. +t more1
  36364. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  36365. +p
  36366. +n
  36367. +b repl
  36368. +:more1
  36369. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  36370. +p
  36371. +g
  36372. +s/.\{148\}//
  36373. +t nl
  36374. +:delim
  36375. +h
  36376. +s/\(.\{148\}\)..*/\1/
  36377. +t more2
  36378. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  36379. +p
  36380. +b
  36381. +:more2
  36382. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  36383. +p
  36384. +g
  36385. +s/.\{148\}//
  36386. +t delim
  36387. +' <conf$$subs.awk | sed '
  36388. +/^[^""]/{
  36389. + N
  36390. + s/\n//
  36391. +}
  36392. +' >>$CONFIG_STATUS || ac_write_fail=1
  36393. +rm -f conf$$subs.awk
  36394. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  36395. +_ACAWK
  36396. +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  36397. + for (key in S) S_is_set[key] = 1
  36398. + FS = ""
  36399. +
  36400. +}
  36401. +{
  36402. + line = $ 0
  36403. + nfields = split(line, field, "@")
  36404. + substed = 0
  36405. + len = length(field[1])
  36406. + for (i = 2; i < nfields; i++) {
  36407. + key = field[i]
  36408. + keylen = length(key)
  36409. + if (S_is_set[key]) {
  36410. + value = S[key]
  36411. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  36412. + len += length(value) + length(field[++i])
  36413. + substed = 1
  36414. + } else
  36415. + len += 1 + keylen
  36416. + }
  36417. +
  36418. + print line
  36419. +}
  36420. +
  36421. +_ACAWK
  36422. +_ACEOF
  36423. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  36424. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  36425. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  36426. +else
  36427. + cat
  36428. +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  36429. + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  36430. +_ACEOF
  36431. +
  36432. +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  36433. +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  36434. +# trailing colons and then remove the whole line if VPATH becomes empty
  36435. +# (actually we leave an empty line to preserve line numbers).
  36436. +if test "x$srcdir" = x.; then
  36437. + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  36438. +h
  36439. +s///
  36440. +s/^/:/
  36441. +s/[ ]*$/:/
  36442. +s/:\$(srcdir):/:/g
  36443. +s/:\${srcdir}:/:/g
  36444. +s/:@srcdir@:/:/g
  36445. +s/^:*//
  36446. +s/:*$//
  36447. +x
  36448. +s/\(=[ ]*\).*/\1/
  36449. +G
  36450. +s/\n//
  36451. +s/^[^=]*=[ ]*$//
  36452. +}'
  36453. +fi
  36454. +
  36455. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  36456. +fi # test -n "$CONFIG_FILES"
  36457. +
  36458. +# Set up the scripts for CONFIG_HEADERS section.
  36459. +# No need to generate them if there are no CONFIG_HEADERS.
  36460. +# This happens for instance with `./config.status Makefile'.
  36461. +if test -n "$CONFIG_HEADERS"; then
  36462. +cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  36463. +BEGIN {
  36464. +_ACEOF
  36465. +
  36466. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  36467. +# here-document in config.status, that substitutes the proper values into
  36468. +# config.h.in to produce config.h.
  36469. +
  36470. +# Create a delimiter string that does not exist in confdefs.h, to ease
  36471. +# handling of long lines.
  36472. +ac_delim='%!_!# '
  36473. +for ac_last_try in false false :; do
  36474. + ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  36475. + if test -z "$ac_tt"; then
  36476. + break
  36477. + elif $ac_last_try; then
  36478. + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  36479. + else
  36480. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  36481. + fi
  36482. +done
  36483. +
  36484. +# For the awk script, D is an array of macro values keyed by name,
  36485. +# likewise P contains macro parameters if any. Preserve backslash
  36486. +# newline sequences.
  36487. +
  36488. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  36489. +sed -n '
  36490. +s/.\{148\}/&'"$ac_delim"'/g
  36491. +t rset
  36492. +:rset
  36493. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  36494. +t def
  36495. +d
  36496. +:def
  36497. +s/\\$//
  36498. +t bsnl
  36499. +s/["\\]/\\&/g
  36500. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  36501. +D["\1"]=" \3"/p
  36502. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  36503. +d
  36504. +:bsnl
  36505. +s/["\\]/\\&/g
  36506. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  36507. +D["\1"]=" \3\\\\\\n"\\/p
  36508. +t cont
  36509. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  36510. +t cont
  36511. +d
  36512. +:cont
  36513. +n
  36514. +s/.\{148\}/&'"$ac_delim"'/g
  36515. +t clear
  36516. +:clear
  36517. +s/\\$//
  36518. +t bsnlc
  36519. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  36520. +d
  36521. +:bsnlc
  36522. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  36523. +b cont
  36524. +' <confdefs.h | sed '
  36525. +s/'"$ac_delim"'/"\\\
  36526. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  36527. +
  36528. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  36529. + for (key in D) D_is_set[key] = 1
  36530. + FS = ""
  36531. +}
  36532. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  36533. + line = \$ 0
  36534. + split(line, arg, " ")
  36535. + if (arg[1] == "#") {
  36536. + defundef = arg[2]
  36537. + mac1 = arg[3]
  36538. + } else {
  36539. + defundef = substr(arg[1], 2)
  36540. + mac1 = arg[2]
  36541. + }
  36542. + split(mac1, mac2, "(") #)
  36543. + macro = mac2[1]
  36544. + prefix = substr(line, 1, index(line, defundef) - 1)
  36545. + if (D_is_set[macro]) {
  36546. + # Preserve the white space surrounding the "#".
  36547. + print prefix "define", macro P[macro] D[macro]
  36548. + next
  36549. + } else {
  36550. + # Replace #undef with comments. This is necessary, for example,
  36551. + # in the case of _POSIX_SOURCE, which is predefined and required
  36552. + # on some systems where configure will not decide to define it.
  36553. + if (defundef == "undef") {
  36554. + print "/*", prefix defundef, macro, "*/"
  36555. + next
  36556. + }
  36557. + }
  36558. +}
  36559. +{ print }
  36560. +_ACAWK
  36561. +_ACEOF
  36562. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  36563. + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  36564. +fi # test -n "$CONFIG_HEADERS"
  36565. +
  36566. +
  36567. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
  36568. +shift
  36569. +for ac_tag
  36570. +do
  36571. + case $ac_tag in
  36572. + :[FHLC]) ac_mode=$ac_tag; continue;;
  36573. + esac
  36574. + case $ac_mode$ac_tag in
  36575. + :[FHL]*:*);;
  36576. + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  36577. + :[FH]-) ac_tag=-:-;;
  36578. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  36579. + esac
  36580. + ac_save_IFS=$IFS
  36581. + IFS=:
  36582. + set x $ac_tag
  36583. + IFS=$ac_save_IFS
  36584. + shift
  36585. + ac_file=$1
  36586. + shift
  36587. +
  36588. + case $ac_mode in
  36589. + :L) ac_source=$1;;
  36590. + :[FH])
  36591. + ac_file_inputs=
  36592. + for ac_f
  36593. + do
  36594. + case $ac_f in
  36595. + -) ac_f="$ac_tmp/stdin";;
  36596. + *) # Look for the file first in the build tree, then in the source tree
  36597. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  36598. + # because $ac_f cannot contain `:'.
  36599. + test -f "$ac_f" ||
  36600. + case $ac_f in
  36601. + [\\/$]*) false;;
  36602. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  36603. + esac ||
  36604. + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  36605. + esac
  36606. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  36607. + as_fn_append ac_file_inputs " '$ac_f'"
  36608. + done
  36609. +
  36610. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  36611. + # use $as_me), people would be surprised to read:
  36612. + # /* config.h. Generated by config.status. */
  36613. + configure_input='Generated from '`
  36614. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  36615. + `' by configure.'
  36616. + if test x"$ac_file" != x-; then
  36617. + configure_input="$ac_file. $configure_input"
  36618. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  36619. +$as_echo "$as_me: creating $ac_file" >&6;}
  36620. + fi
  36621. + # Neutralize special characters interpreted by sed in replacement strings.
  36622. + case $configure_input in #(
  36623. + *\&* | *\|* | *\\* )
  36624. + ac_sed_conf_input=`$as_echo "$configure_input" |
  36625. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  36626. + *) ac_sed_conf_input=$configure_input;;
  36627. + esac
  36628. +
  36629. + case $ac_tag in
  36630. + *:-:* | *:-) cat >"$ac_tmp/stdin" \
  36631. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  36632. + esac
  36633. + ;;
  36634. + esac
  36635. +
  36636. + ac_dir=`$as_dirname -- "$ac_file" ||
  36637. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  36638. + X"$ac_file" : 'X\(//\)[^/]' \| \
  36639. + X"$ac_file" : 'X\(//\)$' \| \
  36640. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  36641. +$as_echo X"$ac_file" |
  36642. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  36643. + s//\1/
  36644. + q
  36645. + }
  36646. + /^X\(\/\/\)[^/].*/{
  36647. + s//\1/
  36648. + q
  36649. + }
  36650. + /^X\(\/\/\)$/{
  36651. + s//\1/
  36652. + q
  36653. + }
  36654. + /^X\(\/\).*/{
  36655. + s//\1/
  36656. + q
  36657. + }
  36658. + s/.*/./; q'`
  36659. + as_dir="$ac_dir"; as_fn_mkdir_p
  36660. + ac_builddir=.
  36661. +
  36662. +case "$ac_dir" in
  36663. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  36664. +*)
  36665. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  36666. + # A ".." for each directory in $ac_dir_suffix.
  36667. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  36668. + case $ac_top_builddir_sub in
  36669. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  36670. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  36671. + esac ;;
  36672. +esac
  36673. +ac_abs_top_builddir=$ac_pwd
  36674. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  36675. +# for backward compatibility:
  36676. +ac_top_builddir=$ac_top_build_prefix
  36677. +
  36678. +case $srcdir in
  36679. + .) # We are building in place.
  36680. + ac_srcdir=.
  36681. + ac_top_srcdir=$ac_top_builddir_sub
  36682. + ac_abs_top_srcdir=$ac_pwd ;;
  36683. + [\\/]* | ?:[\\/]* ) # Absolute name.
  36684. + ac_srcdir=$srcdir$ac_dir_suffix;
  36685. + ac_top_srcdir=$srcdir
  36686. + ac_abs_top_srcdir=$srcdir ;;
  36687. + *) # Relative name.
  36688. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  36689. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  36690. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  36691. +esac
  36692. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  36693. +
  36694. +
  36695. + case $ac_mode in
  36696. + :F)
  36697. + #
  36698. + # CONFIG_FILE
  36699. + #
  36700. +
  36701. + case $INSTALL in
  36702. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  36703. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  36704. + esac
  36705. + ac_MKDIR_P=$MKDIR_P
  36706. + case $MKDIR_P in
  36707. + [\\/$]* | ?:[\\/]* ) ;;
  36708. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  36709. + esac
  36710. +_ACEOF
  36711. +
  36712. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  36713. +# If the template does not know about datarootdir, expand it.
  36714. +# FIXME: This hack should be removed a few years after 2.60.
  36715. +ac_datarootdir_hack=; ac_datarootdir_seen=
  36716. +ac_sed_dataroot='
  36717. +/datarootdir/ {
  36718. + p
  36719. + q
  36720. +}
  36721. +/@datadir@/p
  36722. +/@docdir@/p
  36723. +/@infodir@/p
  36724. +/@localedir@/p
  36725. +/@mandir@/p'
  36726. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  36727. +*datarootdir*) ac_datarootdir_seen=yes;;
  36728. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  36729. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  36730. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  36731. +_ACEOF
  36732. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  36733. + ac_datarootdir_hack='
  36734. + s&@datadir@&$datadir&g
  36735. + s&@docdir@&$docdir&g
  36736. + s&@infodir@&$infodir&g
  36737. + s&@localedir@&$localedir&g
  36738. + s&@mandir@&$mandir&g
  36739. + s&\\\${datarootdir}&$datarootdir&g' ;;
  36740. +esac
  36741. +_ACEOF
  36742. +
  36743. +# Neutralize VPATH when `$srcdir' = `.'.
  36744. +# Shell code in configure.ac might set extrasub.
  36745. +# FIXME: do we really want to maintain this feature?
  36746. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  36747. +ac_sed_extra="$ac_vpsub
  36748. +$extrasub
  36749. +_ACEOF
  36750. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  36751. +:t
  36752. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  36753. +s|@configure_input@|$ac_sed_conf_input|;t t
  36754. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  36755. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  36756. +s&@srcdir@&$ac_srcdir&;t t
  36757. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  36758. +s&@top_srcdir@&$ac_top_srcdir&;t t
  36759. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  36760. +s&@builddir@&$ac_builddir&;t t
  36761. +s&@abs_builddir@&$ac_abs_builddir&;t t
  36762. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  36763. +s&@INSTALL@&$ac_INSTALL&;t t
  36764. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  36765. +$ac_datarootdir_hack
  36766. +"
  36767. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  36768. + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  36769. +
  36770. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  36771. + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  36772. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  36773. + "$ac_tmp/out"`; test -z "$ac_out"; } &&
  36774. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  36775. +which seems to be undefined. Please make sure it is defined" >&5
  36776. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  36777. +which seems to be undefined. Please make sure it is defined" >&2;}
  36778. +
  36779. + rm -f "$ac_tmp/stdin"
  36780. + case $ac_file in
  36781. + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  36782. + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  36783. + esac \
  36784. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  36785. + ;;
  36786. + :H)
  36787. + #
  36788. + # CONFIG_HEADER
  36789. + #
  36790. + if test x"$ac_file" != x-; then
  36791. + {
  36792. + $as_echo "/* $configure_input */" \
  36793. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  36794. + } >"$ac_tmp/config.h" \
  36795. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  36796. + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  36797. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  36798. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  36799. + else
  36800. + rm -f "$ac_file"
  36801. + mv "$ac_tmp/config.h" "$ac_file" \
  36802. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  36803. + fi
  36804. + else
  36805. + $as_echo "/* $configure_input */" \
  36806. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  36807. + || as_fn_error $? "could not create -" "$LINENO" 5
  36808. + fi
  36809. +# Compute "$ac_file"'s index in $config_headers.
  36810. +_am_arg="$ac_file"
  36811. +_am_stamp_count=1
  36812. +for _am_header in $config_headers :; do
  36813. + case $_am_header in
  36814. + $_am_arg | $_am_arg:* )
  36815. + break ;;
  36816. + * )
  36817. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  36818. + esac
  36819. +done
  36820. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  36821. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  36822. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  36823. + X"$_am_arg" : 'X\(//\)$' \| \
  36824. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  36825. +$as_echo X"$_am_arg" |
  36826. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  36827. + s//\1/
  36828. + q
  36829. + }
  36830. + /^X\(\/\/\)[^/].*/{
  36831. + s//\1/
  36832. + q
  36833. + }
  36834. + /^X\(\/\/\)$/{
  36835. + s//\1/
  36836. + q
  36837. + }
  36838. + /^X\(\/\).*/{
  36839. + s//\1/
  36840. + q
  36841. + }
  36842. + s/.*/./; q'`/stamp-h$_am_stamp_count
  36843. + ;;
  36844. + :L)
  36845. + #
  36846. + # CONFIG_LINK
  36847. + #
  36848. +
  36849. + if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
  36850. + :
  36851. + else
  36852. + # Prefer the file from the source tree if names are identical.
  36853. + if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
  36854. + ac_source=$srcdir/$ac_source
  36855. + fi
  36856. +
  36857. + { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
  36858. +$as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
  36859. +
  36860. + if test ! -r "$ac_source"; then
  36861. + as_fn_error $? "$ac_source: file not found" "$LINENO" 5
  36862. + fi
  36863. + rm -f "$ac_file"
  36864. +
  36865. + # Try a relative symlink, then a hard link, then a copy.
  36866. + case $ac_source in
  36867. + [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
  36868. + *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
  36869. + esac
  36870. + ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
  36871. + ln "$ac_source" "$ac_file" 2>/dev/null ||
  36872. + cp -p "$ac_source" "$ac_file" ||
  36873. + as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
  36874. + fi
  36875. + ;;
  36876. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  36877. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  36878. + ;;
  36879. + esac
  36880. +
  36881. +
  36882. + case $ac_file$ac_mode in
  36883. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  36884. + # Older Autoconf quotes --file arguments for eval, but not when files
  36885. + # are listed without --file. Let's play safe and only enable the eval
  36886. + # if we detect the quoting.
  36887. + case $CONFIG_FILES in
  36888. + *\'*) eval set x "$CONFIG_FILES" ;;
  36889. + *) set x $CONFIG_FILES ;;
  36890. + esac
  36891. + shift
  36892. + for mf
  36893. + do
  36894. + # Strip MF so we end up with the name of the file.
  36895. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  36896. + # Check whether this is an Automake generated Makefile or not.
  36897. + # We used to match only the files named 'Makefile.in', but
  36898. + # some people rename them; so instead we look at the file content.
  36899. + # Grep'ing the first line is not enough: some people post-process
  36900. + # each Makefile.in and add a new line on top of each file to say so.
  36901. + # Grep'ing the whole file is not good either: AIX grep has a line
  36902. + # limit of 2048, but all sed's we know have understand at least 4000.
  36903. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  36904. + dirpart=`$as_dirname -- "$mf" ||
  36905. +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  36906. + X"$mf" : 'X\(//\)[^/]' \| \
  36907. + X"$mf" : 'X\(//\)$' \| \
  36908. + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  36909. +$as_echo X"$mf" |
  36910. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  36911. + s//\1/
  36912. + q
  36913. + }
  36914. + /^X\(\/\/\)[^/].*/{
  36915. + s//\1/
  36916. + q
  36917. + }
  36918. + /^X\(\/\/\)$/{
  36919. + s//\1/
  36920. + q
  36921. + }
  36922. + /^X\(\/\).*/{
  36923. + s//\1/
  36924. + q
  36925. + }
  36926. + s/.*/./; q'`
  36927. + else
  36928. + continue
  36929. + fi
  36930. + # Extract the definition of DEPDIR, am__include, and am__quote
  36931. + # from the Makefile without running 'make'.
  36932. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  36933. + test -z "$DEPDIR" && continue
  36934. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  36935. + test -z "$am__include" && continue
  36936. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  36937. + # Find all dependency output files, they are included files with
  36938. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  36939. + # simplest approach to changing $(DEPDIR) to its actual value in the
  36940. + # expansion.
  36941. + for file in `sed -n "
  36942. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  36943. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  36944. + # Make sure the directory exists.
  36945. + test -f "$dirpart/$file" && continue
  36946. + fdir=`$as_dirname -- "$file" ||
  36947. +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  36948. + X"$file" : 'X\(//\)[^/]' \| \
  36949. + X"$file" : 'X\(//\)$' \| \
  36950. + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  36951. +$as_echo X"$file" |
  36952. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  36953. + s//\1/
  36954. + q
  36955. + }
  36956. + /^X\(\/\/\)[^/].*/{
  36957. + s//\1/
  36958. + q
  36959. + }
  36960. + /^X\(\/\/\)$/{
  36961. + s//\1/
  36962. + q
  36963. + }
  36964. + /^X\(\/\).*/{
  36965. + s//\1/
  36966. + q
  36967. + }
  36968. + s/.*/./; q'`
  36969. + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  36970. + # echo "creating $dirpart/$file"
  36971. + echo '# dummy' > "$dirpart/$file"
  36972. + done
  36973. + done
  36974. +}
  36975. + ;;
  36976. + "stamp-h":C) test -z "$CONFIG_HEADERS" || date > stamp-h ;;
  36977. +
  36978. + esac
  36979. +done # for ac_tag
  36980. +
  36981. +
  36982. +as_fn_exit 0
  36983. +_ACEOF
  36984. +ac_clean_files=$ac_clean_files_save
  36985. +
  36986. +test $ac_write_fail = 0 ||
  36987. + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  36988. +
  36989. +
  36990. +# configure is writing to config.log, and then calls config.status.
  36991. +# config.status does its own redirection, appending to config.log.
  36992. +# Unfortunately, on DOS this fails, as config.log is still kept open
  36993. +# by configure, so config.status won't be able to write to it; its
  36994. +# output is simply discarded. So we exec the FD to /dev/null,
  36995. +# effectively closing config.log, so it can be properly (re)opened and
  36996. +# appended to by config.status. When coming back to configure, we
  36997. +# need to make the FD available again.
  36998. +if test "$no_create" != yes; then
  36999. + ac_cs_success=:
  37000. + ac_config_status_args=
  37001. + test "$silent" = yes &&
  37002. + ac_config_status_args="$ac_config_status_args --quiet"
  37003. + exec 5>/dev/null
  37004. + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  37005. + exec 5>>config.log
  37006. + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  37007. + # would make configure fail if this is the last instruction.
  37008. + $ac_cs_success || as_fn_exit 1
  37009. +fi
  37010. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  37011. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  37012. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  37013. +fi
  37014. +
  37015. diff -Nur m4-1.4.16.orig/autom4te.cache/output.1 m4-1.4.16/autom4te.cache/output.1
  37016. --- m4-1.4.16.orig/autom4te.cache/output.1 1970-01-01 01:00:00.000000000 +0100
  37017. +++ m4-1.4.16/autom4te.cache/output.1 2013-09-04 14:47:46.000000000 +0200
  37018. @@ -0,0 +1,35907 @@
  37019. +@%:@! /bin/sh
  37020. +@%:@ Guess values for system-dependent variables and create Makefiles.
  37021. +@%:@ Generated by GNU Autoconf 2.69 for GNU M4 1.4.16.
  37022. +@%:@
  37023. +@%:@ Report bugs to <bug-m4@gnu.org>.
  37024. +@%:@
  37025. +@%:@
  37026. +@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  37027. +@%:@
  37028. +@%:@
  37029. +@%:@ This configure script is free software; the Free Software Foundation
  37030. +@%:@ gives unlimited permission to copy, distribute and modify it.
  37031. +## -------------------- ##
  37032. +## M4sh Initialization. ##
  37033. +## -------------------- ##
  37034. +
  37035. +# Be more Bourne compatible
  37036. +DUALCASE=1; export DUALCASE # for MKS sh
  37037. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  37038. + emulate sh
  37039. + NULLCMD=:
  37040. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  37041. + # is contrary to our usage. Disable this feature.
  37042. + alias -g '${1+"$@"}'='"$@"'
  37043. + setopt NO_GLOB_SUBST
  37044. +else
  37045. + case `(set -o) 2>/dev/null` in @%:@(
  37046. + *posix*) :
  37047. + set -o posix ;; @%:@(
  37048. + *) :
  37049. + ;;
  37050. +esac
  37051. +fi
  37052. +
  37053. +
  37054. +as_nl='
  37055. +'
  37056. +export as_nl
  37057. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  37058. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  37059. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  37060. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  37061. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  37062. +# but without wasting forks for bash or zsh.
  37063. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  37064. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  37065. + as_echo='print -r --'
  37066. + as_echo_n='print -rn --'
  37067. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  37068. + as_echo='printf %s\n'
  37069. + as_echo_n='printf %s'
  37070. +else
  37071. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  37072. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  37073. + as_echo_n='/usr/ucb/echo -n'
  37074. + else
  37075. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  37076. + as_echo_n_body='eval
  37077. + arg=$1;
  37078. + case $arg in @%:@(
  37079. + *"$as_nl"*)
  37080. + expr "X$arg" : "X\\(.*\\)$as_nl";
  37081. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  37082. + esac;
  37083. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  37084. + '
  37085. + export as_echo_n_body
  37086. + as_echo_n='sh -c $as_echo_n_body as_echo'
  37087. + fi
  37088. + export as_echo_body
  37089. + as_echo='sh -c $as_echo_body as_echo'
  37090. +fi
  37091. +
  37092. +# The user is always right.
  37093. +if test "${PATH_SEPARATOR+set}" != set; then
  37094. + PATH_SEPARATOR=:
  37095. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  37096. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  37097. + PATH_SEPARATOR=';'
  37098. + }
  37099. +fi
  37100. +
  37101. +
  37102. +# IFS
  37103. +# We need space, tab and new line, in precisely that order. Quoting is
  37104. +# there to prevent editors from complaining about space-tab.
  37105. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  37106. +# splitting by setting IFS to empty value.)
  37107. +IFS=" "" $as_nl"
  37108. +
  37109. +# Find who we are. Look in the path if we contain no directory separator.
  37110. +as_myself=
  37111. +case $0 in @%:@((
  37112. + *[\\/]* ) as_myself=$0 ;;
  37113. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  37114. +for as_dir in $PATH
  37115. +do
  37116. + IFS=$as_save_IFS
  37117. + test -z "$as_dir" && as_dir=.
  37118. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  37119. + done
  37120. +IFS=$as_save_IFS
  37121. +
  37122. + ;;
  37123. +esac
  37124. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  37125. +# in which case we are not to be found in the path.
  37126. +if test "x$as_myself" = x; then
  37127. + as_myself=$0
  37128. +fi
  37129. +if test ! -f "$as_myself"; then
  37130. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  37131. + exit 1
  37132. +fi
  37133. +
  37134. +# Unset variables that we do not need and which cause bugs (e.g. in
  37135. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  37136. +# suppresses any "Segmentation fault" message there. '((' could
  37137. +# trigger a bug in pdksh 5.2.14.
  37138. +for as_var in BASH_ENV ENV MAIL MAILPATH
  37139. +do eval test x\${$as_var+set} = xset \
  37140. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  37141. +done
  37142. +PS1='$ '
  37143. +PS2='> '
  37144. +PS4='+ '
  37145. +
  37146. +# NLS nuisances.
  37147. +LC_ALL=C
  37148. +export LC_ALL
  37149. +LANGUAGE=C
  37150. +export LANGUAGE
  37151. +
  37152. +# CDPATH.
  37153. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  37154. +
  37155. +# Use a proper internal environment variable to ensure we don't fall
  37156. + # into an infinite loop, continuously re-executing ourselves.
  37157. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  37158. + _as_can_reexec=no; export _as_can_reexec;
  37159. + # We cannot yet assume a decent shell, so we have to provide a
  37160. +# neutralization value for shells without unset; and this also
  37161. +# works around shells that cannot unset nonexistent variables.
  37162. +# Preserve -v and -x to the replacement shell.
  37163. +BASH_ENV=/dev/null
  37164. +ENV=/dev/null
  37165. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  37166. +case $- in @%:@ ((((
  37167. + *v*x* | *x*v* ) as_opts=-vx ;;
  37168. + *v* ) as_opts=-v ;;
  37169. + *x* ) as_opts=-x ;;
  37170. + * ) as_opts= ;;
  37171. +esac
  37172. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  37173. +# Admittedly, this is quite paranoid, since all the known shells bail
  37174. +# out after a failed `exec'.
  37175. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  37176. +as_fn_exit 255
  37177. + fi
  37178. + # We don't want this to propagate to other subprocesses.
  37179. + { _as_can_reexec=; unset _as_can_reexec;}
  37180. +if test "x$CONFIG_SHELL" = x; then
  37181. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  37182. + emulate sh
  37183. + NULLCMD=:
  37184. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  37185. + # is contrary to our usage. Disable this feature.
  37186. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  37187. + setopt NO_GLOB_SUBST
  37188. +else
  37189. + case \`(set -o) 2>/dev/null\` in @%:@(
  37190. + *posix*) :
  37191. + set -o posix ;; @%:@(
  37192. + *) :
  37193. + ;;
  37194. +esac
  37195. +fi
  37196. +"
  37197. + as_required="as_fn_return () { (exit \$1); }
  37198. +as_fn_success () { as_fn_return 0; }
  37199. +as_fn_failure () { as_fn_return 1; }
  37200. +as_fn_ret_success () { return 0; }
  37201. +as_fn_ret_failure () { return 1; }
  37202. +
  37203. +exitcode=0
  37204. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  37205. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  37206. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  37207. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  37208. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  37209. +
  37210. +else
  37211. + exitcode=1; echo positional parameters were not saved.
  37212. +fi
  37213. +test x\$exitcode = x0 || exit 1
  37214. +test -x / || exit 1"
  37215. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  37216. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  37217. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  37218. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  37219. +test \$(( 1 + 1 )) = 2 || exit 1"
  37220. + if (eval "$as_required") 2>/dev/null; then :
  37221. + as_have_required=yes
  37222. +else
  37223. + as_have_required=no
  37224. +fi
  37225. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  37226. +
  37227. +else
  37228. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  37229. +as_found=false
  37230. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  37231. +do
  37232. + IFS=$as_save_IFS
  37233. + test -z "$as_dir" && as_dir=.
  37234. + as_found=:
  37235. + case $as_dir in @%:@(
  37236. + /*)
  37237. + for as_base in sh bash ksh sh5; do
  37238. + # Try only shells that exist, to save several forks.
  37239. + as_shell=$as_dir/$as_base
  37240. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  37241. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  37242. + CONFIG_SHELL=$as_shell as_have_required=yes
  37243. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  37244. + break 2
  37245. +fi
  37246. +fi
  37247. + done;;
  37248. + esac
  37249. + as_found=false
  37250. +done
  37251. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  37252. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  37253. + CONFIG_SHELL=$SHELL as_have_required=yes
  37254. +fi; }
  37255. +IFS=$as_save_IFS
  37256. +
  37257. +
  37258. + if test "x$CONFIG_SHELL" != x; then :
  37259. + export CONFIG_SHELL
  37260. + # We cannot yet assume a decent shell, so we have to provide a
  37261. +# neutralization value for shells without unset; and this also
  37262. +# works around shells that cannot unset nonexistent variables.
  37263. +# Preserve -v and -x to the replacement shell.
  37264. +BASH_ENV=/dev/null
  37265. +ENV=/dev/null
  37266. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  37267. +case $- in @%:@ ((((
  37268. + *v*x* | *x*v* ) as_opts=-vx ;;
  37269. + *v* ) as_opts=-v ;;
  37270. + *x* ) as_opts=-x ;;
  37271. + * ) as_opts= ;;
  37272. +esac
  37273. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  37274. +# Admittedly, this is quite paranoid, since all the known shells bail
  37275. +# out after a failed `exec'.
  37276. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  37277. +exit 255
  37278. +fi
  37279. +
  37280. + if test x$as_have_required = xno; then :
  37281. + $as_echo "$0: This script requires a shell more modern than all"
  37282. + $as_echo "$0: the shells that I found on your system."
  37283. + if test x${ZSH_VERSION+set} = xset ; then
  37284. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  37285. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  37286. + else
  37287. + $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-m4@gnu.org
  37288. +$0: about your system, including any error possibly output
  37289. +$0: before this message. Then install a modern shell, or
  37290. +$0: manually run the script under such a shell if you do
  37291. +$0: have one."
  37292. + fi
  37293. + exit 1
  37294. +fi
  37295. +fi
  37296. +fi
  37297. +SHELL=${CONFIG_SHELL-/bin/sh}
  37298. +export SHELL
  37299. +# Unset more variables known to interfere with behavior of common tools.
  37300. +CLICOLOR_FORCE= GREP_OPTIONS=
  37301. +unset CLICOLOR_FORCE GREP_OPTIONS
  37302. +
  37303. +## --------------------- ##
  37304. +## M4sh Shell Functions. ##
  37305. +## --------------------- ##
  37306. +@%:@ as_fn_unset VAR
  37307. +@%:@ ---------------
  37308. +@%:@ Portably unset VAR.
  37309. +as_fn_unset ()
  37310. +{
  37311. + { eval $1=; unset $1;}
  37312. +}
  37313. +as_unset=as_fn_unset
  37314. +
  37315. +@%:@ as_fn_set_status STATUS
  37316. +@%:@ -----------------------
  37317. +@%:@ Set @S|@? to STATUS, without forking.
  37318. +as_fn_set_status ()
  37319. +{
  37320. + return $1
  37321. +} @%:@ as_fn_set_status
  37322. +
  37323. +@%:@ as_fn_exit STATUS
  37324. +@%:@ -----------------
  37325. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  37326. +as_fn_exit ()
  37327. +{
  37328. + set +e
  37329. + as_fn_set_status $1
  37330. + exit $1
  37331. +} @%:@ as_fn_exit
  37332. +
  37333. +@%:@ as_fn_mkdir_p
  37334. +@%:@ -------------
  37335. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  37336. +as_fn_mkdir_p ()
  37337. +{
  37338. +
  37339. + case $as_dir in #(
  37340. + -*) as_dir=./$as_dir;;
  37341. + esac
  37342. + test -d "$as_dir" || eval $as_mkdir_p || {
  37343. + as_dirs=
  37344. + while :; do
  37345. + case $as_dir in #(
  37346. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  37347. + *) as_qdir=$as_dir;;
  37348. + esac
  37349. + as_dirs="'$as_qdir' $as_dirs"
  37350. + as_dir=`$as_dirname -- "$as_dir" ||
  37351. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  37352. + X"$as_dir" : 'X\(//\)[^/]' \| \
  37353. + X"$as_dir" : 'X\(//\)$' \| \
  37354. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  37355. +$as_echo X"$as_dir" |
  37356. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  37357. + s//\1/
  37358. + q
  37359. + }
  37360. + /^X\(\/\/\)[^/].*/{
  37361. + s//\1/
  37362. + q
  37363. + }
  37364. + /^X\(\/\/\)$/{
  37365. + s//\1/
  37366. + q
  37367. + }
  37368. + /^X\(\/\).*/{
  37369. + s//\1/
  37370. + q
  37371. + }
  37372. + s/.*/./; q'`
  37373. + test -d "$as_dir" && break
  37374. + done
  37375. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  37376. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  37377. +
  37378. +
  37379. +} @%:@ as_fn_mkdir_p
  37380. +
  37381. +@%:@ as_fn_executable_p FILE
  37382. +@%:@ -----------------------
  37383. +@%:@ Test if FILE is an executable regular file.
  37384. +as_fn_executable_p ()
  37385. +{
  37386. + test -f "$1" && test -x "$1"
  37387. +} @%:@ as_fn_executable_p
  37388. +@%:@ as_fn_append VAR VALUE
  37389. +@%:@ ----------------------
  37390. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  37391. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  37392. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  37393. +@%:@ implementations.
  37394. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  37395. + eval 'as_fn_append ()
  37396. + {
  37397. + eval $1+=\$2
  37398. + }'
  37399. +else
  37400. + as_fn_append ()
  37401. + {
  37402. + eval $1=\$$1\$2
  37403. + }
  37404. +fi # as_fn_append
  37405. +
  37406. +@%:@ as_fn_arith ARG...
  37407. +@%:@ ------------------
  37408. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  37409. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  37410. +@%:@ must be portable across @S|@(()) and expr.
  37411. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  37412. + eval 'as_fn_arith ()
  37413. + {
  37414. + as_val=$(( $* ))
  37415. + }'
  37416. +else
  37417. + as_fn_arith ()
  37418. + {
  37419. + as_val=`expr "$@" || test $? -eq 1`
  37420. + }
  37421. +fi # as_fn_arith
  37422. +
  37423. +
  37424. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  37425. +@%:@ ----------------------------------------
  37426. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  37427. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  37428. +@%:@ script with STATUS, using 1 if that was 0.
  37429. +as_fn_error ()
  37430. +{
  37431. + as_status=$1; test $as_status -eq 0 && as_status=1
  37432. + if test "$4"; then
  37433. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  37434. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  37435. + fi
  37436. + $as_echo "$as_me: error: $2" >&2
  37437. + as_fn_exit $as_status
  37438. +} @%:@ as_fn_error
  37439. +
  37440. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  37441. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  37442. + as_expr=expr
  37443. +else
  37444. + as_expr=false
  37445. +fi
  37446. +
  37447. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  37448. + as_basename=basename
  37449. +else
  37450. + as_basename=false
  37451. +fi
  37452. +
  37453. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  37454. + as_dirname=dirname
  37455. +else
  37456. + as_dirname=false
  37457. +fi
  37458. +
  37459. +as_me=`$as_basename -- "$0" ||
  37460. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  37461. + X"$0" : 'X\(//\)$' \| \
  37462. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  37463. +$as_echo X/"$0" |
  37464. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  37465. + s//\1/
  37466. + q
  37467. + }
  37468. + /^X\/\(\/\/\)$/{
  37469. + s//\1/
  37470. + q
  37471. + }
  37472. + /^X\/\(\/\).*/{
  37473. + s//\1/
  37474. + q
  37475. + }
  37476. + s/.*/./; q'`
  37477. +
  37478. +# Avoid depending upon Character Ranges.
  37479. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  37480. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  37481. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  37482. +as_cr_digits='0123456789'
  37483. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  37484. +
  37485. +
  37486. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  37487. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  37488. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  37489. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  37490. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  37491. + sed -n '
  37492. + p
  37493. + /[$]LINENO/=
  37494. + ' <$as_myself |
  37495. + sed '
  37496. + s/[$]LINENO.*/&-/
  37497. + t lineno
  37498. + b
  37499. + :lineno
  37500. + N
  37501. + :loop
  37502. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  37503. + t loop
  37504. + s/-\n.*//
  37505. + ' >$as_me.lineno &&
  37506. + chmod +x "$as_me.lineno" ||
  37507. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  37508. +
  37509. + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  37510. + # already done that, so ensure we don't try to do so again and fall
  37511. + # in an infinite loop. This has already happened in practice.
  37512. + _as_can_reexec=no; export _as_can_reexec
  37513. + # Don't try to exec as it changes $[0], causing all sort of problems
  37514. + # (the dirname of $[0] is not the place where we might find the
  37515. + # original and so on. Autoconf is especially sensitive to this).
  37516. + . "./$as_me.lineno"
  37517. + # Exit status is that of the last command.
  37518. + exit
  37519. +}
  37520. +
  37521. +ECHO_C= ECHO_N= ECHO_T=
  37522. +case `echo -n x` in @%:@(((((
  37523. +-n*)
  37524. + case `echo 'xy\c'` in
  37525. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  37526. + xy) ECHO_C='\c';;
  37527. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  37528. + ECHO_T=' ';;
  37529. + esac;;
  37530. +*)
  37531. + ECHO_N='-n';;
  37532. +esac
  37533. +
  37534. +rm -f conf$$ conf$$.exe conf$$.file
  37535. +if test -d conf$$.dir; then
  37536. + rm -f conf$$.dir/conf$$.file
  37537. +else
  37538. + rm -f conf$$.dir
  37539. + mkdir conf$$.dir 2>/dev/null
  37540. +fi
  37541. +if (echo >conf$$.file) 2>/dev/null; then
  37542. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  37543. + as_ln_s='ln -s'
  37544. + # ... but there are two gotchas:
  37545. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  37546. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  37547. + # In both cases, we have to default to `cp -pR'.
  37548. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  37549. + as_ln_s='cp -pR'
  37550. + elif ln conf$$.file conf$$ 2>/dev/null; then
  37551. + as_ln_s=ln
  37552. + else
  37553. + as_ln_s='cp -pR'
  37554. + fi
  37555. +else
  37556. + as_ln_s='cp -pR'
  37557. +fi
  37558. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  37559. +rmdir conf$$.dir 2>/dev/null
  37560. +
  37561. +if mkdir -p . 2>/dev/null; then
  37562. + as_mkdir_p='mkdir -p "$as_dir"'
  37563. +else
  37564. + test -d ./-p && rmdir ./-p
  37565. + as_mkdir_p=false
  37566. +fi
  37567. +
  37568. +as_test_x='test -x'
  37569. +as_executable_p=as_fn_executable_p
  37570. +
  37571. +# Sed expression to map a string onto a valid CPP name.
  37572. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  37573. +
  37574. +# Sed expression to map a string onto a valid variable name.
  37575. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  37576. +
  37577. +
  37578. +test -n "$DJDIR" || exec 7<&0 </dev/null
  37579. +exec 6>&1
  37580. +
  37581. +# Name of the host.
  37582. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  37583. +# so uname gets run too.
  37584. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  37585. +
  37586. +#
  37587. +# Initializations.
  37588. +#
  37589. +ac_default_prefix=/usr/local
  37590. +ac_clean_files=
  37591. +ac_config_libobj_dir=.
  37592. +LIB@&t@OBJS=
  37593. +cross_compiling=no
  37594. +subdirs=
  37595. +MFLAGS=
  37596. +MAKEFLAGS=
  37597. +
  37598. +# Identity of this package.
  37599. +PACKAGE_NAME='GNU M4'
  37600. +PACKAGE_TARNAME='m4'
  37601. +PACKAGE_VERSION='1.4.16'
  37602. +PACKAGE_STRING='GNU M4 1.4.16'
  37603. +PACKAGE_BUGREPORT='bug-m4@gnu.org'
  37604. +PACKAGE_URL='http://www.gnu.org/software/m4/'
  37605. +
  37606. +ac_unique_file="src/m4.h"
  37607. +# Factoring default headers for most tests.
  37608. +ac_includes_default="\
  37609. +#include <stdio.h>
  37610. +#ifdef HAVE_SYS_TYPES_H
  37611. +# include <sys/types.h>
  37612. +#endif
  37613. +#ifdef HAVE_SYS_STAT_H
  37614. +# include <sys/stat.h>
  37615. +#endif
  37616. +#ifdef STDC_HEADERS
  37617. +# include <stdlib.h>
  37618. +# include <stddef.h>
  37619. +#else
  37620. +# ifdef HAVE_STDLIB_H
  37621. +# include <stdlib.h>
  37622. +# endif
  37623. +#endif
  37624. +#ifdef HAVE_STRING_H
  37625. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  37626. +# include <memory.h>
  37627. +# endif
  37628. +# include <string.h>
  37629. +#endif
  37630. +#ifdef HAVE_STRINGS_H
  37631. +# include <strings.h>
  37632. +#endif
  37633. +#ifdef HAVE_INTTYPES_H
  37634. +# include <inttypes.h>
  37635. +#endif
  37636. +#ifdef HAVE_STDINT_H
  37637. +# include <stdint.h>
  37638. +#endif
  37639. +#ifdef HAVE_UNISTD_H
  37640. +# include <unistd.h>
  37641. +#endif"
  37642. +
  37643. +gl_use_threads_default=
  37644. +ac_func_list=
  37645. +ac_header_list=
  37646. +gl_getopt_required=POSIX
  37647. +gl_getopt_required=POSIX
  37648. +ac_subst_vars='M4tests_LTLIBOBJS
  37649. +M4tests_LIBOBJS
  37650. +M4_LTLIBOBJS
  37651. +M4_LIBOBJS
  37652. +CONFIG_INCLUDE
  37653. +am__EXEEXT_FALSE
  37654. +am__EXEEXT_TRUE
  37655. +LTLIBOBJS
  37656. +LIB@&t@OBJS
  37657. +LIBTESTS_LIBDEPS
  37658. +LIBM4_LTLIBDEPS
  37659. +LIBM4_LIBDEPS
  37660. +abs_aux_dir
  37661. +POSIX_SPAWN_PORTED_FALSE
  37662. +POSIX_SPAWN_PORTED_TRUE
  37663. +INTL_MACOSX_LIBS
  37664. +NEXT_AS_FIRST_DIRECTIVE_LOCALE_H
  37665. +NEXT_LOCALE_H
  37666. +HAVE_XLOCALE_H
  37667. +REPLACE_DUPLOCALE
  37668. +REPLACE_SETLOCALE
  37669. +HAVE_DUPLOCALE
  37670. +GNULIB_DUPLOCALE
  37671. +GNULIB_SETLOCALE
  37672. +LOCALE_TR_UTF8
  37673. +am__fastdepCXX_FALSE
  37674. +am__fastdepCXX_TRUE
  37675. +CXXDEPMODE
  37676. +ANSICXX_FALSE
  37677. +ANSICXX_TRUE
  37678. +CXXFLAGS
  37679. +ac_ct_CXX
  37680. +CXX
  37681. +CXX_CHOICE
  37682. +M4tests_WITNESS
  37683. +REPLACE_ISWCNTRL
  37684. +HAVE_WCTYPE_H
  37685. +NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H
  37686. +NEXT_WCTYPE_H
  37687. +HAVE_ISWCNTRL
  37688. +REPLACE_ISWBLANK
  37689. +HAVE_WCTRANS_T
  37690. +HAVE_WCTYPE_T
  37691. +HAVE_ISWBLANK
  37692. +GNULIB_TOWCTRANS
  37693. +GNULIB_WCTRANS
  37694. +GNULIB_ISWCTYPE
  37695. +GNULIB_WCTYPE
  37696. +GNULIB_ISWBLANK
  37697. +HAVE_WINT_T
  37698. +NEXT_AS_FIRST_DIRECTIVE_WCHAR_H
  37699. +NEXT_WCHAR_H
  37700. +HAVE_FEATURES_H
  37701. +HAVE_UNISTD_H
  37702. +NEXT_AS_FIRST_DIRECTIVE_UNISTD_H
  37703. +NEXT_UNISTD_H
  37704. +PTHREAD_H_DEFINES_STRUCT_TIMESPEC
  37705. +SYS_TIME_H_DEFINES_STRUCT_TIMESPEC
  37706. +TIME_H_DEFINES_STRUCT_TIMESPEC
  37707. +NEXT_AS_FIRST_DIRECTIVE_TIME_H
  37708. +NEXT_TIME_H
  37709. +REPLACE_TIMEGM
  37710. +REPLACE_NANOSLEEP
  37711. +REPLACE_MKTIME
  37712. +REPLACE_LOCALTIME_R
  37713. +HAVE_TIMEGM
  37714. +HAVE_STRPTIME
  37715. +HAVE_NANOSLEEP
  37716. +HAVE_DECL_LOCALTIME_R
  37717. +GNULIB_TIME_R
  37718. +GNULIB_TIMEGM
  37719. +GNULIB_STRPTIME
  37720. +GNULIB_NANOSLEEP
  37721. +GNULIB_MKTIME
  37722. +NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H
  37723. +NEXT_SYS_WAIT_H
  37724. +GNULIB_WAITPID
  37725. +NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H
  37726. +NEXT_SYS_STAT_H
  37727. +NEXT_AS_FIRST_DIRECTIVE_STRING_H
  37728. +NEXT_STRING_H
  37729. +NEXT_AS_FIRST_DIRECTIVE_STDLIB_H
  37730. +NEXT_STDLIB_H
  37731. +NEXT_AS_FIRST_DIRECTIVE_STDIO_H
  37732. +NEXT_STDIO_H
  37733. +STDINT_H
  37734. +WINT_T_SUFFIX
  37735. +WCHAR_T_SUFFIX
  37736. +SIG_ATOMIC_T_SUFFIX
  37737. +SIZE_T_SUFFIX
  37738. +PTRDIFF_T_SUFFIX
  37739. +HAVE_SIGNED_WINT_T
  37740. +HAVE_SIGNED_WCHAR_T
  37741. +HAVE_SIGNED_SIG_ATOMIC_T
  37742. +BITSIZEOF_WINT_T
  37743. +BITSIZEOF_WCHAR_T
  37744. +BITSIZEOF_SIG_ATOMIC_T
  37745. +BITSIZEOF_SIZE_T
  37746. +BITSIZEOF_PTRDIFF_T
  37747. +HAVE_SYS_BITYPES_H
  37748. +HAVE_SYS_INTTYPES_H
  37749. +HAVE_STDINT_H
  37750. +NEXT_AS_FIRST_DIRECTIVE_STDINT_H
  37751. +NEXT_STDINT_H
  37752. +HAVE_SYS_TYPES_H
  37753. +HAVE_INTTYPES_H
  37754. +HAVE_WCHAR_H
  37755. +HAVE_UNSIGNED_LONG_LONG_INT
  37756. +HAVE_LONG_LONG_INT
  37757. +NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
  37758. +NEXT_STDDEF_H
  37759. +STDDEF_H
  37760. +HAVE_WCHAR_T
  37761. +REPLACE_NULL
  37762. +HAVE__BOOL
  37763. +STDBOOL_H
  37764. +NEXT_AS_FIRST_DIRECTIVE_STDARG_H
  37765. +NEXT_STDARG_H
  37766. +STDARG_H
  37767. +HAVE_SPAWN_H
  37768. +NEXT_AS_FIRST_DIRECTIVE_SPAWN_H
  37769. +NEXT_SPAWN_H
  37770. +NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H
  37771. +NEXT_SIGNAL_H
  37772. +HAVE_TYPE_VOLATILE_SIG_ATOMIC_T
  37773. +HAVE_STRUCT_SIGACTION_SA_SIGACTION
  37774. +HAVE_SIGACTION
  37775. +HAVE_SIGINFO_T
  37776. +HAVE_SIGSET_T
  37777. +HAVE_POSIX_SIGNALBLOCKING
  37778. +GNULIB_SIGACTION
  37779. +GNULIB_SIGPROCMASK
  37780. +GNULIB_SIGNAL_H_SIGPIPE
  37781. +SCHED_H
  37782. +HAVE_STRUCT_SCHED_PARAM
  37783. +HAVE_SCHED_H
  37784. +NEXT_AS_FIRST_DIRECTIVE_SCHED_H
  37785. +NEXT_SCHED_H
  37786. +REPLACE_POSIX_SPAWN
  37787. +HAVE_POSIX_SPAWN_FILE_ACTIONS_T
  37788. +HAVE_POSIX_SPAWNATTR_T
  37789. +HAVE_POSIX_SPAWN
  37790. +GNULIB_POSIX_SPAWNATTR_DESTROY
  37791. +GNULIB_POSIX_SPAWNATTR_SETSIGMASK
  37792. +GNULIB_POSIX_SPAWNATTR_GETSIGMASK
  37793. +GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT
  37794. +GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT
  37795. +GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY
  37796. +GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY
  37797. +GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM
  37798. +GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM
  37799. +GNULIB_POSIX_SPAWNATTR_SETPGROUP
  37800. +GNULIB_POSIX_SPAWNATTR_GETPGROUP
  37801. +GNULIB_POSIX_SPAWNATTR_SETFLAGS
  37802. +GNULIB_POSIX_SPAWNATTR_GETFLAGS
  37803. +GNULIB_POSIX_SPAWNATTR_INIT
  37804. +GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY
  37805. +GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN
  37806. +GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2
  37807. +GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE
  37808. +GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT
  37809. +GNULIB_POSIX_SPAWNP
  37810. +GNULIB_POSIX_SPAWN
  37811. +APPLE_UNIVERSAL_BUILD
  37812. +UNDEFINE_STRTOK_R
  37813. +REPLACE_STRTOK_R
  37814. +REPLACE_STRSIGNAL
  37815. +REPLACE_STRNLEN
  37816. +REPLACE_STRNDUP
  37817. +REPLACE_STRNCAT
  37818. +REPLACE_STRERROR_R
  37819. +REPLACE_STRERROR
  37820. +REPLACE_STRCASESTR
  37821. +REPLACE_STRSTR
  37822. +REPLACE_STRDUP
  37823. +REPLACE_STPNCPY
  37824. +REPLACE_MEMMEM
  37825. +REPLACE_MEMCHR
  37826. +HAVE_STRVERSCMP
  37827. +HAVE_DECL_STRSIGNAL
  37828. +HAVE_DECL_STRERROR_R
  37829. +HAVE_DECL_STRTOK_R
  37830. +HAVE_STRCASESTR
  37831. +HAVE_STRSEP
  37832. +HAVE_STRPBRK
  37833. +HAVE_DECL_STRNLEN
  37834. +HAVE_DECL_STRNDUP
  37835. +HAVE_DECL_STRDUP
  37836. +HAVE_STRCHRNUL
  37837. +HAVE_STPNCPY
  37838. +HAVE_STPCPY
  37839. +HAVE_RAWMEMCHR
  37840. +HAVE_DECL_MEMRCHR
  37841. +HAVE_MEMPCPY
  37842. +HAVE_DECL_MEMMEM
  37843. +HAVE_MEMCHR
  37844. +HAVE_MBSLEN
  37845. +GNULIB_STRVERSCMP
  37846. +GNULIB_STRSIGNAL
  37847. +GNULIB_STRERROR_R
  37848. +GNULIB_STRERROR
  37849. +GNULIB_MBSTOK_R
  37850. +GNULIB_MBSSEP
  37851. +GNULIB_MBSSPN
  37852. +GNULIB_MBSPBRK
  37853. +GNULIB_MBSCSPN
  37854. +GNULIB_MBSCASESTR
  37855. +GNULIB_MBSPCASECMP
  37856. +GNULIB_MBSNCASECMP
  37857. +GNULIB_MBSCASECMP
  37858. +GNULIB_MBSSTR
  37859. +GNULIB_MBSRCHR
  37860. +GNULIB_MBSCHR
  37861. +GNULIB_MBSNLEN
  37862. +GNULIB_MBSLEN
  37863. +GNULIB_STRTOK_R
  37864. +GNULIB_STRCASESTR
  37865. +GNULIB_STRSTR
  37866. +GNULIB_STRSEP
  37867. +GNULIB_STRPBRK
  37868. +GNULIB_STRNLEN
  37869. +GNULIB_STRNDUP
  37870. +GNULIB_STRNCAT
  37871. +GNULIB_STRDUP
  37872. +GNULIB_STRCHRNUL
  37873. +GNULIB_STPNCPY
  37874. +GNULIB_STPCPY
  37875. +GNULIB_RAWMEMCHR
  37876. +GNULIB_MEMRCHR
  37877. +GNULIB_MEMPCPY
  37878. +GNULIB_MEMMEM
  37879. +GNULIB_MEMCHR
  37880. +LOCALE_FR_UTF8
  37881. +LOCALE_ZH_CN
  37882. +LOCALE_JA
  37883. +NEXT_AS_FIRST_DIRECTIVE_MATH_H
  37884. +NEXT_MATH_H
  37885. +REPLACE_UTIMENSAT
  37886. +REPLACE_STAT
  37887. +REPLACE_MKNOD
  37888. +REPLACE_MKFIFO
  37889. +REPLACE_MKDIR
  37890. +REPLACE_LSTAT
  37891. +REPLACE_FUTIMENS
  37892. +REPLACE_FSTATAT
  37893. +REPLACE_FSTAT
  37894. +HAVE_UTIMENSAT
  37895. +HAVE_MKNODAT
  37896. +HAVE_MKNOD
  37897. +HAVE_MKFIFOAT
  37898. +HAVE_MKFIFO
  37899. +HAVE_MKDIRAT
  37900. +HAVE_LSTAT
  37901. +HAVE_LCHMOD
  37902. +HAVE_FUTIMENS
  37903. +HAVE_FSTATAT
  37904. +HAVE_FCHMODAT
  37905. +GNULIB_UTIMENSAT
  37906. +GNULIB_STAT
  37907. +GNULIB_MKNODAT
  37908. +GNULIB_MKNOD
  37909. +GNULIB_MKFIFOAT
  37910. +GNULIB_MKFIFO
  37911. +GNULIB_MKDIRAT
  37912. +GNULIB_LSTAT
  37913. +GNULIB_LCHMOD
  37914. +GNULIB_FUTIMENS
  37915. +GNULIB_FSTATAT
  37916. +GNULIB_FCHMODAT
  37917. +LTLIBMULTITHREAD
  37918. +LIBMULTITHREAD
  37919. +LTLIBTHREAD
  37920. +LIBTHREAD
  37921. +LIBPTH_PREFIX
  37922. +LTLIBPTH
  37923. +LIBPTH
  37924. +LOCALCHARSET_TESTS_ENVIRONMENT
  37925. +GLIBC21
  37926. +HAVE_LANGINFO_YESEXPR
  37927. +HAVE_LANGINFO_ERA
  37928. +HAVE_LANGINFO_T_FMT_AMPM
  37929. +HAVE_LANGINFO_CODESET
  37930. +HAVE_LANGINFO_H
  37931. +NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H
  37932. +NEXT_LANGINFO_H
  37933. +REPLACE_NL_LANGINFO
  37934. +HAVE_NL_LANGINFO
  37935. +GNULIB_NL_LANGINFO
  37936. +NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H
  37937. +NEXT_SYS_TIME_H
  37938. +REPLACE_GETTIMEOFDAY
  37939. +HAVE_SYS_TIME_H
  37940. +HAVE_STRUCT_TIMEVAL
  37941. +HAVE_GETTIMEOFDAY
  37942. +GNULIB_GETTIMEOFDAY
  37943. +LTLIBINTL
  37944. +LIBINTL
  37945. +GETOPT_H
  37946. +HAVE_GETOPT_H
  37947. +NEXT_AS_FIRST_DIRECTIVE_GETOPT_H
  37948. +NEXT_GETOPT_H
  37949. +REPLACE_TRUNCL
  37950. +REPLACE_TRUNCF
  37951. +REPLACE_TRUNC
  37952. +REPLACE_SIGNBIT_USING_GCC
  37953. +REPLACE_SIGNBIT
  37954. +REPLACE_ROUNDL
  37955. +REPLACE_ROUNDF
  37956. +REPLACE_ROUND
  37957. +REPLACE_NAN
  37958. +REPLACE_LDEXPL
  37959. +REPLACE_ISNAN
  37960. +REPLACE_ISINF
  37961. +REPLACE_ISFINITE
  37962. +REPLACE_HUGE_VAL
  37963. +REPLACE_FREXPL
  37964. +REPLACE_FREXP
  37965. +REPLACE_FLOORL
  37966. +REPLACE_FLOORF
  37967. +REPLACE_FLOOR
  37968. +REPLACE_CEILL
  37969. +REPLACE_CEILF
  37970. +REPLACE_CEIL
  37971. +HAVE_DECL_TRUNCL
  37972. +HAVE_DECL_TRUNCF
  37973. +HAVE_DECL_TRUNC
  37974. +HAVE_DECL_TANL
  37975. +HAVE_DECL_SQRTL
  37976. +HAVE_DECL_SINL
  37977. +HAVE_DECL_ROUNDL
  37978. +HAVE_DECL_ROUNDF
  37979. +HAVE_DECL_ROUND
  37980. +HAVE_DECL_LOGL
  37981. +HAVE_DECL_LOGB
  37982. +HAVE_DECL_LDEXPL
  37983. +HAVE_DECL_FREXPL
  37984. +HAVE_DECL_FLOORL
  37985. +HAVE_DECL_FLOORF
  37986. +HAVE_DECL_EXPL
  37987. +HAVE_DECL_COSL
  37988. +HAVE_DECL_CEILL
  37989. +HAVE_DECL_CEILF
  37990. +HAVE_DECL_ATANL
  37991. +HAVE_DECL_ASINL
  37992. +HAVE_DECL_ACOSL
  37993. +HAVE_TANL
  37994. +HAVE_SQRTL
  37995. +HAVE_SINL
  37996. +HAVE_LOGL
  37997. +HAVE_ISNANL
  37998. +HAVE_ISNAND
  37999. +HAVE_ISNANF
  38000. +HAVE_EXPL
  38001. +HAVE_COSL
  38002. +HAVE_ATANL
  38003. +HAVE_ASINL
  38004. +HAVE_ACOSL
  38005. +GNULIB_TRUNCL
  38006. +GNULIB_TRUNCF
  38007. +GNULIB_TRUNC
  38008. +GNULIB_TANL
  38009. +GNULIB_SQRTL
  38010. +GNULIB_SINL
  38011. +GNULIB_SIGNBIT
  38012. +GNULIB_ROUNDL
  38013. +GNULIB_ROUNDF
  38014. +GNULIB_ROUND
  38015. +GNULIB_LOGL
  38016. +GNULIB_LOGB
  38017. +GNULIB_LDEXPL
  38018. +GNULIB_ISNANL
  38019. +GNULIB_ISNAND
  38020. +GNULIB_ISNANF
  38021. +GNULIB_ISNAN
  38022. +GNULIB_ISINF
  38023. +GNULIB_ISFINITE
  38024. +GNULIB_FREXPL
  38025. +GNULIB_FREXP
  38026. +GNULIB_FLOORL
  38027. +GNULIB_FLOORF
  38028. +GNULIB_FLOOR
  38029. +GNULIB_EXPL
  38030. +GNULIB_COSL
  38031. +GNULIB_CEILL
  38032. +GNULIB_CEILF
  38033. +GNULIB_CEIL
  38034. +GNULIB_ATANL
  38035. +GNULIB_ASINL
  38036. +GNULIB_ACOSL
  38037. +FLOAT_H
  38038. +NEXT_AS_FIRST_DIRECTIVE_FLOAT_H
  38039. +NEXT_FLOAT_H
  38040. +NEXT_AS_FIRST_DIRECTIVE_FCNTL_H
  38041. +NEXT_FCNTL_H
  38042. +REPLACE_OPENAT
  38043. +REPLACE_OPEN
  38044. +REPLACE_FCNTL
  38045. +HAVE_OPENAT
  38046. +HAVE_FCNTL
  38047. +GNULIB_OPENAT
  38048. +GNULIB_OPEN
  38049. +GNULIB_FCNTL
  38050. +REPLACE_VSPRINTF
  38051. +REPLACE_VSNPRINTF
  38052. +REPLACE_VPRINTF
  38053. +REPLACE_VFPRINTF
  38054. +REPLACE_VDPRINTF
  38055. +REPLACE_VASPRINTF
  38056. +REPLACE_TMPFILE
  38057. +REPLACE_STDIO_WRITE_FUNCS
  38058. +REPLACE_SPRINTF
  38059. +REPLACE_SNPRINTF
  38060. +REPLACE_RENAMEAT
  38061. +REPLACE_RENAME
  38062. +REPLACE_REMOVE
  38063. +REPLACE_PRINTF
  38064. +REPLACE_POPEN
  38065. +REPLACE_PERROR
  38066. +REPLACE_OBSTACK_PRINTF
  38067. +REPLACE_GETLINE
  38068. +REPLACE_GETDELIM
  38069. +REPLACE_FTELLO
  38070. +REPLACE_FTELL
  38071. +REPLACE_FSEEKO
  38072. +REPLACE_FSEEK
  38073. +REPLACE_FREOPEN
  38074. +REPLACE_FPURGE
  38075. +REPLACE_FPRINTF
  38076. +REPLACE_FOPEN
  38077. +REPLACE_FFLUSH
  38078. +REPLACE_FCLOSE
  38079. +REPLACE_DPRINTF
  38080. +HAVE_VDPRINTF
  38081. +HAVE_VASPRINTF
  38082. +HAVE_RENAMEAT
  38083. +HAVE_FTELLO
  38084. +HAVE_FSEEKO
  38085. +HAVE_DPRINTF
  38086. +HAVE_DECL_VSNPRINTF
  38087. +HAVE_DECL_SNPRINTF
  38088. +HAVE_DECL_OBSTACK_PRINTF
  38089. +HAVE_DECL_GETLINE
  38090. +HAVE_DECL_GETDELIM
  38091. +HAVE_DECL_FTELLO
  38092. +HAVE_DECL_FSEEKO
  38093. +HAVE_DECL_FPURGE
  38094. +GNULIB_VSPRINTF_POSIX
  38095. +GNULIB_VSNPRINTF
  38096. +GNULIB_VPRINTF_POSIX
  38097. +GNULIB_VPRINTF
  38098. +GNULIB_VFPRINTF_POSIX
  38099. +GNULIB_VFPRINTF
  38100. +GNULIB_VDPRINTF
  38101. +GNULIB_VASPRINTF
  38102. +GNULIB_TMPFILE
  38103. +GNULIB_STDIO_H_SIGPIPE
  38104. +GNULIB_SPRINTF_POSIX
  38105. +GNULIB_SNPRINTF
  38106. +GNULIB_RENAMEAT
  38107. +GNULIB_RENAME
  38108. +GNULIB_REMOVE
  38109. +GNULIB_PUTS
  38110. +GNULIB_PUTCHAR
  38111. +GNULIB_PUTC
  38112. +GNULIB_PRINTF_POSIX
  38113. +GNULIB_PRINTF
  38114. +GNULIB_POPEN
  38115. +GNULIB_PERROR
  38116. +GNULIB_OBSTACK_PRINTF_POSIX
  38117. +GNULIB_OBSTACK_PRINTF
  38118. +GNULIB_GETLINE
  38119. +GNULIB_GETDELIM
  38120. +GNULIB_FWRITE
  38121. +GNULIB_FTELLO
  38122. +GNULIB_FTELL
  38123. +GNULIB_FSEEKO
  38124. +GNULIB_FSEEK
  38125. +GNULIB_FREOPEN
  38126. +GNULIB_FPUTS
  38127. +GNULIB_FPUTC
  38128. +GNULIB_FPURGE
  38129. +GNULIB_FPRINTF_POSIX
  38130. +GNULIB_FPRINTF
  38131. +GNULIB_FOPEN
  38132. +GNULIB_FFLUSH
  38133. +GNULIB_FCLOSE
  38134. +GNULIB_DPRINTF
  38135. +EOVERFLOW_VALUE
  38136. +EOVERFLOW_HIDDEN
  38137. +ENOLINK_VALUE
  38138. +ENOLINK_HIDDEN
  38139. +EMULTIHOP_VALUE
  38140. +EMULTIHOP_HIDDEN
  38141. +ERRNO_H
  38142. +NEXT_AS_FIRST_DIRECTIVE_ERRNO_H
  38143. +NEXT_ERRNO_H
  38144. +PRAGMA_COLUMNS
  38145. +PRAGMA_SYSTEM_HEADER
  38146. +INCLUDE_NEXT_AS_FIRST_DIRECTIVE
  38147. +INCLUDE_NEXT
  38148. +pkglibexecdir
  38149. +lispdir
  38150. +UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS
  38151. +UNISTD_H_HAVE_WINSOCK2_H
  38152. +REPLACE_WRITE
  38153. +REPLACE_USLEEP
  38154. +REPLACE_UNLINKAT
  38155. +REPLACE_UNLINK
  38156. +REPLACE_TTYNAME_R
  38157. +REPLACE_SYMLINK
  38158. +REPLACE_SLEEP
  38159. +REPLACE_RMDIR
  38160. +REPLACE_READLINK
  38161. +REPLACE_PWRITE
  38162. +REPLACE_PREAD
  38163. +REPLACE_LSEEK
  38164. +REPLACE_LINKAT
  38165. +REPLACE_LINK
  38166. +REPLACE_LCHOWN
  38167. +REPLACE_GETPAGESIZE
  38168. +REPLACE_GETGROUPS
  38169. +REPLACE_GETLOGIN_R
  38170. +REPLACE_GETDOMAINNAME
  38171. +REPLACE_GETCWD
  38172. +REPLACE_FCHOWNAT
  38173. +REPLACE_DUP2
  38174. +REPLACE_DUP
  38175. +REPLACE_CLOSE
  38176. +REPLACE_CHOWN
  38177. +HAVE_SYS_PARAM_H
  38178. +HAVE_OS_H
  38179. +HAVE_DECL_TTYNAME_R
  38180. +HAVE_DECL_GETUSERSHELL
  38181. +HAVE_DECL_GETPAGESIZE
  38182. +HAVE_DECL_GETLOGIN_R
  38183. +HAVE_DECL_GETDOMAINNAME
  38184. +HAVE_DECL_FCHDIR
  38185. +HAVE_DECL_ENVIRON
  38186. +HAVE_USLEEP
  38187. +HAVE_UNLINKAT
  38188. +HAVE_SYMLINKAT
  38189. +HAVE_SYMLINK
  38190. +HAVE_SLEEP
  38191. +HAVE_READLINKAT
  38192. +HAVE_READLINK
  38193. +HAVE_PWRITE
  38194. +HAVE_PREAD
  38195. +HAVE_PIPE2
  38196. +HAVE_PIPE
  38197. +HAVE_LINKAT
  38198. +HAVE_LINK
  38199. +HAVE_LCHOWN
  38200. +HAVE_GETPAGESIZE
  38201. +HAVE_GETLOGIN
  38202. +HAVE_GETHOSTNAME
  38203. +HAVE_GETGROUPS
  38204. +HAVE_GETDTABLESIZE
  38205. +HAVE_FTRUNCATE
  38206. +HAVE_FSYNC
  38207. +HAVE_FCHOWNAT
  38208. +HAVE_FCHDIR
  38209. +HAVE_FACCESSAT
  38210. +HAVE_EUIDACCESS
  38211. +HAVE_DUP3
  38212. +HAVE_DUP2
  38213. +HAVE_CHOWN
  38214. +GNULIB_WRITE
  38215. +GNULIB_USLEEP
  38216. +GNULIB_UNLINKAT
  38217. +GNULIB_UNLINK
  38218. +GNULIB_UNISTD_H_SIGPIPE
  38219. +GNULIB_UNISTD_H_GETOPT
  38220. +GNULIB_TTYNAME_R
  38221. +GNULIB_SYMLINKAT
  38222. +GNULIB_SYMLINK
  38223. +GNULIB_SLEEP
  38224. +GNULIB_RMDIR
  38225. +GNULIB_READLINKAT
  38226. +GNULIB_READLINK
  38227. +GNULIB_PWRITE
  38228. +GNULIB_PREAD
  38229. +GNULIB_PIPE2
  38230. +GNULIB_PIPE
  38231. +GNULIB_LSEEK
  38232. +GNULIB_LINKAT
  38233. +GNULIB_LINK
  38234. +GNULIB_LCHOWN
  38235. +GNULIB_GETUSERSHELL
  38236. +GNULIB_GETPAGESIZE
  38237. +GNULIB_GETLOGIN_R
  38238. +GNULIB_GETLOGIN
  38239. +GNULIB_GETHOSTNAME
  38240. +GNULIB_GETGROUPS
  38241. +GNULIB_GETDTABLESIZE
  38242. +GNULIB_GETDOMAINNAME
  38243. +GNULIB_GETCWD
  38244. +GNULIB_FTRUNCATE
  38245. +GNULIB_FSYNC
  38246. +GNULIB_FCHOWNAT
  38247. +GNULIB_FCHDIR
  38248. +GNULIB_FACCESSAT
  38249. +GNULIB_EUIDACCESS
  38250. +GNULIB_ENVIRON
  38251. +GNULIB_DUP3
  38252. +GNULIB_DUP2
  38253. +GNULIB_CLOSE
  38254. +GNULIB_CHOWN
  38255. +REPLACE_WCTOMB
  38256. +REPLACE_UNSETENV
  38257. +REPLACE_STRTOD
  38258. +REPLACE_SETENV
  38259. +REPLACE_REALPATH
  38260. +REPLACE_REALLOC
  38261. +REPLACE_PUTENV
  38262. +REPLACE_MKSTEMP
  38263. +REPLACE_MBTOWC
  38264. +REPLACE_MALLOC
  38265. +REPLACE_CANONICALIZE_FILE_NAME
  38266. +REPLACE_CALLOC
  38267. +HAVE_DECL_UNSETENV
  38268. +HAVE_UNLOCKPT
  38269. +HAVE_SYS_LOADAVG_H
  38270. +HAVE_STRUCT_RANDOM_DATA
  38271. +HAVE_STRTOULL
  38272. +HAVE_STRTOLL
  38273. +HAVE_STRTOD
  38274. +HAVE_DECL_SETENV
  38275. +HAVE_SETENV
  38276. +HAVE_RPMATCH
  38277. +HAVE_REALPATH
  38278. +HAVE_RANDOM_R
  38279. +HAVE_RANDOM_H
  38280. +HAVE_PTSNAME
  38281. +HAVE_MKSTEMPS
  38282. +HAVE_MKSTEMP
  38283. +HAVE_MKOSTEMPS
  38284. +HAVE_MKOSTEMP
  38285. +HAVE_MKDTEMP
  38286. +HAVE_GRANTPT
  38287. +HAVE_GETSUBOPT
  38288. +HAVE_DECL_GETLOADAVG
  38289. +HAVE_CANONICALIZE_FILE_NAME
  38290. +HAVE_ATOLL
  38291. +HAVE__EXIT
  38292. +GNULIB_WCTOMB
  38293. +GNULIB_UNSETENV
  38294. +GNULIB_UNLOCKPT
  38295. +GNULIB_SYSTEM_POSIX
  38296. +GNULIB_STRTOULL
  38297. +GNULIB_STRTOLL
  38298. +GNULIB_STRTOD
  38299. +GNULIB_SETENV
  38300. +GNULIB_RPMATCH
  38301. +GNULIB_REALPATH
  38302. +GNULIB_REALLOC_POSIX
  38303. +GNULIB_RANDOM_R
  38304. +GNULIB_PUTENV
  38305. +GNULIB_PTSNAME
  38306. +GNULIB_MKSTEMPS
  38307. +GNULIB_MKSTEMP
  38308. +GNULIB_MKOSTEMPS
  38309. +GNULIB_MKOSTEMP
  38310. +GNULIB_MKDTEMP
  38311. +GNULIB_MBTOWC
  38312. +GNULIB_MALLOC_POSIX
  38313. +GNULIB_GRANTPT
  38314. +GNULIB_GETSUBOPT
  38315. +GNULIB_GETLOADAVG
  38316. +GNULIB_CANONICALIZE_FILE_NAME
  38317. +GNULIB_CALLOC_POSIX
  38318. +GNULIB_ATOLL
  38319. +GNULIB__EXIT
  38320. +LTLIBCSTACK
  38321. +LIBCSTACK
  38322. +LIBSIGSEGV_PREFIX
  38323. +LTLIBSIGSEGV
  38324. +LIBSIGSEGV
  38325. +HAVE_LIBSIGSEGV
  38326. +LOCALE_FR
  38327. +REPLACE_WCSWIDTH
  38328. +REPLACE_WCWIDTH
  38329. +REPLACE_WCSNRTOMBS
  38330. +REPLACE_WCSRTOMBS
  38331. +REPLACE_WCRTOMB
  38332. +REPLACE_MBSNRTOWCS
  38333. +REPLACE_MBSRTOWCS
  38334. +REPLACE_MBRLEN
  38335. +REPLACE_MBRTOWC
  38336. +REPLACE_MBSINIT
  38337. +REPLACE_WCTOB
  38338. +REPLACE_BTOWC
  38339. +REPLACE_MBSTATE_T
  38340. +HAVE_DECL_WCWIDTH
  38341. +HAVE_DECL_WCTOB
  38342. +HAVE_WCSWIDTH
  38343. +HAVE_WCSTOK
  38344. +HAVE_WCSSTR
  38345. +HAVE_WCSPBRK
  38346. +HAVE_WCSSPN
  38347. +HAVE_WCSCSPN
  38348. +HAVE_WCSRCHR
  38349. +HAVE_WCSCHR
  38350. +HAVE_WCSDUP
  38351. +HAVE_WCSXFRM
  38352. +HAVE_WCSCOLL
  38353. +HAVE_WCSNCASECMP
  38354. +HAVE_WCSCASECMP
  38355. +HAVE_WCSNCMP
  38356. +HAVE_WCSCMP
  38357. +HAVE_WCSNCAT
  38358. +HAVE_WCSCAT
  38359. +HAVE_WCPNCPY
  38360. +HAVE_WCSNCPY
  38361. +HAVE_WCPCPY
  38362. +HAVE_WCSCPY
  38363. +HAVE_WCSNLEN
  38364. +HAVE_WCSLEN
  38365. +HAVE_WMEMSET
  38366. +HAVE_WMEMMOVE
  38367. +HAVE_WMEMCPY
  38368. +HAVE_WMEMCMP
  38369. +HAVE_WMEMCHR
  38370. +HAVE_WCSNRTOMBS
  38371. +HAVE_WCSRTOMBS
  38372. +HAVE_WCRTOMB
  38373. +HAVE_MBSNRTOWCS
  38374. +HAVE_MBSRTOWCS
  38375. +HAVE_MBRLEN
  38376. +HAVE_MBRTOWC
  38377. +HAVE_MBSINIT
  38378. +HAVE_BTOWC
  38379. +GNULIB_WCSWIDTH
  38380. +GNULIB_WCSTOK
  38381. +GNULIB_WCSSTR
  38382. +GNULIB_WCSPBRK
  38383. +GNULIB_WCSSPN
  38384. +GNULIB_WCSCSPN
  38385. +GNULIB_WCSRCHR
  38386. +GNULIB_WCSCHR
  38387. +GNULIB_WCSDUP
  38388. +GNULIB_WCSXFRM
  38389. +GNULIB_WCSCOLL
  38390. +GNULIB_WCSNCASECMP
  38391. +GNULIB_WCSCASECMP
  38392. +GNULIB_WCSNCMP
  38393. +GNULIB_WCSCMP
  38394. +GNULIB_WCSNCAT
  38395. +GNULIB_WCSCAT
  38396. +GNULIB_WCPNCPY
  38397. +GNULIB_WCSNCPY
  38398. +GNULIB_WCPCPY
  38399. +GNULIB_WCSCPY
  38400. +GNULIB_WCSNLEN
  38401. +GNULIB_WCSLEN
  38402. +GNULIB_WMEMSET
  38403. +GNULIB_WMEMMOVE
  38404. +GNULIB_WMEMCPY
  38405. +GNULIB_WMEMCMP
  38406. +GNULIB_WMEMCHR
  38407. +GNULIB_WCWIDTH
  38408. +GNULIB_WCSNRTOMBS
  38409. +GNULIB_WCSRTOMBS
  38410. +GNULIB_WCRTOMB
  38411. +GNULIB_MBSNRTOWCS
  38412. +GNULIB_MBSRTOWCS
  38413. +GNULIB_MBRLEN
  38414. +GNULIB_MBRTOWC
  38415. +GNULIB_MBSINIT
  38416. +GNULIB_WCTOB
  38417. +GNULIB_BTOWC
  38418. +ALLOCA_H
  38419. +ALLOCA
  38420. +GL_COND_LIBTOOL_FALSE
  38421. +GL_COND_LIBTOOL_TRUE
  38422. +WARN_CFLAGS
  38423. +WERROR_CFLAGS
  38424. +EGREP
  38425. +GREP
  38426. +CPP
  38427. +host_os
  38428. +host_vendor
  38429. +host_cpu
  38430. +host
  38431. +build_os
  38432. +build_vendor
  38433. +build_cpu
  38434. +build
  38435. +RANLIB
  38436. +am__fastdepCC_FALSE
  38437. +am__fastdepCC_TRUE
  38438. +CCDEPMODE
  38439. +am__nodep
  38440. +AMDEPBACKSLASH
  38441. +AMDEP_FALSE
  38442. +AMDEP_TRUE
  38443. +am__quote
  38444. +am__include
  38445. +DEPDIR
  38446. +OBJEXT
  38447. +EXEEXT
  38448. +ac_ct_CC
  38449. +CPPFLAGS
  38450. +LDFLAGS
  38451. +CFLAGS
  38452. +CC
  38453. +AM_BACKSLASH
  38454. +AM_DEFAULT_VERBOSITY
  38455. +AM_DEFAULT_V
  38456. +AM_V
  38457. +am__untar
  38458. +am__tar
  38459. +AMTAR
  38460. +am__leading_dot
  38461. +SET_MAKE
  38462. +AWK
  38463. +mkdir_p
  38464. +MKDIR_P
  38465. +INSTALL_STRIP_PROGRAM
  38466. +STRIP
  38467. +install_sh
  38468. +MAKEINFO
  38469. +AUTOHEADER
  38470. +AUTOMAKE
  38471. +AUTOCONF
  38472. +ACLOCAL
  38473. +VERSION
  38474. +PACKAGE
  38475. +CYGPATH_W
  38476. +am__isrc
  38477. +INSTALL_DATA
  38478. +INSTALL_SCRIPT
  38479. +INSTALL_PROGRAM
  38480. +target_alias
  38481. +host_alias
  38482. +build_alias
  38483. +LIBS
  38484. +ECHO_T
  38485. +ECHO_N
  38486. +ECHO_C
  38487. +DEFS
  38488. +mandir
  38489. +localedir
  38490. +libdir
  38491. +psdir
  38492. +pdfdir
  38493. +dvidir
  38494. +htmldir
  38495. +infodir
  38496. +docdir
  38497. +oldincludedir
  38498. +includedir
  38499. +localstatedir
  38500. +sharedstatedir
  38501. +sysconfdir
  38502. +datadir
  38503. +datarootdir
  38504. +libexecdir
  38505. +sbindir
  38506. +bindir
  38507. +program_transform_name
  38508. +prefix
  38509. +exec_prefix
  38510. +PACKAGE_URL
  38511. +PACKAGE_BUGREPORT
  38512. +PACKAGE_STRING
  38513. +PACKAGE_VERSION
  38514. +PACKAGE_TARNAME
  38515. +PACKAGE_NAME
  38516. +PATH_SEPARATOR
  38517. +SHELL'
  38518. +ac_subst_files=''
  38519. +ac_user_opts='
  38520. +enable_option_checking
  38521. +enable_silent_rules
  38522. +enable_dependency_tracking
  38523. +enable_threads
  38524. +enable_gcc_warnings
  38525. +enable_assert
  38526. +with_gnu_ld
  38527. +enable_rpath
  38528. +with_libsigsegv_prefix
  38529. +with_libpth_prefix
  38530. +enable_largefile
  38531. +with_included_regex
  38532. +with_packager
  38533. +with_packager_version
  38534. +with_packager_bug_reports
  38535. +enable_c__
  38536. +enable_changeword
  38537. +with_syscmd_shell
  38538. +with_dmalloc
  38539. +'
  38540. + ac_precious_vars='build_alias
  38541. +host_alias
  38542. +target_alias
  38543. +CC
  38544. +CFLAGS
  38545. +LDFLAGS
  38546. +LIBS
  38547. +CPPFLAGS
  38548. +CPP
  38549. +CXX
  38550. +CXXFLAGS'
  38551. +
  38552. +
  38553. +# Initialize some variables set by options.
  38554. +ac_init_help=
  38555. +ac_init_version=false
  38556. +ac_unrecognized_opts=
  38557. +ac_unrecognized_sep=
  38558. +# The variables have the same names as the options, with
  38559. +# dashes changed to underlines.
  38560. +cache_file=/dev/null
  38561. +exec_prefix=NONE
  38562. +no_create=
  38563. +no_recursion=
  38564. +prefix=NONE
  38565. +program_prefix=NONE
  38566. +program_suffix=NONE
  38567. +program_transform_name=s,x,x,
  38568. +silent=
  38569. +site=
  38570. +srcdir=
  38571. +verbose=
  38572. +x_includes=NONE
  38573. +x_libraries=NONE
  38574. +
  38575. +# Installation directory options.
  38576. +# These are left unexpanded so users can "make install exec_prefix=/foo"
  38577. +# and all the variables that are supposed to be based on exec_prefix
  38578. +# by default will actually change.
  38579. +# Use braces instead of parens because sh, perl, etc. also accept them.
  38580. +# (The list follows the same order as the GNU Coding Standards.)
  38581. +bindir='${exec_prefix}/bin'
  38582. +sbindir='${exec_prefix}/sbin'
  38583. +libexecdir='${exec_prefix}/libexec'
  38584. +datarootdir='${prefix}/share'
  38585. +datadir='${datarootdir}'
  38586. +sysconfdir='${prefix}/etc'
  38587. +sharedstatedir='${prefix}/com'
  38588. +localstatedir='${prefix}/var'
  38589. +includedir='${prefix}/include'
  38590. +oldincludedir='/usr/include'
  38591. +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  38592. +infodir='${datarootdir}/info'
  38593. +htmldir='${docdir}'
  38594. +dvidir='${docdir}'
  38595. +pdfdir='${docdir}'
  38596. +psdir='${docdir}'
  38597. +libdir='${exec_prefix}/lib'
  38598. +localedir='${datarootdir}/locale'
  38599. +mandir='${datarootdir}/man'
  38600. +
  38601. +ac_prev=
  38602. +ac_dashdash=
  38603. +for ac_option
  38604. +do
  38605. + # If the previous option needs an argument, assign it.
  38606. + if test -n "$ac_prev"; then
  38607. + eval $ac_prev=\$ac_option
  38608. + ac_prev=
  38609. + continue
  38610. + fi
  38611. +
  38612. + case $ac_option in
  38613. + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  38614. + *=) ac_optarg= ;;
  38615. + *) ac_optarg=yes ;;
  38616. + esac
  38617. +
  38618. + # Accept the important Cygnus configure options, so we can diagnose typos.
  38619. +
  38620. + case $ac_dashdash$ac_option in
  38621. + --)
  38622. + ac_dashdash=yes ;;
  38623. +
  38624. + -bindir | --bindir | --bindi | --bind | --bin | --bi)
  38625. + ac_prev=bindir ;;
  38626. + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  38627. + bindir=$ac_optarg ;;
  38628. +
  38629. + -build | --build | --buil | --bui | --bu)
  38630. + ac_prev=build_alias ;;
  38631. + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  38632. + build_alias=$ac_optarg ;;
  38633. +
  38634. + -cache-file | --cache-file | --cache-fil | --cache-fi \
  38635. + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  38636. + ac_prev=cache_file ;;
  38637. + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  38638. + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  38639. + cache_file=$ac_optarg ;;
  38640. +
  38641. + --config-cache | -C)
  38642. + cache_file=config.cache ;;
  38643. +
  38644. + -datadir | --datadir | --datadi | --datad)
  38645. + ac_prev=datadir ;;
  38646. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  38647. + datadir=$ac_optarg ;;
  38648. +
  38649. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  38650. + | --dataroo | --dataro | --datar)
  38651. + ac_prev=datarootdir ;;
  38652. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  38653. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  38654. + datarootdir=$ac_optarg ;;
  38655. +
  38656. + -disable-* | --disable-*)
  38657. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  38658. + # Reject names that are not valid shell variable names.
  38659. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  38660. + as_fn_error $? "invalid feature name: $ac_useropt"
  38661. + ac_useropt_orig=$ac_useropt
  38662. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  38663. + case $ac_user_opts in
  38664. + *"
  38665. +"enable_$ac_useropt"
  38666. +"*) ;;
  38667. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  38668. + ac_unrecognized_sep=', ';;
  38669. + esac
  38670. + eval enable_$ac_useropt=no ;;
  38671. +
  38672. + -docdir | --docdir | --docdi | --doc | --do)
  38673. + ac_prev=docdir ;;
  38674. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  38675. + docdir=$ac_optarg ;;
  38676. +
  38677. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  38678. + ac_prev=dvidir ;;
  38679. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  38680. + dvidir=$ac_optarg ;;
  38681. +
  38682. + -enable-* | --enable-*)
  38683. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  38684. + # Reject names that are not valid shell variable names.
  38685. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  38686. + as_fn_error $? "invalid feature name: $ac_useropt"
  38687. + ac_useropt_orig=$ac_useropt
  38688. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  38689. + case $ac_user_opts in
  38690. + *"
  38691. +"enable_$ac_useropt"
  38692. +"*) ;;
  38693. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  38694. + ac_unrecognized_sep=', ';;
  38695. + esac
  38696. + eval enable_$ac_useropt=\$ac_optarg ;;
  38697. +
  38698. + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  38699. + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  38700. + | --exec | --exe | --ex)
  38701. + ac_prev=exec_prefix ;;
  38702. + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  38703. + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  38704. + | --exec=* | --exe=* | --ex=*)
  38705. + exec_prefix=$ac_optarg ;;
  38706. +
  38707. + -gas | --gas | --ga | --g)
  38708. + # Obsolete; use --with-gas.
  38709. + with_gas=yes ;;
  38710. +
  38711. + -help | --help | --hel | --he | -h)
  38712. + ac_init_help=long ;;
  38713. + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  38714. + ac_init_help=recursive ;;
  38715. + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  38716. + ac_init_help=short ;;
  38717. +
  38718. + -host | --host | --hos | --ho)
  38719. + ac_prev=host_alias ;;
  38720. + -host=* | --host=* | --hos=* | --ho=*)
  38721. + host_alias=$ac_optarg ;;
  38722. +
  38723. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  38724. + ac_prev=htmldir ;;
  38725. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  38726. + | --ht=*)
  38727. + htmldir=$ac_optarg ;;
  38728. +
  38729. + -includedir | --includedir | --includedi | --included | --include \
  38730. + | --includ | --inclu | --incl | --inc)
  38731. + ac_prev=includedir ;;
  38732. + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  38733. + | --includ=* | --inclu=* | --incl=* | --inc=*)
  38734. + includedir=$ac_optarg ;;
  38735. +
  38736. + -infodir | --infodir | --infodi | --infod | --info | --inf)
  38737. + ac_prev=infodir ;;
  38738. + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  38739. + infodir=$ac_optarg ;;
  38740. +
  38741. + -libdir | --libdir | --libdi | --libd)
  38742. + ac_prev=libdir ;;
  38743. + -libdir=* | --libdir=* | --libdi=* | --libd=*)
  38744. + libdir=$ac_optarg ;;
  38745. +
  38746. + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  38747. + | --libexe | --libex | --libe)
  38748. + ac_prev=libexecdir ;;
  38749. + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  38750. + | --libexe=* | --libex=* | --libe=*)
  38751. + libexecdir=$ac_optarg ;;
  38752. +
  38753. + -localedir | --localedir | --localedi | --localed | --locale)
  38754. + ac_prev=localedir ;;
  38755. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  38756. + localedir=$ac_optarg ;;
  38757. +
  38758. + -localstatedir | --localstatedir | --localstatedi | --localstated \
  38759. + | --localstate | --localstat | --localsta | --localst | --locals)
  38760. + ac_prev=localstatedir ;;
  38761. + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  38762. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  38763. + localstatedir=$ac_optarg ;;
  38764. +
  38765. + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  38766. + ac_prev=mandir ;;
  38767. + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  38768. + mandir=$ac_optarg ;;
  38769. +
  38770. + -nfp | --nfp | --nf)
  38771. + # Obsolete; use --without-fp.
  38772. + with_fp=no ;;
  38773. +
  38774. + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  38775. + | --no-cr | --no-c | -n)
  38776. + no_create=yes ;;
  38777. +
  38778. + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  38779. + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  38780. + no_recursion=yes ;;
  38781. +
  38782. + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  38783. + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  38784. + | --oldin | --oldi | --old | --ol | --o)
  38785. + ac_prev=oldincludedir ;;
  38786. + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  38787. + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  38788. + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  38789. + oldincludedir=$ac_optarg ;;
  38790. +
  38791. + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  38792. + ac_prev=prefix ;;
  38793. + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  38794. + prefix=$ac_optarg ;;
  38795. +
  38796. + -program-prefix | --program-prefix | --program-prefi | --program-pref \
  38797. + | --program-pre | --program-pr | --program-p)
  38798. + ac_prev=program_prefix ;;
  38799. + -program-prefix=* | --program-prefix=* | --program-prefi=* \
  38800. + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  38801. + program_prefix=$ac_optarg ;;
  38802. +
  38803. + -program-suffix | --program-suffix | --program-suffi | --program-suff \
  38804. + | --program-suf | --program-su | --program-s)
  38805. + ac_prev=program_suffix ;;
  38806. + -program-suffix=* | --program-suffix=* | --program-suffi=* \
  38807. + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  38808. + program_suffix=$ac_optarg ;;
  38809. +
  38810. + -program-transform-name | --program-transform-name \
  38811. + | --program-transform-nam | --program-transform-na \
  38812. + | --program-transform-n | --program-transform- \
  38813. + | --program-transform | --program-transfor \
  38814. + | --program-transfo | --program-transf \
  38815. + | --program-trans | --program-tran \
  38816. + | --progr-tra | --program-tr | --program-t)
  38817. + ac_prev=program_transform_name ;;
  38818. + -program-transform-name=* | --program-transform-name=* \
  38819. + | --program-transform-nam=* | --program-transform-na=* \
  38820. + | --program-transform-n=* | --program-transform-=* \
  38821. + | --program-transform=* | --program-transfor=* \
  38822. + | --program-transfo=* | --program-transf=* \
  38823. + | --program-trans=* | --program-tran=* \
  38824. + | --progr-tra=* | --program-tr=* | --program-t=*)
  38825. + program_transform_name=$ac_optarg ;;
  38826. +
  38827. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  38828. + ac_prev=pdfdir ;;
  38829. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  38830. + pdfdir=$ac_optarg ;;
  38831. +
  38832. + -psdir | --psdir | --psdi | --psd | --ps)
  38833. + ac_prev=psdir ;;
  38834. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  38835. + psdir=$ac_optarg ;;
  38836. +
  38837. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  38838. + | -silent | --silent | --silen | --sile | --sil)
  38839. + silent=yes ;;
  38840. +
  38841. + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  38842. + ac_prev=sbindir ;;
  38843. + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  38844. + | --sbi=* | --sb=*)
  38845. + sbindir=$ac_optarg ;;
  38846. +
  38847. + -sharedstatedir | --sharedstatedir | --sharedstatedi \
  38848. + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  38849. + | --sharedst | --shareds | --shared | --share | --shar \
  38850. + | --sha | --sh)
  38851. + ac_prev=sharedstatedir ;;
  38852. + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  38853. + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  38854. + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  38855. + | --sha=* | --sh=*)
  38856. + sharedstatedir=$ac_optarg ;;
  38857. +
  38858. + -site | --site | --sit)
  38859. + ac_prev=site ;;
  38860. + -site=* | --site=* | --sit=*)
  38861. + site=$ac_optarg ;;
  38862. +
  38863. + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  38864. + ac_prev=srcdir ;;
  38865. + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  38866. + srcdir=$ac_optarg ;;
  38867. +
  38868. + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  38869. + | --syscon | --sysco | --sysc | --sys | --sy)
  38870. + ac_prev=sysconfdir ;;
  38871. + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  38872. + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  38873. + sysconfdir=$ac_optarg ;;
  38874. +
  38875. + -target | --target | --targe | --targ | --tar | --ta | --t)
  38876. + ac_prev=target_alias ;;
  38877. + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  38878. + target_alias=$ac_optarg ;;
  38879. +
  38880. + -v | -verbose | --verbose | --verbos | --verbo | --verb)
  38881. + verbose=yes ;;
  38882. +
  38883. + -version | --version | --versio | --versi | --vers | -V)
  38884. + ac_init_version=: ;;
  38885. +
  38886. + -with-* | --with-*)
  38887. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  38888. + # Reject names that are not valid shell variable names.
  38889. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  38890. + as_fn_error $? "invalid package name: $ac_useropt"
  38891. + ac_useropt_orig=$ac_useropt
  38892. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  38893. + case $ac_user_opts in
  38894. + *"
  38895. +"with_$ac_useropt"
  38896. +"*) ;;
  38897. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  38898. + ac_unrecognized_sep=', ';;
  38899. + esac
  38900. + eval with_$ac_useropt=\$ac_optarg ;;
  38901. +
  38902. + -without-* | --without-*)
  38903. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  38904. + # Reject names that are not valid shell variable names.
  38905. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  38906. + as_fn_error $? "invalid package name: $ac_useropt"
  38907. + ac_useropt_orig=$ac_useropt
  38908. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  38909. + case $ac_user_opts in
  38910. + *"
  38911. +"with_$ac_useropt"
  38912. +"*) ;;
  38913. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  38914. + ac_unrecognized_sep=', ';;
  38915. + esac
  38916. + eval with_$ac_useropt=no ;;
  38917. +
  38918. + --x)
  38919. + # Obsolete; use --with-x.
  38920. + with_x=yes ;;
  38921. +
  38922. + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  38923. + | --x-incl | --x-inc | --x-in | --x-i)
  38924. + ac_prev=x_includes ;;
  38925. + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  38926. + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  38927. + x_includes=$ac_optarg ;;
  38928. +
  38929. + -x-libraries | --x-libraries | --x-librarie | --x-librari \
  38930. + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  38931. + ac_prev=x_libraries ;;
  38932. + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  38933. + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  38934. + x_libraries=$ac_optarg ;;
  38935. +
  38936. + -*) as_fn_error $? "unrecognized option: \`$ac_option'
  38937. +Try \`$0 --help' for more information"
  38938. + ;;
  38939. +
  38940. + *=*)
  38941. + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  38942. + # Reject names that are not valid shell variable names.
  38943. + case $ac_envvar in #(
  38944. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  38945. + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  38946. + esac
  38947. + eval $ac_envvar=\$ac_optarg
  38948. + export $ac_envvar ;;
  38949. +
  38950. + *)
  38951. + # FIXME: should be removed in autoconf 3.0.
  38952. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  38953. + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  38954. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  38955. + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  38956. + ;;
  38957. +
  38958. + esac
  38959. +done
  38960. +
  38961. +if test -n "$ac_prev"; then
  38962. + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  38963. + as_fn_error $? "missing argument to $ac_option"
  38964. +fi
  38965. +
  38966. +if test -n "$ac_unrecognized_opts"; then
  38967. + case $enable_option_checking in
  38968. + no) ;;
  38969. + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  38970. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  38971. + esac
  38972. +fi
  38973. +
  38974. +# Check all directory arguments for consistency.
  38975. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  38976. + datadir sysconfdir sharedstatedir localstatedir includedir \
  38977. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  38978. + libdir localedir mandir
  38979. +do
  38980. + eval ac_val=\$$ac_var
  38981. + # Remove trailing slashes.
  38982. + case $ac_val in
  38983. + */ )
  38984. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  38985. + eval $ac_var=\$ac_val;;
  38986. + esac
  38987. + # Be sure to have absolute directory names.
  38988. + case $ac_val in
  38989. + [\\/$]* | ?:[\\/]* ) continue;;
  38990. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  38991. + esac
  38992. + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  38993. +done
  38994. +
  38995. +# There might be people who depend on the old broken behavior: `$host'
  38996. +# used to hold the argument of --host etc.
  38997. +# FIXME: To remove some day.
  38998. +build=$build_alias
  38999. +host=$host_alias
  39000. +target=$target_alias
  39001. +
  39002. +# FIXME: To remove some day.
  39003. +if test "x$host_alias" != x; then
  39004. + if test "x$build_alias" = x; then
  39005. + cross_compiling=maybe
  39006. + elif test "x$build_alias" != "x$host_alias"; then
  39007. + cross_compiling=yes
  39008. + fi
  39009. +fi
  39010. +
  39011. +ac_tool_prefix=
  39012. +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  39013. +
  39014. +test "$silent" = yes && exec 6>/dev/null
  39015. +
  39016. +
  39017. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  39018. +ac_ls_di=`ls -di .` &&
  39019. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  39020. + as_fn_error $? "working directory cannot be determined"
  39021. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  39022. + as_fn_error $? "pwd does not report name of working directory"
  39023. +
  39024. +
  39025. +# Find the source files, if location was not specified.
  39026. +if test -z "$srcdir"; then
  39027. + ac_srcdir_defaulted=yes
  39028. + # Try the directory containing this script, then the parent directory.
  39029. + ac_confdir=`$as_dirname -- "$as_myself" ||
  39030. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  39031. + X"$as_myself" : 'X\(//\)[^/]' \| \
  39032. + X"$as_myself" : 'X\(//\)$' \| \
  39033. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  39034. +$as_echo X"$as_myself" |
  39035. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  39036. + s//\1/
  39037. + q
  39038. + }
  39039. + /^X\(\/\/\)[^/].*/{
  39040. + s//\1/
  39041. + q
  39042. + }
  39043. + /^X\(\/\/\)$/{
  39044. + s//\1/
  39045. + q
  39046. + }
  39047. + /^X\(\/\).*/{
  39048. + s//\1/
  39049. + q
  39050. + }
  39051. + s/.*/./; q'`
  39052. + srcdir=$ac_confdir
  39053. + if test ! -r "$srcdir/$ac_unique_file"; then
  39054. + srcdir=..
  39055. + fi
  39056. +else
  39057. + ac_srcdir_defaulted=no
  39058. +fi
  39059. +if test ! -r "$srcdir/$ac_unique_file"; then
  39060. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  39061. + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  39062. +fi
  39063. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  39064. +ac_abs_confdir=`(
  39065. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  39066. + pwd)`
  39067. +# When building in place, set srcdir=.
  39068. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  39069. + srcdir=.
  39070. +fi
  39071. +# Remove unnecessary trailing slashes from srcdir.
  39072. +# Double slashes in file names in object file debugging info
  39073. +# mess up M-x gdb in Emacs.
  39074. +case $srcdir in
  39075. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  39076. +esac
  39077. +for ac_var in $ac_precious_vars; do
  39078. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  39079. + eval ac_env_${ac_var}_value=\$${ac_var}
  39080. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  39081. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  39082. +done
  39083. +
  39084. +#
  39085. +# Report the --help message.
  39086. +#
  39087. +if test "$ac_init_help" = "long"; then
  39088. + # Omit some internal or obsolete options to make the list less imposing.
  39089. + # This message is too long to be a string in the A/UX 3.1 sh.
  39090. + cat <<_ACEOF
  39091. +\`configure' configures GNU M4 1.4.16 to adapt to many kinds of systems.
  39092. +
  39093. +Usage: $0 [OPTION]... [VAR=VALUE]...
  39094. +
  39095. +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  39096. +VAR=VALUE. See below for descriptions of some of the useful variables.
  39097. +
  39098. +Defaults for the options are specified in brackets.
  39099. +
  39100. +Configuration:
  39101. + -h, --help display this help and exit
  39102. + --help=short display options specific to this package
  39103. + --help=recursive display the short help of all the included packages
  39104. + -V, --version display version information and exit
  39105. + -q, --quiet, --silent do not print \`checking ...' messages
  39106. + --cache-file=FILE cache test results in FILE [disabled]
  39107. + -C, --config-cache alias for \`--cache-file=config.cache'
  39108. + -n, --no-create do not create output files
  39109. + --srcdir=DIR find the sources in DIR [configure dir or \`..']
  39110. +
  39111. +Installation directories:
  39112. + --prefix=PREFIX install architecture-independent files in PREFIX
  39113. + @<:@@S|@ac_default_prefix@:>@
  39114. + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  39115. + @<:@PREFIX@:>@
  39116. +
  39117. +By default, \`make install' will install all the files in
  39118. +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  39119. +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  39120. +for instance \`--prefix=\$HOME'.
  39121. +
  39122. +For better control, use the options below.
  39123. +
  39124. +Fine tuning of the installation directories:
  39125. + --bindir=DIR user executables [EPREFIX/bin]
  39126. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  39127. + --libexecdir=DIR program executables [EPREFIX/libexec]
  39128. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  39129. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  39130. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  39131. + --libdir=DIR object code libraries [EPREFIX/lib]
  39132. + --includedir=DIR C header files [PREFIX/include]
  39133. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  39134. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  39135. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  39136. + --infodir=DIR info documentation [DATAROOTDIR/info]
  39137. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  39138. + --mandir=DIR man documentation [DATAROOTDIR/man]
  39139. + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/m4@:>@
  39140. + --htmldir=DIR html documentation [DOCDIR]
  39141. + --dvidir=DIR dvi documentation [DOCDIR]
  39142. + --pdfdir=DIR pdf documentation [DOCDIR]
  39143. + --psdir=DIR ps documentation [DOCDIR]
  39144. +_ACEOF
  39145. +
  39146. + cat <<\_ACEOF
  39147. +
  39148. +Program names:
  39149. + --program-prefix=PREFIX prepend PREFIX to installed program names
  39150. + --program-suffix=SUFFIX append SUFFIX to installed program names
  39151. + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  39152. +
  39153. +System types:
  39154. + --build=BUILD configure for building on BUILD [guessed]
  39155. + --host=HOST cross-compile to build programs to run on HOST [BUILD]
  39156. +_ACEOF
  39157. +fi
  39158. +
  39159. +if test -n "$ac_init_help"; then
  39160. + case $ac_init_help in
  39161. + short | recursive ) echo "Configuration of GNU M4 1.4.16:";;
  39162. + esac
  39163. + cat <<\_ACEOF
  39164. +
  39165. +Optional Features:
  39166. + --disable-option-checking ignore unrecognized --enable/--with options
  39167. + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  39168. + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  39169. + --enable-silent-rules less verbose build output (undo: "make V=1")
  39170. + --disable-silent-rules verbose build output (undo: "make V=0")
  39171. + --enable-dependency-tracking
  39172. + do not reject slow dependency extractors
  39173. + --disable-dependency-tracking
  39174. + speeds up one-time build
  39175. + --enable-threads={posix|solaris|pth|win32}
  39176. + specify multithreading API
  39177. + --disable-threads build without multithread safety
  39178. + --enable-gcc-warnings turn on lots of GCC warnings (for developers)
  39179. + --disable-assert turn off assertions
  39180. + --disable-rpath do not hardcode runtime library paths
  39181. + --disable-largefile omit support for large files
  39182. + --enable-c++ also build C++ sources
  39183. + --enable-changeword enable -W and changeword() builtin
  39184. +
  39185. +Optional Packages:
  39186. + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  39187. + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  39188. + --with-gnu-ld assume the C compiler uses GNU ld default=no
  39189. + --with-libsigsegv-prefix[=DIR] search for libsigsegv in DIR/include and DIR/lib
  39190. + --without-libsigsegv-prefix don't search for libsigsegv in includedir and libdir
  39191. + --with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib
  39192. + --without-libpth-prefix don't search for libpth in includedir and libdir
  39193. + --without-included-regex
  39194. + don't compile regex; this is the default on systems
  39195. + with recent-enough versions of the GNU C Library
  39196. + (use with caution on other systems).
  39197. + --with-packager String identifying the packager of this software
  39198. + --with-packager-version Packager-specific version information
  39199. + --with-packager-bug-reports
  39200. + Packager info for bug reports (URL/e-mail/...)
  39201. + --with-syscmd-shell shell used by syscmd @<:@/bin/sh@:>@
  39202. + --with-dmalloc use dmalloc, as in dmalloc.tar.gz from
  39203. + @/ftp.antaire.com:antaire/src/dmalloc.
  39204. +
  39205. +Some influential environment variables:
  39206. + CC C compiler command
  39207. + CFLAGS C compiler flags
  39208. + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  39209. + nonstandard directory <lib dir>
  39210. + LIBS libraries to pass to the linker, e.g. -l<library>
  39211. + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  39212. + you have headers in a nonstandard directory <include dir>
  39213. + CPP C preprocessor
  39214. + CXX C++ compiler command
  39215. + CXXFLAGS C++ compiler flags
  39216. +
  39217. +Use these variables to override the choices made by `configure' or to help
  39218. +it to find libraries and programs with nonstandard names/locations.
  39219. +
  39220. +Report bugs to <bug-m4@gnu.org>.
  39221. +GNU M4 home page: <http://www.gnu.org/software/m4/>.
  39222. +General help using GNU software: <http://www.gnu.org/gethelp/>.
  39223. +_ACEOF
  39224. +ac_status=$?
  39225. +fi
  39226. +
  39227. +if test "$ac_init_help" = "recursive"; then
  39228. + # If there are subdirs, report their specific --help.
  39229. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  39230. + test -d "$ac_dir" ||
  39231. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  39232. + continue
  39233. + ac_builddir=.
  39234. +
  39235. +case "$ac_dir" in
  39236. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  39237. +*)
  39238. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  39239. + # A ".." for each directory in $ac_dir_suffix.
  39240. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  39241. + case $ac_top_builddir_sub in
  39242. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  39243. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  39244. + esac ;;
  39245. +esac
  39246. +ac_abs_top_builddir=$ac_pwd
  39247. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  39248. +# for backward compatibility:
  39249. +ac_top_builddir=$ac_top_build_prefix
  39250. +
  39251. +case $srcdir in
  39252. + .) # We are building in place.
  39253. + ac_srcdir=.
  39254. + ac_top_srcdir=$ac_top_builddir_sub
  39255. + ac_abs_top_srcdir=$ac_pwd ;;
  39256. + [\\/]* | ?:[\\/]* ) # Absolute name.
  39257. + ac_srcdir=$srcdir$ac_dir_suffix;
  39258. + ac_top_srcdir=$srcdir
  39259. + ac_abs_top_srcdir=$srcdir ;;
  39260. + *) # Relative name.
  39261. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  39262. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  39263. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  39264. +esac
  39265. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  39266. +
  39267. + cd "$ac_dir" || { ac_status=$?; continue; }
  39268. + # Check for guested configure.
  39269. + if test -f "$ac_srcdir/configure.gnu"; then
  39270. + echo &&
  39271. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  39272. + elif test -f "$ac_srcdir/configure"; then
  39273. + echo &&
  39274. + $SHELL "$ac_srcdir/configure" --help=recursive
  39275. + else
  39276. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  39277. + fi || ac_status=$?
  39278. + cd "$ac_pwd" || { ac_status=$?; break; }
  39279. + done
  39280. +fi
  39281. +
  39282. +test -n "$ac_init_help" && exit $ac_status
  39283. +if $ac_init_version; then
  39284. + cat <<\_ACEOF
  39285. +GNU M4 configure 1.4.16
  39286. +generated by GNU Autoconf 2.69
  39287. +
  39288. +Copyright (C) 2012 Free Software Foundation, Inc.
  39289. +This configure script is free software; the Free Software Foundation
  39290. +gives unlimited permission to copy, distribute and modify it.
  39291. +_ACEOF
  39292. + exit
  39293. +fi
  39294. +
  39295. +## ------------------------ ##
  39296. +## Autoconf initialization. ##
  39297. +## ------------------------ ##
  39298. +
  39299. +@%:@ ac_fn_c_try_compile LINENO
  39300. +@%:@ --------------------------
  39301. +@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  39302. +ac_fn_c_try_compile ()
  39303. +{
  39304. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  39305. + rm -f conftest.$ac_objext
  39306. + if { { ac_try="$ac_compile"
  39307. +case "(($ac_try" in
  39308. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  39309. + *) ac_try_echo=$ac_try;;
  39310. +esac
  39311. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  39312. +$as_echo "$ac_try_echo"; } >&5
  39313. + (eval "$ac_compile") 2>conftest.err
  39314. + ac_status=$?
  39315. + if test -s conftest.err; then
  39316. + grep -v '^ *+' conftest.err >conftest.er1
  39317. + cat conftest.er1 >&5
  39318. + mv -f conftest.er1 conftest.err
  39319. + fi
  39320. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  39321. + test $ac_status = 0; } && {
  39322. + test -z "$ac_c_werror_flag" ||
  39323. + test ! -s conftest.err
  39324. + } && test -s conftest.$ac_objext; then :
  39325. + ac_retval=0
  39326. +else
  39327. + $as_echo "$as_me: failed program was:" >&5
  39328. +sed 's/^/| /' conftest.$ac_ext >&5
  39329. +
  39330. + ac_retval=1
  39331. +fi
  39332. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  39333. + as_fn_set_status $ac_retval
  39334. +
  39335. +} @%:@ ac_fn_c_try_compile
  39336. +
  39337. +@%:@ ac_fn_c_try_cpp LINENO
  39338. +@%:@ ----------------------
  39339. +@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
  39340. +ac_fn_c_try_cpp ()
  39341. +{
  39342. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  39343. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  39344. +case "(($ac_try" in
  39345. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  39346. + *) ac_try_echo=$ac_try;;
  39347. +esac
  39348. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  39349. +$as_echo "$ac_try_echo"; } >&5
  39350. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  39351. + ac_status=$?
  39352. + if test -s conftest.err; then
  39353. + grep -v '^ *+' conftest.err >conftest.er1
  39354. + cat conftest.er1 >&5
  39355. + mv -f conftest.er1 conftest.err
  39356. + fi
  39357. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  39358. + test $ac_status = 0; } > conftest.i && {
  39359. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  39360. + test ! -s conftest.err
  39361. + }; then :
  39362. + ac_retval=0
  39363. +else
  39364. + $as_echo "$as_me: failed program was:" >&5
  39365. +sed 's/^/| /' conftest.$ac_ext >&5
  39366. +
  39367. + ac_retval=1
  39368. +fi
  39369. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  39370. + as_fn_set_status $ac_retval
  39371. +
  39372. +} @%:@ ac_fn_c_try_cpp
  39373. +
  39374. +@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  39375. +@%:@ -------------------------------------------------------
  39376. +@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
  39377. +@%:@ the include files in INCLUDES and setting the cache variable VAR
  39378. +@%:@ accordingly.
  39379. +ac_fn_c_check_header_mongrel ()
  39380. +{
  39381. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  39382. + if eval \${$3+:} false; then :
  39383. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  39384. +$as_echo_n "checking for $2... " >&6; }
  39385. +if eval \${$3+:} false; then :
  39386. + $as_echo_n "(cached) " >&6
  39387. +fi
  39388. +eval ac_res=\$$3
  39389. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  39390. +$as_echo "$ac_res" >&6; }
  39391. +else
  39392. + # Is the header compilable?
  39393. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  39394. +$as_echo_n "checking $2 usability... " >&6; }
  39395. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39396. +/* end confdefs.h. */
  39397. +$4
  39398. +@%:@include <$2>
  39399. +_ACEOF
  39400. +if ac_fn_c_try_compile "$LINENO"; then :
  39401. + ac_header_compiler=yes
  39402. +else
  39403. + ac_header_compiler=no
  39404. +fi
  39405. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39406. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  39407. +$as_echo "$ac_header_compiler" >&6; }
  39408. +
  39409. +# Is the header present?
  39410. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  39411. +$as_echo_n "checking $2 presence... " >&6; }
  39412. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39413. +/* end confdefs.h. */
  39414. +@%:@include <$2>
  39415. +_ACEOF
  39416. +if ac_fn_c_try_cpp "$LINENO"; then :
  39417. + ac_header_preproc=yes
  39418. +else
  39419. + ac_header_preproc=no
  39420. +fi
  39421. +rm -f conftest.err conftest.i conftest.$ac_ext
  39422. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  39423. +$as_echo "$ac_header_preproc" >&6; }
  39424. +
  39425. +# So? What about this header?
  39426. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  39427. + yes:no: )
  39428. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  39429. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  39430. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  39431. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  39432. + ;;
  39433. + no:yes:* )
  39434. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  39435. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  39436. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  39437. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  39438. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  39439. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  39440. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  39441. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  39442. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  39443. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  39444. +( $as_echo "## ----------------------------- ##
  39445. +## Report this to bug-m4@gnu.org ##
  39446. +## ----------------------------- ##"
  39447. + ) | sed "s/^/$as_me: WARNING: /" >&2
  39448. + ;;
  39449. +esac
  39450. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  39451. +$as_echo_n "checking for $2... " >&6; }
  39452. +if eval \${$3+:} false; then :
  39453. + $as_echo_n "(cached) " >&6
  39454. +else
  39455. + eval "$3=\$ac_header_compiler"
  39456. +fi
  39457. +eval ac_res=\$$3
  39458. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  39459. +$as_echo "$ac_res" >&6; }
  39460. +fi
  39461. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  39462. +
  39463. +} @%:@ ac_fn_c_check_header_mongrel
  39464. +
  39465. +@%:@ ac_fn_c_try_run LINENO
  39466. +@%:@ ----------------------
  39467. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
  39468. +@%:@ that executables *can* be run.
  39469. +ac_fn_c_try_run ()
  39470. +{
  39471. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  39472. + if { { ac_try="$ac_link"
  39473. +case "(($ac_try" in
  39474. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  39475. + *) ac_try_echo=$ac_try;;
  39476. +esac
  39477. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  39478. +$as_echo "$ac_try_echo"; } >&5
  39479. + (eval "$ac_link") 2>&5
  39480. + ac_status=$?
  39481. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  39482. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  39483. + { { case "(($ac_try" in
  39484. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  39485. + *) ac_try_echo=$ac_try;;
  39486. +esac
  39487. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  39488. +$as_echo "$ac_try_echo"; } >&5
  39489. + (eval "$ac_try") 2>&5
  39490. + ac_status=$?
  39491. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  39492. + test $ac_status = 0; }; }; then :
  39493. + ac_retval=0
  39494. +else
  39495. + $as_echo "$as_me: program exited with status $ac_status" >&5
  39496. + $as_echo "$as_me: failed program was:" >&5
  39497. +sed 's/^/| /' conftest.$ac_ext >&5
  39498. +
  39499. + ac_retval=$ac_status
  39500. +fi
  39501. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  39502. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  39503. + as_fn_set_status $ac_retval
  39504. +
  39505. +} @%:@ ac_fn_c_try_run
  39506. +
  39507. +@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  39508. +@%:@ -------------------------------------------------------
  39509. +@%:@ Tests whether HEADER exists and can be compiled using the include files in
  39510. +@%:@ INCLUDES, setting the cache variable VAR accordingly.
  39511. +ac_fn_c_check_header_compile ()
  39512. +{
  39513. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  39514. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  39515. +$as_echo_n "checking for $2... " >&6; }
  39516. +if eval \${$3+:} false; then :
  39517. + $as_echo_n "(cached) " >&6
  39518. +else
  39519. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39520. +/* end confdefs.h. */
  39521. +$4
  39522. +@%:@include <$2>
  39523. +_ACEOF
  39524. +if ac_fn_c_try_compile "$LINENO"; then :
  39525. + eval "$3=yes"
  39526. +else
  39527. + eval "$3=no"
  39528. +fi
  39529. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39530. +fi
  39531. +eval ac_res=\$$3
  39532. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  39533. +$as_echo "$ac_res" >&6; }
  39534. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  39535. +
  39536. +} @%:@ ac_fn_c_check_header_compile
  39537. +
  39538. +@%:@ ac_fn_c_try_link LINENO
  39539. +@%:@ -----------------------
  39540. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
  39541. +ac_fn_c_try_link ()
  39542. +{
  39543. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  39544. + rm -f conftest.$ac_objext conftest$ac_exeext
  39545. + if { { ac_try="$ac_link"
  39546. +case "(($ac_try" in
  39547. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  39548. + *) ac_try_echo=$ac_try;;
  39549. +esac
  39550. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  39551. +$as_echo "$ac_try_echo"; } >&5
  39552. + (eval "$ac_link") 2>conftest.err
  39553. + ac_status=$?
  39554. + if test -s conftest.err; then
  39555. + grep -v '^ *+' conftest.err >conftest.er1
  39556. + cat conftest.er1 >&5
  39557. + mv -f conftest.er1 conftest.err
  39558. + fi
  39559. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  39560. + test $ac_status = 0; } && {
  39561. + test -z "$ac_c_werror_flag" ||
  39562. + test ! -s conftest.err
  39563. + } && test -s conftest$ac_exeext && {
  39564. + test "$cross_compiling" = yes ||
  39565. + test -x conftest$ac_exeext
  39566. + }; then :
  39567. + ac_retval=0
  39568. +else
  39569. + $as_echo "$as_me: failed program was:" >&5
  39570. +sed 's/^/| /' conftest.$ac_ext >&5
  39571. +
  39572. + ac_retval=1
  39573. +fi
  39574. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  39575. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  39576. + # interfere with the next link command; also delete a directory that is
  39577. + # left behind by Apple's compiler. We do this before executing the actions.
  39578. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  39579. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  39580. + as_fn_set_status $ac_retval
  39581. +
  39582. +} @%:@ ac_fn_c_try_link
  39583. +
  39584. +@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  39585. +@%:@ -------------------------------------------
  39586. +@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
  39587. +@%:@ variable VAR accordingly.
  39588. +ac_fn_c_check_type ()
  39589. +{
  39590. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  39591. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  39592. +$as_echo_n "checking for $2... " >&6; }
  39593. +if eval \${$3+:} false; then :
  39594. + $as_echo_n "(cached) " >&6
  39595. +else
  39596. + eval "$3=no"
  39597. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39598. +/* end confdefs.h. */
  39599. +$4
  39600. +int
  39601. +main ()
  39602. +{
  39603. +if (sizeof ($2))
  39604. + return 0;
  39605. + ;
  39606. + return 0;
  39607. +}
  39608. +_ACEOF
  39609. +if ac_fn_c_try_compile "$LINENO"; then :
  39610. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39611. +/* end confdefs.h. */
  39612. +$4
  39613. +int
  39614. +main ()
  39615. +{
  39616. +if (sizeof (($2)))
  39617. + return 0;
  39618. + ;
  39619. + return 0;
  39620. +}
  39621. +_ACEOF
  39622. +if ac_fn_c_try_compile "$LINENO"; then :
  39623. +
  39624. +else
  39625. + eval "$3=yes"
  39626. +fi
  39627. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39628. +fi
  39629. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39630. +fi
  39631. +eval ac_res=\$$3
  39632. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  39633. +$as_echo "$ac_res" >&6; }
  39634. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  39635. +
  39636. +} @%:@ ac_fn_c_check_type
  39637. +
  39638. +@%:@ ac_fn_c_check_func LINENO FUNC VAR
  39639. +@%:@ ----------------------------------
  39640. +@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
  39641. +ac_fn_c_check_func ()
  39642. +{
  39643. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  39644. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  39645. +$as_echo_n "checking for $2... " >&6; }
  39646. +if eval \${$3+:} false; then :
  39647. + $as_echo_n "(cached) " >&6
  39648. +else
  39649. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39650. +/* end confdefs.h. */
  39651. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  39652. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  39653. +#define $2 innocuous_$2
  39654. +
  39655. +/* System header to define __stub macros and hopefully few prototypes,
  39656. + which can conflict with char $2 (); below.
  39657. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  39658. + <limits.h> exists even on freestanding compilers. */
  39659. +
  39660. +#ifdef __STDC__
  39661. +# include <limits.h>
  39662. +#else
  39663. +# include <assert.h>
  39664. +#endif
  39665. +
  39666. +#undef $2
  39667. +
  39668. +/* Override any GCC internal prototype to avoid an error.
  39669. + Use char because int might match the return type of a GCC
  39670. + builtin and then its argument prototype would still apply. */
  39671. +#ifdef __cplusplus
  39672. +extern "C"
  39673. +#endif
  39674. +char $2 ();
  39675. +/* The GNU C library defines this for functions which it implements
  39676. + to always fail with ENOSYS. Some functions are actually named
  39677. + something starting with __ and the normal name is an alias. */
  39678. +#if defined __stub_$2 || defined __stub___$2
  39679. +choke me
  39680. +#endif
  39681. +
  39682. +int
  39683. +main ()
  39684. +{
  39685. +return $2 ();
  39686. + ;
  39687. + return 0;
  39688. +}
  39689. +_ACEOF
  39690. +if ac_fn_c_try_link "$LINENO"; then :
  39691. + eval "$3=yes"
  39692. +else
  39693. + eval "$3=no"
  39694. +fi
  39695. +rm -f core conftest.err conftest.$ac_objext \
  39696. + conftest$ac_exeext conftest.$ac_ext
  39697. +fi
  39698. +eval ac_res=\$$3
  39699. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  39700. +$as_echo "$ac_res" >&6; }
  39701. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  39702. +
  39703. +} @%:@ ac_fn_c_check_func
  39704. +
  39705. +@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
  39706. +@%:@ ---------------------------------------------
  39707. +@%:@ Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
  39708. +@%:@ accordingly.
  39709. +ac_fn_c_check_decl ()
  39710. +{
  39711. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  39712. + as_decl_name=`echo $2|sed 's/ *(.*//'`
  39713. + as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
  39714. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
  39715. +$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
  39716. +if eval \${$3+:} false; then :
  39717. + $as_echo_n "(cached) " >&6
  39718. +else
  39719. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39720. +/* end confdefs.h. */
  39721. +$4
  39722. +int
  39723. +main ()
  39724. +{
  39725. +@%:@ifndef $as_decl_name
  39726. +@%:@ifdef __cplusplus
  39727. + (void) $as_decl_use;
  39728. +@%:@else
  39729. + (void) $as_decl_name;
  39730. +@%:@endif
  39731. +@%:@endif
  39732. +
  39733. + ;
  39734. + return 0;
  39735. +}
  39736. +_ACEOF
  39737. +if ac_fn_c_try_compile "$LINENO"; then :
  39738. + eval "$3=yes"
  39739. +else
  39740. + eval "$3=no"
  39741. +fi
  39742. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39743. +fi
  39744. +eval ac_res=\$$3
  39745. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  39746. +$as_echo "$ac_res" >&6; }
  39747. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  39748. +
  39749. +} @%:@ ac_fn_c_check_decl
  39750. +
  39751. +@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  39752. +@%:@ --------------------------------------------
  39753. +@%:@ Tries to find the compile-time value of EXPR in a program that includes
  39754. +@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
  39755. +@%:@ computed
  39756. +ac_fn_c_compute_int ()
  39757. +{
  39758. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  39759. + if test "$cross_compiling" = yes; then
  39760. + # Depending upon the size, compute the lo and hi bounds.
  39761. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39762. +/* end confdefs.h. */
  39763. +$4
  39764. +int
  39765. +main ()
  39766. +{
  39767. +static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
  39768. +test_array @<:@0@:>@ = 0;
  39769. +return test_array @<:@0@:>@;
  39770. +
  39771. + ;
  39772. + return 0;
  39773. +}
  39774. +_ACEOF
  39775. +if ac_fn_c_try_compile "$LINENO"; then :
  39776. + ac_lo=0 ac_mid=0
  39777. + while :; do
  39778. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39779. +/* end confdefs.h. */
  39780. +$4
  39781. +int
  39782. +main ()
  39783. +{
  39784. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  39785. +test_array @<:@0@:>@ = 0;
  39786. +return test_array @<:@0@:>@;
  39787. +
  39788. + ;
  39789. + return 0;
  39790. +}
  39791. +_ACEOF
  39792. +if ac_fn_c_try_compile "$LINENO"; then :
  39793. + ac_hi=$ac_mid; break
  39794. +else
  39795. + as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  39796. + if test $ac_lo -le $ac_mid; then
  39797. + ac_lo= ac_hi=
  39798. + break
  39799. + fi
  39800. + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  39801. +fi
  39802. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39803. + done
  39804. +else
  39805. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39806. +/* end confdefs.h. */
  39807. +$4
  39808. +int
  39809. +main ()
  39810. +{
  39811. +static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
  39812. +test_array @<:@0@:>@ = 0;
  39813. +return test_array @<:@0@:>@;
  39814. +
  39815. + ;
  39816. + return 0;
  39817. +}
  39818. +_ACEOF
  39819. +if ac_fn_c_try_compile "$LINENO"; then :
  39820. + ac_hi=-1 ac_mid=-1
  39821. + while :; do
  39822. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39823. +/* end confdefs.h. */
  39824. +$4
  39825. +int
  39826. +main ()
  39827. +{
  39828. +static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
  39829. +test_array @<:@0@:>@ = 0;
  39830. +return test_array @<:@0@:>@;
  39831. +
  39832. + ;
  39833. + return 0;
  39834. +}
  39835. +_ACEOF
  39836. +if ac_fn_c_try_compile "$LINENO"; then :
  39837. + ac_lo=$ac_mid; break
  39838. +else
  39839. + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  39840. + if test $ac_mid -le $ac_hi; then
  39841. + ac_lo= ac_hi=
  39842. + break
  39843. + fi
  39844. + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  39845. +fi
  39846. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39847. + done
  39848. +else
  39849. + ac_lo= ac_hi=
  39850. +fi
  39851. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39852. +fi
  39853. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39854. +# Binary search between lo and hi bounds.
  39855. +while test "x$ac_lo" != "x$ac_hi"; do
  39856. + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  39857. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39858. +/* end confdefs.h. */
  39859. +$4
  39860. +int
  39861. +main ()
  39862. +{
  39863. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  39864. +test_array @<:@0@:>@ = 0;
  39865. +return test_array @<:@0@:>@;
  39866. +
  39867. + ;
  39868. + return 0;
  39869. +}
  39870. +_ACEOF
  39871. +if ac_fn_c_try_compile "$LINENO"; then :
  39872. + ac_hi=$ac_mid
  39873. +else
  39874. + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  39875. +fi
  39876. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39877. +done
  39878. +case $ac_lo in @%:@((
  39879. +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  39880. +'') ac_retval=1 ;;
  39881. +esac
  39882. + else
  39883. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39884. +/* end confdefs.h. */
  39885. +$4
  39886. +static long int longval () { return $2; }
  39887. +static unsigned long int ulongval () { return $2; }
  39888. +@%:@include <stdio.h>
  39889. +@%:@include <stdlib.h>
  39890. +int
  39891. +main ()
  39892. +{
  39893. +
  39894. + FILE *f = fopen ("conftest.val", "w");
  39895. + if (! f)
  39896. + return 1;
  39897. + if (($2) < 0)
  39898. + {
  39899. + long int i = longval ();
  39900. + if (i != ($2))
  39901. + return 1;
  39902. + fprintf (f, "%ld", i);
  39903. + }
  39904. + else
  39905. + {
  39906. + unsigned long int i = ulongval ();
  39907. + if (i != ($2))
  39908. + return 1;
  39909. + fprintf (f, "%lu", i);
  39910. + }
  39911. + /* Do not output a trailing newline, as this causes \r\n confusion
  39912. + on some platforms. */
  39913. + return ferror (f) || fclose (f) != 0;
  39914. +
  39915. + ;
  39916. + return 0;
  39917. +}
  39918. +_ACEOF
  39919. +if ac_fn_c_try_run "$LINENO"; then :
  39920. + echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  39921. +else
  39922. + ac_retval=1
  39923. +fi
  39924. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  39925. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  39926. +rm -f conftest.val
  39927. +
  39928. + fi
  39929. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  39930. + as_fn_set_status $ac_retval
  39931. +
  39932. +} @%:@ ac_fn_c_compute_int
  39933. +
  39934. +@%:@ ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  39935. +@%:@ ----------------------------------------------------
  39936. +@%:@ Tries to find if the field MEMBER exists in type AGGR, after including
  39937. +@%:@ INCLUDES, setting cache variable VAR accordingly.
  39938. +ac_fn_c_check_member ()
  39939. +{
  39940. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  39941. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  39942. +$as_echo_n "checking for $2.$3... " >&6; }
  39943. +if eval \${$4+:} false; then :
  39944. + $as_echo_n "(cached) " >&6
  39945. +else
  39946. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39947. +/* end confdefs.h. */
  39948. +$5
  39949. +int
  39950. +main ()
  39951. +{
  39952. +static $2 ac_aggr;
  39953. +if (ac_aggr.$3)
  39954. +return 0;
  39955. + ;
  39956. + return 0;
  39957. +}
  39958. +_ACEOF
  39959. +if ac_fn_c_try_compile "$LINENO"; then :
  39960. + eval "$4=yes"
  39961. +else
  39962. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39963. +/* end confdefs.h. */
  39964. +$5
  39965. +int
  39966. +main ()
  39967. +{
  39968. +static $2 ac_aggr;
  39969. +if (sizeof ac_aggr.$3)
  39970. +return 0;
  39971. + ;
  39972. + return 0;
  39973. +}
  39974. +_ACEOF
  39975. +if ac_fn_c_try_compile "$LINENO"; then :
  39976. + eval "$4=yes"
  39977. +else
  39978. + eval "$4=no"
  39979. +fi
  39980. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39981. +fi
  39982. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39983. +fi
  39984. +eval ac_res=\$$4
  39985. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  39986. +$as_echo "$ac_res" >&6; }
  39987. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  39988. +
  39989. +} @%:@ ac_fn_c_check_member
  39990. +cat >config.log <<_ACEOF
  39991. +This file contains any messages produced by compilers while
  39992. +running configure, to aid debugging if configure makes a mistake.
  39993. +
  39994. +It was created by GNU M4 $as_me 1.4.16, which was
  39995. +generated by GNU Autoconf 2.69. Invocation command line was
  39996. +
  39997. + $ $0 $@
  39998. +
  39999. +_ACEOF
  40000. +exec 5>>config.log
  40001. +{
  40002. +cat <<_ASUNAME
  40003. +## --------- ##
  40004. +## Platform. ##
  40005. +## --------- ##
  40006. +
  40007. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  40008. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  40009. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  40010. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  40011. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  40012. +
  40013. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  40014. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  40015. +
  40016. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  40017. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  40018. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  40019. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  40020. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  40021. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  40022. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  40023. +
  40024. +_ASUNAME
  40025. +
  40026. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40027. +for as_dir in $PATH
  40028. +do
  40029. + IFS=$as_save_IFS
  40030. + test -z "$as_dir" && as_dir=.
  40031. + $as_echo "PATH: $as_dir"
  40032. + done
  40033. +IFS=$as_save_IFS
  40034. +
  40035. +} >&5
  40036. +
  40037. +cat >&5 <<_ACEOF
  40038. +
  40039. +
  40040. +## ----------- ##
  40041. +## Core tests. ##
  40042. +## ----------- ##
  40043. +
  40044. +_ACEOF
  40045. +
  40046. +
  40047. +# Keep a trace of the command line.
  40048. +# Strip out --no-create and --no-recursion so they do not pile up.
  40049. +# Strip out --silent because we don't want to record it for future runs.
  40050. +# Also quote any args containing shell meta-characters.
  40051. +# Make two passes to allow for proper duplicate-argument suppression.
  40052. +ac_configure_args=
  40053. +ac_configure_args0=
  40054. +ac_configure_args1=
  40055. +ac_must_keep_next=false
  40056. +for ac_pass in 1 2
  40057. +do
  40058. + for ac_arg
  40059. + do
  40060. + case $ac_arg in
  40061. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  40062. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  40063. + | -silent | --silent | --silen | --sile | --sil)
  40064. + continue ;;
  40065. + *\'*)
  40066. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  40067. + esac
  40068. + case $ac_pass in
  40069. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  40070. + 2)
  40071. + as_fn_append ac_configure_args1 " '$ac_arg'"
  40072. + if test $ac_must_keep_next = true; then
  40073. + ac_must_keep_next=false # Got value, back to normal.
  40074. + else
  40075. + case $ac_arg in
  40076. + *=* | --config-cache | -C | -disable-* | --disable-* \
  40077. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  40078. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  40079. + | -with-* | --with-* | -without-* | --without-* | --x)
  40080. + case "$ac_configure_args0 " in
  40081. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  40082. + esac
  40083. + ;;
  40084. + -* ) ac_must_keep_next=true ;;
  40085. + esac
  40086. + fi
  40087. + as_fn_append ac_configure_args " '$ac_arg'"
  40088. + ;;
  40089. + esac
  40090. + done
  40091. +done
  40092. +{ ac_configure_args0=; unset ac_configure_args0;}
  40093. +{ ac_configure_args1=; unset ac_configure_args1;}
  40094. +
  40095. +# When interrupted or exit'd, cleanup temporary files, and complete
  40096. +# config.log. We remove comments because anyway the quotes in there
  40097. +# would cause problems or look ugly.
  40098. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  40099. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  40100. +trap 'exit_status=$?
  40101. + # Save into config.log some information that might help in debugging.
  40102. + {
  40103. + echo
  40104. +
  40105. + $as_echo "## ---------------- ##
  40106. +## Cache variables. ##
  40107. +## ---------------- ##"
  40108. + echo
  40109. + # The following way of writing the cache mishandles newlines in values,
  40110. +(
  40111. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  40112. + eval ac_val=\$$ac_var
  40113. + case $ac_val in #(
  40114. + *${as_nl}*)
  40115. + case $ac_var in #(
  40116. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  40117. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  40118. + esac
  40119. + case $ac_var in #(
  40120. + _ | IFS | as_nl) ;; #(
  40121. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  40122. + *) { eval $ac_var=; unset $ac_var;} ;;
  40123. + esac ;;
  40124. + esac
  40125. + done
  40126. + (set) 2>&1 |
  40127. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  40128. + *${as_nl}ac_space=\ *)
  40129. + sed -n \
  40130. + "s/'\''/'\''\\\\'\'''\''/g;
  40131. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  40132. + ;; #(
  40133. + *)
  40134. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  40135. + ;;
  40136. + esac |
  40137. + sort
  40138. +)
  40139. + echo
  40140. +
  40141. + $as_echo "## ----------------- ##
  40142. +## Output variables. ##
  40143. +## ----------------- ##"
  40144. + echo
  40145. + for ac_var in $ac_subst_vars
  40146. + do
  40147. + eval ac_val=\$$ac_var
  40148. + case $ac_val in
  40149. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  40150. + esac
  40151. + $as_echo "$ac_var='\''$ac_val'\''"
  40152. + done | sort
  40153. + echo
  40154. +
  40155. + if test -n "$ac_subst_files"; then
  40156. + $as_echo "## ------------------- ##
  40157. +## File substitutions. ##
  40158. +## ------------------- ##"
  40159. + echo
  40160. + for ac_var in $ac_subst_files
  40161. + do
  40162. + eval ac_val=\$$ac_var
  40163. + case $ac_val in
  40164. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  40165. + esac
  40166. + $as_echo "$ac_var='\''$ac_val'\''"
  40167. + done | sort
  40168. + echo
  40169. + fi
  40170. +
  40171. + if test -s confdefs.h; then
  40172. + $as_echo "## ----------- ##
  40173. +## confdefs.h. ##
  40174. +## ----------- ##"
  40175. + echo
  40176. + cat confdefs.h
  40177. + echo
  40178. + fi
  40179. + test "$ac_signal" != 0 &&
  40180. + $as_echo "$as_me: caught signal $ac_signal"
  40181. + $as_echo "$as_me: exit $exit_status"
  40182. + } >&5
  40183. + rm -f core *.core core.conftest.* &&
  40184. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  40185. + exit $exit_status
  40186. +' 0
  40187. +for ac_signal in 1 2 13 15; do
  40188. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  40189. +done
  40190. +ac_signal=0
  40191. +
  40192. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  40193. +rm -f -r conftest* confdefs.h
  40194. +
  40195. +$as_echo "/* confdefs.h */" > confdefs.h
  40196. +
  40197. +# Predefined preprocessor variables.
  40198. +
  40199. +cat >>confdefs.h <<_ACEOF
  40200. +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
  40201. +_ACEOF
  40202. +
  40203. +cat >>confdefs.h <<_ACEOF
  40204. +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  40205. +_ACEOF
  40206. +
  40207. +cat >>confdefs.h <<_ACEOF
  40208. +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  40209. +_ACEOF
  40210. +
  40211. +cat >>confdefs.h <<_ACEOF
  40212. +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
  40213. +_ACEOF
  40214. +
  40215. +cat >>confdefs.h <<_ACEOF
  40216. +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  40217. +_ACEOF
  40218. +
  40219. +cat >>confdefs.h <<_ACEOF
  40220. +@%:@define PACKAGE_URL "$PACKAGE_URL"
  40221. +_ACEOF
  40222. +
  40223. +
  40224. +# Let the site file select an alternate cache file if it wants to.
  40225. +# Prefer an explicitly selected file to automatically selected ones.
  40226. +ac_site_file1=NONE
  40227. +ac_site_file2=NONE
  40228. +if test -n "$CONFIG_SITE"; then
  40229. + # We do not want a PATH search for config.site.
  40230. + case $CONFIG_SITE in @%:@((
  40231. + -*) ac_site_file1=./$CONFIG_SITE;;
  40232. + */*) ac_site_file1=$CONFIG_SITE;;
  40233. + *) ac_site_file1=./$CONFIG_SITE;;
  40234. + esac
  40235. +elif test "x$prefix" != xNONE; then
  40236. + ac_site_file1=$prefix/share/config.site
  40237. + ac_site_file2=$prefix/etc/config.site
  40238. +else
  40239. + ac_site_file1=$ac_default_prefix/share/config.site
  40240. + ac_site_file2=$ac_default_prefix/etc/config.site
  40241. +fi
  40242. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  40243. +do
  40244. + test "x$ac_site_file" = xNONE && continue
  40245. + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  40246. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  40247. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  40248. + sed 's/^/| /' "$ac_site_file" >&5
  40249. + . "$ac_site_file" \
  40250. + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  40251. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  40252. +as_fn_error $? "failed to load site script $ac_site_file
  40253. +See \`config.log' for more details" "$LINENO" 5; }
  40254. + fi
  40255. +done
  40256. +
  40257. +if test -r "$cache_file"; then
  40258. + # Some versions of bash will fail to source /dev/null (special files
  40259. + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  40260. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  40261. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  40262. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  40263. + case $cache_file in
  40264. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  40265. + *) . "./$cache_file";;
  40266. + esac
  40267. + fi
  40268. +else
  40269. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  40270. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  40271. + >$cache_file
  40272. +fi
  40273. +
  40274. +gl_use_threads_default=no
  40275. +as_fn_append ac_func_list " btowc"
  40276. +as_fn_append ac_func_list " setrlimit"
  40277. +as_fn_append ac_header_list " ucontext.h"
  40278. +as_fn_append ac_func_list " sigaltstack"
  40279. +as_fn_append ac_header_list " unistd.h"
  40280. +as_fn_append ac_func_list " canonicalize_file_name"
  40281. +as_fn_append ac_func_list " getcwd"
  40282. +as_fn_append ac_func_list " readlink"
  40283. +as_fn_append ac_func_list " realpath"
  40284. +as_fn_append ac_header_list " sys/param.h"
  40285. +as_fn_append ac_func_list " dup2"
  40286. +as_fn_append ac_func_list " fcntl"
  40287. +as_fn_append ac_func_list " mempcpy"
  40288. +as_fn_append ac_header_list " stdio_ext.h"
  40289. +as_fn_append ac_func_list " __fpending"
  40290. +as_fn_append ac_func_list " fpurge"
  40291. +as_fn_append ac_func_list " __fpurge"
  40292. +as_fn_append ac_func_list " __freading"
  40293. +as_fn_append ac_func_list " getdtablesize"
  40294. +gl_getopt_required=GNU
  40295. +as_fn_append ac_header_list " getopt.h"
  40296. +as_fn_append ac_header_list " sys/time.h"
  40297. +as_fn_append ac_func_list " gettimeofday"
  40298. +as_fn_append ac_header_list " langinfo.h"
  40299. +as_fn_append ac_func_list " lstat"
  40300. +as_fn_append ac_header_list " math.h"
  40301. +as_fn_append ac_func_list " mbsinit"
  40302. +as_fn_append ac_func_list " mbrtowc"
  40303. +as_fn_append ac_header_list " sys/mman.h"
  40304. +as_fn_append ac_func_list " mprotect"
  40305. +as_fn_append ac_func_list " memchr"
  40306. +as_fn_append ac_func_list " mkstemp"
  40307. +as_fn_append ac_func_list " nl_langinfo"
  40308. +as_fn_append ac_func_list " pathconf"
  40309. +as_fn_append ac_func_list " pipe2"
  40310. +as_fn_append ac_func_list " posix_spawn"
  40311. +gl_printf_safe=yes
  40312. +as_fn_append ac_func_list " isblank"
  40313. +as_fn_append ac_func_list " iswctype"
  40314. +as_fn_append ac_func_list " wcscoll"
  40315. +as_fn_append ac_header_list " sched.h"
  40316. +as_fn_append ac_func_list " sigaction"
  40317. +as_fn_append ac_func_list " siginterrupt"
  40318. +as_fn_append ac_header_list " spawn.h"
  40319. +as_fn_append ac_header_list " wchar.h"
  40320. +as_fn_append ac_header_list " stdint.h"
  40321. +as_fn_append ac_header_list " sys/socket.h"
  40322. +as_fn_append ac_func_list " strndup"
  40323. +as_fn_append ac_header_list " sys/stat.h"
  40324. +as_fn_append ac_header_list " sys/wait.h"
  40325. +as_fn_append ac_func_list " pipe"
  40326. +as_fn_append ac_func_list " vasnprintf"
  40327. +as_fn_append ac_header_list " features.h"
  40328. +as_fn_append ac_func_list " wcrtomb"
  40329. +as_fn_append ac_func_list " iswcntrl"
  40330. +as_fn_append ac_header_list " wctype.h"
  40331. +as_fn_append ac_func_list " link"
  40332. +as_fn_append ac_header_list " xlocale.h"
  40333. +as_fn_append ac_func_list " newlocale"
  40334. +as_fn_append ac_func_list " setenv"
  40335. +as_fn_append ac_func_list " strdup"
  40336. +as_fn_append ac_func_list " symlink"
  40337. +as_fn_append ac_func_list " wctob"
  40338. +# Check that the precious variables saved in the cache have kept the same
  40339. +# value.
  40340. +ac_cache_corrupted=false
  40341. +for ac_var in $ac_precious_vars; do
  40342. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  40343. + eval ac_new_set=\$ac_env_${ac_var}_set
  40344. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  40345. + eval ac_new_val=\$ac_env_${ac_var}_value
  40346. + case $ac_old_set,$ac_new_set in
  40347. + set,)
  40348. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  40349. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  40350. + ac_cache_corrupted=: ;;
  40351. + ,set)
  40352. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  40353. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  40354. + ac_cache_corrupted=: ;;
  40355. + ,);;
  40356. + *)
  40357. + if test "x$ac_old_val" != "x$ac_new_val"; then
  40358. + # differences in whitespace do not lead to failure.
  40359. + ac_old_val_w=`echo x $ac_old_val`
  40360. + ac_new_val_w=`echo x $ac_new_val`
  40361. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  40362. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  40363. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  40364. + ac_cache_corrupted=:
  40365. + else
  40366. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  40367. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  40368. + eval $ac_var=\$ac_old_val
  40369. + fi
  40370. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  40371. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  40372. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  40373. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  40374. + fi;;
  40375. + esac
  40376. + # Pass precious variables to config.status.
  40377. + if test "$ac_new_set" = set; then
  40378. + case $ac_new_val in
  40379. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  40380. + *) ac_arg=$ac_var=$ac_new_val ;;
  40381. + esac
  40382. + case " $ac_configure_args " in
  40383. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  40384. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  40385. + esac
  40386. + fi
  40387. +done
  40388. +if $ac_cache_corrupted; then
  40389. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  40390. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  40391. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  40392. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  40393. + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  40394. +fi
  40395. +## -------------------- ##
  40396. +## Main body of script. ##
  40397. +## -------------------- ##
  40398. +
  40399. +ac_ext=c
  40400. +ac_cpp='$CPP $CPPFLAGS'
  40401. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  40402. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  40403. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  40404. +
  40405. +
  40406. +ac_aux_dir=
  40407. +for ac_dir in build-aux "$srcdir"/build-aux; do
  40408. + if test -f "$ac_dir/install-sh"; then
  40409. + ac_aux_dir=$ac_dir
  40410. + ac_install_sh="$ac_aux_dir/install-sh -c"
  40411. + break
  40412. + elif test -f "$ac_dir/install.sh"; then
  40413. + ac_aux_dir=$ac_dir
  40414. + ac_install_sh="$ac_aux_dir/install.sh -c"
  40415. + break
  40416. + elif test -f "$ac_dir/shtool"; then
  40417. + ac_aux_dir=$ac_dir
  40418. + ac_install_sh="$ac_aux_dir/shtool install -c"
  40419. + break
  40420. + fi
  40421. +done
  40422. +if test -z "$ac_aux_dir"; then
  40423. + as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
  40424. +fi
  40425. +
  40426. +# These three variables are undocumented and unsupported,
  40427. +# and are intended to be withdrawn in a future Autoconf release.
  40428. +# They can cause serious problems if a builder's source tree is in a directory
  40429. +# whose full name contains unusual characters.
  40430. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  40431. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  40432. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  40433. +
  40434. +
  40435. +
  40436. +am__api_version='1.13'
  40437. +
  40438. +# Find a good install program. We prefer a C program (faster),
  40439. +# so one script is as good as another. But avoid the broken or
  40440. +# incompatible versions:
  40441. +# SysV /etc/install, /usr/sbin/install
  40442. +# SunOS /usr/etc/install
  40443. +# IRIX /sbin/install
  40444. +# AIX /bin/install
  40445. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  40446. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  40447. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  40448. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  40449. +# OS/2's system install, which has a completely different semantic
  40450. +# ./install, which can be erroneously created by make from ./install.sh.
  40451. +# Reject install programs that cannot install multiple files.
  40452. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  40453. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  40454. +if test -z "$INSTALL"; then
  40455. +if ${ac_cv_path_install+:} false; then :
  40456. + $as_echo_n "(cached) " >&6
  40457. +else
  40458. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40459. +for as_dir in $PATH
  40460. +do
  40461. + IFS=$as_save_IFS
  40462. + test -z "$as_dir" && as_dir=.
  40463. + # Account for people who put trailing slashes in PATH elements.
  40464. +case $as_dir/ in @%:@((
  40465. + ./ | .// | /[cC]/* | \
  40466. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  40467. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  40468. + /usr/ucb/* ) ;;
  40469. + *)
  40470. + # OSF1 and SCO ODT 3.0 have their own names for install.
  40471. + # Don't use installbsd from OSF since it installs stuff as root
  40472. + # by default.
  40473. + for ac_prog in ginstall scoinst install; do
  40474. + for ac_exec_ext in '' $ac_executable_extensions; do
  40475. + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  40476. + if test $ac_prog = install &&
  40477. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  40478. + # AIX install. It has an incompatible calling convention.
  40479. + :
  40480. + elif test $ac_prog = install &&
  40481. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  40482. + # program-specific install script used by HP pwplus--don't use.
  40483. + :
  40484. + else
  40485. + rm -rf conftest.one conftest.two conftest.dir
  40486. + echo one > conftest.one
  40487. + echo two > conftest.two
  40488. + mkdir conftest.dir
  40489. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  40490. + test -s conftest.one && test -s conftest.two &&
  40491. + test -s conftest.dir/conftest.one &&
  40492. + test -s conftest.dir/conftest.two
  40493. + then
  40494. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  40495. + break 3
  40496. + fi
  40497. + fi
  40498. + fi
  40499. + done
  40500. + done
  40501. + ;;
  40502. +esac
  40503. +
  40504. + done
  40505. +IFS=$as_save_IFS
  40506. +
  40507. +rm -rf conftest.one conftest.two conftest.dir
  40508. +
  40509. +fi
  40510. + if test "${ac_cv_path_install+set}" = set; then
  40511. + INSTALL=$ac_cv_path_install
  40512. + else
  40513. + # As a last resort, use the slow shell script. Don't cache a
  40514. + # value for INSTALL within a source directory, because that will
  40515. + # break other packages using the cache if that directory is
  40516. + # removed, or if the value is a relative name.
  40517. + INSTALL=$ac_install_sh
  40518. + fi
  40519. +fi
  40520. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  40521. +$as_echo "$INSTALL" >&6; }
  40522. +
  40523. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  40524. +# It thinks the first close brace ends the variable substitution.
  40525. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  40526. +
  40527. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  40528. +
  40529. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  40530. +
  40531. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  40532. +$as_echo_n "checking whether build environment is sane... " >&6; }
  40533. +# Reject unsafe characters in $srcdir or the absolute working directory
  40534. +# name. Accept space and tab only in the latter.
  40535. +am_lf='
  40536. +'
  40537. +case `pwd` in
  40538. + *[\\\"\#\$\&\'\`$am_lf]*)
  40539. + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  40540. +esac
  40541. +case $srcdir in
  40542. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  40543. + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  40544. +esac
  40545. +
  40546. +# Do 'set' in a subshell so we don't clobber the current shell's
  40547. +# arguments. Must try -L first in case configure is actually a
  40548. +# symlink; some systems play weird games with the mod time of symlinks
  40549. +# (eg FreeBSD returns the mod time of the symlink's containing
  40550. +# directory).
  40551. +if (
  40552. + am_has_slept=no
  40553. + for am_try in 1 2; do
  40554. + echo "timestamp, slept: $am_has_slept" > conftest.file
  40555. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  40556. + if test "$*" = "X"; then
  40557. + # -L didn't work.
  40558. + set X `ls -t "$srcdir/configure" conftest.file`
  40559. + fi
  40560. + if test "$*" != "X $srcdir/configure conftest.file" \
  40561. + && test "$*" != "X conftest.file $srcdir/configure"; then
  40562. +
  40563. + # If neither matched, then we have a broken ls. This can happen
  40564. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  40565. + # broken ls alias from the environment. This has actually
  40566. + # happened. Such a system could not be considered "sane".
  40567. + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  40568. + alias in your environment" "$LINENO" 5
  40569. + fi
  40570. + if test "$2" = conftest.file || test $am_try -eq 2; then
  40571. + break
  40572. + fi
  40573. + # Just in case.
  40574. + sleep 1
  40575. + am_has_slept=yes
  40576. + done
  40577. + test "$2" = conftest.file
  40578. + )
  40579. +then
  40580. + # Ok.
  40581. + :
  40582. +else
  40583. + as_fn_error $? "newly created file is older than distributed files!
  40584. +Check your system clock" "$LINENO" 5
  40585. +fi
  40586. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  40587. +$as_echo "yes" >&6; }
  40588. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  40589. +# generated files are strictly newer.
  40590. +am_sleep_pid=
  40591. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  40592. + ( sleep 1 ) &
  40593. + am_sleep_pid=$!
  40594. +fi
  40595. +
  40596. +rm -f conftest.file
  40597. +
  40598. +test "$program_prefix" != NONE &&
  40599. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  40600. +# Use a double $ so make ignores it.
  40601. +test "$program_suffix" != NONE &&
  40602. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  40603. +# Double any \ or $.
  40604. +# By default was `s,x,x', remove it if useless.
  40605. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  40606. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  40607. +
  40608. +# expand $ac_aux_dir to an absolute path
  40609. +am_aux_dir=`cd $ac_aux_dir && pwd`
  40610. +
  40611. +if test x"${MISSING+set}" != xset; then
  40612. + case $am_aux_dir in
  40613. + *\ * | *\ *)
  40614. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  40615. + *)
  40616. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  40617. + esac
  40618. +fi
  40619. +# Use eval to expand $SHELL
  40620. +if eval "$MISSING --is-lightweight"; then
  40621. + am_missing_run="$MISSING "
  40622. +else
  40623. + am_missing_run=
  40624. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  40625. +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  40626. +fi
  40627. +
  40628. +if test x"${install_sh}" != xset; then
  40629. + case $am_aux_dir in
  40630. + *\ * | *\ *)
  40631. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  40632. + *)
  40633. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  40634. + esac
  40635. +fi
  40636. +
  40637. +# Installed binaries are usually stripped using 'strip' when the user
  40638. +# run "make install-strip". However 'strip' might not be the right
  40639. +# tool to use in cross-compilation environments, therefore Automake
  40640. +# will honor the 'STRIP' environment variable to overrule this program.
  40641. +if test "$cross_compiling" != no; then
  40642. + if test -n "$ac_tool_prefix"; then
  40643. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  40644. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  40645. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  40646. +$as_echo_n "checking for $ac_word... " >&6; }
  40647. +if ${ac_cv_prog_STRIP+:} false; then :
  40648. + $as_echo_n "(cached) " >&6
  40649. +else
  40650. + if test -n "$STRIP"; then
  40651. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  40652. +else
  40653. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40654. +for as_dir in $PATH
  40655. +do
  40656. + IFS=$as_save_IFS
  40657. + test -z "$as_dir" && as_dir=.
  40658. + for ac_exec_ext in '' $ac_executable_extensions; do
  40659. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  40660. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  40661. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  40662. + break 2
  40663. + fi
  40664. +done
  40665. + done
  40666. +IFS=$as_save_IFS
  40667. +
  40668. +fi
  40669. +fi
  40670. +STRIP=$ac_cv_prog_STRIP
  40671. +if test -n "$STRIP"; then
  40672. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  40673. +$as_echo "$STRIP" >&6; }
  40674. +else
  40675. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  40676. +$as_echo "no" >&6; }
  40677. +fi
  40678. +
  40679. +
  40680. +fi
  40681. +if test -z "$ac_cv_prog_STRIP"; then
  40682. + ac_ct_STRIP=$STRIP
  40683. + # Extract the first word of "strip", so it can be a program name with args.
  40684. +set dummy strip; ac_word=$2
  40685. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  40686. +$as_echo_n "checking for $ac_word... " >&6; }
  40687. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  40688. + $as_echo_n "(cached) " >&6
  40689. +else
  40690. + if test -n "$ac_ct_STRIP"; then
  40691. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  40692. +else
  40693. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40694. +for as_dir in $PATH
  40695. +do
  40696. + IFS=$as_save_IFS
  40697. + test -z "$as_dir" && as_dir=.
  40698. + for ac_exec_ext in '' $ac_executable_extensions; do
  40699. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  40700. + ac_cv_prog_ac_ct_STRIP="strip"
  40701. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  40702. + break 2
  40703. + fi
  40704. +done
  40705. + done
  40706. +IFS=$as_save_IFS
  40707. +
  40708. +fi
  40709. +fi
  40710. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  40711. +if test -n "$ac_ct_STRIP"; then
  40712. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  40713. +$as_echo "$ac_ct_STRIP" >&6; }
  40714. +else
  40715. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  40716. +$as_echo "no" >&6; }
  40717. +fi
  40718. +
  40719. + if test "x$ac_ct_STRIP" = x; then
  40720. + STRIP=":"
  40721. + else
  40722. + case $cross_compiling:$ac_tool_warned in
  40723. +yes:)
  40724. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  40725. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  40726. +ac_tool_warned=yes ;;
  40727. +esac
  40728. + STRIP=$ac_ct_STRIP
  40729. + fi
  40730. +else
  40731. + STRIP="$ac_cv_prog_STRIP"
  40732. +fi
  40733. +
  40734. +fi
  40735. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  40736. +
  40737. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  40738. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  40739. +if test -z "$MKDIR_P"; then
  40740. + if ${ac_cv_path_mkdir+:} false; then :
  40741. + $as_echo_n "(cached) " >&6
  40742. +else
  40743. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40744. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  40745. +do
  40746. + IFS=$as_save_IFS
  40747. + test -z "$as_dir" && as_dir=.
  40748. + for ac_prog in mkdir gmkdir; do
  40749. + for ac_exec_ext in '' $ac_executable_extensions; do
  40750. + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  40751. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  40752. + 'mkdir (GNU coreutils) '* | \
  40753. + 'mkdir (coreutils) '* | \
  40754. + 'mkdir (fileutils) '4.1*)
  40755. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  40756. + break 3;;
  40757. + esac
  40758. + done
  40759. + done
  40760. + done
  40761. +IFS=$as_save_IFS
  40762. +
  40763. +fi
  40764. +
  40765. + test -d ./--version && rmdir ./--version
  40766. + if test "${ac_cv_path_mkdir+set}" = set; then
  40767. + MKDIR_P="$ac_cv_path_mkdir -p"
  40768. + else
  40769. + # As a last resort, use the slow shell script. Don't cache a
  40770. + # value for MKDIR_P within a source directory, because that will
  40771. + # break other packages using the cache if that directory is
  40772. + # removed, or if the value is a relative name.
  40773. + MKDIR_P="$ac_install_sh -d"
  40774. + fi
  40775. +fi
  40776. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  40777. +$as_echo "$MKDIR_P" >&6; }
  40778. +
  40779. +
  40780. +for ac_prog in gawk mawk nawk awk
  40781. +do
  40782. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  40783. +set dummy $ac_prog; ac_word=$2
  40784. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  40785. +$as_echo_n "checking for $ac_word... " >&6; }
  40786. +if ${ac_cv_prog_AWK+:} false; then :
  40787. + $as_echo_n "(cached) " >&6
  40788. +else
  40789. + if test -n "$AWK"; then
  40790. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  40791. +else
  40792. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40793. +for as_dir in $PATH
  40794. +do
  40795. + IFS=$as_save_IFS
  40796. + test -z "$as_dir" && as_dir=.
  40797. + for ac_exec_ext in '' $ac_executable_extensions; do
  40798. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  40799. + ac_cv_prog_AWK="$ac_prog"
  40800. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  40801. + break 2
  40802. + fi
  40803. +done
  40804. + done
  40805. +IFS=$as_save_IFS
  40806. +
  40807. +fi
  40808. +fi
  40809. +AWK=$ac_cv_prog_AWK
  40810. +if test -n "$AWK"; then
  40811. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  40812. +$as_echo "$AWK" >&6; }
  40813. +else
  40814. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  40815. +$as_echo "no" >&6; }
  40816. +fi
  40817. +
  40818. +
  40819. + test -n "$AWK" && break
  40820. +done
  40821. +
  40822. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  40823. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  40824. +set x ${MAKE-make}
  40825. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  40826. +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  40827. + $as_echo_n "(cached) " >&6
  40828. +else
  40829. + cat >conftest.make <<\_ACEOF
  40830. +SHELL = /bin/sh
  40831. +all:
  40832. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  40833. +_ACEOF
  40834. +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  40835. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  40836. + *@@@%%%=?*=@@@%%%*)
  40837. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  40838. + *)
  40839. + eval ac_cv_prog_make_${ac_make}_set=no;;
  40840. +esac
  40841. +rm -f conftest.make
  40842. +fi
  40843. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  40844. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  40845. +$as_echo "yes" >&6; }
  40846. + SET_MAKE=
  40847. +else
  40848. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  40849. +$as_echo "no" >&6; }
  40850. + SET_MAKE="MAKE=${MAKE-make}"
  40851. +fi
  40852. +
  40853. +rm -rf .tst 2>/dev/null
  40854. +mkdir .tst 2>/dev/null
  40855. +if test -d .tst; then
  40856. + am__leading_dot=.
  40857. +else
  40858. + am__leading_dot=_
  40859. +fi
  40860. +rmdir .tst 2>/dev/null
  40861. +
  40862. +@%:@ Check whether --enable-silent-rules was given.
  40863. +if test "${enable_silent_rules+set}" = set; then :
  40864. + enableval=$enable_silent_rules;
  40865. +fi
  40866. +
  40867. +case $enable_silent_rules in @%:@ (((
  40868. + yes) AM_DEFAULT_VERBOSITY=0;;
  40869. + no) AM_DEFAULT_VERBOSITY=1;;
  40870. + *) AM_DEFAULT_VERBOSITY=1;;
  40871. +esac
  40872. +am_make=${MAKE-make}
  40873. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  40874. +$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  40875. +if ${am_cv_make_support_nested_variables+:} false; then :
  40876. + $as_echo_n "(cached) " >&6
  40877. +else
  40878. + if $as_echo 'TRUE=$(BAR$(V))
  40879. +BAR0=false
  40880. +BAR1=true
  40881. +V=1
  40882. +am__doit:
  40883. + @$(TRUE)
  40884. +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  40885. + am_cv_make_support_nested_variables=yes
  40886. +else
  40887. + am_cv_make_support_nested_variables=no
  40888. +fi
  40889. +fi
  40890. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  40891. +$as_echo "$am_cv_make_support_nested_variables" >&6; }
  40892. +if test $am_cv_make_support_nested_variables = yes; then
  40893. + AM_V='$(V)'
  40894. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  40895. +else
  40896. + AM_V=$AM_DEFAULT_VERBOSITY
  40897. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  40898. +fi
  40899. +AM_BACKSLASH='\'
  40900. +
  40901. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  40902. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  40903. + # is not polluted with repeated "-I."
  40904. + am__isrc=' -I$(srcdir)'
  40905. + # test to see if srcdir already configured
  40906. + if test -f $srcdir/config.status; then
  40907. + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  40908. + fi
  40909. +fi
  40910. +
  40911. +# test whether we have cygpath
  40912. +if test -z "$CYGPATH_W"; then
  40913. + if (cygpath --version) >/dev/null 2>/dev/null; then
  40914. + CYGPATH_W='cygpath -w'
  40915. + else
  40916. + CYGPATH_W=echo
  40917. + fi
  40918. +fi
  40919. +
  40920. +
  40921. +# Define the identity of the package.
  40922. + PACKAGE='m4'
  40923. + VERSION='1.4.16'
  40924. +
  40925. +
  40926. +cat >>confdefs.h <<_ACEOF
  40927. +@%:@define PACKAGE "$PACKAGE"
  40928. +_ACEOF
  40929. +
  40930. +
  40931. +cat >>confdefs.h <<_ACEOF
  40932. +@%:@define VERSION "$VERSION"
  40933. +_ACEOF
  40934. +
  40935. +# Some tools Automake needs.
  40936. +
  40937. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  40938. +
  40939. +
  40940. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  40941. +
  40942. +
  40943. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  40944. +
  40945. +
  40946. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  40947. +
  40948. +
  40949. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  40950. +
  40951. +# For better backward compatibility. To be removed once Automake 1.9.x
  40952. +# dies out for good. For more background, see:
  40953. +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  40954. +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  40955. +mkdir_p='$(MKDIR_P)'
  40956. +
  40957. +# We need awk for the "check" target. The system "awk" is bad on
  40958. +# some platforms.
  40959. +# Always define AMTAR for backward compatibility. Yes, it's still used
  40960. +# in the wild :-( We should find a proper way to deprecate it ...
  40961. +AMTAR='$${TAR-tar}'
  40962. +
  40963. +
  40964. +# We'll loop over all known methods to create a tar archive until one works.
  40965. +_am_tools='gnutar pax cpio none'
  40966. +
  40967. +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  40968. +
  40969. +
  40970. +
  40971. +
  40972. +
  40973. +
  40974. +
  40975. +
  40976. +
  40977. +
  40978. +ac_config_headers="$ac_config_headers lib/config.h:lib/config.hin"
  40979. +
  40980. +
  40981. +ac_ext=c
  40982. +ac_cpp='$CPP $CPPFLAGS'
  40983. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  40984. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  40985. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  40986. +if test -n "$ac_tool_prefix"; then
  40987. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  40988. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  40989. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  40990. +$as_echo_n "checking for $ac_word... " >&6; }
  40991. +if ${ac_cv_prog_CC+:} false; then :
  40992. + $as_echo_n "(cached) " >&6
  40993. +else
  40994. + if test -n "$CC"; then
  40995. + ac_cv_prog_CC="$CC" # Let the user override the test.
  40996. +else
  40997. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40998. +for as_dir in $PATH
  40999. +do
  41000. + IFS=$as_save_IFS
  41001. + test -z "$as_dir" && as_dir=.
  41002. + for ac_exec_ext in '' $ac_executable_extensions; do
  41003. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  41004. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  41005. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  41006. + break 2
  41007. + fi
  41008. +done
  41009. + done
  41010. +IFS=$as_save_IFS
  41011. +
  41012. +fi
  41013. +fi
  41014. +CC=$ac_cv_prog_CC
  41015. +if test -n "$CC"; then
  41016. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  41017. +$as_echo "$CC" >&6; }
  41018. +else
  41019. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  41020. +$as_echo "no" >&6; }
  41021. +fi
  41022. +
  41023. +
  41024. +fi
  41025. +if test -z "$ac_cv_prog_CC"; then
  41026. + ac_ct_CC=$CC
  41027. + # Extract the first word of "gcc", so it can be a program name with args.
  41028. +set dummy gcc; ac_word=$2
  41029. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  41030. +$as_echo_n "checking for $ac_word... " >&6; }
  41031. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  41032. + $as_echo_n "(cached) " >&6
  41033. +else
  41034. + if test -n "$ac_ct_CC"; then
  41035. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  41036. +else
  41037. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  41038. +for as_dir in $PATH
  41039. +do
  41040. + IFS=$as_save_IFS
  41041. + test -z "$as_dir" && as_dir=.
  41042. + for ac_exec_ext in '' $ac_executable_extensions; do
  41043. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  41044. + ac_cv_prog_ac_ct_CC="gcc"
  41045. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  41046. + break 2
  41047. + fi
  41048. +done
  41049. + done
  41050. +IFS=$as_save_IFS
  41051. +
  41052. +fi
  41053. +fi
  41054. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  41055. +if test -n "$ac_ct_CC"; then
  41056. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  41057. +$as_echo "$ac_ct_CC" >&6; }
  41058. +else
  41059. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  41060. +$as_echo "no" >&6; }
  41061. +fi
  41062. +
  41063. + if test "x$ac_ct_CC" = x; then
  41064. + CC=""
  41065. + else
  41066. + case $cross_compiling:$ac_tool_warned in
  41067. +yes:)
  41068. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  41069. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  41070. +ac_tool_warned=yes ;;
  41071. +esac
  41072. + CC=$ac_ct_CC
  41073. + fi
  41074. +else
  41075. + CC="$ac_cv_prog_CC"
  41076. +fi
  41077. +
  41078. +if test -z "$CC"; then
  41079. + if test -n "$ac_tool_prefix"; then
  41080. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  41081. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  41082. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  41083. +$as_echo_n "checking for $ac_word... " >&6; }
  41084. +if ${ac_cv_prog_CC+:} false; then :
  41085. + $as_echo_n "(cached) " >&6
  41086. +else
  41087. + if test -n "$CC"; then
  41088. + ac_cv_prog_CC="$CC" # Let the user override the test.
  41089. +else
  41090. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  41091. +for as_dir in $PATH
  41092. +do
  41093. + IFS=$as_save_IFS
  41094. + test -z "$as_dir" && as_dir=.
  41095. + for ac_exec_ext in '' $ac_executable_extensions; do
  41096. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  41097. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  41098. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  41099. + break 2
  41100. + fi
  41101. +done
  41102. + done
  41103. +IFS=$as_save_IFS
  41104. +
  41105. +fi
  41106. +fi
  41107. +CC=$ac_cv_prog_CC
  41108. +if test -n "$CC"; then
  41109. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  41110. +$as_echo "$CC" >&6; }
  41111. +else
  41112. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  41113. +$as_echo "no" >&6; }
  41114. +fi
  41115. +
  41116. +
  41117. + fi
  41118. +fi
  41119. +if test -z "$CC"; then
  41120. + # Extract the first word of "cc", so it can be a program name with args.
  41121. +set dummy cc; ac_word=$2
  41122. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  41123. +$as_echo_n "checking for $ac_word... " >&6; }
  41124. +if ${ac_cv_prog_CC+:} false; then :
  41125. + $as_echo_n "(cached) " >&6
  41126. +else
  41127. + if test -n "$CC"; then
  41128. + ac_cv_prog_CC="$CC" # Let the user override the test.
  41129. +else
  41130. + ac_prog_rejected=no
  41131. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  41132. +for as_dir in $PATH
  41133. +do
  41134. + IFS=$as_save_IFS
  41135. + test -z "$as_dir" && as_dir=.
  41136. + for ac_exec_ext in '' $ac_executable_extensions; do
  41137. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  41138. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  41139. + ac_prog_rejected=yes
  41140. + continue
  41141. + fi
  41142. + ac_cv_prog_CC="cc"
  41143. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  41144. + break 2
  41145. + fi
  41146. +done
  41147. + done
  41148. +IFS=$as_save_IFS
  41149. +
  41150. +if test $ac_prog_rejected = yes; then
  41151. + # We found a bogon in the path, so make sure we never use it.
  41152. + set dummy $ac_cv_prog_CC
  41153. + shift
  41154. + if test $@%:@ != 0; then
  41155. + # We chose a different compiler from the bogus one.
  41156. + # However, it has the same basename, so the bogon will be chosen
  41157. + # first if we set CC to just the basename; use the full file name.
  41158. + shift
  41159. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  41160. + fi
  41161. +fi
  41162. +fi
  41163. +fi
  41164. +CC=$ac_cv_prog_CC
  41165. +if test -n "$CC"; then
  41166. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  41167. +$as_echo "$CC" >&6; }
  41168. +else
  41169. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  41170. +$as_echo "no" >&6; }
  41171. +fi
  41172. +
  41173. +
  41174. +fi
  41175. +if test -z "$CC"; then
  41176. + if test -n "$ac_tool_prefix"; then
  41177. + for ac_prog in cl.exe
  41178. + do
  41179. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  41180. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  41181. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  41182. +$as_echo_n "checking for $ac_word... " >&6; }
  41183. +if ${ac_cv_prog_CC+:} false; then :
  41184. + $as_echo_n "(cached) " >&6
  41185. +else
  41186. + if test -n "$CC"; then
  41187. + ac_cv_prog_CC="$CC" # Let the user override the test.
  41188. +else
  41189. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  41190. +for as_dir in $PATH
  41191. +do
  41192. + IFS=$as_save_IFS
  41193. + test -z "$as_dir" && as_dir=.
  41194. + for ac_exec_ext in '' $ac_executable_extensions; do
  41195. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  41196. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  41197. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  41198. + break 2
  41199. + fi
  41200. +done
  41201. + done
  41202. +IFS=$as_save_IFS
  41203. +
  41204. +fi
  41205. +fi
  41206. +CC=$ac_cv_prog_CC
  41207. +if test -n "$CC"; then
  41208. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  41209. +$as_echo "$CC" >&6; }
  41210. +else
  41211. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  41212. +$as_echo "no" >&6; }
  41213. +fi
  41214. +
  41215. +
  41216. + test -n "$CC" && break
  41217. + done
  41218. +fi
  41219. +if test -z "$CC"; then
  41220. + ac_ct_CC=$CC
  41221. + for ac_prog in cl.exe
  41222. +do
  41223. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  41224. +set dummy $ac_prog; ac_word=$2
  41225. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  41226. +$as_echo_n "checking for $ac_word... " >&6; }
  41227. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  41228. + $as_echo_n "(cached) " >&6
  41229. +else
  41230. + if test -n "$ac_ct_CC"; then
  41231. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  41232. +else
  41233. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  41234. +for as_dir in $PATH
  41235. +do
  41236. + IFS=$as_save_IFS
  41237. + test -z "$as_dir" && as_dir=.
  41238. + for ac_exec_ext in '' $ac_executable_extensions; do
  41239. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  41240. + ac_cv_prog_ac_ct_CC="$ac_prog"
  41241. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  41242. + break 2
  41243. + fi
  41244. +done
  41245. + done
  41246. +IFS=$as_save_IFS
  41247. +
  41248. +fi
  41249. +fi
  41250. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  41251. +if test -n "$ac_ct_CC"; then
  41252. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  41253. +$as_echo "$ac_ct_CC" >&6; }
  41254. +else
  41255. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  41256. +$as_echo "no" >&6; }
  41257. +fi
  41258. +
  41259. +
  41260. + test -n "$ac_ct_CC" && break
  41261. +done
  41262. +
  41263. + if test "x$ac_ct_CC" = x; then
  41264. + CC=""
  41265. + else
  41266. + case $cross_compiling:$ac_tool_warned in
  41267. +yes:)
  41268. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  41269. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  41270. +ac_tool_warned=yes ;;
  41271. +esac
  41272. + CC=$ac_ct_CC
  41273. + fi
  41274. +fi
  41275. +
  41276. +fi
  41277. +
  41278. +
  41279. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  41280. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  41281. +as_fn_error $? "no acceptable C compiler found in \$PATH
  41282. +See \`config.log' for more details" "$LINENO" 5; }
  41283. +
  41284. +# Provide some information about the compiler.
  41285. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  41286. +set X $ac_compile
  41287. +ac_compiler=$2
  41288. +for ac_option in --version -v -V -qversion; do
  41289. + { { ac_try="$ac_compiler $ac_option >&5"
  41290. +case "(($ac_try" in
  41291. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41292. + *) ac_try_echo=$ac_try;;
  41293. +esac
  41294. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  41295. +$as_echo "$ac_try_echo"; } >&5
  41296. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  41297. + ac_status=$?
  41298. + if test -s conftest.err; then
  41299. + sed '10a\
  41300. +... rest of stderr output deleted ...
  41301. + 10q' conftest.err >conftest.er1
  41302. + cat conftest.er1 >&5
  41303. + fi
  41304. + rm -f conftest.er1 conftest.err
  41305. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  41306. + test $ac_status = 0; }
  41307. +done
  41308. +
  41309. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41310. +/* end confdefs.h. */
  41311. +
  41312. +int
  41313. +main ()
  41314. +{
  41315. +
  41316. + ;
  41317. + return 0;
  41318. +}
  41319. +_ACEOF
  41320. +ac_clean_files_save=$ac_clean_files
  41321. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  41322. +# Try to create an executable without -o first, disregard a.out.
  41323. +# It will help us diagnose broken compilers, and finding out an intuition
  41324. +# of exeext.
  41325. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  41326. +$as_echo_n "checking whether the C compiler works... " >&6; }
  41327. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  41328. +
  41329. +# The possible output files:
  41330. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  41331. +
  41332. +ac_rmfiles=
  41333. +for ac_file in $ac_files
  41334. +do
  41335. + case $ac_file in
  41336. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  41337. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  41338. + esac
  41339. +done
  41340. +rm -f $ac_rmfiles
  41341. +
  41342. +if { { ac_try="$ac_link_default"
  41343. +case "(($ac_try" in
  41344. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41345. + *) ac_try_echo=$ac_try;;
  41346. +esac
  41347. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  41348. +$as_echo "$ac_try_echo"; } >&5
  41349. + (eval "$ac_link_default") 2>&5
  41350. + ac_status=$?
  41351. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  41352. + test $ac_status = 0; }; then :
  41353. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  41354. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  41355. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  41356. +# so that the user can short-circuit this test for compilers unknown to
  41357. +# Autoconf.
  41358. +for ac_file in $ac_files ''
  41359. +do
  41360. + test -f "$ac_file" || continue
  41361. + case $ac_file in
  41362. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  41363. + ;;
  41364. + [ab].out )
  41365. + # We found the default executable, but exeext='' is most
  41366. + # certainly right.
  41367. + break;;
  41368. + *.* )
  41369. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  41370. + then :; else
  41371. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  41372. + fi
  41373. + # We set ac_cv_exeext here because the later test for it is not
  41374. + # safe: cross compilers may not add the suffix if given an `-o'
  41375. + # argument, so we may need to know it at that point already.
  41376. + # Even if this section looks crufty: it has the advantage of
  41377. + # actually working.
  41378. + break;;
  41379. + * )
  41380. + break;;
  41381. + esac
  41382. +done
  41383. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  41384. +
  41385. +else
  41386. + ac_file=''
  41387. +fi
  41388. +if test -z "$ac_file"; then :
  41389. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  41390. +$as_echo "no" >&6; }
  41391. +$as_echo "$as_me: failed program was:" >&5
  41392. +sed 's/^/| /' conftest.$ac_ext >&5
  41393. +
  41394. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  41395. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  41396. +as_fn_error 77 "C compiler cannot create executables
  41397. +See \`config.log' for more details" "$LINENO" 5; }
  41398. +else
  41399. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  41400. +$as_echo "yes" >&6; }
  41401. +fi
  41402. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  41403. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  41404. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  41405. +$as_echo "$ac_file" >&6; }
  41406. +ac_exeext=$ac_cv_exeext
  41407. +
  41408. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  41409. +ac_clean_files=$ac_clean_files_save
  41410. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  41411. +$as_echo_n "checking for suffix of executables... " >&6; }
  41412. +if { { ac_try="$ac_link"
  41413. +case "(($ac_try" in
  41414. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41415. + *) ac_try_echo=$ac_try;;
  41416. +esac
  41417. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  41418. +$as_echo "$ac_try_echo"; } >&5
  41419. + (eval "$ac_link") 2>&5
  41420. + ac_status=$?
  41421. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  41422. + test $ac_status = 0; }; then :
  41423. + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  41424. +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  41425. +# work properly (i.e., refer to `conftest.exe'), while it won't with
  41426. +# `rm'.
  41427. +for ac_file in conftest.exe conftest conftest.*; do
  41428. + test -f "$ac_file" || continue
  41429. + case $ac_file in
  41430. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  41431. + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  41432. + break;;
  41433. + * ) break;;
  41434. + esac
  41435. +done
  41436. +else
  41437. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  41438. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  41439. +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  41440. +See \`config.log' for more details" "$LINENO" 5; }
  41441. +fi
  41442. +rm -f conftest conftest$ac_cv_exeext
  41443. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  41444. +$as_echo "$ac_cv_exeext" >&6; }
  41445. +
  41446. +rm -f conftest.$ac_ext
  41447. +EXEEXT=$ac_cv_exeext
  41448. +ac_exeext=$EXEEXT
  41449. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41450. +/* end confdefs.h. */
  41451. +@%:@include <stdio.h>
  41452. +int
  41453. +main ()
  41454. +{
  41455. +FILE *f = fopen ("conftest.out", "w");
  41456. + return ferror (f) || fclose (f) != 0;
  41457. +
  41458. + ;
  41459. + return 0;
  41460. +}
  41461. +_ACEOF
  41462. +ac_clean_files="$ac_clean_files conftest.out"
  41463. +# Check that the compiler produces executables we can run. If not, either
  41464. +# the compiler is broken, or we cross compile.
  41465. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  41466. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  41467. +if test "$cross_compiling" != yes; then
  41468. + { { ac_try="$ac_link"
  41469. +case "(($ac_try" in
  41470. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41471. + *) ac_try_echo=$ac_try;;
  41472. +esac
  41473. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  41474. +$as_echo "$ac_try_echo"; } >&5
  41475. + (eval "$ac_link") 2>&5
  41476. + ac_status=$?
  41477. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  41478. + test $ac_status = 0; }
  41479. + if { ac_try='./conftest$ac_cv_exeext'
  41480. + { { case "(($ac_try" in
  41481. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41482. + *) ac_try_echo=$ac_try;;
  41483. +esac
  41484. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  41485. +$as_echo "$ac_try_echo"; } >&5
  41486. + (eval "$ac_try") 2>&5
  41487. + ac_status=$?
  41488. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  41489. + test $ac_status = 0; }; }; then
  41490. + cross_compiling=no
  41491. + else
  41492. + if test "$cross_compiling" = maybe; then
  41493. + cross_compiling=yes
  41494. + else
  41495. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  41496. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  41497. +as_fn_error $? "cannot run C compiled programs.
  41498. +If you meant to cross compile, use \`--host'.
  41499. +See \`config.log' for more details" "$LINENO" 5; }
  41500. + fi
  41501. + fi
  41502. +fi
  41503. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  41504. +$as_echo "$cross_compiling" >&6; }
  41505. +
  41506. +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  41507. +ac_clean_files=$ac_clean_files_save
  41508. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  41509. +$as_echo_n "checking for suffix of object files... " >&6; }
  41510. +if ${ac_cv_objext+:} false; then :
  41511. + $as_echo_n "(cached) " >&6
  41512. +else
  41513. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41514. +/* end confdefs.h. */
  41515. +
  41516. +int
  41517. +main ()
  41518. +{
  41519. +
  41520. + ;
  41521. + return 0;
  41522. +}
  41523. +_ACEOF
  41524. +rm -f conftest.o conftest.obj
  41525. +if { { ac_try="$ac_compile"
  41526. +case "(($ac_try" in
  41527. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41528. + *) ac_try_echo=$ac_try;;
  41529. +esac
  41530. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  41531. +$as_echo "$ac_try_echo"; } >&5
  41532. + (eval "$ac_compile") 2>&5
  41533. + ac_status=$?
  41534. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  41535. + test $ac_status = 0; }; then :
  41536. + for ac_file in conftest.o conftest.obj conftest.*; do
  41537. + test -f "$ac_file" || continue;
  41538. + case $ac_file in
  41539. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  41540. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  41541. + break;;
  41542. + esac
  41543. +done
  41544. +else
  41545. + $as_echo "$as_me: failed program was:" >&5
  41546. +sed 's/^/| /' conftest.$ac_ext >&5
  41547. +
  41548. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  41549. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  41550. +as_fn_error $? "cannot compute suffix of object files: cannot compile
  41551. +See \`config.log' for more details" "$LINENO" 5; }
  41552. +fi
  41553. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  41554. +fi
  41555. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  41556. +$as_echo "$ac_cv_objext" >&6; }
  41557. +OBJEXT=$ac_cv_objext
  41558. +ac_objext=$OBJEXT
  41559. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  41560. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  41561. +if ${ac_cv_c_compiler_gnu+:} false; then :
  41562. + $as_echo_n "(cached) " >&6
  41563. +else
  41564. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41565. +/* end confdefs.h. */
  41566. +
  41567. +int
  41568. +main ()
  41569. +{
  41570. +#ifndef __GNUC__
  41571. + choke me
  41572. +#endif
  41573. +
  41574. + ;
  41575. + return 0;
  41576. +}
  41577. +_ACEOF
  41578. +if ac_fn_c_try_compile "$LINENO"; then :
  41579. + ac_compiler_gnu=yes
  41580. +else
  41581. + ac_compiler_gnu=no
  41582. +fi
  41583. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41584. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  41585. +
  41586. +fi
  41587. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  41588. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  41589. +if test $ac_compiler_gnu = yes; then
  41590. + GCC=yes
  41591. +else
  41592. + GCC=
  41593. +fi
  41594. +ac_test_CFLAGS=${CFLAGS+set}
  41595. +ac_save_CFLAGS=$CFLAGS
  41596. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  41597. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  41598. +if ${ac_cv_prog_cc_g+:} false; then :
  41599. + $as_echo_n "(cached) " >&6
  41600. +else
  41601. + ac_save_c_werror_flag=$ac_c_werror_flag
  41602. + ac_c_werror_flag=yes
  41603. + ac_cv_prog_cc_g=no
  41604. + CFLAGS="-g"
  41605. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41606. +/* end confdefs.h. */
  41607. +
  41608. +int
  41609. +main ()
  41610. +{
  41611. +
  41612. + ;
  41613. + return 0;
  41614. +}
  41615. +_ACEOF
  41616. +if ac_fn_c_try_compile "$LINENO"; then :
  41617. + ac_cv_prog_cc_g=yes
  41618. +else
  41619. + CFLAGS=""
  41620. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41621. +/* end confdefs.h. */
  41622. +
  41623. +int
  41624. +main ()
  41625. +{
  41626. +
  41627. + ;
  41628. + return 0;
  41629. +}
  41630. +_ACEOF
  41631. +if ac_fn_c_try_compile "$LINENO"; then :
  41632. +
  41633. +else
  41634. + ac_c_werror_flag=$ac_save_c_werror_flag
  41635. + CFLAGS="-g"
  41636. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41637. +/* end confdefs.h. */
  41638. +
  41639. +int
  41640. +main ()
  41641. +{
  41642. +
  41643. + ;
  41644. + return 0;
  41645. +}
  41646. +_ACEOF
  41647. +if ac_fn_c_try_compile "$LINENO"; then :
  41648. + ac_cv_prog_cc_g=yes
  41649. +fi
  41650. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41651. +fi
  41652. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41653. +fi
  41654. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41655. + ac_c_werror_flag=$ac_save_c_werror_flag
  41656. +fi
  41657. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  41658. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  41659. +if test "$ac_test_CFLAGS" = set; then
  41660. + CFLAGS=$ac_save_CFLAGS
  41661. +elif test $ac_cv_prog_cc_g = yes; then
  41662. + if test "$GCC" = yes; then
  41663. + CFLAGS="-g -O2"
  41664. + else
  41665. + CFLAGS="-g"
  41666. + fi
  41667. +else
  41668. + if test "$GCC" = yes; then
  41669. + CFLAGS="-O2"
  41670. + else
  41671. + CFLAGS=
  41672. + fi
  41673. +fi
  41674. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  41675. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  41676. +if ${ac_cv_prog_cc_c89+:} false; then :
  41677. + $as_echo_n "(cached) " >&6
  41678. +else
  41679. + ac_cv_prog_cc_c89=no
  41680. +ac_save_CC=$CC
  41681. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41682. +/* end confdefs.h. */
  41683. +#include <stdarg.h>
  41684. +#include <stdio.h>
  41685. +struct stat;
  41686. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  41687. +struct buf { int x; };
  41688. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  41689. +static char *e (p, i)
  41690. + char **p;
  41691. + int i;
  41692. +{
  41693. + return p[i];
  41694. +}
  41695. +static char *f (char * (*g) (char **, int), char **p, ...)
  41696. +{
  41697. + char *s;
  41698. + va_list v;
  41699. + va_start (v,p);
  41700. + s = g (p, va_arg (v,int));
  41701. + va_end (v);
  41702. + return s;
  41703. +}
  41704. +
  41705. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  41706. + function prototypes and stuff, but not '\xHH' hex character constants.
  41707. + These don't provoke an error unfortunately, instead are silently treated
  41708. + as 'x'. The following induces an error, until -std is added to get
  41709. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  41710. + array size at least. It's necessary to write '\x00'==0 to get something
  41711. + that's true only with -std. */
  41712. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  41713. +
  41714. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  41715. + inside strings and character constants. */
  41716. +#define FOO(x) 'x'
  41717. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  41718. +
  41719. +int test (int i, double x);
  41720. +struct s1 {int (*f) (int a);};
  41721. +struct s2 {int (*f) (double a);};
  41722. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  41723. +int argc;
  41724. +char **argv;
  41725. +int
  41726. +main ()
  41727. +{
  41728. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  41729. + ;
  41730. + return 0;
  41731. +}
  41732. +_ACEOF
  41733. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  41734. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  41735. +do
  41736. + CC="$ac_save_CC $ac_arg"
  41737. + if ac_fn_c_try_compile "$LINENO"; then :
  41738. + ac_cv_prog_cc_c89=$ac_arg
  41739. +fi
  41740. +rm -f core conftest.err conftest.$ac_objext
  41741. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  41742. +done
  41743. +rm -f conftest.$ac_ext
  41744. +CC=$ac_save_CC
  41745. +
  41746. +fi
  41747. +# AC_CACHE_VAL
  41748. +case "x$ac_cv_prog_cc_c89" in
  41749. + x)
  41750. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  41751. +$as_echo "none needed" >&6; } ;;
  41752. + xno)
  41753. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  41754. +$as_echo "unsupported" >&6; } ;;
  41755. + *)
  41756. + CC="$CC $ac_cv_prog_cc_c89"
  41757. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  41758. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  41759. +esac
  41760. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  41761. +
  41762. +fi
  41763. +
  41764. +ac_ext=c
  41765. +ac_cpp='$CPP $CPPFLAGS'
  41766. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  41767. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  41768. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  41769. +DEPDIR="${am__leading_dot}deps"
  41770. +
  41771. +ac_config_commands="$ac_config_commands depfiles"
  41772. +
  41773. +
  41774. +am_make=${MAKE-make}
  41775. +cat > confinc << 'END'
  41776. +am__doit:
  41777. + @echo this is the am__doit target
  41778. +.PHONY: am__doit
  41779. +END
  41780. +# If we don't find an include directive, just comment out the code.
  41781. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  41782. +$as_echo_n "checking for style of include used by $am_make... " >&6; }
  41783. +am__include="#"
  41784. +am__quote=
  41785. +_am_result=none
  41786. +# First try GNU make style include.
  41787. +echo "include confinc" > confmf
  41788. +# Ignore all kinds of additional output from 'make'.
  41789. +case `$am_make -s -f confmf 2> /dev/null` in #(
  41790. +*the\ am__doit\ target*)
  41791. + am__include=include
  41792. + am__quote=
  41793. + _am_result=GNU
  41794. + ;;
  41795. +esac
  41796. +# Now try BSD make style include.
  41797. +if test "$am__include" = "#"; then
  41798. + echo '.include "confinc"' > confmf
  41799. + case `$am_make -s -f confmf 2> /dev/null` in #(
  41800. + *the\ am__doit\ target*)
  41801. + am__include=.include
  41802. + am__quote="\""
  41803. + _am_result=BSD
  41804. + ;;
  41805. + esac
  41806. +fi
  41807. +
  41808. +
  41809. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  41810. +$as_echo "$_am_result" >&6; }
  41811. +rm -f confinc confmf
  41812. +
  41813. +@%:@ Check whether --enable-dependency-tracking was given.
  41814. +if test "${enable_dependency_tracking+set}" = set; then :
  41815. + enableval=$enable_dependency_tracking;
  41816. +fi
  41817. +
  41818. +if test "x$enable_dependency_tracking" != xno; then
  41819. + am_depcomp="$ac_aux_dir/depcomp"
  41820. + AMDEPBACKSLASH='\'
  41821. + am__nodep='_no'
  41822. +fi
  41823. + if test "x$enable_dependency_tracking" != xno; then
  41824. + AMDEP_TRUE=
  41825. + AMDEP_FALSE='#'
  41826. +else
  41827. + AMDEP_TRUE='#'
  41828. + AMDEP_FALSE=
  41829. +fi
  41830. +
  41831. +
  41832. +
  41833. +depcc="$CC" am_compiler_list=
  41834. +
  41835. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  41836. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  41837. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  41838. + $as_echo_n "(cached) " >&6
  41839. +else
  41840. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  41841. + # We make a subdir and do the tests there. Otherwise we can end up
  41842. + # making bogus files that we don't know about and never remove. For
  41843. + # instance it was reported that on HP-UX the gcc test will end up
  41844. + # making a dummy file named 'D' -- because '-MD' means "put the output
  41845. + # in D".
  41846. + rm -rf conftest.dir
  41847. + mkdir conftest.dir
  41848. + # Copy depcomp to subdir because otherwise we won't find it if we're
  41849. + # using a relative directory.
  41850. + cp "$am_depcomp" conftest.dir
  41851. + cd conftest.dir
  41852. + # We will build objects and dependencies in a subdirectory because
  41853. + # it helps to detect inapplicable dependency modes. For instance
  41854. + # both Tru64's cc and ICC support -MD to output dependencies as a
  41855. + # side effect of compilation, but ICC will put the dependencies in
  41856. + # the current directory while Tru64 will put them in the object
  41857. + # directory.
  41858. + mkdir sub
  41859. +
  41860. + am_cv_CC_dependencies_compiler_type=none
  41861. + if test "$am_compiler_list" = ""; then
  41862. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  41863. + fi
  41864. + am__universal=false
  41865. + case " $depcc " in #(
  41866. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  41867. + esac
  41868. +
  41869. + for depmode in $am_compiler_list; do
  41870. + # Setup a source with many dependencies, because some compilers
  41871. + # like to wrap large dependency lists on column 80 (with \), and
  41872. + # we should not choose a depcomp mode which is confused by this.
  41873. + #
  41874. + # We need to recreate these files for each test, as the compiler may
  41875. + # overwrite some of them when testing with obscure command lines.
  41876. + # This happens at least with the AIX C compiler.
  41877. + : > sub/conftest.c
  41878. + for i in 1 2 3 4 5 6; do
  41879. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  41880. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  41881. + # Solaris 10 /bin/sh.
  41882. + echo '/* dummy */' > sub/conftst$i.h
  41883. + done
  41884. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  41885. +
  41886. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  41887. + # mode. It turns out that the SunPro C++ compiler does not properly
  41888. + # handle '-M -o', and we need to detect this. Also, some Intel
  41889. + # versions had trouble with output in subdirs.
  41890. + am__obj=sub/conftest.${OBJEXT-o}
  41891. + am__minus_obj="-o $am__obj"
  41892. + case $depmode in
  41893. + gcc)
  41894. + # This depmode causes a compiler race in universal mode.
  41895. + test "$am__universal" = false || continue
  41896. + ;;
  41897. + nosideeffect)
  41898. + # After this tag, mechanisms are not by side-effect, so they'll
  41899. + # only be used when explicitly requested.
  41900. + if test "x$enable_dependency_tracking" = xyes; then
  41901. + continue
  41902. + else
  41903. + break
  41904. + fi
  41905. + ;;
  41906. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  41907. + # This compiler won't grok '-c -o', but also, the minuso test has
  41908. + # not run yet. These depmodes are late enough in the game, and
  41909. + # so weak that their functioning should not be impacted.
  41910. + am__obj=conftest.${OBJEXT-o}
  41911. + am__minus_obj=
  41912. + ;;
  41913. + none) break ;;
  41914. + esac
  41915. + if depmode=$depmode \
  41916. + source=sub/conftest.c object=$am__obj \
  41917. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  41918. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  41919. + >/dev/null 2>conftest.err &&
  41920. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  41921. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  41922. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  41923. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  41924. + # icc doesn't choke on unknown options, it will just issue warnings
  41925. + # or remarks (even with -Werror). So we grep stderr for any message
  41926. + # that says an option was ignored or not supported.
  41927. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  41928. + # icc: Command line warning: ignoring option '-M'; no argument required
  41929. + # The diagnosis changed in icc 8.0:
  41930. + # icc: Command line remark: option '-MP' not supported
  41931. + if (grep 'ignoring option' conftest.err ||
  41932. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  41933. + am_cv_CC_dependencies_compiler_type=$depmode
  41934. + break
  41935. + fi
  41936. + fi
  41937. + done
  41938. +
  41939. + cd ..
  41940. + rm -rf conftest.dir
  41941. +else
  41942. + am_cv_CC_dependencies_compiler_type=none
  41943. +fi
  41944. +
  41945. +fi
  41946. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  41947. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  41948. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  41949. +
  41950. + if
  41951. + test "x$enable_dependency_tracking" != xno \
  41952. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  41953. + am__fastdepCC_TRUE=
  41954. + am__fastdepCC_FALSE='#'
  41955. +else
  41956. + am__fastdepCC_TRUE='#'
  41957. + am__fastdepCC_FALSE=
  41958. +fi
  41959. +
  41960. +
  41961. +
  41962. +if test -n "$ac_tool_prefix"; then
  41963. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  41964. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  41965. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  41966. +$as_echo_n "checking for $ac_word... " >&6; }
  41967. +if ${ac_cv_prog_RANLIB+:} false; then :
  41968. + $as_echo_n "(cached) " >&6
  41969. +else
  41970. + if test -n "$RANLIB"; then
  41971. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  41972. +else
  41973. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  41974. +for as_dir in $PATH
  41975. +do
  41976. + IFS=$as_save_IFS
  41977. + test -z "$as_dir" && as_dir=.
  41978. + for ac_exec_ext in '' $ac_executable_extensions; do
  41979. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  41980. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  41981. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  41982. + break 2
  41983. + fi
  41984. +done
  41985. + done
  41986. +IFS=$as_save_IFS
  41987. +
  41988. +fi
  41989. +fi
  41990. +RANLIB=$ac_cv_prog_RANLIB
  41991. +if test -n "$RANLIB"; then
  41992. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  41993. +$as_echo "$RANLIB" >&6; }
  41994. +else
  41995. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  41996. +$as_echo "no" >&6; }
  41997. +fi
  41998. +
  41999. +
  42000. +fi
  42001. +if test -z "$ac_cv_prog_RANLIB"; then
  42002. + ac_ct_RANLIB=$RANLIB
  42003. + # Extract the first word of "ranlib", so it can be a program name with args.
  42004. +set dummy ranlib; ac_word=$2
  42005. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  42006. +$as_echo_n "checking for $ac_word... " >&6; }
  42007. +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  42008. + $as_echo_n "(cached) " >&6
  42009. +else
  42010. + if test -n "$ac_ct_RANLIB"; then
  42011. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  42012. +else
  42013. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42014. +for as_dir in $PATH
  42015. +do
  42016. + IFS=$as_save_IFS
  42017. + test -z "$as_dir" && as_dir=.
  42018. + for ac_exec_ext in '' $ac_executable_extensions; do
  42019. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  42020. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  42021. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  42022. + break 2
  42023. + fi
  42024. +done
  42025. + done
  42026. +IFS=$as_save_IFS
  42027. +
  42028. +fi
  42029. +fi
  42030. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  42031. +if test -n "$ac_ct_RANLIB"; then
  42032. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  42033. +$as_echo "$ac_ct_RANLIB" >&6; }
  42034. +else
  42035. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  42036. +$as_echo "no" >&6; }
  42037. +fi
  42038. +
  42039. + if test "x$ac_ct_RANLIB" = x; then
  42040. + RANLIB=":"
  42041. + else
  42042. + case $cross_compiling:$ac_tool_warned in
  42043. +yes:)
  42044. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  42045. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  42046. +ac_tool_warned=yes ;;
  42047. +esac
  42048. + RANLIB=$ac_ct_RANLIB
  42049. + fi
  42050. +else
  42051. + RANLIB="$ac_cv_prog_RANLIB"
  42052. +fi
  42053. +
  42054. +if test "x$CC" != xcc; then
  42055. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
  42056. +$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
  42057. +else
  42058. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
  42059. +$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
  42060. +fi
  42061. +set dummy $CC; ac_cc=`$as_echo "$2" |
  42062. + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  42063. +if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
  42064. + $as_echo_n "(cached) " >&6
  42065. +else
  42066. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42067. +/* end confdefs.h. */
  42068. +
  42069. +int
  42070. +main ()
  42071. +{
  42072. +
  42073. + ;
  42074. + return 0;
  42075. +}
  42076. +_ACEOF
  42077. +# Make sure it works both with $CC and with simple cc.
  42078. +# We do the test twice because some compilers refuse to overwrite an
  42079. +# existing .o file with -o, though they will create one.
  42080. +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  42081. +rm -f conftest2.*
  42082. +if { { case "(($ac_try" in
  42083. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  42084. + *) ac_try_echo=$ac_try;;
  42085. +esac
  42086. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  42087. +$as_echo "$ac_try_echo"; } >&5
  42088. + (eval "$ac_try") 2>&5
  42089. + ac_status=$?
  42090. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  42091. + test $ac_status = 0; } &&
  42092. + test -f conftest2.$ac_objext && { { case "(($ac_try" in
  42093. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  42094. + *) ac_try_echo=$ac_try;;
  42095. +esac
  42096. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  42097. +$as_echo "$ac_try_echo"; } >&5
  42098. + (eval "$ac_try") 2>&5
  42099. + ac_status=$?
  42100. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  42101. + test $ac_status = 0; };
  42102. +then
  42103. + eval ac_cv_prog_cc_${ac_cc}_c_o=yes
  42104. + if test "x$CC" != xcc; then
  42105. + # Test first that cc exists at all.
  42106. + if { ac_try='cc -c conftest.$ac_ext >&5'
  42107. + { { case "(($ac_try" in
  42108. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  42109. + *) ac_try_echo=$ac_try;;
  42110. +esac
  42111. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  42112. +$as_echo "$ac_try_echo"; } >&5
  42113. + (eval "$ac_try") 2>&5
  42114. + ac_status=$?
  42115. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  42116. + test $ac_status = 0; }; }; then
  42117. + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
  42118. + rm -f conftest2.*
  42119. + if { { case "(($ac_try" in
  42120. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  42121. + *) ac_try_echo=$ac_try;;
  42122. +esac
  42123. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  42124. +$as_echo "$ac_try_echo"; } >&5
  42125. + (eval "$ac_try") 2>&5
  42126. + ac_status=$?
  42127. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  42128. + test $ac_status = 0; } &&
  42129. + test -f conftest2.$ac_objext && { { case "(($ac_try" in
  42130. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  42131. + *) ac_try_echo=$ac_try;;
  42132. +esac
  42133. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  42134. +$as_echo "$ac_try_echo"; } >&5
  42135. + (eval "$ac_try") 2>&5
  42136. + ac_status=$?
  42137. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  42138. + test $ac_status = 0; };
  42139. + then
  42140. + # cc works too.
  42141. + :
  42142. + else
  42143. + # cc exists but doesn't like -o.
  42144. + eval ac_cv_prog_cc_${ac_cc}_c_o=no
  42145. + fi
  42146. + fi
  42147. + fi
  42148. +else
  42149. + eval ac_cv_prog_cc_${ac_cc}_c_o=no
  42150. +fi
  42151. +rm -f core conftest*
  42152. +
  42153. +fi
  42154. +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
  42155. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  42156. +$as_echo "yes" >&6; }
  42157. +else
  42158. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  42159. +$as_echo "no" >&6; }
  42160. +
  42161. +$as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
  42162. +
  42163. +fi
  42164. +
  42165. +# FIXME: we rely on the cache variable name because
  42166. +# there is no other way.
  42167. +set dummy $CC
  42168. +am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  42169. +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
  42170. +if test "$am_t" != yes; then
  42171. + # Losing compiler, so override with the script.
  42172. + # FIXME: It is wrong to rewrite CC.
  42173. + # But if we don't then we get into trouble of one sort or another.
  42174. + # A longer-term fix would be to have automake use am__CC in this case,
  42175. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  42176. + CC="$am_aux_dir/compile $CC"
  42177. +fi
  42178. +
  42179. +
  42180. +# Make sure we can run config.sub.
  42181. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  42182. + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  42183. +
  42184. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  42185. +$as_echo_n "checking build system type... " >&6; }
  42186. +if ${ac_cv_build+:} false; then :
  42187. + $as_echo_n "(cached) " >&6
  42188. +else
  42189. + ac_build_alias=$build_alias
  42190. +test "x$ac_build_alias" = x &&
  42191. + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  42192. +test "x$ac_build_alias" = x &&
  42193. + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  42194. +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  42195. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  42196. +
  42197. +fi
  42198. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  42199. +$as_echo "$ac_cv_build" >&6; }
  42200. +case $ac_cv_build in
  42201. +*-*-*) ;;
  42202. +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  42203. +esac
  42204. +build=$ac_cv_build
  42205. +ac_save_IFS=$IFS; IFS='-'
  42206. +set x $ac_cv_build
  42207. +shift
  42208. +build_cpu=$1
  42209. +build_vendor=$2
  42210. +shift; shift
  42211. +# Remember, the first character of IFS is used to create $*,
  42212. +# except with old shells:
  42213. +build_os=$*
  42214. +IFS=$ac_save_IFS
  42215. +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  42216. +
  42217. +
  42218. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  42219. +$as_echo_n "checking host system type... " >&6; }
  42220. +if ${ac_cv_host+:} false; then :
  42221. + $as_echo_n "(cached) " >&6
  42222. +else
  42223. + if test "x$host_alias" = x; then
  42224. + ac_cv_host=$ac_cv_build
  42225. +else
  42226. + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  42227. + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  42228. +fi
  42229. +
  42230. +fi
  42231. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  42232. +$as_echo "$ac_cv_host" >&6; }
  42233. +case $ac_cv_host in
  42234. +*-*-*) ;;
  42235. +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  42236. +esac
  42237. +host=$ac_cv_host
  42238. +ac_save_IFS=$IFS; IFS='-'
  42239. +set x $ac_cv_host
  42240. +shift
  42241. +host_cpu=$1
  42242. +host_vendor=$2
  42243. +shift; shift
  42244. +# Remember, the first character of IFS is used to create $*,
  42245. +# except with old shells:
  42246. +host_os=$*
  42247. +IFS=$ac_save_IFS
  42248. +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  42249. +
  42250. +
  42251. +
  42252. +ac_ext=c
  42253. +ac_cpp='$CPP $CPPFLAGS'
  42254. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  42255. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  42256. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  42257. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  42258. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  42259. +# On Suns, sometimes $CPP names a directory.
  42260. +if test -n "$CPP" && test -d "$CPP"; then
  42261. + CPP=
  42262. +fi
  42263. +if test -z "$CPP"; then
  42264. + if ${ac_cv_prog_CPP+:} false; then :
  42265. + $as_echo_n "(cached) " >&6
  42266. +else
  42267. + # Double quotes because CPP needs to be expanded
  42268. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  42269. + do
  42270. + ac_preproc_ok=false
  42271. +for ac_c_preproc_warn_flag in '' yes
  42272. +do
  42273. + # Use a header file that comes with gcc, so configuring glibc
  42274. + # with a fresh cross-compiler works.
  42275. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  42276. + # <limits.h> exists even on freestanding compilers.
  42277. + # On the NeXT, cc -E runs the code through the compiler's parser,
  42278. + # not just through cpp. "Syntax error" is here to catch this case.
  42279. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42280. +/* end confdefs.h. */
  42281. +@%:@ifdef __STDC__
  42282. +@%:@ include <limits.h>
  42283. +@%:@else
  42284. +@%:@ include <assert.h>
  42285. +@%:@endif
  42286. + Syntax error
  42287. +_ACEOF
  42288. +if ac_fn_c_try_cpp "$LINENO"; then :
  42289. +
  42290. +else
  42291. + # Broken: fails on valid input.
  42292. +continue
  42293. +fi
  42294. +rm -f conftest.err conftest.i conftest.$ac_ext
  42295. +
  42296. + # OK, works on sane cases. Now check whether nonexistent headers
  42297. + # can be detected and how.
  42298. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42299. +/* end confdefs.h. */
  42300. +@%:@include <ac_nonexistent.h>
  42301. +_ACEOF
  42302. +if ac_fn_c_try_cpp "$LINENO"; then :
  42303. + # Broken: success on invalid input.
  42304. +continue
  42305. +else
  42306. + # Passes both tests.
  42307. +ac_preproc_ok=:
  42308. +break
  42309. +fi
  42310. +rm -f conftest.err conftest.i conftest.$ac_ext
  42311. +
  42312. +done
  42313. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  42314. +rm -f conftest.i conftest.err conftest.$ac_ext
  42315. +if $ac_preproc_ok; then :
  42316. + break
  42317. +fi
  42318. +
  42319. + done
  42320. + ac_cv_prog_CPP=$CPP
  42321. +
  42322. +fi
  42323. + CPP=$ac_cv_prog_CPP
  42324. +else
  42325. + ac_cv_prog_CPP=$CPP
  42326. +fi
  42327. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  42328. +$as_echo "$CPP" >&6; }
  42329. +ac_preproc_ok=false
  42330. +for ac_c_preproc_warn_flag in '' yes
  42331. +do
  42332. + # Use a header file that comes with gcc, so configuring glibc
  42333. + # with a fresh cross-compiler works.
  42334. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  42335. + # <limits.h> exists even on freestanding compilers.
  42336. + # On the NeXT, cc -E runs the code through the compiler's parser,
  42337. + # not just through cpp. "Syntax error" is here to catch this case.
  42338. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42339. +/* end confdefs.h. */
  42340. +@%:@ifdef __STDC__
  42341. +@%:@ include <limits.h>
  42342. +@%:@else
  42343. +@%:@ include <assert.h>
  42344. +@%:@endif
  42345. + Syntax error
  42346. +_ACEOF
  42347. +if ac_fn_c_try_cpp "$LINENO"; then :
  42348. +
  42349. +else
  42350. + # Broken: fails on valid input.
  42351. +continue
  42352. +fi
  42353. +rm -f conftest.err conftest.i conftest.$ac_ext
  42354. +
  42355. + # OK, works on sane cases. Now check whether nonexistent headers
  42356. + # can be detected and how.
  42357. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42358. +/* end confdefs.h. */
  42359. +@%:@include <ac_nonexistent.h>
  42360. +_ACEOF
  42361. +if ac_fn_c_try_cpp "$LINENO"; then :
  42362. + # Broken: success on invalid input.
  42363. +continue
  42364. +else
  42365. + # Passes both tests.
  42366. +ac_preproc_ok=:
  42367. +break
  42368. +fi
  42369. +rm -f conftest.err conftest.i conftest.$ac_ext
  42370. +
  42371. +done
  42372. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  42373. +rm -f conftest.i conftest.err conftest.$ac_ext
  42374. +if $ac_preproc_ok; then :
  42375. +
  42376. +else
  42377. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  42378. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  42379. +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  42380. +See \`config.log' for more details" "$LINENO" 5; }
  42381. +fi
  42382. +
  42383. +ac_ext=c
  42384. +ac_cpp='$CPP $CPPFLAGS'
  42385. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  42386. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  42387. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  42388. +
  42389. +
  42390. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  42391. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  42392. +if ${ac_cv_path_GREP+:} false; then :
  42393. + $as_echo_n "(cached) " >&6
  42394. +else
  42395. + if test -z "$GREP"; then
  42396. + ac_path_GREP_found=false
  42397. + # Loop through the user's path and test for each of PROGNAME-LIST
  42398. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42399. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  42400. +do
  42401. + IFS=$as_save_IFS
  42402. + test -z "$as_dir" && as_dir=.
  42403. + for ac_prog in grep ggrep; do
  42404. + for ac_exec_ext in '' $ac_executable_extensions; do
  42405. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  42406. + as_fn_executable_p "$ac_path_GREP" || continue
  42407. +# Check for GNU ac_path_GREP and select it if it is found.
  42408. + # Check for GNU $ac_path_GREP
  42409. +case `"$ac_path_GREP" --version 2>&1` in
  42410. +*GNU*)
  42411. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  42412. +*)
  42413. + ac_count=0
  42414. + $as_echo_n 0123456789 >"conftest.in"
  42415. + while :
  42416. + do
  42417. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  42418. + mv "conftest.tmp" "conftest.in"
  42419. + cp "conftest.in" "conftest.nl"
  42420. + $as_echo 'GREP' >> "conftest.nl"
  42421. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  42422. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  42423. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  42424. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  42425. + # Best one so far, save it but keep looking for a better one
  42426. + ac_cv_path_GREP="$ac_path_GREP"
  42427. + ac_path_GREP_max=$ac_count
  42428. + fi
  42429. + # 10*(2^10) chars as input seems more than enough
  42430. + test $ac_count -gt 10 && break
  42431. + done
  42432. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  42433. +esac
  42434. +
  42435. + $ac_path_GREP_found && break 3
  42436. + done
  42437. + done
  42438. + done
  42439. +IFS=$as_save_IFS
  42440. + if test -z "$ac_cv_path_GREP"; then
  42441. + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  42442. + fi
  42443. +else
  42444. + ac_cv_path_GREP=$GREP
  42445. +fi
  42446. +
  42447. +fi
  42448. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  42449. +$as_echo "$ac_cv_path_GREP" >&6; }
  42450. + GREP="$ac_cv_path_GREP"
  42451. +
  42452. +
  42453. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  42454. +$as_echo_n "checking for egrep... " >&6; }
  42455. +if ${ac_cv_path_EGREP+:} false; then :
  42456. + $as_echo_n "(cached) " >&6
  42457. +else
  42458. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  42459. + then ac_cv_path_EGREP="$GREP -E"
  42460. + else
  42461. + if test -z "$EGREP"; then
  42462. + ac_path_EGREP_found=false
  42463. + # Loop through the user's path and test for each of PROGNAME-LIST
  42464. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42465. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  42466. +do
  42467. + IFS=$as_save_IFS
  42468. + test -z "$as_dir" && as_dir=.
  42469. + for ac_prog in egrep; do
  42470. + for ac_exec_ext in '' $ac_executable_extensions; do
  42471. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  42472. + as_fn_executable_p "$ac_path_EGREP" || continue
  42473. +# Check for GNU ac_path_EGREP and select it if it is found.
  42474. + # Check for GNU $ac_path_EGREP
  42475. +case `"$ac_path_EGREP" --version 2>&1` in
  42476. +*GNU*)
  42477. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  42478. +*)
  42479. + ac_count=0
  42480. + $as_echo_n 0123456789 >"conftest.in"
  42481. + while :
  42482. + do
  42483. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  42484. + mv "conftest.tmp" "conftest.in"
  42485. + cp "conftest.in" "conftest.nl"
  42486. + $as_echo 'EGREP' >> "conftest.nl"
  42487. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  42488. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  42489. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  42490. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  42491. + # Best one so far, save it but keep looking for a better one
  42492. + ac_cv_path_EGREP="$ac_path_EGREP"
  42493. + ac_path_EGREP_max=$ac_count
  42494. + fi
  42495. + # 10*(2^10) chars as input seems more than enough
  42496. + test $ac_count -gt 10 && break
  42497. + done
  42498. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  42499. +esac
  42500. +
  42501. + $ac_path_EGREP_found && break 3
  42502. + done
  42503. + done
  42504. + done
  42505. +IFS=$as_save_IFS
  42506. + if test -z "$ac_cv_path_EGREP"; then
  42507. + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  42508. + fi
  42509. +else
  42510. + ac_cv_path_EGREP=$EGREP
  42511. +fi
  42512. +
  42513. + fi
  42514. +fi
  42515. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  42516. +$as_echo "$ac_cv_path_EGREP" >&6; }
  42517. + EGREP="$ac_cv_path_EGREP"
  42518. +
  42519. +
  42520. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  42521. +$as_echo_n "checking for ANSI C header files... " >&6; }
  42522. +if ${ac_cv_header_stdc+:} false; then :
  42523. + $as_echo_n "(cached) " >&6
  42524. +else
  42525. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42526. +/* end confdefs.h. */
  42527. +#include <stdlib.h>
  42528. +#include <stdarg.h>
  42529. +#include <string.h>
  42530. +#include <float.h>
  42531. +
  42532. +int
  42533. +main ()
  42534. +{
  42535. +
  42536. + ;
  42537. + return 0;
  42538. +}
  42539. +_ACEOF
  42540. +if ac_fn_c_try_compile "$LINENO"; then :
  42541. + ac_cv_header_stdc=yes
  42542. +else
  42543. + ac_cv_header_stdc=no
  42544. +fi
  42545. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  42546. +
  42547. +if test $ac_cv_header_stdc = yes; then
  42548. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  42549. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42550. +/* end confdefs.h. */
  42551. +#include <string.h>
  42552. +
  42553. +_ACEOF
  42554. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  42555. + $EGREP "memchr" >/dev/null 2>&1; then :
  42556. +
  42557. +else
  42558. + ac_cv_header_stdc=no
  42559. +fi
  42560. +rm -f conftest*
  42561. +
  42562. +fi
  42563. +
  42564. +if test $ac_cv_header_stdc = yes; then
  42565. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  42566. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42567. +/* end confdefs.h. */
  42568. +#include <stdlib.h>
  42569. +
  42570. +_ACEOF
  42571. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  42572. + $EGREP "free" >/dev/null 2>&1; then :
  42573. +
  42574. +else
  42575. + ac_cv_header_stdc=no
  42576. +fi
  42577. +rm -f conftest*
  42578. +
  42579. +fi
  42580. +
  42581. +if test $ac_cv_header_stdc = yes; then
  42582. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  42583. + if test "$cross_compiling" = yes; then :
  42584. + :
  42585. +else
  42586. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42587. +/* end confdefs.h. */
  42588. +#include <ctype.h>
  42589. +#include <stdlib.h>
  42590. +#if ((' ' & 0x0FF) == 0x020)
  42591. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  42592. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  42593. +#else
  42594. +# define ISLOWER(c) \
  42595. + (('a' <= (c) && (c) <= 'i') \
  42596. + || ('j' <= (c) && (c) <= 'r') \
  42597. + || ('s' <= (c) && (c) <= 'z'))
  42598. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  42599. +#endif
  42600. +
  42601. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  42602. +int
  42603. +main ()
  42604. +{
  42605. + int i;
  42606. + for (i = 0; i < 256; i++)
  42607. + if (XOR (islower (i), ISLOWER (i))
  42608. + || toupper (i) != TOUPPER (i))
  42609. + return 2;
  42610. + return 0;
  42611. +}
  42612. +_ACEOF
  42613. +if ac_fn_c_try_run "$LINENO"; then :
  42614. +
  42615. +else
  42616. + ac_cv_header_stdc=no
  42617. +fi
  42618. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  42619. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  42620. +fi
  42621. +
  42622. +fi
  42623. +fi
  42624. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  42625. +$as_echo "$ac_cv_header_stdc" >&6; }
  42626. +if test $ac_cv_header_stdc = yes; then
  42627. +
  42628. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  42629. +
  42630. +fi
  42631. +
  42632. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  42633. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  42634. + inttypes.h stdint.h unistd.h
  42635. +do :
  42636. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  42637. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  42638. +"
  42639. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  42640. + cat >>confdefs.h <<_ACEOF
  42641. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  42642. +_ACEOF
  42643. +
  42644. +fi
  42645. +
  42646. +done
  42647. +
  42648. +
  42649. +
  42650. +
  42651. +
  42652. + ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
  42653. +if test "x$ac_cv_header_minix_config_h" = xyes; then :
  42654. + MINIX=yes
  42655. +else
  42656. + MINIX=
  42657. +fi
  42658. +
  42659. +
  42660. + if test "$MINIX" = yes; then
  42661. +
  42662. +$as_echo "@%:@define _POSIX_SOURCE 1" >>confdefs.h
  42663. +
  42664. +
  42665. +$as_echo "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h
  42666. +
  42667. +
  42668. +$as_echo "@%:@define _MINIX 1" >>confdefs.h
  42669. +
  42670. + fi
  42671. +
  42672. + case "$host_os" in
  42673. + hpux*)
  42674. +
  42675. +$as_echo "@%:@define _XOPEN_SOURCE 500" >>confdefs.h
  42676. +
  42677. + ;;
  42678. + esac
  42679. +
  42680. +
  42681. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
  42682. +$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
  42683. +if ${ac_cv_safe_to_define___extensions__+:} false; then :
  42684. + $as_echo_n "(cached) " >&6
  42685. +else
  42686. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42687. +/* end confdefs.h. */
  42688. +
  42689. +# define __EXTENSIONS__ 1
  42690. + $ac_includes_default
  42691. +int
  42692. +main ()
  42693. +{
  42694. +
  42695. + ;
  42696. + return 0;
  42697. +}
  42698. +_ACEOF
  42699. +if ac_fn_c_try_compile "$LINENO"; then :
  42700. + ac_cv_safe_to_define___extensions__=yes
  42701. +else
  42702. + ac_cv_safe_to_define___extensions__=no
  42703. +fi
  42704. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  42705. +fi
  42706. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
  42707. +$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
  42708. + test $ac_cv_safe_to_define___extensions__ = yes &&
  42709. + $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h
  42710. +
  42711. + $as_echo "@%:@define _ALL_SOURCE 1" >>confdefs.h
  42712. +
  42713. + $as_echo "@%:@define _GNU_SOURCE 1" >>confdefs.h
  42714. +
  42715. + $as_echo "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
  42716. +
  42717. + $as_echo "@%:@define _TANDEM_SOURCE 1" >>confdefs.h
  42718. +
  42719. +
  42720. +
  42721. +
  42722. +
  42723. +
  42724. +
  42725. +
  42726. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
  42727. +$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
  42728. +if ${ac_cv_sys_largefile_source+:} false; then :
  42729. + $as_echo_n "(cached) " >&6
  42730. +else
  42731. + while :; do
  42732. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42733. +/* end confdefs.h. */
  42734. +#include <sys/types.h> /* for off_t */
  42735. + #include <stdio.h>
  42736. +int
  42737. +main ()
  42738. +{
  42739. +int (*fp) (FILE *, off_t, int) = fseeko;
  42740. + return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
  42741. + ;
  42742. + return 0;
  42743. +}
  42744. +_ACEOF
  42745. +if ac_fn_c_try_link "$LINENO"; then :
  42746. + ac_cv_sys_largefile_source=no; break
  42747. +fi
  42748. +rm -f core conftest.err conftest.$ac_objext \
  42749. + conftest$ac_exeext conftest.$ac_ext
  42750. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42751. +/* end confdefs.h. */
  42752. +@%:@define _LARGEFILE_SOURCE 1
  42753. +#include <sys/types.h> /* for off_t */
  42754. + #include <stdio.h>
  42755. +int
  42756. +main ()
  42757. +{
  42758. +int (*fp) (FILE *, off_t, int) = fseeko;
  42759. + return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
  42760. + ;
  42761. + return 0;
  42762. +}
  42763. +_ACEOF
  42764. +if ac_fn_c_try_link "$LINENO"; then :
  42765. + ac_cv_sys_largefile_source=1; break
  42766. +fi
  42767. +rm -f core conftest.err conftest.$ac_objext \
  42768. + conftest$ac_exeext conftest.$ac_ext
  42769. + ac_cv_sys_largefile_source=unknown
  42770. + break
  42771. +done
  42772. +fi
  42773. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
  42774. +$as_echo "$ac_cv_sys_largefile_source" >&6; }
  42775. +case $ac_cv_sys_largefile_source in #(
  42776. + no | unknown) ;;
  42777. + *)
  42778. +cat >>confdefs.h <<_ACEOF
  42779. +@%:@define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
  42780. +_ACEOF
  42781. +;;
  42782. +esac
  42783. +rm -rf conftest*
  42784. +
  42785. +# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
  42786. +# in glibc 2.1.3, but that breaks too many other things.
  42787. +# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
  42788. +if test $ac_cv_sys_largefile_source != unknown; then
  42789. +
  42790. +$as_echo "@%:@define HAVE_FSEEKO 1" >>confdefs.h
  42791. +
  42792. +fi
  42793. +
  42794. +
  42795. +
  42796. +
  42797. + # IEEE behaviour is the default on all CPUs except Alpha and SH
  42798. + # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4
  42799. + # and the GCC 4.1.2 manual).
  42800. + case "$host_cpu" in
  42801. + alpha*)
  42802. + # On Alpha systems, a compiler option provides the behaviour.
  42803. + # See the ieee(3) manual page, also available at
  42804. + # <http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN3/0600____.HTM>
  42805. + if test -n "$GCC"; then
  42806. + # GCC has the option -mieee.
  42807. + CPPFLAGS="$CPPFLAGS -mieee"
  42808. + else
  42809. + # Compaq (ex-DEC) C has the option -ieee.
  42810. + CPPFLAGS="$CPPFLAGS -ieee"
  42811. + fi
  42812. + ;;
  42813. + sh*)
  42814. + if test -n "$GCC"; then
  42815. + # GCC has the option -mieee.
  42816. + CPPFLAGS="$CPPFLAGS -mieee"
  42817. + fi
  42818. + ;;
  42819. + esac
  42820. +
  42821. + case $ac_cv_prog_cc_stdc in @%:@(
  42822. + no) :
  42823. + ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; @%:@(
  42824. + *) :
  42825. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
  42826. +$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
  42827. +if ${ac_cv_prog_cc_c99+:} false; then :
  42828. + $as_echo_n "(cached) " >&6
  42829. +else
  42830. + ac_cv_prog_cc_c99=no
  42831. +ac_save_CC=$CC
  42832. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  42833. +/* end confdefs.h. */
  42834. +#include <stdarg.h>
  42835. +#include <stdbool.h>
  42836. +#include <stdlib.h>
  42837. +#include <wchar.h>
  42838. +#include <stdio.h>
  42839. +
  42840. +// Check varargs macros. These examples are taken from C99 6.10.3.5.
  42841. +#define debug(...) fprintf (stderr, __VA_ARGS__)
  42842. +#define showlist(...) puts (#__VA_ARGS__)
  42843. +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  42844. +static void
  42845. +test_varargs_macros (void)
  42846. +{
  42847. + int x = 1234;
  42848. + int y = 5678;
  42849. + debug ("Flag");
  42850. + debug ("X = %d\n", x);
  42851. + showlist (The first, second, and third items.);
  42852. + report (x>y, "x is %d but y is %d", x, y);
  42853. +}
  42854. +
  42855. +// Check long long types.
  42856. +#define BIG64 18446744073709551615ull
  42857. +#define BIG32 4294967295ul
  42858. +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  42859. +#if !BIG_OK
  42860. + your preprocessor is broken;
  42861. +#endif
  42862. +#if BIG_OK
  42863. +#else
  42864. + your preprocessor is broken;
  42865. +#endif
  42866. +static long long int bignum = -9223372036854775807LL;
  42867. +static unsigned long long int ubignum = BIG64;
  42868. +
  42869. +struct incomplete_array
  42870. +{
  42871. + int datasize;
  42872. + double data[];
  42873. +};
  42874. +
  42875. +struct named_init {
  42876. + int number;
  42877. + const wchar_t *name;
  42878. + double average;
  42879. +};
  42880. +
  42881. +typedef const char *ccp;
  42882. +
  42883. +static inline int
  42884. +test_restrict (ccp restrict text)
  42885. +{
  42886. + // See if C++-style comments work.
  42887. + // Iterate through items via the restricted pointer.
  42888. + // Also check for declarations in for loops.
  42889. + for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  42890. + continue;
  42891. + return 0;
  42892. +}
  42893. +
  42894. +// Check varargs and va_copy.
  42895. +static void
  42896. +test_varargs (const char *format, ...)
  42897. +{
  42898. + va_list args;
  42899. + va_start (args, format);
  42900. + va_list args_copy;
  42901. + va_copy (args_copy, args);
  42902. +
  42903. + const char *str;
  42904. + int number;
  42905. + float fnumber;
  42906. +
  42907. + while (*format)
  42908. + {
  42909. + switch (*format++)
  42910. + {
  42911. + case 's': // string
  42912. + str = va_arg (args_copy, const char *);
  42913. + break;
  42914. + case 'd': // int
  42915. + number = va_arg (args_copy, int);
  42916. + break;
  42917. + case 'f': // float
  42918. + fnumber = va_arg (args_copy, double);
  42919. + break;
  42920. + default:
  42921. + break;
  42922. + }
  42923. + }
  42924. + va_end (args_copy);
  42925. + va_end (args);
  42926. +}
  42927. +
  42928. +int
  42929. +main ()
  42930. +{
  42931. +
  42932. + // Check bool.
  42933. + _Bool success = false;
  42934. +
  42935. + // Check restrict.
  42936. + if (test_restrict ("String literal") == 0)
  42937. + success = true;
  42938. + char *restrict newvar = "Another string";
  42939. +
  42940. + // Check varargs.
  42941. + test_varargs ("s, d' f .", "string", 65, 34.234);
  42942. + test_varargs_macros ();
  42943. +
  42944. + // Check flexible array members.
  42945. + struct incomplete_array *ia =
  42946. + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  42947. + ia->datasize = 10;
  42948. + for (int i = 0; i < ia->datasize; ++i)
  42949. + ia->data[i] = i * 1.234;
  42950. +
  42951. + // Check named initializers.
  42952. + struct named_init ni = {
  42953. + .number = 34,
  42954. + .name = L"Test wide string",
  42955. + .average = 543.34343,
  42956. + };
  42957. +
  42958. + ni.number = 58;
  42959. +
  42960. + int dynamic_array[ni.number];
  42961. + dynamic_array[ni.number - 1] = 543;
  42962. +
  42963. + // work around unused variable warnings
  42964. + return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  42965. + || dynamic_array[ni.number - 1] != 543);
  42966. +
  42967. + ;
  42968. + return 0;
  42969. +}
  42970. +_ACEOF
  42971. +for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
  42972. +do
  42973. + CC="$ac_save_CC $ac_arg"
  42974. + if ac_fn_c_try_compile "$LINENO"; then :
  42975. + ac_cv_prog_cc_c99=$ac_arg
  42976. +fi
  42977. +rm -f core conftest.err conftest.$ac_objext
  42978. + test "x$ac_cv_prog_cc_c99" != "xno" && break
  42979. +done
  42980. +rm -f conftest.$ac_ext
  42981. +CC=$ac_save_CC
  42982. +
  42983. +fi
  42984. +# AC_CACHE_VAL
  42985. +case "x$ac_cv_prog_cc_c99" in
  42986. + x)
  42987. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  42988. +$as_echo "none needed" >&6; } ;;
  42989. + xno)
  42990. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  42991. +$as_echo "unsupported" >&6; } ;;
  42992. + *)
  42993. + CC="$CC $ac_cv_prog_cc_c99"
  42994. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
  42995. +$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
  42996. +esac
  42997. +if test "x$ac_cv_prog_cc_c99" != xno; then :
  42998. + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
  42999. +else
  43000. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  43001. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  43002. +if ${ac_cv_prog_cc_c89+:} false; then :
  43003. + $as_echo_n "(cached) " >&6
  43004. +else
  43005. + ac_cv_prog_cc_c89=no
  43006. +ac_save_CC=$CC
  43007. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43008. +/* end confdefs.h. */
  43009. +#include <stdarg.h>
  43010. +#include <stdio.h>
  43011. +struct stat;
  43012. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  43013. +struct buf { int x; };
  43014. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  43015. +static char *e (p, i)
  43016. + char **p;
  43017. + int i;
  43018. +{
  43019. + return p[i];
  43020. +}
  43021. +static char *f (char * (*g) (char **, int), char **p, ...)
  43022. +{
  43023. + char *s;
  43024. + va_list v;
  43025. + va_start (v,p);
  43026. + s = g (p, va_arg (v,int));
  43027. + va_end (v);
  43028. + return s;
  43029. +}
  43030. +
  43031. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  43032. + function prototypes and stuff, but not '\xHH' hex character constants.
  43033. + These don't provoke an error unfortunately, instead are silently treated
  43034. + as 'x'. The following induces an error, until -std is added to get
  43035. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  43036. + array size at least. It's necessary to write '\x00'==0 to get something
  43037. + that's true only with -std. */
  43038. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  43039. +
  43040. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  43041. + inside strings and character constants. */
  43042. +#define FOO(x) 'x'
  43043. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  43044. +
  43045. +int test (int i, double x);
  43046. +struct s1 {int (*f) (int a);};
  43047. +struct s2 {int (*f) (double a);};
  43048. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  43049. +int argc;
  43050. +char **argv;
  43051. +int
  43052. +main ()
  43053. +{
  43054. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  43055. + ;
  43056. + return 0;
  43057. +}
  43058. +_ACEOF
  43059. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  43060. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  43061. +do
  43062. + CC="$ac_save_CC $ac_arg"
  43063. + if ac_fn_c_try_compile "$LINENO"; then :
  43064. + ac_cv_prog_cc_c89=$ac_arg
  43065. +fi
  43066. +rm -f core conftest.err conftest.$ac_objext
  43067. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  43068. +done
  43069. +rm -f conftest.$ac_ext
  43070. +CC=$ac_save_CC
  43071. +
  43072. +fi
  43073. +# AC_CACHE_VAL
  43074. +case "x$ac_cv_prog_cc_c89" in
  43075. + x)
  43076. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  43077. +$as_echo "none needed" >&6; } ;;
  43078. + xno)
  43079. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  43080. +$as_echo "unsupported" >&6; } ;;
  43081. + *)
  43082. + CC="$CC $ac_cv_prog_cc_c89"
  43083. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  43084. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  43085. +esac
  43086. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  43087. + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
  43088. +else
  43089. + ac_cv_prog_cc_stdc=no
  43090. +fi
  43091. +
  43092. +fi
  43093. + ;;
  43094. +esac
  43095. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
  43096. +$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
  43097. + if ${ac_cv_prog_cc_stdc+:} false; then :
  43098. + $as_echo_n "(cached) " >&6
  43099. +fi
  43100. +
  43101. + case $ac_cv_prog_cc_stdc in @%:@(
  43102. + no) :
  43103. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  43104. +$as_echo "unsupported" >&6; } ;; @%:@(
  43105. + '') :
  43106. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  43107. +$as_echo "none needed" >&6; } ;; @%:@(
  43108. + *) :
  43109. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
  43110. +$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
  43111. +esac
  43112. +
  43113. +
  43114. +
  43115. +
  43116. +
  43117. +
  43118. + @%:@ Check whether --enable-threads was given.
  43119. +if test "${enable_threads+set}" = set; then :
  43120. + enableval=$enable_threads; gl_use_threads=$enableval
  43121. +else
  43122. + if test -n "$gl_use_threads_default"; then
  43123. + gl_use_threads="$gl_use_threads_default"
  43124. + else
  43125. + case "$host_os" in
  43126. + osf*) gl_use_threads=no ;;
  43127. + cygwin*)
  43128. + case `uname -r` in
  43129. + 1.[0-5].*) gl_use_threads=no ;;
  43130. + *) gl_use_threads=yes ;;
  43131. + esac
  43132. + ;;
  43133. + *) gl_use_threads=yes ;;
  43134. + esac
  43135. + fi
  43136. +
  43137. +fi
  43138. +
  43139. + if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
  43140. + # For using <pthread.h>:
  43141. + case "$host_os" in
  43142. + osf*)
  43143. + # On OSF/1, the compiler needs the flag -D_REENTRANT so that it
  43144. + # groks <pthread.h>. cc also understands the flag -pthread, but
  43145. + # we don't use it because 1. gcc-2.95 doesn't understand -pthread,
  43146. + # 2. putting a flag into CPPFLAGS that has an effect on the linker
  43147. + # causes the AC_LINK_IFELSE test below to succeed unexpectedly,
  43148. + # leading to wrong values of LIBTHREAD and LTLIBTHREAD.
  43149. + CPPFLAGS="$CPPFLAGS -D_REENTRANT"
  43150. + ;;
  43151. + esac
  43152. + # Some systems optimize for single-threaded programs by default, and
  43153. + # need special flags to disable these optimizations. For example, the
  43154. + # definition of 'errno' in <errno.h>.
  43155. + case "$host_os" in
  43156. + aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
  43157. + solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
  43158. + esac
  43159. + fi
  43160. +
  43161. +
  43162. +
  43163. +
  43164. + # Code from module alloca-opt:
  43165. + # Code from module alloca-opt-tests:
  43166. + # Code from module announce-gen:
  43167. + # Code from module ansi-c++-opt:
  43168. + # Code from module arg-nonnull:
  43169. + # Code from module array-list:
  43170. + # Code from module array-list-tests:
  43171. + # Code from module array-oset:
  43172. + # Code from module array-oset-tests:
  43173. + # Code from module assert:
  43174. + # Code from module autobuild:
  43175. +
  43176. +
  43177. +
  43178. +
  43179. + if test -z "$AB_PACKAGE"; then
  43180. + AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE}
  43181. + fi
  43182. + { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild project... $AB_PACKAGE" >&5
  43183. +$as_echo "$as_me: autobuild project... $AB_PACKAGE" >&6;}
  43184. +
  43185. + if test -z "$AB_VERSION"; then
  43186. + AB_VERSION=${PACKAGE_VERSION:-$VERSION}
  43187. + fi
  43188. + { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild revision... $AB_VERSION" >&5
  43189. +$as_echo "$as_me: autobuild revision... $AB_VERSION" >&6;}
  43190. +
  43191. + hostname=`hostname`
  43192. + if test "$hostname"; then
  43193. + { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild hostname... $hostname" >&5
  43194. +$as_echo "$as_me: autobuild hostname... $hostname" >&6;}
  43195. + fi
  43196. +
  43197. +
  43198. +
  43199. + date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ`
  43200. + if test "$?" != 0; then
  43201. + date=`date`
  43202. + fi
  43203. + if test "$date"; then
  43204. + { $as_echo "$as_me:${as_lineno-$LINENO}: autobuild timestamp... $date" >&5
  43205. +$as_echo "$as_me: autobuild timestamp... $date" >&6;}
  43206. + fi
  43207. +
  43208. + # Code from module avltree-oset:
  43209. + # Code from module avltree-oset-tests:
  43210. + # Code from module binary-io:
  43211. + # Code from module binary-io-tests:
  43212. + # Code from module btowc:
  43213. + # Code from module btowc-tests:
  43214. + # Code from module c++defs:
  43215. + # Code from module c-ctype:
  43216. + # Code from module c-ctype-tests:
  43217. + # Code from module c-stack:
  43218. + # Code from module c-stack-tests:
  43219. + # Code from module c-strcase:
  43220. + # Code from module c-strcase-tests:
  43221. + # Code from module canonicalize-lgpl:
  43222. + # Code from module canonicalize-lgpl-tests:
  43223. + # Code from module clean-temp:
  43224. + # Code from module cloexec:
  43225. + # Code from module cloexec-tests:
  43226. + # Code from module close:
  43227. + # Code from module close-hook:
  43228. + # Code from module close-stream:
  43229. + # Code from module closein:
  43230. + # Code from module closein-tests:
  43231. + # Code from module closeout:
  43232. + # Code from module config-h:
  43233. + # Code from module configmake:
  43234. + # Code from module dirname:
  43235. + # Code from module dirname-lgpl:
  43236. + # Code from module dirname-tests:
  43237. + # Code from module dosname:
  43238. + # Code from module double-slash-root:
  43239. + # Code from module dup2:
  43240. + # Code from module dup2-tests:
  43241. + # Code from module environ:
  43242. + # Code from module environ-tests:
  43243. + # Code from module errno:
  43244. + # Code from module errno-tests:
  43245. + # Code from module error:
  43246. + # Code from module execute:
  43247. + # Code from module exitfail:
  43248. + # Code from module extensions:
  43249. +
  43250. + # Code from module fatal-signal:
  43251. + # Code from module fclose:
  43252. + # Code from module fcntl:
  43253. + # Code from module fcntl-h:
  43254. + # Code from module fcntl-h-c++-tests:
  43255. + # Code from module fcntl-h-tests:
  43256. + # Code from module fcntl-tests:
  43257. + # Code from module fd-safer-flag:
  43258. + # Code from module fdl-1.3:
  43259. + # Code from module fflush:
  43260. +
  43261. + # Code from module fflush-tests:
  43262. + # Code from module filenamecat:
  43263. + # Code from module filenamecat-lgpl:
  43264. + # Code from module filenamecat-tests:
  43265. + # Code from module float:
  43266. + # Code from module fopen:
  43267. + # Code from module fopen-safer:
  43268. + # Code from module fopen-safer-tests:
  43269. + # Code from module fopen-tests:
  43270. + # Code from module fpending:
  43271. + # Code from module fpending-tests:
  43272. + # Code from module fpieee:
  43273. +
  43274. + # Code from module fpucw:
  43275. + # Code from module fpurge:
  43276. + # Code from module fpurge-tests:
  43277. + # Code from module freadahead:
  43278. + # Code from module freadahead-tests:
  43279. + # Code from module freading:
  43280. + # Code from module freading-tests:
  43281. + # Code from module frexp-nolibm:
  43282. + # Code from module frexp-nolibm-tests:
  43283. + # Code from module frexpl-nolibm:
  43284. + # Code from module frexpl-nolibm-tests:
  43285. + # Code from module fseeko:
  43286. +
  43287. + # Code from module fseeko-tests:
  43288. + # Code from module ftell:
  43289. + # Code from module ftell-tests:
  43290. + # Code from module ftello:
  43291. +
  43292. + # Code from module ftello-tests:
  43293. + # Code from module gendocs:
  43294. + # Code from module getdtablesize:
  43295. + # Code from module getdtablesize-tests:
  43296. + # Code from module getopt-gnu:
  43297. + # Code from module getopt-posix:
  43298. + # Code from module getopt-posix-tests:
  43299. + # Code from module getpagesize:
  43300. + # Code from module gettext-h:
  43301. + # Code from module gettimeofday:
  43302. + # Code from module gettimeofday-tests:
  43303. + # Code from module git-version-gen:
  43304. + # Code from module gnu-web-doc-update:
  43305. + # Code from module gnumakefile:
  43306. + # Code from module gnupload:
  43307. + # Code from module gpl-3.0:
  43308. + # Code from module havelib:
  43309. + # Code from module ignore-value:
  43310. + # Code from module ignore-value-tests:
  43311. + # Code from module include_next:
  43312. + # Code from module inline:
  43313. + # Code from module intprops:
  43314. + # Code from module isnand-nolibm:
  43315. + # Code from module isnand-nolibm-tests:
  43316. + # Code from module isnanf-nolibm:
  43317. + # Code from module isnanf-nolibm-tests:
  43318. + # Code from module isnanl-nolibm:
  43319. + # Code from module isnanl-nolibm-tests:
  43320. + # Code from module langinfo:
  43321. + # Code from module langinfo-c++-tests:
  43322. + # Code from module langinfo-tests:
  43323. + # Code from module libsigsegv:
  43324. + # Code from module link:
  43325. + # Code from module link-tests:
  43326. + # Code from module linkedhash-list:
  43327. + # Code from module linkedhash-list-tests:
  43328. + # Code from module list:
  43329. + # Code from module localcharset:
  43330. + # Code from module locale:
  43331. + # Code from module locale-c++-tests:
  43332. + # Code from module locale-tests:
  43333. + # Code from module localename:
  43334. + # Code from module localename-tests:
  43335. + # Code from module lock:
  43336. + # Code from module lseek:
  43337. + # Code from module lseek-tests:
  43338. + # Code from module lstat:
  43339. + # Code from module lstat-tests:
  43340. + # Code from module maintainer-makefile:
  43341. + # Code from module malloc-gnu:
  43342. + # Code from module malloc-gnu-tests:
  43343. + # Code from module malloc-posix:
  43344. + # Code from module malloca:
  43345. + # Code from module malloca-tests:
  43346. + # Code from module manywarnings:
  43347. + # Code from module math:
  43348. + # Code from module math-c++-tests:
  43349. + # Code from module math-tests:
  43350. + # Code from module mbrtowc:
  43351. + # Code from module mbrtowc-tests:
  43352. + # Code from module mbsinit:
  43353. + # Code from module mbsinit-tests:
  43354. + # Code from module mbtowc:
  43355. + # Code from module memchr:
  43356. + # Code from module memchr-tests:
  43357. + # Code from module memchr2:
  43358. + # Code from module memchr2-tests:
  43359. + # Code from module mkdtemp:
  43360. + # Code from module mkstemp:
  43361. + # Code from module multiarch:
  43362. + # Code from module nl_langinfo:
  43363. + # Code from module nl_langinfo-tests:
  43364. + # Code from module nocrash:
  43365. + # Code from module obstack:
  43366. + # Code from module open:
  43367. + # Code from module open-tests:
  43368. + # Code from module oset:
  43369. + # Code from module pathmax:
  43370. + # Code from module pipe2:
  43371. + # Code from module pipe2-safer:
  43372. + # Code from module pipe2-tests:
  43373. + # Code from module posix_spawn-internal:
  43374. + # Code from module posix_spawn_file_actions_addclose:
  43375. + # Code from module posix_spawn_file_actions_adddup2:
  43376. + # Code from module posix_spawn_file_actions_addopen:
  43377. + # Code from module posix_spawn_file_actions_destroy:
  43378. + # Code from module posix_spawn_file_actions_init:
  43379. + # Code from module posix_spawnattr_destroy:
  43380. + # Code from module posix_spawnattr_init:
  43381. + # Code from module posix_spawnattr_setflags:
  43382. + # Code from module posix_spawnattr_setsigmask:
  43383. + # Code from module posix_spawnp:
  43384. + # Code from module posix_spawnp-tests:
  43385. + # Code from module printf-frexp:
  43386. + # Code from module printf-frexp-tests:
  43387. + # Code from module printf-frexpl:
  43388. + # Code from module printf-frexpl-tests:
  43389. + # Code from module printf-safe:
  43390. + # Code from module progname:
  43391. + # Code from module putenv:
  43392. + # Code from module quotearg:
  43393. + # Code from module quotearg-simple:
  43394. + # Code from module quotearg-simple-tests:
  43395. + # Code from module rawmemchr:
  43396. + # Code from module rawmemchr-tests:
  43397. + # Code from module readlink:
  43398. + # Code from module readlink-tests:
  43399. + # Code from module regex:
  43400. + # Code from module rename:
  43401. + # Code from module rename-tests:
  43402. + # Code from module rmdir:
  43403. + # Code from module rmdir-tests:
  43404. + # Code from module same-inode:
  43405. + # Code from module sched:
  43406. + # Code from module sched-tests:
  43407. + # Code from module setenv:
  43408. + # Code from module setenv-tests:
  43409. + # Code from module setlocale:
  43410. + # Code from module setlocale-tests:
  43411. + # Code from module sigaction:
  43412. + # Code from module sigaction-tests:
  43413. + # Code from module signal:
  43414. + # Code from module signal-c++-tests:
  43415. + # Code from module signal-tests:
  43416. + # Code from module signbit:
  43417. + # Code from module signbit-tests:
  43418. + # Code from module sigprocmask:
  43419. + # Code from module size_max:
  43420. + # Code from module snprintf:
  43421. + # Code from module snprintf-tests:
  43422. + # Code from module spawn:
  43423. + # Code from module spawn-c++-tests:
  43424. + # Code from module spawn-pipe:
  43425. + # Code from module spawn-pipe-tests:
  43426. + # Code from module spawn-tests:
  43427. + # Code from module ssize_t:
  43428. + # Code from module stat:
  43429. + # Code from module stat-tests:
  43430. + # Code from module stdarg:
  43431. +
  43432. + # Code from module stdbool:
  43433. + # Code from module stdbool-tests:
  43434. + # Code from module stddef:
  43435. + # Code from module stddef-tests:
  43436. + # Code from module stdint:
  43437. + # Code from module stdint-tests:
  43438. + # Code from module stdio:
  43439. + # Code from module stdio-c++-tests:
  43440. + # Code from module stdio-tests:
  43441. + # Code from module stdlib:
  43442. + # Code from module stdlib-c++-tests:
  43443. + # Code from module stdlib-safer:
  43444. + # Code from module stdlib-tests:
  43445. + # Code from module strchrnul:
  43446. + # Code from module strchrnul-tests:
  43447. + # Code from module strdup-posix:
  43448. + # Code from module streq:
  43449. + # Code from module strerror:
  43450. + # Code from module strerror-tests:
  43451. + # Code from module string:
  43452. + # Code from module string-c++-tests:
  43453. + # Code from module string-tests:
  43454. + # Code from module strndup:
  43455. + # Code from module strnlen:
  43456. + # Code from module strnlen-tests:
  43457. + # Code from module strsignal:
  43458. + # Code from module strsignal-tests:
  43459. + # Code from module strstr:
  43460. + # Code from module strstr-simple:
  43461. + # Code from module strstr-tests:
  43462. + # Code from module strtod:
  43463. + # Code from module strtod-tests:
  43464. + # Code from module strtol:
  43465. + # Code from module symlink:
  43466. + # Code from module symlink-tests:
  43467. + # Code from module sys_stat:
  43468. + # Code from module sys_stat-c++-tests:
  43469. + # Code from module sys_stat-tests:
  43470. + # Code from module sys_time:
  43471. + # Code from module sys_time-c++-tests:
  43472. + # Code from module sys_time-tests:
  43473. + # Code from module sys_wait:
  43474. + # Code from module sys_wait-c++-tests:
  43475. + # Code from module sys_wait-tests:
  43476. + # Code from module tempname:
  43477. + # Code from module threadlib:
  43478. +
  43479. +
  43480. +
  43481. + # Code from module time:
  43482. + # Code from module time-c++-tests:
  43483. + # Code from module time-tests:
  43484. + # Code from module tls:
  43485. + # Code from module tmpdir:
  43486. + # Code from module unistd:
  43487. + # Code from module unistd-c++-tests:
  43488. + # Code from module unistd-safer:
  43489. + # Code from module unistd-safer-tests:
  43490. + # Code from module unistd-tests:
  43491. + # Code from module unlocked-io:
  43492. + # Code from module unsetenv:
  43493. + # Code from module unsetenv-tests:
  43494. + # Code from module update-copyright:
  43495. + # Code from module update-copyright-tests:
  43496. + # Code from module useless-if-before-free:
  43497. + # Code from module vasnprintf:
  43498. + # Code from module vasnprintf-tests:
  43499. + # Code from module vasprintf:
  43500. + # Code from module vasprintf-posix:
  43501. + # Code from module vasprintf-posix-tests:
  43502. + # Code from module vasprintf-tests:
  43503. + # Code from module vc-list-files:
  43504. + # Code from module vc-list-files-tests:
  43505. + # Code from module verify:
  43506. + # Code from module verify-tests:
  43507. + # Code from module verror:
  43508. + # Code from module version-etc:
  43509. + # Code from module version-etc-fsf:
  43510. + # Code from module version-etc-tests:
  43511. + # Code from module wait-process:
  43512. + # Code from module waitpid:
  43513. + # Code from module warn-on-use:
  43514. + # Code from module warnings:
  43515. + # Code from module wchar:
  43516. + # Code from module wchar-c++-tests:
  43517. + # Code from module wchar-tests:
  43518. + # Code from module wcrtomb:
  43519. + # Code from module wcrtomb-tests:
  43520. + # Code from module wctob:
  43521. + # Code from module wctomb:
  43522. + # Code from module wctype-h:
  43523. + # Code from module wctype-h-c++-tests:
  43524. + # Code from module wctype-h-tests:
  43525. + # Code from module xalloc:
  43526. + # Code from module xalloc-die:
  43527. + # Code from module xalloc-die-tests:
  43528. + # Code from module xlist:
  43529. + # Code from module xmalloca:
  43530. + # Code from module xoset:
  43531. + # Code from module xprintf:
  43532. + # Code from module xsize:
  43533. + # Code from module xstrndup:
  43534. + # Code from module xvasprintf:
  43535. + # Code from module xvasprintf-posix:
  43536. + # Code from module xvasprintf-tests:
  43537. +
  43538. +
  43539. +# Maintainer note - comment this line out if you plan to rerun
  43540. +# GNULIB_POSIXCHECK testing to see if M4 should be using more modules.
  43541. +# Leave it uncommented for normal releases, for faster ./configure.
  43542. +
  43543. +
  43544. +
  43545. +
  43546. +# M4 is single-threaded; so we can optimize gnulib code by using this:
  43547. +
  43548. +
  43549. +
  43550. +
  43551. +@%:@ Check whether --enable-gcc-warnings was given.
  43552. +if test "${enable_gcc_warnings+set}" = set; then :
  43553. + enableval=$enable_gcc_warnings; case $enableval in
  43554. + yes|no) ;;
  43555. + *) as_fn_error $? "bad value $enableval for gcc-warnings option" "$LINENO" 5 ;;
  43556. + esac
  43557. + gl_gcc_warnings=$enableval
  43558. +else
  43559. + gl_gcc_warnings=no
  43560. +
  43561. +fi
  43562. +
  43563. +
  43564. +if test "$gl_gcc_warnings" = yes; then
  43565. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Werror" >&5
  43566. +$as_echo_n "checking whether compiler handles -Werror... " >&6; }
  43567. +if ${gl_cv_warn__Werror+:} false; then :
  43568. + $as_echo_n "(cached) " >&6
  43569. +else
  43570. +
  43571. + save_CPPFLAGS="$CPPFLAGS"
  43572. + CPPFLAGS="${CPPFLAGS} -Werror"
  43573. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43574. +/* end confdefs.h. */
  43575. +
  43576. +int
  43577. +main ()
  43578. +{
  43579. +
  43580. + ;
  43581. + return 0;
  43582. +}
  43583. +_ACEOF
  43584. +if ac_fn_c_try_cpp "$LINENO"; then :
  43585. + gl_cv_warn__Werror=yes
  43586. +else
  43587. + gl_cv_warn__Werror=no
  43588. +fi
  43589. +rm -f conftest.err conftest.i conftest.$ac_ext
  43590. + CPPFLAGS="$save_CPPFLAGS"
  43591. +
  43592. +fi
  43593. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Werror" >&5
  43594. +$as_echo "$gl_cv_warn__Werror" >&6; }
  43595. +if test "x$gl_cv_warn__Werror" = xyes; then :
  43596. + as_fn_append WERROR_CFLAGS " -Werror"
  43597. +fi
  43598. +
  43599. +
  43600. +
  43601. + nw=
  43602. + nw="$nw -Waggregate-return" # C90 is anachronistic
  43603. + nw="$nw -Wlong-long" # C90 is anachronistic
  43604. + nw="$nw -Wundef" # Warns on '#if GNULIB_FOO' etc in gnulib
  43605. + nw="$nw -Wtraditional" # Warns on #elif which we use often
  43606. + nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings
  43607. + nw="$nw -Wpadded" # Our structs are not packed
  43608. + nw="$nw -Wredundant-decls" # Gnulib has multiple decls
  43609. + nw="$nw -Wformat-nonliteral" # Needed in builtin.c
  43610. + nw="$nw -Wunreachable-code" # Needed in output.c
  43611. + nw="$nw -Wconversion" # Too many warnings for now
  43612. + nw="$nw -Wsign-conversion" # Too many warnings for now
  43613. + nw="$nw -Wtraditional-conversion" # Too many warnings for now
  43614. + nw="$nw -Wcast-qual" # Too many warnings for now
  43615. + nw="$nw -Wswitch-enum" # Too many warnings for now
  43616. + # This, $nw, is the list of warnings we disable.
  43617. +
  43618. +
  43619. + gl_manywarn_set=
  43620. + for gl_manywarn_item in \
  43621. + -Wall \
  43622. + -W \
  43623. + -Wformat-y2k \
  43624. + -Wformat-nonliteral \
  43625. + -Wformat-security \
  43626. + -Winit-self \
  43627. + -Wmissing-include-dirs \
  43628. + -Wswitch-default \
  43629. + -Wswitch-enum \
  43630. + -Wunused \
  43631. + -Wunknown-pragmas \
  43632. + -Wstrict-aliasing \
  43633. + -Wstrict-overflow \
  43634. + -Wsystem-headers \
  43635. + -Wfloat-equal \
  43636. + -Wtraditional \
  43637. + -Wtraditional-conversion \
  43638. + -Wdeclaration-after-statement \
  43639. + -Wundef \
  43640. + -Wshadow \
  43641. + -Wunsafe-loop-optimizations \
  43642. + -Wpointer-arith \
  43643. + -Wbad-function-cast \
  43644. + -Wc++-compat \
  43645. + -Wcast-qual \
  43646. + -Wcast-align \
  43647. + -Wwrite-strings \
  43648. + -Wconversion \
  43649. + -Wsign-conversion \
  43650. + -Wlogical-op \
  43651. + -Waggregate-return \
  43652. + -Wstrict-prototypes \
  43653. + -Wold-style-definition \
  43654. + -Wmissing-prototypes \
  43655. + -Wmissing-declarations \
  43656. + -Wmissing-noreturn \
  43657. + -Wmissing-format-attribute \
  43658. + -Wpacked \
  43659. + -Wpadded \
  43660. + -Wredundant-decls \
  43661. + -Wnested-externs \
  43662. + -Wunreachable-code \
  43663. + -Winline \
  43664. + -Winvalid-pch \
  43665. + -Wlong-long \
  43666. + -Wvla \
  43667. + -Wvolatile-register-var \
  43668. + -Wdisabled-optimization \
  43669. + -Wstack-protector \
  43670. + -Woverlength-strings \
  43671. + -Wbuiltin-macro-redefined \
  43672. + -Wmudflap \
  43673. + -Wpacked-bitfield-compat \
  43674. + -Wsync-nand \
  43675. + ; do
  43676. + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
  43677. + done
  43678. + # The following are not documented in the manual but are included in
  43679. + # output from gcc --help=warnings.
  43680. + for gl_manywarn_item in \
  43681. + -Wattributes \
  43682. + -Wcoverage-mismatch \
  43683. + -Wmultichar \
  43684. + -Wunused-macros \
  43685. + ; do
  43686. + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
  43687. + done
  43688. + ws=$gl_manywarn_set
  43689. +
  43690. +
  43691. + gl_warn_set=
  43692. + set x $ws; shift
  43693. + for gl_warn_item
  43694. + do
  43695. + case " $nw " in
  43696. + *" $gl_warn_item "*)
  43697. + ;;
  43698. + *)
  43699. + gl_warn_set="$gl_warn_set $gl_warn_item"
  43700. + ;;
  43701. + esac
  43702. + done
  43703. + ws=$gl_warn_set
  43704. +
  43705. + for w in $ws; do
  43706. + as_gl_Warn=`$as_echo "gl_cv_warn_$w" | $as_tr_sh`
  43707. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles $w" >&5
  43708. +$as_echo_n "checking whether compiler handles $w... " >&6; }
  43709. +if eval \${$as_gl_Warn+:} false; then :
  43710. + $as_echo_n "(cached) " >&6
  43711. +else
  43712. +
  43713. + save_CPPFLAGS="$CPPFLAGS"
  43714. + CPPFLAGS="${CPPFLAGS} $w"
  43715. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43716. +/* end confdefs.h. */
  43717. +
  43718. +int
  43719. +main ()
  43720. +{
  43721. +
  43722. + ;
  43723. + return 0;
  43724. +}
  43725. +_ACEOF
  43726. +if ac_fn_c_try_cpp "$LINENO"; then :
  43727. + eval "$as_gl_Warn=yes"
  43728. +else
  43729. + eval "$as_gl_Warn=no"
  43730. +fi
  43731. +rm -f conftest.err conftest.i conftest.$ac_ext
  43732. + CPPFLAGS="$save_CPPFLAGS"
  43733. +
  43734. +fi
  43735. +eval ac_res=\$$as_gl_Warn
  43736. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  43737. +$as_echo "$ac_res" >&6; }
  43738. +if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then :
  43739. + as_fn_append WARN_CFLAGS " $w"
  43740. +fi
  43741. +
  43742. + done
  43743. +
  43744. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fdiagnostics-show-option" >&5
  43745. +$as_echo_n "checking whether compiler handles -fdiagnostics-show-option... " >&6; }
  43746. +if ${gl_cv_warn__fdiagnostics_show_option+:} false; then :
  43747. + $as_echo_n "(cached) " >&6
  43748. +else
  43749. +
  43750. + save_CPPFLAGS="$CPPFLAGS"
  43751. + CPPFLAGS="${CPPFLAGS} -fdiagnostics-show-option"
  43752. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43753. +/* end confdefs.h. */
  43754. +
  43755. +int
  43756. +main ()
  43757. +{
  43758. +
  43759. + ;
  43760. + return 0;
  43761. +}
  43762. +_ACEOF
  43763. +if ac_fn_c_try_cpp "$LINENO"; then :
  43764. + gl_cv_warn__fdiagnostics_show_option=yes
  43765. +else
  43766. + gl_cv_warn__fdiagnostics_show_option=no
  43767. +fi
  43768. +rm -f conftest.err conftest.i conftest.$ac_ext
  43769. + CPPFLAGS="$save_CPPFLAGS"
  43770. +
  43771. +fi
  43772. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fdiagnostics_show_option" >&5
  43773. +$as_echo "$gl_cv_warn__fdiagnostics_show_option" >&6; }
  43774. +if test "x$gl_cv_warn__fdiagnostics_show_option" = xyes; then :
  43775. + as_fn_append WARN_CFLAGS " -fdiagnostics-show-option"
  43776. +fi
  43777. +
  43778. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -funit-at-a-time" >&5
  43779. +$as_echo_n "checking whether compiler handles -funit-at-a-time... " >&6; }
  43780. +if ${gl_cv_warn__funit_at_a_time+:} false; then :
  43781. + $as_echo_n "(cached) " >&6
  43782. +else
  43783. +
  43784. + save_CPPFLAGS="$CPPFLAGS"
  43785. + CPPFLAGS="${CPPFLAGS} -funit-at-a-time"
  43786. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43787. +/* end confdefs.h. */
  43788. +
  43789. +int
  43790. +main ()
  43791. +{
  43792. +
  43793. + ;
  43794. + return 0;
  43795. +}
  43796. +_ACEOF
  43797. +if ac_fn_c_try_cpp "$LINENO"; then :
  43798. + gl_cv_warn__funit_at_a_time=yes
  43799. +else
  43800. + gl_cv_warn__funit_at_a_time=no
  43801. +fi
  43802. +rm -f conftest.err conftest.i conftest.$ac_ext
  43803. + CPPFLAGS="$save_CPPFLAGS"
  43804. +
  43805. +fi
  43806. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__funit_at_a_time" >&5
  43807. +$as_echo "$gl_cv_warn__funit_at_a_time" >&6; }
  43808. +if test "x$gl_cv_warn__funit_at_a_time" = xyes; then :
  43809. + as_fn_append WARN_CFLAGS " -funit-at-a-time"
  43810. +fi
  43811. +
  43812. +
  43813. +
  43814. +
  43815. +
  43816. +$as_echo "@%:@define _FORTIFY_SOURCE 2" >>confdefs.h
  43817. +
  43818. +fi
  43819. +
  43820. +# Tandem/NSK is broken - it has 'long long int' but not
  43821. +# 'unsigned long long int', which confuses assumptions made by gnulib.
  43822. +# Simply pretend that neither type exists if both do not work.
  43823. +
  43824. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
  43825. +$as_echo_n "checking for unsigned long long int... " >&6; }
  43826. +if ${ac_cv_type_unsigned_long_long_int+:} false; then :
  43827. + $as_echo_n "(cached) " >&6
  43828. +else
  43829. + ac_cv_type_unsigned_long_long_int=yes
  43830. + if test "x${ac_cv_prog_cc_c99-no}" = xno; then
  43831. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43832. +/* end confdefs.h. */
  43833. +
  43834. + /* For now, do not test the preprocessor; as of 2007 there are too many
  43835. + implementations with broken preprocessors. Perhaps this can
  43836. + be revisited in 2012. In the meantime, code should not expect
  43837. + #if to work with literals wider than 32 bits. */
  43838. + /* Test literals. */
  43839. + long long int ll = 9223372036854775807ll;
  43840. + long long int nll = -9223372036854775807LL;
  43841. + unsigned long long int ull = 18446744073709551615ULL;
  43842. + /* Test constant expressions. */
  43843. + typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
  43844. + ? 1 : -1)];
  43845. + typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
  43846. + ? 1 : -1)];
  43847. + int i = 63;
  43848. +int
  43849. +main ()
  43850. +{
  43851. +/* Test availability of runtime routines for shift and division. */
  43852. + long long int llmax = 9223372036854775807ll;
  43853. + unsigned long long int ullmax = 18446744073709551615ull;
  43854. + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
  43855. + | (llmax / ll) | (llmax % ll)
  43856. + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
  43857. + | (ullmax / ull) | (ullmax % ull));
  43858. + ;
  43859. + return 0;
  43860. +}
  43861. +
  43862. +_ACEOF
  43863. +if ac_fn_c_try_link "$LINENO"; then :
  43864. +
  43865. +else
  43866. + ac_cv_type_unsigned_long_long_int=no
  43867. +fi
  43868. +rm -f core conftest.err conftest.$ac_objext \
  43869. + conftest$ac_exeext conftest.$ac_ext
  43870. + fi
  43871. +fi
  43872. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
  43873. +$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
  43874. + if test $ac_cv_type_unsigned_long_long_int = yes; then
  43875. +
  43876. +$as_echo "@%:@define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
  43877. +
  43878. + fi
  43879. +
  43880. +
  43881. +
  43882. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
  43883. +$as_echo_n "checking for long long int... " >&6; }
  43884. +if ${ac_cv_type_long_long_int+:} false; then :
  43885. + $as_echo_n "(cached) " >&6
  43886. +else
  43887. + ac_cv_type_long_long_int=yes
  43888. + if test "x${ac_cv_prog_cc_c99-no}" = xno; then
  43889. + ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
  43890. + if test $ac_cv_type_long_long_int = yes; then
  43891. + if test "$cross_compiling" = yes; then :
  43892. + :
  43893. +else
  43894. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43895. +/* end confdefs.h. */
  43896. +@%:@include <limits.h>
  43897. + @%:@ifndef LLONG_MAX
  43898. + @%:@ define HALF \
  43899. + (1LL << (sizeof (long long int) * CHAR_BIT - 2))
  43900. + @%:@ define LLONG_MAX (HALF - 1 + HALF)
  43901. + @%:@endif
  43902. +int
  43903. +main ()
  43904. +{
  43905. +long long int n = 1;
  43906. + int i;
  43907. + for (i = 0; ; i++)
  43908. + {
  43909. + long long int m = n << i;
  43910. + if (m >> i != n)
  43911. + return 1;
  43912. + if (LLONG_MAX / 2 < m)
  43913. + break;
  43914. + }
  43915. + return 0;
  43916. + ;
  43917. + return 0;
  43918. +}
  43919. +_ACEOF
  43920. +if ac_fn_c_try_run "$LINENO"; then :
  43921. +
  43922. +else
  43923. + ac_cv_type_long_long_int=no
  43924. +fi
  43925. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  43926. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  43927. +fi
  43928. +
  43929. + fi
  43930. + fi
  43931. +fi
  43932. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
  43933. +$as_echo "$ac_cv_type_long_long_int" >&6; }
  43934. + if test $ac_cv_type_long_long_int = yes; then
  43935. +
  43936. +$as_echo "@%:@define HAVE_LONG_LONG_INT 1" >>confdefs.h
  43937. +
  43938. + fi
  43939. +
  43940. +
  43941. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
  43942. +$as_echo_n "checking for unsigned long long int... " >&6; }
  43943. +if ${ac_cv_type_unsigned_long_long_int+:} false; then :
  43944. + $as_echo_n "(cached) " >&6
  43945. +else
  43946. + ac_cv_type_unsigned_long_long_int=yes
  43947. + if test "x${ac_cv_prog_cc_c99-no}" = xno; then
  43948. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43949. +/* end confdefs.h. */
  43950. +
  43951. + /* For now, do not test the preprocessor; as of 2007 there are too many
  43952. + implementations with broken preprocessors. Perhaps this can
  43953. + be revisited in 2012. In the meantime, code should not expect
  43954. + #if to work with literals wider than 32 bits. */
  43955. + /* Test literals. */
  43956. + long long int ll = 9223372036854775807ll;
  43957. + long long int nll = -9223372036854775807LL;
  43958. + unsigned long long int ull = 18446744073709551615ULL;
  43959. + /* Test constant expressions. */
  43960. + typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
  43961. + ? 1 : -1)];
  43962. + typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
  43963. + ? 1 : -1)];
  43964. + int i = 63;
  43965. +int
  43966. +main ()
  43967. +{
  43968. +/* Test availability of runtime routines for shift and division. */
  43969. + long long int llmax = 9223372036854775807ll;
  43970. + unsigned long long int ullmax = 18446744073709551615ull;
  43971. + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
  43972. + | (llmax / ll) | (llmax % ll)
  43973. + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
  43974. + | (ullmax / ull) | (ullmax % ull));
  43975. + ;
  43976. + return 0;
  43977. +}
  43978. +
  43979. +_ACEOF
  43980. +if ac_fn_c_try_link "$LINENO"; then :
  43981. +
  43982. +else
  43983. + ac_cv_type_unsigned_long_long_int=no
  43984. +fi
  43985. +rm -f core conftest.err conftest.$ac_objext \
  43986. + conftest$ac_exeext conftest.$ac_ext
  43987. + fi
  43988. +fi
  43989. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
  43990. +$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
  43991. + if test $ac_cv_type_unsigned_long_long_int = yes; then
  43992. +
  43993. +$as_echo "@%:@define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
  43994. +
  43995. + fi
  43996. +
  43997. +if test $ac_cv_type_long_long_int:$ac_cv_type_unsigned_long_long_int = yes:no
  43998. +then
  43999. + ac_cv_type_long_long_int=no
  44000. +
  44001. +$as_echo "@%:@define HAVE_LONG_LONG_INT 0" >>confdefs.h
  44002. +
  44003. +fi
  44004. +
  44005. +
  44006. +
  44007. +
  44008. +
  44009. + LIBC_FATAL_STDERR_=1
  44010. + export LIBC_FATAL_STDERR_
  44011. +
  44012. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  44013. +if test "x$ac_cv_type_size_t" = xyes; then :
  44014. +
  44015. +else
  44016. +
  44017. +cat >>confdefs.h <<_ACEOF
  44018. +@%:@define size_t unsigned int
  44019. +_ACEOF
  44020. +
  44021. +fi
  44022. +
  44023. +# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  44024. +# for constant arguments. Useless!
  44025. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
  44026. +$as_echo_n "checking for working alloca.h... " >&6; }
  44027. +if ${ac_cv_working_alloca_h+:} false; then :
  44028. + $as_echo_n "(cached) " >&6
  44029. +else
  44030. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44031. +/* end confdefs.h. */
  44032. +@%:@include <alloca.h>
  44033. +int
  44034. +main ()
  44035. +{
  44036. +char *p = (char *) alloca (2 * sizeof (int));
  44037. + if (p) return 0;
  44038. + ;
  44039. + return 0;
  44040. +}
  44041. +_ACEOF
  44042. +if ac_fn_c_try_link "$LINENO"; then :
  44043. + ac_cv_working_alloca_h=yes
  44044. +else
  44045. + ac_cv_working_alloca_h=no
  44046. +fi
  44047. +rm -f core conftest.err conftest.$ac_objext \
  44048. + conftest$ac_exeext conftest.$ac_ext
  44049. +fi
  44050. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
  44051. +$as_echo "$ac_cv_working_alloca_h" >&6; }
  44052. +if test $ac_cv_working_alloca_h = yes; then
  44053. +
  44054. +$as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h
  44055. +
  44056. +fi
  44057. +
  44058. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
  44059. +$as_echo_n "checking for alloca... " >&6; }
  44060. +if ${ac_cv_func_alloca_works+:} false; then :
  44061. + $as_echo_n "(cached) " >&6
  44062. +else
  44063. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44064. +/* end confdefs.h. */
  44065. +#ifdef __GNUC__
  44066. +# define alloca __builtin_alloca
  44067. +#else
  44068. +# ifdef _MSC_VER
  44069. +# include <malloc.h>
  44070. +# define alloca _alloca
  44071. +# else
  44072. +# ifdef HAVE_ALLOCA_H
  44073. +# include <alloca.h>
  44074. +# else
  44075. +# ifdef _AIX
  44076. + #pragma alloca
  44077. +# else
  44078. +# ifndef alloca /* predefined by HP cc +Olibcalls */
  44079. +void *alloca (size_t);
  44080. +# endif
  44081. +# endif
  44082. +# endif
  44083. +# endif
  44084. +#endif
  44085. +
  44086. +int
  44087. +main ()
  44088. +{
  44089. +char *p = (char *) alloca (1);
  44090. + if (p) return 0;
  44091. + ;
  44092. + return 0;
  44093. +}
  44094. +_ACEOF
  44095. +if ac_fn_c_try_link "$LINENO"; then :
  44096. + ac_cv_func_alloca_works=yes
  44097. +else
  44098. + ac_cv_func_alloca_works=no
  44099. +fi
  44100. +rm -f core conftest.err conftest.$ac_objext \
  44101. + conftest$ac_exeext conftest.$ac_ext
  44102. +fi
  44103. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
  44104. +$as_echo "$ac_cv_func_alloca_works" >&6; }
  44105. +
  44106. +if test $ac_cv_func_alloca_works = yes; then
  44107. +
  44108. +$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
  44109. +
  44110. +else
  44111. + # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  44112. +# that cause trouble. Some versions do not even contain alloca or
  44113. +# contain a buggy version. If you still want to use their alloca,
  44114. +# use ar to extract alloca.o from them instead of compiling alloca.c.
  44115. +
  44116. +
  44117. +
  44118. +
  44119. +
  44120. +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
  44121. +
  44122. +$as_echo "@%:@define C_ALLOCA 1" >>confdefs.h
  44123. +
  44124. +
  44125. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
  44126. +$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
  44127. +if ${ac_cv_os_cray+:} false; then :
  44128. + $as_echo_n "(cached) " >&6
  44129. +else
  44130. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44131. +/* end confdefs.h. */
  44132. +#if defined CRAY && ! defined CRAY2
  44133. +webecray
  44134. +#else
  44135. +wenotbecray
  44136. +#endif
  44137. +
  44138. +_ACEOF
  44139. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  44140. + $EGREP "webecray" >/dev/null 2>&1; then :
  44141. + ac_cv_os_cray=yes
  44142. +else
  44143. + ac_cv_os_cray=no
  44144. +fi
  44145. +rm -f conftest*
  44146. +
  44147. +fi
  44148. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
  44149. +$as_echo "$ac_cv_os_cray" >&6; }
  44150. +if test $ac_cv_os_cray = yes; then
  44151. + for ac_func in _getb67 GETB67 getb67; do
  44152. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  44153. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  44154. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  44155. +
  44156. +cat >>confdefs.h <<_ACEOF
  44157. +@%:@define CRAY_STACKSEG_END $ac_func
  44158. +_ACEOF
  44159. +
  44160. + break
  44161. +fi
  44162. +
  44163. + done
  44164. +fi
  44165. +
  44166. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
  44167. +$as_echo_n "checking stack direction for C alloca... " >&6; }
  44168. +if ${ac_cv_c_stack_direction+:} false; then :
  44169. + $as_echo_n "(cached) " >&6
  44170. +else
  44171. + if test "$cross_compiling" = yes; then :
  44172. + ac_cv_c_stack_direction=0
  44173. +else
  44174. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44175. +/* end confdefs.h. */
  44176. +$ac_includes_default
  44177. +int
  44178. +find_stack_direction (int *addr, int depth)
  44179. +{
  44180. + int dir, dummy = 0;
  44181. + if (! addr)
  44182. + addr = &dummy;
  44183. + *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
  44184. + dir = depth ? find_stack_direction (addr, depth - 1) : 0;
  44185. + return dir + dummy;
  44186. +}
  44187. +
  44188. +int
  44189. +main (int argc, char **argv)
  44190. +{
  44191. + return find_stack_direction (0, argc + !argv + 20) < 0;
  44192. +}
  44193. +_ACEOF
  44194. +if ac_fn_c_try_run "$LINENO"; then :
  44195. + ac_cv_c_stack_direction=1
  44196. +else
  44197. + ac_cv_c_stack_direction=-1
  44198. +fi
  44199. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  44200. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  44201. +fi
  44202. +
  44203. +fi
  44204. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
  44205. +$as_echo "$ac_cv_c_stack_direction" >&6; }
  44206. +cat >>confdefs.h <<_ACEOF
  44207. +@%:@define STACK_DIRECTION $ac_cv_c_stack_direction
  44208. +_ACEOF
  44209. +
  44210. +
  44211. +fi
  44212. +
  44213. +
  44214. + GNULIB_BTOWC=0;
  44215. + GNULIB_WCTOB=0;
  44216. + GNULIB_MBSINIT=0;
  44217. + GNULIB_MBRTOWC=0;
  44218. + GNULIB_MBRLEN=0;
  44219. + GNULIB_MBSRTOWCS=0;
  44220. + GNULIB_MBSNRTOWCS=0;
  44221. + GNULIB_WCRTOMB=0;
  44222. + GNULIB_WCSRTOMBS=0;
  44223. + GNULIB_WCSNRTOMBS=0;
  44224. + GNULIB_WCWIDTH=0;
  44225. + GNULIB_WMEMCHR=0;
  44226. + GNULIB_WMEMCMP=0;
  44227. + GNULIB_WMEMCPY=0;
  44228. + GNULIB_WMEMMOVE=0;
  44229. + GNULIB_WMEMSET=0;
  44230. + GNULIB_WCSLEN=0;
  44231. + GNULIB_WCSNLEN=0;
  44232. + GNULIB_WCSCPY=0;
  44233. + GNULIB_WCPCPY=0;
  44234. + GNULIB_WCSNCPY=0;
  44235. + GNULIB_WCPNCPY=0;
  44236. + GNULIB_WCSCAT=0;
  44237. + GNULIB_WCSNCAT=0;
  44238. + GNULIB_WCSCMP=0;
  44239. + GNULIB_WCSNCMP=0;
  44240. + GNULIB_WCSCASECMP=0;
  44241. + GNULIB_WCSNCASECMP=0;
  44242. + GNULIB_WCSCOLL=0;
  44243. + GNULIB_WCSXFRM=0;
  44244. + GNULIB_WCSDUP=0;
  44245. + GNULIB_WCSCHR=0;
  44246. + GNULIB_WCSRCHR=0;
  44247. + GNULIB_WCSCSPN=0;
  44248. + GNULIB_WCSSPN=0;
  44249. + GNULIB_WCSPBRK=0;
  44250. + GNULIB_WCSSTR=0;
  44251. + GNULIB_WCSTOK=0;
  44252. + GNULIB_WCSWIDTH=0;
  44253. + HAVE_BTOWC=1;
  44254. + HAVE_MBSINIT=1;
  44255. + HAVE_MBRTOWC=1;
  44256. + HAVE_MBRLEN=1;
  44257. + HAVE_MBSRTOWCS=1;
  44258. + HAVE_MBSNRTOWCS=1;
  44259. + HAVE_WCRTOMB=1;
  44260. + HAVE_WCSRTOMBS=1;
  44261. + HAVE_WCSNRTOMBS=1;
  44262. + HAVE_WMEMCHR=1;
  44263. + HAVE_WMEMCMP=1;
  44264. + HAVE_WMEMCPY=1;
  44265. + HAVE_WMEMMOVE=1;
  44266. + HAVE_WMEMSET=1;
  44267. + HAVE_WCSLEN=1;
  44268. + HAVE_WCSNLEN=1;
  44269. + HAVE_WCSCPY=1;
  44270. + HAVE_WCPCPY=1;
  44271. + HAVE_WCSNCPY=1;
  44272. + HAVE_WCPNCPY=1;
  44273. + HAVE_WCSCAT=1;
  44274. + HAVE_WCSNCAT=1;
  44275. + HAVE_WCSCMP=1;
  44276. + HAVE_WCSNCMP=1;
  44277. + HAVE_WCSCASECMP=1;
  44278. + HAVE_WCSNCASECMP=1;
  44279. + HAVE_WCSCOLL=1;
  44280. + HAVE_WCSXFRM=1;
  44281. + HAVE_WCSDUP=1;
  44282. + HAVE_WCSCHR=1;
  44283. + HAVE_WCSRCHR=1;
  44284. + HAVE_WCSCSPN=1;
  44285. + HAVE_WCSSPN=1;
  44286. + HAVE_WCSPBRK=1;
  44287. + HAVE_WCSSTR=1;
  44288. + HAVE_WCSTOK=1;
  44289. + HAVE_WCSWIDTH=1;
  44290. + HAVE_DECL_WCTOB=1;
  44291. + HAVE_DECL_WCWIDTH=1;
  44292. + REPLACE_MBSTATE_T=0;
  44293. + REPLACE_BTOWC=0;
  44294. + REPLACE_WCTOB=0;
  44295. + REPLACE_MBSINIT=0;
  44296. + REPLACE_MBRTOWC=0;
  44297. + REPLACE_MBRLEN=0;
  44298. + REPLACE_MBSRTOWCS=0;
  44299. + REPLACE_MBSNRTOWCS=0;
  44300. + REPLACE_WCRTOMB=0;
  44301. + REPLACE_WCSRTOMBS=0;
  44302. + REPLACE_WCSNRTOMBS=0;
  44303. + REPLACE_WCWIDTH=0;
  44304. + REPLACE_WCSWIDTH=0;
  44305. +
  44306. +
  44307. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <wchar.h> uses 'inline' correctly" >&5
  44308. +$as_echo_n "checking whether <wchar.h> uses 'inline' correctly... " >&6; }
  44309. +if ${gl_cv_header_wchar_h_correct_inline+:} false; then :
  44310. + $as_echo_n "(cached) " >&6
  44311. +else
  44312. + gl_cv_header_wchar_h_correct_inline=yes
  44313. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44314. +/* end confdefs.h. */
  44315. +
  44316. + #define wcstod renamed_wcstod
  44317. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  44318. + <wchar.h>.
  44319. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  44320. + included before <wchar.h>. */
  44321. +#include <stddef.h>
  44322. +#include <stdio.h>
  44323. +#include <time.h>
  44324. +#include <wchar.h>
  44325. +extern int zero (void);
  44326. +int main () { return zero(); }
  44327. +
  44328. +_ACEOF
  44329. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  44330. + (eval $ac_compile) 2>&5
  44331. + ac_status=$?
  44332. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  44333. + test $ac_status = 0; }; then
  44334. + mv conftest.$ac_objext conftest1.$ac_objext
  44335. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44336. +/* end confdefs.h. */
  44337. +
  44338. + #define wcstod renamed_wcstod
  44339. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  44340. + <wchar.h>.
  44341. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  44342. + included before <wchar.h>. */
  44343. +#include <stddef.h>
  44344. +#include <stdio.h>
  44345. +#include <time.h>
  44346. +#include <wchar.h>
  44347. +int zero (void) { return 0; }
  44348. +
  44349. +_ACEOF
  44350. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  44351. + (eval $ac_compile) 2>&5
  44352. + ac_status=$?
  44353. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  44354. + test $ac_status = 0; }; then
  44355. + mv conftest.$ac_objext conftest2.$ac_objext
  44356. + if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then
  44357. + :
  44358. + else
  44359. + gl_cv_header_wchar_h_correct_inline=no
  44360. + fi
  44361. + fi
  44362. + fi
  44363. + rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext
  44364. +
  44365. +fi
  44366. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5
  44367. +$as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; }
  44368. + if test $gl_cv_header_wchar_h_correct_inline = no; then
  44369. + as_fn_error $? "<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS).
  44370. +This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
  44371. +C99 mode. You have four options:
  44372. + - Add the flag -fgnu89-inline to CC and reconfigure, or
  44373. + - Fix your include files, using parts of
  44374. + <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
  44375. + - Use a gcc version older than 4.3, or
  44376. + - Don't use the flags -std=c99 or -std=gnu99.
  44377. +Configuration aborted." "$LINENO" 5
  44378. + fi
  44379. +
  44380. +
  44381. +
  44382. +
  44383. + for ac_func in $ac_func_list
  44384. +do :
  44385. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  44386. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  44387. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  44388. + cat >>confdefs.h <<_ACEOF
  44389. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  44390. +_ACEOF
  44391. +
  44392. +fi
  44393. +done
  44394. +
  44395. +
  44396. +
  44397. +
  44398. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
  44399. +$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
  44400. +if ${am_cv_langinfo_codeset+:} false; then :
  44401. + $as_echo_n "(cached) " >&6
  44402. +else
  44403. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44404. +/* end confdefs.h. */
  44405. +#include <langinfo.h>
  44406. +int
  44407. +main ()
  44408. +{
  44409. +char* cs = nl_langinfo(CODESET); return !cs;
  44410. + ;
  44411. + return 0;
  44412. +}
  44413. +_ACEOF
  44414. +if ac_fn_c_try_link "$LINENO"; then :
  44415. + am_cv_langinfo_codeset=yes
  44416. +else
  44417. + am_cv_langinfo_codeset=no
  44418. +fi
  44419. +rm -f core conftest.err conftest.$ac_objext \
  44420. + conftest$ac_exeext conftest.$ac_ext
  44421. +
  44422. +fi
  44423. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
  44424. +$as_echo "$am_cv_langinfo_codeset" >&6; }
  44425. + if test $am_cv_langinfo_codeset = yes; then
  44426. +
  44427. +$as_echo "@%:@define HAVE_LANGINFO_CODESET 1" >>confdefs.h
  44428. +
  44429. + fi
  44430. +
  44431. +
  44432. +
  44433. +
  44434. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  44435. +$as_echo_n "checking for a traditional french locale... " >&6; }
  44436. +if ${gt_cv_locale_fr+:} false; then :
  44437. + $as_echo_n "(cached) " >&6
  44438. +else
  44439. +
  44440. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44441. +/* end confdefs.h. */
  44442. +
  44443. +#include <locale.h>
  44444. +#include <time.h>
  44445. +#if HAVE_LANGINFO_CODESET
  44446. +# include <langinfo.h>
  44447. +#endif
  44448. +#include <stdlib.h>
  44449. +#include <string.h>
  44450. +struct tm t;
  44451. +char buf[16];
  44452. +int main () {
  44453. + /* Check whether the given locale name is recognized by the system. */
  44454. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  44455. + /* On native Win32, setlocale(category, "") looks at the system settings,
  44456. + not at the environment variables. Also, when an encoding suffix such
  44457. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  44458. + category of the locale to "C". */
  44459. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  44460. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  44461. + return 1;
  44462. +#else
  44463. + if (setlocale (LC_ALL, "") == NULL) return 1;
  44464. +#endif
  44465. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  44466. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  44467. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  44468. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  44469. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  44470. + some unit tests fail.
  44471. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  44472. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  44473. +#if HAVE_LANGINFO_CODESET
  44474. + {
  44475. + const char *cs = nl_langinfo (CODESET);
  44476. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  44477. + || strcmp (cs, "UTF-8") == 0)
  44478. + return 1;
  44479. + }
  44480. +#endif
  44481. +#ifdef __CYGWIN__
  44482. + /* On Cygwin, avoid locale names without encoding suffix, because the
  44483. + locale_charset() function relies on the encoding suffix. Note that
  44484. + LC_ALL is set on the command line. */
  44485. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  44486. +#endif
  44487. + /* Check whether in the abbreviation of the second month, the second
  44488. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
  44489. + one byte long. This excludes the UTF-8 encoding. */
  44490. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  44491. + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
  44492. + /* Check whether the decimal separator is a comma.
  44493. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  44494. + are nl_langinfo(RADIXCHAR) are both ".". */
  44495. + if (localeconv () ->decimal_point[0] != ',') return 1;
  44496. + return 0;
  44497. +}
  44498. +
  44499. +_ACEOF
  44500. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  44501. + (eval $ac_link) 2>&5
  44502. + ac_status=$?
  44503. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  44504. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  44505. + case "$host_os" in
  44506. + # Handle native Windows specially, because there setlocale() interprets
  44507. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  44508. + # "fr" or "fra" as "French" or "French_France.1252",
  44509. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  44510. + # "ja" as "Japanese" or "Japanese_Japan.932",
  44511. + # and similar.
  44512. + mingw*)
  44513. + # Test for the native Win32 locale name.
  44514. + if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  44515. + gt_cv_locale_fr=French_France.1252
  44516. + else
  44517. + # None found.
  44518. + gt_cv_locale_fr=none
  44519. + fi
  44520. + ;;
  44521. + *)
  44522. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  44523. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  44524. + # configure script would override the LC_ALL setting. Likewise for
  44525. + # LC_CTYPE, which is also set at the beginning of the configure script.
  44526. + # Test for the usual locale name.
  44527. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  44528. + gt_cv_locale_fr=fr_FR
  44529. + else
  44530. + # Test for the locale name with explicit encoding suffix.
  44531. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  44532. + gt_cv_locale_fr=fr_FR.ISO-8859-1
  44533. + else
  44534. + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
  44535. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  44536. + gt_cv_locale_fr=fr_FR.ISO8859-1
  44537. + else
  44538. + # Test for the HP-UX locale name.
  44539. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  44540. + gt_cv_locale_fr=fr_FR.iso88591
  44541. + else
  44542. + # Test for the Solaris 7 locale name.
  44543. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  44544. + gt_cv_locale_fr=fr
  44545. + else
  44546. + # None found.
  44547. + gt_cv_locale_fr=none
  44548. + fi
  44549. + fi
  44550. + fi
  44551. + fi
  44552. + fi
  44553. + ;;
  44554. + esac
  44555. + fi
  44556. + rm -fr conftest*
  44557. +
  44558. +fi
  44559. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
  44560. +$as_echo "$gt_cv_locale_fr" >&6; }
  44561. + LOCALE_FR=$gt_cv_locale_fr
  44562. +
  44563. +
  44564. +
  44565. +
  44566. +
  44567. +
  44568. +
  44569. + for ac_header in $ac_header_list
  44570. +do :
  44571. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  44572. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  44573. +"
  44574. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  44575. + cat >>confdefs.h <<_ACEOF
  44576. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  44577. +_ACEOF
  44578. +
  44579. +fi
  44580. +
  44581. +done
  44582. +
  44583. +
  44584. +
  44585. +# for STACK_DIRECTION
  44586. +
  44587. +
  44588. +
  44589. +
  44590. +
  44591. + case "$host_os" in
  44592. + sunos4* | freebsd* | dragonfly* | openbsd* | mirbsd* | netbsd* | kfreebsd* | knetbsd*) # BSD systems
  44593. + FAULT_YIELDS_SIGBUS=1 ;;
  44594. + hpux*) # HP-UX
  44595. + FAULT_YIELDS_SIGBUS=1 ;;
  44596. + macos* | darwin*) # MacOS X
  44597. + FAULT_YIELDS_SIGBUS=1 ;;
  44598. + gnu*) # Hurd
  44599. + FAULT_YIELDS_SIGBUS=1 ;;
  44600. + *)
  44601. + FAULT_YIELDS_SIGBUS=0 ;;
  44602. + esac
  44603. +
  44604. +cat >>confdefs.h <<_ACEOF
  44605. +@%:@define FAULT_YIELDS_SIGBUS $FAULT_YIELDS_SIGBUS
  44606. +_ACEOF
  44607. +
  44608. +
  44609. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working C stack overflow detection" >&5
  44610. +$as_echo_n "checking for working C stack overflow detection... " >&6; }
  44611. +if ${ac_cv_sys_stack_overflow_works+:} false; then :
  44612. + $as_echo_n "(cached) " >&6
  44613. +else
  44614. + if test "$cross_compiling" = yes; then :
  44615. + ac_cv_sys_stack_overflow_works=cross-compiling
  44616. +else
  44617. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44618. +/* end confdefs.h. */
  44619. +
  44620. + #include <unistd.h>
  44621. + #include <signal.h>
  44622. + #if HAVE_SETRLIMIT
  44623. + # include <sys/types.h>
  44624. + # include <sys/time.h>
  44625. + # include <sys/resource.h>
  44626. + #endif
  44627. + #ifndef SIGSTKSZ
  44628. + # define SIGSTKSZ 16384
  44629. + #endif
  44630. +
  44631. + static union
  44632. + {
  44633. + char buffer[2 * SIGSTKSZ];
  44634. + long double ld;
  44635. + long u;
  44636. + void *p;
  44637. + } alternate_signal_stack;
  44638. +
  44639. + static void
  44640. + segv_handler (int signo)
  44641. + {
  44642. + _exit (0);
  44643. + }
  44644. +
  44645. + static int
  44646. + c_stack_action ()
  44647. + {
  44648. + stack_t st;
  44649. + struct sigaction act;
  44650. + int r;
  44651. +
  44652. + st.ss_flags = 0;
  44653. + /* Use the midpoint to avoid Irix sigaltstack bug. */
  44654. + st.ss_sp = alternate_signal_stack.buffer + SIGSTKSZ;
  44655. + st.ss_size = SIGSTKSZ;
  44656. + r = sigaltstack (&st, 0);
  44657. + if (r != 0)
  44658. + return 1;
  44659. +
  44660. + sigemptyset (&act.sa_mask);
  44661. + act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND;
  44662. + act.sa_handler = segv_handler;
  44663. + #if FAULT_YIELDS_SIGBUS
  44664. + if (sigaction (SIGBUS, &act, 0) < 0)
  44665. + return 2;
  44666. + #endif
  44667. + if (sigaction (SIGSEGV, &act, 0) < 0)
  44668. + return 3;
  44669. + return 0;
  44670. + }
  44671. + static volatile int *
  44672. + recurse_1 (volatile int n, volatile int *p)
  44673. + {
  44674. + if (n >= 0)
  44675. + *recurse_1 (n + 1, p) += n;
  44676. + return p;
  44677. + }
  44678. + static int
  44679. + recurse (volatile int n)
  44680. + {
  44681. + int sum = 0;
  44682. + return *recurse_1 (n, &sum);
  44683. + }
  44684. + int
  44685. + main ()
  44686. + {
  44687. + int result;
  44688. + #if HAVE_SETRLIMIT && defined RLIMIT_STACK
  44689. + /* Before starting the endless recursion, try to be friendly
  44690. + to the user's machine. On some Linux 2.2.x systems, there
  44691. + is no stack limit for user processes at all. We don't want
  44692. + to kill such systems. */
  44693. + struct rlimit rl;
  44694. + rl.rlim_cur = rl.rlim_max = 0x100000; /* 1 MB */
  44695. + setrlimit (RLIMIT_STACK, &rl);
  44696. + #endif
  44697. +
  44698. + result = c_stack_action ();
  44699. + if (result != 0)
  44700. + return result;
  44701. + return recurse (0);
  44702. + }
  44703. +
  44704. +_ACEOF
  44705. +if ac_fn_c_try_run "$LINENO"; then :
  44706. + ac_cv_sys_stack_overflow_works=yes
  44707. +else
  44708. + ac_cv_sys_stack_overflow_works=no
  44709. +fi
  44710. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  44711. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  44712. +fi
  44713. +
  44714. +fi
  44715. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_stack_overflow_works" >&5
  44716. +$as_echo "$ac_cv_sys_stack_overflow_works" >&6; }
  44717. +
  44718. + if test $ac_cv_sys_stack_overflow_works = yes; then
  44719. +
  44720. +$as_echo "@%:@define HAVE_STACK_OVERFLOW_HANDLING 1" >>confdefs.h
  44721. +
  44722. +
  44723. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct stack_t interpretation" >&5
  44724. +$as_echo_n "checking for correct stack_t interpretation... " >&6; }
  44725. +if ${gl_cv_sigaltstack_low_base+:} false; then :
  44726. + $as_echo_n "(cached) " >&6
  44727. +else
  44728. +
  44729. + if test "$cross_compiling" = yes; then :
  44730. + gl_cv_sigaltstack_low_base=cross-compiling
  44731. +else
  44732. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44733. +/* end confdefs.h. */
  44734. +
  44735. +
  44736. +#include <stdlib.h>
  44737. +#include <signal.h>
  44738. +#if HAVE_SYS_SIGNAL_H
  44739. +# include <sys/signal.h>
  44740. +#endif
  44741. +#ifndef SIGSTKSZ
  44742. +# define SIGSTKSZ 16384
  44743. +#endif
  44744. +volatile char *stack_lower_bound;
  44745. +volatile char *stack_upper_bound;
  44746. +static void check_stack_location (volatile char *addr)
  44747. +{
  44748. + if (addr >= stack_lower_bound && addr <= stack_upper_bound)
  44749. + exit (0);
  44750. + else
  44751. + exit (1);
  44752. +}
  44753. +static void stackoverflow_handler (int sig)
  44754. +{
  44755. + char dummy;
  44756. + check_stack_location (&dummy);
  44757. +}
  44758. +int main ()
  44759. +{
  44760. + char mystack[2 * SIGSTKSZ];
  44761. + stack_t altstack;
  44762. + struct sigaction action;
  44763. + /* Install the alternate stack. */
  44764. + altstack.ss_sp = mystack + SIGSTKSZ;
  44765. + altstack.ss_size = SIGSTKSZ;
  44766. + stack_lower_bound = (char *) altstack.ss_sp;
  44767. + stack_upper_bound = (char *) altstack.ss_sp + altstack.ss_size - 1;
  44768. + altstack.ss_flags = 0; /* no SS_DISABLE */
  44769. + if (sigaltstack (&altstack, NULL) < 0)
  44770. + exit (2);
  44771. + /* Install the SIGSEGV handler. */
  44772. + sigemptyset (&action.sa_mask);
  44773. + action.sa_handler = &stackoverflow_handler;
  44774. + action.sa_flags = SA_ONSTACK;
  44775. + if (sigaction (SIGSEGV, &action, (struct sigaction *) NULL) < 0)
  44776. + exit(3);
  44777. + /* Provoke a SIGSEGV. */
  44778. + raise (SIGSEGV);
  44779. + exit (4);
  44780. +}
  44781. +_ACEOF
  44782. +if ac_fn_c_try_run "$LINENO"; then :
  44783. + gl_cv_sigaltstack_low_base=yes
  44784. +else
  44785. + gl_cv_sigaltstack_low_base=no
  44786. +fi
  44787. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  44788. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  44789. +fi
  44790. +
  44791. +fi
  44792. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sigaltstack_low_base" >&5
  44793. +$as_echo "$gl_cv_sigaltstack_low_base" >&6; }
  44794. + if test "$gl_cv_sigaltstack_low_base" = no; then
  44795. +
  44796. +$as_echo "@%:@define SIGALTSTACK_SS_REVERSED 1" >>confdefs.h
  44797. +
  44798. + fi
  44799. +
  44800. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for precise C stack overflow detection" >&5
  44801. +$as_echo_n "checking for precise C stack overflow detection... " >&6; }
  44802. +if ${ac_cv_sys_xsi_stack_overflow_heuristic+:} false; then :
  44803. + $as_echo_n "(cached) " >&6
  44804. +else
  44805. + if test "$cross_compiling" = yes; then :
  44806. + ac_cv_sys_xsi_stack_overflow_heuristic=cross-compiling
  44807. +else
  44808. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44809. +/* end confdefs.h. */
  44810. +
  44811. + #include <unistd.h>
  44812. + #include <signal.h>
  44813. + #if HAVE_UCONTEXT_H
  44814. + # include <ucontext.h>
  44815. + #endif
  44816. + #if HAVE_SETRLIMIT
  44817. + # include <sys/types.h>
  44818. + # include <sys/time.h>
  44819. + # include <sys/resource.h>
  44820. + #endif
  44821. + #ifndef SIGSTKSZ
  44822. + # define SIGSTKSZ 16384
  44823. + #endif
  44824. +
  44825. + static union
  44826. + {
  44827. + char buffer[2 * SIGSTKSZ];
  44828. + long double ld;
  44829. + long u;
  44830. + void *p;
  44831. + } alternate_signal_stack;
  44832. +
  44833. + #if STACK_DIRECTION
  44834. + # define find_stack_direction(ptr) STACK_DIRECTION
  44835. + #else
  44836. + static int
  44837. + find_stack_direction (char const *addr)
  44838. + {
  44839. + char dummy;
  44840. + return (! addr ? find_stack_direction (&dummy)
  44841. + : addr < &dummy ? 1 : -1);
  44842. + }
  44843. + #endif
  44844. +
  44845. + static void
  44846. + segv_handler (int signo, siginfo_t *info, void *context)
  44847. + {
  44848. + if (0 < info->si_code)
  44849. + {
  44850. + /* For XSI heuristics to work, we need uc_stack to describe
  44851. + the interrupted stack (as on Solaris), and not the
  44852. + currently executing stack (as on Linux). */
  44853. + ucontext_t const *user_context = context;
  44854. + char const *stack_min = user_context->uc_stack.ss_sp;
  44855. + size_t stack_size = user_context->uc_stack.ss_size;
  44856. + char const *faulting_address = info->si_addr;
  44857. + size_t s = faulting_address - stack_min;
  44858. + size_t page_size = sysconf (_SC_PAGESIZE);
  44859. + if (find_stack_direction (0) < 0)
  44860. + s += page_size;
  44861. + if (s < stack_size + page_size)
  44862. + _exit (0);
  44863. + _exit (4);
  44864. + }
  44865. + _exit (5);
  44866. + }
  44867. +
  44868. + static int
  44869. + c_stack_action ()
  44870. + {
  44871. + stack_t st;
  44872. + struct sigaction act;
  44873. + int r;
  44874. +
  44875. + st.ss_flags = 0;
  44876. + /* Use the midpoint to avoid Irix sigaltstack bug. */
  44877. + st.ss_sp = alternate_signal_stack.buffer + SIGSTKSZ;
  44878. + st.ss_size = SIGSTKSZ;
  44879. + r = sigaltstack (&st, 0);
  44880. + if (r != 0)
  44881. + return 1;
  44882. +
  44883. + sigemptyset (&act.sa_mask);
  44884. + act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND | SA_SIGINFO;
  44885. + act.sa_sigaction = segv_handler;
  44886. + #if FAULT_YIELDS_SIGBUS
  44887. + if (sigaction (SIGBUS, &act, 0) < 0)
  44888. + return 2;
  44889. + #endif
  44890. + if (sigaction (SIGSEGV, &act, 0) < 0)
  44891. + return 3;
  44892. + return 0;
  44893. + }
  44894. + static volatile int *
  44895. + recurse_1 (volatile int n, volatile int *p)
  44896. + {
  44897. + if (n >= 0)
  44898. + *recurse_1 (n + 1, p) += n;
  44899. + return p;
  44900. + }
  44901. + static int
  44902. + recurse (volatile int n)
  44903. + {
  44904. + int sum = 0;
  44905. + return *recurse_1 (n, &sum);
  44906. + }
  44907. + int
  44908. + main ()
  44909. + {
  44910. + int result;
  44911. + #if HAVE_SETRLIMIT && defined RLIMIT_STACK
  44912. + /* Before starting the endless recursion, try to be friendly
  44913. + to the user's machine. On some Linux 2.2.x systems, there
  44914. + is no stack limit for user processes at all. We don't want
  44915. + to kill such systems. */
  44916. + struct rlimit rl;
  44917. + rl.rlim_cur = rl.rlim_max = 0x100000; /* 1 MB */
  44918. + setrlimit (RLIMIT_STACK, &rl);
  44919. + #endif
  44920. +
  44921. + result = c_stack_action ();
  44922. + if (result != 0)
  44923. + return result;
  44924. + return recurse (0);
  44925. + }
  44926. +
  44927. +_ACEOF
  44928. +if ac_fn_c_try_run "$LINENO"; then :
  44929. + ac_cv_sys_xsi_stack_overflow_heuristic=yes
  44930. +else
  44931. + ac_cv_sys_xsi_stack_overflow_heuristic=no
  44932. +fi
  44933. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  44934. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  44935. +fi
  44936. +
  44937. +fi
  44938. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_xsi_stack_overflow_heuristic" >&5
  44939. +$as_echo "$ac_cv_sys_xsi_stack_overflow_heuristic" >&6; }
  44940. +
  44941. + if test $ac_cv_sys_xsi_stack_overflow_heuristic = yes; then
  44942. +
  44943. +$as_echo "@%:@define HAVE_XSI_STACK_OVERFLOW_HEURISTIC 1" >>confdefs.h
  44944. +
  44945. + fi
  44946. + fi
  44947. +
  44948. + if test "X$prefix" = "XNONE"; then
  44949. + acl_final_prefix="$ac_default_prefix"
  44950. + else
  44951. + acl_final_prefix="$prefix"
  44952. + fi
  44953. + if test "X$exec_prefix" = "XNONE"; then
  44954. + acl_final_exec_prefix='${prefix}'
  44955. + else
  44956. + acl_final_exec_prefix="$exec_prefix"
  44957. + fi
  44958. + acl_save_prefix="$prefix"
  44959. + prefix="$acl_final_prefix"
  44960. + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
  44961. + prefix="$acl_save_prefix"
  44962. +
  44963. +
  44964. +@%:@ Check whether --with-gnu-ld was given.
  44965. +if test "${with_gnu_ld+set}" = set; then :
  44966. + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  44967. +else
  44968. + with_gnu_ld=no
  44969. +fi
  44970. +
  44971. +# Prepare PATH_SEPARATOR.
  44972. +# The user is always right.
  44973. +if test "${PATH_SEPARATOR+set}" != set; then
  44974. + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
  44975. + # contains only /bin. Note that ksh looks also at the FPATH variable,
  44976. + # so we have to set that as well for the test.
  44977. + PATH_SEPARATOR=:
  44978. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  44979. + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  44980. + || PATH_SEPARATOR=';'
  44981. + }
  44982. +fi
  44983. +ac_prog=ld
  44984. +if test "$GCC" = yes; then
  44985. + # Check if gcc -print-prog-name=ld gives a path.
  44986. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
  44987. +$as_echo_n "checking for ld used by GCC... " >&6; }
  44988. + case $host in
  44989. + *-*-mingw*)
  44990. + # gcc leaves a trailing carriage return which upsets mingw
  44991. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  44992. + *)
  44993. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  44994. + esac
  44995. + case $ac_prog in
  44996. + # Accept absolute paths.
  44997. + [\\/]* | [A-Za-z]:[\\/]*)
  44998. + re_direlt='/[^/][^/]*/\.\./'
  44999. + # Canonicalize the path of ld
  45000. + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
  45001. + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  45002. + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
  45003. + done
  45004. + test -z "$LD" && LD="$ac_prog"
  45005. + ;;
  45006. + "")
  45007. + # If it fails, then pretend we aren't using GCC.
  45008. + ac_prog=ld
  45009. + ;;
  45010. + *)
  45011. + # If it is relative, then search for the first ld in PATH.
  45012. + with_gnu_ld=unknown
  45013. + ;;
  45014. + esac
  45015. +elif test "$with_gnu_ld" = yes; then
  45016. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  45017. +$as_echo_n "checking for GNU ld... " >&6; }
  45018. +else
  45019. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  45020. +$as_echo_n "checking for non-GNU ld... " >&6; }
  45021. +fi
  45022. +if ${acl_cv_path_LD+:} false; then :
  45023. + $as_echo_n "(cached) " >&6
  45024. +else
  45025. + if test -z "$LD"; then
  45026. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  45027. + for ac_dir in $PATH; do
  45028. + test -z "$ac_dir" && ac_dir=.
  45029. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  45030. + acl_cv_path_LD="$ac_dir/$ac_prog"
  45031. + # Check to see if the program is GNU ld. I'd rather use --version,
  45032. + # but apparently some GNU ld's only accept -v.
  45033. + # Break only if it was the GNU/non-GNU ld that we prefer.
  45034. + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
  45035. + *GNU* | *'with BFD'*)
  45036. + test "$with_gnu_ld" != no && break ;;
  45037. + *)
  45038. + test "$with_gnu_ld" != yes && break ;;
  45039. + esac
  45040. + fi
  45041. + done
  45042. + IFS="$ac_save_ifs"
  45043. +else
  45044. + acl_cv_path_LD="$LD" # Let the user override the test with a path.
  45045. +fi
  45046. +fi
  45047. +
  45048. +LD="$acl_cv_path_LD"
  45049. +if test -n "$LD"; then
  45050. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  45051. +$as_echo "$LD" >&6; }
  45052. +else
  45053. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  45054. +$as_echo "no" >&6; }
  45055. +fi
  45056. +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  45057. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  45058. +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  45059. +if ${acl_cv_prog_gnu_ld+:} false; then :
  45060. + $as_echo_n "(cached) " >&6
  45061. +else
  45062. + # I'd rather use --version here, but apparently some GNU ld's only accept -v.
  45063. +case `$LD -v 2>&1 </dev/null` in
  45064. +*GNU* | *'with BFD'*)
  45065. + acl_cv_prog_gnu_ld=yes ;;
  45066. +*)
  45067. + acl_cv_prog_gnu_ld=no ;;
  45068. +esac
  45069. +fi
  45070. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
  45071. +$as_echo "$acl_cv_prog_gnu_ld" >&6; }
  45072. +with_gnu_ld=$acl_cv_prog_gnu_ld
  45073. +
  45074. +
  45075. +
  45076. +
  45077. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
  45078. +$as_echo_n "checking for shared library run path origin... " >&6; }
  45079. +if ${acl_cv_rpath+:} false; then :
  45080. + $as_echo_n "(cached) " >&6
  45081. +else
  45082. +
  45083. + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
  45084. + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
  45085. + . ./conftest.sh
  45086. + rm -f ./conftest.sh
  45087. + acl_cv_rpath=done
  45088. +
  45089. +fi
  45090. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
  45091. +$as_echo "$acl_cv_rpath" >&6; }
  45092. + wl="$acl_cv_wl"
  45093. + acl_libext="$acl_cv_libext"
  45094. + acl_shlibext="$acl_cv_shlibext"
  45095. + acl_libname_spec="$acl_cv_libname_spec"
  45096. + acl_library_names_spec="$acl_cv_library_names_spec"
  45097. + acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
  45098. + acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
  45099. + acl_hardcode_direct="$acl_cv_hardcode_direct"
  45100. + acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
  45101. + @%:@ Check whether --enable-rpath was given.
  45102. +if test "${enable_rpath+set}" = set; then :
  45103. + enableval=$enable_rpath; :
  45104. +else
  45105. + enable_rpath=yes
  45106. +fi
  45107. +
  45108. +
  45109. +
  45110. +
  45111. + acl_libdirstem=lib
  45112. + acl_libdirstem2=
  45113. + case "$host_os" in
  45114. + solaris*)
  45115. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
  45116. +$as_echo_n "checking for 64-bit host... " >&6; }
  45117. +if ${gl_cv_solaris_64bit+:} false; then :
  45118. + $as_echo_n "(cached) " >&6
  45119. +else
  45120. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  45121. +/* end confdefs.h. */
  45122. +
  45123. +#ifdef _LP64
  45124. +sixtyfour bits
  45125. +#endif
  45126. +
  45127. +_ACEOF
  45128. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  45129. + $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
  45130. + gl_cv_solaris_64bit=yes
  45131. +else
  45132. + gl_cv_solaris_64bit=no
  45133. +fi
  45134. +rm -f conftest*
  45135. +
  45136. +
  45137. +fi
  45138. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
  45139. +$as_echo "$gl_cv_solaris_64bit" >&6; }
  45140. + if test $gl_cv_solaris_64bit = yes; then
  45141. + acl_libdirstem=lib/64
  45142. + case "$host_cpu" in
  45143. + sparc*) acl_libdirstem2=lib/sparcv9 ;;
  45144. + i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
  45145. + esac
  45146. + fi
  45147. + ;;
  45148. + *)
  45149. + searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
  45150. + if test -n "$searchpath"; then
  45151. + acl_save_IFS="${IFS= }"; IFS=":"
  45152. + for searchdir in $searchpath; do
  45153. + if test -d "$searchdir"; then
  45154. + case "$searchdir" in
  45155. + */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
  45156. + */../ | */.. )
  45157. + # Better ignore directories of this form. They are misleading.
  45158. + ;;
  45159. + *) searchdir=`cd "$searchdir" && pwd`
  45160. + case "$searchdir" in
  45161. + */lib64 ) acl_libdirstem=lib64 ;;
  45162. + esac ;;
  45163. + esac
  45164. + fi
  45165. + done
  45166. + IFS="$acl_save_IFS"
  45167. + fi
  45168. + ;;
  45169. + esac
  45170. + test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
  45171. +
  45172. +
  45173. +
  45174. +
  45175. +
  45176. +
  45177. +
  45178. +
  45179. +
  45180. +
  45181. +
  45182. +
  45183. +
  45184. +
  45185. +
  45186. + use_additional=yes
  45187. +
  45188. + acl_save_prefix="$prefix"
  45189. + prefix="$acl_final_prefix"
  45190. + acl_save_exec_prefix="$exec_prefix"
  45191. + exec_prefix="$acl_final_exec_prefix"
  45192. +
  45193. + eval additional_includedir=\"$includedir\"
  45194. + eval additional_libdir=\"$libdir\"
  45195. +
  45196. + exec_prefix="$acl_save_exec_prefix"
  45197. + prefix="$acl_save_prefix"
  45198. +
  45199. +
  45200. +@%:@ Check whether --with-libsigsegv-prefix was given.
  45201. +if test "${with_libsigsegv_prefix+set}" = set; then :
  45202. + withval=$with_libsigsegv_prefix;
  45203. + if test "X$withval" = "Xno"; then
  45204. + use_additional=no
  45205. + else
  45206. + if test "X$withval" = "X"; then
  45207. +
  45208. + acl_save_prefix="$prefix"
  45209. + prefix="$acl_final_prefix"
  45210. + acl_save_exec_prefix="$exec_prefix"
  45211. + exec_prefix="$acl_final_exec_prefix"
  45212. +
  45213. + eval additional_includedir=\"$includedir\"
  45214. + eval additional_libdir=\"$libdir\"
  45215. +
  45216. + exec_prefix="$acl_save_exec_prefix"
  45217. + prefix="$acl_save_prefix"
  45218. +
  45219. + else
  45220. + additional_includedir="$withval/include"
  45221. + additional_libdir="$withval/$acl_libdirstem"
  45222. + if test "$acl_libdirstem2" != "$acl_libdirstem" \
  45223. + && ! test -d "$withval/$acl_libdirstem"; then
  45224. + additional_libdir="$withval/$acl_libdirstem2"
  45225. + fi
  45226. + fi
  45227. + fi
  45228. +
  45229. +fi
  45230. +
  45231. + LIBSIGSEGV=
  45232. + LTLIBSIGSEGV=
  45233. + INCSIGSEGV=
  45234. + LIBSIGSEGV_PREFIX=
  45235. + HAVE_LIBSIGSEGV=
  45236. + rpathdirs=
  45237. + ltrpathdirs=
  45238. + names_already_handled=
  45239. + names_next_round='sigsegv '
  45240. + while test -n "$names_next_round"; do
  45241. + names_this_round="$names_next_round"
  45242. + names_next_round=
  45243. + for name in $names_this_round; do
  45244. + already_handled=
  45245. + for n in $names_already_handled; do
  45246. + if test "$n" = "$name"; then
  45247. + already_handled=yes
  45248. + break
  45249. + fi
  45250. + done
  45251. + if test -z "$already_handled"; then
  45252. + names_already_handled="$names_already_handled $name"
  45253. + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
  45254. + eval value=\"\$HAVE_LIB$uppername\"
  45255. + if test -n "$value"; then
  45256. + if test "$value" = yes; then
  45257. + eval value=\"\$LIB$uppername\"
  45258. + test -z "$value" || LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$value"
  45259. + eval value=\"\$LTLIB$uppername\"
  45260. + test -z "$value" || LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$value"
  45261. + else
  45262. + :
  45263. + fi
  45264. + else
  45265. + found_dir=
  45266. + found_la=
  45267. + found_so=
  45268. + found_a=
  45269. + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
  45270. + if test -n "$acl_shlibext"; then
  45271. + shrext=".$acl_shlibext" # typically: shrext=.so
  45272. + else
  45273. + shrext=
  45274. + fi
  45275. + if test $use_additional = yes; then
  45276. + dir="$additional_libdir"
  45277. + if test -n "$acl_shlibext"; then
  45278. + if test -f "$dir/$libname$shrext"; then
  45279. + found_dir="$dir"
  45280. + found_so="$dir/$libname$shrext"
  45281. + else
  45282. + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  45283. + ver=`(cd "$dir" && \
  45284. + for f in "$libname$shrext".*; do echo "$f"; done \
  45285. + | sed -e "s,^$libname$shrext\\\\.,," \
  45286. + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  45287. + | sed 1q ) 2>/dev/null`
  45288. + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  45289. + found_dir="$dir"
  45290. + found_so="$dir/$libname$shrext.$ver"
  45291. + fi
  45292. + else
  45293. + eval library_names=\"$acl_library_names_spec\"
  45294. + for f in $library_names; do
  45295. + if test -f "$dir/$f"; then
  45296. + found_dir="$dir"
  45297. + found_so="$dir/$f"
  45298. + break
  45299. + fi
  45300. + done
  45301. + fi
  45302. + fi
  45303. + fi
  45304. + if test "X$found_dir" = "X"; then
  45305. + if test -f "$dir/$libname.$acl_libext"; then
  45306. + found_dir="$dir"
  45307. + found_a="$dir/$libname.$acl_libext"
  45308. + fi
  45309. + fi
  45310. + if test "X$found_dir" != "X"; then
  45311. + if test -f "$dir/$libname.la"; then
  45312. + found_la="$dir/$libname.la"
  45313. + fi
  45314. + fi
  45315. + fi
  45316. + if test "X$found_dir" = "X"; then
  45317. + for x in $LDFLAGS $LTLIBSIGSEGV; do
  45318. +
  45319. + acl_save_prefix="$prefix"
  45320. + prefix="$acl_final_prefix"
  45321. + acl_save_exec_prefix="$exec_prefix"
  45322. + exec_prefix="$acl_final_exec_prefix"
  45323. + eval x=\"$x\"
  45324. + exec_prefix="$acl_save_exec_prefix"
  45325. + prefix="$acl_save_prefix"
  45326. +
  45327. + case "$x" in
  45328. + -L*)
  45329. + dir=`echo "X$x" | sed -e 's/^X-L//'`
  45330. + if test -n "$acl_shlibext"; then
  45331. + if test -f "$dir/$libname$shrext"; then
  45332. + found_dir="$dir"
  45333. + found_so="$dir/$libname$shrext"
  45334. + else
  45335. + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  45336. + ver=`(cd "$dir" && \
  45337. + for f in "$libname$shrext".*; do echo "$f"; done \
  45338. + | sed -e "s,^$libname$shrext\\\\.,," \
  45339. + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  45340. + | sed 1q ) 2>/dev/null`
  45341. + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  45342. + found_dir="$dir"
  45343. + found_so="$dir/$libname$shrext.$ver"
  45344. + fi
  45345. + else
  45346. + eval library_names=\"$acl_library_names_spec\"
  45347. + for f in $library_names; do
  45348. + if test -f "$dir/$f"; then
  45349. + found_dir="$dir"
  45350. + found_so="$dir/$f"
  45351. + break
  45352. + fi
  45353. + done
  45354. + fi
  45355. + fi
  45356. + fi
  45357. + if test "X$found_dir" = "X"; then
  45358. + if test -f "$dir/$libname.$acl_libext"; then
  45359. + found_dir="$dir"
  45360. + found_a="$dir/$libname.$acl_libext"
  45361. + fi
  45362. + fi
  45363. + if test "X$found_dir" != "X"; then
  45364. + if test -f "$dir/$libname.la"; then
  45365. + found_la="$dir/$libname.la"
  45366. + fi
  45367. + fi
  45368. + ;;
  45369. + esac
  45370. + if test "X$found_dir" != "X"; then
  45371. + break
  45372. + fi
  45373. + done
  45374. + fi
  45375. + if test "X$found_dir" != "X"; then
  45376. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$found_dir -l$name"
  45377. + if test "X$found_so" != "X"; then
  45378. + if test "$enable_rpath" = no \
  45379. + || test "X$found_dir" = "X/usr/$acl_libdirstem" \
  45380. + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
  45381. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  45382. + else
  45383. + haveit=
  45384. + for x in $ltrpathdirs; do
  45385. + if test "X$x" = "X$found_dir"; then
  45386. + haveit=yes
  45387. + break
  45388. + fi
  45389. + done
  45390. + if test -z "$haveit"; then
  45391. + ltrpathdirs="$ltrpathdirs $found_dir"
  45392. + fi
  45393. + if test "$acl_hardcode_direct" = yes; then
  45394. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  45395. + else
  45396. + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
  45397. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  45398. + haveit=
  45399. + for x in $rpathdirs; do
  45400. + if test "X$x" = "X$found_dir"; then
  45401. + haveit=yes
  45402. + break
  45403. + fi
  45404. + done
  45405. + if test -z "$haveit"; then
  45406. + rpathdirs="$rpathdirs $found_dir"
  45407. + fi
  45408. + else
  45409. + haveit=
  45410. + for x in $LDFLAGS $LIBSIGSEGV; do
  45411. +
  45412. + acl_save_prefix="$prefix"
  45413. + prefix="$acl_final_prefix"
  45414. + acl_save_exec_prefix="$exec_prefix"
  45415. + exec_prefix="$acl_final_exec_prefix"
  45416. + eval x=\"$x\"
  45417. + exec_prefix="$acl_save_exec_prefix"
  45418. + prefix="$acl_save_prefix"
  45419. +
  45420. + if test "X$x" = "X-L$found_dir"; then
  45421. + haveit=yes
  45422. + break
  45423. + fi
  45424. + done
  45425. + if test -z "$haveit"; then
  45426. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir"
  45427. + fi
  45428. + if test "$acl_hardcode_minus_L" != no; then
  45429. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  45430. + else
  45431. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name"
  45432. + fi
  45433. + fi
  45434. + fi
  45435. + fi
  45436. + else
  45437. + if test "X$found_a" != "X"; then
  45438. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_a"
  45439. + else
  45440. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir -l$name"
  45441. + fi
  45442. + fi
  45443. + additional_includedir=
  45444. + case "$found_dir" in
  45445. + */$acl_libdirstem | */$acl_libdirstem/)
  45446. + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
  45447. + if test "$name" = 'sigsegv'; then
  45448. + LIBSIGSEGV_PREFIX="$basedir"
  45449. + fi
  45450. + additional_includedir="$basedir/include"
  45451. + ;;
  45452. + */$acl_libdirstem2 | */$acl_libdirstem2/)
  45453. + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
  45454. + if test "$name" = 'sigsegv'; then
  45455. + LIBSIGSEGV_PREFIX="$basedir"
  45456. + fi
  45457. + additional_includedir="$basedir/include"
  45458. + ;;
  45459. + esac
  45460. + if test "X$additional_includedir" != "X"; then
  45461. + if test "X$additional_includedir" != "X/usr/include"; then
  45462. + haveit=
  45463. + if test "X$additional_includedir" = "X/usr/local/include"; then
  45464. + if test -n "$GCC"; then
  45465. + case $host_os in
  45466. + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  45467. + esac
  45468. + fi
  45469. + fi
  45470. + if test -z "$haveit"; then
  45471. + for x in $CPPFLAGS $INCSIGSEGV; do
  45472. +
  45473. + acl_save_prefix="$prefix"
  45474. + prefix="$acl_final_prefix"
  45475. + acl_save_exec_prefix="$exec_prefix"
  45476. + exec_prefix="$acl_final_exec_prefix"
  45477. + eval x=\"$x\"
  45478. + exec_prefix="$acl_save_exec_prefix"
  45479. + prefix="$acl_save_prefix"
  45480. +
  45481. + if test "X$x" = "X-I$additional_includedir"; then
  45482. + haveit=yes
  45483. + break
  45484. + fi
  45485. + done
  45486. + if test -z "$haveit"; then
  45487. + if test -d "$additional_includedir"; then
  45488. + INCSIGSEGV="${INCSIGSEGV}${INCSIGSEGV:+ }-I$additional_includedir"
  45489. + fi
  45490. + fi
  45491. + fi
  45492. + fi
  45493. + fi
  45494. + if test -n "$found_la"; then
  45495. + save_libdir="$libdir"
  45496. + case "$found_la" in
  45497. + */* | *\\*) . "$found_la" ;;
  45498. + *) . "./$found_la" ;;
  45499. + esac
  45500. + libdir="$save_libdir"
  45501. + for dep in $dependency_libs; do
  45502. + case "$dep" in
  45503. + -L*)
  45504. + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
  45505. + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
  45506. + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
  45507. + haveit=
  45508. + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
  45509. + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
  45510. + if test -n "$GCC"; then
  45511. + case $host_os in
  45512. + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  45513. + esac
  45514. + fi
  45515. + fi
  45516. + if test -z "$haveit"; then
  45517. + haveit=
  45518. + for x in $LDFLAGS $LIBSIGSEGV; do
  45519. +
  45520. + acl_save_prefix="$prefix"
  45521. + prefix="$acl_final_prefix"
  45522. + acl_save_exec_prefix="$exec_prefix"
  45523. + exec_prefix="$acl_final_exec_prefix"
  45524. + eval x=\"$x\"
  45525. + exec_prefix="$acl_save_exec_prefix"
  45526. + prefix="$acl_save_prefix"
  45527. +
  45528. + if test "X$x" = "X-L$additional_libdir"; then
  45529. + haveit=yes
  45530. + break
  45531. + fi
  45532. + done
  45533. + if test -z "$haveit"; then
  45534. + if test -d "$additional_libdir"; then
  45535. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$additional_libdir"
  45536. + fi
  45537. + fi
  45538. + haveit=
  45539. + for x in $LDFLAGS $LTLIBSIGSEGV; do
  45540. +
  45541. + acl_save_prefix="$prefix"
  45542. + prefix="$acl_final_prefix"
  45543. + acl_save_exec_prefix="$exec_prefix"
  45544. + exec_prefix="$acl_final_exec_prefix"
  45545. + eval x=\"$x\"
  45546. + exec_prefix="$acl_save_exec_prefix"
  45547. + prefix="$acl_save_prefix"
  45548. +
  45549. + if test "X$x" = "X-L$additional_libdir"; then
  45550. + haveit=yes
  45551. + break
  45552. + fi
  45553. + done
  45554. + if test -z "$haveit"; then
  45555. + if test -d "$additional_libdir"; then
  45556. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$additional_libdir"
  45557. + fi
  45558. + fi
  45559. + fi
  45560. + fi
  45561. + ;;
  45562. + -R*)
  45563. + dir=`echo "X$dep" | sed -e 's/^X-R//'`
  45564. + if test "$enable_rpath" != no; then
  45565. + haveit=
  45566. + for x in $rpathdirs; do
  45567. + if test "X$x" = "X$dir"; then
  45568. + haveit=yes
  45569. + break
  45570. + fi
  45571. + done
  45572. + if test -z "$haveit"; then
  45573. + rpathdirs="$rpathdirs $dir"
  45574. + fi
  45575. + haveit=
  45576. + for x in $ltrpathdirs; do
  45577. + if test "X$x" = "X$dir"; then
  45578. + haveit=yes
  45579. + break
  45580. + fi
  45581. + done
  45582. + if test -z "$haveit"; then
  45583. + ltrpathdirs="$ltrpathdirs $dir"
  45584. + fi
  45585. + fi
  45586. + ;;
  45587. + -l*)
  45588. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
  45589. + ;;
  45590. + *.la)
  45591. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
  45592. + ;;
  45593. + *)
  45594. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$dep"
  45595. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$dep"
  45596. + ;;
  45597. + esac
  45598. + done
  45599. + fi
  45600. + else
  45601. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name"
  45602. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-l$name"
  45603. + fi
  45604. + fi
  45605. + fi
  45606. + done
  45607. + done
  45608. + if test "X$rpathdirs" != "X"; then
  45609. + if test -n "$acl_hardcode_libdir_separator"; then
  45610. + alldirs=
  45611. + for found_dir in $rpathdirs; do
  45612. + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
  45613. + done
  45614. + acl_save_libdir="$libdir"
  45615. + libdir="$alldirs"
  45616. + eval flag=\"$acl_hardcode_libdir_flag_spec\"
  45617. + libdir="$acl_save_libdir"
  45618. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag"
  45619. + else
  45620. + for found_dir in $rpathdirs; do
  45621. + acl_save_libdir="$libdir"
  45622. + libdir="$found_dir"
  45623. + eval flag=\"$acl_hardcode_libdir_flag_spec\"
  45624. + libdir="$acl_save_libdir"
  45625. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag"
  45626. + done
  45627. + fi
  45628. + fi
  45629. + if test "X$ltrpathdirs" != "X"; then
  45630. + for found_dir in $ltrpathdirs; do
  45631. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-R$found_dir"
  45632. + done
  45633. + fi
  45634. +
  45635. +
  45636. +
  45637. +
  45638. +
  45639. +
  45640. +
  45641. + ac_save_CPPFLAGS="$CPPFLAGS"
  45642. +
  45643. + for element in $INCSIGSEGV; do
  45644. + haveit=
  45645. + for x in $CPPFLAGS; do
  45646. +
  45647. + acl_save_prefix="$prefix"
  45648. + prefix="$acl_final_prefix"
  45649. + acl_save_exec_prefix="$exec_prefix"
  45650. + exec_prefix="$acl_final_exec_prefix"
  45651. + eval x=\"$x\"
  45652. + exec_prefix="$acl_save_exec_prefix"
  45653. + prefix="$acl_save_prefix"
  45654. +
  45655. + if test "X$x" = "X$element"; then
  45656. + haveit=yes
  45657. + break
  45658. + fi
  45659. + done
  45660. + if test -z "$haveit"; then
  45661. + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
  45662. + fi
  45663. + done
  45664. +
  45665. +
  45666. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigsegv" >&5
  45667. +$as_echo_n "checking for libsigsegv... " >&6; }
  45668. +if ${ac_cv_libsigsegv+:} false; then :
  45669. + $as_echo_n "(cached) " >&6
  45670. +else
  45671. +
  45672. + ac_save_LIBS="$LIBS"
  45673. + case " $LIBSIGSEGV" in
  45674. + *" -l"*) LIBS="$LIBS $LIBSIGSEGV" ;;
  45675. + *) LIBS="$LIBSIGSEGV $LIBS" ;;
  45676. + esac
  45677. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  45678. +/* end confdefs.h. */
  45679. +#include <sigsegv.h>
  45680. +int
  45681. +main ()
  45682. +{
  45683. +sigsegv_deinstall_handler();
  45684. + ;
  45685. + return 0;
  45686. +}
  45687. +_ACEOF
  45688. +if ac_fn_c_try_link "$LINENO"; then :
  45689. + ac_cv_libsigsegv=yes
  45690. +else
  45691. + ac_cv_libsigsegv='no, consider installing GNU libsigsegv'
  45692. +fi
  45693. +rm -f core conftest.err conftest.$ac_objext \
  45694. + conftest$ac_exeext conftest.$ac_ext
  45695. + LIBS="$ac_save_LIBS"
  45696. +
  45697. +fi
  45698. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libsigsegv" >&5
  45699. +$as_echo "$ac_cv_libsigsegv" >&6; }
  45700. + if test "$ac_cv_libsigsegv" = yes; then
  45701. + HAVE_LIBSIGSEGV=yes
  45702. +
  45703. +$as_echo "@%:@define HAVE_LIBSIGSEGV 1" >>confdefs.h
  45704. +
  45705. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libsigsegv" >&5
  45706. +$as_echo_n "checking how to link with libsigsegv... " >&6; }
  45707. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSIGSEGV" >&5
  45708. +$as_echo "$LIBSIGSEGV" >&6; }
  45709. + else
  45710. + HAVE_LIBSIGSEGV=no
  45711. + CPPFLAGS="$ac_save_CPPFLAGS"
  45712. + LIBSIGSEGV=
  45713. + LTLIBSIGSEGV=
  45714. + LIBSIGSEGV_PREFIX=
  45715. + fi
  45716. +
  45717. +
  45718. +
  45719. +
  45720. +
  45721. +
  45722. +
  45723. + gl_cv_lib_sigsegv="$ac_cv_libsigsegv"
  45724. +
  45725. +
  45726. +
  45727. +
  45728. +
  45729. +
  45730. +
  45731. +
  45732. +
  45733. +
  45734. +
  45735. +
  45736. +
  45737. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
  45738. +$as_echo_n "checking whether // is distinct from /... " >&6; }
  45739. +if ${gl_cv_double_slash_root+:} false; then :
  45740. + $as_echo_n "(cached) " >&6
  45741. +else
  45742. + if test x"$cross_compiling" = xyes ; then
  45743. + # When cross-compiling, there is no way to tell whether // is special
  45744. + # short of a list of hosts. However, the only known hosts to date
  45745. + # that have a distinct // are Apollo DomainOS (too old to port to),
  45746. + # Cygwin, and z/OS. If anyone knows of another system for which // has
  45747. + # special semantics and is distinct from /, please report it to
  45748. + # <bug-gnulib@gnu.org>.
  45749. + case $host in
  45750. + *-cygwin | i370-ibm-openedition)
  45751. + gl_cv_double_slash_root=yes ;;
  45752. + *)
  45753. + # Be optimistic and assume that / and // are the same when we
  45754. + # don't know.
  45755. + gl_cv_double_slash_root='unknown, assuming no' ;;
  45756. + esac
  45757. + else
  45758. + set x `ls -di / // 2>/dev/null`
  45759. + if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then
  45760. + gl_cv_double_slash_root=no
  45761. + else
  45762. + gl_cv_double_slash_root=yes
  45763. + fi
  45764. + fi
  45765. +fi
  45766. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
  45767. +$as_echo "$gl_cv_double_slash_root" >&6; }
  45768. + if test "$gl_cv_double_slash_root" = yes; then
  45769. +
  45770. +$as_echo "@%:@define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
  45771. +
  45772. + fi
  45773. +
  45774. +
  45775. +
  45776. +
  45777. +
  45778. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether realpath works" >&5
  45779. +$as_echo_n "checking whether realpath works... " >&6; }
  45780. +if ${gl_cv_func_realpath_works+:} false; then :
  45781. + $as_echo_n "(cached) " >&6
  45782. +else
  45783. +
  45784. + touch conftest.a
  45785. + if test "$cross_compiling" = yes; then :
  45786. + gl_cv_func_realpath_works="guessing no"
  45787. +else
  45788. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  45789. +/* end confdefs.h. */
  45790. +
  45791. +
  45792. + #include <stdlib.h>
  45793. +
  45794. +int
  45795. +main ()
  45796. +{
  45797. +
  45798. + int result = 0;
  45799. + {
  45800. + char *name = realpath ("conftest.a", NULL);
  45801. + if (!(name && *name == '/'))
  45802. + result |= 1;
  45803. + }
  45804. + {
  45805. + char *name = realpath ("conftest.b/../conftest.a", NULL);
  45806. + if (name != NULL)
  45807. + result |= 2;
  45808. + }
  45809. + {
  45810. + char *name = realpath ("conftest.a/", NULL);
  45811. + if (name != NULL)
  45812. + result |= 4;
  45813. + }
  45814. + return result;
  45815. +
  45816. + ;
  45817. + return 0;
  45818. +}
  45819. +
  45820. +_ACEOF
  45821. +if ac_fn_c_try_run "$LINENO"; then :
  45822. + gl_cv_func_realpath_works=yes
  45823. +else
  45824. + gl_cv_func_realpath_works=no
  45825. +fi
  45826. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  45827. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  45828. +fi
  45829. +
  45830. +
  45831. +fi
  45832. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_realpath_works" >&5
  45833. +$as_echo "$gl_cv_func_realpath_works" >&6; }
  45834. + if test "$gl_cv_func_realpath_works" = yes; then
  45835. +
  45836. +$as_echo "@%:@define FUNC_REALPATH_WORKS 1" >>confdefs.h
  45837. +
  45838. + fi
  45839. +
  45840. +
  45841. +
  45842. +
  45843. +
  45844. +
  45845. +
  45846. +
  45847. +
  45848. +
  45849. +
  45850. + GNULIB__EXIT=0;
  45851. + GNULIB_ATOLL=0;
  45852. + GNULIB_CALLOC_POSIX=0;
  45853. + GNULIB_CANONICALIZE_FILE_NAME=0;
  45854. + GNULIB_GETLOADAVG=0;
  45855. + GNULIB_GETSUBOPT=0;
  45856. + GNULIB_GRANTPT=0;
  45857. + GNULIB_MALLOC_POSIX=0;
  45858. + GNULIB_MBTOWC=0;
  45859. + GNULIB_MKDTEMP=0;
  45860. + GNULIB_MKOSTEMP=0;
  45861. + GNULIB_MKOSTEMPS=0;
  45862. + GNULIB_MKSTEMP=0;
  45863. + GNULIB_MKSTEMPS=0;
  45864. + GNULIB_PTSNAME=0;
  45865. + GNULIB_PUTENV=0;
  45866. + GNULIB_RANDOM_R=0;
  45867. + GNULIB_REALLOC_POSIX=0;
  45868. + GNULIB_REALPATH=0;
  45869. + GNULIB_RPMATCH=0;
  45870. + GNULIB_SETENV=0;
  45871. + GNULIB_STRTOD=0;
  45872. + GNULIB_STRTOLL=0;
  45873. + GNULIB_STRTOULL=0;
  45874. + GNULIB_SYSTEM_POSIX=0;
  45875. + GNULIB_UNLOCKPT=0;
  45876. + GNULIB_UNSETENV=0;
  45877. + GNULIB_WCTOMB=0;
  45878. + HAVE__EXIT=1;
  45879. + HAVE_ATOLL=1;
  45880. + HAVE_CANONICALIZE_FILE_NAME=1;
  45881. + HAVE_DECL_GETLOADAVG=1;
  45882. + HAVE_GETSUBOPT=1;
  45883. + HAVE_GRANTPT=1;
  45884. + HAVE_MKDTEMP=1;
  45885. + HAVE_MKOSTEMP=1;
  45886. + HAVE_MKOSTEMPS=1;
  45887. + HAVE_MKSTEMP=1;
  45888. + HAVE_MKSTEMPS=1;
  45889. + HAVE_PTSNAME=1;
  45890. + HAVE_RANDOM_H=1;
  45891. + HAVE_RANDOM_R=1;
  45892. + HAVE_REALPATH=1;
  45893. + HAVE_RPMATCH=1;
  45894. + HAVE_SETENV=1;
  45895. + HAVE_DECL_SETENV=1;
  45896. + HAVE_STRTOD=1;
  45897. + HAVE_STRTOLL=1;
  45898. + HAVE_STRTOULL=1;
  45899. + HAVE_STRUCT_RANDOM_DATA=1;
  45900. + HAVE_SYS_LOADAVG_H=0;
  45901. + HAVE_UNLOCKPT=1;
  45902. + HAVE_DECL_UNSETENV=1;
  45903. + REPLACE_CALLOC=0;
  45904. + REPLACE_CANONICALIZE_FILE_NAME=0;
  45905. + REPLACE_MALLOC=0;
  45906. + REPLACE_MBTOWC=0;
  45907. + REPLACE_MKSTEMP=0;
  45908. + REPLACE_PUTENV=0;
  45909. + REPLACE_REALLOC=0;
  45910. + REPLACE_REALPATH=0;
  45911. + REPLACE_SETENV=0;
  45912. + REPLACE_STRTOD=0;
  45913. + REPLACE_UNSETENV=0;
  45914. + REPLACE_WCTOMB=0;
  45915. +
  45916. +
  45917. + GNULIB_CHOWN=0;
  45918. + GNULIB_CLOSE=0;
  45919. + GNULIB_DUP2=0;
  45920. + GNULIB_DUP3=0;
  45921. + GNULIB_ENVIRON=0;
  45922. + GNULIB_EUIDACCESS=0;
  45923. + GNULIB_FACCESSAT=0;
  45924. + GNULIB_FCHDIR=0;
  45925. + GNULIB_FCHOWNAT=0;
  45926. + GNULIB_FSYNC=0;
  45927. + GNULIB_FTRUNCATE=0;
  45928. + GNULIB_GETCWD=0;
  45929. + GNULIB_GETDOMAINNAME=0;
  45930. + GNULIB_GETDTABLESIZE=0;
  45931. + GNULIB_GETGROUPS=0;
  45932. + GNULIB_GETHOSTNAME=0;
  45933. + GNULIB_GETLOGIN=0;
  45934. + GNULIB_GETLOGIN_R=0;
  45935. + GNULIB_GETPAGESIZE=0;
  45936. + GNULIB_GETUSERSHELL=0;
  45937. + GNULIB_LCHOWN=0;
  45938. + GNULIB_LINK=0;
  45939. + GNULIB_LINKAT=0;
  45940. + GNULIB_LSEEK=0;
  45941. + GNULIB_PIPE=0;
  45942. + GNULIB_PIPE2=0;
  45943. + GNULIB_PREAD=0;
  45944. + GNULIB_PWRITE=0;
  45945. + GNULIB_READLINK=0;
  45946. + GNULIB_READLINKAT=0;
  45947. + GNULIB_RMDIR=0;
  45948. + GNULIB_SLEEP=0;
  45949. + GNULIB_SYMLINK=0;
  45950. + GNULIB_SYMLINKAT=0;
  45951. + GNULIB_TTYNAME_R=0;
  45952. + GNULIB_UNISTD_H_GETOPT=0;
  45953. + GNULIB_UNISTD_H_SIGPIPE=0;
  45954. + GNULIB_UNLINK=0;
  45955. + GNULIB_UNLINKAT=0;
  45956. + GNULIB_USLEEP=0;
  45957. + GNULIB_WRITE=0;
  45958. + HAVE_CHOWN=1;
  45959. + HAVE_DUP2=1;
  45960. + HAVE_DUP3=1;
  45961. + HAVE_EUIDACCESS=1;
  45962. + HAVE_FACCESSAT=1;
  45963. + HAVE_FCHDIR=1;
  45964. + HAVE_FCHOWNAT=1;
  45965. + HAVE_FSYNC=1;
  45966. + HAVE_FTRUNCATE=1;
  45967. + HAVE_GETDTABLESIZE=1;
  45968. + HAVE_GETGROUPS=1;
  45969. + HAVE_GETHOSTNAME=1;
  45970. + HAVE_GETLOGIN=1;
  45971. + HAVE_GETPAGESIZE=1;
  45972. + HAVE_LCHOWN=1;
  45973. + HAVE_LINK=1;
  45974. + HAVE_LINKAT=1;
  45975. + HAVE_PIPE=1;
  45976. + HAVE_PIPE2=1;
  45977. + HAVE_PREAD=1;
  45978. + HAVE_PWRITE=1;
  45979. + HAVE_READLINK=1;
  45980. + HAVE_READLINKAT=1;
  45981. + HAVE_SLEEP=1;
  45982. + HAVE_SYMLINK=1;
  45983. + HAVE_SYMLINKAT=1;
  45984. + HAVE_UNLINKAT=1;
  45985. + HAVE_USLEEP=1;
  45986. + HAVE_DECL_ENVIRON=1;
  45987. + HAVE_DECL_FCHDIR=1;
  45988. + HAVE_DECL_GETDOMAINNAME=1;
  45989. + HAVE_DECL_GETLOGIN_R=1;
  45990. + HAVE_DECL_GETPAGESIZE=1;
  45991. + HAVE_DECL_GETUSERSHELL=1;
  45992. + HAVE_DECL_TTYNAME_R=1;
  45993. + HAVE_OS_H=0;
  45994. + HAVE_SYS_PARAM_H=0;
  45995. + REPLACE_CHOWN=0;
  45996. + REPLACE_CLOSE=0;
  45997. + REPLACE_DUP=0;
  45998. + REPLACE_DUP2=0;
  45999. + REPLACE_FCHOWNAT=0;
  46000. + REPLACE_GETCWD=0;
  46001. + REPLACE_GETDOMAINNAME=0;
  46002. + REPLACE_GETLOGIN_R=0;
  46003. + REPLACE_GETGROUPS=0;
  46004. + REPLACE_GETPAGESIZE=0;
  46005. + REPLACE_LCHOWN=0;
  46006. + REPLACE_LINK=0;
  46007. + REPLACE_LINKAT=0;
  46008. + REPLACE_LSEEK=0;
  46009. + REPLACE_PREAD=0;
  46010. + REPLACE_PWRITE=0;
  46011. + REPLACE_READLINK=0;
  46012. + REPLACE_RMDIR=0;
  46013. + REPLACE_SLEEP=0;
  46014. + REPLACE_SYMLINK=0;
  46015. + REPLACE_TTYNAME_R=0;
  46016. + REPLACE_UNLINK=0;
  46017. + REPLACE_UNLINKAT=0;
  46018. + REPLACE_USLEEP=0;
  46019. + REPLACE_WRITE=0;
  46020. + UNISTD_H_HAVE_WINSOCK2_H=0;
  46021. + UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0;
  46022. +
  46023. +
  46024. +
  46025. +
  46026. +
  46027. +
  46028. +
  46029. +
  46030. +
  46031. +
  46032. +
  46033. + M4_LIBOBJS="$M4_LIBOBJS basename-lgpl.$ac_objext"
  46034. +
  46035. +
  46036. +
  46037. +
  46038. +
  46039. +
  46040. +
  46041. +
  46042. +
  46043. + M4_LIBOBJS="$M4_LIBOBJS dirname-lgpl.$ac_objext"
  46044. +
  46045. +
  46046. +
  46047. +
  46048. +
  46049. +
  46050. +
  46051. +
  46052. +
  46053. + M4_LIBOBJS="$M4_LIBOBJS stripslash.$ac_objext"
  46054. +
  46055. +
  46056. +
  46057. +
  46058. +
  46059. +
  46060. +
  46061. +
  46062. +
  46063. +
  46064. +
  46065. +
  46066. +
  46067. +
  46068. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5
  46069. +$as_echo_n "checking if environ is properly declared... " >&6; }
  46070. + if ${gt_cv_var_environ_declaration+:} false; then :
  46071. + $as_echo_n "(cached) " >&6
  46072. +else
  46073. +
  46074. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46075. +/* end confdefs.h. */
  46076. +#include <unistd.h>
  46077. + extern struct { int foo; } environ;
  46078. +int
  46079. +main ()
  46080. +{
  46081. +environ.foo = 1;
  46082. + ;
  46083. + return 0;
  46084. +}
  46085. +_ACEOF
  46086. +if ac_fn_c_try_compile "$LINENO"; then :
  46087. + gt_cv_var_environ_declaration=no
  46088. +else
  46089. + gt_cv_var_environ_declaration=yes
  46090. +fi
  46091. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  46092. +fi
  46093. +
  46094. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_var_environ_declaration" >&5
  46095. +$as_echo "$gt_cv_var_environ_declaration" >&6; }
  46096. + if test $gt_cv_var_environ_declaration = yes; then
  46097. +
  46098. +$as_echo "@%:@define HAVE_ENVIRON_DECL 1" >>confdefs.h
  46099. +
  46100. + fi
  46101. +
  46102. +
  46103. + if test $gt_cv_var_environ_declaration != yes; then
  46104. + HAVE_DECL_ENVIRON=0
  46105. + fi
  46106. +
  46107. +
  46108. +
  46109. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
  46110. +$as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
  46111. +if ${gl_cv_have_include_next+:} false; then :
  46112. + $as_echo_n "(cached) " >&6
  46113. +else
  46114. + rm -rf conftestd1a conftestd1b conftestd2
  46115. + mkdir conftestd1a conftestd1b conftestd2
  46116. + cat <<EOF > conftestd1a/conftest.h
  46117. +#define DEFINED_IN_CONFTESTD1
  46118. +#include_next <conftest.h>
  46119. +#ifdef DEFINED_IN_CONFTESTD2
  46120. +int foo;
  46121. +#else
  46122. +#error "include_next doesn't work"
  46123. +#endif
  46124. +EOF
  46125. + cat <<EOF > conftestd1b/conftest.h
  46126. +#define DEFINED_IN_CONFTESTD1
  46127. +#include <stdio.h>
  46128. +#include_next <conftest.h>
  46129. +#ifdef DEFINED_IN_CONFTESTD2
  46130. +int foo;
  46131. +#else
  46132. +#error "include_next doesn't work"
  46133. +#endif
  46134. +EOF
  46135. + cat <<EOF > conftestd2/conftest.h
  46136. +#ifndef DEFINED_IN_CONFTESTD1
  46137. +#error "include_next test doesn't work"
  46138. +#endif
  46139. +#define DEFINED_IN_CONFTESTD2
  46140. +EOF
  46141. + gl_save_CPPFLAGS="$CPPFLAGS"
  46142. + CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2"
  46143. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46144. +/* end confdefs.h. */
  46145. +#include <conftest.h>
  46146. +_ACEOF
  46147. +if ac_fn_c_try_compile "$LINENO"; then :
  46148. + gl_cv_have_include_next=yes
  46149. +else
  46150. + CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2"
  46151. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46152. +/* end confdefs.h. */
  46153. +#include <conftest.h>
  46154. +_ACEOF
  46155. +if ac_fn_c_try_compile "$LINENO"; then :
  46156. + gl_cv_have_include_next=buggy
  46157. +else
  46158. + gl_cv_have_include_next=no
  46159. +fi
  46160. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  46161. +
  46162. +fi
  46163. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  46164. + CPPFLAGS="$gl_save_CPPFLAGS"
  46165. + rm -rf conftestd1a conftestd1b conftestd2
  46166. +
  46167. +fi
  46168. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5
  46169. +$as_echo "$gl_cv_have_include_next" >&6; }
  46170. + PRAGMA_SYSTEM_HEADER=
  46171. + if test $gl_cv_have_include_next = yes; then
  46172. + INCLUDE_NEXT=include_next
  46173. + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
  46174. + if test -n "$GCC"; then
  46175. + PRAGMA_SYSTEM_HEADER='#pragma GCC system_header'
  46176. + fi
  46177. + else
  46178. + if test $gl_cv_have_include_next = buggy; then
  46179. + INCLUDE_NEXT=include
  46180. + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
  46181. + else
  46182. + INCLUDE_NEXT=include
  46183. + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include
  46184. + fi
  46185. + fi
  46186. +
  46187. +
  46188. +
  46189. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5
  46190. +$as_echo_n "checking whether system header files limit the line length... " >&6; }
  46191. +if ${gl_cv_pragma_columns+:} false; then :
  46192. + $as_echo_n "(cached) " >&6
  46193. +else
  46194. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46195. +/* end confdefs.h. */
  46196. +
  46197. +#ifdef __TANDEM
  46198. +choke me
  46199. +#endif
  46200. +
  46201. +_ACEOF
  46202. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  46203. + $EGREP "choke me" >/dev/null 2>&1; then :
  46204. + gl_cv_pragma_columns=yes
  46205. +else
  46206. + gl_cv_pragma_columns=no
  46207. +fi
  46208. +rm -f conftest*
  46209. +
  46210. +
  46211. +fi
  46212. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5
  46213. +$as_echo "$gl_cv_pragma_columns" >&6; }
  46214. + if test $gl_cv_pragma_columns = yes; then
  46215. + PRAGMA_COLUMNS="#pragma COLUMNS 10000"
  46216. + else
  46217. + PRAGMA_COLUMNS=
  46218. + fi
  46219. +
  46220. +
  46221. +
  46222. +
  46223. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5
  46224. +$as_echo_n "checking for complete errno.h... " >&6; }
  46225. +if ${gl_cv_header_errno_h_complete+:} false; then :
  46226. + $as_echo_n "(cached) " >&6
  46227. +else
  46228. +
  46229. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46230. +/* end confdefs.h. */
  46231. +
  46232. +#include <errno.h>
  46233. +#if !defined ENOMSG
  46234. +booboo
  46235. +#endif
  46236. +#if !defined EIDRM
  46237. +booboo
  46238. +#endif
  46239. +#if !defined ENOLINK
  46240. +booboo
  46241. +#endif
  46242. +#if !defined EPROTO
  46243. +booboo
  46244. +#endif
  46245. +#if !defined EMULTIHOP
  46246. +booboo
  46247. +#endif
  46248. +#if !defined EBADMSG
  46249. +booboo
  46250. +#endif
  46251. +#if !defined EOVERFLOW
  46252. +booboo
  46253. +#endif
  46254. +#if !defined ENOTSUP
  46255. +booboo
  46256. +#endif
  46257. +#if !defined ESTALE
  46258. +booboo
  46259. +#endif
  46260. +#if !defined EDQUOT
  46261. +booboo
  46262. +#endif
  46263. +#if !defined ECANCELED
  46264. +booboo
  46265. +#endif
  46266. +
  46267. +_ACEOF
  46268. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  46269. + $EGREP "booboo" >/dev/null 2>&1; then :
  46270. + gl_cv_header_errno_h_complete=no
  46271. +else
  46272. + gl_cv_header_errno_h_complete=yes
  46273. +fi
  46274. +rm -f conftest*
  46275. +
  46276. +
  46277. +fi
  46278. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5
  46279. +$as_echo "$gl_cv_header_errno_h_complete" >&6; }
  46280. + if test $gl_cv_header_errno_h_complete = yes; then
  46281. + ERRNO_H=''
  46282. + else
  46283. +
  46284. +
  46285. +
  46286. +
  46287. +
  46288. +
  46289. +
  46290. +
  46291. + if test $gl_cv_have_include_next = yes; then
  46292. + gl_cv_next_errno_h='<'errno.h'>'
  46293. + else
  46294. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <errno.h>" >&5
  46295. +$as_echo_n "checking absolute name of <errno.h>... " >&6; }
  46296. +if ${gl_cv_next_errno_h+:} false; then :
  46297. + $as_echo_n "(cached) " >&6
  46298. +else
  46299. +
  46300. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46301. +/* end confdefs.h. */
  46302. +#include <errno.h>
  46303. +
  46304. +_ACEOF
  46305. + case "$host_os" in
  46306. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  46307. + *) gl_absname_cpp="$ac_cpp" ;;
  46308. + esac
  46309. + gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  46310. + sed -n '\#/errno.h#{
  46311. + s#.*"\(.*/errno.h\)".*#\1#
  46312. + s#^/[^/]#//&#
  46313. + p
  46314. + q
  46315. + }'`'"'
  46316. +
  46317. +
  46318. +fi
  46319. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5
  46320. +$as_echo "$gl_cv_next_errno_h" >&6; }
  46321. + fi
  46322. + NEXT_ERRNO_H=$gl_cv_next_errno_h
  46323. +
  46324. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  46325. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  46326. + gl_next_as_first_directive='<'errno.h'>'
  46327. + else
  46328. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  46329. + gl_next_as_first_directive=$gl_cv_next_errno_h
  46330. + fi
  46331. + NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive
  46332. +
  46333. +
  46334. +
  46335. +
  46336. + ERRNO_H='errno.h'
  46337. + fi
  46338. +
  46339. +
  46340. + if test -n "$ERRNO_H"; then
  46341. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5
  46342. +$as_echo_n "checking for EMULTIHOP value... " >&6; }
  46343. +if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then :
  46344. + $as_echo_n "(cached) " >&6
  46345. +else
  46346. +
  46347. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46348. +/* end confdefs.h. */
  46349. +
  46350. +#include <errno.h>
  46351. +#ifdef EMULTIHOP
  46352. +yes
  46353. +#endif
  46354. +
  46355. +_ACEOF
  46356. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  46357. + $EGREP "yes" >/dev/null 2>&1; then :
  46358. + gl_cv_header_errno_h_EMULTIHOP=yes
  46359. +else
  46360. + gl_cv_header_errno_h_EMULTIHOP=no
  46361. +fi
  46362. +rm -f conftest*
  46363. +
  46364. + if test $gl_cv_header_errno_h_EMULTIHOP = no; then
  46365. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46366. +/* end confdefs.h. */
  46367. +
  46368. +#define _XOPEN_SOURCE_EXTENDED 1
  46369. +#include <errno.h>
  46370. +#ifdef EMULTIHOP
  46371. +yes
  46372. +#endif
  46373. +
  46374. +_ACEOF
  46375. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  46376. + $EGREP "yes" >/dev/null 2>&1; then :
  46377. + gl_cv_header_errno_h_EMULTIHOP=hidden
  46378. +fi
  46379. +rm -f conftest*
  46380. +
  46381. + if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then
  46382. + if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" "
  46383. +#define _XOPEN_SOURCE_EXTENDED 1
  46384. +#include <errno.h>
  46385. +/* The following two lines are a workaround against an autoconf-2.52 bug. */
  46386. +#include <stdio.h>
  46387. +#include <stdlib.h>
  46388. +"; then :
  46389. +
  46390. +fi
  46391. +
  46392. + fi
  46393. + fi
  46394. +
  46395. +fi
  46396. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5
  46397. +$as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; }
  46398. + case $gl_cv_header_errno_h_EMULTIHOP in
  46399. + yes | no)
  46400. + EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE=
  46401. + ;;
  46402. + *)
  46403. + EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP"
  46404. + ;;
  46405. + esac
  46406. +
  46407. +
  46408. + fi
  46409. +
  46410. +
  46411. + if test -n "$ERRNO_H"; then
  46412. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5
  46413. +$as_echo_n "checking for ENOLINK value... " >&6; }
  46414. +if ${gl_cv_header_errno_h_ENOLINK+:} false; then :
  46415. + $as_echo_n "(cached) " >&6
  46416. +else
  46417. +
  46418. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46419. +/* end confdefs.h. */
  46420. +
  46421. +#include <errno.h>
  46422. +#ifdef ENOLINK
  46423. +yes
  46424. +#endif
  46425. +
  46426. +_ACEOF
  46427. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  46428. + $EGREP "yes" >/dev/null 2>&1; then :
  46429. + gl_cv_header_errno_h_ENOLINK=yes
  46430. +else
  46431. + gl_cv_header_errno_h_ENOLINK=no
  46432. +fi
  46433. +rm -f conftest*
  46434. +
  46435. + if test $gl_cv_header_errno_h_ENOLINK = no; then
  46436. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46437. +/* end confdefs.h. */
  46438. +
  46439. +#define _XOPEN_SOURCE_EXTENDED 1
  46440. +#include <errno.h>
  46441. +#ifdef ENOLINK
  46442. +yes
  46443. +#endif
  46444. +
  46445. +_ACEOF
  46446. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  46447. + $EGREP "yes" >/dev/null 2>&1; then :
  46448. + gl_cv_header_errno_h_ENOLINK=hidden
  46449. +fi
  46450. +rm -f conftest*
  46451. +
  46452. + if test $gl_cv_header_errno_h_ENOLINK = hidden; then
  46453. + if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" "
  46454. +#define _XOPEN_SOURCE_EXTENDED 1
  46455. +#include <errno.h>
  46456. +/* The following two lines are a workaround against an autoconf-2.52 bug. */
  46457. +#include <stdio.h>
  46458. +#include <stdlib.h>
  46459. +"; then :
  46460. +
  46461. +fi
  46462. +
  46463. + fi
  46464. + fi
  46465. +
  46466. +fi
  46467. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5
  46468. +$as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; }
  46469. + case $gl_cv_header_errno_h_ENOLINK in
  46470. + yes | no)
  46471. + ENOLINK_HIDDEN=0; ENOLINK_VALUE=
  46472. + ;;
  46473. + *)
  46474. + ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK"
  46475. + ;;
  46476. + esac
  46477. +
  46478. +
  46479. + fi
  46480. +
  46481. +
  46482. + if test -n "$ERRNO_H"; then
  46483. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5
  46484. +$as_echo_n "checking for EOVERFLOW value... " >&6; }
  46485. +if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then :
  46486. + $as_echo_n "(cached) " >&6
  46487. +else
  46488. +
  46489. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46490. +/* end confdefs.h. */
  46491. +
  46492. +#include <errno.h>
  46493. +#ifdef EOVERFLOW
  46494. +yes
  46495. +#endif
  46496. +
  46497. +_ACEOF
  46498. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  46499. + $EGREP "yes" >/dev/null 2>&1; then :
  46500. + gl_cv_header_errno_h_EOVERFLOW=yes
  46501. +else
  46502. + gl_cv_header_errno_h_EOVERFLOW=no
  46503. +fi
  46504. +rm -f conftest*
  46505. +
  46506. + if test $gl_cv_header_errno_h_EOVERFLOW = no; then
  46507. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46508. +/* end confdefs.h. */
  46509. +
  46510. +#define _XOPEN_SOURCE_EXTENDED 1
  46511. +#include <errno.h>
  46512. +#ifdef EOVERFLOW
  46513. +yes
  46514. +#endif
  46515. +
  46516. +_ACEOF
  46517. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  46518. + $EGREP "yes" >/dev/null 2>&1; then :
  46519. + gl_cv_header_errno_h_EOVERFLOW=hidden
  46520. +fi
  46521. +rm -f conftest*
  46522. +
  46523. + if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then
  46524. + if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" "
  46525. +#define _XOPEN_SOURCE_EXTENDED 1
  46526. +#include <errno.h>
  46527. +/* The following two lines are a workaround against an autoconf-2.52 bug. */
  46528. +#include <stdio.h>
  46529. +#include <stdlib.h>
  46530. +"; then :
  46531. +
  46532. +fi
  46533. +
  46534. + fi
  46535. + fi
  46536. +
  46537. +fi
  46538. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5
  46539. +$as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; }
  46540. + case $gl_cv_header_errno_h_EOVERFLOW in
  46541. + yes | no)
  46542. + EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE=
  46543. + ;;
  46544. + *)
  46545. + EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW"
  46546. + ;;
  46547. + esac
  46548. +
  46549. +
  46550. + fi
  46551. +
  46552. +
  46553. +ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
  46554. +if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
  46555. + ac_have_decl=1
  46556. +else
  46557. + ac_have_decl=0
  46558. +fi
  46559. +
  46560. +cat >>confdefs.h <<_ACEOF
  46561. +@%:@define HAVE_DECL_STRERROR_R $ac_have_decl
  46562. +_ACEOF
  46563. +
  46564. +for ac_func in strerror_r
  46565. +do :
  46566. + ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
  46567. +if test "x$ac_cv_func_strerror_r" = xyes; then :
  46568. + cat >>confdefs.h <<_ACEOF
  46569. +@%:@define HAVE_STRERROR_R 1
  46570. +_ACEOF
  46571. +
  46572. +fi
  46573. +done
  46574. +
  46575. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
  46576. +$as_echo_n "checking whether strerror_r returns char *... " >&6; }
  46577. +if ${ac_cv_func_strerror_r_char_p+:} false; then :
  46578. + $as_echo_n "(cached) " >&6
  46579. +else
  46580. +
  46581. + ac_cv_func_strerror_r_char_p=no
  46582. + if test $ac_cv_have_decl_strerror_r = yes; then
  46583. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46584. +/* end confdefs.h. */
  46585. +$ac_includes_default
  46586. +int
  46587. +main ()
  46588. +{
  46589. +
  46590. + char buf[100];
  46591. + char x = *strerror_r (0, buf, sizeof buf);
  46592. + char *p = strerror_r (0, buf, sizeof buf);
  46593. + return !p || x;
  46594. +
  46595. + ;
  46596. + return 0;
  46597. +}
  46598. +_ACEOF
  46599. +if ac_fn_c_try_compile "$LINENO"; then :
  46600. + ac_cv_func_strerror_r_char_p=yes
  46601. +fi
  46602. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  46603. + else
  46604. + # strerror_r is not declared. Choose between
  46605. + # systems that have relatively inaccessible declarations for the
  46606. + # function. BeOS and DEC UNIX 4.0 fall in this category, but the
  46607. + # former has a strerror_r that returns char*, while the latter
  46608. + # has a strerror_r that returns `int'.
  46609. + # This test should segfault on the DEC system.
  46610. + if test "$cross_compiling" = yes; then :
  46611. + :
  46612. +else
  46613. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46614. +/* end confdefs.h. */
  46615. +$ac_includes_default
  46616. + extern char *strerror_r ();
  46617. +int
  46618. +main ()
  46619. +{
  46620. +char buf[100];
  46621. + char x = *strerror_r (0, buf, sizeof buf);
  46622. + return ! isalpha (x);
  46623. + ;
  46624. + return 0;
  46625. +}
  46626. +_ACEOF
  46627. +if ac_fn_c_try_run "$LINENO"; then :
  46628. + ac_cv_func_strerror_r_char_p=yes
  46629. +fi
  46630. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  46631. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  46632. +fi
  46633. +
  46634. + fi
  46635. +
  46636. +fi
  46637. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
  46638. +$as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
  46639. +if test $ac_cv_func_strerror_r_char_p = yes; then
  46640. +
  46641. +$as_echo "@%:@define STRERROR_R_CHAR_P 1" >>confdefs.h
  46642. +
  46643. +fi
  46644. +
  46645. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  46646. +$as_echo_n "checking for inline... " >&6; }
  46647. +if ${ac_cv_c_inline+:} false; then :
  46648. + $as_echo_n "(cached) " >&6
  46649. +else
  46650. + ac_cv_c_inline=no
  46651. +for ac_kw in inline __inline__ __inline; do
  46652. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46653. +/* end confdefs.h. */
  46654. +#ifndef __cplusplus
  46655. +typedef int foo_t;
  46656. +static $ac_kw foo_t static_foo () {return 0; }
  46657. +$ac_kw foo_t foo () {return 0; }
  46658. +#endif
  46659. +
  46660. +_ACEOF
  46661. +if ac_fn_c_try_compile "$LINENO"; then :
  46662. + ac_cv_c_inline=$ac_kw
  46663. +fi
  46664. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  46665. + test "$ac_cv_c_inline" != no && break
  46666. +done
  46667. +
  46668. +fi
  46669. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  46670. +$as_echo "$ac_cv_c_inline" >&6; }
  46671. +
  46672. +case $ac_cv_c_inline in
  46673. + inline | yes) ;;
  46674. + *)
  46675. + case $ac_cv_c_inline in
  46676. + no) ac_val=;;
  46677. + *) ac_val=$ac_cv_c_inline;;
  46678. + esac
  46679. + cat >>confdefs.h <<_ACEOF
  46680. +#ifndef __cplusplus
  46681. +#define inline $ac_val
  46682. +#endif
  46683. +_ACEOF
  46684. + ;;
  46685. +esac
  46686. +
  46687. +
  46688. + XGETTEXT_EXTRA_OPTIONS=
  46689. +
  46690. +ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
  46691. +if test "x$ac_cv_type_mode_t" = xyes; then :
  46692. +
  46693. +else
  46694. +
  46695. +cat >>confdefs.h <<_ACEOF
  46696. +@%:@define mode_t int
  46697. +_ACEOF
  46698. +
  46699. +fi
  46700. +
  46701. +
  46702. + ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include <signal.h>
  46703. +"
  46704. +if test "x$ac_cv_type_sig_atomic_t" = xyes; then :
  46705. +
  46706. +cat >>confdefs.h <<_ACEOF
  46707. +@%:@define HAVE_SIG_ATOMIC_T 1
  46708. +_ACEOF
  46709. +
  46710. +
  46711. +else
  46712. +
  46713. +$as_echo "@%:@define sig_atomic_t int" >>confdefs.h
  46714. +
  46715. +fi
  46716. +
  46717. +
  46718. +
  46719. + GNULIB_DPRINTF=0;
  46720. + GNULIB_FCLOSE=0;
  46721. + GNULIB_FFLUSH=0;
  46722. + GNULIB_FOPEN=0;
  46723. + GNULIB_FPRINTF=0;
  46724. + GNULIB_FPRINTF_POSIX=0;
  46725. + GNULIB_FPURGE=0;
  46726. + GNULIB_FPUTC=0;
  46727. + GNULIB_FPUTS=0;
  46728. + GNULIB_FREOPEN=0;
  46729. + GNULIB_FSEEK=0;
  46730. + GNULIB_FSEEKO=0;
  46731. + GNULIB_FTELL=0;
  46732. + GNULIB_FTELLO=0;
  46733. + GNULIB_FWRITE=0;
  46734. + GNULIB_GETDELIM=0;
  46735. + GNULIB_GETLINE=0;
  46736. + GNULIB_OBSTACK_PRINTF=0;
  46737. + GNULIB_OBSTACK_PRINTF_POSIX=0;
  46738. + GNULIB_PERROR=0;
  46739. + GNULIB_POPEN=0;
  46740. + GNULIB_PRINTF=0;
  46741. + GNULIB_PRINTF_POSIX=0;
  46742. + GNULIB_PUTC=0;
  46743. + GNULIB_PUTCHAR=0;
  46744. + GNULIB_PUTS=0;
  46745. + GNULIB_REMOVE=0;
  46746. + GNULIB_RENAME=0;
  46747. + GNULIB_RENAMEAT=0;
  46748. + GNULIB_SNPRINTF=0;
  46749. + GNULIB_SPRINTF_POSIX=0;
  46750. + GNULIB_STDIO_H_SIGPIPE=0;
  46751. + GNULIB_TMPFILE=0;
  46752. + GNULIB_VASPRINTF=0;
  46753. + GNULIB_VDPRINTF=0;
  46754. + GNULIB_VFPRINTF=0;
  46755. + GNULIB_VFPRINTF_POSIX=0;
  46756. + GNULIB_VPRINTF=0;
  46757. + GNULIB_VPRINTF_POSIX=0;
  46758. + GNULIB_VSNPRINTF=0;
  46759. + GNULIB_VSPRINTF_POSIX=0;
  46760. + HAVE_DECL_FPURGE=1;
  46761. + HAVE_DECL_FSEEKO=1;
  46762. + HAVE_DECL_FTELLO=1;
  46763. + HAVE_DECL_GETDELIM=1;
  46764. + HAVE_DECL_GETLINE=1;
  46765. + HAVE_DECL_OBSTACK_PRINTF=1;
  46766. + HAVE_DECL_SNPRINTF=1;
  46767. + HAVE_DECL_VSNPRINTF=1;
  46768. + HAVE_DPRINTF=1;
  46769. + HAVE_FSEEKO=1;
  46770. + HAVE_FTELLO=1;
  46771. + HAVE_RENAMEAT=1;
  46772. + HAVE_VASPRINTF=1;
  46773. + HAVE_VDPRINTF=1;
  46774. + REPLACE_DPRINTF=0;
  46775. + REPLACE_FCLOSE=0;
  46776. + REPLACE_FFLUSH=0;
  46777. + REPLACE_FOPEN=0;
  46778. + REPLACE_FPRINTF=0;
  46779. + REPLACE_FPURGE=0;
  46780. + REPLACE_FREOPEN=0;
  46781. + REPLACE_FSEEK=0;
  46782. + REPLACE_FSEEKO=0;
  46783. + REPLACE_FTELL=0;
  46784. + REPLACE_FTELLO=0;
  46785. + REPLACE_GETDELIM=0;
  46786. + REPLACE_GETLINE=0;
  46787. + REPLACE_OBSTACK_PRINTF=0;
  46788. + REPLACE_PERROR=0;
  46789. + REPLACE_POPEN=0;
  46790. + REPLACE_PRINTF=0;
  46791. + REPLACE_REMOVE=0;
  46792. + REPLACE_RENAME=0;
  46793. + REPLACE_RENAMEAT=0;
  46794. + REPLACE_SNPRINTF=0;
  46795. + REPLACE_SPRINTF=0;
  46796. + REPLACE_STDIO_WRITE_FUNCS=0;
  46797. + REPLACE_TMPFILE=0;
  46798. + REPLACE_VASPRINTF=0;
  46799. + REPLACE_VDPRINTF=0;
  46800. + REPLACE_VFPRINTF=0;
  46801. + REPLACE_VPRINTF=0;
  46802. + REPLACE_VSNPRINTF=0;
  46803. + REPLACE_VSPRINTF=0;
  46804. +
  46805. +
  46806. + GNULIB_FCNTL=0;
  46807. + GNULIB_OPEN=0;
  46808. + GNULIB_OPENAT=0;
  46809. + HAVE_FCNTL=1;
  46810. + HAVE_OPENAT=1;
  46811. + REPLACE_FCNTL=0;
  46812. + REPLACE_OPEN=0;
  46813. + REPLACE_OPENAT=0;
  46814. +
  46815. +
  46816. +
  46817. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5
  46818. +$as_echo_n "checking for working fcntl.h... " >&6; }
  46819. +if ${gl_cv_header_working_fcntl_h+:} false; then :
  46820. + $as_echo_n "(cached) " >&6
  46821. +else
  46822. + if test "$cross_compiling" = yes; then :
  46823. + gl_cv_header_working_fcntl_h=cross-compiling
  46824. +else
  46825. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46826. +/* end confdefs.h. */
  46827. +#include <sys/types.h>
  46828. + #include <sys/stat.h>
  46829. + #include <unistd.h>
  46830. + #include <fcntl.h>
  46831. + #ifndef O_NOATIME
  46832. + #define O_NOATIME 0
  46833. + #endif
  46834. + #ifndef O_NOFOLLOW
  46835. + #define O_NOFOLLOW 0
  46836. + #endif
  46837. + static int const constants[] =
  46838. + {
  46839. + O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
  46840. + O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
  46841. + };
  46842. +
  46843. +int
  46844. +main ()
  46845. +{
  46846. +
  46847. + int result = !constants;
  46848. + {
  46849. + static char const sym[] = "conftest.sym";
  46850. + if (symlink (".", sym) != 0)
  46851. + result |= 2;
  46852. + else
  46853. + {
  46854. + int fd = open (sym, O_RDONLY | O_NOFOLLOW);
  46855. + if (fd >= 0)
  46856. + {
  46857. + close (fd);
  46858. + result |= 4;
  46859. + }
  46860. + }
  46861. + unlink (sym);
  46862. + }
  46863. + {
  46864. + static char const file[] = "confdefs.h";
  46865. + int fd = open (file, O_RDONLY | O_NOATIME);
  46866. + if (fd < 0)
  46867. + result |= 8;
  46868. + else
  46869. + {
  46870. + struct stat st0;
  46871. + if (fstat (fd, &st0) != 0)
  46872. + result |= 16;
  46873. + else
  46874. + {
  46875. + char c;
  46876. + sleep (1);
  46877. + if (read (fd, &c, 1) != 1)
  46878. + result |= 24;
  46879. + else
  46880. + {
  46881. + if (close (fd) != 0)
  46882. + result |= 32;
  46883. + else
  46884. + {
  46885. + struct stat st1;
  46886. + if (stat (file, &st1) != 0)
  46887. + result |= 40;
  46888. + else
  46889. + if (st0.st_atime != st1.st_atime)
  46890. + result |= 64;
  46891. + }
  46892. + }
  46893. + }
  46894. + }
  46895. + }
  46896. + return result;
  46897. + ;
  46898. + return 0;
  46899. +}
  46900. +_ACEOF
  46901. +if ac_fn_c_try_run "$LINENO"; then :
  46902. + gl_cv_header_working_fcntl_h=yes
  46903. +else
  46904. + case $? in #(
  46905. + 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #(
  46906. + 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #(
  46907. + 68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #(
  46908. + *) gl_cv_header_working_fcntl_h='no';;
  46909. + esac
  46910. +fi
  46911. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  46912. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  46913. +fi
  46914. +
  46915. +fi
  46916. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5
  46917. +$as_echo "$gl_cv_header_working_fcntl_h" >&6; }
  46918. +
  46919. + case $gl_cv_header_working_fcntl_h in #(
  46920. + *O_NOATIME* | no | cross-compiling) ac_val=0;; #(
  46921. + *) ac_val=1;;
  46922. + esac
  46923. +
  46924. +cat >>confdefs.h <<_ACEOF
  46925. +@%:@define HAVE_WORKING_O_NOATIME $ac_val
  46926. +_ACEOF
  46927. +
  46928. +
  46929. + case $gl_cv_header_working_fcntl_h in #(
  46930. + *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #(
  46931. + *) ac_val=1;;
  46932. + esac
  46933. +
  46934. +cat >>confdefs.h <<_ACEOF
  46935. +@%:@define HAVE_WORKING_O_NOFOLLOW $ac_val
  46936. +_ACEOF
  46937. +
  46938. +
  46939. +
  46940. +
  46941. +
  46942. +
  46943. +
  46944. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5
  46945. +$as_echo_n "checking for fseeko... " >&6; }
  46946. +if ${gl_cv_func_fseeko+:} false; then :
  46947. + $as_echo_n "(cached) " >&6
  46948. +else
  46949. +
  46950. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46951. +/* end confdefs.h. */
  46952. +#include <stdio.h>
  46953. +
  46954. +int
  46955. +main ()
  46956. +{
  46957. +fseeko (stdin, 0, 0);
  46958. + ;
  46959. + return 0;
  46960. +}
  46961. +_ACEOF
  46962. +if ac_fn_c_try_link "$LINENO"; then :
  46963. + gl_cv_func_fseeko=yes
  46964. +else
  46965. + gl_cv_func_fseeko=no
  46966. +fi
  46967. +rm -f core conftest.err conftest.$ac_objext \
  46968. + conftest$ac_exeext conftest.$ac_ext
  46969. +
  46970. +fi
  46971. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fseeko" >&5
  46972. +$as_echo "$gl_cv_func_fseeko" >&6; }
  46973. +
  46974. +
  46975. +
  46976. +
  46977. +
  46978. +
  46979. +
  46980. +
  46981. +
  46982. +
  46983. +
  46984. +
  46985. + M4_LIBOBJS="$M4_LIBOBJS filenamecat-lgpl.$ac_objext"
  46986. +
  46987. +
  46988. +
  46989. +
  46990. +
  46991. +
  46992. +
  46993. +
  46994. +
  46995. +
  46996. +
  46997. +
  46998. +
  46999. +
  47000. +
  47001. + GNULIB_ACOSL=0;
  47002. + GNULIB_ASINL=0;
  47003. + GNULIB_ATANL=0;
  47004. + GNULIB_CEIL=0;
  47005. + GNULIB_CEILF=0;
  47006. + GNULIB_CEILL=0;
  47007. + GNULIB_COSL=0;
  47008. + GNULIB_EXPL=0;
  47009. + GNULIB_FLOOR=0;
  47010. + GNULIB_FLOORF=0;
  47011. + GNULIB_FLOORL=0;
  47012. + GNULIB_FREXP=0;
  47013. + GNULIB_FREXPL=0;
  47014. + GNULIB_ISFINITE=0;
  47015. + GNULIB_ISINF=0;
  47016. + GNULIB_ISNAN=0;
  47017. + GNULIB_ISNANF=0;
  47018. + GNULIB_ISNAND=0;
  47019. + GNULIB_ISNANL=0;
  47020. + GNULIB_LDEXPL=0;
  47021. + GNULIB_LOGB=0;
  47022. + GNULIB_LOGL=0;
  47023. + GNULIB_ROUND=0;
  47024. + GNULIB_ROUNDF=0;
  47025. + GNULIB_ROUNDL=0;
  47026. + GNULIB_SIGNBIT=0;
  47027. + GNULIB_SINL=0;
  47028. + GNULIB_SQRTL=0;
  47029. + GNULIB_TANL=0;
  47030. + GNULIB_TRUNC=0;
  47031. + GNULIB_TRUNCF=0;
  47032. + GNULIB_TRUNCL=0;
  47033. + HAVE_ACOSL=1;
  47034. + HAVE_ASINL=1;
  47035. + HAVE_ATANL=1;
  47036. + HAVE_COSL=1;
  47037. + HAVE_EXPL=1;
  47038. + HAVE_ISNANF=1;
  47039. + HAVE_ISNAND=1;
  47040. + HAVE_ISNANL=1;
  47041. + HAVE_LOGL=1;
  47042. + HAVE_SINL=1;
  47043. + HAVE_SQRTL=1;
  47044. + HAVE_TANL=1;
  47045. + HAVE_DECL_ACOSL=1;
  47046. + HAVE_DECL_ASINL=1;
  47047. + HAVE_DECL_ATANL=1;
  47048. + HAVE_DECL_CEILF=1;
  47049. + HAVE_DECL_CEILL=1;
  47050. + HAVE_DECL_COSL=1;
  47051. + HAVE_DECL_EXPL=1;
  47052. + HAVE_DECL_FLOORF=1;
  47053. + HAVE_DECL_FLOORL=1;
  47054. + HAVE_DECL_FREXPL=1;
  47055. + HAVE_DECL_LDEXPL=1;
  47056. + HAVE_DECL_LOGB=1;
  47057. + HAVE_DECL_LOGL=1;
  47058. + HAVE_DECL_ROUND=1;
  47059. + HAVE_DECL_ROUNDF=1;
  47060. + HAVE_DECL_ROUNDL=1;
  47061. + HAVE_DECL_SINL=1;
  47062. + HAVE_DECL_SQRTL=1;
  47063. + HAVE_DECL_TANL=1;
  47064. + HAVE_DECL_TRUNC=1;
  47065. + HAVE_DECL_TRUNCF=1;
  47066. + HAVE_DECL_TRUNCL=1;
  47067. + REPLACE_CEIL=0;
  47068. + REPLACE_CEILF=0;
  47069. + REPLACE_CEILL=0;
  47070. + REPLACE_FLOOR=0;
  47071. + REPLACE_FLOORF=0;
  47072. + REPLACE_FLOORL=0;
  47073. + REPLACE_FREXP=0;
  47074. + REPLACE_FREXPL=0;
  47075. + REPLACE_HUGE_VAL=0;
  47076. + REPLACE_ISFINITE=0;
  47077. + REPLACE_ISINF=0;
  47078. + REPLACE_ISNAN=0;
  47079. + REPLACE_LDEXPL=0;
  47080. + REPLACE_NAN=0;
  47081. + REPLACE_ROUND=0;
  47082. + REPLACE_ROUNDF=0;
  47083. + REPLACE_ROUNDL=0;
  47084. + REPLACE_SIGNBIT=0;
  47085. + REPLACE_SIGNBIT_USING_GCC=0;
  47086. + REPLACE_TRUNC=0;
  47087. + REPLACE_TRUNCF=0;
  47088. + REPLACE_TRUNCL=0;
  47089. +
  47090. +
  47091. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp() can be used without linking with libm" >&5
  47092. +$as_echo_n "checking whether frexp() can be used without linking with libm... " >&6; }
  47093. +if ${gl_cv_func_frexp_no_libm+:} false; then :
  47094. + $as_echo_n "(cached) " >&6
  47095. +else
  47096. +
  47097. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47098. +/* end confdefs.h. */
  47099. +#include <math.h>
  47100. + double x;
  47101. +int
  47102. +main ()
  47103. +{
  47104. +int e; return frexp (x, &e) > 0;
  47105. + ;
  47106. + return 0;
  47107. +}
  47108. +_ACEOF
  47109. +if ac_fn_c_try_link "$LINENO"; then :
  47110. + gl_cv_func_frexp_no_libm=yes
  47111. +else
  47112. + gl_cv_func_frexp_no_libm=no
  47113. +fi
  47114. +rm -f core conftest.err conftest.$ac_objext \
  47115. + conftest$ac_exeext conftest.$ac_ext
  47116. +
  47117. +fi
  47118. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_no_libm" >&5
  47119. +$as_echo "$gl_cv_func_frexp_no_libm" >&6; }
  47120. +
  47121. +
  47122. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdin defaults to large file offsets" >&5
  47123. +$as_echo_n "checking whether stdin defaults to large file offsets... " >&6; }
  47124. +if ${gl_cv_var_stdin_large_offset+:} false; then :
  47125. + $as_echo_n "(cached) " >&6
  47126. +else
  47127. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47128. +/* end confdefs.h. */
  47129. +#include <stdio.h>
  47130. +int
  47131. +main ()
  47132. +{
  47133. +#if defined __SL64 && defined __SCLE /* cygwin */
  47134. + /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making
  47135. + fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and
  47136. + it is easier to do a version check than building a runtime test. */
  47137. +# include <cygwin/version.h>
  47138. +# if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25)
  47139. + choke me
  47140. +# endif
  47141. +#endif
  47142. + ;
  47143. + return 0;
  47144. +}
  47145. +_ACEOF
  47146. +if ac_fn_c_try_link "$LINENO"; then :
  47147. + gl_cv_var_stdin_large_offset=yes
  47148. +else
  47149. + gl_cv_var_stdin_large_offset=no
  47150. +fi
  47151. +rm -f core conftest.err conftest.$ac_objext \
  47152. + conftest$ac_exeext conftest.$ac_ext
  47153. +fi
  47154. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_var_stdin_large_offset" >&5
  47155. +$as_echo "$gl_cv_var_stdin_large_offset" >&6; }
  47156. +
  47157. +ac_fn_c_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default"
  47158. +if test "x$ac_cv_have_decl_fseeko" = xyes; then :
  47159. + ac_have_decl=1
  47160. +else
  47161. + ac_have_decl=0
  47162. +fi
  47163. +
  47164. +cat >>confdefs.h <<_ACEOF
  47165. +@%:@define HAVE_DECL_FSEEKO $ac_have_decl
  47166. +_ACEOF
  47167. +
  47168. +ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default"
  47169. +if test "x$ac_cv_have_decl_ftello" = xyes; then :
  47170. + ac_have_decl=1
  47171. +else
  47172. + ac_have_decl=0
  47173. +fi
  47174. +
  47175. +cat >>confdefs.h <<_ACEOF
  47176. +@%:@define HAVE_DECL_FTELLO $ac_have_decl
  47177. +_ACEOF
  47178. +
  47179. +
  47180. +
  47181. +
  47182. +
  47183. +
  47184. +
  47185. +
  47186. +
  47187. +
  47188. +
  47189. +
  47190. +
  47191. +
  47192. +
  47193. +
  47194. +
  47195. +
  47196. + if test $gl_cv_have_include_next = yes; then
  47197. + gl_cv_next_getopt_h='<'getopt.h'>'
  47198. + else
  47199. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <getopt.h>" >&5
  47200. +$as_echo_n "checking absolute name of <getopt.h>... " >&6; }
  47201. +if ${gl_cv_next_getopt_h+:} false; then :
  47202. + $as_echo_n "(cached) " >&6
  47203. +else
  47204. +
  47205. + if test $ac_cv_header_getopt_h = yes; then
  47206. +
  47207. +
  47208. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47209. +/* end confdefs.h. */
  47210. +#include <getopt.h>
  47211. +
  47212. +_ACEOF
  47213. + case "$host_os" in
  47214. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  47215. + *) gl_absname_cpp="$ac_cpp" ;;
  47216. + esac
  47217. + gl_cv_next_getopt_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  47218. + sed -n '\#/getopt.h#{
  47219. + s#.*"\(.*/getopt.h\)".*#\1#
  47220. + s#^/[^/]#//&#
  47221. + p
  47222. + q
  47223. + }'`'"'
  47224. + else
  47225. + gl_cv_next_getopt_h='<'getopt.h'>'
  47226. + fi
  47227. +
  47228. +
  47229. +fi
  47230. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_getopt_h" >&5
  47231. +$as_echo "$gl_cv_next_getopt_h" >&6; }
  47232. + fi
  47233. + NEXT_GETOPT_H=$gl_cv_next_getopt_h
  47234. +
  47235. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  47236. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  47237. + gl_next_as_first_directive='<'getopt.h'>'
  47238. + else
  47239. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  47240. + gl_next_as_first_directive=$gl_cv_next_getopt_h
  47241. + fi
  47242. + NEXT_AS_FIRST_DIRECTIVE_GETOPT_H=$gl_next_as_first_directive
  47243. +
  47244. +
  47245. +
  47246. +
  47247. + if test $ac_cv_header_getopt_h = yes; then
  47248. + HAVE_GETOPT_H=1
  47249. + else
  47250. + HAVE_GETOPT_H=0
  47251. + fi
  47252. +
  47253. +
  47254. + gl_replace_getopt=
  47255. +
  47256. + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
  47257. + for ac_header in getopt.h
  47258. +do :
  47259. + ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
  47260. +if test "x$ac_cv_header_getopt_h" = xyes; then :
  47261. + cat >>confdefs.h <<_ACEOF
  47262. +@%:@define HAVE_GETOPT_H 1
  47263. +_ACEOF
  47264. +
  47265. +else
  47266. + gl_replace_getopt=yes
  47267. +fi
  47268. +
  47269. +done
  47270. +
  47271. + fi
  47272. +
  47273. + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
  47274. + for ac_func in getopt_long_only
  47275. +do :
  47276. + ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only"
  47277. +if test "x$ac_cv_func_getopt_long_only" = xyes; then :
  47278. + cat >>confdefs.h <<_ACEOF
  47279. +@%:@define HAVE_GETOPT_LONG_ONLY 1
  47280. +_ACEOF
  47281. +
  47282. +else
  47283. + gl_replace_getopt=yes
  47284. +fi
  47285. +done
  47286. +
  47287. + fi
  47288. +
  47289. + if test -z "$gl_replace_getopt"; then
  47290. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5
  47291. +$as_echo_n "checking whether getopt is POSIX compatible... " >&6; }
  47292. +if ${gl_cv_func_getopt_posix+:} false; then :
  47293. + $as_echo_n "(cached) " >&6
  47294. +else
  47295. +
  47296. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47297. +/* end confdefs.h. */
  47298. +#include <unistd.h>
  47299. +int
  47300. +main ()
  47301. +{
  47302. +int *p = &optreset; return optreset;
  47303. + ;
  47304. + return 0;
  47305. +}
  47306. +_ACEOF
  47307. +if ac_fn_c_try_compile "$LINENO"; then :
  47308. + gl_optind_min=1
  47309. +else
  47310. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47311. +/* end confdefs.h. */
  47312. +#include <getopt.h>
  47313. +int
  47314. +main ()
  47315. +{
  47316. +return !getopt_clip;
  47317. + ;
  47318. + return 0;
  47319. +}
  47320. +_ACEOF
  47321. +if ac_fn_c_try_compile "$LINENO"; then :
  47322. + gl_optind_min=1
  47323. +else
  47324. + gl_optind_min=0
  47325. +fi
  47326. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  47327. +fi
  47328. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  47329. +
  47330. + gl_save_CPPFLAGS=$CPPFLAGS
  47331. + CPPFLAGS="$CPPFLAGS -DOPTIND_MIN=$gl_optind_min"
  47332. + if test "$cross_compiling" = yes; then :
  47333. + case "$host_os" in
  47334. + mingw*) gl_cv_func_getopt_posix="guessing no";;
  47335. + darwin* | aix*) gl_cv_func_getopt_posix="guessing no";;
  47336. + *) gl_cv_func_getopt_posix="guessing yes";;
  47337. + esac
  47338. +
  47339. +else
  47340. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47341. +/* end confdefs.h. */
  47342. +
  47343. +#include <unistd.h>
  47344. +#include <stdlib.h>
  47345. +#include <string.h>
  47346. +
  47347. +int
  47348. +main ()
  47349. +{
  47350. + {
  47351. + int argc = 0;
  47352. + char *argv[10];
  47353. + int c;
  47354. +
  47355. + argv[argc++] = "program";
  47356. + argv[argc++] = "-a";
  47357. + argv[argc++] = "foo";
  47358. + argv[argc++] = "bar";
  47359. + argv[argc] = NULL;
  47360. + optind = OPTIND_MIN;
  47361. + opterr = 0;
  47362. +
  47363. + c = getopt (argc, argv, "ab");
  47364. + if (!(c == 'a'))
  47365. + return 1;
  47366. + c = getopt (argc, argv, "ab");
  47367. + if (!(c == -1))
  47368. + return 2;
  47369. + if (!(optind == 2))
  47370. + return 3;
  47371. + }
  47372. + /* Some internal state exists at this point. */
  47373. + {
  47374. + int argc = 0;
  47375. + char *argv[10];
  47376. + int c;
  47377. +
  47378. + argv[argc++] = "program";
  47379. + argv[argc++] = "donald";
  47380. + argv[argc++] = "-p";
  47381. + argv[argc++] = "billy";
  47382. + argv[argc++] = "duck";
  47383. + argv[argc++] = "-a";
  47384. + argv[argc++] = "bar";
  47385. + argv[argc] = NULL;
  47386. + optind = OPTIND_MIN;
  47387. + opterr = 0;
  47388. +
  47389. + c = getopt (argc, argv, "+abp:q:");
  47390. + if (!(c == -1))
  47391. + return 4;
  47392. + if (!(strcmp (argv[0], "program") == 0))
  47393. + return 5;
  47394. + if (!(strcmp (argv[1], "donald") == 0))
  47395. + return 6;
  47396. + if (!(strcmp (argv[2], "-p") == 0))
  47397. + return 7;
  47398. + if (!(strcmp (argv[3], "billy") == 0))
  47399. + return 8;
  47400. + if (!(strcmp (argv[4], "duck") == 0))
  47401. + return 9;
  47402. + if (!(strcmp (argv[5], "-a") == 0))
  47403. + return 10;
  47404. + if (!(strcmp (argv[6], "bar") == 0))
  47405. + return 11;
  47406. + if (!(optind == 1))
  47407. + return 12;
  47408. + }
  47409. + /* Detect MacOS 10.5, AIX 7.1 bug. */
  47410. + {
  47411. + char *argv[3] = { "program", "-ab", NULL };
  47412. + optind = OPTIND_MIN;
  47413. + opterr = 0;
  47414. + if (getopt (2, argv, "ab:") != 'a')
  47415. + return 13;
  47416. + if (getopt (2, argv, "ab:") != '?')
  47417. + return 14;
  47418. + if (optopt != 'b')
  47419. + return 15;
  47420. + if (optind != 2)
  47421. + return 16;
  47422. + }
  47423. +
  47424. + return 0;
  47425. +}
  47426. +
  47427. +_ACEOF
  47428. +if ac_fn_c_try_run "$LINENO"; then :
  47429. + gl_cv_func_getopt_posix=yes
  47430. +else
  47431. + gl_cv_func_getopt_posix=no
  47432. +fi
  47433. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  47434. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  47435. +fi
  47436. +
  47437. + CPPFLAGS=$gl_save_CPPFLAGS
  47438. +
  47439. +fi
  47440. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5
  47441. +$as_echo "$gl_cv_func_getopt_posix" >&6; }
  47442. + case "$gl_cv_func_getopt_posix" in
  47443. + *no) gl_replace_getopt=yes ;;
  47444. + esac
  47445. + fi
  47446. +
  47447. + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
  47448. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5
  47449. +$as_echo_n "checking for working GNU getopt function... " >&6; }
  47450. +if ${gl_cv_func_getopt_gnu+:} false; then :
  47451. + $as_echo_n "(cached) " >&6
  47452. +else
  47453. + # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the
  47454. + # optstring is necessary for programs like m4 that have POSIX-mandated
  47455. + # semantics for supporting options interspersed with files.
  47456. + # Also, since getopt_long is a GNU extension, we require optind=0.
  47457. + # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT;
  47458. + # so take care to revert to the correct (non-)export state.
  47459. + gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }'
  47460. + case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" </dev/null` in
  47461. + xx) gl_had_POSIXLY_CORRECT=exported ;;
  47462. + x) gl_had_POSIXLY_CORRECT=yes ;;
  47463. + *) gl_had_POSIXLY_CORRECT= ;;
  47464. + esac
  47465. + POSIXLY_CORRECT=1
  47466. + export POSIXLY_CORRECT
  47467. + if test "$cross_compiling" = yes; then :
  47468. + case $host_os:$ac_cv_have_decl_optreset in
  47469. + *-gnu*:* | mingw*:*) gl_cv_func_getopt_gnu=no;;
  47470. + *:yes) gl_cv_func_getopt_gnu=no;;
  47471. + *) gl_cv_func_getopt_gnu=yes;;
  47472. + esac
  47473. +
  47474. +else
  47475. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47476. +/* end confdefs.h. */
  47477. +#include <getopt.h>
  47478. + #include <stddef.h>
  47479. + #include <string.h>
  47480. +
  47481. +int
  47482. +main ()
  47483. +{
  47484. +
  47485. + int result = 0;
  47486. + /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw,
  47487. + and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5,
  47488. + OSF/1 5.1, Solaris 10. */
  47489. + {
  47490. + char *myargv[3];
  47491. + myargv[0] = "conftest";
  47492. + myargv[1] = "-+";
  47493. + myargv[2] = 0;
  47494. + opterr = 0;
  47495. + if (getopt (2, myargv, "+a") != '?')
  47496. + result |= 1;
  47497. + }
  47498. + /* This code succeeds on glibc 2.8, mingw,
  47499. + and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11,
  47500. + IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */
  47501. + {
  47502. + char *argv[] = { "program", "-p", "foo", "bar", NULL };
  47503. +
  47504. + optind = 1;
  47505. + if (getopt (4, argv, "p::") != 'p')
  47506. + result |= 2;
  47507. + else if (optarg != NULL)
  47508. + result |= 4;
  47509. + else if (getopt (4, argv, "p::") != -1)
  47510. + result |= 6;
  47511. + else if (optind != 2)
  47512. + result |= 8;
  47513. + }
  47514. + /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */
  47515. + {
  47516. + char *argv[] = { "program", "foo", "-p", NULL };
  47517. + optind = 0;
  47518. + if (getopt (3, argv, "-p") != 1)
  47519. + result |= 16;
  47520. + else if (getopt (3, argv, "-p") != 'p')
  47521. + result |= 32;
  47522. + }
  47523. + /* This code fails on glibc 2.11. */
  47524. + {
  47525. + char *argv[] = { "program", "-b", "-a", NULL };
  47526. + optind = opterr = 0;
  47527. + if (getopt (3, argv, "+:a:b") != 'b')
  47528. + result |= 64;
  47529. + else if (getopt (3, argv, "+:a:b") != ':')
  47530. + result |= 64;
  47531. + }
  47532. + return result;
  47533. +
  47534. + ;
  47535. + return 0;
  47536. +}
  47537. +_ACEOF
  47538. +if ac_fn_c_try_run "$LINENO"; then :
  47539. + gl_cv_func_getopt_gnu=yes
  47540. +else
  47541. + gl_cv_func_getopt_gnu=no
  47542. +fi
  47543. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  47544. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  47545. +fi
  47546. +
  47547. + case $gl_had_POSIXLY_CORRECT in
  47548. + exported) ;;
  47549. + yes) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}; POSIXLY_CORRECT=1 ;;
  47550. + *) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} ;;
  47551. + esac
  47552. +
  47553. +fi
  47554. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_gnu" >&5
  47555. +$as_echo "$gl_cv_func_getopt_gnu" >&6; }
  47556. + if test "$gl_cv_func_getopt_gnu" = "no"; then
  47557. + gl_replace_getopt=yes
  47558. + fi
  47559. + fi
  47560. +
  47561. +ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
  47562. +if test "x$ac_cv_have_decl_getenv" = xyes; then :
  47563. + ac_have_decl=1
  47564. +else
  47565. + ac_have_decl=0
  47566. +fi
  47567. +
  47568. +cat >>confdefs.h <<_ACEOF
  47569. +@%:@define HAVE_DECL_GETENV $ac_have_decl
  47570. +_ACEOF
  47571. +
  47572. +
  47573. +
  47574. +
  47575. +
  47576. +
  47577. + if test -n "$gl_replace_getopt"; then :
  47578. +
  47579. +
  47580. +
  47581. + GETOPT_H=getopt.h
  47582. +
  47583. +$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h
  47584. +
  47585. +
  47586. +
  47587. + GNULIB_UNISTD_H_GETOPT=1
  47588. +
  47589. +
  47590. +
  47591. +
  47592. +
  47593. +
  47594. +
  47595. +
  47596. + M4_LIBOBJS="$M4_LIBOBJS getopt.$ac_objext"
  47597. +
  47598. +
  47599. +
  47600. +
  47601. +
  47602. +
  47603. +
  47604. +
  47605. +
  47606. + M4_LIBOBJS="$M4_LIBOBJS getopt1.$ac_objext"
  47607. +
  47608. +
  47609. +
  47610. +
  47611. +
  47612. +
  47613. +fi
  47614. +
  47615. +
  47616. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
  47617. +$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
  47618. +if ${ac_cv_c_restrict+:} false; then :
  47619. + $as_echo_n "(cached) " >&6
  47620. +else
  47621. + ac_cv_c_restrict=no
  47622. + # The order here caters to the fact that C++ does not require restrict.
  47623. + for ac_kw in __restrict __restrict__ _Restrict restrict; do
  47624. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47625. +/* end confdefs.h. */
  47626. +typedef int * int_ptr;
  47627. + int foo (int_ptr $ac_kw ip) {
  47628. + return ip[0];
  47629. + }
  47630. +int
  47631. +main ()
  47632. +{
  47633. +int s[1];
  47634. + int * $ac_kw t = s;
  47635. + t[0] = 0;
  47636. + return foo(t)
  47637. + ;
  47638. + return 0;
  47639. +}
  47640. +_ACEOF
  47641. +if ac_fn_c_try_compile "$LINENO"; then :
  47642. + ac_cv_c_restrict=$ac_kw
  47643. +fi
  47644. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  47645. + test "$ac_cv_c_restrict" != no && break
  47646. + done
  47647. +
  47648. +fi
  47649. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
  47650. +$as_echo "$ac_cv_c_restrict" >&6; }
  47651. +
  47652. + case $ac_cv_c_restrict in
  47653. + restrict) ;;
  47654. + no) $as_echo "@%:@define restrict /**/" >>confdefs.h
  47655. + ;;
  47656. + *) cat >>confdefs.h <<_ACEOF
  47657. +@%:@define restrict $ac_cv_c_restrict
  47658. +_ACEOF
  47659. + ;;
  47660. + esac
  47661. +
  47662. +
  47663. + GNULIB_GETTIMEOFDAY=0;
  47664. + HAVE_GETTIMEOFDAY=1;
  47665. + HAVE_STRUCT_TIMEVAL=1;
  47666. + HAVE_SYS_TIME_H=1;
  47667. + REPLACE_GETTIMEOFDAY=0;
  47668. +
  47669. +
  47670. +
  47671. +
  47672. +
  47673. +
  47674. +
  47675. +
  47676. +
  47677. +
  47678. +
  47679. +
  47680. +
  47681. +
  47682. +
  47683. +
  47684. + if test $gl_cv_have_include_next = yes; then
  47685. + gl_cv_next_sys_time_h='<'sys/time.h'>'
  47686. + else
  47687. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/time.h>" >&5
  47688. +$as_echo_n "checking absolute name of <sys/time.h>... " >&6; }
  47689. +if ${gl_cv_next_sys_time_h+:} false; then :
  47690. + $as_echo_n "(cached) " >&6
  47691. +else
  47692. +
  47693. + if test $ac_cv_header_sys_time_h = yes; then
  47694. +
  47695. +
  47696. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47697. +/* end confdefs.h. */
  47698. +#include <sys/time.h>
  47699. +
  47700. +_ACEOF
  47701. + case "$host_os" in
  47702. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  47703. + *) gl_absname_cpp="$ac_cpp" ;;
  47704. + esac
  47705. + gl_cv_next_sys_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  47706. + sed -n '\#/sys/time.h#{
  47707. + s#.*"\(.*/sys/time.h\)".*#\1#
  47708. + s#^/[^/]#//&#
  47709. + p
  47710. + q
  47711. + }'`'"'
  47712. + else
  47713. + gl_cv_next_sys_time_h='<'sys/time.h'>'
  47714. + fi
  47715. +
  47716. +
  47717. +fi
  47718. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_time_h" >&5
  47719. +$as_echo "$gl_cv_next_sys_time_h" >&6; }
  47720. + fi
  47721. + NEXT_SYS_TIME_H=$gl_cv_next_sys_time_h
  47722. +
  47723. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  47724. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  47725. + gl_next_as_first_directive='<'sys/time.h'>'
  47726. + else
  47727. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  47728. + gl_next_as_first_directive=$gl_cv_next_sys_time_h
  47729. + fi
  47730. + NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H=$gl_next_as_first_directive
  47731. +
  47732. +
  47733. +
  47734. +
  47735. +
  47736. + if test $ac_cv_header_sys_time_h != yes; then
  47737. + HAVE_SYS_TIME_H=0
  47738. + fi
  47739. +
  47740. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
  47741. +$as_echo_n "checking for struct timeval... " >&6; }
  47742. +if ${gl_cv_sys_struct_timeval+:} false; then :
  47743. + $as_echo_n "(cached) " >&6
  47744. +else
  47745. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47746. +/* end confdefs.h. */
  47747. +#if HAVE_SYS_TIME_H
  47748. + #include <sys/time.h>
  47749. + #endif
  47750. + #include <time.h>
  47751. +
  47752. +int
  47753. +main ()
  47754. +{
  47755. +static struct timeval x; x.tv_sec = x.tv_usec;
  47756. + ;
  47757. + return 0;
  47758. +}
  47759. +_ACEOF
  47760. +if ac_fn_c_try_compile "$LINENO"; then :
  47761. + gl_cv_sys_struct_timeval=yes
  47762. +else
  47763. + gl_cv_sys_struct_timeval=no
  47764. +fi
  47765. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  47766. +fi
  47767. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timeval" >&5
  47768. +$as_echo "$gl_cv_sys_struct_timeval" >&6; }
  47769. + if test $gl_cv_sys_struct_timeval != yes; then
  47770. + HAVE_STRUCT_TIMEVAL=0
  47771. + fi
  47772. +
  47773. +
  47774. +
  47775. +
  47776. +
  47777. +
  47778. +
  47779. +
  47780. +
  47781. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
  47782. +$as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
  47783. +if ${gl_cv_cc_float_expbit0+:} false; then :
  47784. + $as_echo_n "(cached) " >&6
  47785. +else
  47786. +
  47787. + if test "$cross_compiling" = yes; then :
  47788. + gl_cv_cc_float_expbit0="word 0 bit 23"
  47789. +else
  47790. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47791. +/* end confdefs.h. */
  47792. +
  47793. +#include <float.h>
  47794. +#include <stddef.h>
  47795. +#include <stdio.h>
  47796. +#include <string.h>
  47797. +#define NWORDS \
  47798. + ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  47799. +typedef union { float value; unsigned int word[NWORDS]; } memory_float;
  47800. +static unsigned int ored_words[NWORDS];
  47801. +static unsigned int anded_words[NWORDS];
  47802. +static void add_to_ored_words (float x)
  47803. +{
  47804. + memory_float m;
  47805. + size_t i;
  47806. + /* Clear it first, in case
  47807. + sizeof (float) < sizeof (memory_float). */
  47808. + memset (&m, 0, sizeof (memory_float));
  47809. + m.value = x;
  47810. + for (i = 0; i < NWORDS; i++)
  47811. + {
  47812. + ored_words[i] |= m.word[i];
  47813. + anded_words[i] &= m.word[i];
  47814. + }
  47815. +}
  47816. +int main ()
  47817. +{
  47818. + size_t j;
  47819. + FILE *fp = fopen ("conftest.out", "w");
  47820. + if (fp == NULL)
  47821. + return 1;
  47822. + for (j = 0; j < NWORDS; j++)
  47823. + anded_words[j] = ~ (unsigned int) 0;
  47824. + add_to_ored_words (0.25f);
  47825. + add_to_ored_words (0.5f);
  47826. + add_to_ored_words (1.0f);
  47827. + add_to_ored_words (2.0f);
  47828. + add_to_ored_words (4.0f);
  47829. + /* Remove bits that are common (e.g. if representation of the first mantissa
  47830. + bit is explicit). */
  47831. + for (j = 0; j < NWORDS; j++)
  47832. + ored_words[j] &= ~anded_words[j];
  47833. + /* Now find the nonzero word. */
  47834. + for (j = 0; j < NWORDS; j++)
  47835. + if (ored_words[j] != 0)
  47836. + break;
  47837. + if (j < NWORDS)
  47838. + {
  47839. + size_t i;
  47840. + for (i = j + 1; i < NWORDS; i++)
  47841. + if (ored_words[i] != 0)
  47842. + {
  47843. + fprintf (fp, "unknown");
  47844. + return (fclose (fp) != 0);
  47845. + }
  47846. + for (i = 0; ; i++)
  47847. + if ((ored_words[j] >> i) & 1)
  47848. + {
  47849. + fprintf (fp, "word %d bit %d", (int) j, (int) i);
  47850. + return (fclose (fp) != 0);
  47851. + }
  47852. + }
  47853. + fprintf (fp, "unknown");
  47854. + return (fclose (fp) != 0);
  47855. +}
  47856. +
  47857. +_ACEOF
  47858. +if ac_fn_c_try_run "$LINENO"; then :
  47859. + gl_cv_cc_float_expbit0=`cat conftest.out`
  47860. +else
  47861. + gl_cv_cc_float_expbit0="unknown"
  47862. +fi
  47863. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  47864. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  47865. +fi
  47866. +
  47867. + rm -f conftest.out
  47868. +
  47869. +fi
  47870. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5
  47871. +$as_echo "$gl_cv_cc_float_expbit0" >&6; }
  47872. + case "$gl_cv_cc_float_expbit0" in
  47873. + word*bit*)
  47874. + word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
  47875. + bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'`
  47876. +
  47877. +cat >>confdefs.h <<_ACEOF
  47878. +@%:@define FLT_EXPBIT0_WORD $word
  47879. +_ACEOF
  47880. +
  47881. +
  47882. +cat >>confdefs.h <<_ACEOF
  47883. +@%:@define FLT_EXPBIT0_BIT $bit
  47884. +_ACEOF
  47885. +
  47886. + ;;
  47887. + esac
  47888. +
  47889. +
  47890. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  47891. +$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  47892. +if ${ac_cv_c_bigendian+:} false; then :
  47893. + $as_echo_n "(cached) " >&6
  47894. +else
  47895. + ac_cv_c_bigendian=unknown
  47896. + # See if we're dealing with a universal compiler.
  47897. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47898. +/* end confdefs.h. */
  47899. +#ifndef __APPLE_CC__
  47900. + not a universal capable compiler
  47901. + #endif
  47902. + typedef int dummy;
  47903. +
  47904. +_ACEOF
  47905. +if ac_fn_c_try_compile "$LINENO"; then :
  47906. +
  47907. + # Check for potential -arch flags. It is not universal unless
  47908. + # there are at least two -arch flags with different values.
  47909. + ac_arch=
  47910. + ac_prev=
  47911. + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  47912. + if test -n "$ac_prev"; then
  47913. + case $ac_word in
  47914. + i?86 | x86_64 | ppc | ppc64)
  47915. + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  47916. + ac_arch=$ac_word
  47917. + else
  47918. + ac_cv_c_bigendian=universal
  47919. + break
  47920. + fi
  47921. + ;;
  47922. + esac
  47923. + ac_prev=
  47924. + elif test "x$ac_word" = "x-arch"; then
  47925. + ac_prev=arch
  47926. + fi
  47927. + done
  47928. +fi
  47929. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  47930. + if test $ac_cv_c_bigendian = unknown; then
  47931. + # See if sys/param.h defines the BYTE_ORDER macro.
  47932. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47933. +/* end confdefs.h. */
  47934. +#include <sys/types.h>
  47935. + #include <sys/param.h>
  47936. +
  47937. +int
  47938. +main ()
  47939. +{
  47940. +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  47941. + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  47942. + && LITTLE_ENDIAN)
  47943. + bogus endian macros
  47944. + #endif
  47945. +
  47946. + ;
  47947. + return 0;
  47948. +}
  47949. +_ACEOF
  47950. +if ac_fn_c_try_compile "$LINENO"; then :
  47951. + # It does; now see whether it defined to BIG_ENDIAN or not.
  47952. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47953. +/* end confdefs.h. */
  47954. +#include <sys/types.h>
  47955. + #include <sys/param.h>
  47956. +
  47957. +int
  47958. +main ()
  47959. +{
  47960. +#if BYTE_ORDER != BIG_ENDIAN
  47961. + not big endian
  47962. + #endif
  47963. +
  47964. + ;
  47965. + return 0;
  47966. +}
  47967. +_ACEOF
  47968. +if ac_fn_c_try_compile "$LINENO"; then :
  47969. + ac_cv_c_bigendian=yes
  47970. +else
  47971. + ac_cv_c_bigendian=no
  47972. +fi
  47973. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  47974. +fi
  47975. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  47976. + fi
  47977. + if test $ac_cv_c_bigendian = unknown; then
  47978. + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  47979. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47980. +/* end confdefs.h. */
  47981. +#include <limits.h>
  47982. +
  47983. +int
  47984. +main ()
  47985. +{
  47986. +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  47987. + bogus endian macros
  47988. + #endif
  47989. +
  47990. + ;
  47991. + return 0;
  47992. +}
  47993. +_ACEOF
  47994. +if ac_fn_c_try_compile "$LINENO"; then :
  47995. + # It does; now see whether it defined to _BIG_ENDIAN or not.
  47996. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47997. +/* end confdefs.h. */
  47998. +#include <limits.h>
  47999. +
  48000. +int
  48001. +main ()
  48002. +{
  48003. +#ifndef _BIG_ENDIAN
  48004. + not big endian
  48005. + #endif
  48006. +
  48007. + ;
  48008. + return 0;
  48009. +}
  48010. +_ACEOF
  48011. +if ac_fn_c_try_compile "$LINENO"; then :
  48012. + ac_cv_c_bigendian=yes
  48013. +else
  48014. + ac_cv_c_bigendian=no
  48015. +fi
  48016. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  48017. +fi
  48018. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  48019. + fi
  48020. + if test $ac_cv_c_bigendian = unknown; then
  48021. + # Compile a test program.
  48022. + if test "$cross_compiling" = yes; then :
  48023. + # Try to guess by grepping values from an object file.
  48024. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  48025. +/* end confdefs.h. */
  48026. +short int ascii_mm[] =
  48027. + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  48028. + short int ascii_ii[] =
  48029. + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  48030. + int use_ascii (int i) {
  48031. + return ascii_mm[i] + ascii_ii[i];
  48032. + }
  48033. + short int ebcdic_ii[] =
  48034. + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  48035. + short int ebcdic_mm[] =
  48036. + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  48037. + int use_ebcdic (int i) {
  48038. + return ebcdic_mm[i] + ebcdic_ii[i];
  48039. + }
  48040. + extern int foo;
  48041. +
  48042. +int
  48043. +main ()
  48044. +{
  48045. +return use_ascii (foo) == use_ebcdic (foo);
  48046. + ;
  48047. + return 0;
  48048. +}
  48049. +_ACEOF
  48050. +if ac_fn_c_try_compile "$LINENO"; then :
  48051. + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  48052. + ac_cv_c_bigendian=yes
  48053. + fi
  48054. + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  48055. + if test "$ac_cv_c_bigendian" = unknown; then
  48056. + ac_cv_c_bigendian=no
  48057. + else
  48058. + # finding both strings is unlikely to happen, but who knows?
  48059. + ac_cv_c_bigendian=unknown
  48060. + fi
  48061. + fi
  48062. +fi
  48063. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  48064. +else
  48065. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  48066. +/* end confdefs.h. */
  48067. +$ac_includes_default
  48068. +int
  48069. +main ()
  48070. +{
  48071. +
  48072. + /* Are we little or big endian? From Harbison&Steele. */
  48073. + union
  48074. + {
  48075. + long int l;
  48076. + char c[sizeof (long int)];
  48077. + } u;
  48078. + u.l = 1;
  48079. + return u.c[sizeof (long int) - 1] == 1;
  48080. +
  48081. + ;
  48082. + return 0;
  48083. +}
  48084. +_ACEOF
  48085. +if ac_fn_c_try_run "$LINENO"; then :
  48086. + ac_cv_c_bigendian=no
  48087. +else
  48088. + ac_cv_c_bigendian=yes
  48089. +fi
  48090. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  48091. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  48092. +fi
  48093. +
  48094. + fi
  48095. +fi
  48096. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  48097. +$as_echo "$ac_cv_c_bigendian" >&6; }
  48098. + case $ac_cv_c_bigendian in #(
  48099. + yes)
  48100. + $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
  48101. +;; #(
  48102. + no)
  48103. + ;; #(
  48104. + universal)
  48105. +
  48106. +$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  48107. +
  48108. + ;; #(
  48109. + *)
  48110. + as_fn_error $? "unknown endianness
  48111. + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  48112. + esac
  48113. +
  48114. +
  48115. +
  48116. + GNULIB_NL_LANGINFO=0;
  48117. + HAVE_NL_LANGINFO=1;
  48118. + REPLACE_NL_LANGINFO=0;
  48119. +
  48120. +
  48121. +
  48122. +ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
  48123. +if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
  48124. + ac_have_decl=1
  48125. +else
  48126. + ac_have_decl=0
  48127. +fi
  48128. +
  48129. +cat >>confdefs.h <<_ACEOF
  48130. +@%:@define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
  48131. +_ACEOF
  48132. +
  48133. +
  48134. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library >= 2.1 or uClibc" >&5
  48135. +$as_echo_n "checking whether we are using the GNU C Library >= 2.1 or uClibc... " >&6; }
  48136. +if ${ac_cv_gnu_library_2_1+:} false; then :
  48137. + $as_echo_n "(cached) " >&6
  48138. +else
  48139. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  48140. +/* end confdefs.h. */
  48141. +
  48142. +#include <features.h>
  48143. +#ifdef __GNU_LIBRARY__
  48144. + #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
  48145. + Lucky GNU user
  48146. + #endif
  48147. +#endif
  48148. +#ifdef __UCLIBC__
  48149. + Lucky user
  48150. +#endif
  48151. +
  48152. +_ACEOF
  48153. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  48154. + $EGREP "Lucky" >/dev/null 2>&1; then :
  48155. + ac_cv_gnu_library_2_1=yes
  48156. +else
  48157. + ac_cv_gnu_library_2_1=no
  48158. +fi
  48159. +rm -f conftest*
  48160. +
  48161. +
  48162. +
  48163. +fi
  48164. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
  48165. +$as_echo "$ac_cv_gnu_library_2_1" >&6; }
  48166. +
  48167. + GLIBC21="$ac_cv_gnu_library_2_1"
  48168. +
  48169. +
  48170. +
  48171. +
  48172. + gl_threads_api=none
  48173. + LIBTHREAD=
  48174. + LTLIBTHREAD=
  48175. + LIBMULTITHREAD=
  48176. + LTLIBMULTITHREAD=
  48177. + if test "$gl_use_threads" != no; then
  48178. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5
  48179. +$as_echo_n "checking whether imported symbols can be declared weak... " >&6; }
  48180. +if ${gl_cv_have_weak+:} false; then :
  48181. + $as_echo_n "(cached) " >&6
  48182. +else
  48183. + gl_cv_have_weak=no
  48184. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  48185. +/* end confdefs.h. */
  48186. +extern void xyzzy ();
  48187. +#pragma weak xyzzy
  48188. +int
  48189. +main ()
  48190. +{
  48191. +xyzzy();
  48192. + ;
  48193. + return 0;
  48194. +}
  48195. +_ACEOF
  48196. +if ac_fn_c_try_link "$LINENO"; then :
  48197. + gl_cv_have_weak=maybe
  48198. +fi
  48199. +rm -f core conftest.err conftest.$ac_objext \
  48200. + conftest$ac_exeext conftest.$ac_ext
  48201. + if test $gl_cv_have_weak = maybe; then
  48202. + if test "$cross_compiling" = yes; then :
  48203. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  48204. +/* end confdefs.h. */
  48205. +#ifdef __ELF__
  48206. + Extensible Linking Format
  48207. + #endif
  48208. +
  48209. +_ACEOF
  48210. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  48211. + $EGREP "Extensible Linking Format" >/dev/null 2>&1; then :
  48212. + gl_cv_have_weak="guessing yes"
  48213. +else
  48214. + gl_cv_have_weak="guessing no"
  48215. +fi
  48216. +rm -f conftest*
  48217. +
  48218. +
  48219. +else
  48220. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  48221. +/* end confdefs.h. */
  48222. +
  48223. +#include <stdio.h>
  48224. +#pragma weak fputs
  48225. +int main ()
  48226. +{
  48227. + return (fputs == NULL);
  48228. +}
  48229. +_ACEOF
  48230. +if ac_fn_c_try_run "$LINENO"; then :
  48231. + gl_cv_have_weak=yes
  48232. +else
  48233. + gl_cv_have_weak=no
  48234. +fi
  48235. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  48236. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  48237. +fi
  48238. +
  48239. + fi
  48240. +
  48241. +fi
  48242. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_weak" >&5
  48243. +$as_echo "$gl_cv_have_weak" >&6; }
  48244. + if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
  48245. + # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
  48246. + # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY.
  48247. + ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
  48248. +if test "x$ac_cv_header_pthread_h" = xyes; then :
  48249. + gl_have_pthread_h=yes
  48250. +else
  48251. + gl_have_pthread_h=no
  48252. +fi
  48253. +
  48254. +
  48255. + if test "$gl_have_pthread_h" = yes; then
  48256. + # Other possible tests:
  48257. + # -lpthreads (FSU threads, PCthreads)
  48258. + # -lgthreads
  48259. + gl_have_pthread=
  48260. + # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
  48261. + # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
  48262. + # the second one only in libpthread, and lock.c needs it.
  48263. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  48264. +/* end confdefs.h. */
  48265. +#include <pthread.h>
  48266. +int
  48267. +main ()
  48268. +{
  48269. +pthread_mutex_lock((pthread_mutex_t*)0);
  48270. + pthread_mutexattr_init((pthread_mutexattr_t*)0);
  48271. + ;
  48272. + return 0;
  48273. +}
  48274. +_ACEOF
  48275. +if ac_fn_c_try_link "$LINENO"; then :
  48276. + gl_have_pthread=yes
  48277. +fi
  48278. +rm -f core conftest.err conftest.$ac_objext \
  48279. + conftest$ac_exeext conftest.$ac_ext
  48280. + # Test for libpthread by looking for pthread_kill. (Not pthread_self,
  48281. + # since it is defined as a macro on OSF/1.)
  48282. + if test -n "$gl_have_pthread"; then
  48283. + # The program links fine without libpthread. But it may actually
  48284. + # need to link with libpthread in order to create multiple threads.
  48285. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
  48286. +$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
  48287. +if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
  48288. + $as_echo_n "(cached) " >&6
  48289. +else
  48290. + ac_check_lib_save_LIBS=$LIBS
  48291. +LIBS="-lpthread $LIBS"
  48292. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  48293. +/* end confdefs.h. */
  48294. +
  48295. +/* Override any GCC internal prototype to avoid an error.
  48296. + Use char because int might match the return type of a GCC
  48297. + builtin and then its argument prototype would still apply. */
  48298. +#ifdef __cplusplus
  48299. +extern "C"
  48300. +#endif
  48301. +char pthread_kill ();
  48302. +int
  48303. +main ()
  48304. +{
  48305. +return pthread_kill ();
  48306. + ;
  48307. + return 0;
  48308. +}
  48309. +_ACEOF
  48310. +if ac_fn_c_try_link "$LINENO"; then :
  48311. + ac_cv_lib_pthread_pthread_kill=yes
  48312. +else
  48313. + ac_cv_lib_pthread_pthread_kill=no
  48314. +fi
  48315. +rm -f core conftest.err conftest.$ac_objext \
  48316. + conftest$ac_exeext conftest.$ac_ext
  48317. +LIBS=$ac_check_lib_save_LIBS
  48318. +fi
  48319. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
  48320. +$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
  48321. +if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
  48322. + LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
  48323. + # On Solaris and HP-UX, most pthread functions exist also in libc.
  48324. + # Therefore pthread_in_use() needs to actually try to create a
  48325. + # thread: pthread_create from libc will fail, whereas
  48326. + # pthread_create will actually create a thread.
  48327. + case "$host_os" in
  48328. + solaris* | hpux*)
  48329. +
  48330. +$as_echo "@%:@define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
  48331. +
  48332. + esac
  48333. +
  48334. +fi
  48335. +
  48336. + else
  48337. + # Some library is needed. Try libpthread and libc_r.
  48338. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
  48339. +$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
  48340. +if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
  48341. + $as_echo_n "(cached) " >&6
  48342. +else
  48343. + ac_check_lib_save_LIBS=$LIBS
  48344. +LIBS="-lpthread $LIBS"
  48345. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  48346. +/* end confdefs.h. */
  48347. +
  48348. +/* Override any GCC internal prototype to avoid an error.
  48349. + Use char because int might match the return type of a GCC
  48350. + builtin and then its argument prototype would still apply. */
  48351. +#ifdef __cplusplus
  48352. +extern "C"
  48353. +#endif
  48354. +char pthread_kill ();
  48355. +int
  48356. +main ()
  48357. +{
  48358. +return pthread_kill ();
  48359. + ;
  48360. + return 0;
  48361. +}
  48362. +_ACEOF
  48363. +if ac_fn_c_try_link "$LINENO"; then :
  48364. + ac_cv_lib_pthread_pthread_kill=yes
  48365. +else
  48366. + ac_cv_lib_pthread_pthread_kill=no
  48367. +fi
  48368. +rm -f core conftest.err conftest.$ac_objext \
  48369. + conftest$ac_exeext conftest.$ac_ext
  48370. +LIBS=$ac_check_lib_save_LIBS
  48371. +fi
  48372. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
  48373. +$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
  48374. +if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
  48375. + gl_have_pthread=yes
  48376. + LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
  48377. + LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
  48378. +fi
  48379. +
  48380. + if test -z "$gl_have_pthread"; then
  48381. + # For FreeBSD 4.
  48382. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5
  48383. +$as_echo_n "checking for pthread_kill in -lc_r... " >&6; }
  48384. +if ${ac_cv_lib_c_r_pthread_kill+:} false; then :
  48385. + $as_echo_n "(cached) " >&6
  48386. +else
  48387. + ac_check_lib_save_LIBS=$LIBS
  48388. +LIBS="-lc_r $LIBS"
  48389. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  48390. +/* end confdefs.h. */
  48391. +
  48392. +/* Override any GCC internal prototype to avoid an error.
  48393. + Use char because int might match the return type of a GCC
  48394. + builtin and then its argument prototype would still apply. */
  48395. +#ifdef __cplusplus
  48396. +extern "C"
  48397. +#endif
  48398. +char pthread_kill ();
  48399. +int
  48400. +main ()
  48401. +{
  48402. +return pthread_kill ();
  48403. + ;
  48404. + return 0;
  48405. +}
  48406. +_ACEOF
  48407. +if ac_fn_c_try_link "$LINENO"; then :
  48408. + ac_cv_lib_c_r_pthread_kill=yes
  48409. +else
  48410. + ac_cv_lib_c_r_pthread_kill=no
  48411. +fi
  48412. +rm -f core conftest.err conftest.$ac_objext \
  48413. + conftest$ac_exeext conftest.$ac_ext
  48414. +LIBS=$ac_check_lib_save_LIBS
  48415. +fi
  48416. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5
  48417. +$as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; }
  48418. +if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then :
  48419. + gl_have_pthread=yes
  48420. + LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
  48421. + LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r
  48422. +fi
  48423. +
  48424. + fi
  48425. + fi
  48426. + if test -n "$gl_have_pthread"; then
  48427. + gl_threads_api=posix
  48428. +
  48429. +$as_echo "@%:@define USE_POSIX_THREADS 1" >>confdefs.h
  48430. +
  48431. + if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
  48432. + if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
  48433. +
  48434. +$as_echo "@%:@define USE_POSIX_THREADS_WEAK 1" >>confdefs.h
  48435. +
  48436. + LIBTHREAD=
  48437. + LTLIBTHREAD=
  48438. + fi
  48439. + fi
  48440. + fi
  48441. + fi
  48442. + fi
  48443. + if test -z "$gl_have_pthread"; then
  48444. + if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
  48445. + gl_have_solaristhread=
  48446. + gl_save_LIBS="$LIBS"
  48447. + LIBS="$LIBS -lthread"
  48448. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  48449. +/* end confdefs.h. */
  48450. +
  48451. +#include <thread.h>
  48452. +#include <synch.h>
  48453. +
  48454. +int
  48455. +main ()
  48456. +{
  48457. +thr_self();
  48458. + ;
  48459. + return 0;
  48460. +}
  48461. +_ACEOF
  48462. +if ac_fn_c_try_link "$LINENO"; then :
  48463. + gl_have_solaristhread=yes
  48464. +fi
  48465. +rm -f core conftest.err conftest.$ac_objext \
  48466. + conftest$ac_exeext conftest.$ac_ext
  48467. + LIBS="$gl_save_LIBS"
  48468. + if test -n "$gl_have_solaristhread"; then
  48469. + gl_threads_api=solaris
  48470. + LIBTHREAD=-lthread
  48471. + LTLIBTHREAD=-lthread
  48472. + LIBMULTITHREAD="$LIBTHREAD"
  48473. + LTLIBMULTITHREAD="$LTLIBTHREAD"
  48474. +
  48475. +$as_echo "@%:@define USE_SOLARIS_THREADS 1" >>confdefs.h
  48476. +
  48477. + if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
  48478. +
  48479. +$as_echo "@%:@define USE_SOLARIS_THREADS_WEAK 1" >>confdefs.h
  48480. +
  48481. + LIBTHREAD=
  48482. + LTLIBTHREAD=
  48483. + fi
  48484. + fi
  48485. + fi
  48486. + fi
  48487. + if test "$gl_use_threads" = pth; then
  48488. + gl_save_CPPFLAGS="$CPPFLAGS"
  48489. +
  48490. +
  48491. +
  48492. +
  48493. +
  48494. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5
  48495. +$as_echo_n "checking how to link with libpth... " >&6; }
  48496. +if ${ac_cv_libpth_libs+:} false; then :
  48497. + $as_echo_n "(cached) " >&6
  48498. +else
  48499. +
  48500. +
  48501. +
  48502. +
  48503. +
  48504. +
  48505. +
  48506. +
  48507. + use_additional=yes
  48508. +
  48509. + acl_save_prefix="$prefix"
  48510. + prefix="$acl_final_prefix"
  48511. + acl_save_exec_prefix="$exec_prefix"
  48512. + exec_prefix="$acl_final_exec_prefix"
  48513. +
  48514. + eval additional_includedir=\"$includedir\"
  48515. + eval additional_libdir=\"$libdir\"
  48516. +
  48517. + exec_prefix="$acl_save_exec_prefix"
  48518. + prefix="$acl_save_prefix"
  48519. +
  48520. +
  48521. +@%:@ Check whether --with-libpth-prefix was given.
  48522. +if test "${with_libpth_prefix+set}" = set; then :
  48523. + withval=$with_libpth_prefix;
  48524. + if test "X$withval" = "Xno"; then
  48525. + use_additional=no
  48526. + else
  48527. + if test "X$withval" = "X"; then
  48528. +
  48529. + acl_save_prefix="$prefix"
  48530. + prefix="$acl_final_prefix"
  48531. + acl_save_exec_prefix="$exec_prefix"
  48532. + exec_prefix="$acl_final_exec_prefix"
  48533. +
  48534. + eval additional_includedir=\"$includedir\"
  48535. + eval additional_libdir=\"$libdir\"
  48536. +
  48537. + exec_prefix="$acl_save_exec_prefix"
  48538. + prefix="$acl_save_prefix"
  48539. +
  48540. + else
  48541. + additional_includedir="$withval/include"
  48542. + additional_libdir="$withval/$acl_libdirstem"
  48543. + if test "$acl_libdirstem2" != "$acl_libdirstem" \
  48544. + && ! test -d "$withval/$acl_libdirstem"; then
  48545. + additional_libdir="$withval/$acl_libdirstem2"
  48546. + fi
  48547. + fi
  48548. + fi
  48549. +
  48550. +fi
  48551. +
  48552. + LIBPTH=
  48553. + LTLIBPTH=
  48554. + INCPTH=
  48555. + LIBPTH_PREFIX=
  48556. + HAVE_LIBPTH=
  48557. + rpathdirs=
  48558. + ltrpathdirs=
  48559. + names_already_handled=
  48560. + names_next_round='pth '
  48561. + while test -n "$names_next_round"; do
  48562. + names_this_round="$names_next_round"
  48563. + names_next_round=
  48564. + for name in $names_this_round; do
  48565. + already_handled=
  48566. + for n in $names_already_handled; do
  48567. + if test "$n" = "$name"; then
  48568. + already_handled=yes
  48569. + break
  48570. + fi
  48571. + done
  48572. + if test -z "$already_handled"; then
  48573. + names_already_handled="$names_already_handled $name"
  48574. + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
  48575. + eval value=\"\$HAVE_LIB$uppername\"
  48576. + if test -n "$value"; then
  48577. + if test "$value" = yes; then
  48578. + eval value=\"\$LIB$uppername\"
  48579. + test -z "$value" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value"
  48580. + eval value=\"\$LTLIB$uppername\"
  48581. + test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$value"
  48582. + else
  48583. + :
  48584. + fi
  48585. + else
  48586. + found_dir=
  48587. + found_la=
  48588. + found_so=
  48589. + found_a=
  48590. + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
  48591. + if test -n "$acl_shlibext"; then
  48592. + shrext=".$acl_shlibext" # typically: shrext=.so
  48593. + else
  48594. + shrext=
  48595. + fi
  48596. + if test $use_additional = yes; then
  48597. + dir="$additional_libdir"
  48598. + if test -n "$acl_shlibext"; then
  48599. + if test -f "$dir/$libname$shrext"; then
  48600. + found_dir="$dir"
  48601. + found_so="$dir/$libname$shrext"
  48602. + else
  48603. + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  48604. + ver=`(cd "$dir" && \
  48605. + for f in "$libname$shrext".*; do echo "$f"; done \
  48606. + | sed -e "s,^$libname$shrext\\\\.,," \
  48607. + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  48608. + | sed 1q ) 2>/dev/null`
  48609. + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  48610. + found_dir="$dir"
  48611. + found_so="$dir/$libname$shrext.$ver"
  48612. + fi
  48613. + else
  48614. + eval library_names=\"$acl_library_names_spec\"
  48615. + for f in $library_names; do
  48616. + if test -f "$dir/$f"; then
  48617. + found_dir="$dir"
  48618. + found_so="$dir/$f"
  48619. + break
  48620. + fi
  48621. + done
  48622. + fi
  48623. + fi
  48624. + fi
  48625. + if test "X$found_dir" = "X"; then
  48626. + if test -f "$dir/$libname.$acl_libext"; then
  48627. + found_dir="$dir"
  48628. + found_a="$dir/$libname.$acl_libext"
  48629. + fi
  48630. + fi
  48631. + if test "X$found_dir" != "X"; then
  48632. + if test -f "$dir/$libname.la"; then
  48633. + found_la="$dir/$libname.la"
  48634. + fi
  48635. + fi
  48636. + fi
  48637. + if test "X$found_dir" = "X"; then
  48638. + for x in $LDFLAGS $LTLIBPTH; do
  48639. +
  48640. + acl_save_prefix="$prefix"
  48641. + prefix="$acl_final_prefix"
  48642. + acl_save_exec_prefix="$exec_prefix"
  48643. + exec_prefix="$acl_final_exec_prefix"
  48644. + eval x=\"$x\"
  48645. + exec_prefix="$acl_save_exec_prefix"
  48646. + prefix="$acl_save_prefix"
  48647. +
  48648. + case "$x" in
  48649. + -L*)
  48650. + dir=`echo "X$x" | sed -e 's/^X-L//'`
  48651. + if test -n "$acl_shlibext"; then
  48652. + if test -f "$dir/$libname$shrext"; then
  48653. + found_dir="$dir"
  48654. + found_so="$dir/$libname$shrext"
  48655. + else
  48656. + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  48657. + ver=`(cd "$dir" && \
  48658. + for f in "$libname$shrext".*; do echo "$f"; done \
  48659. + | sed -e "s,^$libname$shrext\\\\.,," \
  48660. + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  48661. + | sed 1q ) 2>/dev/null`
  48662. + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  48663. + found_dir="$dir"
  48664. + found_so="$dir/$libname$shrext.$ver"
  48665. + fi
  48666. + else
  48667. + eval library_names=\"$acl_library_names_spec\"
  48668. + for f in $library_names; do
  48669. + if test -f "$dir/$f"; then
  48670. + found_dir="$dir"
  48671. + found_so="$dir/$f"
  48672. + break
  48673. + fi
  48674. + done
  48675. + fi
  48676. + fi
  48677. + fi
  48678. + if test "X$found_dir" = "X"; then
  48679. + if test -f "$dir/$libname.$acl_libext"; then
  48680. + found_dir="$dir"
  48681. + found_a="$dir/$libname.$acl_libext"
  48682. + fi
  48683. + fi
  48684. + if test "X$found_dir" != "X"; then
  48685. + if test -f "$dir/$libname.la"; then
  48686. + found_la="$dir/$libname.la"
  48687. + fi
  48688. + fi
  48689. + ;;
  48690. + esac
  48691. + if test "X$found_dir" != "X"; then
  48692. + break
  48693. + fi
  48694. + done
  48695. + fi
  48696. + if test "X$found_dir" != "X"; then
  48697. + LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name"
  48698. + if test "X$found_so" != "X"; then
  48699. + if test "$enable_rpath" = no \
  48700. + || test "X$found_dir" = "X/usr/$acl_libdirstem" \
  48701. + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
  48702. + LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
  48703. + else
  48704. + haveit=
  48705. + for x in $ltrpathdirs; do
  48706. + if test "X$x" = "X$found_dir"; then
  48707. + haveit=yes
  48708. + break
  48709. + fi
  48710. + done
  48711. + if test -z "$haveit"; then
  48712. + ltrpathdirs="$ltrpathdirs $found_dir"
  48713. + fi
  48714. + if test "$acl_hardcode_direct" = yes; then
  48715. + LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
  48716. + else
  48717. + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
  48718. + LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
  48719. + haveit=
  48720. + for x in $rpathdirs; do
  48721. + if test "X$x" = "X$found_dir"; then
  48722. + haveit=yes
  48723. + break
  48724. + fi
  48725. + done
  48726. + if test -z "$haveit"; then
  48727. + rpathdirs="$rpathdirs $found_dir"
  48728. + fi
  48729. + else
  48730. + haveit=
  48731. + for x in $LDFLAGS $LIBPTH; do
  48732. +
  48733. + acl_save_prefix="$prefix"
  48734. + prefix="$acl_final_prefix"
  48735. + acl_save_exec_prefix="$exec_prefix"
  48736. + exec_prefix="$acl_final_exec_prefix"
  48737. + eval x=\"$x\"
  48738. + exec_prefix="$acl_save_exec_prefix"
  48739. + prefix="$acl_save_prefix"
  48740. +
  48741. + if test "X$x" = "X-L$found_dir"; then
  48742. + haveit=yes
  48743. + break
  48744. + fi
  48745. + done
  48746. + if test -z "$haveit"; then
  48747. + LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir"
  48748. + fi
  48749. + if test "$acl_hardcode_minus_L" != no; then
  48750. + LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
  48751. + else
  48752. + LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
  48753. + fi
  48754. + fi
  48755. + fi
  48756. + fi
  48757. + else
  48758. + if test "X$found_a" != "X"; then
  48759. + LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a"
  48760. + else
  48761. + LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir -l$name"
  48762. + fi
  48763. + fi
  48764. + additional_includedir=
  48765. + case "$found_dir" in
  48766. + */$acl_libdirstem | */$acl_libdirstem/)
  48767. + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
  48768. + if test "$name" = 'pth'; then
  48769. + LIBPTH_PREFIX="$basedir"
  48770. + fi
  48771. + additional_includedir="$basedir/include"
  48772. + ;;
  48773. + */$acl_libdirstem2 | */$acl_libdirstem2/)
  48774. + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
  48775. + if test "$name" = 'pth'; then
  48776. + LIBPTH_PREFIX="$basedir"
  48777. + fi
  48778. + additional_includedir="$basedir/include"
  48779. + ;;
  48780. + esac
  48781. + if test "X$additional_includedir" != "X"; then
  48782. + if test "X$additional_includedir" != "X/usr/include"; then
  48783. + haveit=
  48784. + if test "X$additional_includedir" = "X/usr/local/include"; then
  48785. + if test -n "$GCC"; then
  48786. + case $host_os in
  48787. + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  48788. + esac
  48789. + fi
  48790. + fi
  48791. + if test -z "$haveit"; then
  48792. + for x in $CPPFLAGS $INCPTH; do
  48793. +
  48794. + acl_save_prefix="$prefix"
  48795. + prefix="$acl_final_prefix"
  48796. + acl_save_exec_prefix="$exec_prefix"
  48797. + exec_prefix="$acl_final_exec_prefix"
  48798. + eval x=\"$x\"
  48799. + exec_prefix="$acl_save_exec_prefix"
  48800. + prefix="$acl_save_prefix"
  48801. +
  48802. + if test "X$x" = "X-I$additional_includedir"; then
  48803. + haveit=yes
  48804. + break
  48805. + fi
  48806. + done
  48807. + if test -z "$haveit"; then
  48808. + if test -d "$additional_includedir"; then
  48809. + INCPTH="${INCPTH}${INCPTH:+ }-I$additional_includedir"
  48810. + fi
  48811. + fi
  48812. + fi
  48813. + fi
  48814. + fi
  48815. + if test -n "$found_la"; then
  48816. + save_libdir="$libdir"
  48817. + case "$found_la" in
  48818. + */* | *\\*) . "$found_la" ;;
  48819. + *) . "./$found_la" ;;
  48820. + esac
  48821. + libdir="$save_libdir"
  48822. + for dep in $dependency_libs; do
  48823. + case "$dep" in
  48824. + -L*)
  48825. + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
  48826. + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
  48827. + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
  48828. + haveit=
  48829. + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
  48830. + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
  48831. + if test -n "$GCC"; then
  48832. + case $host_os in
  48833. + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  48834. + esac
  48835. + fi
  48836. + fi
  48837. + if test -z "$haveit"; then
  48838. + haveit=
  48839. + for x in $LDFLAGS $LIBPTH; do
  48840. +
  48841. + acl_save_prefix="$prefix"
  48842. + prefix="$acl_final_prefix"
  48843. + acl_save_exec_prefix="$exec_prefix"
  48844. + exec_prefix="$acl_final_exec_prefix"
  48845. + eval x=\"$x\"
  48846. + exec_prefix="$acl_save_exec_prefix"
  48847. + prefix="$acl_save_prefix"
  48848. +
  48849. + if test "X$x" = "X-L$additional_libdir"; then
  48850. + haveit=yes
  48851. + break
  48852. + fi
  48853. + done
  48854. + if test -z "$haveit"; then
  48855. + if test -d "$additional_libdir"; then
  48856. + LIBPTH="${LIBPTH}${LIBPTH:+ }-L$additional_libdir"
  48857. + fi
  48858. + fi
  48859. + haveit=
  48860. + for x in $LDFLAGS $LTLIBPTH; do
  48861. +
  48862. + acl_save_prefix="$prefix"
  48863. + prefix="$acl_final_prefix"
  48864. + acl_save_exec_prefix="$exec_prefix"
  48865. + exec_prefix="$acl_final_exec_prefix"
  48866. + eval x=\"$x\"
  48867. + exec_prefix="$acl_save_exec_prefix"
  48868. + prefix="$acl_save_prefix"
  48869. +
  48870. + if test "X$x" = "X-L$additional_libdir"; then
  48871. + haveit=yes
  48872. + break
  48873. + fi
  48874. + done
  48875. + if test -z "$haveit"; then
  48876. + if test -d "$additional_libdir"; then
  48877. + LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$additional_libdir"
  48878. + fi
  48879. + fi
  48880. + fi
  48881. + fi
  48882. + ;;
  48883. + -R*)
  48884. + dir=`echo "X$dep" | sed -e 's/^X-R//'`
  48885. + if test "$enable_rpath" != no; then
  48886. + haveit=
  48887. + for x in $rpathdirs; do
  48888. + if test "X$x" = "X$dir"; then
  48889. + haveit=yes
  48890. + break
  48891. + fi
  48892. + done
  48893. + if test -z "$haveit"; then
  48894. + rpathdirs="$rpathdirs $dir"
  48895. + fi
  48896. + haveit=
  48897. + for x in $ltrpathdirs; do
  48898. + if test "X$x" = "X$dir"; then
  48899. + haveit=yes
  48900. + break
  48901. + fi
  48902. + done
  48903. + if test -z "$haveit"; then
  48904. + ltrpathdirs="$ltrpathdirs $dir"
  48905. + fi
  48906. + fi
  48907. + ;;
  48908. + -l*)
  48909. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
  48910. + ;;
  48911. + *.la)
  48912. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
  48913. + ;;
  48914. + *)
  48915. + LIBPTH="${LIBPTH}${LIBPTH:+ }$dep"
  48916. + LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$dep"
  48917. + ;;
  48918. + esac
  48919. + done
  48920. + fi
  48921. + else
  48922. + LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
  48923. + LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-l$name"
  48924. + fi
  48925. + fi
  48926. + fi
  48927. + done
  48928. + done
  48929. + if test "X$rpathdirs" != "X"; then
  48930. + if test -n "$acl_hardcode_libdir_separator"; then
  48931. + alldirs=
  48932. + for found_dir in $rpathdirs; do
  48933. + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
  48934. + done
  48935. + acl_save_libdir="$libdir"
  48936. + libdir="$alldirs"
  48937. + eval flag=\"$acl_hardcode_libdir_flag_spec\"
  48938. + libdir="$acl_save_libdir"
  48939. + LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
  48940. + else
  48941. + for found_dir in $rpathdirs; do
  48942. + acl_save_libdir="$libdir"
  48943. + libdir="$found_dir"
  48944. + eval flag=\"$acl_hardcode_libdir_flag_spec\"
  48945. + libdir="$acl_save_libdir"
  48946. + LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
  48947. + done
  48948. + fi
  48949. + fi
  48950. + if test "X$ltrpathdirs" != "X"; then
  48951. + for found_dir in $ltrpathdirs; do
  48952. + LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir"
  48953. + done
  48954. + fi
  48955. +
  48956. +
  48957. +
  48958. +
  48959. +
  48960. +
  48961. + ac_cv_libpth_libs="$LIBPTH"
  48962. + ac_cv_libpth_ltlibs="$LTLIBPTH"
  48963. + ac_cv_libpth_cppflags="$INCPTH"
  48964. + ac_cv_libpth_prefix="$LIBPTH_PREFIX"
  48965. +
  48966. +fi
  48967. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libpth_libs" >&5
  48968. +$as_echo "$ac_cv_libpth_libs" >&6; }
  48969. + LIBPTH="$ac_cv_libpth_libs"
  48970. + LTLIBPTH="$ac_cv_libpth_ltlibs"
  48971. + INCPTH="$ac_cv_libpth_cppflags"
  48972. + LIBPTH_PREFIX="$ac_cv_libpth_prefix"
  48973. +
  48974. + for element in $INCPTH; do
  48975. + haveit=
  48976. + for x in $CPPFLAGS; do
  48977. +
  48978. + acl_save_prefix="$prefix"
  48979. + prefix="$acl_final_prefix"
  48980. + acl_save_exec_prefix="$exec_prefix"
  48981. + exec_prefix="$acl_final_exec_prefix"
  48982. + eval x=\"$x\"
  48983. + exec_prefix="$acl_save_exec_prefix"
  48984. + prefix="$acl_save_prefix"
  48985. +
  48986. + if test "X$x" = "X$element"; then
  48987. + haveit=yes
  48988. + break
  48989. + fi
  48990. + done
  48991. + if test -z "$haveit"; then
  48992. + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
  48993. + fi
  48994. + done
  48995. +
  48996. +
  48997. +
  48998. +
  48999. + HAVE_LIBPTH=yes
  49000. +
  49001. +
  49002. +
  49003. + gl_have_pth=
  49004. + gl_save_LIBS="$LIBS"
  49005. + LIBS="$LIBS $LIBPTH"
  49006. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49007. +/* end confdefs.h. */
  49008. +#include <pth.h>
  49009. +int
  49010. +main ()
  49011. +{
  49012. +pth_self();
  49013. + ;
  49014. + return 0;
  49015. +}
  49016. +_ACEOF
  49017. +if ac_fn_c_try_link "$LINENO"; then :
  49018. + gl_have_pth=yes
  49019. +fi
  49020. +rm -f core conftest.err conftest.$ac_objext \
  49021. + conftest$ac_exeext conftest.$ac_ext
  49022. + LIBS="$gl_save_LIBS"
  49023. + if test -n "$gl_have_pth"; then
  49024. + gl_threads_api=pth
  49025. + LIBTHREAD="$LIBPTH"
  49026. + LTLIBTHREAD="$LTLIBPTH"
  49027. + LIBMULTITHREAD="$LIBTHREAD"
  49028. + LTLIBMULTITHREAD="$LTLIBTHREAD"
  49029. +
  49030. +$as_echo "@%:@define USE_PTH_THREADS 1" >>confdefs.h
  49031. +
  49032. + if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
  49033. + if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
  49034. +
  49035. +$as_echo "@%:@define USE_PTH_THREADS_WEAK 1" >>confdefs.h
  49036. +
  49037. + LIBTHREAD=
  49038. + LTLIBTHREAD=
  49039. + fi
  49040. + fi
  49041. + else
  49042. + CPPFLAGS="$gl_save_CPPFLAGS"
  49043. + fi
  49044. + fi
  49045. + if test -z "$gl_have_pthread"; then
  49046. + if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then
  49047. + if { case "$host_os" in
  49048. + mingw*) true;;
  49049. + *) false;;
  49050. + esac
  49051. + }; then
  49052. + gl_threads_api=win32
  49053. +
  49054. +$as_echo "@%:@define USE_WIN32_THREADS 1" >>confdefs.h
  49055. +
  49056. + fi
  49057. + fi
  49058. + fi
  49059. + fi
  49060. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multithread API to use" >&5
  49061. +$as_echo_n "checking for multithread API to use... " >&6; }
  49062. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_threads_api" >&5
  49063. +$as_echo "$gl_threads_api" >&6; }
  49064. +
  49065. +
  49066. +
  49067. +
  49068. +
  49069. +
  49070. +
  49071. +
  49072. +
  49073. +
  49074. + GNULIB_FCHMODAT=0;
  49075. + GNULIB_FSTATAT=0;
  49076. + GNULIB_FUTIMENS=0;
  49077. + GNULIB_LCHMOD=0;
  49078. + GNULIB_LSTAT=0;
  49079. + GNULIB_MKDIRAT=0;
  49080. + GNULIB_MKFIFO=0;
  49081. + GNULIB_MKFIFOAT=0;
  49082. + GNULIB_MKNOD=0;
  49083. + GNULIB_MKNODAT=0;
  49084. + GNULIB_STAT=0;
  49085. + GNULIB_UTIMENSAT=0;
  49086. + HAVE_FCHMODAT=1;
  49087. + HAVE_FSTATAT=1;
  49088. + HAVE_FUTIMENS=1;
  49089. + HAVE_LCHMOD=1;
  49090. + HAVE_LSTAT=1;
  49091. + HAVE_MKDIRAT=1;
  49092. + HAVE_MKFIFO=1;
  49093. + HAVE_MKFIFOAT=1;
  49094. + HAVE_MKNOD=1;
  49095. + HAVE_MKNODAT=1;
  49096. + HAVE_UTIMENSAT=1;
  49097. + REPLACE_FSTAT=0;
  49098. + REPLACE_FSTATAT=0;
  49099. + REPLACE_FUTIMENS=0;
  49100. + REPLACE_LSTAT=0;
  49101. + REPLACE_MKDIR=0;
  49102. + REPLACE_MKFIFO=0;
  49103. + REPLACE_MKNOD=0;
  49104. + REPLACE_STAT=0;
  49105. + REPLACE_UTIMENSAT=0;
  49106. +
  49107. +
  49108. +
  49109. +
  49110. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
  49111. +$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
  49112. +if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
  49113. + $as_echo_n "(cached) " >&6
  49114. +else
  49115. + rm -f conftest.sym conftest.file
  49116. + echo >conftest.file
  49117. + if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
  49118. + if test "$cross_compiling" = yes; then :
  49119. + # When cross-compiling, be pessimistic so we will end up using the
  49120. + # replacement version of lstat that checks for trailing slashes and
  49121. + # calls lstat a second time when necessary.
  49122. + ac_cv_func_lstat_dereferences_slashed_symlink=no
  49123. +
  49124. +else
  49125. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49126. +/* end confdefs.h. */
  49127. +$ac_includes_default
  49128. +int
  49129. +main ()
  49130. +{
  49131. +struct stat sbuf;
  49132. + /* Linux will dereference the symlink and fail, as required by
  49133. + POSIX. That is better in the sense that it means we will not
  49134. + have to compile and use the lstat wrapper. */
  49135. + return lstat ("conftest.sym/", &sbuf) == 0;
  49136. +
  49137. + ;
  49138. + return 0;
  49139. +}
  49140. +_ACEOF
  49141. +if ac_fn_c_try_run "$LINENO"; then :
  49142. + ac_cv_func_lstat_dereferences_slashed_symlink=yes
  49143. +else
  49144. + ac_cv_func_lstat_dereferences_slashed_symlink=no
  49145. +fi
  49146. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  49147. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  49148. +fi
  49149. +
  49150. + else
  49151. + # If the 'ln -s' command failed, then we probably don't even
  49152. + # have an lstat function.
  49153. + ac_cv_func_lstat_dereferences_slashed_symlink=no
  49154. + fi
  49155. + rm -f conftest.sym conftest.file
  49156. +
  49157. +fi
  49158. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
  49159. +$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
  49160. + test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
  49161. +
  49162. +cat >>confdefs.h <<_ACEOF
  49163. +@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  49164. +_ACEOF
  49165. +
  49166. + if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
  49167. +
  49168. +
  49169. +
  49170. +
  49171. +
  49172. +
  49173. +
  49174. +
  49175. + M4_LIBOBJS="$M4_LIBOBJS lstat.$ac_objext"
  49176. +
  49177. + fi
  49178. +
  49179. +
  49180. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5
  49181. +$as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; }
  49182. +if ${gl_cv_func_malloc_posix+:} false; then :
  49183. + $as_echo_n "(cached) " >&6
  49184. +else
  49185. +
  49186. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49187. +/* end confdefs.h. */
  49188. +
  49189. +int
  49190. +main ()
  49191. +{
  49192. +#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
  49193. + choke me
  49194. + #endif
  49195. +
  49196. + ;
  49197. + return 0;
  49198. +}
  49199. +_ACEOF
  49200. +if ac_fn_c_try_compile "$LINENO"; then :
  49201. + gl_cv_func_malloc_posix=yes
  49202. +else
  49203. + gl_cv_func_malloc_posix=no
  49204. +fi
  49205. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  49206. +
  49207. +fi
  49208. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5
  49209. +$as_echo "$gl_cv_func_malloc_posix" >&6; }
  49210. +
  49211. +
  49212. + for ac_header in stdlib.h
  49213. +do :
  49214. + ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  49215. +if test "x$ac_cv_header_stdlib_h" = xyes; then :
  49216. + cat >>confdefs.h <<_ACEOF
  49217. +@%:@define HAVE_STDLIB_H 1
  49218. +_ACEOF
  49219. +
  49220. +fi
  49221. +
  49222. +done
  49223. +
  49224. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
  49225. +$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
  49226. +if ${ac_cv_func_malloc_0_nonnull+:} false; then :
  49227. + $as_echo_n "(cached) " >&6
  49228. +else
  49229. + if test "$cross_compiling" = yes; then :
  49230. + ac_cv_func_malloc_0_nonnull=no
  49231. +else
  49232. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49233. +/* end confdefs.h. */
  49234. +#if defined STDC_HEADERS || defined HAVE_STDLIB_H
  49235. +# include <stdlib.h>
  49236. +#else
  49237. +char *malloc ();
  49238. +#endif
  49239. +
  49240. +int
  49241. +main ()
  49242. +{
  49243. +return ! malloc (0);
  49244. + ;
  49245. + return 0;
  49246. +}
  49247. +_ACEOF
  49248. +if ac_fn_c_try_run "$LINENO"; then :
  49249. + ac_cv_func_malloc_0_nonnull=yes
  49250. +else
  49251. + ac_cv_func_malloc_0_nonnull=no
  49252. +fi
  49253. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  49254. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  49255. +fi
  49256. +
  49257. +fi
  49258. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
  49259. +$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
  49260. +if test $ac_cv_func_malloc_0_nonnull = yes; then :
  49261. + gl_cv_func_malloc_0_nonnull=1
  49262. +else
  49263. + gl_cv_func_malloc_0_nonnull=0
  49264. +fi
  49265. +
  49266. +
  49267. +cat >>confdefs.h <<_ACEOF
  49268. +@%:@define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull
  49269. +_ACEOF
  49270. +
  49271. +
  49272. +
  49273. +
  49274. +
  49275. +
  49276. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
  49277. +$as_echo_n "checking for mbstate_t... " >&6; }
  49278. +if ${ac_cv_type_mbstate_t+:} false; then :
  49279. + $as_echo_n "(cached) " >&6
  49280. +else
  49281. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49282. +/* end confdefs.h. */
  49283. +$ac_includes_default
  49284. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  49285. + <wchar.h>.
  49286. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  49287. + included before <wchar.h>. */
  49288. +#include <stddef.h>
  49289. +#include <stdio.h>
  49290. +#include <time.h>
  49291. +#include <wchar.h>
  49292. +int
  49293. +main ()
  49294. +{
  49295. +mbstate_t x; return sizeof x;
  49296. + ;
  49297. + return 0;
  49298. +}
  49299. +_ACEOF
  49300. +if ac_fn_c_try_compile "$LINENO"; then :
  49301. + ac_cv_type_mbstate_t=yes
  49302. +else
  49303. + ac_cv_type_mbstate_t=no
  49304. +fi
  49305. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  49306. +fi
  49307. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
  49308. +$as_echo "$ac_cv_type_mbstate_t" >&6; }
  49309. + if test $ac_cv_type_mbstate_t = yes; then
  49310. +
  49311. +$as_echo "@%:@define HAVE_MBSTATE_T 1" >>confdefs.h
  49312. +
  49313. + else
  49314. +
  49315. +$as_echo "@%:@define mbstate_t int" >>confdefs.h
  49316. +
  49317. + fi
  49318. +
  49319. +
  49320. +
  49321. +
  49322. +
  49323. +
  49324. +
  49325. +
  49326. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
  49327. +$as_echo_n "checking for a traditional japanese locale... " >&6; }
  49328. +if ${gt_cv_locale_ja+:} false; then :
  49329. + $as_echo_n "(cached) " >&6
  49330. +else
  49331. +
  49332. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49333. +/* end confdefs.h. */
  49334. +
  49335. +#include <locale.h>
  49336. +#include <time.h>
  49337. +#if HAVE_LANGINFO_CODESET
  49338. +# include <langinfo.h>
  49339. +#endif
  49340. +#include <stdlib.h>
  49341. +#include <string.h>
  49342. +struct tm t;
  49343. +char buf[16];
  49344. +int main ()
  49345. +{
  49346. + const char *p;
  49347. + /* Check whether the given locale name is recognized by the system. */
  49348. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  49349. + /* On native Win32, setlocale(category, "") looks at the system settings,
  49350. + not at the environment variables. Also, when an encoding suffix such
  49351. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  49352. + category of the locale to "C". */
  49353. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  49354. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  49355. + return 1;
  49356. +#else
  49357. + if (setlocale (LC_ALL, "") == NULL) return 1;
  49358. +#endif
  49359. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  49360. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  49361. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  49362. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  49363. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  49364. + some unit tests fail.
  49365. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  49366. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  49367. +#if HAVE_LANGINFO_CODESET
  49368. + {
  49369. + const char *cs = nl_langinfo (CODESET);
  49370. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  49371. + || strcmp (cs, "UTF-8") == 0)
  49372. + return 1;
  49373. + }
  49374. +#endif
  49375. +#ifdef __CYGWIN__
  49376. + /* On Cygwin, avoid locale names without encoding suffix, because the
  49377. + locale_charset() function relies on the encoding suffix. Note that
  49378. + LC_ALL is set on the command line. */
  49379. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  49380. +#endif
  49381. + /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales
  49382. + on Cygwin 1.5.x. */
  49383. + if (MB_CUR_MAX == 1)
  49384. + return 1;
  49385. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  49386. + This excludes the UTF-8 encoding (except on MirBSD). */
  49387. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  49388. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  49389. + for (p = buf; *p != '\0'; p++)
  49390. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  49391. + return 1;
  49392. + return 0;
  49393. +}
  49394. +
  49395. +_ACEOF
  49396. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  49397. + (eval $ac_link) 2>&5
  49398. + ac_status=$?
  49399. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  49400. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  49401. + case "$host_os" in
  49402. + # Handle native Windows specially, because there setlocale() interprets
  49403. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  49404. + # "fr" or "fra" as "French" or "French_France.1252",
  49405. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  49406. + # "ja" as "Japanese" or "Japanese_Japan.932",
  49407. + # and similar.
  49408. + mingw*)
  49409. + # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
  49410. + # and CP932 is very different from EUC-JP, so we cannot use it here.
  49411. + gt_cv_locale_ja=none
  49412. + ;;
  49413. + *)
  49414. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  49415. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  49416. + # configure script would override the LC_ALL setting. Likewise for
  49417. + # LC_CTYPE, which is also set at the beginning of the configure script.
  49418. + # Test for the AIX locale name.
  49419. + if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  49420. + gt_cv_locale_ja=ja_JP
  49421. + else
  49422. + # Test for the locale name with explicit encoding suffix.
  49423. + if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  49424. + gt_cv_locale_ja=ja_JP.EUC-JP
  49425. + else
  49426. + # Test for the HP-UX, OSF/1, NetBSD locale name.
  49427. + if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  49428. + gt_cv_locale_ja=ja_JP.eucJP
  49429. + else
  49430. + # Test for the IRIX, FreeBSD locale name.
  49431. + if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  49432. + gt_cv_locale_ja=ja_JP.EUC
  49433. + else
  49434. + # Test for the Solaris 7 locale name.
  49435. + if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  49436. + gt_cv_locale_ja=ja
  49437. + else
  49438. + # Special test for NetBSD 1.6.
  49439. + if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
  49440. + gt_cv_locale_ja=ja_JP.eucJP
  49441. + else
  49442. + # None found.
  49443. + gt_cv_locale_ja=none
  49444. + fi
  49445. + fi
  49446. + fi
  49447. + fi
  49448. + fi
  49449. + fi
  49450. + ;;
  49451. + esac
  49452. + fi
  49453. + rm -fr conftest*
  49454. +
  49455. +fi
  49456. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
  49457. +$as_echo "$gt_cv_locale_ja" >&6; }
  49458. + LOCALE_JA=$gt_cv_locale_ja
  49459. +
  49460. +
  49461. +
  49462. +
  49463. +
  49464. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
  49465. +$as_echo_n "checking for a transitional chinese locale... " >&6; }
  49466. +if ${gt_cv_locale_zh_CN+:} false; then :
  49467. + $as_echo_n "(cached) " >&6
  49468. +else
  49469. +
  49470. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49471. +/* end confdefs.h. */
  49472. +
  49473. +#include <locale.h>
  49474. +#include <stdlib.h>
  49475. +#include <time.h>
  49476. +#if HAVE_LANGINFO_CODESET
  49477. +# include <langinfo.h>
  49478. +#endif
  49479. +#include <stdlib.h>
  49480. +#include <string.h>
  49481. +struct tm t;
  49482. +char buf[16];
  49483. +int main ()
  49484. +{
  49485. + const char *p;
  49486. + /* Check whether the given locale name is recognized by the system. */
  49487. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  49488. + /* On native Win32, setlocale(category, "") looks at the system settings,
  49489. + not at the environment variables. Also, when an encoding suffix such
  49490. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  49491. + category of the locale to "C". */
  49492. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  49493. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  49494. + return 1;
  49495. +#else
  49496. + if (setlocale (LC_ALL, "") == NULL) return 1;
  49497. +#endif
  49498. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  49499. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  49500. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  49501. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  49502. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  49503. + some unit tests fail.
  49504. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  49505. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  49506. +#if HAVE_LANGINFO_CODESET
  49507. + {
  49508. + const char *cs = nl_langinfo (CODESET);
  49509. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  49510. + || strcmp (cs, "UTF-8") == 0)
  49511. + return 1;
  49512. + }
  49513. +#endif
  49514. +#ifdef __CYGWIN__
  49515. + /* On Cygwin, avoid locale names without encoding suffix, because the
  49516. + locale_charset() function relies on the encoding suffix. Note that
  49517. + LC_ALL is set on the command line. */
  49518. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  49519. +#endif
  49520. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  49521. + This excludes the UTF-8 encoding (except on MirBSD). */
  49522. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  49523. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  49524. + for (p = buf; *p != '\0'; p++)
  49525. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  49526. + return 1;
  49527. + /* Check whether a typical GB18030 multibyte sequence is recognized as a
  49528. + single wide character. This excludes the GB2312 and GBK encodings. */
  49529. + if (mblen ("\203\062\332\066", 5) != 4)
  49530. + return 1;
  49531. + return 0;
  49532. +}
  49533. +
  49534. +_ACEOF
  49535. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  49536. + (eval $ac_link) 2>&5
  49537. + ac_status=$?
  49538. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  49539. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  49540. + case "$host_os" in
  49541. + # Handle native Windows specially, because there setlocale() interprets
  49542. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  49543. + # "fr" or "fra" as "French" or "French_France.1252",
  49544. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  49545. + # "ja" as "Japanese" or "Japanese_Japan.932",
  49546. + # and similar.
  49547. + mingw*)
  49548. + # Test for the hypothetical native Win32 locale name.
  49549. + if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  49550. + gt_cv_locale_zh_CN=Chinese_China.54936
  49551. + else
  49552. + # None found.
  49553. + gt_cv_locale_zh_CN=none
  49554. + fi
  49555. + ;;
  49556. + *)
  49557. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  49558. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  49559. + # configure script would override the LC_ALL setting. Likewise for
  49560. + # LC_CTYPE, which is also set at the beginning of the configure script.
  49561. + # Test for the locale name without encoding suffix.
  49562. + if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  49563. + gt_cv_locale_zh_CN=zh_CN
  49564. + else
  49565. + # Test for the locale name with explicit encoding suffix.
  49566. + if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  49567. + gt_cv_locale_zh_CN=zh_CN.GB18030
  49568. + else
  49569. + # None found.
  49570. + gt_cv_locale_zh_CN=none
  49571. + fi
  49572. + fi
  49573. + ;;
  49574. + esac
  49575. + else
  49576. + # If there was a link error, due to mblen(), the system is so old that
  49577. + # it certainly doesn't have a chinese locale.
  49578. + gt_cv_locale_zh_CN=none
  49579. + fi
  49580. + rm -fr conftest*
  49581. +
  49582. +fi
  49583. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
  49584. +$as_echo "$gt_cv_locale_zh_CN" >&6; }
  49585. + LOCALE_ZH_CN=$gt_cv_locale_zh_CN
  49586. +
  49587. +
  49588. +
  49589. +
  49590. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  49591. +$as_echo_n "checking for a french Unicode locale... " >&6; }
  49592. +if ${gt_cv_locale_fr_utf8+:} false; then :
  49593. + $as_echo_n "(cached) " >&6
  49594. +else
  49595. +
  49596. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49597. +/* end confdefs.h. */
  49598. +
  49599. +#include <locale.h>
  49600. +#include <time.h>
  49601. +#if HAVE_LANGINFO_CODESET
  49602. +# include <langinfo.h>
  49603. +#endif
  49604. +#include <stdlib.h>
  49605. +#include <string.h>
  49606. +struct tm t;
  49607. +char buf[16];
  49608. +int main () {
  49609. + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl
  49610. + imitates locale dependent behaviour by looking at the environment
  49611. + variables, and all locales use the UTF-8 encoding. */
  49612. +#if !(defined __BEOS__ || defined __HAIKU__)
  49613. + /* Check whether the given locale name is recognized by the system. */
  49614. +# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  49615. + /* On native Win32, setlocale(category, "") looks at the system settings,
  49616. + not at the environment variables. Also, when an encoding suffix such
  49617. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  49618. + category of the locale to "C". */
  49619. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  49620. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  49621. + return 1;
  49622. +# else
  49623. + if (setlocale (LC_ALL, "") == NULL) return 1;
  49624. +# endif
  49625. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  49626. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  49627. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  49628. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  49629. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  49630. + some unit tests fail. */
  49631. +# if HAVE_LANGINFO_CODESET
  49632. + {
  49633. + const char *cs = nl_langinfo (CODESET);
  49634. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  49635. + return 1;
  49636. + }
  49637. +# endif
  49638. +# ifdef __CYGWIN__
  49639. + /* On Cygwin, avoid locale names without encoding suffix, because the
  49640. + locale_charset() function relies on the encoding suffix. Note that
  49641. + LC_ALL is set on the command line. */
  49642. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  49643. +# endif
  49644. + /* Check whether in the abbreviation of the second month, the second
  49645. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
  49646. + two bytes long, with UTF-8 encoding. */
  49647. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  49648. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  49649. + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
  49650. + return 1;
  49651. +#endif
  49652. + /* Check whether the decimal separator is a comma.
  49653. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  49654. + are nl_langinfo(RADIXCHAR) are both ".". */
  49655. + if (localeconv () ->decimal_point[0] != ',') return 1;
  49656. + return 0;
  49657. +}
  49658. +
  49659. +_ACEOF
  49660. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  49661. + (eval $ac_link) 2>&5
  49662. + ac_status=$?
  49663. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  49664. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  49665. + case "$host_os" in
  49666. + # Handle native Windows specially, because there setlocale() interprets
  49667. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  49668. + # "fr" or "fra" as "French" or "French_France.1252",
  49669. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  49670. + # "ja" as "Japanese" or "Japanese_Japan.932",
  49671. + # and similar.
  49672. + mingw*)
  49673. + # Test for the hypothetical native Win32 locale name.
  49674. + if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  49675. + gt_cv_locale_fr_utf8=French_France.65001
  49676. + else
  49677. + # None found.
  49678. + gt_cv_locale_fr_utf8=none
  49679. + fi
  49680. + ;;
  49681. + *)
  49682. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  49683. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  49684. + # configure script would override the LC_ALL setting. Likewise for
  49685. + # LC_CTYPE, which is also set at the beginning of the configure script.
  49686. + # Test for the usual locale name.
  49687. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  49688. + gt_cv_locale_fr_utf8=fr_FR
  49689. + else
  49690. + # Test for the locale name with explicit encoding suffix.
  49691. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  49692. + gt_cv_locale_fr_utf8=fr_FR.UTF-8
  49693. + else
  49694. + # Test for the Solaris 7 locale name.
  49695. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  49696. + gt_cv_locale_fr_utf8=fr.UTF-8
  49697. + else
  49698. + # None found.
  49699. + gt_cv_locale_fr_utf8=none
  49700. + fi
  49701. + fi
  49702. + fi
  49703. + ;;
  49704. + esac
  49705. + fi
  49706. + rm -fr conftest*
  49707. +
  49708. +fi
  49709. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
  49710. +$as_echo "$gt_cv_locale_fr_utf8" >&6; }
  49711. + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
  49712. +
  49713. +
  49714. +
  49715. +
  49716. +
  49717. +
  49718. +
  49719. + GNULIB_MEMCHR=0;
  49720. + GNULIB_MEMMEM=0;
  49721. + GNULIB_MEMPCPY=0;
  49722. + GNULIB_MEMRCHR=0;
  49723. + GNULIB_RAWMEMCHR=0;
  49724. + GNULIB_STPCPY=0;
  49725. + GNULIB_STPNCPY=0;
  49726. + GNULIB_STRCHRNUL=0;
  49727. + GNULIB_STRDUP=0;
  49728. + GNULIB_STRNCAT=0;
  49729. + GNULIB_STRNDUP=0;
  49730. + GNULIB_STRNLEN=0;
  49731. + GNULIB_STRPBRK=0;
  49732. + GNULIB_STRSEP=0;
  49733. + GNULIB_STRSTR=0;
  49734. + GNULIB_STRCASESTR=0;
  49735. + GNULIB_STRTOK_R=0;
  49736. + GNULIB_MBSLEN=0;
  49737. + GNULIB_MBSNLEN=0;
  49738. + GNULIB_MBSCHR=0;
  49739. + GNULIB_MBSRCHR=0;
  49740. + GNULIB_MBSSTR=0;
  49741. + GNULIB_MBSCASECMP=0;
  49742. + GNULIB_MBSNCASECMP=0;
  49743. + GNULIB_MBSPCASECMP=0;
  49744. + GNULIB_MBSCASESTR=0;
  49745. + GNULIB_MBSCSPN=0;
  49746. + GNULIB_MBSPBRK=0;
  49747. + GNULIB_MBSSPN=0;
  49748. + GNULIB_MBSSEP=0;
  49749. + GNULIB_MBSTOK_R=0;
  49750. + GNULIB_STRERROR=0;
  49751. + GNULIB_STRERROR_R=0;
  49752. + GNULIB_STRSIGNAL=0;
  49753. + GNULIB_STRVERSCMP=0;
  49754. + HAVE_MBSLEN=0;
  49755. + HAVE_MEMCHR=1;
  49756. + HAVE_DECL_MEMMEM=1;
  49757. + HAVE_MEMPCPY=1;
  49758. + HAVE_DECL_MEMRCHR=1;
  49759. + HAVE_RAWMEMCHR=1;
  49760. + HAVE_STPCPY=1;
  49761. + HAVE_STPNCPY=1;
  49762. + HAVE_STRCHRNUL=1;
  49763. + HAVE_DECL_STRDUP=1;
  49764. + HAVE_DECL_STRNDUP=1;
  49765. + HAVE_DECL_STRNLEN=1;
  49766. + HAVE_STRPBRK=1;
  49767. + HAVE_STRSEP=1;
  49768. + HAVE_STRCASESTR=1;
  49769. + HAVE_DECL_STRTOK_R=1;
  49770. + HAVE_DECL_STRERROR_R=1;
  49771. + HAVE_DECL_STRSIGNAL=1;
  49772. + HAVE_STRVERSCMP=1;
  49773. + REPLACE_MEMCHR=0;
  49774. + REPLACE_MEMMEM=0;
  49775. + REPLACE_STPNCPY=0;
  49776. + REPLACE_STRDUP=0;
  49777. + REPLACE_STRSTR=0;
  49778. + REPLACE_STRCASESTR=0;
  49779. + REPLACE_STRERROR=0;
  49780. + REPLACE_STRERROR_R=0;
  49781. + REPLACE_STRNCAT=0;
  49782. + REPLACE_STRNDUP=0;
  49783. + REPLACE_STRNLEN=0;
  49784. + REPLACE_STRSIGNAL=0;
  49785. + REPLACE_STRTOK_R=0;
  49786. + UNDEFINE_STRTOK_R=0;
  49787. +
  49788. +
  49789. +
  49790. +
  49791. +
  49792. +
  49793. +
  49794. + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
  49795. + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  49796. + # irrelevant for anonymous mappings.
  49797. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  49798. +if test "x$ac_cv_func_mmap" = xyes; then :
  49799. + gl_have_mmap=yes
  49800. +else
  49801. + gl_have_mmap=no
  49802. +fi
  49803. +
  49804. +
  49805. + # Try to allow MAP_ANONYMOUS.
  49806. + gl_have_mmap_anonymous=no
  49807. + if test $gl_have_mmap = yes; then
  49808. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
  49809. +$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
  49810. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49811. +/* end confdefs.h. */
  49812. +
  49813. +#include <sys/mman.h>
  49814. +#ifdef MAP_ANONYMOUS
  49815. + I cant identify this map.
  49816. +#endif
  49817. +
  49818. +_ACEOF
  49819. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  49820. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  49821. + gl_have_mmap_anonymous=yes
  49822. +fi
  49823. +rm -f conftest*
  49824. +
  49825. + if test $gl_have_mmap_anonymous != yes; then
  49826. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49827. +/* end confdefs.h. */
  49828. +
  49829. +#include <sys/mman.h>
  49830. +#ifdef MAP_ANON
  49831. + I cant identify this map.
  49832. +#endif
  49833. +
  49834. +_ACEOF
  49835. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  49836. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  49837. +
  49838. +$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
  49839. +
  49840. + gl_have_mmap_anonymous=yes
  49841. +fi
  49842. +rm -f conftest*
  49843. +
  49844. + fi
  49845. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
  49846. +$as_echo "$gl_have_mmap_anonymous" >&6; }
  49847. + if test $gl_have_mmap_anonymous = yes; then
  49848. +
  49849. +$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
  49850. +
  49851. + fi
  49852. + fi
  49853. +
  49854. +
  49855. +
  49856. +
  49857. +
  49858. +
  49859. + if test $ac_cv_func_memchr = yes; then
  49860. + # Detect platform-specific bugs in some versions of glibc:
  49861. + # memchr should not dereference anything with length 0
  49862. + # http://bugzilla.redhat.com/499689
  49863. + # memchr should not dereference overestimated length after a match
  49864. + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737
  49865. + # http://sourceware.org/bugzilla/show_bug.cgi?id=10162
  49866. + # Assume that memchr works on platforms that lack mprotect.
  49867. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5
  49868. +$as_echo_n "checking whether memchr works... " >&6; }
  49869. +if ${gl_cv_func_memchr_works+:} false; then :
  49870. + $as_echo_n "(cached) " >&6
  49871. +else
  49872. + if test "$cross_compiling" = yes; then :
  49873. + gl_cv_func_memchr_works="guessing no"
  49874. +else
  49875. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49876. +/* end confdefs.h. */
  49877. +
  49878. +#include <string.h>
  49879. +#if HAVE_SYS_MMAN_H
  49880. +# include <fcntl.h>
  49881. +# include <unistd.h>
  49882. +# include <sys/types.h>
  49883. +# include <sys/mman.h>
  49884. +# ifndef MAP_FILE
  49885. +# define MAP_FILE 0
  49886. +# endif
  49887. +#endif
  49888. +
  49889. +int
  49890. +main ()
  49891. +{
  49892. +
  49893. + int result = 0;
  49894. + char *fence = NULL;
  49895. +#if HAVE_SYS_MMAN_H && HAVE_MPROTECT
  49896. +# if HAVE_MAP_ANONYMOUS
  49897. + const int flags = MAP_ANONYMOUS | MAP_PRIVATE;
  49898. + const int fd = -1;
  49899. +# else /* !HAVE_MAP_ANONYMOUS */
  49900. + const int flags = MAP_FILE | MAP_PRIVATE;
  49901. + int fd = open ("/dev/zero", O_RDONLY, 0666);
  49902. + if (fd >= 0)
  49903. +# endif
  49904. + {
  49905. + int pagesize = getpagesize ();
  49906. + char *two_pages =
  49907. + (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
  49908. + flags, fd, 0);
  49909. + if (two_pages != (char *)(-1)
  49910. + && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0)
  49911. + fence = two_pages + pagesize;
  49912. + }
  49913. +#endif
  49914. + if (fence)
  49915. + {
  49916. + if (memchr (fence, 0, 0))
  49917. + result |= 1;
  49918. + strcpy (fence - 9, "12345678");
  49919. + if (memchr (fence - 9, 0, 79) != fence - 1)
  49920. + result |= 2;
  49921. + if (memchr (fence - 1, 0, 3) != fence - 1)
  49922. + result |= 4;
  49923. + }
  49924. + return result;
  49925. +
  49926. + ;
  49927. + return 0;
  49928. +}
  49929. +_ACEOF
  49930. +if ac_fn_c_try_run "$LINENO"; then :
  49931. + gl_cv_func_memchr_works=yes
  49932. +else
  49933. + gl_cv_func_memchr_works=no
  49934. +fi
  49935. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  49936. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  49937. +fi
  49938. +
  49939. +fi
  49940. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5
  49941. +$as_echo "$gl_cv_func_memchr_works" >&6; }
  49942. + if test "$gl_cv_func_memchr_works" != yes; then
  49943. + REPLACE_MEMCHR=1
  49944. + fi
  49945. + else
  49946. + HAVE_MEMCHR=0
  49947. + fi
  49948. + if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
  49949. +
  49950. +
  49951. +
  49952. +
  49953. +
  49954. +
  49955. +
  49956. +
  49957. + M4_LIBOBJS="$M4_LIBOBJS memchr.$ac_objext"
  49958. +
  49959. +
  49960. + for ac_header in bp-sym.h
  49961. +do :
  49962. + ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default"
  49963. +if test "x$ac_cv_header_bp_sym_h" = xyes; then :
  49964. + cat >>confdefs.h <<_ACEOF
  49965. +@%:@define HAVE_BP_SYM_H 1
  49966. +_ACEOF
  49967. +
  49968. +fi
  49969. +
  49970. +done
  49971. +
  49972. +
  49973. + fi
  49974. +
  49975. +@%:@ Check whether --enable-largefile was given.
  49976. +if test "${enable_largefile+set}" = set; then :
  49977. + enableval=$enable_largefile;
  49978. +fi
  49979. +
  49980. +if test "$enable_largefile" != no; then
  49981. +
  49982. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  49983. +$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  49984. +if ${ac_cv_sys_largefile_CC+:} false; then :
  49985. + $as_echo_n "(cached) " >&6
  49986. +else
  49987. + ac_cv_sys_largefile_CC=no
  49988. + if test "$GCC" != yes; then
  49989. + ac_save_CC=$CC
  49990. + while :; do
  49991. + # IRIX 6.2 and later do not support large files by default,
  49992. + # so use the C compiler's -n32 option if that helps.
  49993. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49994. +/* end confdefs.h. */
  49995. +@%:@include <sys/types.h>
  49996. + /* Check that off_t can represent 2**63 - 1 correctly.
  49997. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  49998. + since some C++ compilers masquerading as C compilers
  49999. + incorrectly reject 9223372036854775807. */
  50000. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  50001. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  50002. + && LARGE_OFF_T % 2147483647 == 1)
  50003. + ? 1 : -1];
  50004. +int
  50005. +main ()
  50006. +{
  50007. +
  50008. + ;
  50009. + return 0;
  50010. +}
  50011. +_ACEOF
  50012. + if ac_fn_c_try_compile "$LINENO"; then :
  50013. + break
  50014. +fi
  50015. +rm -f core conftest.err conftest.$ac_objext
  50016. + CC="$CC -n32"
  50017. + if ac_fn_c_try_compile "$LINENO"; then :
  50018. + ac_cv_sys_largefile_CC=' -n32'; break
  50019. +fi
  50020. +rm -f core conftest.err conftest.$ac_objext
  50021. + break
  50022. + done
  50023. + CC=$ac_save_CC
  50024. + rm -f conftest.$ac_ext
  50025. + fi
  50026. +fi
  50027. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  50028. +$as_echo "$ac_cv_sys_largefile_CC" >&6; }
  50029. + if test "$ac_cv_sys_largefile_CC" != no; then
  50030. + CC=$CC$ac_cv_sys_largefile_CC
  50031. + fi
  50032. +
  50033. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  50034. +$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  50035. +if ${ac_cv_sys_file_offset_bits+:} false; then :
  50036. + $as_echo_n "(cached) " >&6
  50037. +else
  50038. + while :; do
  50039. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50040. +/* end confdefs.h. */
  50041. +@%:@include <sys/types.h>
  50042. + /* Check that off_t can represent 2**63 - 1 correctly.
  50043. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  50044. + since some C++ compilers masquerading as C compilers
  50045. + incorrectly reject 9223372036854775807. */
  50046. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  50047. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  50048. + && LARGE_OFF_T % 2147483647 == 1)
  50049. + ? 1 : -1];
  50050. +int
  50051. +main ()
  50052. +{
  50053. +
  50054. + ;
  50055. + return 0;
  50056. +}
  50057. +_ACEOF
  50058. +if ac_fn_c_try_compile "$LINENO"; then :
  50059. + ac_cv_sys_file_offset_bits=no; break
  50060. +fi
  50061. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  50062. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50063. +/* end confdefs.h. */
  50064. +@%:@define _FILE_OFFSET_BITS 64
  50065. +@%:@include <sys/types.h>
  50066. + /* Check that off_t can represent 2**63 - 1 correctly.
  50067. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  50068. + since some C++ compilers masquerading as C compilers
  50069. + incorrectly reject 9223372036854775807. */
  50070. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  50071. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  50072. + && LARGE_OFF_T % 2147483647 == 1)
  50073. + ? 1 : -1];
  50074. +int
  50075. +main ()
  50076. +{
  50077. +
  50078. + ;
  50079. + return 0;
  50080. +}
  50081. +_ACEOF
  50082. +if ac_fn_c_try_compile "$LINENO"; then :
  50083. + ac_cv_sys_file_offset_bits=64; break
  50084. +fi
  50085. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  50086. + ac_cv_sys_file_offset_bits=unknown
  50087. + break
  50088. +done
  50089. +fi
  50090. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  50091. +$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  50092. +case $ac_cv_sys_file_offset_bits in #(
  50093. + no | unknown) ;;
  50094. + *)
  50095. +cat >>confdefs.h <<_ACEOF
  50096. +@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
  50097. +_ACEOF
  50098. +;;
  50099. +esac
  50100. +rm -rf conftest*
  50101. + if test $ac_cv_sys_file_offset_bits = unknown; then
  50102. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  50103. +$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  50104. +if ${ac_cv_sys_large_files+:} false; then :
  50105. + $as_echo_n "(cached) " >&6
  50106. +else
  50107. + while :; do
  50108. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50109. +/* end confdefs.h. */
  50110. +@%:@include <sys/types.h>
  50111. + /* Check that off_t can represent 2**63 - 1 correctly.
  50112. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  50113. + since some C++ compilers masquerading as C compilers
  50114. + incorrectly reject 9223372036854775807. */
  50115. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  50116. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  50117. + && LARGE_OFF_T % 2147483647 == 1)
  50118. + ? 1 : -1];
  50119. +int
  50120. +main ()
  50121. +{
  50122. +
  50123. + ;
  50124. + return 0;
  50125. +}
  50126. +_ACEOF
  50127. +if ac_fn_c_try_compile "$LINENO"; then :
  50128. + ac_cv_sys_large_files=no; break
  50129. +fi
  50130. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  50131. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50132. +/* end confdefs.h. */
  50133. +@%:@define _LARGE_FILES 1
  50134. +@%:@include <sys/types.h>
  50135. + /* Check that off_t can represent 2**63 - 1 correctly.
  50136. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  50137. + since some C++ compilers masquerading as C compilers
  50138. + incorrectly reject 9223372036854775807. */
  50139. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  50140. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  50141. + && LARGE_OFF_T % 2147483647 == 1)
  50142. + ? 1 : -1];
  50143. +int
  50144. +main ()
  50145. +{
  50146. +
  50147. + ;
  50148. + return 0;
  50149. +}
  50150. +_ACEOF
  50151. +if ac_fn_c_try_compile "$LINENO"; then :
  50152. + ac_cv_sys_large_files=1; break
  50153. +fi
  50154. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  50155. + ac_cv_sys_large_files=unknown
  50156. + break
  50157. +done
  50158. +fi
  50159. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  50160. +$as_echo "$ac_cv_sys_large_files" >&6; }
  50161. +case $ac_cv_sys_large_files in #(
  50162. + no | unknown) ;;
  50163. + *)
  50164. +cat >>confdefs.h <<_ACEOF
  50165. +@%:@define _LARGE_FILES $ac_cv_sys_large_files
  50166. +_ACEOF
  50167. +;;
  50168. +esac
  50169. +rm -rf conftest*
  50170. + fi
  50171. +
  50172. +
  50173. +fi
  50174. +
  50175. +
  50176. +
  50177. +
  50178. + gl_cv_c_multiarch=no
  50179. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50180. +/* end confdefs.h. */
  50181. +#ifndef __APPLE_CC__
  50182. + not a universal capable compiler
  50183. + #endif
  50184. + typedef int dummy;
  50185. +
  50186. +_ACEOF
  50187. +if ac_fn_c_try_compile "$LINENO"; then :
  50188. +
  50189. + arch=
  50190. + prev=
  50191. + for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do
  50192. + if test -n "$prev"; then
  50193. + case $word in
  50194. + i?86 | x86_64 | ppc | ppc64)
  50195. + if test -z "$arch" || test "$arch" = "$word"; then
  50196. + arch="$word"
  50197. + else
  50198. + gl_cv_c_multiarch=yes
  50199. + fi
  50200. + ;;
  50201. + esac
  50202. + prev=
  50203. + else
  50204. + if test "x$word" = "x-arch"; then
  50205. + prev=arch
  50206. + fi
  50207. + fi
  50208. + done
  50209. +
  50210. +fi
  50211. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  50212. + if test $gl_cv_c_multiarch = yes; then
  50213. + APPLE_UNIVERSAL_BUILD=1
  50214. + else
  50215. + APPLE_UNIVERSAL_BUILD=0
  50216. + fi
  50217. +
  50218. +
  50219. +
  50220. +
  50221. +
  50222. +
  50223. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for promoted mode_t type" >&5
  50224. +$as_echo_n "checking for promoted mode_t type... " >&6; }
  50225. +if ${gl_cv_promoted_mode_t+:} false; then :
  50226. + $as_echo_n "(cached) " >&6
  50227. +else
  50228. +
  50229. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50230. +/* end confdefs.h. */
  50231. +#include <sys/types.h>
  50232. +int
  50233. +main ()
  50234. +{
  50235. +typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1];
  50236. + ;
  50237. + return 0;
  50238. +}
  50239. +_ACEOF
  50240. +if ac_fn_c_try_compile "$LINENO"; then :
  50241. + gl_cv_promoted_mode_t='int'
  50242. +else
  50243. + gl_cv_promoted_mode_t='mode_t'
  50244. +fi
  50245. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  50246. +
  50247. +fi
  50248. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_promoted_mode_t" >&5
  50249. +$as_echo "$gl_cv_promoted_mode_t" >&6; }
  50250. +
  50251. +cat >>confdefs.h <<_ACEOF
  50252. +@%:@define PROMOTED_MODE_T $gl_cv_promoted_mode_t
  50253. +_ACEOF
  50254. +
  50255. +
  50256. +
  50257. +
  50258. +
  50259. +
  50260. +
  50261. + GNULIB_POSIX_SPAWN=0;
  50262. + GNULIB_POSIX_SPAWNP=0;
  50263. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT=0;
  50264. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE=0;
  50265. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2=0;
  50266. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN=0;
  50267. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY=0;
  50268. + GNULIB_POSIX_SPAWNATTR_INIT=0;
  50269. + GNULIB_POSIX_SPAWNATTR_GETFLAGS=0;
  50270. + GNULIB_POSIX_SPAWNATTR_SETFLAGS=0;
  50271. + GNULIB_POSIX_SPAWNATTR_GETPGROUP=0;
  50272. + GNULIB_POSIX_SPAWNATTR_SETPGROUP=0;
  50273. + GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM=0;
  50274. + GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM=0;
  50275. + GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY=0;
  50276. + GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY=0;
  50277. + GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT=0;
  50278. + GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT=0;
  50279. + GNULIB_POSIX_SPAWNATTR_GETSIGMASK=0;
  50280. + GNULIB_POSIX_SPAWNATTR_SETSIGMASK=0;
  50281. + GNULIB_POSIX_SPAWNATTR_DESTROY=0;
  50282. + HAVE_POSIX_SPAWN=1;
  50283. + HAVE_POSIX_SPAWNATTR_T=1;
  50284. + HAVE_POSIX_SPAWN_FILE_ACTIONS_T=1;
  50285. +
  50286. + REPLACE_POSIX_SPAWN=0;
  50287. +
  50288. +
  50289. +
  50290. +
  50291. +
  50292. +
  50293. +
  50294. + if test $ac_cv_func_posix_spawn != yes; then
  50295. + HAVE_POSIX_SPAWN=0
  50296. + fi
  50297. +
  50298. +
  50299. +
  50300. +
  50301. + if test $ac_cv_func_posix_spawn = yes; then
  50302. +
  50303. +
  50304. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawn works" >&5
  50305. +$as_echo_n "checking whether posix_spawn works... " >&6; }
  50306. +if ${gl_cv_func_posix_spawn_works+:} false; then :
  50307. + $as_echo_n "(cached) " >&6
  50308. +else
  50309. + if test $cross_compiling = no; then
  50310. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50311. +/* end confdefs.h. */
  50312. +
  50313. +#include <errno.h>
  50314. +#include <fcntl.h>
  50315. +#include <signal.h>
  50316. +#include <spawn.h>
  50317. +#include <stdbool.h>
  50318. +#include <stdio.h>
  50319. +#include <stdlib.h>
  50320. +#include <string.h>
  50321. +#include <unistd.h>
  50322. +#include <sys/types.h>
  50323. +#include <sys/wait.h>
  50324. +
  50325. +extern char **environ;
  50326. +
  50327. +#ifndef STDIN_FILENO
  50328. +# define STDIN_FILENO 0
  50329. +#endif
  50330. +#ifndef STDOUT_FILENO
  50331. +# define STDOUT_FILENO 1
  50332. +#endif
  50333. +#ifndef STDERR_FILENO
  50334. +# define STDERR_FILENO 2
  50335. +#endif
  50336. +
  50337. +#ifndef WTERMSIG
  50338. +# define WTERMSIG(x) ((x) & 0x7f)
  50339. +#endif
  50340. +#ifndef WIFEXITED
  50341. +# define WIFEXITED(x) (WTERMSIG (x) == 0)
  50342. +#endif
  50343. +#ifndef WEXITSTATUS
  50344. +# define WEXITSTATUS(x) (((x) >> 8) & 0xff)
  50345. +#endif
  50346. +
  50347. +#define CHILD_PROGRAM_FILENAME "/non/exist/ent"
  50348. +
  50349. +static int
  50350. +fd_safer (int fd)
  50351. +{
  50352. + if (0 <= fd && fd <= 2)
  50353. + {
  50354. + int f = fd_safer (dup (fd));
  50355. + int e = errno;
  50356. + close (fd);
  50357. + errno = e;
  50358. + fd = f;
  50359. + }
  50360. +
  50361. + return fd;
  50362. +}
  50363. +
  50364. +int
  50365. +main ()
  50366. +{
  50367. + char *argv[2] = { CHILD_PROGRAM_FILENAME, NULL };
  50368. + int ofd[2];
  50369. + sigset_t blocked_signals;
  50370. + sigset_t fatal_signal_set;
  50371. + posix_spawn_file_actions_t actions;
  50372. + bool actions_allocated;
  50373. + posix_spawnattr_t attrs;
  50374. + bool attrs_allocated;
  50375. + int err;
  50376. + pid_t child;
  50377. + int status;
  50378. + int exitstatus;
  50379. +
  50380. + setvbuf (stdout, NULL, _IOFBF, 0);
  50381. + puts ("This should be seen only once.");
  50382. + if (pipe (ofd) < 0 || (ofd[1] = fd_safer (ofd[1])) < 0)
  50383. + {
  50384. + perror ("cannot create pipe");
  50385. + exit (1);
  50386. + }
  50387. + sigprocmask (SIG_SETMASK, NULL, &blocked_signals);
  50388. + sigemptyset (&fatal_signal_set);
  50389. + sigaddset (&fatal_signal_set, SIGINT);
  50390. + sigaddset (&fatal_signal_set, SIGTERM);
  50391. + sigaddset (&fatal_signal_set, SIGHUP);
  50392. + sigaddset (&fatal_signal_set, SIGPIPE);
  50393. + sigprocmask (SIG_BLOCK, &fatal_signal_set, NULL);
  50394. + actions_allocated = false;
  50395. + attrs_allocated = false;
  50396. + if ((err = posix_spawn_file_actions_init (&actions)) != 0
  50397. + || (actions_allocated = true,
  50398. + (err = posix_spawn_file_actions_adddup2 (&actions, ofd[0], STDIN_FILENO)) != 0
  50399. + || (err = posix_spawn_file_actions_addclose (&actions, ofd[0])) != 0
  50400. + || (err = posix_spawn_file_actions_addclose (&actions, ofd[1])) != 0
  50401. + || (err = posix_spawnattr_init (&attrs)) != 0
  50402. + || (attrs_allocated = true,
  50403. + (err = posix_spawnattr_setsigmask (&attrs, &blocked_signals)) != 0
  50404. + || (err = posix_spawnattr_setflags (&attrs, POSIX_SPAWN_SETSIGMASK)) != 0)
  50405. + || (err = posix_spawnp (&child, CHILD_PROGRAM_FILENAME, &actions, &attrs, argv, environ)) != 0))
  50406. + {
  50407. + if (actions_allocated)
  50408. + posix_spawn_file_actions_destroy (&actions);
  50409. + if (attrs_allocated)
  50410. + posix_spawnattr_destroy (&attrs);
  50411. + sigprocmask (SIG_UNBLOCK, &fatal_signal_set, NULL);
  50412. + if (err == ENOENT)
  50413. + return 0;
  50414. + else
  50415. + {
  50416. + errno = err;
  50417. + perror ("subprocess failed");
  50418. + exit (1);
  50419. + }
  50420. + }
  50421. + posix_spawn_file_actions_destroy (&actions);
  50422. + posix_spawnattr_destroy (&attrs);
  50423. + sigprocmask (SIG_UNBLOCK, &fatal_signal_set, NULL);
  50424. + close (ofd[0]);
  50425. + close (ofd[1]);
  50426. + status = 0;
  50427. + while (waitpid (child, &status, 0) != child)
  50428. + ;
  50429. + if (!WIFEXITED (status))
  50430. + {
  50431. + fprintf (stderr, "subprocess terminated with unexpected wait status %d\n", status);
  50432. + exit (1);
  50433. + }
  50434. + exitstatus = WEXITSTATUS (status);
  50435. + if (exitstatus != 127)
  50436. + {
  50437. + fprintf (stderr, "subprocess terminated with unexpected exit status %d\n", exitstatus);
  50438. + exit (1);
  50439. + }
  50440. + return 0;
  50441. +}
  50442. +
  50443. +_ACEOF
  50444. +if ac_fn_c_try_link "$LINENO"; then :
  50445. + if test -s conftest$ac_exeext \
  50446. + && ./conftest$ac_exeext > conftest.out \
  50447. + && echo 'This should be seen only once.' > conftest.ok \
  50448. + && cmp conftest.out conftest.ok > /dev/null; then
  50449. + gl_cv_func_posix_spawn_works=yes
  50450. + else
  50451. + gl_cv_func_posix_spawn_works=no
  50452. + fi
  50453. +else
  50454. + gl_cv_func_posix_spawn_works=no
  50455. +fi
  50456. +rm -f core conftest.err conftest.$ac_objext \
  50457. + conftest$ac_exeext conftest.$ac_ext
  50458. + if test $gl_cv_func_posix_spawn_works = yes; then
  50459. + if test "$cross_compiling" = yes; then :
  50460. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  50461. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  50462. +as_fn_error $? "cannot run test program while cross compiling
  50463. +See \`config.log' for more details" "$LINENO" 5; }
  50464. +else
  50465. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50466. +/* end confdefs.h. */
  50467. +
  50468. +/* Test whether posix_spawn_file_actions_addopen supports filename arguments
  50469. + that contain special characters such as '*'. */
  50470. +
  50471. +#include <errno.h>
  50472. +#include <fcntl.h>
  50473. +#include <signal.h>
  50474. +#include <spawn.h>
  50475. +#include <stdbool.h>
  50476. +#include <stdio.h>
  50477. +#include <string.h>
  50478. +#include <unistd.h>
  50479. +#include <sys/types.h>
  50480. +#include <sys/wait.h>
  50481. +
  50482. +extern char **environ;
  50483. +
  50484. +#ifndef STDIN_FILENO
  50485. +# define STDIN_FILENO 0
  50486. +#endif
  50487. +#ifndef STDOUT_FILENO
  50488. +# define STDOUT_FILENO 1
  50489. +#endif
  50490. +#ifndef STDERR_FILENO
  50491. +# define STDERR_FILENO 2
  50492. +#endif
  50493. +
  50494. +#ifndef WTERMSIG
  50495. +# define WTERMSIG(x) ((x) & 0x7f)
  50496. +#endif
  50497. +#ifndef WIFEXITED
  50498. +# define WIFEXITED(x) (WTERMSIG (x) == 0)
  50499. +#endif
  50500. +#ifndef WEXITSTATUS
  50501. +# define WEXITSTATUS(x) (((x) >> 8) & 0xff)
  50502. +#endif
  50503. +
  50504. +#define CHILD_PROGRAM_FILENAME "conftest"
  50505. +#define DATA_FILENAME "conftest%=*#?"
  50506. +
  50507. +static int
  50508. +parent_main (void)
  50509. +{
  50510. + FILE *fp;
  50511. + char *argv[3] = { CHILD_PROGRAM_FILENAME, "-child", NULL };
  50512. + posix_spawn_file_actions_t actions;
  50513. + bool actions_allocated;
  50514. + int err;
  50515. + pid_t child;
  50516. + int status;
  50517. + int exitstatus;
  50518. +
  50519. + /* Create a data file with specific contents. */
  50520. + fp = fopen (DATA_FILENAME, "wb");
  50521. + if (fp == NULL)
  50522. + {
  50523. + perror ("cannot create data file");
  50524. + return 1;
  50525. + }
  50526. + fwrite ("Halle Potta", 1, 11, fp);
  50527. + if (fflush (fp) || fclose (fp))
  50528. + {
  50529. + perror ("cannot prepare data file");
  50530. + return 2;
  50531. + }
  50532. +
  50533. + /* Avoid reading from our stdin, as it could block. */
  50534. + freopen ("/dev/null", "rb", stdin);
  50535. +
  50536. + /* Test whether posix_spawn_file_actions_addopen with this file name
  50537. + actually works, but spawning a child that reads from this file. */
  50538. + actions_allocated = false;
  50539. + if ((err = posix_spawn_file_actions_init (&actions)) != 0
  50540. + || (actions_allocated = true,
  50541. + (err = posix_spawn_file_actions_addopen (&actions, STDIN_FILENO, DATA_FILENAME, O_RDONLY, 0600)) != 0
  50542. + || (err = posix_spawn (&child, CHILD_PROGRAM_FILENAME, &actions, NULL, argv, environ)) != 0))
  50543. + {
  50544. + if (actions_allocated)
  50545. + posix_spawn_file_actions_destroy (&actions);
  50546. + errno = err;
  50547. + perror ("subprocess failed");
  50548. + return 3;
  50549. + }
  50550. + posix_spawn_file_actions_destroy (&actions);
  50551. + status = 0;
  50552. + while (waitpid (child, &status, 0) != child)
  50553. + ;
  50554. + if (!WIFEXITED (status))
  50555. + {
  50556. + fprintf (stderr, "subprocess terminated with unexpected wait status %d\n", status);
  50557. + return 4;
  50558. + }
  50559. + exitstatus = WEXITSTATUS (status);
  50560. + if (exitstatus != 0)
  50561. + {
  50562. + fprintf (stderr, "subprocess terminated with unexpected exit status %d\n", exitstatus);
  50563. + return 5;
  50564. + }
  50565. + return 0;
  50566. +}
  50567. +
  50568. +static int
  50569. +child_main (void)
  50570. +{
  50571. + char buf[1024];
  50572. +
  50573. + /* See if reading from STDIN_FILENO yields the expected contents. */
  50574. + if (fread (buf, 1, sizeof (buf), stdin) == 11
  50575. + && memcmp (buf, "Halle Potta", 11) == 0)
  50576. + return 0;
  50577. + else
  50578. + return 8;
  50579. +}
  50580. +
  50581. +static void
  50582. +cleanup_then_die (int sig)
  50583. +{
  50584. + /* Clean up data file. */
  50585. + unlink (DATA_FILENAME);
  50586. +
  50587. + /* Re-raise the signal and die from it. */
  50588. + signal (sig, SIG_DFL);
  50589. + raise (sig);
  50590. +}
  50591. +
  50592. +int
  50593. +main (int argc, char *argv[])
  50594. +{
  50595. + int exitstatus;
  50596. +
  50597. + if (!(argc > 1 && strcmp (argv[1], "-child") == 0))
  50598. + {
  50599. + /* This is the parent process. */
  50600. + signal (SIGINT, cleanup_then_die);
  50601. + signal (SIGTERM, cleanup_then_die);
  50602. + #ifdef SIGHUP
  50603. + signal (SIGHUP, cleanup_then_die);
  50604. + #endif
  50605. +
  50606. + exitstatus = parent_main ();
  50607. + }
  50608. + else
  50609. + {
  50610. + /* This is the child process. */
  50611. +
  50612. + exitstatus = child_main ();
  50613. + }
  50614. + unlink (DATA_FILENAME);
  50615. + return exitstatus;
  50616. +}
  50617. +
  50618. +_ACEOF
  50619. +if ac_fn_c_try_run "$LINENO"; then :
  50620. +
  50621. +else
  50622. + gl_cv_func_posix_spawn_works=no
  50623. +fi
  50624. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  50625. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  50626. +fi
  50627. +
  50628. + fi
  50629. + else
  50630. + case "$host_os" in
  50631. + aix*) gl_cv_func_posix_spawn_works="guessing no";;
  50632. + *) gl_cv_func_posix_spawn_works="guessing yes";;
  50633. + esac
  50634. + fi
  50635. +
  50636. +fi
  50637. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_posix_spawn_works" >&5
  50638. +$as_echo "$gl_cv_func_posix_spawn_works" >&6; }
  50639. +
  50640. + case "$gl_cv_func_posix_spawn_works" in
  50641. + *yes)
  50642. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawnattr_setschedpolicy is supported" >&5
  50643. +$as_echo_n "checking whether posix_spawnattr_setschedpolicy is supported... " >&6; }
  50644. +if ${gl_cv_func_spawnattr_setschedpolicy+:} false; then :
  50645. + $as_echo_n "(cached) " >&6
  50646. +else
  50647. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50648. +/* end confdefs.h. */
  50649. +
  50650. +#include <spawn.h>
  50651. +#if POSIX_SPAWN_SETSCHEDULER
  50652. + POSIX scheduling supported
  50653. +#endif
  50654. +
  50655. +_ACEOF
  50656. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  50657. + $EGREP "POSIX scheduling supported" >/dev/null 2>&1; then :
  50658. + gl_cv_func_spawnattr_setschedpolicy=yes
  50659. +else
  50660. + gl_cv_func_spawnattr_setschedpolicy=no
  50661. +fi
  50662. +rm -f conftest*
  50663. +
  50664. +
  50665. +fi
  50666. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_spawnattr_setschedpolicy" >&5
  50667. +$as_echo "$gl_cv_func_spawnattr_setschedpolicy" >&6; }
  50668. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawnattr_setschedparam is supported" >&5
  50669. +$as_echo_n "checking whether posix_spawnattr_setschedparam is supported... " >&6; }
  50670. +if ${gl_cv_func_spawnattr_setschedparam+:} false; then :
  50671. + $as_echo_n "(cached) " >&6
  50672. +else
  50673. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50674. +/* end confdefs.h. */
  50675. +
  50676. +#include <spawn.h>
  50677. +#if POSIX_SPAWN_SETSCHEDPARAM
  50678. + POSIX scheduling supported
  50679. +#endif
  50680. +
  50681. +_ACEOF
  50682. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  50683. + $EGREP "POSIX scheduling supported" >/dev/null 2>&1; then :
  50684. + gl_cv_func_spawnattr_setschedparam=yes
  50685. +else
  50686. + gl_cv_func_spawnattr_setschedparam=no
  50687. +fi
  50688. +rm -f conftest*
  50689. +
  50690. +
  50691. +fi
  50692. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_spawnattr_setschedparam" >&5
  50693. +$as_echo "$gl_cv_func_spawnattr_setschedparam" >&6; }
  50694. + ;;
  50695. + *) REPLACE_POSIX_SPAWN=1 ;;
  50696. + esac
  50697. + fi
  50698. +
  50699. +
  50700. +
  50701. +
  50702. +
  50703. +
  50704. +
  50705. +
  50706. +
  50707. +
  50708. + GNULIB_SIGNAL_H_SIGPIPE=0;
  50709. + GNULIB_SIGPROCMASK=0;
  50710. + GNULIB_SIGACTION=0;
  50711. + HAVE_POSIX_SIGNALBLOCKING=1;
  50712. + HAVE_SIGSET_T=1;
  50713. + HAVE_SIGINFO_T=1;
  50714. + HAVE_SIGACTION=1;
  50715. + HAVE_STRUCT_SIGACTION_SA_SIGACTION=1;
  50716. +
  50717. + HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1;
  50718. +
  50719. +
  50720. +
  50721. +
  50722. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
  50723. +$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
  50724. +if ${ac_cv_type_uid_t+:} false; then :
  50725. + $as_echo_n "(cached) " >&6
  50726. +else
  50727. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50728. +/* end confdefs.h. */
  50729. +#include <sys/types.h>
  50730. +
  50731. +_ACEOF
  50732. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  50733. + $EGREP "uid_t" >/dev/null 2>&1; then :
  50734. + ac_cv_type_uid_t=yes
  50735. +else
  50736. + ac_cv_type_uid_t=no
  50737. +fi
  50738. +rm -f conftest*
  50739. +
  50740. +fi
  50741. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
  50742. +$as_echo "$ac_cv_type_uid_t" >&6; }
  50743. +if test $ac_cv_type_uid_t = no; then
  50744. +
  50745. +$as_echo "@%:@define uid_t int" >>confdefs.h
  50746. +
  50747. +
  50748. +$as_echo "@%:@define gid_t int" >>confdefs.h
  50749. +
  50750. +fi
  50751. +
  50752. +
  50753. +
  50754. +
  50755. +
  50756. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5
  50757. +$as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; }
  50758. +if ${gl_cv_func_snprintf_retval_c99+:} false; then :
  50759. + $as_echo_n "(cached) " >&6
  50760. +else
  50761. +
  50762. + if test "$cross_compiling" = yes; then :
  50763. +
  50764. + case "$host_os" in
  50765. + # Guess yes on glibc systems.
  50766. + *-gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  50767. + # Guess yes on FreeBSD >= 5.
  50768. + freebsd[1-4]*) gl_cv_func_snprintf_retval_c99="guessing no";;
  50769. + freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  50770. + # Guess yes on MacOS X >= 10.3.
  50771. + darwin[1-6].*) gl_cv_func_snprintf_retval_c99="guessing no";;
  50772. + darwin*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  50773. + # Guess yes on OpenBSD >= 3.9.
  50774. + openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
  50775. + gl_cv_func_snprintf_retval_c99="guessing no";;
  50776. + openbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  50777. + # Guess yes on Solaris >= 2.10.
  50778. + solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
  50779. + solaris*) gl_cv_func_printf_sizes_c99="guessing no";;
  50780. + # Guess yes on AIX >= 4.
  50781. + aix[1-3]*) gl_cv_func_snprintf_retval_c99="guessing no";;
  50782. + aix*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  50783. + # Guess yes on NetBSD >= 3.
  50784. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
  50785. + gl_cv_func_snprintf_retval_c99="guessing no";;
  50786. + netbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  50787. + # Guess yes on BeOS.
  50788. + beos*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  50789. + # If we don't know, assume the worst.
  50790. + *) gl_cv_func_snprintf_retval_c99="guessing no";;
  50791. + esac
  50792. +
  50793. +else
  50794. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50795. +/* end confdefs.h. */
  50796. +
  50797. +#include <stdio.h>
  50798. +#include <string.h>
  50799. +static char buf[100];
  50800. +int main ()
  50801. +{
  50802. + strcpy (buf, "ABCDEF");
  50803. + if (snprintf (buf, 3, "%d %d", 4567, 89) != 7)
  50804. + return 1;
  50805. + if (snprintf (buf, 0, "%d %d", 4567, 89) != 7)
  50806. + return 2;
  50807. + if (snprintf (NULL, 0, "%d %d", 4567, 89) != 7)
  50808. + return 3;
  50809. + return 0;
  50810. +}
  50811. +_ACEOF
  50812. +if ac_fn_c_try_run "$LINENO"; then :
  50813. + gl_cv_func_snprintf_retval_c99=yes
  50814. +else
  50815. + gl_cv_func_snprintf_retval_c99=no
  50816. +fi
  50817. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  50818. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  50819. +fi
  50820. +
  50821. +
  50822. +fi
  50823. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_retval_c99" >&5
  50824. +$as_echo "$gl_cv_func_snprintf_retval_c99" >&6; }
  50825. +
  50826. +ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
  50827. +if test "x$ac_cv_have_decl_snprintf" = xyes; then :
  50828. + ac_have_decl=1
  50829. +else
  50830. + ac_have_decl=0
  50831. +fi
  50832. +
  50833. +cat >>confdefs.h <<_ACEOF
  50834. +@%:@define HAVE_DECL_SNPRINTF $ac_have_decl
  50835. +_ACEOF
  50836. +
  50837. +
  50838. +
  50839. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
  50840. +$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
  50841. +if ${ac_cv_header_stdbool_h+:} false; then :
  50842. + $as_echo_n "(cached) " >&6
  50843. +else
  50844. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50845. +/* end confdefs.h. */
  50846. +
  50847. + #include <stdbool.h>
  50848. + #ifndef bool
  50849. + "error: bool is not defined"
  50850. + #endif
  50851. + #ifndef false
  50852. + "error: false is not defined"
  50853. + #endif
  50854. + #if false
  50855. + "error: false is not 0"
  50856. + #endif
  50857. + #ifndef true
  50858. + "error: true is not defined"
  50859. + #endif
  50860. + #if true != 1
  50861. + "error: true is not 1"
  50862. + #endif
  50863. + #ifndef __bool_true_false_are_defined
  50864. + "error: __bool_true_false_are_defined is not defined"
  50865. + #endif
  50866. +
  50867. + struct s { _Bool s: 1; _Bool t; } s;
  50868. +
  50869. + char a[true == 1 ? 1 : -1];
  50870. + char b[false == 0 ? 1 : -1];
  50871. + char c[__bool_true_false_are_defined == 1 ? 1 : -1];
  50872. + char d[(bool) 0.5 == true ? 1 : -1];
  50873. + /* See body of main program for 'e'. */
  50874. + char f[(_Bool) 0.0 == false ? 1 : -1];
  50875. + char g[true];
  50876. + char h[sizeof (_Bool)];
  50877. + char i[sizeof s.t];
  50878. + enum { j = false, k = true, l = false * true, m = true * 256 };
  50879. + /* The following fails for
  50880. + HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
  50881. + _Bool n[m];
  50882. + char o[sizeof n == m * sizeof n[0] ? 1 : -1];
  50883. + char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
  50884. + /* Catch a bug in an HP-UX C compiler. See
  50885. + http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
  50886. + http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
  50887. + */
  50888. + _Bool q = true;
  50889. + _Bool *pq = &q;
  50890. +
  50891. +int
  50892. +main ()
  50893. +{
  50894. +
  50895. + bool e = &s;
  50896. + *pq |= q;
  50897. + *pq |= ! q;
  50898. + /* Refer to every declared value, to avoid compiler optimizations. */
  50899. + return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
  50900. + + !m + !n + !o + !p + !q + !pq);
  50901. +
  50902. + ;
  50903. + return 0;
  50904. +}
  50905. +_ACEOF
  50906. +if ac_fn_c_try_compile "$LINENO"; then :
  50907. + ac_cv_header_stdbool_h=yes
  50908. +else
  50909. + ac_cv_header_stdbool_h=no
  50910. +fi
  50911. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  50912. +fi
  50913. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
  50914. +$as_echo "$ac_cv_header_stdbool_h" >&6; }
  50915. + ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
  50916. +if test "x$ac_cv_type__Bool" = xyes; then :
  50917. +
  50918. +cat >>confdefs.h <<_ACEOF
  50919. +@%:@define HAVE__BOOL 1
  50920. +_ACEOF
  50921. +
  50922. +
  50923. +fi
  50924. +
  50925. +
  50926. +
  50927. + REPLACE_NULL=0;
  50928. + HAVE_WCHAR_T=1;
  50929. + STDDEF_H='';
  50930. +
  50931. +
  50932. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
  50933. +$as_echo_n "checking for wchar_t... " >&6; }
  50934. +if ${gt_cv_c_wchar_t+:} false; then :
  50935. + $as_echo_n "(cached) " >&6
  50936. +else
  50937. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50938. +/* end confdefs.h. */
  50939. +#include <stddef.h>
  50940. + wchar_t foo = (wchar_t)'\0';
  50941. +int
  50942. +main ()
  50943. +{
  50944. +
  50945. + ;
  50946. + return 0;
  50947. +}
  50948. +_ACEOF
  50949. +if ac_fn_c_try_compile "$LINENO"; then :
  50950. + gt_cv_c_wchar_t=yes
  50951. +else
  50952. + gt_cv_c_wchar_t=no
  50953. +fi
  50954. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  50955. +fi
  50956. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
  50957. +$as_echo "$gt_cv_c_wchar_t" >&6; }
  50958. + if test $gt_cv_c_wchar_t = yes; then
  50959. +
  50960. +$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h
  50961. +
  50962. + fi
  50963. +
  50964. +
  50965. +
  50966. +
  50967. +
  50968. +
  50969. +
  50970. +
  50971. +
  50972. +
  50973. + if test -z "$ERRNO_H"; then
  50974. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5
  50975. +$as_echo_n "checking for working strerror function... " >&6; }
  50976. +if ${gl_cv_func_working_strerror+:} false; then :
  50977. + $as_echo_n "(cached) " >&6
  50978. +else
  50979. + if test "$cross_compiling" = yes; then :
  50980. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  50981. +/* end confdefs.h. */
  50982. +#include <string.h>
  50983. +
  50984. +int
  50985. +main ()
  50986. +{
  50987. +return !*strerror (-2);
  50988. + ;
  50989. + return 0;
  50990. +}
  50991. +_ACEOF
  50992. +if ac_fn_c_try_compile "$LINENO"; then :
  50993. + gl_cv_func_working_strerror=yes
  50994. +else
  50995. + gl_cv_func_working_strerror=no
  50996. +fi
  50997. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  50998. +
  50999. +else
  51000. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51001. +/* end confdefs.h. */
  51002. +#include <string.h>
  51003. +
  51004. +int
  51005. +main ()
  51006. +{
  51007. +return !*strerror (-2);
  51008. + ;
  51009. + return 0;
  51010. +}
  51011. +_ACEOF
  51012. +if ac_fn_c_try_run "$LINENO"; then :
  51013. + gl_cv_func_working_strerror=yes
  51014. +else
  51015. + gl_cv_func_working_strerror=no
  51016. +fi
  51017. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  51018. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  51019. +fi
  51020. +
  51021. +
  51022. +fi
  51023. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5
  51024. +$as_echo "$gl_cv_func_working_strerror" >&6; }
  51025. + if test $gl_cv_func_working_strerror = no; then
  51026. + REPLACE_STRERROR=1
  51027. + fi
  51028. + else
  51029. + REPLACE_STRERROR=1
  51030. + fi
  51031. + if test $REPLACE_STRERROR = 1; then
  51032. +
  51033. + ac_fn_c_check_decl "$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default"
  51034. +if test "x$ac_cv_have_decl_strerror" = xyes; then :
  51035. + ac_have_decl=1
  51036. +else
  51037. + ac_have_decl=0
  51038. +fi
  51039. +
  51040. +cat >>confdefs.h <<_ACEOF
  51041. +@%:@define HAVE_DECL_STRERROR $ac_have_decl
  51042. +_ACEOF
  51043. +
  51044. +
  51045. + if test $ac_cv_header_sys_socket_h != yes; then
  51046. + for ac_header in winsock2.h
  51047. +do :
  51048. + ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
  51049. +if test "x$ac_cv_header_winsock2_h" = xyes; then :
  51050. + cat >>confdefs.h <<_ACEOF
  51051. +@%:@define HAVE_WINSOCK2_H 1
  51052. +_ACEOF
  51053. +
  51054. +fi
  51055. +
  51056. +done
  51057. +
  51058. + fi
  51059. +
  51060. + fi
  51061. +
  51062. +
  51063. +
  51064. +
  51065. +
  51066. +
  51067. +
  51068. +
  51069. +
  51070. +
  51071. +
  51072. +
  51073. + if test $gl_cv_have_include_next = yes; then
  51074. + gl_cv_next_string_h='<'string.h'>'
  51075. + else
  51076. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
  51077. +$as_echo_n "checking absolute name of <string.h>... " >&6; }
  51078. +if ${gl_cv_next_string_h+:} false; then :
  51079. + $as_echo_n "(cached) " >&6
  51080. +else
  51081. +
  51082. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51083. +/* end confdefs.h. */
  51084. +#include <string.h>
  51085. +
  51086. +_ACEOF
  51087. + case "$host_os" in
  51088. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  51089. + *) gl_absname_cpp="$ac_cpp" ;;
  51090. + esac
  51091. + gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  51092. + sed -n '\#/string.h#{
  51093. + s#.*"\(.*/string.h\)".*#\1#
  51094. + s#^/[^/]#//&#
  51095. + p
  51096. + q
  51097. + }'`'"'
  51098. +
  51099. +
  51100. +fi
  51101. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5
  51102. +$as_echo "$gl_cv_next_string_h" >&6; }
  51103. + fi
  51104. + NEXT_STRING_H=$gl_cv_next_string_h
  51105. +
  51106. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  51107. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  51108. + gl_next_as_first_directive='<'string.h'>'
  51109. + else
  51110. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  51111. + gl_next_as_first_directive=$gl_cv_next_string_h
  51112. + fi
  51113. + NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive
  51114. +
  51115. +
  51116. +
  51117. +
  51118. +
  51119. +
  51120. +
  51121. +ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
  51122. +if test "x$ac_cv_have_decl_strndup" = xyes; then :
  51123. + ac_have_decl=1
  51124. +else
  51125. + ac_have_decl=0
  51126. +fi
  51127. +
  51128. +cat >>confdefs.h <<_ACEOF
  51129. +@%:@define HAVE_DECL_STRNDUP $ac_have_decl
  51130. +_ACEOF
  51131. +
  51132. +
  51133. +
  51134. +ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
  51135. +if test "x$ac_cv_have_decl_strnlen" = xyes; then :
  51136. + ac_have_decl=1
  51137. +else
  51138. + ac_have_decl=0
  51139. +fi
  51140. +
  51141. +cat >>confdefs.h <<_ACEOF
  51142. +@%:@define HAVE_DECL_STRNLEN $ac_have_decl
  51143. +_ACEOF
  51144. +
  51145. +ac_fn_c_check_decl "$LINENO" "strsignal" "ac_cv_have_decl_strsignal" "$ac_includes_default"
  51146. +if test "x$ac_cv_have_decl_strsignal" = xyes; then :
  51147. + ac_have_decl=1
  51148. +else
  51149. + ac_have_decl=0
  51150. +fi
  51151. +
  51152. +cat >>confdefs.h <<_ACEOF
  51153. +@%:@define HAVE_DECL_STRSIGNAL $ac_have_decl
  51154. +_ACEOF
  51155. +
  51156. +ac_fn_c_check_decl "$LINENO" "sys_siglist" "ac_cv_have_decl_sys_siglist" "#include <signal.h>
  51157. +/* NetBSD declares sys_siglist in unistd.h. */
  51158. +#ifdef HAVE_UNISTD_H
  51159. +# include <unistd.h>
  51160. +#endif
  51161. +
  51162. +"
  51163. +if test "x$ac_cv_have_decl_sys_siglist" = xyes; then :
  51164. + ac_have_decl=1
  51165. +else
  51166. + ac_have_decl=0
  51167. +fi
  51168. +
  51169. +cat >>confdefs.h <<_ACEOF
  51170. +@%:@define HAVE_DECL_SYS_SIGLIST $ac_have_decl
  51171. +_ACEOF
  51172. +
  51173. +
  51174. +
  51175. +
  51176. +
  51177. + if test "$gl_cv_func_memchr_works" != yes; then
  51178. + REPLACE_STRSTR=1
  51179. +
  51180. +
  51181. +
  51182. +
  51183. +
  51184. +
  51185. +
  51186. +
  51187. + M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext"
  51188. +
  51189. + else
  51190. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5
  51191. +$as_echo_n "checking whether strstr works... " >&6; }
  51192. +if ${gl_cv_func_strstr_works_always+:} false; then :
  51193. + $as_echo_n "(cached) " >&6
  51194. +else
  51195. + if test "$cross_compiling" = yes; then :
  51196. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51197. +/* end confdefs.h. */
  51198. +
  51199. +#ifdef __GNU_LIBRARY__
  51200. + #include <features.h>
  51201. + #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \
  51202. + || defined __UCLIBC__
  51203. + Lucky user
  51204. + #endif
  51205. +#elif defined __CYGWIN__
  51206. + #include <cygwin/version.h>
  51207. + #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
  51208. + Lucky user
  51209. + #endif
  51210. +#else
  51211. + Lucky user
  51212. +#endif
  51213. +
  51214. +_ACEOF
  51215. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  51216. + $EGREP "Lucky user" >/dev/null 2>&1; then :
  51217. + gl_cv_func_strstr_works_always=yes
  51218. +else
  51219. + gl_cv_func_strstr_works_always="guessing no"
  51220. +fi
  51221. +rm -f conftest*
  51222. +
  51223. +
  51224. +else
  51225. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51226. +/* end confdefs.h. */
  51227. +
  51228. +#include <string.h> /* for strstr */
  51229. +#define P "_EF_BF_BD"
  51230. +#define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P
  51231. +#define NEEDLE P P P P P
  51232. +
  51233. +int
  51234. +main ()
  51235. +{
  51236. +return !!strstr (HAYSTACK, NEEDLE);
  51237. +
  51238. + ;
  51239. + return 0;
  51240. +}
  51241. +_ACEOF
  51242. +if ac_fn_c_try_run "$LINENO"; then :
  51243. + gl_cv_func_strstr_works_always=yes
  51244. +else
  51245. + gl_cv_func_strstr_works_always=no
  51246. +fi
  51247. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  51248. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  51249. +fi
  51250. +
  51251. +
  51252. +fi
  51253. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strstr_works_always" >&5
  51254. +$as_echo "$gl_cv_func_strstr_works_always" >&6; }
  51255. + if test "$gl_cv_func_strstr_works_always" != yes; then
  51256. + REPLACE_STRSTR=1
  51257. +
  51258. +
  51259. +
  51260. +
  51261. +
  51262. +
  51263. +
  51264. +
  51265. + M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext"
  51266. +
  51267. + fi
  51268. + fi
  51269. +
  51270. +ac_fn_c_check_decl "$LINENO" "strtod" "ac_cv_have_decl_strtod" "$ac_includes_default"
  51271. +if test "x$ac_cv_have_decl_strtod" = xyes; then :
  51272. + ac_have_decl=1
  51273. +else
  51274. + ac_have_decl=0
  51275. +fi
  51276. +
  51277. +cat >>confdefs.h <<_ACEOF
  51278. +@%:@define HAVE_DECL_STRTOD $ac_have_decl
  51279. +_ACEOF
  51280. +
  51281. +
  51282. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexp() can be used without linking with libm" >&5
  51283. +$as_echo_n "checking whether ldexp() can be used without linking with libm... " >&6; }
  51284. +if ${gl_cv_func_ldexp_no_libm+:} false; then :
  51285. + $as_echo_n "(cached) " >&6
  51286. +else
  51287. +
  51288. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51289. +/* end confdefs.h. */
  51290. +#ifndef __NO_MATH_INLINES
  51291. + # define __NO_MATH_INLINES 1 /* for glibc */
  51292. + #endif
  51293. + #include <math.h>
  51294. + double (*funcptr) (double, int) = ldexp;
  51295. + double x;
  51296. +int
  51297. +main ()
  51298. +{
  51299. +return ldexp (x, -1) > 0;
  51300. + ;
  51301. + return 0;
  51302. +}
  51303. +_ACEOF
  51304. +if ac_fn_c_try_link "$LINENO"; then :
  51305. + gl_cv_func_ldexp_no_libm=yes
  51306. +else
  51307. + gl_cv_func_ldexp_no_libm=no
  51308. +fi
  51309. +rm -f core conftest.err conftest.$ac_objext \
  51310. + conftest$ac_exeext conftest.$ac_ext
  51311. +
  51312. +fi
  51313. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_no_libm" >&5
  51314. +$as_echo "$gl_cv_func_ldexp_no_libm" >&6; }
  51315. +
  51316. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
  51317. +$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
  51318. +if ${ac_cv_header_stat_broken+:} false; then :
  51319. + $as_echo_n "(cached) " >&6
  51320. +else
  51321. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51322. +/* end confdefs.h. */
  51323. +#include <sys/types.h>
  51324. +#include <sys/stat.h>
  51325. +
  51326. +#if defined S_ISBLK && defined S_IFDIR
  51327. +extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
  51328. +#endif
  51329. +
  51330. +#if defined S_ISBLK && defined S_IFCHR
  51331. +extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
  51332. +#endif
  51333. +
  51334. +#if defined S_ISLNK && defined S_IFREG
  51335. +extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
  51336. +#endif
  51337. +
  51338. +#if defined S_ISSOCK && defined S_IFREG
  51339. +extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
  51340. +#endif
  51341. +
  51342. +_ACEOF
  51343. +if ac_fn_c_try_compile "$LINENO"; then :
  51344. + ac_cv_header_stat_broken=no
  51345. +else
  51346. + ac_cv_header_stat_broken=yes
  51347. +fi
  51348. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  51349. +fi
  51350. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
  51351. +$as_echo "$ac_cv_header_stat_broken" >&6; }
  51352. +if test $ac_cv_header_stat_broken = yes; then
  51353. +
  51354. +$as_echo "@%:@define STAT_MACROS_BROKEN 1" >>confdefs.h
  51355. +
  51356. +fi
  51357. +
  51358. +
  51359. +
  51360. +
  51361. + GNULIB_WAITPID=0;
  51362. +
  51363. +
  51364. +
  51365. +
  51366. + GNULIB_MKTIME=0;
  51367. + GNULIB_NANOSLEEP=0;
  51368. + GNULIB_STRPTIME=0;
  51369. + GNULIB_TIMEGM=0;
  51370. + GNULIB_TIME_R=0;
  51371. + HAVE_DECL_LOCALTIME_R=1;
  51372. + HAVE_NANOSLEEP=1;
  51373. + HAVE_STRPTIME=1;
  51374. + HAVE_TIMEGM=1;
  51375. + REPLACE_LOCALTIME_R=GNULIB_PORTCHECK;
  51376. + REPLACE_MKTIME=GNULIB_PORTCHECK;
  51377. + REPLACE_NANOSLEEP=GNULIB_PORTCHECK;
  51378. + REPLACE_TIMEGM=GNULIB_PORTCHECK;
  51379. +
  51380. +
  51381. +
  51382. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5
  51383. +$as_echo_n "checking for struct timespec in <time.h>... " >&6; }
  51384. +if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then :
  51385. + $as_echo_n "(cached) " >&6
  51386. +else
  51387. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51388. +/* end confdefs.h. */
  51389. +#include <time.h>
  51390. +
  51391. +int
  51392. +main ()
  51393. +{
  51394. +static struct timespec x; x.tv_sec = x.tv_nsec;
  51395. + ;
  51396. + return 0;
  51397. +}
  51398. +_ACEOF
  51399. +if ac_fn_c_try_compile "$LINENO"; then :
  51400. + gl_cv_sys_struct_timespec_in_time_h=yes
  51401. +else
  51402. + gl_cv_sys_struct_timespec_in_time_h=no
  51403. +fi
  51404. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  51405. +fi
  51406. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5
  51407. +$as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; }
  51408. +
  51409. + TIME_H_DEFINES_STRUCT_TIMESPEC=0
  51410. + SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0
  51411. + PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0
  51412. + if test $gl_cv_sys_struct_timespec_in_time_h = yes; then
  51413. + TIME_H_DEFINES_STRUCT_TIMESPEC=1
  51414. + else
  51415. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5
  51416. +$as_echo_n "checking for struct timespec in <sys/time.h>... " >&6; }
  51417. +if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then :
  51418. + $as_echo_n "(cached) " >&6
  51419. +else
  51420. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51421. +/* end confdefs.h. */
  51422. +#include <sys/time.h>
  51423. +
  51424. +int
  51425. +main ()
  51426. +{
  51427. +static struct timespec x; x.tv_sec = x.tv_nsec;
  51428. + ;
  51429. + return 0;
  51430. +}
  51431. +_ACEOF
  51432. +if ac_fn_c_try_compile "$LINENO"; then :
  51433. + gl_cv_sys_struct_timespec_in_sys_time_h=yes
  51434. +else
  51435. + gl_cv_sys_struct_timespec_in_sys_time_h=no
  51436. +fi
  51437. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  51438. +fi
  51439. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5
  51440. +$as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; }
  51441. + if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then
  51442. + SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1
  51443. + else
  51444. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5
  51445. +$as_echo_n "checking for struct timespec in <pthread.h>... " >&6; }
  51446. +if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then :
  51447. + $as_echo_n "(cached) " >&6
  51448. +else
  51449. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51450. +/* end confdefs.h. */
  51451. +#include <pthread.h>
  51452. +
  51453. +int
  51454. +main ()
  51455. +{
  51456. +static struct timespec x; x.tv_sec = x.tv_nsec;
  51457. + ;
  51458. + return 0;
  51459. +}
  51460. +_ACEOF
  51461. +if ac_fn_c_try_compile "$LINENO"; then :
  51462. + gl_cv_sys_struct_timespec_in_pthread_h=yes
  51463. +else
  51464. + gl_cv_sys_struct_timespec_in_pthread_h=no
  51465. +fi
  51466. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  51467. +fi
  51468. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5
  51469. +$as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; }
  51470. + if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then
  51471. + PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1
  51472. + fi
  51473. + fi
  51474. + fi
  51475. +
  51476. +
  51477. +
  51478. +
  51479. +
  51480. +
  51481. +
  51482. +
  51483. +
  51484. +
  51485. +
  51486. +
  51487. +
  51488. +
  51489. +
  51490. + if test $gl_cv_have_include_next = yes; then
  51491. + gl_cv_next_time_h='<'time.h'>'
  51492. + else
  51493. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5
  51494. +$as_echo_n "checking absolute name of <time.h>... " >&6; }
  51495. +if ${gl_cv_next_time_h+:} false; then :
  51496. + $as_echo_n "(cached) " >&6
  51497. +else
  51498. +
  51499. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51500. +/* end confdefs.h. */
  51501. +#include <time.h>
  51502. +
  51503. +_ACEOF
  51504. + case "$host_os" in
  51505. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  51506. + *) gl_absname_cpp="$ac_cpp" ;;
  51507. + esac
  51508. + gl_cv_next_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  51509. + sed -n '\#/time.h#{
  51510. + s#.*"\(.*/time.h\)".*#\1#
  51511. + s#^/[^/]#//&#
  51512. + p
  51513. + q
  51514. + }'`'"'
  51515. +
  51516. +
  51517. +fi
  51518. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5
  51519. +$as_echo "$gl_cv_next_time_h" >&6; }
  51520. + fi
  51521. + NEXT_TIME_H=$gl_cv_next_time_h
  51522. +
  51523. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  51524. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  51525. + gl_next_as_first_directive='<'time.h'>'
  51526. + else
  51527. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  51528. + gl_next_as_first_directive=$gl_cv_next_time_h
  51529. + fi
  51530. + NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive
  51531. +
  51532. +
  51533. +
  51534. +
  51535. +
  51536. +
  51537. +
  51538. +
  51539. +ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
  51540. +if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then :
  51541. + ac_have_decl=1
  51542. +else
  51543. + ac_have_decl=0
  51544. +fi
  51545. +
  51546. +cat >>confdefs.h <<_ACEOF
  51547. +@%:@define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
  51548. +_ACEOF
  51549. +
  51550. +ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
  51551. +if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then :
  51552. + ac_have_decl=1
  51553. +else
  51554. + ac_have_decl=0
  51555. +fi
  51556. +
  51557. +cat >>confdefs.h <<_ACEOF
  51558. +@%:@define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
  51559. +_ACEOF
  51560. +
  51561. +ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
  51562. +if test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then :
  51563. + ac_have_decl=1
  51564. +else
  51565. + ac_have_decl=0
  51566. +fi
  51567. +
  51568. +cat >>confdefs.h <<_ACEOF
  51569. +@%:@define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
  51570. +_ACEOF
  51571. +
  51572. +ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
  51573. +if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then :
  51574. + ac_have_decl=1
  51575. +else
  51576. + ac_have_decl=0
  51577. +fi
  51578. +
  51579. +cat >>confdefs.h <<_ACEOF
  51580. +@%:@define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
  51581. +_ACEOF
  51582. +
  51583. +ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
  51584. +if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then :
  51585. + ac_have_decl=1
  51586. +else
  51587. + ac_have_decl=0
  51588. +fi
  51589. +
  51590. +cat >>confdefs.h <<_ACEOF
  51591. +@%:@define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
  51592. +_ACEOF
  51593. +
  51594. +ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
  51595. +if test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then :
  51596. + ac_have_decl=1
  51597. +else
  51598. + ac_have_decl=0
  51599. +fi
  51600. +
  51601. +cat >>confdefs.h <<_ACEOF
  51602. +@%:@define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
  51603. +_ACEOF
  51604. +
  51605. +ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
  51606. +if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then :
  51607. + ac_have_decl=1
  51608. +else
  51609. + ac_have_decl=0
  51610. +fi
  51611. +
  51612. +cat >>confdefs.h <<_ACEOF
  51613. +@%:@define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
  51614. +_ACEOF
  51615. +
  51616. +ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
  51617. +if test "x$ac_cv_have_decl_fread_unlocked" = xyes; then :
  51618. + ac_have_decl=1
  51619. +else
  51620. + ac_have_decl=0
  51621. +fi
  51622. +
  51623. +cat >>confdefs.h <<_ACEOF
  51624. +@%:@define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
  51625. +_ACEOF
  51626. +
  51627. +ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
  51628. +if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then :
  51629. + ac_have_decl=1
  51630. +else
  51631. + ac_have_decl=0
  51632. +fi
  51633. +
  51634. +cat >>confdefs.h <<_ACEOF
  51635. +@%:@define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
  51636. +_ACEOF
  51637. +
  51638. +ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
  51639. +if test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then :
  51640. + ac_have_decl=1
  51641. +else
  51642. + ac_have_decl=0
  51643. +fi
  51644. +
  51645. +cat >>confdefs.h <<_ACEOF
  51646. +@%:@define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
  51647. +_ACEOF
  51648. +
  51649. +ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
  51650. +if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then :
  51651. + ac_have_decl=1
  51652. +else
  51653. + ac_have_decl=0
  51654. +fi
  51655. +
  51656. +cat >>confdefs.h <<_ACEOF
  51657. +@%:@define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl
  51658. +_ACEOF
  51659. +
  51660. +ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
  51661. +if test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then :
  51662. + ac_have_decl=1
  51663. +else
  51664. + ac_have_decl=0
  51665. +fi
  51666. +
  51667. +cat >>confdefs.h <<_ACEOF
  51668. +@%:@define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
  51669. +_ACEOF
  51670. +
  51671. +
  51672. +
  51673. +
  51674. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
  51675. +$as_echo_n "checking for wint_t... " >&6; }
  51676. +if ${gt_cv_c_wint_t+:} false; then :
  51677. + $as_echo_n "(cached) " >&6
  51678. +else
  51679. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51680. +/* end confdefs.h. */
  51681. +
  51682. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  51683. + <wchar.h>.
  51684. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
  51685. + before <wchar.h>. */
  51686. +#include <stddef.h>
  51687. +#include <stdio.h>
  51688. +#include <time.h>
  51689. +#include <wchar.h>
  51690. + wint_t foo = (wchar_t)'\0';
  51691. +int
  51692. +main ()
  51693. +{
  51694. +
  51695. + ;
  51696. + return 0;
  51697. +}
  51698. +_ACEOF
  51699. +if ac_fn_c_try_compile "$LINENO"; then :
  51700. + gt_cv_c_wint_t=yes
  51701. +else
  51702. + gt_cv_c_wint_t=no
  51703. +fi
  51704. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  51705. +fi
  51706. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
  51707. +$as_echo "$gt_cv_c_wint_t" >&6; }
  51708. + if test $gt_cv_c_wint_t = yes; then
  51709. +
  51710. +$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h
  51711. +
  51712. + fi
  51713. +
  51714. +
  51715. +
  51716. +
  51717. +
  51718. + if test $ac_cv_header_features_h = yes; then
  51719. + HAVE_FEATURES_H=1
  51720. + else
  51721. + HAVE_FEATURES_H=0
  51722. + fi
  51723. +
  51724. +
  51725. +
  51726. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
  51727. +$as_echo_n "checking for inttypes.h... " >&6; }
  51728. +if ${gl_cv_header_inttypes_h+:} false; then :
  51729. + $as_echo_n "(cached) " >&6
  51730. +else
  51731. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51732. +/* end confdefs.h. */
  51733. +
  51734. +#include <sys/types.h>
  51735. +#include <inttypes.h>
  51736. +
  51737. +int
  51738. +main ()
  51739. +{
  51740. +uintmax_t i = (uintmax_t) -1; return !i;
  51741. + ;
  51742. + return 0;
  51743. +}
  51744. +_ACEOF
  51745. +if ac_fn_c_try_compile "$LINENO"; then :
  51746. + gl_cv_header_inttypes_h=yes
  51747. +else
  51748. + gl_cv_header_inttypes_h=no
  51749. +fi
  51750. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  51751. +fi
  51752. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_inttypes_h" >&5
  51753. +$as_echo "$gl_cv_header_inttypes_h" >&6; }
  51754. + if test $gl_cv_header_inttypes_h = yes; then
  51755. +
  51756. +cat >>confdefs.h <<_ACEOF
  51757. +@%:@define HAVE_INTTYPES_H_WITH_UINTMAX 1
  51758. +_ACEOF
  51759. +
  51760. + fi
  51761. +
  51762. +
  51763. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
  51764. +$as_echo_n "checking for stdint.h... " >&6; }
  51765. +if ${gl_cv_header_stdint_h+:} false; then :
  51766. + $as_echo_n "(cached) " >&6
  51767. +else
  51768. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51769. +/* end confdefs.h. */
  51770. +#include <sys/types.h>
  51771. + #include <stdint.h>
  51772. +int
  51773. +main ()
  51774. +{
  51775. +uintmax_t i = (uintmax_t) -1; return !i;
  51776. + ;
  51777. + return 0;
  51778. +}
  51779. +_ACEOF
  51780. +if ac_fn_c_try_compile "$LINENO"; then :
  51781. + gl_cv_header_stdint_h=yes
  51782. +else
  51783. + gl_cv_header_stdint_h=no
  51784. +fi
  51785. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  51786. +fi
  51787. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_stdint_h" >&5
  51788. +$as_echo "$gl_cv_header_stdint_h" >&6; }
  51789. + if test $gl_cv_header_stdint_h = yes; then
  51790. +
  51791. +cat >>confdefs.h <<_ACEOF
  51792. +@%:@define HAVE_STDINT_H_WITH_UINTMAX 1
  51793. +_ACEOF
  51794. +
  51795. + fi
  51796. +
  51797. +
  51798. +
  51799. +
  51800. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
  51801. +$as_echo_n "checking for intmax_t... " >&6; }
  51802. +if ${gt_cv_c_intmax_t+:} false; then :
  51803. + $as_echo_n "(cached) " >&6
  51804. +else
  51805. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51806. +/* end confdefs.h. */
  51807. +
  51808. +#include <stddef.h>
  51809. +#include <stdlib.h>
  51810. +#if HAVE_STDINT_H_WITH_UINTMAX
  51811. +#include <stdint.h>
  51812. +#endif
  51813. +#if HAVE_INTTYPES_H_WITH_UINTMAX
  51814. +#include <inttypes.h>
  51815. +#endif
  51816. +
  51817. +int
  51818. +main ()
  51819. +{
  51820. +intmax_t x = -1; return !x;
  51821. + ;
  51822. + return 0;
  51823. +}
  51824. +_ACEOF
  51825. +if ac_fn_c_try_compile "$LINENO"; then :
  51826. + gt_cv_c_intmax_t=yes
  51827. +else
  51828. + gt_cv_c_intmax_t=no
  51829. +fi
  51830. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  51831. +fi
  51832. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_intmax_t" >&5
  51833. +$as_echo "$gt_cv_c_intmax_t" >&6; }
  51834. + if test $gt_cv_c_intmax_t = yes; then
  51835. +
  51836. +$as_echo "@%:@define HAVE_INTMAX_T 1" >>confdefs.h
  51837. +
  51838. + else
  51839. +
  51840. + test $ac_cv_type_long_long_int = yes \
  51841. + && ac_type='long long' \
  51842. + || ac_type='long'
  51843. +
  51844. +cat >>confdefs.h <<_ACEOF
  51845. +@%:@define intmax_t $ac_type
  51846. +_ACEOF
  51847. +
  51848. + fi
  51849. +
  51850. +
  51851. +
  51852. +
  51853. +
  51854. +
  51855. +
  51856. + for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb
  51857. +do :
  51858. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  51859. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  51860. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  51861. + cat >>confdefs.h <<_ACEOF
  51862. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  51863. +_ACEOF
  51864. +
  51865. +fi
  51866. +done
  51867. +
  51868. + ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include <stdio.h>
  51869. +"
  51870. +if test "x$ac_cv_have_decl__snprintf" = xyes; then :
  51871. + ac_have_decl=1
  51872. +else
  51873. + ac_have_decl=0
  51874. +fi
  51875. +
  51876. +cat >>confdefs.h <<_ACEOF
  51877. +@%:@define HAVE_DECL__SNPRINTF $ac_have_decl
  51878. +_ACEOF
  51879. +
  51880. +
  51881. + case "$gl_cv_func_snprintf_retval_c99" in
  51882. + *yes)
  51883. +
  51884. +$as_echo "@%:@define HAVE_SNPRINTF_RETVAL_C99 1" >>confdefs.h
  51885. +
  51886. + ;;
  51887. + esac
  51888. +
  51889. +
  51890. +
  51891. +
  51892. +
  51893. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports size specifiers as in C99" >&5
  51894. +$as_echo_n "checking whether printf supports size specifiers as in C99... " >&6; }
  51895. +if ${gl_cv_func_printf_sizes_c99+:} false; then :
  51896. + $as_echo_n "(cached) " >&6
  51897. +else
  51898. +
  51899. + if test "$cross_compiling" = yes; then :
  51900. +
  51901. + case "$host_os" in
  51902. + # Guess yes on glibc systems.
  51903. + *-gnu*) gl_cv_func_printf_sizes_c99="guessing yes";;
  51904. + # Guess yes on FreeBSD >= 5.
  51905. + freebsd[1-4]*) gl_cv_func_printf_sizes_c99="guessing no";;
  51906. + freebsd* | kfreebsd*) gl_cv_func_printf_sizes_c99="guessing yes";;
  51907. + # Guess yes on MacOS X >= 10.3.
  51908. + darwin[1-6].*) gl_cv_func_printf_sizes_c99="guessing no";;
  51909. + darwin*) gl_cv_func_printf_sizes_c99="guessing yes";;
  51910. + # Guess yes on OpenBSD >= 3.9.
  51911. + openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
  51912. + gl_cv_func_printf_sizes_c99="guessing no";;
  51913. + openbsd*) gl_cv_func_printf_sizes_c99="guessing yes";;
  51914. + # Guess yes on Solaris >= 2.10.
  51915. + solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
  51916. + solaris*) gl_cv_func_printf_sizes_c99="guessing no";;
  51917. + # Guess yes on NetBSD >= 3.
  51918. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
  51919. + gl_cv_func_printf_sizes_c99="guessing no";;
  51920. + netbsd*) gl_cv_func_printf_sizes_c99="guessing yes";;
  51921. + # If we don't know, assume the worst.
  51922. + *) gl_cv_func_printf_sizes_c99="guessing no";;
  51923. + esac
  51924. +
  51925. +else
  51926. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51927. +/* end confdefs.h. */
  51928. +
  51929. +#include <stddef.h>
  51930. +#include <stdio.h>
  51931. +#include <string.h>
  51932. +#include <sys/types.h>
  51933. +#if HAVE_STDINT_H_WITH_UINTMAX
  51934. +# include <stdint.h>
  51935. +#endif
  51936. +#if HAVE_INTTYPES_H_WITH_UINTMAX
  51937. +# include <inttypes.h>
  51938. +#endif
  51939. +static char buf[100];
  51940. +int main ()
  51941. +{
  51942. + int result = 0;
  51943. +#if HAVE_STDINT_H_WITH_UINTMAX || HAVE_INTTYPES_H_WITH_UINTMAX
  51944. + buf[0] = '\0';
  51945. + if (sprintf (buf, "%ju %d", (uintmax_t) 12345671, 33, 44, 55) < 0
  51946. + || strcmp (buf, "12345671 33") != 0)
  51947. + result |= 1;
  51948. +#endif
  51949. + buf[0] = '\0';
  51950. + if (sprintf (buf, "%zu %d", (size_t) 12345672, 33, 44, 55) < 0
  51951. + || strcmp (buf, "12345672 33") != 0)
  51952. + result |= 2;
  51953. + buf[0] = '\0';
  51954. + if (sprintf (buf, "%tu %d", (ptrdiff_t) 12345673, 33, 44, 55) < 0
  51955. + || strcmp (buf, "12345673 33") != 0)
  51956. + result |= 4;
  51957. + buf[0] = '\0';
  51958. + if (sprintf (buf, "%Lg %d", (long double) 1.5, 33, 44, 55) < 0
  51959. + || strcmp (buf, "1.5 33") != 0)
  51960. + result |= 8;
  51961. + return result;
  51962. +}
  51963. +_ACEOF
  51964. +if ac_fn_c_try_run "$LINENO"; then :
  51965. + gl_cv_func_printf_sizes_c99=yes
  51966. +else
  51967. + gl_cv_func_printf_sizes_c99=no
  51968. +fi
  51969. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  51970. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  51971. +fi
  51972. +
  51973. +
  51974. +fi
  51975. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_sizes_c99" >&5
  51976. +$as_echo "$gl_cv_func_printf_sizes_c99" >&6; }
  51977. +
  51978. +
  51979. +
  51980. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports 'long double' arguments" >&5
  51981. +$as_echo_n "checking whether printf supports 'long double' arguments... " >&6; }
  51982. +if ${gl_cv_func_printf_long_double+:} false; then :
  51983. + $as_echo_n "(cached) " >&6
  51984. +else
  51985. +
  51986. + if test "$cross_compiling" = yes; then :
  51987. +
  51988. + case "$host_os" in
  51989. + beos*) gl_cv_func_printf_long_double="guessing no";;
  51990. + mingw* | pw*) gl_cv_func_printf_long_double="guessing no";;
  51991. + *) gl_cv_func_printf_long_double="guessing yes";;
  51992. + esac
  51993. +
  51994. +else
  51995. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  51996. +/* end confdefs.h. */
  51997. +
  51998. +#include <stdio.h>
  51999. +#include <string.h>
  52000. +static char buf[10000];
  52001. +int main ()
  52002. +{
  52003. + int result = 0;
  52004. + buf[0] = '\0';
  52005. + if (sprintf (buf, "%Lf %d", 1.75L, 33, 44, 55) < 0
  52006. + || strcmp (buf, "1.750000 33") != 0)
  52007. + result |= 1;
  52008. + buf[0] = '\0';
  52009. + if (sprintf (buf, "%Le %d", 1.75L, 33, 44, 55) < 0
  52010. + || strcmp (buf, "1.750000e+00 33") != 0)
  52011. + result |= 2;
  52012. + buf[0] = '\0';
  52013. + if (sprintf (buf, "%Lg %d", 1.75L, 33, 44, 55) < 0
  52014. + || strcmp (buf, "1.75 33") != 0)
  52015. + result |= 4;
  52016. + return result;
  52017. +}
  52018. +_ACEOF
  52019. +if ac_fn_c_try_run "$LINENO"; then :
  52020. + gl_cv_func_printf_long_double=yes
  52021. +else
  52022. + gl_cv_func_printf_long_double=no
  52023. +fi
  52024. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  52025. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  52026. +fi
  52027. +
  52028. +
  52029. +fi
  52030. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_long_double" >&5
  52031. +$as_echo "$gl_cv_func_printf_long_double" >&6; }
  52032. +
  52033. +
  52034. +
  52035. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'double' arguments" >&5
  52036. +$as_echo_n "checking whether printf supports infinite 'double' arguments... " >&6; }
  52037. +if ${gl_cv_func_printf_infinite+:} false; then :
  52038. + $as_echo_n "(cached) " >&6
  52039. +else
  52040. +
  52041. + if test "$cross_compiling" = yes; then :
  52042. +
  52043. + case "$host_os" in
  52044. + # Guess yes on glibc systems.
  52045. + *-gnu*) gl_cv_func_printf_infinite="guessing yes";;
  52046. + # Guess yes on FreeBSD >= 6.
  52047. + freebsd[1-5]*) gl_cv_func_printf_infinite="guessing no";;
  52048. + freebsd* | kfreebsd*) gl_cv_func_printf_infinite="guessing yes";;
  52049. + # Guess yes on MacOS X >= 10.3.
  52050. + darwin[1-6].*) gl_cv_func_printf_infinite="guessing no";;
  52051. + darwin*) gl_cv_func_printf_infinite="guessing yes";;
  52052. + # Guess yes on HP-UX >= 11.
  52053. + hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite="guessing no";;
  52054. + hpux*) gl_cv_func_printf_infinite="guessing yes";;
  52055. + # Guess yes on NetBSD >= 3.
  52056. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
  52057. + gl_cv_func_printf_infinite="guessing no";;
  52058. + netbsd*) gl_cv_func_printf_infinite="guessing yes";;
  52059. + # Guess yes on BeOS.
  52060. + beos*) gl_cv_func_printf_infinite="guessing yes";;
  52061. + # If we don't know, assume the worst.
  52062. + *) gl_cv_func_printf_infinite="guessing no";;
  52063. + esac
  52064. +
  52065. +else
  52066. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52067. +/* end confdefs.h. */
  52068. +
  52069. +#include <stdio.h>
  52070. +#include <string.h>
  52071. +static int
  52072. +strisnan (const char *string, size_t start_index, size_t end_index)
  52073. +{
  52074. + if (start_index < end_index)
  52075. + {
  52076. + if (string[start_index] == '-')
  52077. + start_index++;
  52078. + if (start_index + 3 <= end_index
  52079. + && memcmp (string + start_index, "nan", 3) == 0)
  52080. + {
  52081. + start_index += 3;
  52082. + if (start_index == end_index
  52083. + || (string[start_index] == '(' && string[end_index - 1] == ')'))
  52084. + return 1;
  52085. + }
  52086. + }
  52087. + return 0;
  52088. +}
  52089. +static int
  52090. +have_minus_zero ()
  52091. +{
  52092. + static double plus_zero = 0.0;
  52093. + double minus_zero = - plus_zero;
  52094. + return memcmp (&plus_zero, &minus_zero, sizeof (double)) != 0;
  52095. +}
  52096. +static char buf[10000];
  52097. +static double zero = 0.0;
  52098. +int main ()
  52099. +{
  52100. + int result = 0;
  52101. + if (sprintf (buf, "%f", 1.0 / 0.0) < 0
  52102. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  52103. + result |= 1;
  52104. + if (sprintf (buf, "%f", -1.0 / 0.0) < 0
  52105. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  52106. + result |= 1;
  52107. + if (sprintf (buf, "%f", zero / zero) < 0
  52108. + || !strisnan (buf, 0, strlen (buf)))
  52109. + result |= 2;
  52110. + if (sprintf (buf, "%e", 1.0 / 0.0) < 0
  52111. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  52112. + result |= 4;
  52113. + if (sprintf (buf, "%e", -1.0 / 0.0) < 0
  52114. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  52115. + result |= 4;
  52116. + if (sprintf (buf, "%e", zero / zero) < 0
  52117. + || !strisnan (buf, 0, strlen (buf)))
  52118. + result |= 8;
  52119. + if (sprintf (buf, "%g", 1.0 / 0.0) < 0
  52120. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  52121. + result |= 16;
  52122. + if (sprintf (buf, "%g", -1.0 / 0.0) < 0
  52123. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  52124. + result |= 16;
  52125. + if (sprintf (buf, "%g", zero / zero) < 0
  52126. + || !strisnan (buf, 0, strlen (buf)))
  52127. + result |= 32;
  52128. + /* This test fails on HP-UX 10.20. */
  52129. + if (have_minus_zero ())
  52130. + if (sprintf (buf, "%g", - zero) < 0
  52131. + || strcmp (buf, "-0") != 0)
  52132. + result |= 64;
  52133. + return result;
  52134. +}
  52135. +_ACEOF
  52136. +if ac_fn_c_try_run "$LINENO"; then :
  52137. + gl_cv_func_printf_infinite=yes
  52138. +else
  52139. + gl_cv_func_printf_infinite=no
  52140. +fi
  52141. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  52142. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  52143. +fi
  52144. +
  52145. +
  52146. +fi
  52147. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_infinite" >&5
  52148. +$as_echo "$gl_cv_func_printf_infinite" >&6; }
  52149. +
  52150. +
  52151. +
  52152. +
  52153. +
  52154. + if test -n "$gl_printf_safe"; then
  52155. +
  52156. +$as_echo "@%:@define CHECK_PRINTF_SAFE 1" >>confdefs.h
  52157. +
  52158. + fi
  52159. + case "$gl_cv_func_printf_long_double" in
  52160. + *yes)
  52161. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'long double' arguments" >&5
  52162. +$as_echo_n "checking whether printf supports infinite 'long double' arguments... " >&6; }
  52163. +if ${gl_cv_func_printf_infinite_long_double+:} false; then :
  52164. + $as_echo_n "(cached) " >&6
  52165. +else
  52166. +
  52167. + if test "$cross_compiling" = yes; then :
  52168. +
  52169. + case "$host_cpu" in
  52170. + # Guess no on ia64, x86_64, i386.
  52171. + ia64 | x86_64 | i*86) gl_cv_func_printf_infinite_long_double="guessing no";;
  52172. + *)
  52173. + case "$host_os" in
  52174. + # Guess yes on glibc systems.
  52175. + *-gnu*) gl_cv_func_printf_infinite_long_double="guessing yes";;
  52176. + # Guess yes on FreeBSD >= 6.
  52177. + freebsd[1-5]*) gl_cv_func_printf_infinite_long_double="guessing no";;
  52178. + freebsd* | kfreebsd*) gl_cv_func_printf_infinite_long_double="guessing yes";;
  52179. + # Guess yes on HP-UX >= 11.
  52180. + hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite_long_double="guessing no";;
  52181. + hpux*) gl_cv_func_printf_infinite_long_double="guessing yes";;
  52182. + # If we don't know, assume the worst.
  52183. + *) gl_cv_func_printf_infinite_long_double="guessing no";;
  52184. + esac
  52185. + ;;
  52186. + esac
  52187. +
  52188. +else
  52189. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52190. +/* end confdefs.h. */
  52191. +
  52192. +
  52193. +#include <stdlib.h>
  52194. +#if defined __MACH__ && defined __APPLE__
  52195. +/* Avoid a crash on MacOS X. */
  52196. +#include <mach/mach.h>
  52197. +#include <mach/mach_error.h>
  52198. +#include <mach/thread_status.h>
  52199. +#include <mach/exception.h>
  52200. +#include <mach/task.h>
  52201. +#include <pthread.h>
  52202. +/* The exception port on which our thread listens. */
  52203. +static mach_port_t our_exception_port;
  52204. +/* The main function of the thread listening for exceptions of type
  52205. + EXC_BAD_ACCESS. */
  52206. +static void *
  52207. +mach_exception_thread (void *arg)
  52208. +{
  52209. + /* Buffer for a message to be received. */
  52210. + struct {
  52211. + mach_msg_header_t head;
  52212. + mach_msg_body_t msgh_body;
  52213. + char data[1024];
  52214. + } msg;
  52215. + mach_msg_return_t retval;
  52216. + /* Wait for a message on the exception port. */
  52217. + retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
  52218. + our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
  52219. + if (retval != MACH_MSG_SUCCESS)
  52220. + abort ();
  52221. + exit (1);
  52222. +}
  52223. +static void
  52224. +nocrash_init (void)
  52225. +{
  52226. + mach_port_t self = mach_task_self ();
  52227. + /* Allocate a port on which the thread shall listen for exceptions. */
  52228. + if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
  52229. + == KERN_SUCCESS) {
  52230. + /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */
  52231. + if (mach_port_insert_right (self, our_exception_port, our_exception_port,
  52232. + MACH_MSG_TYPE_MAKE_SEND)
  52233. + == KERN_SUCCESS) {
  52234. + /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting
  52235. + for us. */
  52236. + exception_mask_t mask = EXC_MASK_BAD_ACCESS;
  52237. + /* Create the thread listening on the exception port. */
  52238. + pthread_attr_t attr;
  52239. + pthread_t thread;
  52240. + if (pthread_attr_init (&attr) == 0
  52241. + && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
  52242. + && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
  52243. + pthread_attr_destroy (&attr);
  52244. + /* Replace the exception port info for these exceptions with our own.
  52245. + Note that we replace the exception port for the entire task, not only
  52246. + for a particular thread. This has the effect that when our exception
  52247. + port gets the message, the thread specific exception port has already
  52248. + been asked, and we don't need to bother about it.
  52249. + See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */
  52250. + task_set_exception_ports (self, mask, our_exception_port,
  52251. + EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
  52252. + }
  52253. + }
  52254. + }
  52255. +}
  52256. +#else
  52257. +/* Avoid a crash on POSIX systems. */
  52258. +#include <signal.h>
  52259. +/* A POSIX signal handler. */
  52260. +static void
  52261. +exception_handler (int sig)
  52262. +{
  52263. + exit (1);
  52264. +}
  52265. +static void
  52266. +nocrash_init (void)
  52267. +{
  52268. +#ifdef SIGSEGV
  52269. + signal (SIGSEGV, exception_handler);
  52270. +#endif
  52271. +#ifdef SIGBUS
  52272. + signal (SIGBUS, exception_handler);
  52273. +#endif
  52274. +}
  52275. +#endif
  52276. +
  52277. +#include <float.h>
  52278. +#include <stdio.h>
  52279. +#include <string.h>
  52280. +static int
  52281. +strisnan (const char *string, size_t start_index, size_t end_index)
  52282. +{
  52283. + if (start_index < end_index)
  52284. + {
  52285. + if (string[start_index] == '-')
  52286. + start_index++;
  52287. + if (start_index + 3 <= end_index
  52288. + && memcmp (string + start_index, "nan", 3) == 0)
  52289. + {
  52290. + start_index += 3;
  52291. + if (start_index == end_index
  52292. + || (string[start_index] == '(' && string[end_index - 1] == ')'))
  52293. + return 1;
  52294. + }
  52295. + }
  52296. + return 0;
  52297. +}
  52298. +static char buf[10000];
  52299. +static long double zeroL = 0.0L;
  52300. +int main ()
  52301. +{
  52302. + int result = 0;
  52303. + nocrash_init();
  52304. + if (sprintf (buf, "%Lf", 1.0L / 0.0L) < 0
  52305. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  52306. + result |= 1;
  52307. + if (sprintf (buf, "%Lf", -1.0L / 0.0L) < 0
  52308. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  52309. + result |= 1;
  52310. + if (sprintf (buf, "%Lf", zeroL / zeroL) < 0
  52311. + || !strisnan (buf, 0, strlen (buf)))
  52312. + result |= 1;
  52313. + if (sprintf (buf, "%Le", 1.0L / 0.0L) < 0
  52314. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  52315. + result |= 1;
  52316. + if (sprintf (buf, "%Le", -1.0L / 0.0L) < 0
  52317. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  52318. + result |= 1;
  52319. + if (sprintf (buf, "%Le", zeroL / zeroL) < 0
  52320. + || !strisnan (buf, 0, strlen (buf)))
  52321. + result |= 1;
  52322. + if (sprintf (buf, "%Lg", 1.0L / 0.0L) < 0
  52323. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  52324. + result |= 1;
  52325. + if (sprintf (buf, "%Lg", -1.0L / 0.0L) < 0
  52326. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  52327. + result |= 1;
  52328. + if (sprintf (buf, "%Lg", zeroL / zeroL) < 0
  52329. + || !strisnan (buf, 0, strlen (buf)))
  52330. + result |= 1;
  52331. +#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_))
  52332. +/* Representation of an 80-bit 'long double' as an initializer for a sequence
  52333. + of 'unsigned int' words. */
  52334. +# ifdef WORDS_BIGENDIAN
  52335. +# define LDBL80_WORDS(exponent,manthi,mantlo) \
  52336. + { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \
  52337. + ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16), \
  52338. + (unsigned int) (mantlo) << 16 \
  52339. + }
  52340. +# else
  52341. +# define LDBL80_WORDS(exponent,manthi,mantlo) \
  52342. + { mantlo, manthi, exponent }
  52343. +# endif
  52344. + { /* Quiet NaN. */
  52345. + static union { unsigned int word[4]; long double value; } x =
  52346. + { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
  52347. + if (sprintf (buf, "%Lf", x.value) < 0
  52348. + || !strisnan (buf, 0, strlen (buf)))
  52349. + result |= 2;
  52350. + if (sprintf (buf, "%Le", x.value) < 0
  52351. + || !strisnan (buf, 0, strlen (buf)))
  52352. + result |= 2;
  52353. + if (sprintf (buf, "%Lg", x.value) < 0
  52354. + || !strisnan (buf, 0, strlen (buf)))
  52355. + result |= 2;
  52356. + }
  52357. + {
  52358. + /* Signalling NaN. */
  52359. + static union { unsigned int word[4]; long double value; } x =
  52360. + { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
  52361. + if (sprintf (buf, "%Lf", x.value) < 0
  52362. + || !strisnan (buf, 0, strlen (buf)))
  52363. + result |= 2;
  52364. + if (sprintf (buf, "%Le", x.value) < 0
  52365. + || !strisnan (buf, 0, strlen (buf)))
  52366. + result |= 2;
  52367. + if (sprintf (buf, "%Lg", x.value) < 0
  52368. + || !strisnan (buf, 0, strlen (buf)))
  52369. + result |= 2;
  52370. + }
  52371. + { /* Pseudo-NaN. */
  52372. + static union { unsigned int word[4]; long double value; } x =
  52373. + { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
  52374. + if (sprintf (buf, "%Lf", x.value) < 0
  52375. + || !strisnan (buf, 0, strlen (buf)))
  52376. + result |= 4;
  52377. + if (sprintf (buf, "%Le", x.value) < 0
  52378. + || !strisnan (buf, 0, strlen (buf)))
  52379. + result |= 4;
  52380. + if (sprintf (buf, "%Lg", x.value) < 0
  52381. + || !strisnan (buf, 0, strlen (buf)))
  52382. + result |= 4;
  52383. + }
  52384. + { /* Pseudo-Infinity. */
  52385. + static union { unsigned int word[4]; long double value; } x =
  52386. + { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
  52387. + if (sprintf (buf, "%Lf", x.value) < 0
  52388. + || !strisnan (buf, 0, strlen (buf)))
  52389. + result |= 8;
  52390. + if (sprintf (buf, "%Le", x.value) < 0
  52391. + || !strisnan (buf, 0, strlen (buf)))
  52392. + result |= 8;
  52393. + if (sprintf (buf, "%Lg", x.value) < 0
  52394. + || !strisnan (buf, 0, strlen (buf)))
  52395. + result |= 8;
  52396. + }
  52397. + { /* Pseudo-Zero. */
  52398. + static union { unsigned int word[4]; long double value; } x =
  52399. + { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
  52400. + if (sprintf (buf, "%Lf", x.value) < 0
  52401. + || !strisnan (buf, 0, strlen (buf)))
  52402. + result |= 16;
  52403. + if (sprintf (buf, "%Le", x.value) < 0
  52404. + || !strisnan (buf, 0, strlen (buf)))
  52405. + result |= 16;
  52406. + if (sprintf (buf, "%Lg", x.value) < 0
  52407. + || !strisnan (buf, 0, strlen (buf)))
  52408. + result |= 16;
  52409. + }
  52410. + { /* Unnormalized number. */
  52411. + static union { unsigned int word[4]; long double value; } x =
  52412. + { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
  52413. + if (sprintf (buf, "%Lf", x.value) < 0
  52414. + || !strisnan (buf, 0, strlen (buf)))
  52415. + result |= 32;
  52416. + if (sprintf (buf, "%Le", x.value) < 0
  52417. + || !strisnan (buf, 0, strlen (buf)))
  52418. + result |= 32;
  52419. + if (sprintf (buf, "%Lg", x.value) < 0
  52420. + || !strisnan (buf, 0, strlen (buf)))
  52421. + result |= 32;
  52422. + }
  52423. + { /* Pseudo-Denormal. */
  52424. + static union { unsigned int word[4]; long double value; } x =
  52425. + { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
  52426. + if (sprintf (buf, "%Lf", x.value) < 0
  52427. + || !strisnan (buf, 0, strlen (buf)))
  52428. + result |= 64;
  52429. + if (sprintf (buf, "%Le", x.value) < 0
  52430. + || !strisnan (buf, 0, strlen (buf)))
  52431. + result |= 64;
  52432. + if (sprintf (buf, "%Lg", x.value) < 0
  52433. + || !strisnan (buf, 0, strlen (buf)))
  52434. + result |= 64;
  52435. + }
  52436. +#endif
  52437. + return result;
  52438. +}
  52439. +_ACEOF
  52440. +if ac_fn_c_try_run "$LINENO"; then :
  52441. + gl_cv_func_printf_infinite_long_double=yes
  52442. +else
  52443. + gl_cv_func_printf_infinite_long_double=no
  52444. +fi
  52445. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  52446. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  52447. +fi
  52448. +
  52449. +
  52450. +fi
  52451. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_infinite_long_double" >&5
  52452. +$as_echo "$gl_cv_func_printf_infinite_long_double" >&6; }
  52453. + ;;
  52454. + *)
  52455. + gl_cv_func_printf_infinite_long_double="irrelevant"
  52456. + ;;
  52457. + esac
  52458. +
  52459. +
  52460. +
  52461. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'a' and 'A' directives" >&5
  52462. +$as_echo_n "checking whether printf supports the 'a' and 'A' directives... " >&6; }
  52463. +if ${gl_cv_func_printf_directive_a+:} false; then :
  52464. + $as_echo_n "(cached) " >&6
  52465. +else
  52466. +
  52467. + if test "$cross_compiling" = yes; then :
  52468. +
  52469. + case "$host_os" in
  52470. + # Guess yes on glibc >= 2.5 systems.
  52471. + *-gnu*)
  52472. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52473. +/* end confdefs.h. */
  52474. +
  52475. + #include <features.h>
  52476. + #ifdef __GNU_LIBRARY__
  52477. + #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 5) || (__GLIBC__ > 2)) && !defined __UCLIBC__
  52478. + BZ2908
  52479. + #endif
  52480. + #endif
  52481. +
  52482. +_ACEOF
  52483. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  52484. + $EGREP "BZ2908" >/dev/null 2>&1; then :
  52485. + gl_cv_func_printf_directive_a="guessing yes"
  52486. +else
  52487. + gl_cv_func_printf_directive_a="guessing no"
  52488. +fi
  52489. +rm -f conftest*
  52490. +
  52491. + ;;
  52492. + # If we don't know, assume the worst.
  52493. + *) gl_cv_func_printf_directive_a="guessing no";;
  52494. + esac
  52495. +
  52496. +else
  52497. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52498. +/* end confdefs.h. */
  52499. +
  52500. +#include <stdio.h>
  52501. +#include <string.h>
  52502. +static char buf[100];
  52503. +int main ()
  52504. +{
  52505. + int result = 0;
  52506. + if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0
  52507. + || (strcmp (buf, "0x1.922p+1 33") != 0
  52508. + && strcmp (buf, "0x3.244p+0 33") != 0
  52509. + && strcmp (buf, "0x6.488p-1 33") != 0
  52510. + && strcmp (buf, "0xc.91p-2 33") != 0))
  52511. + result |= 1;
  52512. + if (sprintf (buf, "%A %d", -3.1416015625, 33, 44, 55) < 0
  52513. + || (strcmp (buf, "-0X1.922P+1 33") != 0
  52514. + && strcmp (buf, "-0X3.244P+0 33") != 0
  52515. + && strcmp (buf, "-0X6.488P-1 33") != 0
  52516. + && strcmp (buf, "-0XC.91P-2 33") != 0))
  52517. + result |= 2;
  52518. + /* This catches a FreeBSD 6.1 bug: it doesn't round. */
  52519. + if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0
  52520. + || (strcmp (buf, "0x1.83p+0 33") != 0
  52521. + && strcmp (buf, "0x3.05p-1 33") != 0
  52522. + && strcmp (buf, "0x6.0ap-2 33") != 0
  52523. + && strcmp (buf, "0xc.14p-3 33") != 0))
  52524. + result |= 4;
  52525. + /* This catches a FreeBSD 6.1 bug. See
  52526. + <http://lists.gnu.org/archive/html/bug-gnulib/2007-04/msg00107.html> */
  52527. + if (sprintf (buf, "%010a %d", 1.0 / 0.0, 33, 44, 55) < 0
  52528. + || buf[0] == '0')
  52529. + result |= 8;
  52530. + /* This catches a MacOS X 10.3.9 (Darwin 7.9) bug. */
  52531. + if (sprintf (buf, "%.1a", 1.999) < 0
  52532. + || (strcmp (buf, "0x1.0p+1") != 0
  52533. + && strcmp (buf, "0x2.0p+0") != 0
  52534. + && strcmp (buf, "0x4.0p-1") != 0
  52535. + && strcmp (buf, "0x8.0p-2") != 0))
  52536. + result |= 16;
  52537. + /* This catches the same MacOS X 10.3.9 (Darwin 7.9) bug and also a
  52538. + glibc 2.4 bug <http://sourceware.org/bugzilla/show_bug.cgi?id=2908>. */
  52539. + if (sprintf (buf, "%.1La", 1.999L) < 0
  52540. + || (strcmp (buf, "0x1.0p+1") != 0
  52541. + && strcmp (buf, "0x2.0p+0") != 0
  52542. + && strcmp (buf, "0x4.0p-1") != 0
  52543. + && strcmp (buf, "0x8.0p-2") != 0))
  52544. + result |= 32;
  52545. + return result;
  52546. +}
  52547. +_ACEOF
  52548. +if ac_fn_c_try_run "$LINENO"; then :
  52549. + gl_cv_func_printf_directive_a=yes
  52550. +else
  52551. + gl_cv_func_printf_directive_a=no
  52552. +fi
  52553. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  52554. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  52555. +fi
  52556. +
  52557. +
  52558. +fi
  52559. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_a" >&5
  52560. +$as_echo "$gl_cv_func_printf_directive_a" >&6; }
  52561. +
  52562. +
  52563. +
  52564. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'F' directive" >&5
  52565. +$as_echo_n "checking whether printf supports the 'F' directive... " >&6; }
  52566. +if ${gl_cv_func_printf_directive_f+:} false; then :
  52567. + $as_echo_n "(cached) " >&6
  52568. +else
  52569. +
  52570. + if test "$cross_compiling" = yes; then :
  52571. +
  52572. + case "$host_os" in
  52573. + # Guess yes on glibc systems.
  52574. + *-gnu*) gl_cv_func_printf_directive_f="guessing yes";;
  52575. + # Guess yes on FreeBSD >= 6.
  52576. + freebsd[1-5]*) gl_cv_func_printf_directive_f="guessing no";;
  52577. + freebsd* | kfreebsd*) gl_cv_func_printf_directive_f="guessing yes";;
  52578. + # Guess yes on MacOS X >= 10.3.
  52579. + darwin[1-6].*) gl_cv_func_printf_directive_f="guessing no";;
  52580. + darwin*) gl_cv_func_printf_directive_f="guessing yes";;
  52581. + # Guess yes on Solaris >= 2.10.
  52582. + solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
  52583. + solaris*) gl_cv_func_printf_sizes_c99="guessing no";;
  52584. + # If we don't know, assume the worst.
  52585. + *) gl_cv_func_printf_directive_f="guessing no";;
  52586. + esac
  52587. +
  52588. +else
  52589. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52590. +/* end confdefs.h. */
  52591. +
  52592. +#include <stdio.h>
  52593. +#include <string.h>
  52594. +static char buf[100];
  52595. +int main ()
  52596. +{
  52597. + int result = 0;
  52598. + if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0
  52599. + || strcmp (buf, "1234567.000000 33") != 0)
  52600. + result |= 1;
  52601. + if (sprintf (buf, "%F", 1.0 / 0.0) < 0
  52602. + || (strcmp (buf, "INF") != 0 && strcmp (buf, "INFINITY") != 0))
  52603. + result |= 2;
  52604. + /* This catches a Cygwin 1.5.x bug. */
  52605. + if (sprintf (buf, "%.F", 1234.0) < 0
  52606. + || strcmp (buf, "1234") != 0)
  52607. + result |= 4;
  52608. + return result;
  52609. +}
  52610. +_ACEOF
  52611. +if ac_fn_c_try_run "$LINENO"; then :
  52612. + gl_cv_func_printf_directive_f=yes
  52613. +else
  52614. + gl_cv_func_printf_directive_f=no
  52615. +fi
  52616. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  52617. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  52618. +fi
  52619. +
  52620. +
  52621. +fi
  52622. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_f" >&5
  52623. +$as_echo "$gl_cv_func_printf_directive_f" >&6; }
  52624. +
  52625. +
  52626. +
  52627. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'n' directive" >&5
  52628. +$as_echo_n "checking whether printf supports the 'n' directive... " >&6; }
  52629. +if ${gl_cv_func_printf_directive_n+:} false; then :
  52630. + $as_echo_n "(cached) " >&6
  52631. +else
  52632. +
  52633. + if test "$cross_compiling" = yes; then :
  52634. +
  52635. + case "$host_os" in
  52636. + *) gl_cv_func_printf_directive_n="guessing yes";;
  52637. + esac
  52638. +
  52639. +else
  52640. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52641. +/* end confdefs.h. */
  52642. +
  52643. +#include <stdio.h>
  52644. +#include <string.h>
  52645. +static char fmtstring[10];
  52646. +static char buf[100];
  52647. +int main ()
  52648. +{
  52649. + int count = -1;
  52650. + /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2)
  52651. + support %n in format strings in read-only memory but not in writable
  52652. + memory. */
  52653. + strcpy (fmtstring, "%d %n");
  52654. + if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0
  52655. + || strcmp (buf, "123 ") != 0
  52656. + || count != 4)
  52657. + return 1;
  52658. + return 0;
  52659. +}
  52660. +_ACEOF
  52661. +if ac_fn_c_try_run "$LINENO"; then :
  52662. + gl_cv_func_printf_directive_n=yes
  52663. +else
  52664. + gl_cv_func_printf_directive_n=no
  52665. +fi
  52666. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  52667. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  52668. +fi
  52669. +
  52670. +
  52671. +fi
  52672. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_n" >&5
  52673. +$as_echo "$gl_cv_func_printf_directive_n" >&6; }
  52674. +
  52675. +
  52676. +
  52677. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'ls' directive" >&5
  52678. +$as_echo_n "checking whether printf supports the 'ls' directive... " >&6; }
  52679. +if ${gl_cv_func_printf_directive_ls+:} false; then :
  52680. + $as_echo_n "(cached) " >&6
  52681. +else
  52682. +
  52683. + if test "$cross_compiling" = yes; then :
  52684. +
  52685. + case "$host_os" in
  52686. + openbsd*) gl_cv_func_printf_directive_ls="guessing no";;
  52687. + irix*) gl_cv_func_printf_directive_ls="guessing no";;
  52688. + solaris*) gl_cv_func_printf_directive_ls="guessing no";;
  52689. + cygwin*) gl_cv_func_printf_directive_ls="guessing no";;
  52690. + beos* | haiku*) gl_cv_func_printf_directive_ls="guessing no";;
  52691. + *) gl_cv_func_printf_directive_ls="guessing yes";;
  52692. + esac
  52693. +
  52694. +else
  52695. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52696. +/* end confdefs.h. */
  52697. +
  52698. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  52699. + <wchar.h>.
  52700. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  52701. + included before <wchar.h>. */
  52702. +#include <stddef.h>
  52703. +#include <stdio.h>
  52704. +#include <time.h>
  52705. +#include <wchar.h>
  52706. +#include <string.h>
  52707. +int main ()
  52708. +{
  52709. + int result = 0;
  52710. + char buf[100];
  52711. + /* Test whether %ls works at all.
  52712. + This test fails on OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Haiku, but not on
  52713. + Cygwin 1.5. */
  52714. + {
  52715. + static const wchar_t wstring[] = { 'a', 'b', 'c', 0 };
  52716. + buf[0] = '\0';
  52717. + if (sprintf (buf, "%ls", wstring) < 0
  52718. + || strcmp (buf, "abc") != 0)
  52719. + result |= 1;
  52720. + }
  52721. + /* This test fails on IRIX 6.5, Solaris 2.6, Cygwin 1.5, Haiku (with an
  52722. + assertion failure inside libc), but not on OpenBSD 4.0. */
  52723. + {
  52724. + static const wchar_t wstring[] = { 'a', 0 };
  52725. + buf[0] = '\0';
  52726. + if (sprintf (buf, "%ls", wstring) < 0
  52727. + || strcmp (buf, "a") != 0)
  52728. + result |= 2;
  52729. + }
  52730. + /* Test whether precisions in %ls are supported as specified in ISO C 99
  52731. + section 7.19.6.1:
  52732. + "If a precision is specified, no more than that many bytes are written
  52733. + (including shift sequences, if any), and the array shall contain a
  52734. + null wide character if, to equal the multibyte character sequence
  52735. + length given by the precision, the function would need to access a
  52736. + wide character one past the end of the array."
  52737. + This test fails on Solaris 10. */
  52738. + {
  52739. + static const wchar_t wstring[] = { 'a', 'b', (wchar_t) 0xfdfdfdfd, 0 };
  52740. + buf[0] = '\0';
  52741. + if (sprintf (buf, "%.2ls", wstring) < 0
  52742. + || strcmp (buf, "ab") != 0)
  52743. + result |= 8;
  52744. + }
  52745. + return result;
  52746. +}
  52747. +_ACEOF
  52748. +if ac_fn_c_try_run "$LINENO"; then :
  52749. + gl_cv_func_printf_directive_ls=yes
  52750. +else
  52751. + gl_cv_func_printf_directive_ls=no
  52752. +fi
  52753. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  52754. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  52755. +fi
  52756. +
  52757. +
  52758. +fi
  52759. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_directive_ls" >&5
  52760. +$as_echo "$gl_cv_func_printf_directive_ls" >&6; }
  52761. +
  52762. +
  52763. +
  52764. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports POSIX/XSI format strings with positions" >&5
  52765. +$as_echo_n "checking whether printf supports POSIX/XSI format strings with positions... " >&6; }
  52766. +if ${gl_cv_func_printf_positions+:} false; then :
  52767. + $as_echo_n "(cached) " >&6
  52768. +else
  52769. +
  52770. + if test "$cross_compiling" = yes; then :
  52771. +
  52772. + case "$host_os" in
  52773. + netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*)
  52774. + gl_cv_func_printf_positions="guessing no";;
  52775. + beos*) gl_cv_func_printf_positions="guessing no";;
  52776. + mingw* | pw*) gl_cv_func_printf_positions="guessing no";;
  52777. + *) gl_cv_func_printf_positions="guessing yes";;
  52778. + esac
  52779. +
  52780. +else
  52781. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52782. +/* end confdefs.h. */
  52783. +
  52784. +#include <stdio.h>
  52785. +#include <string.h>
  52786. +/* The string "%2$d %1$d", with dollar characters protected from the shell's
  52787. + dollar expansion (possibly an autoconf bug). */
  52788. +static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
  52789. +static char buf[100];
  52790. +int main ()
  52791. +{
  52792. + sprintf (buf, format, 33, 55);
  52793. + return (strcmp (buf, "55 33") != 0);
  52794. +}
  52795. +_ACEOF
  52796. +if ac_fn_c_try_run "$LINENO"; then :
  52797. + gl_cv_func_printf_positions=yes
  52798. +else
  52799. + gl_cv_func_printf_positions=no
  52800. +fi
  52801. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  52802. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  52803. +fi
  52804. +
  52805. +
  52806. +fi
  52807. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_positions" >&5
  52808. +$as_echo "$gl_cv_func_printf_positions" >&6; }
  52809. +
  52810. +
  52811. +
  52812. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the grouping flag" >&5
  52813. +$as_echo_n "checking whether printf supports the grouping flag... " >&6; }
  52814. +if ${gl_cv_func_printf_flag_grouping+:} false; then :
  52815. + $as_echo_n "(cached) " >&6
  52816. +else
  52817. +
  52818. + if test "$cross_compiling" = yes; then :
  52819. +
  52820. + case "$host_os" in
  52821. + cygwin*) gl_cv_func_printf_flag_grouping="guessing no";;
  52822. + netbsd*) gl_cv_func_printf_flag_grouping="guessing no";;
  52823. + mingw* | pw*) gl_cv_func_printf_flag_grouping="guessing no";;
  52824. + *) gl_cv_func_printf_flag_grouping="guessing yes";;
  52825. + esac
  52826. +
  52827. +else
  52828. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52829. +/* end confdefs.h. */
  52830. +
  52831. +#include <stdio.h>
  52832. +#include <string.h>
  52833. +static char buf[100];
  52834. +int main ()
  52835. +{
  52836. + if (sprintf (buf, "%'d %d", 1234567, 99) < 0
  52837. + || buf[strlen (buf) - 1] != '9')
  52838. + return 1;
  52839. + return 0;
  52840. +}
  52841. +_ACEOF
  52842. +if ac_fn_c_try_run "$LINENO"; then :
  52843. + gl_cv_func_printf_flag_grouping=yes
  52844. +else
  52845. + gl_cv_func_printf_flag_grouping=no
  52846. +fi
  52847. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  52848. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  52849. +fi
  52850. +
  52851. +
  52852. +fi
  52853. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_flag_grouping" >&5
  52854. +$as_echo "$gl_cv_func_printf_flag_grouping" >&6; }
  52855. +
  52856. +
  52857. +
  52858. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the left-adjust flag correctly" >&5
  52859. +$as_echo_n "checking whether printf supports the left-adjust flag correctly... " >&6; }
  52860. +if ${gl_cv_func_printf_flag_leftadjust+:} false; then :
  52861. + $as_echo_n "(cached) " >&6
  52862. +else
  52863. +
  52864. + if test "$cross_compiling" = yes; then :
  52865. +
  52866. + case "$host_os" in
  52867. + # Guess yes on HP-UX 11.
  52868. + hpux11*) gl_cv_func_printf_flag_leftadjust="guessing yes";;
  52869. + # Guess no on HP-UX 10 and older.
  52870. + hpux*) gl_cv_func_printf_flag_leftadjust="guessing no";;
  52871. + # Guess yes otherwise.
  52872. + *) gl_cv_func_printf_flag_leftadjust="guessing yes";;
  52873. + esac
  52874. +
  52875. +else
  52876. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52877. +/* end confdefs.h. */
  52878. +
  52879. +#include <stdio.h>
  52880. +#include <string.h>
  52881. +static char buf[100];
  52882. +int main ()
  52883. +{
  52884. + /* Check that a '-' flag is not annihilated by a negative width. */
  52885. + if (sprintf (buf, "a%-*sc", -3, "b") < 0
  52886. + || strcmp (buf, "ab c") != 0)
  52887. + return 1;
  52888. + return 0;
  52889. +}
  52890. +_ACEOF
  52891. +if ac_fn_c_try_run "$LINENO"; then :
  52892. + gl_cv_func_printf_flag_leftadjust=yes
  52893. +else
  52894. + gl_cv_func_printf_flag_leftadjust=no
  52895. +fi
  52896. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  52897. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  52898. +fi
  52899. +
  52900. +
  52901. +fi
  52902. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_flag_leftadjust" >&5
  52903. +$as_echo "$gl_cv_func_printf_flag_leftadjust" >&6; }
  52904. +
  52905. +
  52906. +
  52907. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the zero flag correctly" >&5
  52908. +$as_echo_n "checking whether printf supports the zero flag correctly... " >&6; }
  52909. +if ${gl_cv_func_printf_flag_zero+:} false; then :
  52910. + $as_echo_n "(cached) " >&6
  52911. +else
  52912. +
  52913. + if test "$cross_compiling" = yes; then :
  52914. +
  52915. + case "$host_os" in
  52916. + # Guess yes on glibc systems.
  52917. + *-gnu*) gl_cv_func_printf_flag_zero="guessing yes";;
  52918. + # Guess yes on BeOS.
  52919. + beos*) gl_cv_func_printf_flag_zero="guessing yes";;
  52920. + # If we don't know, assume the worst.
  52921. + *) gl_cv_func_printf_flag_zero="guessing no";;
  52922. + esac
  52923. +
  52924. +else
  52925. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52926. +/* end confdefs.h. */
  52927. +
  52928. +#include <stdio.h>
  52929. +#include <string.h>
  52930. +static char buf[100];
  52931. +int main ()
  52932. +{
  52933. + if (sprintf (buf, "%010f", 1.0 / 0.0, 33, 44, 55) < 0
  52934. + || (strcmp (buf, " inf") != 0
  52935. + && strcmp (buf, " infinity") != 0))
  52936. + return 1;
  52937. + return 0;
  52938. +}
  52939. +_ACEOF
  52940. +if ac_fn_c_try_run "$LINENO"; then :
  52941. + gl_cv_func_printf_flag_zero=yes
  52942. +else
  52943. + gl_cv_func_printf_flag_zero=no
  52944. +fi
  52945. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  52946. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  52947. +fi
  52948. +
  52949. +
  52950. +fi
  52951. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_flag_zero" >&5
  52952. +$as_echo "$gl_cv_func_printf_flag_zero" >&6; }
  52953. +
  52954. +
  52955. +
  52956. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports large precisions" >&5
  52957. +$as_echo_n "checking whether printf supports large precisions... " >&6; }
  52958. +if ${gl_cv_func_printf_precision+:} false; then :
  52959. + $as_echo_n "(cached) " >&6
  52960. +else
  52961. +
  52962. + if test "$cross_compiling" = yes; then :
  52963. +
  52964. + case "$host_os" in
  52965. + # Guess no only on Solaris, native Win32, and BeOS systems.
  52966. + solaris*) gl_cv_func_printf_precision="guessing no" ;;
  52967. + mingw* | pw*) gl_cv_func_printf_precision="guessing no" ;;
  52968. + beos*) gl_cv_func_printf_precision="guessing no" ;;
  52969. + *) gl_cv_func_printf_precision="guessing yes" ;;
  52970. + esac
  52971. +
  52972. +else
  52973. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  52974. +/* end confdefs.h. */
  52975. +
  52976. +#include <stdio.h>
  52977. +#include <string.h>
  52978. +static char buf[5000];
  52979. +int main ()
  52980. +{
  52981. + int result = 0;
  52982. +#ifdef __BEOS__
  52983. + /* On BeOS, this would crash and show a dialog box. Avoid the crash. */
  52984. + return 1;
  52985. +#endif
  52986. + if (sprintf (buf, "%.4000d %d", 1, 33, 44) < 4000 + 3)
  52987. + result |= 1;
  52988. + if (sprintf (buf, "%.4000f %d", 1.0, 33, 44) < 4000 + 5)
  52989. + result |= 2;
  52990. + if (sprintf (buf, "%.511f %d", 1.0, 33, 44) < 511 + 5
  52991. + || buf[0] != '1')
  52992. + result |= 4;
  52993. + return result;
  52994. +}
  52995. +_ACEOF
  52996. +if ac_fn_c_try_run "$LINENO"; then :
  52997. + gl_cv_func_printf_precision=yes
  52998. +else
  52999. + gl_cv_func_printf_precision=no
  53000. +fi
  53001. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  53002. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  53003. +fi
  53004. +
  53005. +
  53006. +fi
  53007. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_precision" >&5
  53008. +$as_echo "$gl_cv_func_printf_precision" >&6; }
  53009. +
  53010. +
  53011. +
  53012. +
  53013. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf survives out-of-memory conditions" >&5
  53014. +$as_echo_n "checking whether printf survives out-of-memory conditions... " >&6; }
  53015. +if ${gl_cv_func_printf_enomem+:} false; then :
  53016. + $as_echo_n "(cached) " >&6
  53017. +else
  53018. +
  53019. + gl_cv_func_printf_enomem="guessing no"
  53020. + if test "$cross_compiling" = no; then
  53021. + if test $APPLE_UNIVERSAL_BUILD = 0; then
  53022. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53023. +/* end confdefs.h. */
  53024. +
  53025. +
  53026. +#include <stdlib.h>
  53027. +#if defined __MACH__ && defined __APPLE__
  53028. +/* Avoid a crash on MacOS X. */
  53029. +#include <mach/mach.h>
  53030. +#include <mach/mach_error.h>
  53031. +#include <mach/thread_status.h>
  53032. +#include <mach/exception.h>
  53033. +#include <mach/task.h>
  53034. +#include <pthread.h>
  53035. +/* The exception port on which our thread listens. */
  53036. +static mach_port_t our_exception_port;
  53037. +/* The main function of the thread listening for exceptions of type
  53038. + EXC_BAD_ACCESS. */
  53039. +static void *
  53040. +mach_exception_thread (void *arg)
  53041. +{
  53042. + /* Buffer for a message to be received. */
  53043. + struct {
  53044. + mach_msg_header_t head;
  53045. + mach_msg_body_t msgh_body;
  53046. + char data1024;
  53047. + } msg;
  53048. + mach_msg_return_t retval;
  53049. + /* Wait for a message on the exception port. */
  53050. + retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
  53051. + our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
  53052. + if (retval != MACH_MSG_SUCCESS)
  53053. + abort ();
  53054. + exit (1);
  53055. +}
  53056. +static void
  53057. +nocrash_init (void)
  53058. +{
  53059. + mach_port_t self = mach_task_self ();
  53060. + /* Allocate a port on which the thread shall listen for exceptions. */
  53061. + if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
  53062. + == KERN_SUCCESS) {
  53063. + /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */
  53064. + if (mach_port_insert_right (self, our_exception_port, our_exception_port,
  53065. + MACH_MSG_TYPE_MAKE_SEND)
  53066. + == KERN_SUCCESS) {
  53067. + /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting
  53068. + for us. */
  53069. + exception_mask_t mask = EXC_MASK_BAD_ACCESS;
  53070. + /* Create the thread listening on the exception port. */
  53071. + pthread_attr_t attr;
  53072. + pthread_t thread;
  53073. + if (pthread_attr_init (&attr) == 0
  53074. + && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
  53075. + && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
  53076. + pthread_attr_destroy (&attr);
  53077. + /* Replace the exception port info for these exceptions with our own.
  53078. + Note that we replace the exception port for the entire task, not only
  53079. + for a particular thread. This has the effect that when our exception
  53080. + port gets the message, the thread specific exception port has already
  53081. + been asked, and we don't need to bother about it.
  53082. + See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */
  53083. + task_set_exception_ports (self, mask, our_exception_port,
  53084. + EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
  53085. + }
  53086. + }
  53087. + }
  53088. +}
  53089. +#else
  53090. +/* Avoid a crash on POSIX systems. */
  53091. +#include <signal.h>
  53092. +/* A POSIX signal handler. */
  53093. +static void
  53094. +exception_handler (int sig)
  53095. +{
  53096. + exit (1);
  53097. +}
  53098. +static void
  53099. +nocrash_init (void)
  53100. +{
  53101. +#ifdef SIGSEGV
  53102. + signal (SIGSEGV, exception_handler);
  53103. +#endif
  53104. +#ifdef SIGBUS
  53105. + signal (SIGBUS, exception_handler);
  53106. +#endif
  53107. +}
  53108. +#endif
  53109. +
  53110. +#include <stdio.h>
  53111. +#include <sys/types.h>
  53112. +#include <sys/time.h>
  53113. +#include <sys/resource.h>
  53114. +#include <errno.h>
  53115. +int main()
  53116. +{
  53117. + struct rlimit limit;
  53118. + int ret;
  53119. + nocrash_init ();
  53120. + /* Some printf implementations allocate temporary space with malloc. */
  53121. + /* On BSD systems, malloc() is limited by RLIMIT_DATA. */
  53122. +#ifdef RLIMIT_DATA
  53123. + if (getrlimit (RLIMIT_DATA, &limit) < 0)
  53124. + return 77;
  53125. + if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
  53126. + limit.rlim_max = 5000000;
  53127. + limit.rlim_cur = limit.rlim_max;
  53128. + if (setrlimit (RLIMIT_DATA, &limit) < 0)
  53129. + return 77;
  53130. +#endif
  53131. + /* On Linux systems, malloc() is limited by RLIMIT_AS. */
  53132. +#ifdef RLIMIT_AS
  53133. + if (getrlimit (RLIMIT_AS, &limit) < 0)
  53134. + return 77;
  53135. + if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
  53136. + limit.rlim_max = 5000000;
  53137. + limit.rlim_cur = limit.rlim_max;
  53138. + if (setrlimit (RLIMIT_AS, &limit) < 0)
  53139. + return 77;
  53140. +#endif
  53141. + /* Some printf implementations allocate temporary space on the stack. */
  53142. +#ifdef RLIMIT_STACK
  53143. + if (getrlimit (RLIMIT_STACK, &limit) < 0)
  53144. + return 77;
  53145. + if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
  53146. + limit.rlim_max = 5000000;
  53147. + limit.rlim_cur = limit.rlim_max;
  53148. + if (setrlimit (RLIMIT_STACK, &limit) < 0)
  53149. + return 77;
  53150. +#endif
  53151. + ret = printf ("%.5000000f", 1.0);
  53152. + return !(ret == 5000002 || (ret < 0 && errno == ENOMEM));
  53153. +}
  53154. +
  53155. +_ACEOF
  53156. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  53157. + (eval $ac_link) 2>&5
  53158. + ac_status=$?
  53159. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  53160. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  53161. + (./conftest
  53162. + result=$?
  53163. + if test $result != 0 && test $result != 77; then result=1; fi
  53164. + exit $result
  53165. + ) >/dev/null 2>/dev/null
  53166. + case $? in
  53167. + 0) gl_cv_func_printf_enomem="yes" ;;
  53168. + 77) gl_cv_func_printf_enomem="guessing no" ;;
  53169. + *) gl_cv_func_printf_enomem="no" ;;
  53170. + esac
  53171. + else
  53172. + gl_cv_func_printf_enomem="guessing no"
  53173. + fi
  53174. + rm -fr conftest*
  53175. + else
  53176. + gl_cv_func_printf_enomem="guessing no"
  53177. + fi
  53178. + fi
  53179. + if test "$gl_cv_func_printf_enomem" = "guessing no"; then
  53180. + case "$host_os" in
  53181. + # Guess yes on glibc systems.
  53182. + *-gnu*) gl_cv_func_printf_enomem="guessing yes";;
  53183. + # Guess yes on Solaris.
  53184. + solaris*) gl_cv_func_printf_enomem="guessing yes";;
  53185. + # Guess yes on AIX.
  53186. + aix*) gl_cv_func_printf_enomem="guessing yes";;
  53187. + # Guess yes on HP-UX/hppa.
  53188. + hpux*) case "$host_cpu" in
  53189. + hppa*) gl_cv_func_printf_enomem="guessing yes";;
  53190. + *) gl_cv_func_printf_enomem="guessing no";;
  53191. + esac
  53192. + ;;
  53193. + # Guess yes on IRIX.
  53194. + irix*) gl_cv_func_printf_enomem="guessing yes";;
  53195. + # Guess yes on OSF/1.
  53196. + osf*) gl_cv_func_printf_enomem="guessing yes";;
  53197. + # Guess yes on BeOS.
  53198. + beos*) gl_cv_func_printf_enomem="guessing yes";;
  53199. + # Guess yes on Haiku.
  53200. + haiku*) gl_cv_func_printf_enomem="guessing yes";;
  53201. + # If we don't know, assume the worst.
  53202. + *) gl_cv_func_printf_enomem="guessing no";;
  53203. + esac
  53204. + fi
  53205. +
  53206. +fi
  53207. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_printf_enomem" >&5
  53208. +$as_echo "$gl_cv_func_printf_enomem" >&6; }
  53209. +
  53210. +
  53211. +
  53212. + case "$gl_cv_func_printf_long_double" in
  53213. + *yes)
  53214. + ;;
  53215. + *)
  53216. +
  53217. +$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
  53218. +
  53219. + ;;
  53220. + esac
  53221. +
  53222. +
  53223. +
  53224. +
  53225. + GNULIB_ISWBLANK=0;
  53226. + GNULIB_WCTYPE=0;
  53227. + GNULIB_ISWCTYPE=0;
  53228. + GNULIB_WCTRANS=0;
  53229. + GNULIB_TOWCTRANS=0;
  53230. + HAVE_ISWBLANK=1;
  53231. + HAVE_WCTYPE_T=1;
  53232. + HAVE_WCTRANS_T=1;
  53233. + REPLACE_ISWBLANK=0;
  53234. +
  53235. +
  53236. +
  53237. +
  53238. +
  53239. +
  53240. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use C++" >&5
  53241. +$as_echo_n "checking whether to use C++... " >&6; }
  53242. + @%:@ Check whether --enable-c++ was given.
  53243. +if test "${enable_c__+set}" = set; then :
  53244. + enableval=$enable_c__; CXX_CHOICE="$enableval"
  53245. +else
  53246. + CXX_CHOICE=no
  53247. +fi
  53248. +
  53249. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_CHOICE" >&5
  53250. +$as_echo "$CXX_CHOICE" >&6; }
  53251. +
  53252. +
  53253. +
  53254. +
  53255. +
  53256. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ungetc works on arbitrary bytes" >&5
  53257. +$as_echo_n "checking whether ungetc works on arbitrary bytes... " >&6; }
  53258. +if ${gl_cv_func_ungetc_works+:} false; then :
  53259. + $as_echo_n "(cached) " >&6
  53260. +else
  53261. + if test "$cross_compiling" = yes; then :
  53262. + gl_cv_func_ungetc_works='guessing no'
  53263. +else
  53264. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53265. +/* end confdefs.h. */
  53266. +
  53267. +#include <stdio.h>
  53268. +
  53269. +int
  53270. +main ()
  53271. +{
  53272. +FILE *f;
  53273. + if (!(f = fopen ("conftest.tmp", "w+"))) return 1;
  53274. + if (fputs ("abc", f) < 0) return 2;
  53275. + rewind (f);
  53276. + if (fgetc (f) != 'a') return 3;
  53277. + if (fgetc (f) != 'b') return 4;
  53278. + if (ungetc ('d', f) != 'd') return 5;
  53279. + if (ftell (f) != 1) return 6;
  53280. + if (fgetc (f) != 'd') return 7;
  53281. + if (ftell (f) != 2) return 8;
  53282. + if (fseek (f, 0, SEEK_CUR) != 0) return 9;
  53283. + if (ftell (f) != 2) return 10;
  53284. + if (fgetc (f) != 'c') return 11;
  53285. + fclose (f); remove ("conftest.tmp");
  53286. + ;
  53287. + return 0;
  53288. +}
  53289. +_ACEOF
  53290. +if ac_fn_c_try_run "$LINENO"; then :
  53291. + gl_cv_func_ungetc_works=yes
  53292. +else
  53293. + gl_cv_func_ungetc_works=no
  53294. +fi
  53295. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  53296. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  53297. +fi
  53298. +
  53299. +
  53300. +fi
  53301. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ungetc_works" >&5
  53302. +$as_echo "$gl_cv_func_ungetc_works" >&6; }
  53303. + if test "$gl_cv_func_ungetc_works" != yes; then
  53304. +
  53305. +$as_echo "@%:@define FUNC_UNGETC_BROKEN 1" >>confdefs.h
  53306. +
  53307. + fi
  53308. +
  53309. +
  53310. +
  53311. +
  53312. + GNULIB_SETLOCALE=0;
  53313. + GNULIB_DUPLOCALE=0;
  53314. + HAVE_DUPLOCALE=1;
  53315. + REPLACE_SETLOCALE=0;
  53316. + REPLACE_DUPLOCALE=0;
  53317. +
  53318. +
  53319. +
  53320. +
  53321. +
  53322. +
  53323. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
  53324. +$as_echo_n "checking for LC_MESSAGES... " >&6; }
  53325. +if ${gt_cv_val_LC_MESSAGES+:} false; then :
  53326. + $as_echo_n "(cached) " >&6
  53327. +else
  53328. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53329. +/* end confdefs.h. */
  53330. +#include <locale.h>
  53331. +int
  53332. +main ()
  53333. +{
  53334. +return LC_MESSAGES
  53335. + ;
  53336. + return 0;
  53337. +}
  53338. +_ACEOF
  53339. +if ac_fn_c_try_link "$LINENO"; then :
  53340. + gt_cv_val_LC_MESSAGES=yes
  53341. +else
  53342. + gt_cv_val_LC_MESSAGES=no
  53343. +fi
  53344. +rm -f core conftest.err conftest.$ac_objext \
  53345. + conftest$ac_exeext conftest.$ac_ext
  53346. +fi
  53347. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_val_LC_MESSAGES" >&5
  53348. +$as_echo "$gt_cv_val_LC_MESSAGES" >&6; }
  53349. + if test $gt_cv_val_LC_MESSAGES = yes; then
  53350. +
  53351. +$as_echo "@%:@define HAVE_LC_MESSAGES 1" >>confdefs.h
  53352. +
  53353. + fi
  53354. +
  53355. +
  53356. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
  53357. +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
  53358. +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
  53359. + $as_echo_n "(cached) " >&6
  53360. +else
  53361. + gt_save_LIBS="$LIBS"
  53362. + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
  53363. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53364. +/* end confdefs.h. */
  53365. +#include <CoreFoundation/CFPreferences.h>
  53366. +int
  53367. +main ()
  53368. +{
  53369. +CFPreferencesCopyAppValue(NULL, NULL)
  53370. + ;
  53371. + return 0;
  53372. +}
  53373. +_ACEOF
  53374. +if ac_fn_c_try_link "$LINENO"; then :
  53375. + gt_cv_func_CFPreferencesCopyAppValue=yes
  53376. +else
  53377. + gt_cv_func_CFPreferencesCopyAppValue=no
  53378. +fi
  53379. +rm -f core conftest.err conftest.$ac_objext \
  53380. + conftest$ac_exeext conftest.$ac_ext
  53381. + LIBS="$gt_save_LIBS"
  53382. +fi
  53383. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
  53384. +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
  53385. + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
  53386. +
  53387. +$as_echo "@%:@define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
  53388. +
  53389. + fi
  53390. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
  53391. +$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
  53392. +if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
  53393. + $as_echo_n "(cached) " >&6
  53394. +else
  53395. + gt_save_LIBS="$LIBS"
  53396. + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
  53397. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53398. +/* end confdefs.h. */
  53399. +#include <CoreFoundation/CFLocale.h>
  53400. +int
  53401. +main ()
  53402. +{
  53403. +CFLocaleCopyCurrent();
  53404. + ;
  53405. + return 0;
  53406. +}
  53407. +_ACEOF
  53408. +if ac_fn_c_try_link "$LINENO"; then :
  53409. + gt_cv_func_CFLocaleCopyCurrent=yes
  53410. +else
  53411. + gt_cv_func_CFLocaleCopyCurrent=no
  53412. +fi
  53413. +rm -f core conftest.err conftest.$ac_objext \
  53414. + conftest$ac_exeext conftest.$ac_ext
  53415. + LIBS="$gt_save_LIBS"
  53416. +fi
  53417. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
  53418. +$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
  53419. + if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
  53420. +
  53421. +$as_echo "@%:@define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
  53422. +
  53423. + fi
  53424. + INTL_MACOSX_LIBS=
  53425. + if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
  53426. + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
  53427. + fi
  53428. +
  53429. +
  53430. +ac_fn_c_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default"
  53431. +if test "x$ac_cv_have_decl_setenv" = xyes; then :
  53432. + ac_have_decl=1
  53433. +else
  53434. + ac_have_decl=0
  53435. +fi
  53436. +
  53437. +cat >>confdefs.h <<_ACEOF
  53438. +@%:@define HAVE_DECL_SETENV $ac_have_decl
  53439. +_ACEOF
  53440. +
  53441. +
  53442. +
  53443. +
  53444. +
  53445. +
  53446. + if test $ac_cv_have_decl_setenv = no; then
  53447. + HAVE_DECL_SETENV=0
  53448. + fi
  53449. +
  53450. + if test $ac_cv_func_setenv = no; then
  53451. + HAVE_SETENV=0
  53452. + else
  53453. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setenv validates arguments" >&5
  53454. +$as_echo_n "checking whether setenv validates arguments... " >&6; }
  53455. +if ${gl_cv_func_setenv_works+:} false; then :
  53456. + $as_echo_n "(cached) " >&6
  53457. +else
  53458. + if test "$cross_compiling" = yes; then :
  53459. + gl_cv_func_setenv_works="guessing no"
  53460. +else
  53461. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53462. +/* end confdefs.h. */
  53463. +
  53464. + #include <stdlib.h>
  53465. + #include <errno.h>
  53466. + #include <string.h>
  53467. +
  53468. +int
  53469. +main ()
  53470. +{
  53471. +
  53472. + int result = 0;
  53473. + {
  53474. + if (setenv ("", "", 0) != -1)
  53475. + result |= 1;
  53476. + else if (errno != EINVAL)
  53477. + result |= 2;
  53478. + }
  53479. + {
  53480. + if (setenv ("a", "=", 1) != 0)
  53481. + result |= 4;
  53482. + else if (strcmp (getenv ("a"), "=") != 0)
  53483. + result |= 8;
  53484. + }
  53485. + return result;
  53486. +
  53487. + ;
  53488. + return 0;
  53489. +}
  53490. +_ACEOF
  53491. +if ac_fn_c_try_run "$LINENO"; then :
  53492. + gl_cv_func_setenv_works=yes
  53493. +else
  53494. + gl_cv_func_setenv_works=no
  53495. +fi
  53496. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  53497. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  53498. +fi
  53499. +
  53500. +fi
  53501. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_setenv_works" >&5
  53502. +$as_echo "$gl_cv_func_setenv_works" >&6; }
  53503. + if test "$gl_cv_func_setenv_works" != yes; then
  53504. + REPLACE_SETENV=1
  53505. +
  53506. +
  53507. +
  53508. +
  53509. +
  53510. +
  53511. +
  53512. +
  53513. + M4tests_LIBOBJS="$M4tests_LIBOBJS setenv.$ac_objext"
  53514. +
  53515. + fi
  53516. + fi
  53517. +
  53518. +
  53519. +
  53520. +
  53521. + for ac_header in search.h
  53522. +do :
  53523. + ac_fn_c_check_header_mongrel "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default"
  53524. +if test "x$ac_cv_header_search_h" = xyes; then :
  53525. + cat >>confdefs.h <<_ACEOF
  53526. +@%:@define HAVE_SEARCH_H 1
  53527. +_ACEOF
  53528. +
  53529. +fi
  53530. +
  53531. +done
  53532. +
  53533. + for ac_func in tsearch
  53534. +do :
  53535. + ac_fn_c_check_func "$LINENO" "tsearch" "ac_cv_func_tsearch"
  53536. +if test "x$ac_cv_func_tsearch" = xyes; then :
  53537. + cat >>confdefs.h <<_ACEOF
  53538. +@%:@define HAVE_TSEARCH 1
  53539. +_ACEOF
  53540. +
  53541. +fi
  53542. +done
  53543. +
  53544. +
  53545. +
  53546. +
  53547. +
  53548. +ac_fn_c_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default"
  53549. +if test "x$ac_cv_have_decl_strdup" = xyes; then :
  53550. + ac_have_decl=1
  53551. +else
  53552. + ac_have_decl=0
  53553. +fi
  53554. +
  53555. +cat >>confdefs.h <<_ACEOF
  53556. +@%:@define HAVE_DECL_STRDUP $ac_have_decl
  53557. +_ACEOF
  53558. +
  53559. +ac_fn_c_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default"
  53560. +if test "x$ac_cv_have_decl_alarm" = xyes; then :
  53561. + ac_have_decl=1
  53562. +else
  53563. + ac_have_decl=0
  53564. +fi
  53565. +
  53566. +cat >>confdefs.h <<_ACEOF
  53567. +@%:@define HAVE_DECL_ALARM $ac_have_decl
  53568. +_ACEOF
  53569. +
  53570. +
  53571. +
  53572. +ac_fn_c_check_decl "$LINENO" "unsetenv" "ac_cv_have_decl_unsetenv" "$ac_includes_default"
  53573. +if test "x$ac_cv_have_decl_unsetenv" = xyes; then :
  53574. + ac_have_decl=1
  53575. +else
  53576. + ac_have_decl=0
  53577. +fi
  53578. +
  53579. +cat >>confdefs.h <<_ACEOF
  53580. +@%:@define HAVE_DECL_UNSETENV $ac_have_decl
  53581. +_ACEOF
  53582. +
  53583. +
  53584. +
  53585. +
  53586. + if false; then
  53587. + GL_COND_LIBTOOL_TRUE=
  53588. + GL_COND_LIBTOOL_FALSE='#'
  53589. +else
  53590. + GL_COND_LIBTOOL_TRUE='#'
  53591. + GL_COND_LIBTOOL_FALSE=
  53592. +fi
  53593. +
  53594. + gl_cond_libtool=false
  53595. + gl_libdeps=
  53596. + gl_ltlibdeps=
  53597. + gl_m4_base='m4'
  53598. +
  53599. +
  53600. +
  53601. +
  53602. +
  53603. +
  53604. +
  53605. +
  53606. +
  53607. + gl_source_base='lib'
  53608. + # Code from module alloca-opt:
  53609. +
  53610. +
  53611. + if test $ac_cv_func_alloca_works = no; then
  53612. + :
  53613. + fi
  53614. +
  53615. + # Define an additional variable used in the Makefile substitution.
  53616. + if test $ac_cv_working_alloca_h = yes; then
  53617. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5
  53618. +$as_echo_n "checking for alloca as a compiler built-in... " >&6; }
  53619. +if ${gl_cv_rpl_alloca+:} false; then :
  53620. + $as_echo_n "(cached) " >&6
  53621. +else
  53622. +
  53623. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53624. +/* end confdefs.h. */
  53625. +
  53626. +#if defined __GNUC__ || defined _AIX || defined _MSC_VER
  53627. + Need own alloca
  53628. +#endif
  53629. +
  53630. +_ACEOF
  53631. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  53632. + $EGREP "Need own alloca" >/dev/null 2>&1; then :
  53633. + gl_cv_rpl_alloca=yes
  53634. +else
  53635. + gl_cv_rpl_alloca=no
  53636. +fi
  53637. +rm -f conftest*
  53638. +
  53639. +
  53640. +fi
  53641. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_rpl_alloca" >&5
  53642. +$as_echo "$gl_cv_rpl_alloca" >&6; }
  53643. + if test $gl_cv_rpl_alloca = yes; then
  53644. +
  53645. +$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
  53646. +
  53647. + ALLOCA_H=alloca.h
  53648. + else
  53649. + ALLOCA_H=
  53650. + fi
  53651. + else
  53652. + ALLOCA_H=alloca.h
  53653. + fi
  53654. +
  53655. +
  53656. + # Code from module announce-gen:
  53657. + # Code from module arg-nonnull:
  53658. + # Code from module assert:
  53659. +
  53660. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5
  53661. +$as_echo_n "checking whether to enable assertions... " >&6; }
  53662. + @%:@ Check whether --enable-assert was given.
  53663. +if test "${enable_assert+set}" = set; then :
  53664. + enableval=$enable_assert; if test "x$enableval" = xno; then :
  53665. +
  53666. +$as_echo "@%:@define NDEBUG 1" >>confdefs.h
  53667. +
  53668. +elif test "x$enableval" != xyes; then :
  53669. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5
  53670. +$as_echo "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;}
  53671. + enable_assert=yes
  53672. +fi
  53673. +else
  53674. + enable_assert=yes
  53675. +fi
  53676. +
  53677. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_assert" >&5
  53678. +$as_echo "$enable_assert" >&6; }
  53679. +
  53680. + # Code from module autobuild:
  53681. + # Code from module avltree-oset:
  53682. + # Code from module binary-io:
  53683. + # Code from module btowc:
  53684. +
  53685. +
  53686. +
  53687. +
  53688. +
  53689. +
  53690. + if test $ac_cv_func_btowc = no; then
  53691. + HAVE_BTOWC=0
  53692. + else
  53693. +
  53694. +
  53695. +
  53696. +
  53697. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5
  53698. +$as_echo_n "checking whether btowc(0) is correct... " >&6; }
  53699. +if ${gl_cv_func_btowc_nul+:} false; then :
  53700. + $as_echo_n "(cached) " >&6
  53701. +else
  53702. +
  53703. + if test "$cross_compiling" = yes; then :
  53704. +
  53705. + case "$host_os" in
  53706. + # Guess no on Cygwin.
  53707. + cygwin*) gl_cv_func_btowc_nul="guessing no" ;;
  53708. + # Guess yes otherwise.
  53709. + *) gl_cv_func_btowc_nul="guessing yes" ;;
  53710. + esac
  53711. +
  53712. +else
  53713. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53714. +/* end confdefs.h. */
  53715. +
  53716. +#include <string.h>
  53717. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  53718. + <wchar.h>.
  53719. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  53720. + included before <wchar.h>. */
  53721. +#include <stddef.h>
  53722. +#include <stdio.h>
  53723. +#include <time.h>
  53724. +#include <wchar.h>
  53725. +int main ()
  53726. +{
  53727. + if (btowc ('\0') != 0)
  53728. + return 1;
  53729. + return 0;
  53730. +}
  53731. +_ACEOF
  53732. +if ac_fn_c_try_run "$LINENO"; then :
  53733. + gl_cv_func_btowc_nul=yes
  53734. +else
  53735. + gl_cv_func_btowc_nul=no
  53736. +fi
  53737. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  53738. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  53739. +fi
  53740. +
  53741. +
  53742. +fi
  53743. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_nul" >&5
  53744. +$as_echo "$gl_cv_func_btowc_nul" >&6; }
  53745. +
  53746. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5
  53747. +$as_echo_n "checking whether btowc(EOF) is correct... " >&6; }
  53748. +if ${gl_cv_func_btowc_eof+:} false; then :
  53749. + $as_echo_n "(cached) " >&6
  53750. +else
  53751. +
  53752. + case "$host_os" in
  53753. + # Guess no on IRIX.
  53754. + irix*) gl_cv_func_btowc_eof="guessing no" ;;
  53755. + # Guess yes otherwise.
  53756. + *) gl_cv_func_btowc_eof="guessing yes" ;;
  53757. + esac
  53758. + if test $LOCALE_FR != none; then
  53759. + if test "$cross_compiling" = yes; then :
  53760. + :
  53761. +else
  53762. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  53763. +/* end confdefs.h. */
  53764. +
  53765. +#include <locale.h>
  53766. +#include <string.h>
  53767. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  53768. + <wchar.h>.
  53769. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  53770. + included before <wchar.h>. */
  53771. +#include <stddef.h>
  53772. +#include <stdio.h>
  53773. +#include <time.h>
  53774. +#include <wchar.h>
  53775. +int main ()
  53776. +{
  53777. + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
  53778. + {
  53779. + if (btowc (EOF) != WEOF)
  53780. + return 1;
  53781. + }
  53782. + return 0;
  53783. +}
  53784. +_ACEOF
  53785. +if ac_fn_c_try_run "$LINENO"; then :
  53786. + gl_cv_func_btowc_eof=yes
  53787. +else
  53788. + gl_cv_func_btowc_eof=no
  53789. +fi
  53790. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  53791. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  53792. +fi
  53793. +
  53794. + fi
  53795. +
  53796. +fi
  53797. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_btowc_eof" >&5
  53798. +$as_echo "$gl_cv_func_btowc_eof" >&6; }
  53799. +
  53800. + case "$gl_cv_func_btowc_nul" in
  53801. + *yes) ;;
  53802. + *) REPLACE_BTOWC=1 ;;
  53803. + esac
  53804. + case "$gl_cv_func_btowc_eof" in
  53805. + *yes) ;;
  53806. + *) REPLACE_BTOWC=1 ;;
  53807. + esac
  53808. + fi
  53809. + if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
  53810. +
  53811. + :
  53812. +
  53813. +
  53814. +
  53815. +
  53816. +
  53817. +
  53818. +
  53819. +
  53820. +
  53821. + M4_LIBOBJS="$M4_LIBOBJS btowc.$ac_objext"
  53822. +
  53823. +
  53824. + :
  53825. +
  53826. + fi
  53827. +
  53828. +
  53829. +
  53830. +
  53831. + GNULIB_BTOWC=1
  53832. +
  53833. +
  53834. +
  53835. +$as_echo "@%:@define GNULIB_TEST_BTOWC 1" >>confdefs.h
  53836. +
  53837. +
  53838. +
  53839. + # Code from module c++defs:
  53840. + # Code from module c-ctype:
  53841. + # Code from module c-stack:
  53842. +
  53843. +
  53844. +
  53845. +
  53846. + # for STACK_DIRECTION
  53847. +
  53848. +
  53849. +
  53850. + ac_fn_c_check_decl "$LINENO" "sigaltstack" "ac_cv_have_decl_sigaltstack" "#include <signal.h>
  53851. +"
  53852. +if test "x$ac_cv_have_decl_sigaltstack" = xyes; then :
  53853. + ac_have_decl=1
  53854. +else
  53855. + ac_have_decl=0
  53856. +fi
  53857. +
  53858. +cat >>confdefs.h <<_ACEOF
  53859. +@%:@define HAVE_DECL_SIGALTSTACK $ac_have_decl
  53860. +_ACEOF
  53861. +
  53862. +
  53863. +
  53864. +
  53865. + ac_fn_c_check_type "$LINENO" "stack_t" "ac_cv_type_stack_t" "#include <signal.h>
  53866. +"
  53867. +if test "x$ac_cv_type_stack_t" = xyes; then :
  53868. +
  53869. +cat >>confdefs.h <<_ACEOF
  53870. +@%:@define HAVE_STACK_T 1
  53871. +_ACEOF
  53872. +
  53873. +
  53874. +fi
  53875. +
  53876. +
  53877. + if test "$gl_cv_lib_sigsegv" = yes \
  53878. + && test $"ac_cv_sys_xsi_stack_overflow_heuristic" != yes ; then
  53879. + LIBCSTACK=$LIBSIGSEGV
  53880. +
  53881. + LTLIBCSTACK=$LTLIBSIGSEGV
  53882. +
  53883. + fi
  53884. +
  53885. +
  53886. + # Code from module canonicalize-lgpl:
  53887. +
  53888. +
  53889. + if test $ac_cv_func_canonicalize_file_name = no; then
  53890. + HAVE_CANONICALIZE_FILE_NAME=0
  53891. +
  53892. +
  53893. +
  53894. +
  53895. +
  53896. +
  53897. +
  53898. +
  53899. + M4_LIBOBJS="$M4_LIBOBJS canonicalize-lgpl.$ac_objext"
  53900. +
  53901. + if test $ac_cv_func_realpath = no; then
  53902. + HAVE_REALPATH=0
  53903. + elif test "$gl_cv_func_realpath_works" != yes; then
  53904. + REPLACE_REALPATH=1
  53905. + fi
  53906. + elif test "$gl_cv_func_realpath_works" != yes; then
  53907. +
  53908. +
  53909. +
  53910. +
  53911. +
  53912. +
  53913. +
  53914. +
  53915. + M4_LIBOBJS="$M4_LIBOBJS canonicalize-lgpl.$ac_objext"
  53916. +
  53917. + REPLACE_REALPATH=1
  53918. + REPLACE_CANONICALIZE_FILE_NAME=1
  53919. + fi
  53920. +
  53921. +
  53922. +
  53923. +cat >>confdefs.h <<_ACEOF
  53924. +@%:@define GNULIB_CANONICALIZE_LGPL 1
  53925. +_ACEOF
  53926. +
  53927. +
  53928. +
  53929. +
  53930. +
  53931. + GNULIB_CANONICALIZE_FILE_NAME=1
  53932. +
  53933. +
  53934. +
  53935. +$as_echo "@%:@define GNULIB_TEST_CANONICALIZE_FILE_NAME 1" >>confdefs.h
  53936. +
  53937. +
  53938. +
  53939. +
  53940. +
  53941. +
  53942. + GNULIB_REALPATH=1
  53943. +
  53944. +
  53945. +
  53946. +$as_echo "@%:@define GNULIB_TEST_REALPATH 1" >>confdefs.h
  53947. +
  53948. +
  53949. +
  53950. + # Code from module clean-temp:
  53951. +
  53952. +$as_echo "@%:@define SIGNAL_SAFE_LIST 1" >>confdefs.h
  53953. +
  53954. + # Code from module cloexec:
  53955. +
  53956. +
  53957. +
  53958. +
  53959. +
  53960. +
  53961. +
  53962. +
  53963. +
  53964. + M4_LIBOBJS="$M4_LIBOBJS cloexec.$ac_objext"
  53965. +
  53966. +
  53967. +
  53968. +
  53969. +$as_echo "@%:@define GNULIB_TEST_CLOEXEC 1" >>confdefs.h
  53970. +
  53971. +
  53972. + # Code from module close:
  53973. +
  53974. +
  53975. +
  53976. +
  53977. +
  53978. +
  53979. + GNULIB_CLOSE=1
  53980. +
  53981. +
  53982. +
  53983. +$as_echo "@%:@define GNULIB_TEST_CLOSE 1" >>confdefs.h
  53984. +
  53985. +
  53986. +
  53987. + # Code from module close-hook:
  53988. + # Code from module close-stream:
  53989. +
  53990. +
  53991. +
  53992. +
  53993. +
  53994. +
  53995. +
  53996. +
  53997. +
  53998. + M4_LIBOBJS="$M4_LIBOBJS close-stream.$ac_objext"
  53999. +
  54000. +
  54001. + :
  54002. +
  54003. +
  54004. +
  54005. +cat >>confdefs.h <<_ACEOF
  54006. +@%:@define GNULIB_CLOSE_STREAM 1
  54007. +_ACEOF
  54008. +
  54009. +
  54010. + # Code from module closein:
  54011. +
  54012. +
  54013. +
  54014. +
  54015. +
  54016. +
  54017. +
  54018. +
  54019. +
  54020. + M4_LIBOBJS="$M4_LIBOBJS closein.$ac_objext"
  54021. +
  54022. +
  54023. + :
  54024. +
  54025. + # Code from module closeout:
  54026. +
  54027. +
  54028. +
  54029. +
  54030. +
  54031. +
  54032. +
  54033. +
  54034. +
  54035. + M4_LIBOBJS="$M4_LIBOBJS closeout.$ac_objext"
  54036. +
  54037. +
  54038. + :
  54039. +
  54040. + # Code from module config-h:
  54041. +
  54042. + # Code from module configmake:
  54043. +
  54044. + if test "x$datarootdir" = x; then
  54045. + datarootdir='${datadir}'
  54046. +
  54047. + fi
  54048. + if test "x$docdir" = x; then
  54049. + docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  54050. +
  54051. + fi
  54052. + if test "x$htmldir" = x; then
  54053. + htmldir='${docdir}'
  54054. +
  54055. + fi
  54056. + if test "x$dvidir" = x; then
  54057. + dvidir='${docdir}'
  54058. +
  54059. + fi
  54060. + if test "x$pdfdir" = x; then
  54061. + pdfdir='${docdir}'
  54062. +
  54063. + fi
  54064. + if test "x$psdir" = x; then
  54065. + psdir='${docdir}'
  54066. +
  54067. + fi
  54068. + if test "x$lispdir" = x; then
  54069. + lispdir='${datarootdir}/emacs/site-lisp'
  54070. +
  54071. + fi
  54072. + if test "x$localedir" = x; then
  54073. + localedir='${datarootdir}/locale'
  54074. +
  54075. + fi
  54076. +
  54077. + pkglibexecdir='${libexecdir}/${PACKAGE}'
  54078. +
  54079. +
  54080. + # Code from module dirname:
  54081. +
  54082. +
  54083. +
  54084. +
  54085. +
  54086. +
  54087. +
  54088. +
  54089. +
  54090. +
  54091. + M4_LIBOBJS="$M4_LIBOBJS basename.$ac_objext"
  54092. +
  54093. +
  54094. +
  54095. +
  54096. +
  54097. +
  54098. +
  54099. +
  54100. +
  54101. + M4_LIBOBJS="$M4_LIBOBJS dirname.$ac_objext"
  54102. +
  54103. +
  54104. +
  54105. +
  54106. +cat >>confdefs.h <<_ACEOF
  54107. +@%:@define GNULIB_DIRNAME 1
  54108. +_ACEOF
  54109. +
  54110. +
  54111. + # Code from module dirname-lgpl:
  54112. +
  54113. +
  54114. +
  54115. +
  54116. +
  54117. +
  54118. +
  54119. +
  54120. +
  54121. + M4_LIBOBJS="$M4_LIBOBJS basename-lgpl.$ac_objext"
  54122. +
  54123. +
  54124. +
  54125. +
  54126. +
  54127. +
  54128. +
  54129. +
  54130. +
  54131. + M4_LIBOBJS="$M4_LIBOBJS dirname-lgpl.$ac_objext"
  54132. +
  54133. +
  54134. +
  54135. +
  54136. +
  54137. +
  54138. +
  54139. +
  54140. +
  54141. + M4_LIBOBJS="$M4_LIBOBJS stripslash.$ac_objext"
  54142. +
  54143. +
  54144. +
  54145. +
  54146. +
  54147. + # Code from module dosname:
  54148. + # Code from module double-slash-root:
  54149. +
  54150. +
  54151. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
  54152. +$as_echo_n "checking whether // is distinct from /... " >&6; }
  54153. +if ${gl_cv_double_slash_root+:} false; then :
  54154. + $as_echo_n "(cached) " >&6
  54155. +else
  54156. + if test x"$cross_compiling" = xyes ; then
  54157. + # When cross-compiling, there is no way to tell whether // is special
  54158. + # short of a list of hosts. However, the only known hosts to date
  54159. + # that have a distinct // are Apollo DomainOS (too old to port to),
  54160. + # Cygwin, and z/OS. If anyone knows of another system for which // has
  54161. + # special semantics and is distinct from /, please report it to
  54162. + # <bug-gnulib@gnu.org>.
  54163. + case $host in
  54164. + *-cygwin | i370-ibm-openedition)
  54165. + gl_cv_double_slash_root=yes ;;
  54166. + *)
  54167. + # Be optimistic and assume that / and // are the same when we
  54168. + # don't know.
  54169. + gl_cv_double_slash_root='unknown, assuming no' ;;
  54170. + esac
  54171. + else
  54172. + set x `ls -di / // 2>/dev/null`
  54173. + if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then
  54174. + gl_cv_double_slash_root=no
  54175. + else
  54176. + gl_cv_double_slash_root=yes
  54177. + fi
  54178. + fi
  54179. +fi
  54180. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5
  54181. +$as_echo "$gl_cv_double_slash_root" >&6; }
  54182. + if test "$gl_cv_double_slash_root" = yes; then
  54183. +
  54184. +$as_echo "@%:@define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h
  54185. +
  54186. + fi
  54187. +
  54188. + # Code from module dup2:
  54189. +
  54190. +
  54191. +
  54192. +
  54193. + if test $ac_cv_func_dup2 = no; then
  54194. + HAVE_DUP2=0
  54195. +
  54196. +
  54197. +
  54198. +
  54199. +
  54200. +
  54201. +
  54202. +
  54203. + M4_LIBOBJS="$M4_LIBOBJS dup2.$ac_objext"
  54204. +
  54205. + else
  54206. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5
  54207. +$as_echo_n "checking whether dup2 works... " >&6; }
  54208. +if ${gl_cv_func_dup2_works+:} false; then :
  54209. + $as_echo_n "(cached) " >&6
  54210. +else
  54211. + if test "$cross_compiling" = yes; then :
  54212. + case "$host_os" in
  54213. + mingw*) # on this platform, dup2 always returns 0 for success
  54214. + gl_cv_func_dup2_works=no;;
  54215. + cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0
  54216. + gl_cv_func_dup2_works=no;;
  54217. + linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a
  54218. + # closed fd may yield -EBADF instead of -1 / errno=EBADF.
  54219. + gl_cv_func_dup2_works=no;;
  54220. + freebsd*) # on FreeBSD 6.1, dup2(1,1000000) gives EMFILE, not EBADF.
  54221. + gl_cv_func_dup2_works=no;;
  54222. + haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC.
  54223. + gl_cv_func_dup2_works=no;;
  54224. + *) gl_cv_func_dup2_works=yes;;
  54225. + esac
  54226. +else
  54227. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  54228. +/* end confdefs.h. */
  54229. +
  54230. + #include <unistd.h>
  54231. +#include <fcntl.h>
  54232. +#include <errno.h>
  54233. +int
  54234. +main ()
  54235. +{
  54236. +int result = 0;
  54237. +#if HAVE_FCNTL
  54238. + if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1)
  54239. + result |= 1;
  54240. +#endif HAVE_FCNTL
  54241. + if (dup2 (1, 1) == 0)
  54242. + result |= 2;
  54243. +#if HAVE_FCNTL
  54244. + if (fcntl (1, F_GETFD) != FD_CLOEXEC)
  54245. + result |= 4;
  54246. +#endif
  54247. + close (0);
  54248. + if (dup2 (0, 0) != -1)
  54249. + result |= 8;
  54250. + /* Many gnulib modules require POSIX conformance of EBADF. */
  54251. + if (dup2 (2, 1000000) == -1 && errno != EBADF)
  54252. + result |= 16;
  54253. + return result;
  54254. +
  54255. + ;
  54256. + return 0;
  54257. +}
  54258. +
  54259. +_ACEOF
  54260. +if ac_fn_c_try_run "$LINENO"; then :
  54261. + gl_cv_func_dup2_works=yes
  54262. +else
  54263. + gl_cv_func_dup2_works=no
  54264. +fi
  54265. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  54266. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  54267. +fi
  54268. +
  54269. +
  54270. +fi
  54271. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_dup2_works" >&5
  54272. +$as_echo "$gl_cv_func_dup2_works" >&6; }
  54273. + if test "$gl_cv_func_dup2_works" = no; then
  54274. +
  54275. +
  54276. + if test $ac_cv_func_dup2 = yes; then
  54277. + REPLACE_DUP2=1
  54278. + fi
  54279. +
  54280. +
  54281. +
  54282. +
  54283. +
  54284. +
  54285. +
  54286. +
  54287. + M4_LIBOBJS="$M4_LIBOBJS dup2.$ac_objext"
  54288. +
  54289. +
  54290. + fi
  54291. + fi
  54292. +
  54293. +
  54294. +
  54295. +
  54296. + GNULIB_DUP2=1
  54297. +
  54298. +
  54299. +
  54300. +$as_echo "@%:@define GNULIB_TEST_DUP2 1" >>confdefs.h
  54301. +
  54302. +
  54303. +
  54304. + # Code from module environ:
  54305. +
  54306. +
  54307. +
  54308. +
  54309. + GNULIB_ENVIRON=1
  54310. +
  54311. +
  54312. +
  54313. +$as_echo "@%:@define GNULIB_TEST_ENVIRON 1" >>confdefs.h
  54314. +
  54315. +
  54316. +
  54317. + # Code from module errno:
  54318. +
  54319. + # Code from module error:
  54320. +
  54321. +
  54322. +
  54323. +
  54324. +
  54325. +
  54326. +
  54327. +
  54328. +
  54329. +
  54330. +
  54331. +
  54332. +
  54333. +
  54334. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
  54335. +$as_echo_n "checking for error_at_line... " >&6; }
  54336. +if ${ac_cv_lib_error_at_line+:} false; then :
  54337. + $as_echo_n "(cached) " >&6
  54338. +else
  54339. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  54340. +/* end confdefs.h. */
  54341. +#include <error.h>
  54342. +int
  54343. +main ()
  54344. +{
  54345. +error_at_line (0, 0, "", 0, "an error occurred");
  54346. + ;
  54347. + return 0;
  54348. +}
  54349. +_ACEOF
  54350. +if ac_fn_c_try_link "$LINENO"; then :
  54351. + ac_cv_lib_error_at_line=yes
  54352. +else
  54353. + ac_cv_lib_error_at_line=no
  54354. +fi
  54355. +rm -f core conftest.err conftest.$ac_objext \
  54356. + conftest$ac_exeext conftest.$ac_ext
  54357. +fi
  54358. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
  54359. +$as_echo "$ac_cv_lib_error_at_line" >&6; }
  54360. + if test $ac_cv_lib_error_at_line = no; then
  54361. +
  54362. +
  54363. +
  54364. +
  54365. +
  54366. +
  54367. +
  54368. +
  54369. + M4_LIBOBJS="$M4_LIBOBJS error.$ac_objext"
  54370. +
  54371. + fi
  54372. +
  54373. +
  54374. +
  54375. +
  54376. + :
  54377. +
  54378. +
  54379. +
  54380. +
  54381. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format"
  54382. +
  54383. +
  54384. +
  54385. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format"
  54386. +
  54387. + # Code from module execute:
  54388. +
  54389. +
  54390. +
  54391. +
  54392. + # Code from module exitfail:
  54393. + # Code from module extensions:
  54394. + # Code from module fatal-signal:
  54395. +
  54396. +
  54397. +
  54398. +
  54399. +
  54400. +
  54401. +
  54402. +
  54403. + # Code from module fclose:
  54404. +
  54405. +
  54406. +
  54407. +
  54408. +
  54409. + GNULIB_FCLOSE=1
  54410. +
  54411. +
  54412. +
  54413. +$as_echo "@%:@define GNULIB_TEST_FCLOSE 1" >>confdefs.h
  54414. +
  54415. +
  54416. +
  54417. + # Code from module fcntl:
  54418. +
  54419. +
  54420. +
  54421. +
  54422. +
  54423. + if test $ac_cv_func_fcntl = no; then
  54424. +
  54425. +
  54426. +
  54427. + if test $ac_cv_func_fcntl = no; then
  54428. + HAVE_FCNTL=0
  54429. + else
  54430. + REPLACE_FCNTL=1
  54431. + fi
  54432. +
  54433. +
  54434. +
  54435. +
  54436. +
  54437. +
  54438. +
  54439. +
  54440. + M4_LIBOBJS="$M4_LIBOBJS fcntl.$ac_objext"
  54441. +
  54442. +
  54443. + else
  54444. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl handles F_DUPFD correctly" >&5
  54445. +$as_echo_n "checking whether fcntl handles F_DUPFD correctly... " >&6; }
  54446. +if ${gl_cv_func_fcntl_f_dupfd_works+:} false; then :
  54447. + $as_echo_n "(cached) " >&6
  54448. +else
  54449. + if test "$cross_compiling" = yes; then :
  54450. + # Guess that it works on glibc systems
  54451. + case $host_os in #((
  54452. + *-gnu*) gl_cv_func_fcntl_f_dupfd_works="guessing yes";;
  54453. + *) gl_cv_func_fcntl_f_dupfd_works="guessing no";;
  54454. + esac
  54455. +else
  54456. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  54457. +/* end confdefs.h. */
  54458. +
  54459. +#include <fcntl.h>
  54460. +#include <errno.h>
  54461. +
  54462. +int
  54463. +main ()
  54464. +{
  54465. +int result = 0;
  54466. + if (fcntl (0, F_DUPFD, -1) != -1) result |= 1;
  54467. + if (errno != EINVAL) result |= 2;
  54468. + return result;
  54469. +
  54470. + ;
  54471. + return 0;
  54472. +}
  54473. +_ACEOF
  54474. +if ac_fn_c_try_run "$LINENO"; then :
  54475. + gl_cv_func_fcntl_f_dupfd_works=yes
  54476. +else
  54477. + gl_cv_func_fcntl_f_dupfd_works=no
  54478. +fi
  54479. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  54480. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  54481. +fi
  54482. +
  54483. +fi
  54484. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_works" >&5
  54485. +$as_echo "$gl_cv_func_fcntl_f_dupfd_works" >&6; }
  54486. + case $gl_cv_func_fcntl_f_dupfd_works in
  54487. + *yes) ;;
  54488. + *)
  54489. +
  54490. +
  54491. + if test $ac_cv_func_fcntl = no; then
  54492. + HAVE_FCNTL=0
  54493. + else
  54494. + REPLACE_FCNTL=1
  54495. + fi
  54496. +
  54497. +
  54498. +
  54499. +
  54500. +
  54501. +
  54502. +
  54503. +
  54504. + M4_LIBOBJS="$M4_LIBOBJS fcntl.$ac_objext"
  54505. +
  54506. +
  54507. +
  54508. +$as_echo "@%:@define FCNTL_DUPFD_BUGGY 1" >>confdefs.h
  54509. + ;;
  54510. + esac
  54511. +
  54512. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl understands F_DUPFD_CLOEXEC" >&5
  54513. +$as_echo_n "checking whether fcntl understands F_DUPFD_CLOEXEC... " >&6; }
  54514. +if ${gl_cv_func_fcntl_f_dupfd_cloexec+:} false; then :
  54515. + $as_echo_n "(cached) " >&6
  54516. +else
  54517. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  54518. +/* end confdefs.h. */
  54519. +
  54520. +#include <fcntl.h>
  54521. +#ifndef F_DUPFD_CLOEXEC
  54522. +choke me
  54523. +#endif
  54524. +
  54525. +int
  54526. +main ()
  54527. +{
  54528. +
  54529. + ;
  54530. + return 0;
  54531. +}
  54532. +_ACEOF
  54533. +if ac_fn_c_try_compile "$LINENO"; then :
  54534. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  54535. +/* end confdefs.h. */
  54536. +
  54537. +#ifdef __linux__
  54538. +/* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace
  54539. + it to support the semantics on older kernels that failed with EINVAL. */
  54540. +choke me
  54541. +#endif
  54542. +
  54543. +int
  54544. +main ()
  54545. +{
  54546. +
  54547. + ;
  54548. + return 0;
  54549. +}
  54550. +_ACEOF
  54551. +if ac_fn_c_try_compile "$LINENO"; then :
  54552. + gl_cv_func_fcntl_f_dupfd_cloexec=yes
  54553. +else
  54554. + gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check"
  54555. +fi
  54556. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  54557. +else
  54558. + gl_cv_func_fcntl_f_dupfd_cloexec=no
  54559. +fi
  54560. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  54561. +fi
  54562. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fcntl_f_dupfd_cloexec" >&5
  54563. +$as_echo "$gl_cv_func_fcntl_f_dupfd_cloexec" >&6; }
  54564. + if test "$gl_cv_func_fcntl_f_dupfd_cloexec" != yes; then
  54565. +
  54566. +
  54567. +
  54568. + if test $ac_cv_func_fcntl = no; then
  54569. + HAVE_FCNTL=0
  54570. + else
  54571. + REPLACE_FCNTL=1
  54572. + fi
  54573. +
  54574. +
  54575. +
  54576. +
  54577. +
  54578. +
  54579. +
  54580. +
  54581. + M4_LIBOBJS="$M4_LIBOBJS fcntl.$ac_objext"
  54582. +
  54583. +
  54584. + fi
  54585. + fi
  54586. +
  54587. +
  54588. +
  54589. +
  54590. + GNULIB_FCNTL=1
  54591. +
  54592. +
  54593. +
  54594. +$as_echo "@%:@define GNULIB_TEST_FCNTL 1" >>confdefs.h
  54595. +
  54596. +
  54597. +
  54598. + # Code from module fcntl-h:
  54599. +
  54600. +
  54601. +
  54602. +
  54603. +
  54604. +
  54605. +
  54606. +
  54607. +
  54608. +
  54609. +
  54610. + if test $gl_cv_have_include_next = yes; then
  54611. + gl_cv_next_fcntl_h='<'fcntl.h'>'
  54612. + else
  54613. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <fcntl.h>" >&5
  54614. +$as_echo_n "checking absolute name of <fcntl.h>... " >&6; }
  54615. +if ${gl_cv_next_fcntl_h+:} false; then :
  54616. + $as_echo_n "(cached) " >&6
  54617. +else
  54618. +
  54619. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  54620. +/* end confdefs.h. */
  54621. +#include <fcntl.h>
  54622. +
  54623. +_ACEOF
  54624. + case "$host_os" in
  54625. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  54626. + *) gl_absname_cpp="$ac_cpp" ;;
  54627. + esac
  54628. + gl_cv_next_fcntl_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  54629. + sed -n '\#/fcntl.h#{
  54630. + s#.*"\(.*/fcntl.h\)".*#\1#
  54631. + s#^/[^/]#//&#
  54632. + p
  54633. + q
  54634. + }'`'"'
  54635. +
  54636. +
  54637. +fi
  54638. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fcntl_h" >&5
  54639. +$as_echo "$gl_cv_next_fcntl_h" >&6; }
  54640. + fi
  54641. + NEXT_FCNTL_H=$gl_cv_next_fcntl_h
  54642. +
  54643. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  54644. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  54645. + gl_next_as_first_directive='<'fcntl.h'>'
  54646. + else
  54647. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  54648. + gl_next_as_first_directive=$gl_cv_next_fcntl_h
  54649. + fi
  54650. + NEXT_AS_FIRST_DIRECTIVE_FCNTL_H=$gl_next_as_first_directive
  54651. +
  54652. +
  54653. +
  54654. +
  54655. +
  54656. +
  54657. +
  54658. + # Code from module fd-safer-flag:
  54659. +
  54660. +
  54661. +cat >>confdefs.h <<_ACEOF
  54662. +@%:@define GNULIB_FD_SAFER_FLAG 1
  54663. +_ACEOF
  54664. +
  54665. +
  54666. + # Code from module fdl-1.3:
  54667. + # Code from module fflush:
  54668. +
  54669. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5
  54670. +$as_echo_n "checking whether fflush works on input streams... " >&6; }
  54671. +if ${gl_cv_func_fflush_stdin+:} false; then :
  54672. + $as_echo_n "(cached) " >&6
  54673. +else
  54674. + echo hello world > conftest.txt
  54675. + if test "$cross_compiling" = yes; then :
  54676. + gl_cv_func_fflush_stdin=cross
  54677. +else
  54678. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  54679. +/* end confdefs.h. */
  54680. +
  54681. +#include <stdio.h>
  54682. +#include <unistd.h>
  54683. +
  54684. +int
  54685. +main ()
  54686. +{
  54687. +FILE *f = fopen ("conftest.txt", "r");
  54688. + char buffer[10];
  54689. + int fd;
  54690. + int c;
  54691. + if (f == NULL)
  54692. + return 1;
  54693. + fd = fileno (f);
  54694. + if (fd < 0 || fread (buffer, 1, 5, f) != 5)
  54695. + return 2;
  54696. + /* For deterministic results, ensure f read a bigger buffer. */
  54697. + if (lseek (fd, 0, SEEK_CUR) == 5)
  54698. + return 3;
  54699. + /* POSIX requires fflush-fseek to set file offset of fd. This fails
  54700. + on BSD systems and on mingw. */
  54701. + if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0)
  54702. + return 4;
  54703. + if (lseek (fd, 0, SEEK_CUR) != 5)
  54704. + return 5;
  54705. + /* Verify behaviour of fflush after ungetc. See
  54706. + <http://www.opengroup.org/austin/aardvark/latest/xshbug3.txt> */
  54707. + /* Verify behaviour of fflush after a backup ungetc. This fails on
  54708. + mingw. */
  54709. + c = fgetc (f);
  54710. + ungetc (c, f);
  54711. + fflush (f);
  54712. + if (fgetc (f) != c)
  54713. + return 6;
  54714. + /* Verify behaviour of fflush after a non-backup ungetc. This fails
  54715. + on glibc 2.8 and on BSD systems. */
  54716. + c = fgetc (f);
  54717. + ungetc ('@', f);
  54718. + fflush (f);
  54719. + if (fgetc (f) != c)
  54720. + return 7;
  54721. + return 0;
  54722. +
  54723. + ;
  54724. + return 0;
  54725. +}
  54726. +_ACEOF
  54727. +if ac_fn_c_try_run "$LINENO"; then :
  54728. + gl_cv_func_fflush_stdin=yes
  54729. +else
  54730. + gl_cv_func_fflush_stdin=no
  54731. +fi
  54732. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  54733. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  54734. +fi
  54735. +
  54736. + rm conftest.txt
  54737. +
  54738. +fi
  54739. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5
  54740. +$as_echo "$gl_cv_func_fflush_stdin" >&6; }
  54741. + case $gl_cv_func_fflush_stdin in
  54742. + yes) gl_func_fflush_stdin=1 ;;
  54743. + no) gl_func_fflush_stdin=0 ;;
  54744. + *) gl_func_fflush_stdin='(-1)' ;;
  54745. + esac
  54746. +
  54747. +cat >>confdefs.h <<_ACEOF
  54748. +@%:@define FUNC_FFLUSH_STDIN $gl_func_fflush_stdin
  54749. +_ACEOF
  54750. +
  54751. + if test $gl_cv_func_fflush_stdin != yes; then
  54752. +
  54753. +
  54754. +
  54755. +
  54756. +
  54757. +
  54758. +
  54759. +
  54760. +
  54761. + M4_LIBOBJS="$M4_LIBOBJS fflush.$ac_objext"
  54762. +
  54763. +
  54764. + REPLACE_FFLUSH=1
  54765. +
  54766. +
  54767. + :
  54768. +
  54769. +
  54770. +
  54771. +
  54772. + if test $gl_cv_func_fseeko = yes; then
  54773. + REPLACE_FSEEKO=1
  54774. + fi
  54775. +
  54776. +
  54777. +
  54778. +
  54779. +
  54780. +
  54781. +
  54782. +
  54783. + M4_LIBOBJS="$M4_LIBOBJS fseeko.$ac_objext"
  54784. +
  54785. +
  54786. +
  54787. +
  54788. + fi
  54789. +
  54790. +
  54791. +
  54792. +
  54793. + GNULIB_FFLUSH=1
  54794. +
  54795. +
  54796. +
  54797. +$as_echo "@%:@define GNULIB_TEST_FFLUSH 1" >>confdefs.h
  54798. +
  54799. +
  54800. +
  54801. + # Code from module filenamecat:
  54802. +
  54803. +
  54804. +
  54805. +
  54806. +
  54807. +
  54808. +
  54809. +
  54810. +
  54811. +
  54812. + M4_LIBOBJS="$M4_LIBOBJS filenamecat.$ac_objext"
  54813. +
  54814. +
  54815. +
  54816. +
  54817. +cat >>confdefs.h <<_ACEOF
  54818. +@%:@define GNULIB_FILENAMECAT 1
  54819. +_ACEOF
  54820. +
  54821. +
  54822. + # Code from module filenamecat-lgpl:
  54823. +
  54824. +
  54825. +
  54826. +
  54827. +
  54828. +
  54829. +
  54830. +
  54831. +
  54832. + M4_LIBOBJS="$M4_LIBOBJS filenamecat-lgpl.$ac_objext"
  54833. +
  54834. +
  54835. +
  54836. +
  54837. + # Code from module float:
  54838. +
  54839. +
  54840. +
  54841. + FLOAT_H=
  54842. + case "$host_os" in
  54843. + beos* | openbsd* | mirbsd*)
  54844. + FLOAT_H=float.h
  54845. +
  54846. +
  54847. +
  54848. +
  54849. +
  54850. +
  54851. +
  54852. +
  54853. + if test $gl_cv_have_include_next = yes; then
  54854. + gl_cv_next_float_h='<'float.h'>'
  54855. + else
  54856. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <float.h>" >&5
  54857. +$as_echo_n "checking absolute name of <float.h>... " >&6; }
  54858. +if ${gl_cv_next_float_h+:} false; then :
  54859. + $as_echo_n "(cached) " >&6
  54860. +else
  54861. +
  54862. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  54863. +/* end confdefs.h. */
  54864. +#include <float.h>
  54865. +
  54866. +_ACEOF
  54867. + case "$host_os" in
  54868. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  54869. + *) gl_absname_cpp="$ac_cpp" ;;
  54870. + esac
  54871. + gl_cv_next_float_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  54872. + sed -n '\#/float.h#{
  54873. + s#.*"\(.*/float.h\)".*#\1#
  54874. + s#^/[^/]#//&#
  54875. + p
  54876. + q
  54877. + }'`'"'
  54878. +
  54879. +
  54880. +fi
  54881. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5
  54882. +$as_echo "$gl_cv_next_float_h" >&6; }
  54883. + fi
  54884. + NEXT_FLOAT_H=$gl_cv_next_float_h
  54885. +
  54886. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  54887. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  54888. + gl_next_as_first_directive='<'float.h'>'
  54889. + else
  54890. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  54891. + gl_next_as_first_directive=$gl_cv_next_float_h
  54892. + fi
  54893. + NEXT_AS_FIRST_DIRECTIVE_FLOAT_H=$gl_next_as_first_directive
  54894. +
  54895. +
  54896. +
  54897. +
  54898. + ;;
  54899. + esac
  54900. +
  54901. +
  54902. + # Code from module fopen:
  54903. +
  54904. +
  54905. +
  54906. + case "$host_os" in
  54907. + mingw* | pw*)
  54908. + REPLACE_FOPEN=1
  54909. + gl_cv_func_fopen_slash="guessing no"
  54910. + ;;
  54911. + *)
  54912. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fopen recognizes a trailing slash" >&5
  54913. +$as_echo_n "checking whether fopen recognizes a trailing slash... " >&6; }
  54914. +if ${gl_cv_func_fopen_slash+:} false; then :
  54915. + $as_echo_n "(cached) " >&6
  54916. +else
  54917. +
  54918. + if test "$cross_compiling" = yes; then :
  54919. +
  54920. + case "$host_os" in
  54921. + aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*)
  54922. + gl_cv_func_fopen_slash="guessing no" ;;
  54923. + *)
  54924. + gl_cv_func_fopen_slash="guessing yes" ;;
  54925. + esac
  54926. +
  54927. +else
  54928. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  54929. +/* end confdefs.h. */
  54930. +
  54931. +#include <stddef.h>
  54932. +#include <stdio.h>
  54933. +int main ()
  54934. +{
  54935. + return fopen ("conftest.sl/", "w") != NULL;
  54936. +}
  54937. +_ACEOF
  54938. +if ac_fn_c_try_run "$LINENO"; then :
  54939. + gl_cv_func_fopen_slash=yes
  54940. +else
  54941. + gl_cv_func_fopen_slash=no
  54942. +fi
  54943. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  54944. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  54945. +fi
  54946. +
  54947. + rm -f conftest.sl
  54948. +
  54949. +fi
  54950. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fopen_slash" >&5
  54951. +$as_echo "$gl_cv_func_fopen_slash" >&6; }
  54952. + ;;
  54953. + esac
  54954. + case "$gl_cv_func_fopen_slash" in
  54955. + *no)
  54956. +
  54957. +$as_echo "@%:@define FOPEN_TRAILING_SLASH_BUG 1" >>confdefs.h
  54958. +
  54959. + REPLACE_FOPEN=1
  54960. + ;;
  54961. + esac
  54962. + if test $REPLACE_FOPEN = 1; then
  54963. +
  54964. +
  54965. +
  54966. +
  54967. +
  54968. +
  54969. +
  54970. +
  54971. + M4_LIBOBJS="$M4_LIBOBJS fopen.$ac_objext"
  54972. +
  54973. +
  54974. +
  54975. +
  54976. + fi
  54977. +
  54978. +
  54979. +
  54980. +
  54981. + GNULIB_FOPEN=1
  54982. +
  54983. +
  54984. +
  54985. +$as_echo "@%:@define GNULIB_TEST_FOPEN 1" >>confdefs.h
  54986. +
  54987. +
  54988. +
  54989. + # Code from module fopen-safer:
  54990. +
  54991. +
  54992. +
  54993. +
  54994. +
  54995. +
  54996. +
  54997. +
  54998. +
  54999. + M4_LIBOBJS="$M4_LIBOBJS fopen-safer.$ac_objext"
  55000. +
  55001. +
  55002. +
  55003. +
  55004. +cat >>confdefs.h <<_ACEOF
  55005. +@%:@define GNULIB_FOPEN_SAFER 1
  55006. +_ACEOF
  55007. +
  55008. +
  55009. + # Code from module fpending:
  55010. +
  55011. +
  55012. +
  55013. + fp_headers='
  55014. +# include <stdio.h>
  55015. +# if HAVE_STDIO_EXT_H
  55016. +# include <stdio_ext.h>
  55017. +# endif
  55018. +'
  55019. + ac_fn_c_check_decl "$LINENO" "__fpending" "ac_cv_have_decl___fpending" "$fp_headers
  55020. +"
  55021. +if test "x$ac_cv_have_decl___fpending" = xyes; then :
  55022. + ac_have_decl=1
  55023. +else
  55024. + ac_have_decl=0
  55025. +fi
  55026. +
  55027. +cat >>confdefs.h <<_ACEOF
  55028. +@%:@define HAVE_DECL___FPENDING $ac_have_decl
  55029. +_ACEOF
  55030. +
  55031. + if test $ac_cv_func___fpending = no; then
  55032. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to determine the number of pending output bytes on a stream" >&5
  55033. +$as_echo_n "checking how to determine the number of pending output bytes on a stream... " >&6; }
  55034. +if ${ac_cv_sys_pending_output_n_bytes+:} false; then :
  55035. + $as_echo_n "(cached) " >&6
  55036. +else
  55037. +
  55038. + for ac_expr in \
  55039. + \
  55040. + '# glibc2' \
  55041. + 'fp->_IO_write_ptr - fp->_IO_write_base' \
  55042. + \
  55043. + '# traditional Unix' \
  55044. + 'fp->_ptr - fp->_base' \
  55045. + \
  55046. + '# BSD' \
  55047. + 'fp->_p - fp->_bf._base' \
  55048. + \
  55049. + '# SCO, Unixware' \
  55050. + '(fp->__ptr ? fp->__ptr - fp->__base : 0)' \
  55051. + \
  55052. + '# QNX' \
  55053. + '(fp->_Mode & 0x2000 /*_MWRITE*/ ? fp->_Next - fp->_Buf : 0)' \
  55054. + \
  55055. + '# old glibc?' \
  55056. + 'fp->__bufp - fp->__buffer' \
  55057. + \
  55058. + '# old glibc iostream?' \
  55059. + 'fp->_pptr - fp->_pbase' \
  55060. + \
  55061. + '# emx+gcc' \
  55062. + 'fp->_ptr - fp->_buffer' \
  55063. + \
  55064. + '# VMS' \
  55065. + '(*fp)->_ptr - (*fp)->_base' \
  55066. + \
  55067. + '# e.g., DGUX R4.11; the info is not available' \
  55068. + 1 \
  55069. + ; do
  55070. +
  55071. + # Skip each embedded comment.
  55072. + case "$ac_expr" in '#'*) continue;; esac
  55073. +
  55074. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  55075. +/* end confdefs.h. */
  55076. +#include <stdio.h>
  55077. +int
  55078. +main ()
  55079. +{
  55080. +FILE *fp = stdin; (void) ($ac_expr);
  55081. + ;
  55082. + return 0;
  55083. +}
  55084. +_ACEOF
  55085. +if ac_fn_c_try_compile "$LINENO"; then :
  55086. + fp_done=yes
  55087. +
  55088. +fi
  55089. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  55090. + test "$fp_done" = yes && break
  55091. + done
  55092. +
  55093. + ac_cv_sys_pending_output_n_bytes=$ac_expr
  55094. +
  55095. +
  55096. +fi
  55097. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_pending_output_n_bytes" >&5
  55098. +$as_echo "$ac_cv_sys_pending_output_n_bytes" >&6; }
  55099. +
  55100. +cat >>confdefs.h <<_ACEOF
  55101. +@%:@define PENDING_OUTPUT_N_BYTES $ac_cv_sys_pending_output_n_bytes
  55102. +_ACEOF
  55103. +
  55104. +
  55105. +
  55106. +
  55107. +
  55108. +
  55109. +
  55110. +
  55111. +
  55112. + M4_LIBOBJS="$M4_LIBOBJS fpending.$ac_objext"
  55113. +
  55114. + fi
  55115. +
  55116. + # Code from module fpieee:
  55117. + # Code from module fpucw:
  55118. + # Code from module fpurge:
  55119. +
  55120. +
  55121. +
  55122. +
  55123. + ac_fn_c_check_decl "$LINENO" "fpurge" "ac_cv_have_decl_fpurge" "#include <stdio.h>
  55124. +"
  55125. +if test "x$ac_cv_have_decl_fpurge" = xyes; then :
  55126. + ac_have_decl=1
  55127. +else
  55128. + ac_have_decl=0
  55129. +fi
  55130. +
  55131. +cat >>confdefs.h <<_ACEOF
  55132. +@%:@define HAVE_DECL_FPURGE $ac_have_decl
  55133. +_ACEOF
  55134. +
  55135. + if test "x$ac_cv_func_fpurge" = xyes; then
  55136. + # Detect BSD bug. Only cygwin 1.7 is known to be immune.
  55137. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpurge works" >&5
  55138. +$as_echo_n "checking whether fpurge works... " >&6; }
  55139. +if ${gl_cv_func_fpurge_works+:} false; then :
  55140. + $as_echo_n "(cached) " >&6
  55141. +else
  55142. + if test "$cross_compiling" = yes; then :
  55143. + gl_cv_func_fpurge_works='guessing no'
  55144. +else
  55145. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  55146. +/* end confdefs.h. */
  55147. +#include <stdio.h>
  55148. +
  55149. +int
  55150. +main ()
  55151. +{
  55152. +FILE *f = fopen ("conftest.txt", "w+");
  55153. + if (!f) return 1;
  55154. + if (fputc ('a', f) != 'a') return 2;
  55155. + rewind (f);
  55156. + if (fgetc (f) != 'a') return 3;
  55157. + if (fgetc (f) != EOF) return 4;
  55158. + if (fpurge (f) != 0) return 5;
  55159. + if (putc ('b', f) != 'b') return 6;
  55160. + if (fclose (f) != 0) return 7;
  55161. + if ((f = fopen ("conftest.txt", "r")) == NULL) return 8;
  55162. + if (fgetc (f) != 'a') return 9;
  55163. + if (fgetc (f) != 'b') return 10;
  55164. + if (fgetc (f) != EOF) return 11;
  55165. + if (fclose (f) != 0) return 12;
  55166. + if (remove ("conftest.txt") != 0) return 13;
  55167. + return 0;
  55168. + ;
  55169. + return 0;
  55170. +}
  55171. +_ACEOF
  55172. +if ac_fn_c_try_run "$LINENO"; then :
  55173. + gl_cv_func_fpurge_works=yes
  55174. +else
  55175. + gl_cv_func_fpurge_works=no
  55176. +fi
  55177. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  55178. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  55179. +fi
  55180. +
  55181. +fi
  55182. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fpurge_works" >&5
  55183. +$as_echo "$gl_cv_func_fpurge_works" >&6; }
  55184. + if test "x$gl_cv_func_fpurge_works" != xyes; then
  55185. + REPLACE_FPURGE=1
  55186. +
  55187. +
  55188. +
  55189. +
  55190. +
  55191. +
  55192. +
  55193. +
  55194. + M4_LIBOBJS="$M4_LIBOBJS fpurge.$ac_objext"
  55195. +
  55196. + fi
  55197. + else
  55198. +
  55199. +
  55200. +
  55201. +
  55202. +
  55203. +
  55204. +
  55205. +
  55206. + M4_LIBOBJS="$M4_LIBOBJS fpurge.$ac_objext"
  55207. +
  55208. + fi
  55209. + if test "x$ac_cv_have_decl_fpurge" = xno; then
  55210. + HAVE_DECL_FPURGE=0
  55211. + fi
  55212. +
  55213. +
  55214. +
  55215. +
  55216. + GNULIB_FPURGE=1
  55217. +
  55218. +
  55219. +
  55220. +$as_echo "@%:@define GNULIB_TEST_FPURGE 1" >>confdefs.h
  55221. +
  55222. +
  55223. +
  55224. + # Code from module freadahead:
  55225. + # Code from module freading:
  55226. +
  55227. +
  55228. +
  55229. + # Code from module frexp-nolibm:
  55230. +
  55231. +
  55232. +
  55233. + if test $gl_cv_func_frexp_no_libm = yes; then
  55234. +
  55235. +
  55236. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5
  55237. +$as_echo_n "checking whether frexp works... " >&6; }
  55238. +if ${gl_cv_func_frexp_works+:} false; then :
  55239. + $as_echo_n "(cached) " >&6
  55240. +else
  55241. +
  55242. + if test "$cross_compiling" = yes; then :
  55243. + case "$host_os" in
  55244. + netbsd* | irix* | mingw*) gl_cv_func_frexp_works="guessing no";;
  55245. + *) gl_cv_func_frexp_works="guessing yes";;
  55246. + esac
  55247. +
  55248. +else
  55249. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  55250. +/* end confdefs.h. */
  55251. +
  55252. +#include <float.h>
  55253. +#include <math.h>
  55254. +#include <string.h>
  55255. +/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
  55256. + ICC 10.0 has a bug when optimizing the expression -zero.
  55257. + The expression -DBL_MIN * DBL_MIN does not work when cross-compiling
  55258. + to PowerPC on MacOS X 10.5. */
  55259. +#if defined __hpux || defined __sgi || defined __ICC
  55260. +static double
  55261. +compute_minus_zero (void)
  55262. +{
  55263. + return -DBL_MIN * DBL_MIN;
  55264. +}
  55265. +# define minus_zero compute_minus_zero ()
  55266. +#else
  55267. +double minus_zero = -0.0;
  55268. +#endif
  55269. +int main()
  55270. +{
  55271. + int result = 0;
  55272. + int i;
  55273. + volatile double x;
  55274. + double zero = 0.0;
  55275. + /* Test on denormalized numbers. */
  55276. + for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5)
  55277. + ;
  55278. + if (x > 0.0)
  55279. + {
  55280. + int exp;
  55281. + double y = frexp (x, &exp);
  55282. + /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022.
  55283. + On NetBSD: y = 0.75. Correct: y = 0.5. */
  55284. + if (y != 0.5)
  55285. + result |= 1;
  55286. + }
  55287. + /* Test on infinite numbers. */
  55288. + x = 1.0 / 0.0;
  55289. + {
  55290. + int exp;
  55291. + double y = frexp (x, &exp);
  55292. + if (y != x)
  55293. + result |= 2;
  55294. + }
  55295. + /* Test on negative zero. */
  55296. + x = minus_zero;
  55297. + {
  55298. + int exp;
  55299. + double y = frexp (x, &exp);
  55300. + if (memcmp (&y, &x, sizeof x))
  55301. + result |= 4;
  55302. + }
  55303. + return result;
  55304. +}
  55305. +_ACEOF
  55306. +if ac_fn_c_try_run "$LINENO"; then :
  55307. + gl_cv_func_frexp_works=yes
  55308. +else
  55309. + gl_cv_func_frexp_works=no
  55310. +fi
  55311. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  55312. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  55313. +fi
  55314. +
  55315. +
  55316. +fi
  55317. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_works" >&5
  55318. +$as_echo "$gl_cv_func_frexp_works" >&6; }
  55319. +
  55320. + case "$gl_cv_func_frexp_works" in
  55321. + *yes) gl_func_frexp_no_libm=yes ;;
  55322. + *) gl_func_frexp_no_libm=no; REPLACE_FREXP=1 ;;
  55323. + esac
  55324. + else
  55325. + gl_func_frexp_no_libm=no
  55326. + REPLACE_FREXP=1
  55327. + fi
  55328. + if test $gl_func_frexp_no_libm = yes; then
  55329. +
  55330. +$as_echo "@%:@define HAVE_FREXP_IN_LIBC 1" >>confdefs.h
  55331. +
  55332. + else
  55333. +
  55334. +
  55335. +
  55336. +
  55337. +
  55338. +
  55339. +
  55340. +
  55341. + M4_LIBOBJS="$M4_LIBOBJS frexp.$ac_objext"
  55342. +
  55343. + fi
  55344. +
  55345. +
  55346. +
  55347. +
  55348. + GNULIB_FREXP=1
  55349. +
  55350. +
  55351. +
  55352. +$as_echo "@%:@define GNULIB_TEST_FREXP 1" >>confdefs.h
  55353. +
  55354. +
  55355. +
  55356. + # Code from module frexpl-nolibm:
  55357. +
  55358. +
  55359. + ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include <math.h>
  55360. +"
  55361. +if test "x$ac_cv_have_decl_frexpl" = xyes; then :
  55362. +
  55363. +else
  55364. + HAVE_DECL_FREXPL=0
  55365. +fi
  55366. +
  55367. + if test $HAVE_DECL_FREXPL = 1; then
  55368. +
  55369. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5
  55370. +$as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; }
  55371. +if ${gl_cv_func_frexpl_no_libm+:} false; then :
  55372. + $as_echo_n "(cached) " >&6
  55373. +else
  55374. +
  55375. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  55376. +/* end confdefs.h. */
  55377. +#include <math.h>
  55378. + long double x;
  55379. +int
  55380. +main ()
  55381. +{
  55382. +int e; return frexpl (x, &e) > 0;
  55383. + ;
  55384. + return 0;
  55385. +}
  55386. +_ACEOF
  55387. +if ac_fn_c_try_link "$LINENO"; then :
  55388. + gl_cv_func_frexpl_no_libm=yes
  55389. +else
  55390. + gl_cv_func_frexpl_no_libm=no
  55391. +fi
  55392. +rm -f core conftest.err conftest.$ac_objext \
  55393. + conftest$ac_exeext conftest.$ac_ext
  55394. +
  55395. +fi
  55396. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_no_libm" >&5
  55397. +$as_echo "$gl_cv_func_frexpl_no_libm" >&6; }
  55398. +
  55399. + if test $gl_cv_func_frexpl_no_libm = yes; then
  55400. +
  55401. +
  55402. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5
  55403. +$as_echo_n "checking whether frexpl works... " >&6; }
  55404. +if ${gl_cv_func_frexpl_works+:} false; then :
  55405. + $as_echo_n "(cached) " >&6
  55406. +else
  55407. +
  55408. + if test "$cross_compiling" = yes; then :
  55409. +
  55410. + case "$host_os" in
  55411. + aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*)
  55412. + gl_cv_func_frexpl_works="guessing no";;
  55413. + *) gl_cv_func_frexpl_works="guessing yes";;
  55414. + esac
  55415. +
  55416. +else
  55417. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  55418. +/* end confdefs.h. */
  55419. +
  55420. +#include <float.h>
  55421. +#include <math.h>
  55422. +/* Override the values of <float.h>, like done in float.in.h. */
  55423. +#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__)
  55424. +# undef LDBL_MIN_EXP
  55425. +# define LDBL_MIN_EXP (-16381)
  55426. +#endif
  55427. +extern long double frexpl (long double, int *);
  55428. +int main()
  55429. +{
  55430. + int result = 0;
  55431. + volatile long double x;
  55432. + /* Test on finite numbers that fails on AIX 5.1. */
  55433. + x = 16.0L;
  55434. + {
  55435. + int exp = -9999;
  55436. + frexpl (x, &exp);
  55437. + if (exp != 5)
  55438. + result |= 1;
  55439. + }
  55440. + /* Test on finite numbers that fails on MacOS X 10.4, because its frexpl
  55441. + function returns an invalid (incorrectly normalized) value: it returns
  55442. + y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 }
  55443. + but the correct result is
  55444. + 0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 } */
  55445. + x = 1.01L;
  55446. + {
  55447. + int exp = -9999;
  55448. + long double y = frexpl (x, &exp);
  55449. + if (!(exp == 1 && y == 0.505L))
  55450. + result |= 2;
  55451. + }
  55452. + /* Test on large finite numbers. This fails on BeOS at i = 16322, while
  55453. + LDBL_MAX_EXP = 16384.
  55454. + In the loop end test, we test x against Infinity, rather than comparing
  55455. + i with LDBL_MAX_EXP, because BeOS <float.h> has a wrong LDBL_MAX_EXP. */
  55456. + {
  55457. + int i;
  55458. + for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L)
  55459. + {
  55460. + int exp = -9999;
  55461. + frexpl (x, &exp);
  55462. + if (exp != i)
  55463. + {
  55464. + result |= 4;
  55465. + break;
  55466. + }
  55467. + }
  55468. + }
  55469. + /* Test on denormalized numbers. */
  55470. + {
  55471. + int i;
  55472. + for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L)
  55473. + ;
  55474. + if (x > 0.0L)
  55475. + {
  55476. + int exp;
  55477. + long double y = frexpl (x, &exp);
  55478. + /* On machines with IEEE854 arithmetic: x = 1.68105e-4932,
  55479. + exp = -16382, y = 0.5. On MacOS X 10.5: exp = -16384, y = 0.5. */
  55480. + if (exp != LDBL_MIN_EXP - 1)
  55481. + result |= 8;
  55482. + }
  55483. + }
  55484. + /* Test on infinite numbers. */
  55485. + x = 1.0L / 0.0L;
  55486. + {
  55487. + int exp;
  55488. + long double y = frexpl (x, &exp);
  55489. + if (y != x)
  55490. + result |= 16;
  55491. + }
  55492. + return result;
  55493. +}
  55494. +_ACEOF
  55495. +if ac_fn_c_try_run "$LINENO"; then :
  55496. + gl_cv_func_frexpl_works=yes
  55497. +else
  55498. + gl_cv_func_frexpl_works=no
  55499. +fi
  55500. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  55501. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  55502. +fi
  55503. +
  55504. +
  55505. +fi
  55506. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_works" >&5
  55507. +$as_echo "$gl_cv_func_frexpl_works" >&6; }
  55508. +
  55509. + case "$gl_cv_func_frexpl_works" in
  55510. + *yes) gl_func_frexpl_no_libm=yes ;;
  55511. + *) gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;;
  55512. + esac
  55513. + else
  55514. + gl_func_frexpl_no_libm=no
  55515. + REPLACE_FREXPL=1
  55516. + fi
  55517. + if test $gl_func_frexpl_no_libm = yes; then
  55518. +
  55519. +$as_echo "@%:@define HAVE_FREXPL_IN_LIBC 1" >>confdefs.h
  55520. +
  55521. + fi
  55522. + fi
  55523. + if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then
  55524. +
  55525. +
  55526. +
  55527. +
  55528. +
  55529. +
  55530. +
  55531. +
  55532. + M4_LIBOBJS="$M4_LIBOBJS frexpl.$ac_objext"
  55533. +
  55534. + fi
  55535. +
  55536. +
  55537. +
  55538. +
  55539. + GNULIB_FREXPL=1
  55540. +
  55541. +
  55542. +
  55543. +$as_echo "@%:@define GNULIB_TEST_FREXPL 1" >>confdefs.h
  55544. +
  55545. +
  55546. +
  55547. + # Code from module fseeko:
  55548. +
  55549. +
  55550. +
  55551. +
  55552. +
  55553. +
  55554. + if test $ac_cv_have_decl_fseeko = no; then
  55555. + HAVE_DECL_FSEEKO=0
  55556. + fi
  55557. +
  55558. + if test $gl_cv_func_fseeko = no; then
  55559. + HAVE_FSEEKO=0
  55560. +
  55561. +
  55562. +
  55563. + if test $gl_cv_func_fseeko = yes; then
  55564. + REPLACE_FSEEKO=1
  55565. + fi
  55566. +
  55567. +
  55568. +
  55569. +
  55570. +
  55571. +
  55572. +
  55573. +
  55574. + M4_LIBOBJS="$M4_LIBOBJS fseeko.$ac_objext"
  55575. +
  55576. +
  55577. +
  55578. + else
  55579. + if test $gl_cv_var_stdin_large_offset = no; then
  55580. +
  55581. +
  55582. +
  55583. + if test $gl_cv_func_fseeko = yes; then
  55584. + REPLACE_FSEEKO=1
  55585. + fi
  55586. +
  55587. +
  55588. +
  55589. +
  55590. +
  55591. +
  55592. +
  55593. +
  55594. + M4_LIBOBJS="$M4_LIBOBJS fseeko.$ac_objext"
  55595. +
  55596. +
  55597. +
  55598. + fi
  55599. + fi
  55600. +
  55601. +
  55602. +
  55603. +
  55604. + GNULIB_FSEEKO=1
  55605. +
  55606. +
  55607. +
  55608. +$as_echo "@%:@define GNULIB_TEST_FSEEKO 1" >>confdefs.h
  55609. +
  55610. +
  55611. +
  55612. + # Code from module ftello:
  55613. +
  55614. +
  55615. +
  55616. +
  55617. +
  55618. +
  55619. +
  55620. +
  55621. + if test $ac_cv_have_decl_ftello = no; then
  55622. + HAVE_DECL_FTELLO=0
  55623. + fi
  55624. +
  55625. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftello" >&5
  55626. +$as_echo_n "checking for ftello... " >&6; }
  55627. +if ${gl_cv_func_ftello+:} false; then :
  55628. + $as_echo_n "(cached) " >&6
  55629. +else
  55630. +
  55631. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  55632. +/* end confdefs.h. */
  55633. +#include <stdio.h>
  55634. +int
  55635. +main ()
  55636. +{
  55637. +ftello (stdin);
  55638. + ;
  55639. + return 0;
  55640. +}
  55641. +_ACEOF
  55642. +if ac_fn_c_try_link "$LINENO"; then :
  55643. + gl_cv_func_ftello=yes
  55644. +else
  55645. + gl_cv_func_ftello=no
  55646. +fi
  55647. +rm -f core conftest.err conftest.$ac_objext \
  55648. + conftest$ac_exeext conftest.$ac_ext
  55649. +
  55650. +fi
  55651. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello" >&5
  55652. +$as_echo "$gl_cv_func_ftello" >&6; }
  55653. + if test $gl_cv_func_ftello = no; then
  55654. + HAVE_FTELLO=0
  55655. + else
  55656. + if test $gl_cv_var_stdin_large_offset = no; then
  55657. + REPLACE_FTELLO=1
  55658. + else
  55659. +
  55660. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ftello works" >&5
  55661. +$as_echo_n "checking whether ftello works... " >&6; }
  55662. +if ${gl_cv_func_ftello_works+:} false; then :
  55663. + $as_echo_n "(cached) " >&6
  55664. +else
  55665. +
  55666. + case "$host_os" in
  55667. + # Guess no on Solaris.
  55668. + solaris*) gl_cv_func_ftello_works="guessing no" ;;
  55669. + # Guess yes otherwise.
  55670. + *) gl_cv_func_ftello_works="guessing yes" ;;
  55671. + esac
  55672. + if test "$cross_compiling" = yes; then :
  55673. + :
  55674. +else
  55675. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  55676. +/* end confdefs.h. */
  55677. +
  55678. +#include <stdio.h>
  55679. +#include <stdlib.h>
  55680. +#include <string.h>
  55681. +#define TESTFILE "conftest.tmp"
  55682. +int
  55683. +main (void)
  55684. +{
  55685. + FILE *fp;
  55686. +
  55687. + /* Create a file with some contents. */
  55688. + fp = fopen (TESTFILE, "w");
  55689. + if (fp == NULL)
  55690. + return 70;
  55691. + if (fwrite ("foogarsh", 1, 8, fp) < 8)
  55692. + return 71;
  55693. + if (fclose (fp))
  55694. + return 72;
  55695. +
  55696. + /* The file's contents is now "foogarsh". */
  55697. +
  55698. + /* Try writing after reading to EOF. */
  55699. + fp = fopen (TESTFILE, "r+");
  55700. + if (fp == NULL)
  55701. + return 73;
  55702. + if (fseek (fp, -1, SEEK_END))
  55703. + return 74;
  55704. + if (!(getc (fp) == 'h'))
  55705. + return 1;
  55706. + if (!(getc (fp) == EOF))
  55707. + return 2;
  55708. + if (!(ftell (fp) == 8))
  55709. + return 3;
  55710. + if (!(ftell (fp) == 8))
  55711. + return 4;
  55712. + if (!(putc ('!', fp) == '!'))
  55713. + return 5;
  55714. + if (!(ftell (fp) == 9))
  55715. + return 6;
  55716. + if (!(fclose (fp) == 0))
  55717. + return 7;
  55718. + fp = fopen (TESTFILE, "r");
  55719. + if (fp == NULL)
  55720. + return 75;
  55721. + {
  55722. + char buf[10];
  55723. + if (!(fread (buf, 1, 10, fp) == 9))
  55724. + return 10;
  55725. + if (!(memcmp (buf, "foogarsh!", 9) == 0))
  55726. + return 11;
  55727. + }
  55728. + if (!(fclose (fp) == 0))
  55729. + return 12;
  55730. +
  55731. + /* The file's contents is now "foogarsh!". */
  55732. +
  55733. + return 0;
  55734. +}
  55735. +_ACEOF
  55736. +if ac_fn_c_try_run "$LINENO"; then :
  55737. + gl_cv_func_ftello_works=yes
  55738. +else
  55739. + gl_cv_func_ftello_works=no
  55740. +fi
  55741. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  55742. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  55743. +fi
  55744. +
  55745. +
  55746. +fi
  55747. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello_works" >&5
  55748. +$as_echo "$gl_cv_func_ftello_works" >&6; }
  55749. + case "$gl_cv_func_ftello_works" in
  55750. + *yes) ;;
  55751. + *)
  55752. + REPLACE_FTELLO=1
  55753. +
  55754. +$as_echo "@%:@define FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE 1" >>confdefs.h
  55755. +
  55756. + ;;
  55757. + esac
  55758. + fi
  55759. + fi
  55760. + if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
  55761. +
  55762. +
  55763. +
  55764. +
  55765. +
  55766. +
  55767. +
  55768. +
  55769. +
  55770. + M4_LIBOBJS="$M4_LIBOBJS ftello.$ac_objext"
  55771. +
  55772. +
  55773. + fi
  55774. +
  55775. +
  55776. +
  55777. +
  55778. + GNULIB_FTELLO=1
  55779. +
  55780. +
  55781. +
  55782. +$as_echo "@%:@define GNULIB_TEST_FTELLO 1" >>confdefs.h
  55783. +
  55784. +
  55785. +
  55786. + # Code from module gendocs:
  55787. + # Code from module getdtablesize:
  55788. +
  55789. +
  55790. +
  55791. + if test $ac_cv_func_getdtablesize != yes; then
  55792. + HAVE_GETDTABLESIZE=0
  55793. +
  55794. +
  55795. +
  55796. +
  55797. +
  55798. +
  55799. +
  55800. +
  55801. + M4_LIBOBJS="$M4_LIBOBJS getdtablesize.$ac_objext"
  55802. +
  55803. + fi
  55804. +
  55805. +
  55806. +
  55807. +
  55808. + GNULIB_GETDTABLESIZE=1
  55809. +
  55810. +
  55811. +
  55812. +$as_echo "@%:@define GNULIB_TEST_GETDTABLESIZE 1" >>confdefs.h
  55813. +
  55814. +
  55815. +
  55816. + # Code from module getopt-gnu:
  55817. +
  55818. +
  55819. +
  55820. +
  55821. +
  55822. +
  55823. +
  55824. +$as_echo "@%:@define GNULIB_TEST_GETOPT_GNU 1" >>confdefs.h
  55825. +
  55826. +
  55827. + # Code from module getopt-posix:
  55828. +
  55829. +
  55830. +
  55831. +
  55832. +
  55833. + if test -n "$gl_replace_getopt"; then :
  55834. +
  55835. +
  55836. +
  55837. + GETOPT_H=getopt.h
  55838. +
  55839. +$as_echo "@%:@define __GETOPT_PREFIX rpl_" >>confdefs.h
  55840. +
  55841. +
  55842. +
  55843. + GNULIB_UNISTD_H_GETOPT=1
  55844. +
  55845. +
  55846. +
  55847. +
  55848. +
  55849. +
  55850. +
  55851. +
  55852. + M4_LIBOBJS="$M4_LIBOBJS getopt.$ac_objext"
  55853. +
  55854. +
  55855. +
  55856. +
  55857. +
  55858. +
  55859. +
  55860. +
  55861. +
  55862. + M4_LIBOBJS="$M4_LIBOBJS getopt1.$ac_objext"
  55863. +
  55864. +
  55865. +
  55866. +
  55867. +
  55868. +
  55869. +fi
  55870. +
  55871. +
  55872. + # Code from module gettext-h:
  55873. +
  55874. +
  55875. + # Code from module gettimeofday:
  55876. +
  55877. +
  55878. +
  55879. +
  55880. +
  55881. +
  55882. + gl_gettimeofday_timezone=void
  55883. + if test $ac_cv_func_gettimeofday != yes; then
  55884. + HAVE_GETTIMEOFDAY=0
  55885. +
  55886. +
  55887. +
  55888. +
  55889. +
  55890. +
  55891. +
  55892. +
  55893. + M4_LIBOBJS="$M4_LIBOBJS gettimeofday.$ac_objext"
  55894. +
  55895. +
  55896. + for ac_header in sys/timeb.h
  55897. +do :
  55898. + ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
  55899. +if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
  55900. + cat >>confdefs.h <<_ACEOF
  55901. +@%:@define HAVE_SYS_TIMEB_H 1
  55902. +_ACEOF
  55903. +
  55904. +fi
  55905. +
  55906. +done
  55907. +
  55908. + for ac_func in _ftime
  55909. +do :
  55910. + ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime"
  55911. +if test "x$ac_cv_func__ftime" = xyes; then :
  55912. + cat >>confdefs.h <<_ACEOF
  55913. +@%:@define HAVE__FTIME 1
  55914. +_ACEOF
  55915. +
  55916. +fi
  55917. +done
  55918. +
  55919. +
  55920. + else
  55921. +
  55922. +
  55923. +
  55924. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday clobbers localtime buffer" >&5
  55925. +$as_echo_n "checking whether gettimeofday clobbers localtime buffer... " >&6; }
  55926. +if ${gl_cv_func_gettimeofday_clobber+:} false; then :
  55927. + $as_echo_n "(cached) " >&6
  55928. +else
  55929. + if test "$cross_compiling" = yes; then :
  55930. + gl_cv_func_gettimeofday_clobber=yes
  55931. +else
  55932. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  55933. +/* end confdefs.h. */
  55934. +#include <string.h>
  55935. + #include <sys/time.h>
  55936. + #include <time.h>
  55937. + #include <stdlib.h>
  55938. +
  55939. +int
  55940. +main ()
  55941. +{
  55942. +
  55943. + time_t t = 0;
  55944. + struct tm *lt;
  55945. + struct tm saved_lt;
  55946. + struct timeval tv;
  55947. + lt = localtime (&t);
  55948. + saved_lt = *lt;
  55949. + gettimeofday (&tv, NULL);
  55950. + return memcmp (lt, &saved_lt, sizeof (struct tm)) != 0;
  55951. +
  55952. + ;
  55953. + return 0;
  55954. +}
  55955. +_ACEOF
  55956. +if ac_fn_c_try_run "$LINENO"; then :
  55957. + gl_cv_func_gettimeofday_clobber=no
  55958. +else
  55959. + gl_cv_func_gettimeofday_clobber=yes
  55960. +fi
  55961. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  55962. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  55963. +fi
  55964. +
  55965. +fi
  55966. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_clobber" >&5
  55967. +$as_echo "$gl_cv_func_gettimeofday_clobber" >&6; }
  55968. +
  55969. + if test $gl_cv_func_gettimeofday_clobber = yes; then
  55970. + REPLACE_GETTIMEOFDAY=1
  55971. +
  55972. +
  55973. +
  55974. +
  55975. +
  55976. +
  55977. +
  55978. +
  55979. +
  55980. + M4_LIBOBJS="$M4_LIBOBJS gettimeofday.$ac_objext"
  55981. +
  55982. +
  55983. + for ac_header in sys/timeb.h
  55984. +do :
  55985. + ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
  55986. +if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
  55987. + cat >>confdefs.h <<_ACEOF
  55988. +@%:@define HAVE_SYS_TIMEB_H 1
  55989. +_ACEOF
  55990. +
  55991. +fi
  55992. +
  55993. +done
  55994. +
  55995. + for ac_func in _ftime
  55996. +do :
  55997. + ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime"
  55998. +if test "x$ac_cv_func__ftime" = xyes; then :
  55999. + cat >>confdefs.h <<_ACEOF
  56000. +@%:@define HAVE__FTIME 1
  56001. +_ACEOF
  56002. +
  56003. +fi
  56004. +done
  56005. +
  56006. +
  56007. +
  56008. +$as_echo "@%:@define gmtime rpl_gmtime" >>confdefs.h
  56009. +
  56010. +
  56011. +$as_echo "@%:@define localtime rpl_localtime" >>confdefs.h
  56012. +
  56013. +
  56014. +
  56015. +$as_echo "@%:@define GETTIMEOFDAY_CLOBBERS_LOCALTIME 1" >>confdefs.h
  56016. +
  56017. + fi
  56018. +
  56019. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday with POSIX signature" >&5
  56020. +$as_echo_n "checking for gettimeofday with POSIX signature... " >&6; }
  56021. +if ${gl_cv_func_gettimeofday_posix_signature+:} false; then :
  56022. + $as_echo_n "(cached) " >&6
  56023. +else
  56024. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56025. +/* end confdefs.h. */
  56026. +#include <sys/time.h>
  56027. + struct timeval c;
  56028. + int gettimeofday (struct timeval *restrict, void *restrict);
  56029. +
  56030. +int
  56031. +main ()
  56032. +{
  56033. +/* glibc uses struct timezone * rather than the POSIX void *
  56034. + if _GNU_SOURCE is defined. However, since the only portable
  56035. + use of gettimeofday uses NULL as the second parameter, and
  56036. + since the glibc definition is actually more typesafe, it is
  56037. + not worth wrapping this to get a compliant signature. */
  56038. + int (*f) (struct timeval *restrict, void *restrict)
  56039. + = gettimeofday;
  56040. + int x = f (&c, 0);
  56041. + return !(x | c.tv_sec | c.tv_usec);
  56042. +
  56043. + ;
  56044. + return 0;
  56045. +}
  56046. +_ACEOF
  56047. +if ac_fn_c_try_compile "$LINENO"; then :
  56048. + gl_cv_func_gettimeofday_posix_signature=yes
  56049. +else
  56050. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56051. +/* end confdefs.h. */
  56052. +#include <sys/time.h>
  56053. +int gettimeofday (struct timeval *restrict, struct timezone *restrict);
  56054. +
  56055. +int
  56056. +main ()
  56057. +{
  56058. +
  56059. + ;
  56060. + return 0;
  56061. +}
  56062. +_ACEOF
  56063. +if ac_fn_c_try_compile "$LINENO"; then :
  56064. + gl_cv_func_gettimeofday_posix_signature=almost
  56065. +else
  56066. + gl_cv_func_gettimeofday_posix_signature=no
  56067. +fi
  56068. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  56069. +fi
  56070. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  56071. +fi
  56072. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_gettimeofday_posix_signature" >&5
  56073. +$as_echo "$gl_cv_func_gettimeofday_posix_signature" >&6; }
  56074. + if test $gl_cv_func_gettimeofday_posix_signature = almost; then
  56075. + gl_gettimeofday_timezone='struct timezone'
  56076. + elif test $gl_cv_func_gettimeofday_posix_signature != yes; then
  56077. + REPLACE_GETTIMEOFDAY=1
  56078. +
  56079. +
  56080. +
  56081. +
  56082. +
  56083. +
  56084. +
  56085. +
  56086. + M4_LIBOBJS="$M4_LIBOBJS gettimeofday.$ac_objext"
  56087. +
  56088. +
  56089. + for ac_header in sys/timeb.h
  56090. +do :
  56091. + ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
  56092. +if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
  56093. + cat >>confdefs.h <<_ACEOF
  56094. +@%:@define HAVE_SYS_TIMEB_H 1
  56095. +_ACEOF
  56096. +
  56097. +fi
  56098. +
  56099. +done
  56100. +
  56101. + for ac_func in _ftime
  56102. +do :
  56103. + ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime"
  56104. +if test "x$ac_cv_func__ftime" = xyes; then :
  56105. + cat >>confdefs.h <<_ACEOF
  56106. +@%:@define HAVE__FTIME 1
  56107. +_ACEOF
  56108. +
  56109. +fi
  56110. +done
  56111. +
  56112. +
  56113. + fi
  56114. + fi
  56115. +
  56116. +cat >>confdefs.h <<_ACEOF
  56117. +@%:@define GETTIMEOFDAY_TIMEZONE $gl_gettimeofday_timezone
  56118. +_ACEOF
  56119. +
  56120. +
  56121. +
  56122. +
  56123. +
  56124. + GNULIB_GETTIMEOFDAY=1
  56125. +
  56126. +
  56127. +
  56128. +$as_echo "@%:@define GNULIB_TEST_GETTIMEOFDAY 1" >>confdefs.h
  56129. +
  56130. +
  56131. +
  56132. + # Code from module git-version-gen:
  56133. + # Code from module gnu-web-doc-update:
  56134. + # Code from module gnumakefile:
  56135. + # Autoconf 2.61a.99 and earlier don't support linking a file only
  56136. + # in VPATH builds. But since GNUmakefile is for maintainer use
  56137. + # only, it does not matter if we skip the link with older autoconf.
  56138. + # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
  56139. + # builds, so use a shell variable to bypass this.
  56140. + GNUmakefile=GNUmakefile
  56141. + ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
  56142. +
  56143. + # Code from module gnupload:
  56144. + # Code from module gpl-3.0:
  56145. + # Code from module havelib:
  56146. + # Code from module ignore-value:
  56147. +
  56148. + # Code from module include_next:
  56149. + # Code from module inline:
  56150. +
  56151. +
  56152. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler generally respects inline" >&5
  56153. +$as_echo_n "checking whether the compiler generally respects inline... " >&6; }
  56154. +if ${gl_cv_c_inline_effective+:} false; then :
  56155. + $as_echo_n "(cached) " >&6
  56156. +else
  56157. + if test $ac_cv_c_inline = no; then
  56158. + gl_cv_c_inline_effective=no
  56159. + else
  56160. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56161. +/* end confdefs.h. */
  56162. +
  56163. +int
  56164. +main ()
  56165. +{
  56166. +#ifdef __NO_INLINE__
  56167. + #error "inline is not effective"
  56168. + #endif
  56169. + ;
  56170. + return 0;
  56171. +}
  56172. +_ACEOF
  56173. +if ac_fn_c_try_compile "$LINENO"; then :
  56174. + gl_cv_c_inline_effective=yes
  56175. +else
  56176. + gl_cv_c_inline_effective=no
  56177. +fi
  56178. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  56179. + fi
  56180. +
  56181. +fi
  56182. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_inline_effective" >&5
  56183. +$as_echo "$gl_cv_c_inline_effective" >&6; }
  56184. + if test $gl_cv_c_inline_effective = yes; then
  56185. +
  56186. +$as_echo "@%:@define HAVE_INLINE 1" >>confdefs.h
  56187. +
  56188. + fi
  56189. +
  56190. + # Code from module intprops:
  56191. + # Code from module isnand-nolibm:
  56192. +
  56193. +
  56194. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(double) can be used without linking with libm" >&5
  56195. +$as_echo_n "checking whether isnan(double) can be used without linking with libm... " >&6; }
  56196. +if ${gl_cv_func_isnand_no_libm+:} false; then :
  56197. + $as_echo_n "(cached) " >&6
  56198. +else
  56199. +
  56200. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56201. +/* end confdefs.h. */
  56202. +#include <math.h>
  56203. + #if __GNUC__ >= 4
  56204. + # undef isnand
  56205. + # define isnand(x) __builtin_isnan ((double)(x))
  56206. + #else
  56207. + # undef isnand
  56208. + # define isnand(x) isnan ((double)(x))
  56209. + #endif
  56210. + double x;
  56211. +int
  56212. +main ()
  56213. +{
  56214. +return isnand (x);
  56215. + ;
  56216. + return 0;
  56217. +}
  56218. +_ACEOF
  56219. +if ac_fn_c_try_link "$LINENO"; then :
  56220. + gl_cv_func_isnand_no_libm=yes
  56221. +else
  56222. + gl_cv_func_isnand_no_libm=no
  56223. +fi
  56224. +rm -f core conftest.err conftest.$ac_objext \
  56225. + conftest$ac_exeext conftest.$ac_ext
  56226. +
  56227. +fi
  56228. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnand_no_libm" >&5
  56229. +$as_echo "$gl_cv_func_isnand_no_libm" >&6; }
  56230. +
  56231. + if test $gl_cv_func_isnand_no_libm = yes; then
  56232. +
  56233. +$as_echo "@%:@define HAVE_ISNAND_IN_LIBC 1" >>confdefs.h
  56234. +
  56235. + else
  56236. +
  56237. +
  56238. +
  56239. +
  56240. +
  56241. +
  56242. +
  56243. +
  56244. +
  56245. + M4_LIBOBJS="$M4_LIBOBJS isnand.$ac_objext"
  56246. +
  56247. +
  56248. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5
  56249. +$as_echo_n "checking where to find the exponent in a 'double'... " >&6; }
  56250. +if ${gl_cv_cc_double_expbit0+:} false; then :
  56251. + $as_echo_n "(cached) " >&6
  56252. +else
  56253. +
  56254. + if test "$cross_compiling" = yes; then :
  56255. +
  56256. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56257. +/* end confdefs.h. */
  56258. +
  56259. +#if defined arm || defined __arm || defined __arm__
  56260. + mixed_endianness
  56261. +#endif
  56262. +
  56263. +_ACEOF
  56264. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  56265. + $EGREP "mixed_endianness" >/dev/null 2>&1; then :
  56266. + gl_cv_cc_double_expbit0="unknown"
  56267. +else
  56268. +
  56269. + :
  56270. +if ${ac_cv_c_bigendian+:} false; then :
  56271. + $as_echo_n "(cached) " >&6
  56272. +else
  56273. + ac_cv_c_bigendian=unknown
  56274. + # See if we're dealing with a universal compiler.
  56275. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56276. +/* end confdefs.h. */
  56277. +#ifndef __APPLE_CC__
  56278. + not a universal capable compiler
  56279. + #endif
  56280. + typedef int dummy;
  56281. +
  56282. +_ACEOF
  56283. +if ac_fn_c_try_compile "$LINENO"; then :
  56284. +
  56285. + # Check for potential -arch flags. It is not universal unless
  56286. + # there are at least two -arch flags with different values.
  56287. + ac_arch=
  56288. + ac_prev=
  56289. + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  56290. + if test -n "$ac_prev"; then
  56291. + case $ac_word in
  56292. + i?86 | x86_64 | ppc | ppc64)
  56293. + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  56294. + ac_arch=$ac_word
  56295. + else
  56296. + ac_cv_c_bigendian=universal
  56297. + break
  56298. + fi
  56299. + ;;
  56300. + esac
  56301. + ac_prev=
  56302. + elif test "x$ac_word" = "x-arch"; then
  56303. + ac_prev=arch
  56304. + fi
  56305. + done
  56306. +fi
  56307. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  56308. + if test $ac_cv_c_bigendian = unknown; then
  56309. + # See if sys/param.h defines the BYTE_ORDER macro.
  56310. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56311. +/* end confdefs.h. */
  56312. +#include <sys/types.h>
  56313. + #include <sys/param.h>
  56314. +
  56315. +int
  56316. +main ()
  56317. +{
  56318. +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  56319. + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  56320. + && LITTLE_ENDIAN)
  56321. + bogus endian macros
  56322. + #endif
  56323. +
  56324. + ;
  56325. + return 0;
  56326. +}
  56327. +_ACEOF
  56328. +if ac_fn_c_try_compile "$LINENO"; then :
  56329. + # It does; now see whether it defined to BIG_ENDIAN or not.
  56330. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56331. +/* end confdefs.h. */
  56332. +#include <sys/types.h>
  56333. + #include <sys/param.h>
  56334. +
  56335. +int
  56336. +main ()
  56337. +{
  56338. +#if BYTE_ORDER != BIG_ENDIAN
  56339. + not big endian
  56340. + #endif
  56341. +
  56342. + ;
  56343. + return 0;
  56344. +}
  56345. +_ACEOF
  56346. +if ac_fn_c_try_compile "$LINENO"; then :
  56347. + ac_cv_c_bigendian=yes
  56348. +else
  56349. + ac_cv_c_bigendian=no
  56350. +fi
  56351. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  56352. +fi
  56353. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  56354. + fi
  56355. + if test $ac_cv_c_bigendian = unknown; then
  56356. + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  56357. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56358. +/* end confdefs.h. */
  56359. +#include <limits.h>
  56360. +
  56361. +int
  56362. +main ()
  56363. +{
  56364. +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  56365. + bogus endian macros
  56366. + #endif
  56367. +
  56368. + ;
  56369. + return 0;
  56370. +}
  56371. +_ACEOF
  56372. +if ac_fn_c_try_compile "$LINENO"; then :
  56373. + # It does; now see whether it defined to _BIG_ENDIAN or not.
  56374. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56375. +/* end confdefs.h. */
  56376. +#include <limits.h>
  56377. +
  56378. +int
  56379. +main ()
  56380. +{
  56381. +#ifndef _BIG_ENDIAN
  56382. + not big endian
  56383. + #endif
  56384. +
  56385. + ;
  56386. + return 0;
  56387. +}
  56388. +_ACEOF
  56389. +if ac_fn_c_try_compile "$LINENO"; then :
  56390. + ac_cv_c_bigendian=yes
  56391. +else
  56392. + ac_cv_c_bigendian=no
  56393. +fi
  56394. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  56395. +fi
  56396. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  56397. + fi
  56398. + if test $ac_cv_c_bigendian = unknown; then
  56399. + # Compile a test program.
  56400. + if test "$cross_compiling" = yes; then :
  56401. + # Try to guess by grepping values from an object file.
  56402. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56403. +/* end confdefs.h. */
  56404. +short int ascii_mm[] =
  56405. + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  56406. + short int ascii_ii[] =
  56407. + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  56408. + int use_ascii (int i) {
  56409. + return ascii_mm[i] + ascii_ii[i];
  56410. + }
  56411. + short int ebcdic_ii[] =
  56412. + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  56413. + short int ebcdic_mm[] =
  56414. + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  56415. + int use_ebcdic (int i) {
  56416. + return ebcdic_mm[i] + ebcdic_ii[i];
  56417. + }
  56418. + extern int foo;
  56419. +
  56420. +int
  56421. +main ()
  56422. +{
  56423. +return use_ascii (foo) == use_ebcdic (foo);
  56424. + ;
  56425. + return 0;
  56426. +}
  56427. +_ACEOF
  56428. +if ac_fn_c_try_compile "$LINENO"; then :
  56429. + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  56430. + ac_cv_c_bigendian=yes
  56431. + fi
  56432. + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  56433. + if test "$ac_cv_c_bigendian" = unknown; then
  56434. + ac_cv_c_bigendian=no
  56435. + else
  56436. + # finding both strings is unlikely to happen, but who knows?
  56437. + ac_cv_c_bigendian=unknown
  56438. + fi
  56439. + fi
  56440. +fi
  56441. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  56442. +else
  56443. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56444. +/* end confdefs.h. */
  56445. +$ac_includes_default
  56446. +int
  56447. +main ()
  56448. +{
  56449. +
  56450. + /* Are we little or big endian? From Harbison&Steele. */
  56451. + union
  56452. + {
  56453. + long int l;
  56454. + char c[sizeof (long int)];
  56455. + } u;
  56456. + u.l = 1;
  56457. + return u.c[sizeof (long int) - 1] == 1;
  56458. +
  56459. + ;
  56460. + return 0;
  56461. +}
  56462. +_ACEOF
  56463. +if ac_fn_c_try_run "$LINENO"; then :
  56464. + ac_cv_c_bigendian=no
  56465. +else
  56466. + ac_cv_c_bigendian=yes
  56467. +fi
  56468. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  56469. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  56470. +fi
  56471. +
  56472. + fi
  56473. +fi
  56474. +:
  56475. + case $ac_cv_c_bigendian in #(
  56476. + yes)
  56477. + gl_cv_cc_double_expbit0="word 0 bit 20";; #(
  56478. + no)
  56479. + gl_cv_cc_double_expbit0="word 1 bit 20" ;; #(
  56480. + universal)
  56481. +
  56482. +$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  56483. +
  56484. + ;; #(
  56485. + *)
  56486. + gl_cv_cc_double_expbit0="unknown" ;;
  56487. + esac
  56488. +
  56489. +
  56490. +fi
  56491. +rm -f conftest*
  56492. +
  56493. +
  56494. +else
  56495. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56496. +/* end confdefs.h. */
  56497. +
  56498. +#include <float.h>
  56499. +#include <stddef.h>
  56500. +#include <stdio.h>
  56501. +#include <string.h>
  56502. +#define NWORDS \
  56503. + ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  56504. +typedef union { double value; unsigned int word[NWORDS]; } memory_double;
  56505. +static unsigned int ored_words[NWORDS];
  56506. +static unsigned int anded_words[NWORDS];
  56507. +static void add_to_ored_words (double x)
  56508. +{
  56509. + memory_double m;
  56510. + size_t i;
  56511. + /* Clear it first, in case sizeof (double) < sizeof (memory_double). */
  56512. + memset (&m, 0, sizeof (memory_double));
  56513. + m.value = x;
  56514. + for (i = 0; i < NWORDS; i++)
  56515. + {
  56516. + ored_words[i] |= m.word[i];
  56517. + anded_words[i] &= m.word[i];
  56518. + }
  56519. +}
  56520. +int main ()
  56521. +{
  56522. + size_t j;
  56523. + FILE *fp = fopen ("conftest.out", "w");
  56524. + if (fp == NULL)
  56525. + return 1;
  56526. + for (j = 0; j < NWORDS; j++)
  56527. + anded_words[j] = ~ (unsigned int) 0;
  56528. + add_to_ored_words (0.25);
  56529. + add_to_ored_words (0.5);
  56530. + add_to_ored_words (1.0);
  56531. + add_to_ored_words (2.0);
  56532. + add_to_ored_words (4.0);
  56533. + /* Remove bits that are common (e.g. if representation of the first mantissa
  56534. + bit is explicit). */
  56535. + for (j = 0; j < NWORDS; j++)
  56536. + ored_words[j] &= ~anded_words[j];
  56537. + /* Now find the nonzero word. */
  56538. + for (j = 0; j < NWORDS; j++)
  56539. + if (ored_words[j] != 0)
  56540. + break;
  56541. + if (j < NWORDS)
  56542. + {
  56543. + size_t i;
  56544. + for (i = j + 1; i < NWORDS; i++)
  56545. + if (ored_words[i] != 0)
  56546. + {
  56547. + fprintf (fp, "unknown");
  56548. + return (fclose (fp) != 0);
  56549. + }
  56550. + for (i = 0; ; i++)
  56551. + if ((ored_words[j] >> i) & 1)
  56552. + {
  56553. + fprintf (fp, "word %d bit %d", (int) j, (int) i);
  56554. + return (fclose (fp) != 0);
  56555. + }
  56556. + }
  56557. + fprintf (fp, "unknown");
  56558. + return (fclose (fp) != 0);
  56559. +}
  56560. +
  56561. +_ACEOF
  56562. +if ac_fn_c_try_run "$LINENO"; then :
  56563. + gl_cv_cc_double_expbit0=`cat conftest.out`
  56564. +else
  56565. + gl_cv_cc_double_expbit0="unknown"
  56566. +fi
  56567. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  56568. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  56569. +fi
  56570. +
  56571. + rm -f conftest.out
  56572. +
  56573. +fi
  56574. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5
  56575. +$as_echo "$gl_cv_cc_double_expbit0" >&6; }
  56576. + case "$gl_cv_cc_double_expbit0" in
  56577. + word*bit*)
  56578. + word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
  56579. + bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'`
  56580. +
  56581. +cat >>confdefs.h <<_ACEOF
  56582. +@%:@define DBL_EXPBIT0_WORD $word
  56583. +_ACEOF
  56584. +
  56585. +
  56586. +cat >>confdefs.h <<_ACEOF
  56587. +@%:@define DBL_EXPBIT0_BIT $bit
  56588. +_ACEOF
  56589. +
  56590. + ;;
  56591. + esac
  56592. +
  56593. +
  56594. + fi
  56595. +
  56596. + # Code from module isnanf-nolibm:
  56597. +
  56598. +
  56599. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) can be used without linking with libm" >&5
  56600. +$as_echo_n "checking whether isnan(float) can be used without linking with libm... " >&6; }
  56601. +if ${gl_cv_func_isnanf_no_libm+:} false; then :
  56602. + $as_echo_n "(cached) " >&6
  56603. +else
  56604. +
  56605. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56606. +/* end confdefs.h. */
  56607. +#include <math.h>
  56608. + #if __GNUC__ >= 4
  56609. + # undef isnanf
  56610. + # define isnanf(x) __builtin_isnanf ((float)(x))
  56611. + #elif defined isnan
  56612. + # undef isnanf
  56613. + # define isnanf(x) isnan ((float)(x))
  56614. + #endif
  56615. + float x;
  56616. +int
  56617. +main ()
  56618. +{
  56619. +return isnanf (x);
  56620. + ;
  56621. + return 0;
  56622. +}
  56623. +_ACEOF
  56624. +if ac_fn_c_try_link "$LINENO"; then :
  56625. + gl_cv_func_isnanf_no_libm=yes
  56626. +else
  56627. + gl_cv_func_isnanf_no_libm=no
  56628. +fi
  56629. +rm -f core conftest.err conftest.$ac_objext \
  56630. + conftest$ac_exeext conftest.$ac_ext
  56631. +
  56632. +fi
  56633. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanf_no_libm" >&5
  56634. +$as_echo "$gl_cv_func_isnanf_no_libm" >&6; }
  56635. +
  56636. + if test $gl_cv_func_isnanf_no_libm = yes; then
  56637. +
  56638. +
  56639. +
  56640. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) works" >&5
  56641. +$as_echo_n "checking whether isnan(float) works... " >&6; }
  56642. +if ${gl_cv_func_isnanf_works+:} false; then :
  56643. + $as_echo_n "(cached) " >&6
  56644. +else
  56645. +
  56646. + if test "$cross_compiling" = yes; then :
  56647. + case "$host_os" in
  56648. + irix* | solaris*) gl_cv_func_isnanf_works="guessing no";;
  56649. + *) gl_cv_func_isnanf_works="guessing yes";;
  56650. + esac
  56651. +
  56652. +else
  56653. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56654. +/* end confdefs.h. */
  56655. +
  56656. +#include <math.h>
  56657. +#if __GNUC__ >= 4
  56658. +# undef isnanf
  56659. +# define isnanf(x) __builtin_isnanf ((float)(x))
  56660. +#elif defined isnan
  56661. +# undef isnanf
  56662. +# define isnanf(x) isnan ((float)(x))
  56663. +#endif
  56664. +/* The Compaq (ex-DEC) C 6.4 compiler chokes on the expression 0.0 / 0.0. */
  56665. +#ifdef __DECC
  56666. +static float
  56667. +NaN ()
  56668. +{
  56669. + static float zero = 0.0f;
  56670. + return zero / zero;
  56671. +}
  56672. +#else
  56673. +# define NaN() (0.0f / 0.0f)
  56674. +#endif
  56675. +#define NWORDS \
  56676. + ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  56677. +typedef union { unsigned int word[NWORDS]; float value; } memory_float;
  56678. +int main()
  56679. +{
  56680. + int result = 0;
  56681. +
  56682. + if (isnanf (1.0f / 0.0f))
  56683. + result |= 1;
  56684. +
  56685. + if (!isnanf (NaN ()))
  56686. + result |= 2;
  56687. +
  56688. +#if defined FLT_EXPBIT0_WORD && defined FLT_EXPBIT0_BIT
  56689. + /* The isnanf function should be immune against changes in the sign bit and
  56690. + in the mantissa bits. The xor operation twiddles a bit that can only be
  56691. + a sign bit or a mantissa bit. */
  56692. + if (FLT_EXPBIT0_WORD == 0 && FLT_EXPBIT0_BIT > 0)
  56693. + {
  56694. + memory_float m;
  56695. +
  56696. + m.value = NaN ();
  56697. + /* Set the bits below the exponent to 01111...111. */
  56698. + m.word[0] &= -1U << FLT_EXPBIT0_BIT;
  56699. + m.word[0] |= 1U << (FLT_EXPBIT0_BIT - 1) - 1;
  56700. + if (!isnanf (m.value))
  56701. + result |= 4;
  56702. + }
  56703. +#endif
  56704. +
  56705. + return result;
  56706. +}
  56707. +_ACEOF
  56708. +if ac_fn_c_try_run "$LINENO"; then :
  56709. + gl_cv_func_isnanf_works=yes
  56710. +else
  56711. + gl_cv_func_isnanf_works=no
  56712. +fi
  56713. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  56714. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  56715. +fi
  56716. +
  56717. +
  56718. +fi
  56719. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanf_works" >&5
  56720. +$as_echo "$gl_cv_func_isnanf_works" >&6; }
  56721. +
  56722. + fi
  56723. + if test $gl_cv_func_isnanf_no_libm = yes \
  56724. + && { case "$gl_cv_func_isnanf_works" in
  56725. + *yes) true;;
  56726. + *) false;;
  56727. + esac
  56728. + }; then
  56729. +
  56730. +$as_echo "@%:@define HAVE_ISNANF_IN_LIBC 1" >>confdefs.h
  56731. +
  56732. + else
  56733. +
  56734. +
  56735. +
  56736. +
  56737. +
  56738. +
  56739. +
  56740. +
  56741. +
  56742. + M4_LIBOBJS="$M4_LIBOBJS isnanf.$ac_objext"
  56743. +
  56744. +
  56745. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
  56746. +$as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
  56747. +if ${gl_cv_cc_float_expbit0+:} false; then :
  56748. + $as_echo_n "(cached) " >&6
  56749. +else
  56750. +
  56751. + if test "$cross_compiling" = yes; then :
  56752. + gl_cv_cc_float_expbit0="word 0 bit 23"
  56753. +else
  56754. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56755. +/* end confdefs.h. */
  56756. +
  56757. +#include <float.h>
  56758. +#include <stddef.h>
  56759. +#include <stdio.h>
  56760. +#include <string.h>
  56761. +#define NWORDS \
  56762. + ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  56763. +typedef union { float value; unsigned int word[NWORDS]; } memory_float;
  56764. +static unsigned int ored_words[NWORDS];
  56765. +static unsigned int anded_words[NWORDS];
  56766. +static void add_to_ored_words (float x)
  56767. +{
  56768. + memory_float m;
  56769. + size_t i;
  56770. + /* Clear it first, in case
  56771. + sizeof (float) < sizeof (memory_float). */
  56772. + memset (&m, 0, sizeof (memory_float));
  56773. + m.value = x;
  56774. + for (i = 0; i < NWORDS; i++)
  56775. + {
  56776. + ored_words[i] |= m.word[i];
  56777. + anded_words[i] &= m.word[i];
  56778. + }
  56779. +}
  56780. +int main ()
  56781. +{
  56782. + size_t j;
  56783. + FILE *fp = fopen ("conftest.out", "w");
  56784. + if (fp == NULL)
  56785. + return 1;
  56786. + for (j = 0; j < NWORDS; j++)
  56787. + anded_words[j] = ~ (unsigned int) 0;
  56788. + add_to_ored_words (0.25f);
  56789. + add_to_ored_words (0.5f);
  56790. + add_to_ored_words (1.0f);
  56791. + add_to_ored_words (2.0f);
  56792. + add_to_ored_words (4.0f);
  56793. + /* Remove bits that are common (e.g. if representation of the first mantissa
  56794. + bit is explicit). */
  56795. + for (j = 0; j < NWORDS; j++)
  56796. + ored_words[j] &= ~anded_words[j];
  56797. + /* Now find the nonzero word. */
  56798. + for (j = 0; j < NWORDS; j++)
  56799. + if (ored_words[j] != 0)
  56800. + break;
  56801. + if (j < NWORDS)
  56802. + {
  56803. + size_t i;
  56804. + for (i = j + 1; i < NWORDS; i++)
  56805. + if (ored_words[i] != 0)
  56806. + {
  56807. + fprintf (fp, "unknown");
  56808. + return (fclose (fp) != 0);
  56809. + }
  56810. + for (i = 0; ; i++)
  56811. + if ((ored_words[j] >> i) & 1)
  56812. + {
  56813. + fprintf (fp, "word %d bit %d", (int) j, (int) i);
  56814. + return (fclose (fp) != 0);
  56815. + }
  56816. + }
  56817. + fprintf (fp, "unknown");
  56818. + return (fclose (fp) != 0);
  56819. +}
  56820. +
  56821. +_ACEOF
  56822. +if ac_fn_c_try_run "$LINENO"; then :
  56823. + gl_cv_cc_float_expbit0=`cat conftest.out`
  56824. +else
  56825. + gl_cv_cc_float_expbit0="unknown"
  56826. +fi
  56827. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  56828. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  56829. +fi
  56830. +
  56831. + rm -f conftest.out
  56832. +
  56833. +fi
  56834. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5
  56835. +$as_echo "$gl_cv_cc_float_expbit0" >&6; }
  56836. + case "$gl_cv_cc_float_expbit0" in
  56837. + word*bit*)
  56838. + word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
  56839. + bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'`
  56840. +
  56841. +cat >>confdefs.h <<_ACEOF
  56842. +@%:@define FLT_EXPBIT0_WORD $word
  56843. +_ACEOF
  56844. +
  56845. +
  56846. +cat >>confdefs.h <<_ACEOF
  56847. +@%:@define FLT_EXPBIT0_BIT $bit
  56848. +_ACEOF
  56849. +
  56850. + ;;
  56851. + esac
  56852. +
  56853. +
  56854. + fi
  56855. +
  56856. + # Code from module isnanl-nolibm:
  56857. +
  56858. +
  56859. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(long double) can be used without linking with libm" >&5
  56860. +$as_echo_n "checking whether isnan(long double) can be used without linking with libm... " >&6; }
  56861. +if ${gl_cv_func_isnanl_no_libm+:} false; then :
  56862. + $as_echo_n "(cached) " >&6
  56863. +else
  56864. +
  56865. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56866. +/* end confdefs.h. */
  56867. +#include <math.h>
  56868. + #if __GNUC__ >= 4
  56869. + # undef isnanl
  56870. + # define isnanl(x) __builtin_isnanl ((long double)(x))
  56871. + #elif defined isnan
  56872. + # undef isnanl
  56873. + # define isnanl(x) isnan ((long double)(x))
  56874. + #endif
  56875. + long double x;
  56876. +int
  56877. +main ()
  56878. +{
  56879. +return isnanl (x);
  56880. + ;
  56881. + return 0;
  56882. +}
  56883. +_ACEOF
  56884. +if ac_fn_c_try_link "$LINENO"; then :
  56885. + gl_cv_func_isnanl_no_libm=yes
  56886. +else
  56887. + gl_cv_func_isnanl_no_libm=no
  56888. +fi
  56889. +rm -f core conftest.err conftest.$ac_objext \
  56890. + conftest$ac_exeext conftest.$ac_ext
  56891. +
  56892. +fi
  56893. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanl_no_libm" >&5
  56894. +$as_echo "$gl_cv_func_isnanl_no_libm" >&6; }
  56895. +
  56896. + gl_func_isnanl_no_libm=$gl_cv_func_isnanl_no_libm
  56897. + if test $gl_func_isnanl_no_libm = yes; then
  56898. +
  56899. +
  56900. +
  56901. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnanl works" >&5
  56902. +$as_echo_n "checking whether isnanl works... " >&6; }
  56903. +if ${gl_cv_func_isnanl_works+:} false; then :
  56904. + $as_echo_n "(cached) " >&6
  56905. +else
  56906. +
  56907. + if test "$cross_compiling" = yes; then :
  56908. + case "$host_cpu" in
  56909. + # Guess no on ia64, x86_64, i386.
  56910. + ia64 | x86_64 | i*86) gl_cv_func_isnanl_works="guessing no";;
  56911. + *)
  56912. + case "$host_os" in
  56913. + netbsd*) gl_cv_func_isnanl_works="guessing no";;
  56914. + *) gl_cv_func_isnanl_works="guessing yes";;
  56915. + esac
  56916. + ;;
  56917. + esac
  56918. +
  56919. +else
  56920. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  56921. +/* end confdefs.h. */
  56922. +
  56923. +#include <float.h>
  56924. +#include <limits.h>
  56925. +#include <math.h>
  56926. +#if __GNUC__ >= 4
  56927. +# undef isnanl
  56928. +# define isnanl(x) __builtin_isnanl ((long double)(x))
  56929. +#elif defined isnan
  56930. +# undef isnanl
  56931. +# define isnanl(x) isnan ((long double)(x))
  56932. +#endif
  56933. +#define NWORDS \
  56934. + ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  56935. +typedef union { unsigned int word[NWORDS]; long double value; }
  56936. + memory_long_double;
  56937. +/* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the
  56938. + runtime type conversion. */
  56939. +#ifdef __sgi
  56940. +static long double NaNl ()
  56941. +{
  56942. + double zero = 0.0;
  56943. + return zero / zero;
  56944. +}
  56945. +#else
  56946. +# define NaNl() (0.0L / 0.0L)
  56947. +#endif
  56948. +int main ()
  56949. +{
  56950. + int result = 0;
  56951. +
  56952. + if (!isnanl (NaNl ()))
  56953. + result |= 1;
  56954. +
  56955. + {
  56956. + memory_long_double m;
  56957. + unsigned int i;
  56958. +
  56959. + /* The isnanl function should be immune against changes in the sign bit and
  56960. + in the mantissa bits. The xor operation twiddles a bit that can only be
  56961. + a sign bit or a mantissa bit (since the exponent never extends to
  56962. + bit 31). */
  56963. + m.value = NaNl ();
  56964. + m.word[NWORDS / 2] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1);
  56965. + for (i = 0; i < NWORDS; i++)
  56966. + m.word[i] |= 1;
  56967. + if (!isnanl (m.value))
  56968. + result |= 1;
  56969. + }
  56970. +
  56971. +#if ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_))
  56972. +/* Representation of an 80-bit 'long double' as an initializer for a sequence
  56973. + of 'unsigned int' words. */
  56974. +# ifdef WORDS_BIGENDIAN
  56975. +# define LDBL80_WORDS(exponent,manthi,mantlo) \
  56976. + { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \
  56977. + ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16), \
  56978. + (unsigned int) (mantlo) << 16 \
  56979. + }
  56980. +# else
  56981. +# define LDBL80_WORDS(exponent,manthi,mantlo) \
  56982. + { mantlo, manthi, exponent }
  56983. +# endif
  56984. + { /* Quiet NaN. */
  56985. + static memory_long_double x =
  56986. + { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
  56987. + if (!isnanl (x.value))
  56988. + result |= 2;
  56989. + }
  56990. + {
  56991. + /* Signalling NaN. */
  56992. + static memory_long_double x =
  56993. + { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
  56994. + if (!isnanl (x.value))
  56995. + result |= 2;
  56996. + }
  56997. + /* The isnanl function should recognize Pseudo-NaNs, Pseudo-Infinities,
  56998. + Pseudo-Zeroes, Unnormalized Numbers, and Pseudo-Denormals, as defined in
  56999. + Intel IA-64 Architecture Software Developer's Manual, Volume 1:
  57000. + Application Architecture.
  57001. + Table 5-2 "Floating-Point Register Encodings"
  57002. + Figure 5-6 "Memory to Floating-Point Register Data Translation"
  57003. + */
  57004. + { /* Pseudo-NaN. */
  57005. + static memory_long_double x =
  57006. + { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
  57007. + if (!isnanl (x.value))
  57008. + result |= 4;
  57009. + }
  57010. + { /* Pseudo-Infinity. */
  57011. + static memory_long_double x =
  57012. + { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
  57013. + if (!isnanl (x.value))
  57014. + result |= 8;
  57015. + }
  57016. + { /* Pseudo-Zero. */
  57017. + static memory_long_double x =
  57018. + { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
  57019. + if (!isnanl (x.value))
  57020. + result |= 16;
  57021. + }
  57022. + { /* Unnormalized number. */
  57023. + static memory_long_double x =
  57024. + { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
  57025. + if (!isnanl (x.value))
  57026. + result |= 32;
  57027. + }
  57028. + { /* Pseudo-Denormal. */
  57029. + static memory_long_double x =
  57030. + { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
  57031. + if (!isnanl (x.value))
  57032. + result |= 64;
  57033. + }
  57034. +#endif
  57035. +
  57036. + return result;
  57037. +}
  57038. +_ACEOF
  57039. +if ac_fn_c_try_run "$LINENO"; then :
  57040. + gl_cv_func_isnanl_works=yes
  57041. +else
  57042. + gl_cv_func_isnanl_works=no
  57043. +fi
  57044. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  57045. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  57046. +fi
  57047. +
  57048. +
  57049. +fi
  57050. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_isnanl_works" >&5
  57051. +$as_echo "$gl_cv_func_isnanl_works" >&6; }
  57052. +
  57053. + case "$gl_cv_func_isnanl_works" in
  57054. + *yes) ;;
  57055. + *) gl_func_isnanl_no_libm=no ;;
  57056. + esac
  57057. + fi
  57058. + if test $gl_func_isnanl_no_libm = yes; then
  57059. +
  57060. +$as_echo "@%:@define HAVE_ISNANL_IN_LIBC 1" >>confdefs.h
  57061. +
  57062. + else
  57063. +
  57064. +
  57065. +
  57066. +
  57067. +
  57068. +
  57069. +
  57070. +
  57071. +
  57072. + M4_LIBOBJS="$M4_LIBOBJS isnanl.$ac_objext"
  57073. +
  57074. +
  57075. +
  57076. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5
  57077. +$as_echo_n "checking where to find the exponent in a 'long double'... " >&6; }
  57078. +if ${gl_cv_cc_long_double_expbit0+:} false; then :
  57079. + $as_echo_n "(cached) " >&6
  57080. +else
  57081. +
  57082. + if test "$cross_compiling" = yes; then :
  57083. +
  57084. + gl_cv_cc_long_double_expbit0="unknown"
  57085. +
  57086. +else
  57087. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  57088. +/* end confdefs.h. */
  57089. +
  57090. +#include <float.h>
  57091. +#include <stddef.h>
  57092. +#include <stdio.h>
  57093. +#include <string.h>
  57094. +#define NWORDS \
  57095. + ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  57096. +typedef union { long double value; unsigned int word[NWORDS]; }
  57097. + memory_long_double;
  57098. +static unsigned int ored_words[NWORDS];
  57099. +static unsigned int anded_words[NWORDS];
  57100. +static void add_to_ored_words (long double x)
  57101. +{
  57102. + memory_long_double m;
  57103. + size_t i;
  57104. + /* Clear it first, in case
  57105. + sizeof (long double) < sizeof (memory_long_double). */
  57106. + memset (&m, 0, sizeof (memory_long_double));
  57107. + m.value = x;
  57108. + for (i = 0; i < NWORDS; i++)
  57109. + {
  57110. + ored_words[i] |= m.word[i];
  57111. + anded_words[i] &= m.word[i];
  57112. + }
  57113. +}
  57114. +int main ()
  57115. +{
  57116. + size_t j;
  57117. + FILE *fp = fopen ("conftest.out", "w");
  57118. + if (fp == NULL)
  57119. + return 1;
  57120. + for (j = 0; j < NWORDS; j++)
  57121. + anded_words[j] = ~ (unsigned int) 0;
  57122. + add_to_ored_words (0.25L);
  57123. + add_to_ored_words (0.5L);
  57124. + add_to_ored_words (1.0L);
  57125. + add_to_ored_words (2.0L);
  57126. + add_to_ored_words (4.0L);
  57127. + /* Remove bits that are common (e.g. if representation of the first mantissa
  57128. + bit is explicit). */
  57129. + for (j = 0; j < NWORDS; j++)
  57130. + ored_words[j] &= ~anded_words[j];
  57131. + /* Now find the nonzero word. */
  57132. + for (j = 0; j < NWORDS; j++)
  57133. + if (ored_words[j] != 0)
  57134. + break;
  57135. + if (j < NWORDS)
  57136. + {
  57137. + size_t i;
  57138. + for (i = j + 1; i < NWORDS; i++)
  57139. + if (ored_words[i] != 0)
  57140. + {
  57141. + fprintf (fp, "unknown");
  57142. + return (fclose (fp) != 0);
  57143. + }
  57144. + for (i = 0; ; i++)
  57145. + if ((ored_words[j] >> i) & 1)
  57146. + {
  57147. + fprintf (fp, "word %d bit %d", (int) j, (int) i);
  57148. + return (fclose (fp) != 0);
  57149. + }
  57150. + }
  57151. + fprintf (fp, "unknown");
  57152. + return (fclose (fp) != 0);
  57153. +}
  57154. +
  57155. +_ACEOF
  57156. +if ac_fn_c_try_run "$LINENO"; then :
  57157. + gl_cv_cc_long_double_expbit0=`cat conftest.out`
  57158. +else
  57159. + gl_cv_cc_long_double_expbit0="unknown"
  57160. +fi
  57161. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  57162. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  57163. +fi
  57164. +
  57165. + rm -f conftest.out
  57166. +
  57167. +fi
  57168. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_expbit0" >&5
  57169. +$as_echo "$gl_cv_cc_long_double_expbit0" >&6; }
  57170. + case "$gl_cv_cc_long_double_expbit0" in
  57171. + word*bit*)
  57172. + word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
  57173. + bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'`
  57174. +
  57175. +cat >>confdefs.h <<_ACEOF
  57176. +@%:@define LDBL_EXPBIT0_WORD $word
  57177. +_ACEOF
  57178. +
  57179. +
  57180. +cat >>confdefs.h <<_ACEOF
  57181. +@%:@define LDBL_EXPBIT0_BIT $bit
  57182. +_ACEOF
  57183. +
  57184. + ;;
  57185. + esac
  57186. +
  57187. +
  57188. + fi
  57189. +
  57190. + # Code from module langinfo:
  57191. +
  57192. +
  57193. +
  57194. +
  57195. +
  57196. +
  57197. +
  57198. +
  57199. +
  57200. +
  57201. +
  57202. +
  57203. +
  57204. +
  57205. + if test $gl_cv_have_include_next = yes; then
  57206. + gl_cv_next_langinfo_h='<'langinfo.h'>'
  57207. + else
  57208. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <langinfo.h>" >&5
  57209. +$as_echo_n "checking absolute name of <langinfo.h>... " >&6; }
  57210. +if ${gl_cv_next_langinfo_h+:} false; then :
  57211. + $as_echo_n "(cached) " >&6
  57212. +else
  57213. +
  57214. + if test $ac_cv_header_langinfo_h = yes; then
  57215. +
  57216. +
  57217. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  57218. +/* end confdefs.h. */
  57219. +#include <langinfo.h>
  57220. +
  57221. +_ACEOF
  57222. + case "$host_os" in
  57223. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  57224. + *) gl_absname_cpp="$ac_cpp" ;;
  57225. + esac
  57226. + gl_cv_next_langinfo_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  57227. + sed -n '\#/langinfo.h#{
  57228. + s#.*"\(.*/langinfo.h\)".*#\1#
  57229. + s#^/[^/]#//&#
  57230. + p
  57231. + q
  57232. + }'`'"'
  57233. + else
  57234. + gl_cv_next_langinfo_h='<'langinfo.h'>'
  57235. + fi
  57236. +
  57237. +
  57238. +fi
  57239. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_langinfo_h" >&5
  57240. +$as_echo "$gl_cv_next_langinfo_h" >&6; }
  57241. + fi
  57242. + NEXT_LANGINFO_H=$gl_cv_next_langinfo_h
  57243. +
  57244. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  57245. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  57246. + gl_next_as_first_directive='<'langinfo.h'>'
  57247. + else
  57248. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  57249. + gl_next_as_first_directive=$gl_cv_next_langinfo_h
  57250. + fi
  57251. + NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H=$gl_next_as_first_directive
  57252. +
  57253. +
  57254. +
  57255. +
  57256. +
  57257. + HAVE_LANGINFO_CODESET=0
  57258. + HAVE_LANGINFO_T_FMT_AMPM=0
  57259. + HAVE_LANGINFO_ERA=0
  57260. + HAVE_LANGINFO_YESEXPR=0
  57261. +
  57262. + if test $ac_cv_header_langinfo_h = yes; then
  57263. + HAVE_LANGINFO_H=1
  57264. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5
  57265. +$as_echo_n "checking whether langinfo.h defines CODESET... " >&6; }
  57266. +if ${gl_cv_header_langinfo_codeset+:} false; then :
  57267. + $as_echo_n "(cached) " >&6
  57268. +else
  57269. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  57270. +/* end confdefs.h. */
  57271. +#include <langinfo.h>
  57272. +int a = CODESET;
  57273. +
  57274. +int
  57275. +main ()
  57276. +{
  57277. +
  57278. + ;
  57279. + return 0;
  57280. +}
  57281. +_ACEOF
  57282. +if ac_fn_c_try_compile "$LINENO"; then :
  57283. + gl_cv_header_langinfo_codeset=yes
  57284. +else
  57285. + gl_cv_header_langinfo_codeset=no
  57286. +fi
  57287. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  57288. +
  57289. +fi
  57290. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_codeset" >&5
  57291. +$as_echo "$gl_cv_header_langinfo_codeset" >&6; }
  57292. + if test $gl_cv_header_langinfo_codeset = yes; then
  57293. + HAVE_LANGINFO_CODESET=1
  57294. + fi
  57295. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5
  57296. +$as_echo_n "checking whether langinfo.h defines T_FMT_AMPM... " >&6; }
  57297. +if ${gl_cv_header_langinfo_t_fmt_ampm+:} false; then :
  57298. + $as_echo_n "(cached) " >&6
  57299. +else
  57300. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  57301. +/* end confdefs.h. */
  57302. +#include <langinfo.h>
  57303. +int a = T_FMT_AMPM;
  57304. +
  57305. +int
  57306. +main ()
  57307. +{
  57308. +
  57309. + ;
  57310. + return 0;
  57311. +}
  57312. +_ACEOF
  57313. +if ac_fn_c_try_compile "$LINENO"; then :
  57314. + gl_cv_header_langinfo_t_fmt_ampm=yes
  57315. +else
  57316. + gl_cv_header_langinfo_t_fmt_ampm=no
  57317. +fi
  57318. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  57319. +
  57320. +fi
  57321. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_t_fmt_ampm" >&5
  57322. +$as_echo "$gl_cv_header_langinfo_t_fmt_ampm" >&6; }
  57323. + if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then
  57324. + HAVE_LANGINFO_T_FMT_AMPM=1
  57325. + fi
  57326. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5
  57327. +$as_echo_n "checking whether langinfo.h defines ERA... " >&6; }
  57328. +if ${gl_cv_header_langinfo_era+:} false; then :
  57329. + $as_echo_n "(cached) " >&6
  57330. +else
  57331. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  57332. +/* end confdefs.h. */
  57333. +#include <langinfo.h>
  57334. +int a = ERA;
  57335. +
  57336. +int
  57337. +main ()
  57338. +{
  57339. +
  57340. + ;
  57341. + return 0;
  57342. +}
  57343. +_ACEOF
  57344. +if ac_fn_c_try_compile "$LINENO"; then :
  57345. + gl_cv_header_langinfo_era=yes
  57346. +else
  57347. + gl_cv_header_langinfo_era=no
  57348. +fi
  57349. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  57350. +
  57351. +fi
  57352. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_era" >&5
  57353. +$as_echo "$gl_cv_header_langinfo_era" >&6; }
  57354. + if test $gl_cv_header_langinfo_era = yes; then
  57355. + HAVE_LANGINFO_ERA=1
  57356. + fi
  57357. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5
  57358. +$as_echo_n "checking whether langinfo.h defines YESEXPR... " >&6; }
  57359. +if ${gl_cv_header_langinfo_yesexpr+:} false; then :
  57360. + $as_echo_n "(cached) " >&6
  57361. +else
  57362. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  57363. +/* end confdefs.h. */
  57364. +#include <langinfo.h>
  57365. +int a = YESEXPR;
  57366. +
  57367. +int
  57368. +main ()
  57369. +{
  57370. +
  57371. + ;
  57372. + return 0;
  57373. +}
  57374. +_ACEOF
  57375. +if ac_fn_c_try_compile "$LINENO"; then :
  57376. + gl_cv_header_langinfo_yesexpr=yes
  57377. +else
  57378. + gl_cv_header_langinfo_yesexpr=no
  57379. +fi
  57380. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  57381. +
  57382. +fi
  57383. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_langinfo_yesexpr" >&5
  57384. +$as_echo "$gl_cv_header_langinfo_yesexpr" >&6; }
  57385. + if test $gl_cv_header_langinfo_yesexpr = yes; then
  57386. + HAVE_LANGINFO_YESEXPR=1
  57387. + fi
  57388. + else
  57389. + HAVE_LANGINFO_H=0
  57390. + fi
  57391. +
  57392. +
  57393. +
  57394. +
  57395. +
  57396. +
  57397. +
  57398. +
  57399. + # Code from module libsigsegv:
  57400. +
  57401. +
  57402. +
  57403. +
  57404. +
  57405. +
  57406. +
  57407. +
  57408. +
  57409. +
  57410. +
  57411. +
  57412. +
  57413. +
  57414. + use_additional=yes
  57415. +
  57416. + acl_save_prefix="$prefix"
  57417. + prefix="$acl_final_prefix"
  57418. + acl_save_exec_prefix="$exec_prefix"
  57419. + exec_prefix="$acl_final_exec_prefix"
  57420. +
  57421. + eval additional_includedir=\"$includedir\"
  57422. + eval additional_libdir=\"$libdir\"
  57423. +
  57424. + exec_prefix="$acl_save_exec_prefix"
  57425. + prefix="$acl_save_prefix"
  57426. +
  57427. +
  57428. +@%:@ Check whether --with-libsigsegv-prefix was given.
  57429. +if test "${with_libsigsegv_prefix+set}" = set; then :
  57430. + withval=$with_libsigsegv_prefix;
  57431. + if test "X$withval" = "Xno"; then
  57432. + use_additional=no
  57433. + else
  57434. + if test "X$withval" = "X"; then
  57435. +
  57436. + acl_save_prefix="$prefix"
  57437. + prefix="$acl_final_prefix"
  57438. + acl_save_exec_prefix="$exec_prefix"
  57439. + exec_prefix="$acl_final_exec_prefix"
  57440. +
  57441. + eval additional_includedir=\"$includedir\"
  57442. + eval additional_libdir=\"$libdir\"
  57443. +
  57444. + exec_prefix="$acl_save_exec_prefix"
  57445. + prefix="$acl_save_prefix"
  57446. +
  57447. + else
  57448. + additional_includedir="$withval/include"
  57449. + additional_libdir="$withval/$acl_libdirstem"
  57450. + if test "$acl_libdirstem2" != "$acl_libdirstem" \
  57451. + && ! test -d "$withval/$acl_libdirstem"; then
  57452. + additional_libdir="$withval/$acl_libdirstem2"
  57453. + fi
  57454. + fi
  57455. + fi
  57456. +
  57457. +fi
  57458. +
  57459. + LIBSIGSEGV=
  57460. + LTLIBSIGSEGV=
  57461. + INCSIGSEGV=
  57462. + LIBSIGSEGV_PREFIX=
  57463. + HAVE_LIBSIGSEGV=
  57464. + rpathdirs=
  57465. + ltrpathdirs=
  57466. + names_already_handled=
  57467. + names_next_round='sigsegv '
  57468. + while test -n "$names_next_round"; do
  57469. + names_this_round="$names_next_round"
  57470. + names_next_round=
  57471. + for name in $names_this_round; do
  57472. + already_handled=
  57473. + for n in $names_already_handled; do
  57474. + if test "$n" = "$name"; then
  57475. + already_handled=yes
  57476. + break
  57477. + fi
  57478. + done
  57479. + if test -z "$already_handled"; then
  57480. + names_already_handled="$names_already_handled $name"
  57481. + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
  57482. + eval value=\"\$HAVE_LIB$uppername\"
  57483. + if test -n "$value"; then
  57484. + if test "$value" = yes; then
  57485. + eval value=\"\$LIB$uppername\"
  57486. + test -z "$value" || LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$value"
  57487. + eval value=\"\$LTLIB$uppername\"
  57488. + test -z "$value" || LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$value"
  57489. + else
  57490. + :
  57491. + fi
  57492. + else
  57493. + found_dir=
  57494. + found_la=
  57495. + found_so=
  57496. + found_a=
  57497. + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
  57498. + if test -n "$acl_shlibext"; then
  57499. + shrext=".$acl_shlibext" # typically: shrext=.so
  57500. + else
  57501. + shrext=
  57502. + fi
  57503. + if test $use_additional = yes; then
  57504. + dir="$additional_libdir"
  57505. + if test -n "$acl_shlibext"; then
  57506. + if test -f "$dir/$libname$shrext"; then
  57507. + found_dir="$dir"
  57508. + found_so="$dir/$libname$shrext"
  57509. + else
  57510. + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  57511. + ver=`(cd "$dir" && \
  57512. + for f in "$libname$shrext".*; do echo "$f"; done \
  57513. + | sed -e "s,^$libname$shrext\\\\.,," \
  57514. + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  57515. + | sed 1q ) 2>/dev/null`
  57516. + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  57517. + found_dir="$dir"
  57518. + found_so="$dir/$libname$shrext.$ver"
  57519. + fi
  57520. + else
  57521. + eval library_names=\"$acl_library_names_spec\"
  57522. + for f in $library_names; do
  57523. + if test -f "$dir/$f"; then
  57524. + found_dir="$dir"
  57525. + found_so="$dir/$f"
  57526. + break
  57527. + fi
  57528. + done
  57529. + fi
  57530. + fi
  57531. + fi
  57532. + if test "X$found_dir" = "X"; then
  57533. + if test -f "$dir/$libname.$acl_libext"; then
  57534. + found_dir="$dir"
  57535. + found_a="$dir/$libname.$acl_libext"
  57536. + fi
  57537. + fi
  57538. + if test "X$found_dir" != "X"; then
  57539. + if test -f "$dir/$libname.la"; then
  57540. + found_la="$dir/$libname.la"
  57541. + fi
  57542. + fi
  57543. + fi
  57544. + if test "X$found_dir" = "X"; then
  57545. + for x in $LDFLAGS $LTLIBSIGSEGV; do
  57546. +
  57547. + acl_save_prefix="$prefix"
  57548. + prefix="$acl_final_prefix"
  57549. + acl_save_exec_prefix="$exec_prefix"
  57550. + exec_prefix="$acl_final_exec_prefix"
  57551. + eval x=\"$x\"
  57552. + exec_prefix="$acl_save_exec_prefix"
  57553. + prefix="$acl_save_prefix"
  57554. +
  57555. + case "$x" in
  57556. + -L*)
  57557. + dir=`echo "X$x" | sed -e 's/^X-L//'`
  57558. + if test -n "$acl_shlibext"; then
  57559. + if test -f "$dir/$libname$shrext"; then
  57560. + found_dir="$dir"
  57561. + found_so="$dir/$libname$shrext"
  57562. + else
  57563. + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  57564. + ver=`(cd "$dir" && \
  57565. + for f in "$libname$shrext".*; do echo "$f"; done \
  57566. + | sed -e "s,^$libname$shrext\\\\.,," \
  57567. + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  57568. + | sed 1q ) 2>/dev/null`
  57569. + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  57570. + found_dir="$dir"
  57571. + found_so="$dir/$libname$shrext.$ver"
  57572. + fi
  57573. + else
  57574. + eval library_names=\"$acl_library_names_spec\"
  57575. + for f in $library_names; do
  57576. + if test -f "$dir/$f"; then
  57577. + found_dir="$dir"
  57578. + found_so="$dir/$f"
  57579. + break
  57580. + fi
  57581. + done
  57582. + fi
  57583. + fi
  57584. + fi
  57585. + if test "X$found_dir" = "X"; then
  57586. + if test -f "$dir/$libname.$acl_libext"; then
  57587. + found_dir="$dir"
  57588. + found_a="$dir/$libname.$acl_libext"
  57589. + fi
  57590. + fi
  57591. + if test "X$found_dir" != "X"; then
  57592. + if test -f "$dir/$libname.la"; then
  57593. + found_la="$dir/$libname.la"
  57594. + fi
  57595. + fi
  57596. + ;;
  57597. + esac
  57598. + if test "X$found_dir" != "X"; then
  57599. + break
  57600. + fi
  57601. + done
  57602. + fi
  57603. + if test "X$found_dir" != "X"; then
  57604. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$found_dir -l$name"
  57605. + if test "X$found_so" != "X"; then
  57606. + if test "$enable_rpath" = no \
  57607. + || test "X$found_dir" = "X/usr/$acl_libdirstem" \
  57608. + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
  57609. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  57610. + else
  57611. + haveit=
  57612. + for x in $ltrpathdirs; do
  57613. + if test "X$x" = "X$found_dir"; then
  57614. + haveit=yes
  57615. + break
  57616. + fi
  57617. + done
  57618. + if test -z "$haveit"; then
  57619. + ltrpathdirs="$ltrpathdirs $found_dir"
  57620. + fi
  57621. + if test "$acl_hardcode_direct" = yes; then
  57622. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  57623. + else
  57624. + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
  57625. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  57626. + haveit=
  57627. + for x in $rpathdirs; do
  57628. + if test "X$x" = "X$found_dir"; then
  57629. + haveit=yes
  57630. + break
  57631. + fi
  57632. + done
  57633. + if test -z "$haveit"; then
  57634. + rpathdirs="$rpathdirs $found_dir"
  57635. + fi
  57636. + else
  57637. + haveit=
  57638. + for x in $LDFLAGS $LIBSIGSEGV; do
  57639. +
  57640. + acl_save_prefix="$prefix"
  57641. + prefix="$acl_final_prefix"
  57642. + acl_save_exec_prefix="$exec_prefix"
  57643. + exec_prefix="$acl_final_exec_prefix"
  57644. + eval x=\"$x\"
  57645. + exec_prefix="$acl_save_exec_prefix"
  57646. + prefix="$acl_save_prefix"
  57647. +
  57648. + if test "X$x" = "X-L$found_dir"; then
  57649. + haveit=yes
  57650. + break
  57651. + fi
  57652. + done
  57653. + if test -z "$haveit"; then
  57654. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir"
  57655. + fi
  57656. + if test "$acl_hardcode_minus_L" != no; then
  57657. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_so"
  57658. + else
  57659. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name"
  57660. + fi
  57661. + fi
  57662. + fi
  57663. + fi
  57664. + else
  57665. + if test "X$found_a" != "X"; then
  57666. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$found_a"
  57667. + else
  57668. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$found_dir -l$name"
  57669. + fi
  57670. + fi
  57671. + additional_includedir=
  57672. + case "$found_dir" in
  57673. + */$acl_libdirstem | */$acl_libdirstem/)
  57674. + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
  57675. + if test "$name" = 'sigsegv'; then
  57676. + LIBSIGSEGV_PREFIX="$basedir"
  57677. + fi
  57678. + additional_includedir="$basedir/include"
  57679. + ;;
  57680. + */$acl_libdirstem2 | */$acl_libdirstem2/)
  57681. + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
  57682. + if test "$name" = 'sigsegv'; then
  57683. + LIBSIGSEGV_PREFIX="$basedir"
  57684. + fi
  57685. + additional_includedir="$basedir/include"
  57686. + ;;
  57687. + esac
  57688. + if test "X$additional_includedir" != "X"; then
  57689. + if test "X$additional_includedir" != "X/usr/include"; then
  57690. + haveit=
  57691. + if test "X$additional_includedir" = "X/usr/local/include"; then
  57692. + if test -n "$GCC"; then
  57693. + case $host_os in
  57694. + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  57695. + esac
  57696. + fi
  57697. + fi
  57698. + if test -z "$haveit"; then
  57699. + for x in $CPPFLAGS $INCSIGSEGV; do
  57700. +
  57701. + acl_save_prefix="$prefix"
  57702. + prefix="$acl_final_prefix"
  57703. + acl_save_exec_prefix="$exec_prefix"
  57704. + exec_prefix="$acl_final_exec_prefix"
  57705. + eval x=\"$x\"
  57706. + exec_prefix="$acl_save_exec_prefix"
  57707. + prefix="$acl_save_prefix"
  57708. +
  57709. + if test "X$x" = "X-I$additional_includedir"; then
  57710. + haveit=yes
  57711. + break
  57712. + fi
  57713. + done
  57714. + if test -z "$haveit"; then
  57715. + if test -d "$additional_includedir"; then
  57716. + INCSIGSEGV="${INCSIGSEGV}${INCSIGSEGV:+ }-I$additional_includedir"
  57717. + fi
  57718. + fi
  57719. + fi
  57720. + fi
  57721. + fi
  57722. + if test -n "$found_la"; then
  57723. + save_libdir="$libdir"
  57724. + case "$found_la" in
  57725. + */* | *\\*) . "$found_la" ;;
  57726. + *) . "./$found_la" ;;
  57727. + esac
  57728. + libdir="$save_libdir"
  57729. + for dep in $dependency_libs; do
  57730. + case "$dep" in
  57731. + -L*)
  57732. + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
  57733. + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
  57734. + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
  57735. + haveit=
  57736. + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
  57737. + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
  57738. + if test -n "$GCC"; then
  57739. + case $host_os in
  57740. + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  57741. + esac
  57742. + fi
  57743. + fi
  57744. + if test -z "$haveit"; then
  57745. + haveit=
  57746. + for x in $LDFLAGS $LIBSIGSEGV; do
  57747. +
  57748. + acl_save_prefix="$prefix"
  57749. + prefix="$acl_final_prefix"
  57750. + acl_save_exec_prefix="$exec_prefix"
  57751. + exec_prefix="$acl_final_exec_prefix"
  57752. + eval x=\"$x\"
  57753. + exec_prefix="$acl_save_exec_prefix"
  57754. + prefix="$acl_save_prefix"
  57755. +
  57756. + if test "X$x" = "X-L$additional_libdir"; then
  57757. + haveit=yes
  57758. + break
  57759. + fi
  57760. + done
  57761. + if test -z "$haveit"; then
  57762. + if test -d "$additional_libdir"; then
  57763. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-L$additional_libdir"
  57764. + fi
  57765. + fi
  57766. + haveit=
  57767. + for x in $LDFLAGS $LTLIBSIGSEGV; do
  57768. +
  57769. + acl_save_prefix="$prefix"
  57770. + prefix="$acl_final_prefix"
  57771. + acl_save_exec_prefix="$exec_prefix"
  57772. + exec_prefix="$acl_final_exec_prefix"
  57773. + eval x=\"$x\"
  57774. + exec_prefix="$acl_save_exec_prefix"
  57775. + prefix="$acl_save_prefix"
  57776. +
  57777. + if test "X$x" = "X-L$additional_libdir"; then
  57778. + haveit=yes
  57779. + break
  57780. + fi
  57781. + done
  57782. + if test -z "$haveit"; then
  57783. + if test -d "$additional_libdir"; then
  57784. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-L$additional_libdir"
  57785. + fi
  57786. + fi
  57787. + fi
  57788. + fi
  57789. + ;;
  57790. + -R*)
  57791. + dir=`echo "X$dep" | sed -e 's/^X-R//'`
  57792. + if test "$enable_rpath" != no; then
  57793. + haveit=
  57794. + for x in $rpathdirs; do
  57795. + if test "X$x" = "X$dir"; then
  57796. + haveit=yes
  57797. + break
  57798. + fi
  57799. + done
  57800. + if test -z "$haveit"; then
  57801. + rpathdirs="$rpathdirs $dir"
  57802. + fi
  57803. + haveit=
  57804. + for x in $ltrpathdirs; do
  57805. + if test "X$x" = "X$dir"; then
  57806. + haveit=yes
  57807. + break
  57808. + fi
  57809. + done
  57810. + if test -z "$haveit"; then
  57811. + ltrpathdirs="$ltrpathdirs $dir"
  57812. + fi
  57813. + fi
  57814. + ;;
  57815. + -l*)
  57816. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
  57817. + ;;
  57818. + *.la)
  57819. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
  57820. + ;;
  57821. + *)
  57822. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$dep"
  57823. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }$dep"
  57824. + ;;
  57825. + esac
  57826. + done
  57827. + fi
  57828. + else
  57829. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }-l$name"
  57830. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-l$name"
  57831. + fi
  57832. + fi
  57833. + fi
  57834. + done
  57835. + done
  57836. + if test "X$rpathdirs" != "X"; then
  57837. + if test -n "$acl_hardcode_libdir_separator"; then
  57838. + alldirs=
  57839. + for found_dir in $rpathdirs; do
  57840. + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
  57841. + done
  57842. + acl_save_libdir="$libdir"
  57843. + libdir="$alldirs"
  57844. + eval flag=\"$acl_hardcode_libdir_flag_spec\"
  57845. + libdir="$acl_save_libdir"
  57846. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag"
  57847. + else
  57848. + for found_dir in $rpathdirs; do
  57849. + acl_save_libdir="$libdir"
  57850. + libdir="$found_dir"
  57851. + eval flag=\"$acl_hardcode_libdir_flag_spec\"
  57852. + libdir="$acl_save_libdir"
  57853. + LIBSIGSEGV="${LIBSIGSEGV}${LIBSIGSEGV:+ }$flag"
  57854. + done
  57855. + fi
  57856. + fi
  57857. + if test "X$ltrpathdirs" != "X"; then
  57858. + for found_dir in $ltrpathdirs; do
  57859. + LTLIBSIGSEGV="${LTLIBSIGSEGV}${LTLIBSIGSEGV:+ }-R$found_dir"
  57860. + done
  57861. + fi
  57862. +
  57863. +
  57864. +
  57865. +
  57866. +
  57867. +
  57868. +
  57869. + ac_save_CPPFLAGS="$CPPFLAGS"
  57870. +
  57871. + for element in $INCSIGSEGV; do
  57872. + haveit=
  57873. + for x in $CPPFLAGS; do
  57874. +
  57875. + acl_save_prefix="$prefix"
  57876. + prefix="$acl_final_prefix"
  57877. + acl_save_exec_prefix="$exec_prefix"
  57878. + exec_prefix="$acl_final_exec_prefix"
  57879. + eval x=\"$x\"
  57880. + exec_prefix="$acl_save_exec_prefix"
  57881. + prefix="$acl_save_prefix"
  57882. +
  57883. + if test "X$x" = "X$element"; then
  57884. + haveit=yes
  57885. + break
  57886. + fi
  57887. + done
  57888. + if test -z "$haveit"; then
  57889. + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
  57890. + fi
  57891. + done
  57892. +
  57893. +
  57894. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigsegv" >&5
  57895. +$as_echo_n "checking for libsigsegv... " >&6; }
  57896. +if ${ac_cv_libsigsegv+:} false; then :
  57897. + $as_echo_n "(cached) " >&6
  57898. +else
  57899. +
  57900. + ac_save_LIBS="$LIBS"
  57901. + case " $LIBSIGSEGV" in
  57902. + *" -l"*) LIBS="$LIBS $LIBSIGSEGV" ;;
  57903. + *) LIBS="$LIBSIGSEGV $LIBS" ;;
  57904. + esac
  57905. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  57906. +/* end confdefs.h. */
  57907. +#include <sigsegv.h>
  57908. +int
  57909. +main ()
  57910. +{
  57911. +sigsegv_deinstall_handler();
  57912. + ;
  57913. + return 0;
  57914. +}
  57915. +_ACEOF
  57916. +if ac_fn_c_try_link "$LINENO"; then :
  57917. + ac_cv_libsigsegv=yes
  57918. +else
  57919. + ac_cv_libsigsegv='no, consider installing GNU libsigsegv'
  57920. +fi
  57921. +rm -f core conftest.err conftest.$ac_objext \
  57922. + conftest$ac_exeext conftest.$ac_ext
  57923. + LIBS="$ac_save_LIBS"
  57924. +
  57925. +fi
  57926. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libsigsegv" >&5
  57927. +$as_echo "$ac_cv_libsigsegv" >&6; }
  57928. + if test "$ac_cv_libsigsegv" = yes; then
  57929. + HAVE_LIBSIGSEGV=yes
  57930. +
  57931. +$as_echo "@%:@define HAVE_LIBSIGSEGV 1" >>confdefs.h
  57932. +
  57933. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libsigsegv" >&5
  57934. +$as_echo_n "checking how to link with libsigsegv... " >&6; }
  57935. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSIGSEGV" >&5
  57936. +$as_echo "$LIBSIGSEGV" >&6; }
  57937. + else
  57938. + HAVE_LIBSIGSEGV=no
  57939. + CPPFLAGS="$ac_save_CPPFLAGS"
  57940. + LIBSIGSEGV=
  57941. + LTLIBSIGSEGV=
  57942. + LIBSIGSEGV_PREFIX=
  57943. + fi
  57944. +
  57945. +
  57946. +
  57947. +
  57948. +
  57949. +
  57950. +
  57951. + gl_cv_lib_sigsegv="$ac_cv_libsigsegv"
  57952. +
  57953. + # Code from module linkedhash-list:
  57954. + # Code from module list:
  57955. +
  57956. +
  57957. +
  57958. + # Code from module localcharset:
  57959. +
  57960. +
  57961. +
  57962. +
  57963. +
  57964. +
  57965. +
  57966. +
  57967. + LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
  57968. +
  57969. + # Code from module lock:
  57970. +
  57971. +
  57972. + if test "$gl_threads_api" = posix; then
  57973. + # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
  57974. + # pthread_rwlock_* functions.
  57975. + ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h>
  57976. +"
  57977. +if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
  57978. +
  57979. +$as_echo "@%:@define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
  57980. +
  57981. +fi
  57982. +
  57983. + # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
  57984. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  57985. +/* end confdefs.h. */
  57986. +
  57987. + #include <pthread.h>
  57988. +int
  57989. +main ()
  57990. +{
  57991. +
  57992. +#if __FreeBSD__ == 4
  57993. +error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
  57994. +#else
  57995. +int x = (int)PTHREAD_MUTEX_RECURSIVE;
  57996. +return !x;
  57997. +#endif
  57998. +
  57999. + ;
  58000. + return 0;
  58001. +}
  58002. +_ACEOF
  58003. +if ac_fn_c_try_compile "$LINENO"; then :
  58004. +
  58005. +$as_echo "@%:@define HAVE_PTHREAD_MUTEX_RECURSIVE 1" >>confdefs.h
  58006. +
  58007. +fi
  58008. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  58009. + fi
  58010. +
  58011. +
  58012. +
  58013. +
  58014. + # Code from module lseek:
  58015. +
  58016. +
  58017. +
  58018. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lseek detects pipes" >&5
  58019. +$as_echo_n "checking whether lseek detects pipes... " >&6; }
  58020. +if ${gl_cv_func_lseek_pipe+:} false; then :
  58021. + $as_echo_n "(cached) " >&6
  58022. +else
  58023. + if test $cross_compiling = no; then
  58024. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  58025. +/* end confdefs.h. */
  58026. +
  58027. +#include <sys/types.h> /* for off_t */
  58028. +#include <stdio.h> /* for SEEK_CUR */
  58029. +#include <unistd.h>
  58030. +int
  58031. +main ()
  58032. +{
  58033. +
  58034. + /* Exit with success only if stdin is seekable. */
  58035. + return lseek (0, (off_t)0, SEEK_CUR) < 0;
  58036. +
  58037. + ;
  58038. + return 0;
  58039. +}
  58040. +_ACEOF
  58041. +if ac_fn_c_try_link "$LINENO"; then :
  58042. + if test -s conftest$ac_exeext \
  58043. + && ./conftest$ac_exeext < conftest.$ac_ext \
  58044. + && test 1 = "`echo hi \
  58045. + | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then
  58046. + gl_cv_func_lseek_pipe=yes
  58047. + else
  58048. + gl_cv_func_lseek_pipe=no
  58049. + fi
  58050. +else
  58051. + gl_cv_func_lseek_pipe=no
  58052. +fi
  58053. +rm -f core conftest.err conftest.$ac_objext \
  58054. + conftest$ac_exeext conftest.$ac_ext
  58055. + else
  58056. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  58057. +/* end confdefs.h. */
  58058. +
  58059. +#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined __BEOS__
  58060. +/* mingw and BeOS mistakenly return 0 when trying to seek on pipes. */
  58061. + Choke me.
  58062. +#endif
  58063. +_ACEOF
  58064. +if ac_fn_c_try_compile "$LINENO"; then :
  58065. + gl_cv_func_lseek_pipe=yes
  58066. +else
  58067. + gl_cv_func_lseek_pipe=no
  58068. +fi
  58069. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  58070. + fi
  58071. +fi
  58072. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lseek_pipe" >&5
  58073. +$as_echo "$gl_cv_func_lseek_pipe" >&6; }
  58074. + if test $gl_cv_func_lseek_pipe = no; then
  58075. +
  58076. +
  58077. +
  58078. +
  58079. +
  58080. +
  58081. +
  58082. +
  58083. +
  58084. + M4_LIBOBJS="$M4_LIBOBJS lseek.$ac_objext"
  58085. +
  58086. +
  58087. + REPLACE_LSEEK=1
  58088. +
  58089. +$as_echo "@%:@define LSEEK_PIPE_BROKEN 1" >>confdefs.h
  58090. +
  58091. +
  58092. + fi
  58093. +
  58094. +
  58095. +
  58096. +
  58097. + GNULIB_LSEEK=1
  58098. +
  58099. +
  58100. +
  58101. +$as_echo "@%:@define GNULIB_TEST_LSEEK 1" >>confdefs.h
  58102. +
  58103. +
  58104. +
  58105. + # Code from module lstat:
  58106. +
  58107. +
  58108. +
  58109. + if test $ac_cv_func_lstat = yes; then
  58110. +
  58111. + if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
  58112. + REPLACE_LSTAT=1
  58113. + fi
  58114. + # Prerequisites of lib/lstat.c.
  58115. +
  58116. + else
  58117. + HAVE_LSTAT=0
  58118. + fi
  58119. +
  58120. +
  58121. +
  58122. +
  58123. + GNULIB_LSTAT=1
  58124. +
  58125. +
  58126. +
  58127. +$as_echo "@%:@define GNULIB_TEST_LSTAT 1" >>confdefs.h
  58128. +
  58129. +
  58130. +
  58131. + # Code from module maintainer-makefile:
  58132. +
  58133. + # Code from module malloc-gnu:
  58134. +
  58135. +
  58136. + for ac_header in stdlib.h
  58137. +do :
  58138. + ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  58139. +if test "x$ac_cv_header_stdlib_h" = xyes; then :
  58140. + cat >>confdefs.h <<_ACEOF
  58141. +@%:@define HAVE_STDLIB_H 1
  58142. +_ACEOF
  58143. +
  58144. +fi
  58145. +
  58146. +done
  58147. +
  58148. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
  58149. +$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
  58150. +if ${ac_cv_func_malloc_0_nonnull+:} false; then :
  58151. + $as_echo_n "(cached) " >&6
  58152. +else
  58153. + if test "$cross_compiling" = yes; then :
  58154. + ac_cv_func_malloc_0_nonnull=no
  58155. +else
  58156. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  58157. +/* end confdefs.h. */
  58158. +#if defined STDC_HEADERS || defined HAVE_STDLIB_H
  58159. +# include <stdlib.h>
  58160. +#else
  58161. +char *malloc ();
  58162. +#endif
  58163. +
  58164. +int
  58165. +main ()
  58166. +{
  58167. +return ! malloc (0);
  58168. + ;
  58169. + return 0;
  58170. +}
  58171. +_ACEOF
  58172. +if ac_fn_c_try_run "$LINENO"; then :
  58173. + ac_cv_func_malloc_0_nonnull=yes
  58174. +else
  58175. + ac_cv_func_malloc_0_nonnull=no
  58176. +fi
  58177. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  58178. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  58179. +fi
  58180. +
  58181. +fi
  58182. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
  58183. +$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
  58184. +if test $ac_cv_func_malloc_0_nonnull = yes; then :
  58185. +
  58186. +$as_echo "@%:@define HAVE_MALLOC_GNU 1" >>confdefs.h
  58187. +
  58188. +else
  58189. + $as_echo "@%:@define HAVE_MALLOC_GNU 0" >>confdefs.h
  58190. +
  58191. +
  58192. +
  58193. +
  58194. +
  58195. +
  58196. +
  58197. +
  58198. +
  58199. +
  58200. + M4_LIBOBJS="$M4_LIBOBJS malloc.$ac_objext"
  58201. +
  58202. + REPLACE_MALLOC=1
  58203. +
  58204. +
  58205. +fi
  58206. +
  58207. +
  58208. +
  58209. +
  58210. +cat >>confdefs.h <<_ACEOF
  58211. +@%:@define GNULIB_MALLOC_GNU 1
  58212. +_ACEOF
  58213. +
  58214. +
  58215. + # Code from module malloc-posix:
  58216. +
  58217. +
  58218. +
  58219. + if test $gl_cv_func_malloc_posix = yes; then
  58220. +
  58221. +$as_echo "@%:@define HAVE_MALLOC_POSIX 1" >>confdefs.h
  58222. +
  58223. + else
  58224. +
  58225. +
  58226. +
  58227. +
  58228. +
  58229. +
  58230. +
  58231. +
  58232. +
  58233. + M4_LIBOBJS="$M4_LIBOBJS malloc.$ac_objext"
  58234. +
  58235. + REPLACE_MALLOC=1
  58236. +
  58237. + fi
  58238. +
  58239. +
  58240. +
  58241. +
  58242. + GNULIB_MALLOC_POSIX=1
  58243. +
  58244. +
  58245. +
  58246. +$as_echo "@%:@define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h
  58247. +
  58248. +
  58249. +
  58250. + # Code from module malloca:
  58251. +
  58252. +
  58253. +
  58254. +
  58255. + # Code from module manywarnings:
  58256. + # Code from module math:
  58257. +
  58258. +
  58259. +
  58260. +
  58261. +
  58262. +
  58263. +
  58264. +
  58265. +
  58266. +
  58267. +
  58268. + if test $gl_cv_have_include_next = yes; then
  58269. + gl_cv_next_math_h='<'math.h'>'
  58270. + else
  58271. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <math.h>" >&5
  58272. +$as_echo_n "checking absolute name of <math.h>... " >&6; }
  58273. +if ${gl_cv_next_math_h+:} false; then :
  58274. + $as_echo_n "(cached) " >&6
  58275. +else
  58276. +
  58277. + if test $ac_cv_header_math_h = yes; then
  58278. +
  58279. +
  58280. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  58281. +/* end confdefs.h. */
  58282. +#include <math.h>
  58283. +
  58284. +_ACEOF
  58285. + case "$host_os" in
  58286. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  58287. + *) gl_absname_cpp="$ac_cpp" ;;
  58288. + esac
  58289. + gl_cv_next_math_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  58290. + sed -n '\#/math.h#{
  58291. + s#.*"\(.*/math.h\)".*#\1#
  58292. + s#^/[^/]#//&#
  58293. + p
  58294. + q
  58295. + }'`'"'
  58296. + else
  58297. + gl_cv_next_math_h='<'math.h'>'
  58298. + fi
  58299. +
  58300. +
  58301. +fi
  58302. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_math_h" >&5
  58303. +$as_echo "$gl_cv_next_math_h" >&6; }
  58304. + fi
  58305. + NEXT_MATH_H=$gl_cv_next_math_h
  58306. +
  58307. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  58308. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  58309. + gl_next_as_first_directive='<'math.h'>'
  58310. + else
  58311. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  58312. + gl_next_as_first_directive=$gl_cv_next_math_h
  58313. + fi
  58314. + NEXT_AS_FIRST_DIRECTIVE_MATH_H=$gl_next_as_first_directive
  58315. +
  58316. +
  58317. +
  58318. +
  58319. +
  58320. +
  58321. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NAN macro works" >&5
  58322. +$as_echo_n "checking whether NAN macro works... " >&6; }
  58323. +if ${gl_cv_header_math_nan_works+:} false; then :
  58324. + $as_echo_n "(cached) " >&6
  58325. +else
  58326. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  58327. +/* end confdefs.h. */
  58328. +@%:@include <math.h>
  58329. +int
  58330. +main ()
  58331. +{
  58332. +/* Solaris 10 has a broken definition of NAN. Other platforms
  58333. + fail to provide NAN, or provide it only in C99 mode; this
  58334. + test only needs to fail when NAN is provided but wrong. */
  58335. + float f = 1.0f;
  58336. +#ifdef NAN
  58337. + f = NAN;
  58338. +#endif
  58339. + return f == 0;
  58340. + ;
  58341. + return 0;
  58342. +}
  58343. +_ACEOF
  58344. +if ac_fn_c_try_compile "$LINENO"; then :
  58345. + gl_cv_header_math_nan_works=yes
  58346. +else
  58347. + gl_cv_header_math_nan_works=no
  58348. +fi
  58349. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  58350. +fi
  58351. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_math_nan_works" >&5
  58352. +$as_echo "$gl_cv_header_math_nan_works" >&6; }
  58353. + if test $gl_cv_header_math_nan_works = no; then
  58354. + REPLACE_NAN=1
  58355. + fi
  58356. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether HUGE_VAL works" >&5
  58357. +$as_echo_n "checking whether HUGE_VAL works... " >&6; }
  58358. +if ${gl_cv_header_math_huge_val_works+:} false; then :
  58359. + $as_echo_n "(cached) " >&6
  58360. +else
  58361. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  58362. +/* end confdefs.h. */
  58363. +@%:@include <math.h>
  58364. +int
  58365. +main ()
  58366. +{
  58367. +/* Solaris 10 has a broken definition of HUGE_VAL. */
  58368. + double d = HUGE_VAL;
  58369. + return d == 0;
  58370. + ;
  58371. + return 0;
  58372. +}
  58373. +_ACEOF
  58374. +if ac_fn_c_try_compile "$LINENO"; then :
  58375. + gl_cv_header_math_huge_val_works=yes
  58376. +else
  58377. + gl_cv_header_math_huge_val_works=no
  58378. +fi
  58379. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  58380. +fi
  58381. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_math_huge_val_works" >&5
  58382. +$as_echo "$gl_cv_header_math_huge_val_works" >&6; }
  58383. + if test $gl_cv_header_math_huge_val_works = no; then
  58384. + REPLACE_HUGE_VAL=1
  58385. + fi
  58386. +
  58387. +
  58388. +
  58389. + # Code from module mbrtowc:
  58390. +
  58391. +
  58392. +
  58393. +
  58394. +
  58395. +
  58396. +
  58397. +
  58398. +
  58399. +
  58400. + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
  58401. +
  58402. +
  58403. +
  58404. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
  58405. +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
  58406. +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
  58407. + $as_echo_n "(cached) " >&6
  58408. +else
  58409. +
  58410. + case "$host_os" in
  58411. + # Guess no on AIX and OSF/1.
  58412. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
  58413. + # Guess yes otherwise.
  58414. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
  58415. + esac
  58416. + if test $LOCALE_JA != none; then
  58417. + if test "$cross_compiling" = yes; then :
  58418. + :
  58419. +else
  58420. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  58421. +/* end confdefs.h. */
  58422. +
  58423. +#include <locale.h>
  58424. +#include <string.h>
  58425. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  58426. + <wchar.h>.
  58427. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  58428. + included before <wchar.h>. */
  58429. +#include <stddef.h>
  58430. +#include <stdio.h>
  58431. +#include <time.h>
  58432. +#include <wchar.h>
  58433. +int main ()
  58434. +{
  58435. + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
  58436. + {
  58437. + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
  58438. + mbstate_t state;
  58439. + wchar_t wc;
  58440. +
  58441. + memset (&state, '\0', sizeof (mbstate_t));
  58442. + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
  58443. + if (mbsinit (&state))
  58444. + return 1;
  58445. + }
  58446. + return 0;
  58447. +}
  58448. +_ACEOF
  58449. +if ac_fn_c_try_run "$LINENO"; then :
  58450. + gl_cv_func_mbrtowc_incomplete_state=yes
  58451. +else
  58452. + gl_cv_func_mbrtowc_incomplete_state=no
  58453. +fi
  58454. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  58455. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  58456. +fi
  58457. +
  58458. + fi
  58459. +
  58460. +fi
  58461. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
  58462. +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
  58463. +
  58464. +
  58465. +
  58466. +
  58467. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
  58468. +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
  58469. +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
  58470. + $as_echo_n "(cached) " >&6
  58471. +else
  58472. +
  58473. + case "$host_os" in
  58474. + # Guess no on Solaris 8.
  58475. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
  58476. + # Guess yes otherwise.
  58477. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
  58478. + esac
  58479. + if test $LOCALE_ZH_CN != none; then
  58480. + if test "$cross_compiling" = yes; then :
  58481. + :
  58482. +else
  58483. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  58484. +/* end confdefs.h. */
  58485. +
  58486. +#include <locale.h>
  58487. +#include <stdlib.h>
  58488. +#include <string.h>
  58489. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  58490. + <wchar.h>.
  58491. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  58492. + included before <wchar.h>. */
  58493. +#include <stddef.h>
  58494. +#include <stdio.h>
  58495. +#include <time.h>
  58496. +#include <wchar.h>
  58497. +int main ()
  58498. +{
  58499. + /* This fails on Solaris 8:
  58500. + mbrtowc returns 2, and sets wc to 0x00F0.
  58501. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */
  58502. + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
  58503. + {
  58504. + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
  58505. + mbstate_t state;
  58506. + wchar_t wc;
  58507. +
  58508. + memset (&state, '\0', sizeof (mbstate_t));
  58509. + if (mbrtowc (&wc, input + 3, 6, &state) != 4
  58510. + && mbtowc (&wc, input + 3, 6) == 4)
  58511. + return 1;
  58512. + }
  58513. + return 0;
  58514. +}
  58515. +_ACEOF
  58516. +if ac_fn_c_try_run "$LINENO"; then :
  58517. + gl_cv_func_mbrtowc_sanitycheck=yes
  58518. +else
  58519. + gl_cv_func_mbrtowc_sanitycheck=no
  58520. +fi
  58521. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  58522. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  58523. +fi
  58524. +
  58525. + fi
  58526. +
  58527. +fi
  58528. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
  58529. +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
  58530. +
  58531. + REPLACE_MBSTATE_T=0
  58532. + case "$gl_cv_func_mbrtowc_incomplete_state" in
  58533. + *yes) ;;
  58534. + *) REPLACE_MBSTATE_T=1 ;;
  58535. + esac
  58536. + case "$gl_cv_func_mbrtowc_sanitycheck" in
  58537. + *yes) ;;
  58538. + *) REPLACE_MBSTATE_T=1 ;;
  58539. + esac
  58540. + else
  58541. + REPLACE_MBSTATE_T=1
  58542. + fi
  58543. + if test $REPLACE_MBSTATE_T = 1; then
  58544. +
  58545. + :
  58546. +
  58547. + fi
  58548. +
  58549. +
  58550. +
  58551. + if test $ac_cv_func_mbrtowc = no; then
  58552. + HAVE_MBRTOWC=0
  58553. + else
  58554. + if test $REPLACE_MBSTATE_T = 1; then
  58555. + REPLACE_MBRTOWC=1
  58556. + else
  58557. +
  58558. +
  58559. +
  58560. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5
  58561. +$as_echo_n "checking whether mbrtowc handles a NULL pwc argument... " >&6; }
  58562. +if ${gl_cv_func_mbrtowc_null_arg1+:} false; then :
  58563. + $as_echo_n "(cached) " >&6
  58564. +else
  58565. +
  58566. + case "$host_os" in
  58567. + # Guess no on Solaris.
  58568. + solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;;
  58569. + # Guess yes otherwise.
  58570. + *) gl_cv_func_mbrtowc_null_arg1="guessing yes" ;;
  58571. + esac
  58572. + if test $LOCALE_FR_UTF8 != none; then
  58573. + if test "$cross_compiling" = yes; then :
  58574. + :
  58575. +else
  58576. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  58577. +/* end confdefs.h. */
  58578. +
  58579. +#include <locale.h>
  58580. +#include <stdlib.h>
  58581. +#include <string.h>
  58582. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  58583. + <wchar.h>.
  58584. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  58585. + included before <wchar.h>. */
  58586. +#include <stddef.h>
  58587. +#include <stdio.h>
  58588. +#include <time.h>
  58589. +#include <wchar.h>
  58590. +int main ()
  58591. +{
  58592. + int result = 0;
  58593. +
  58594. + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
  58595. + {
  58596. + char input[] = "\303\237er";
  58597. + mbstate_t state;
  58598. + wchar_t wc;
  58599. + size_t ret;
  58600. +
  58601. + memset (&state, '\0', sizeof (mbstate_t));
  58602. + wc = (wchar_t) 0xBADFACE;
  58603. + ret = mbrtowc (&wc, input, 5, &state);
  58604. + if (ret != 2)
  58605. + result |= 1;
  58606. + if (!mbsinit (&state))
  58607. + result |= 2;
  58608. +
  58609. + memset (&state, '\0', sizeof (mbstate_t));
  58610. + ret = mbrtowc (NULL, input, 5, &state);
  58611. + if (ret != 2) /* Solaris 7 fails here: ret is -1. */
  58612. + result |= 4;
  58613. + if (!mbsinit (&state))
  58614. + result |= 8;
  58615. + }
  58616. + return result;
  58617. +}
  58618. +_ACEOF
  58619. +if ac_fn_c_try_run "$LINENO"; then :
  58620. + gl_cv_func_mbrtowc_null_arg1=yes
  58621. +else
  58622. + gl_cv_func_mbrtowc_null_arg1=no
  58623. +fi
  58624. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  58625. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  58626. +fi
  58627. +
  58628. + fi
  58629. +
  58630. +fi
  58631. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg1" >&5
  58632. +$as_echo "$gl_cv_func_mbrtowc_null_arg1" >&6; }
  58633. +
  58634. +
  58635. +
  58636. +
  58637. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5
  58638. +$as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; }
  58639. +if ${gl_cv_func_mbrtowc_null_arg2+:} false; then :
  58640. + $as_echo_n "(cached) " >&6
  58641. +else
  58642. +
  58643. + case "$host_os" in
  58644. + # Guess no on OSF/1.
  58645. + osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;;
  58646. + # Guess yes otherwise.
  58647. + *) gl_cv_func_mbrtowc_null_arg2="guessing yes" ;;
  58648. + esac
  58649. + if test $LOCALE_FR_UTF8 != none; then
  58650. + if test "$cross_compiling" = yes; then :
  58651. + :
  58652. +else
  58653. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  58654. +/* end confdefs.h. */
  58655. +
  58656. +#include <locale.h>
  58657. +#include <string.h>
  58658. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  58659. + <wchar.h>.
  58660. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  58661. + included before <wchar.h>. */
  58662. +#include <stddef.h>
  58663. +#include <stdio.h>
  58664. +#include <time.h>
  58665. +#include <wchar.h>
  58666. +int main ()
  58667. +{
  58668. + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
  58669. + {
  58670. + mbstate_t state;
  58671. + wchar_t wc;
  58672. + int ret;
  58673. +
  58674. + memset (&state, '\0', sizeof (mbstate_t));
  58675. + wc = (wchar_t) 0xBADFACE;
  58676. + mbrtowc (&wc, NULL, 5, &state);
  58677. + /* Check that wc was not modified. */
  58678. + if (wc != (wchar_t) 0xBADFACE)
  58679. + return 1;
  58680. + }
  58681. + return 0;
  58682. +}
  58683. +_ACEOF
  58684. +if ac_fn_c_try_run "$LINENO"; then :
  58685. + gl_cv_func_mbrtowc_null_arg2=yes
  58686. +else
  58687. + gl_cv_func_mbrtowc_null_arg2=no
  58688. +fi
  58689. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  58690. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  58691. +fi
  58692. +
  58693. + fi
  58694. +
  58695. +fi
  58696. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg2" >&5
  58697. +$as_echo "$gl_cv_func_mbrtowc_null_arg2" >&6; }
  58698. +
  58699. +
  58700. +
  58701. +
  58702. +
  58703. +
  58704. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5
  58705. +$as_echo_n "checking whether mbrtowc has a correct return value... " >&6; }
  58706. +if ${gl_cv_func_mbrtowc_retval+:} false; then :
  58707. + $as_echo_n "(cached) " >&6
  58708. +else
  58709. +
  58710. + case "$host_os" in
  58711. + # Guess no on HP-UX, Solaris, native Windows.
  58712. + hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;;
  58713. + # Guess yes otherwise.
  58714. + *) gl_cv_func_mbrtowc_retval="guessing yes" ;;
  58715. + esac
  58716. + if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \
  58717. + || { case "$host_os" in mingw*) true;; *) false;; esac; }; then
  58718. + if test "$cross_compiling" = yes; then :
  58719. + :
  58720. +else
  58721. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  58722. +/* end confdefs.h. */
  58723. +
  58724. +#include <locale.h>
  58725. +#include <string.h>
  58726. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  58727. + <wchar.h>.
  58728. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  58729. + included before <wchar.h>. */
  58730. +#include <stddef.h>
  58731. +#include <stdio.h>
  58732. +#include <time.h>
  58733. +#include <wchar.h>
  58734. +int main ()
  58735. +{
  58736. + int result = 0;
  58737. + int found_some_locale = 0;
  58738. + /* This fails on Solaris. */
  58739. + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
  58740. + {
  58741. + char input[] = "B\303\274\303\237er"; /* "Büßer" */
  58742. + mbstate_t state;
  58743. + wchar_t wc;
  58744. +
  58745. + memset (&state, '\0', sizeof (mbstate_t));
  58746. + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
  58747. + {
  58748. + input[1] = '\0';
  58749. + if (mbrtowc (&wc, input + 2, 5, &state) != 1)
  58750. + result |= 1;
  58751. + }
  58752. + found_some_locale = 1;
  58753. + }
  58754. + /* This fails on HP-UX 11.11. */
  58755. + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
  58756. + {
  58757. + char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
  58758. + mbstate_t state;
  58759. + wchar_t wc;
  58760. +
  58761. + memset (&state, '\0', sizeof (mbstate_t));
  58762. + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
  58763. + {
  58764. + input[1] = '\0';
  58765. + if (mbrtowc (&wc, input + 2, 5, &state) != 2)
  58766. + result |= 2;
  58767. + }
  58768. + found_some_locale = 1;
  58769. + }
  58770. + /* This fails on native Windows. */
  58771. + if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL)
  58772. + {
  58773. + char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */
  58774. + mbstate_t state;
  58775. + wchar_t wc;
  58776. +
  58777. + memset (&state, '\0', sizeof (mbstate_t));
  58778. + if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
  58779. + {
  58780. + input[3] = '\0';
  58781. + if (mbrtowc (&wc, input + 4, 4, &state) != 1)
  58782. + result |= 4;
  58783. + }
  58784. + found_some_locale = 1;
  58785. + }
  58786. + if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL)
  58787. + {
  58788. + char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */
  58789. + mbstate_t state;
  58790. + wchar_t wc;
  58791. +
  58792. + memset (&state, '\0', sizeof (mbstate_t));
  58793. + if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
  58794. + {
  58795. + input[3] = '\0';
  58796. + if (mbrtowc (&wc, input + 4, 4, &state) != 1)
  58797. + result |= 8;
  58798. + }
  58799. + found_some_locale = 1;
  58800. + }
  58801. + if (setlocale (LC_ALL, "Chinese_China.936") != NULL)
  58802. + {
  58803. + char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */
  58804. + mbstate_t state;
  58805. + wchar_t wc;
  58806. +
  58807. + memset (&state, '\0', sizeof (mbstate_t));
  58808. + if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
  58809. + {
  58810. + input[3] = '\0';
  58811. + if (mbrtowc (&wc, input + 4, 4, &state) != 1)
  58812. + result |= 16;
  58813. + }
  58814. + found_some_locale = 1;
  58815. + }
  58816. + return (found_some_locale ? result : 77);
  58817. +}
  58818. +_ACEOF
  58819. +if ac_fn_c_try_run "$LINENO"; then :
  58820. + gl_cv_func_mbrtowc_retval=yes
  58821. +else
  58822. + if test $? != 77; then
  58823. + gl_cv_func_mbrtowc_retval=no
  58824. + fi
  58825. +
  58826. +fi
  58827. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  58828. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  58829. +fi
  58830. +
  58831. + fi
  58832. +
  58833. +fi
  58834. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5
  58835. +$as_echo "$gl_cv_func_mbrtowc_retval" >&6; }
  58836. +
  58837. +
  58838. +
  58839. +
  58840. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5
  58841. +$as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; }
  58842. +if ${gl_cv_func_mbrtowc_nul_retval+:} false; then :
  58843. + $as_echo_n "(cached) " >&6
  58844. +else
  58845. +
  58846. + case "$host_os" in
  58847. + # Guess no on Solaris 8 and 9.
  58848. + solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;;
  58849. + # Guess yes otherwise.
  58850. + *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;;
  58851. + esac
  58852. + if test $LOCALE_ZH_CN != none; then
  58853. + if test "$cross_compiling" = yes; then :
  58854. + :
  58855. +else
  58856. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  58857. +/* end confdefs.h. */
  58858. +
  58859. +#include <locale.h>
  58860. +#include <string.h>
  58861. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  58862. + <wchar.h>.
  58863. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  58864. + included before <wchar.h>. */
  58865. +#include <stddef.h>
  58866. +#include <stdio.h>
  58867. +#include <time.h>
  58868. +#include <wchar.h>
  58869. +int main ()
  58870. +{
  58871. + /* This fails on Solaris 8 and 9. */
  58872. + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
  58873. + {
  58874. + mbstate_t state;
  58875. + wchar_t wc;
  58876. +
  58877. + memset (&state, '\0', sizeof (mbstate_t));
  58878. + if (mbrtowc (&wc, "", 1, &state) != 0)
  58879. + return 1;
  58880. + }
  58881. + return 0;
  58882. +}
  58883. +_ACEOF
  58884. +if ac_fn_c_try_run "$LINENO"; then :
  58885. + gl_cv_func_mbrtowc_nul_retval=yes
  58886. +else
  58887. + gl_cv_func_mbrtowc_nul_retval=no
  58888. +fi
  58889. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  58890. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  58891. +fi
  58892. +
  58893. + fi
  58894. +
  58895. +fi
  58896. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5
  58897. +$as_echo "$gl_cv_func_mbrtowc_nul_retval" >&6; }
  58898. +
  58899. + case "$gl_cv_func_mbrtowc_null_arg1" in
  58900. + *yes) ;;
  58901. + *)
  58902. +$as_echo "@%:@define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h
  58903. +
  58904. + REPLACE_MBRTOWC=1
  58905. + ;;
  58906. + esac
  58907. + case "$gl_cv_func_mbrtowc_null_arg2" in
  58908. + *yes) ;;
  58909. + *)
  58910. +$as_echo "@%:@define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h
  58911. +
  58912. + REPLACE_MBRTOWC=1
  58913. + ;;
  58914. + esac
  58915. + case "$gl_cv_func_mbrtowc_retval" in
  58916. + *yes) ;;
  58917. + *)
  58918. +$as_echo "@%:@define MBRTOWC_RETVAL_BUG 1" >>confdefs.h
  58919. +
  58920. + REPLACE_MBRTOWC=1
  58921. + ;;
  58922. + esac
  58923. + case "$gl_cv_func_mbrtowc_nul_retval" in
  58924. + *yes) ;;
  58925. + *)
  58926. +$as_echo "@%:@define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h
  58927. +
  58928. + REPLACE_MBRTOWC=1
  58929. + ;;
  58930. + esac
  58931. + fi
  58932. + fi
  58933. + if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
  58934. +
  58935. + :
  58936. +
  58937. +
  58938. +
  58939. +
  58940. +
  58941. +
  58942. +
  58943. +
  58944. +
  58945. + M4_LIBOBJS="$M4_LIBOBJS mbrtowc.$ac_objext"
  58946. +
  58947. +
  58948. + :
  58949. +
  58950. + fi
  58951. +
  58952. +
  58953. +
  58954. +
  58955. + GNULIB_MBRTOWC=1
  58956. +
  58957. +
  58958. +
  58959. +$as_echo "@%:@define GNULIB_TEST_MBRTOWC 1" >>confdefs.h
  58960. +
  58961. +
  58962. +
  58963. + # Code from module mbsinit:
  58964. +
  58965. +
  58966. +
  58967. +
  58968. +
  58969. +
  58970. +
  58971. +
  58972. +
  58973. +
  58974. +
  58975. + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
  58976. +
  58977. +
  58978. +
  58979. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
  58980. +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
  58981. +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
  58982. + $as_echo_n "(cached) " >&6
  58983. +else
  58984. +
  58985. + case "$host_os" in
  58986. + # Guess no on AIX and OSF/1.
  58987. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
  58988. + # Guess yes otherwise.
  58989. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
  58990. + esac
  58991. + if test $LOCALE_JA != none; then
  58992. + if test "$cross_compiling" = yes; then :
  58993. + :
  58994. +else
  58995. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  58996. +/* end confdefs.h. */
  58997. +
  58998. +#include <locale.h>
  58999. +#include <string.h>
  59000. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  59001. + <wchar.h>.
  59002. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  59003. + included before <wchar.h>. */
  59004. +#include <stddef.h>
  59005. +#include <stdio.h>
  59006. +#include <time.h>
  59007. +#include <wchar.h>
  59008. +int main ()
  59009. +{
  59010. + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
  59011. + {
  59012. + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
  59013. + mbstate_t state;
  59014. + wchar_t wc;
  59015. +
  59016. + memset (&state, '\0', sizeof (mbstate_t));
  59017. + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
  59018. + if (mbsinit (&state))
  59019. + return 1;
  59020. + }
  59021. + return 0;
  59022. +}
  59023. +_ACEOF
  59024. +if ac_fn_c_try_run "$LINENO"; then :
  59025. + gl_cv_func_mbrtowc_incomplete_state=yes
  59026. +else
  59027. + gl_cv_func_mbrtowc_incomplete_state=no
  59028. +fi
  59029. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  59030. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  59031. +fi
  59032. +
  59033. + fi
  59034. +
  59035. +fi
  59036. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
  59037. +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
  59038. +
  59039. +
  59040. +
  59041. +
  59042. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
  59043. +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
  59044. +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
  59045. + $as_echo_n "(cached) " >&6
  59046. +else
  59047. +
  59048. + case "$host_os" in
  59049. + # Guess no on Solaris 8.
  59050. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
  59051. + # Guess yes otherwise.
  59052. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
  59053. + esac
  59054. + if test $LOCALE_ZH_CN != none; then
  59055. + if test "$cross_compiling" = yes; then :
  59056. + :
  59057. +else
  59058. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  59059. +/* end confdefs.h. */
  59060. +
  59061. +#include <locale.h>
  59062. +#include <stdlib.h>
  59063. +#include <string.h>
  59064. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  59065. + <wchar.h>.
  59066. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  59067. + included before <wchar.h>. */
  59068. +#include <stddef.h>
  59069. +#include <stdio.h>
  59070. +#include <time.h>
  59071. +#include <wchar.h>
  59072. +int main ()
  59073. +{
  59074. + /* This fails on Solaris 8:
  59075. + mbrtowc returns 2, and sets wc to 0x00F0.
  59076. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */
  59077. + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
  59078. + {
  59079. + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
  59080. + mbstate_t state;
  59081. + wchar_t wc;
  59082. +
  59083. + memset (&state, '\0', sizeof (mbstate_t));
  59084. + if (mbrtowc (&wc, input + 3, 6, &state) != 4
  59085. + && mbtowc (&wc, input + 3, 6) == 4)
  59086. + return 1;
  59087. + }
  59088. + return 0;
  59089. +}
  59090. +_ACEOF
  59091. +if ac_fn_c_try_run "$LINENO"; then :
  59092. + gl_cv_func_mbrtowc_sanitycheck=yes
  59093. +else
  59094. + gl_cv_func_mbrtowc_sanitycheck=no
  59095. +fi
  59096. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  59097. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  59098. +fi
  59099. +
  59100. + fi
  59101. +
  59102. +fi
  59103. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
  59104. +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
  59105. +
  59106. + REPLACE_MBSTATE_T=0
  59107. + case "$gl_cv_func_mbrtowc_incomplete_state" in
  59108. + *yes) ;;
  59109. + *) REPLACE_MBSTATE_T=1 ;;
  59110. + esac
  59111. + case "$gl_cv_func_mbrtowc_sanitycheck" in
  59112. + *yes) ;;
  59113. + *) REPLACE_MBSTATE_T=1 ;;
  59114. + esac
  59115. + else
  59116. + REPLACE_MBSTATE_T=1
  59117. + fi
  59118. + if test $REPLACE_MBSTATE_T = 1; then
  59119. +
  59120. + :
  59121. +
  59122. + fi
  59123. +
  59124. +
  59125. +
  59126. + if test $ac_cv_func_mbsinit = no; then
  59127. + HAVE_MBSINIT=0
  59128. + else
  59129. + if test $REPLACE_MBSTATE_T = 1; then
  59130. + REPLACE_MBSINIT=1
  59131. + else
  59132. + case "$host_os" in
  59133. + mingw*) REPLACE_MBSINIT=1 ;;
  59134. + esac
  59135. + fi
  59136. + fi
  59137. + if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
  59138. +
  59139. + :
  59140. +
  59141. +
  59142. +
  59143. +
  59144. +
  59145. +
  59146. +
  59147. +
  59148. +
  59149. + M4_LIBOBJS="$M4_LIBOBJS mbsinit.$ac_objext"
  59150. +
  59151. +
  59152. + :
  59153. +
  59154. + fi
  59155. +
  59156. +
  59157. +
  59158. +
  59159. + GNULIB_MBSINIT=1
  59160. +
  59161. +
  59162. +
  59163. +$as_echo "@%:@define GNULIB_TEST_MBSINIT 1" >>confdefs.h
  59164. +
  59165. +
  59166. +
  59167. + # Code from module mbtowc:
  59168. +
  59169. +
  59170. +
  59171. + if false; then
  59172. + REPLACE_MBTOWC=1
  59173. + fi
  59174. + if test $REPLACE_MBTOWC = 1; then
  59175. +
  59176. +
  59177. +
  59178. +
  59179. +
  59180. +
  59181. +
  59182. +
  59183. + M4_LIBOBJS="$M4_LIBOBJS mbtowc.$ac_objext"
  59184. +
  59185. +
  59186. + :
  59187. +
  59188. + fi
  59189. +
  59190. +
  59191. +
  59192. +
  59193. + GNULIB_MBTOWC=1
  59194. +
  59195. +
  59196. +
  59197. +$as_echo "@%:@define GNULIB_TEST_MBTOWC 1" >>confdefs.h
  59198. +
  59199. +
  59200. +
  59201. + # Code from module memchr:
  59202. +
  59203. +
  59204. +
  59205. +
  59206. + GNULIB_MEMCHR=1
  59207. +
  59208. +
  59209. +
  59210. +$as_echo "@%:@define GNULIB_TEST_MEMCHR 1" >>confdefs.h
  59211. +
  59212. +
  59213. +
  59214. + # Code from module memchr2:
  59215. + # Code from module mkdtemp:
  59216. +
  59217. +
  59218. +
  59219. +
  59220. +
  59221. +
  59222. +
  59223. +
  59224. +
  59225. +
  59226. + for ac_func in mkdtemp
  59227. +do :
  59228. + ac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp"
  59229. +if test "x$ac_cv_func_mkdtemp" = xyes; then :
  59230. + cat >>confdefs.h <<_ACEOF
  59231. +@%:@define HAVE_MKDTEMP 1
  59232. +_ACEOF
  59233. +
  59234. +else
  59235. +
  59236. + M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext"
  59237. +
  59238. +fi
  59239. +done
  59240. +
  59241. +
  59242. + if test $ac_cv_func_mkdtemp = no; then
  59243. + HAVE_MKDTEMP=0
  59244. + :
  59245. +
  59246. + fi
  59247. +
  59248. +
  59249. +
  59250. +
  59251. + GNULIB_MKDTEMP=1
  59252. +
  59253. +
  59254. +
  59255. +$as_echo "@%:@define GNULIB_TEST_MKDTEMP 1" >>confdefs.h
  59256. +
  59257. +
  59258. +
  59259. + # Code from module mkstemp:
  59260. +
  59261. +
  59262. +
  59263. +
  59264. +
  59265. + if test $ac_cv_func_mkstemp = yes; then
  59266. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mkstemp" >&5
  59267. +$as_echo_n "checking for working mkstemp... " >&6; }
  59268. +if ${gl_cv_func_working_mkstemp+:} false; then :
  59269. + $as_echo_n "(cached) " >&6
  59270. +else
  59271. +
  59272. + mkdir conftest.mkstemp
  59273. + if test "$cross_compiling" = yes; then :
  59274. + gl_cv_func_working_mkstemp=no
  59275. +else
  59276. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  59277. +/* end confdefs.h. */
  59278. +$ac_includes_default
  59279. +int
  59280. +main ()
  59281. +{
  59282. +int result = 0;
  59283. + int i;
  59284. + off_t large = (off_t) 4294967295u;
  59285. + if (large < 0)
  59286. + large = 2147483647;
  59287. + for (i = 0; i < 70; i++)
  59288. + {
  59289. + char templ[] = "conftest.mkstemp/coXXXXXX";
  59290. + int (*mkstemp_function) (char *) = mkstemp;
  59291. + int fd = mkstemp_function (templ);
  59292. + if (fd < 0)
  59293. + result |= 1;
  59294. + else
  59295. + {
  59296. + if (lseek (fd, large, SEEK_SET) != large)
  59297. + result |= 2;
  59298. + close (fd);
  59299. + }
  59300. + }
  59301. + return result;
  59302. + ;
  59303. + return 0;
  59304. +}
  59305. +_ACEOF
  59306. +if ac_fn_c_try_run "$LINENO"; then :
  59307. + gl_cv_func_working_mkstemp=yes
  59308. +else
  59309. + gl_cv_func_working_mkstemp=no
  59310. +fi
  59311. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  59312. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  59313. +fi
  59314. +
  59315. + rm -rf conftest.mkstemp
  59316. +
  59317. +fi
  59318. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_mkstemp" >&5
  59319. +$as_echo "$gl_cv_func_working_mkstemp" >&6; }
  59320. + if test $gl_cv_func_working_mkstemp != yes; then
  59321. + REPLACE_MKSTEMP=1
  59322. +
  59323. +
  59324. +
  59325. +
  59326. +
  59327. +
  59328. +
  59329. +
  59330. + M4_LIBOBJS="$M4_LIBOBJS mkstemp.$ac_objext"
  59331. +
  59332. +
  59333. +
  59334. + fi
  59335. + else
  59336. + HAVE_MKSTEMP=0
  59337. +
  59338. +
  59339. +
  59340. +
  59341. +
  59342. +
  59343. +
  59344. +
  59345. + M4_LIBOBJS="$M4_LIBOBJS mkstemp.$ac_objext"
  59346. +
  59347. +
  59348. +
  59349. + fi
  59350. +
  59351. +
  59352. +
  59353. +
  59354. + GNULIB_MKSTEMP=1
  59355. +
  59356. +
  59357. +
  59358. +$as_echo "@%:@define GNULIB_TEST_MKSTEMP 1" >>confdefs.h
  59359. +
  59360. +
  59361. +
  59362. + # Code from module multiarch:
  59363. +
  59364. + # Code from module nl_langinfo:
  59365. +
  59366. +
  59367. +
  59368. +
  59369. + if test $ac_cv_func_nl_langinfo = yes; then
  59370. + # On Irix 6.5, YESEXPR is defined, but nl_langinfo(YESEXPR) is broken.
  59371. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether YESEXPR works" >&5
  59372. +$as_echo_n "checking whether YESEXPR works... " >&6; }
  59373. +if ${gl_cv_func_nl_langinfo_yesexpr_works+:} false; then :
  59374. + $as_echo_n "(cached) " >&6
  59375. +else
  59376. + if test "$cross_compiling" = yes; then :
  59377. +
  59378. + case "$host_os" in
  59379. + # Guess no on irix systems.
  59380. + irix*) gl_cv_func_nl_langinfo_yesexpr_works="guessing no";;
  59381. + # Guess yes elsewhere.
  59382. + *) gl_cv_func_nl_langinfo_yesexpr_works="guessing yes";;
  59383. + esac
  59384. +
  59385. +else
  59386. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  59387. +/* end confdefs.h. */
  59388. +#include <langinfo.h>
  59389. +
  59390. +int
  59391. +main ()
  59392. +{
  59393. +return !*nl_langinfo(YESEXPR);
  59394. +
  59395. + ;
  59396. + return 0;
  59397. +}
  59398. +_ACEOF
  59399. +if ac_fn_c_try_run "$LINENO"; then :
  59400. + gl_cv_func_nl_langinfo_yesexpr_works=yes
  59401. +else
  59402. + gl_cv_func_nl_langinfo_yesexpr_works=no
  59403. +fi
  59404. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  59405. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  59406. +fi
  59407. +
  59408. +
  59409. +fi
  59410. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_nl_langinfo_yesexpr_works" >&5
  59411. +$as_echo "$gl_cv_func_nl_langinfo_yesexpr_works" >&6; }
  59412. + case $gl_cv_func_nl_langinfo_yesexpr_works in
  59413. + *yes) FUNC_NL_LANGINFO_YESEXPR_WORKS=1 ;;
  59414. + *) FUNC_NL_LANGINFO_YESEXPR_WORKS=0 ;;
  59415. + esac
  59416. +
  59417. +cat >>confdefs.h <<_ACEOF
  59418. +@%:@define FUNC_NL_LANGINFO_YESEXPR_WORKS $FUNC_NL_LANGINFO_YESEXPR_WORKS
  59419. +_ACEOF
  59420. +
  59421. + if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1 \
  59422. + && test $FUNC_NL_LANGINFO_YESEXPR_WORKS = 1; then
  59423. + :
  59424. + else
  59425. + REPLACE_NL_LANGINFO=1
  59426. +
  59427. +$as_echo "@%:@define REPLACE_NL_LANGINFO 1" >>confdefs.h
  59428. +
  59429. +
  59430. +
  59431. +
  59432. +
  59433. +
  59434. +
  59435. +
  59436. +
  59437. + M4_LIBOBJS="$M4_LIBOBJS nl_langinfo.$ac_objext"
  59438. +
  59439. + fi
  59440. + else
  59441. + HAVE_NL_LANGINFO=0
  59442. +
  59443. +
  59444. +
  59445. +
  59446. +
  59447. +
  59448. +
  59449. +
  59450. + M4_LIBOBJS="$M4_LIBOBJS nl_langinfo.$ac_objext"
  59451. +
  59452. + fi
  59453. +
  59454. +
  59455. +
  59456. +
  59457. + GNULIB_NL_LANGINFO=1
  59458. +
  59459. +
  59460. +
  59461. +$as_echo "@%:@define GNULIB_TEST_NL_LANGINFO 1" >>confdefs.h
  59462. +
  59463. +
  59464. +
  59465. + # Code from module nocrash:
  59466. + # Code from module obstack:
  59467. +
  59468. +
  59469. +
  59470. +
  59471. +
  59472. +
  59473. +
  59474. +
  59475. +
  59476. +
  59477. +
  59478. +
  59479. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5
  59480. +$as_echo_n "checking for obstacks... " >&6; }
  59481. +if ${ac_cv_func_obstack+:} false; then :
  59482. + $as_echo_n "(cached) " >&6
  59483. +else
  59484. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  59485. +/* end confdefs.h. */
  59486. +$ac_includes_default
  59487. + @%:@include "obstack.h"
  59488. +int
  59489. +main ()
  59490. +{
  59491. +struct obstack mem;
  59492. + @%:@define obstack_chunk_alloc malloc
  59493. + @%:@define obstack_chunk_free free
  59494. + obstack_init (&mem);
  59495. + obstack_free (&mem, 0);
  59496. + ;
  59497. + return 0;
  59498. +}
  59499. +_ACEOF
  59500. +if ac_fn_c_try_link "$LINENO"; then :
  59501. + ac_cv_func_obstack=yes
  59502. +else
  59503. + ac_cv_func_obstack=no
  59504. +fi
  59505. +rm -f core conftest.err conftest.$ac_objext \
  59506. + conftest$ac_exeext conftest.$ac_ext
  59507. +fi
  59508. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_obstack" >&5
  59509. +$as_echo "$ac_cv_func_obstack" >&6; }
  59510. +if test $ac_cv_func_obstack = yes; then
  59511. +
  59512. +$as_echo "@%:@define HAVE_OBSTACK 1" >>confdefs.h
  59513. +
  59514. +else
  59515. +
  59516. +
  59517. +
  59518. +
  59519. +
  59520. +
  59521. +
  59522. +
  59523. + M4_LIBOBJS="$M4_LIBOBJS obstack.$ac_objext"
  59524. +
  59525. +fi
  59526. +
  59527. + # Code from module open:
  59528. +
  59529. +
  59530. + case "$host_os" in
  59531. + mingw* | pw*)
  59532. +
  59533. +
  59534. + REPLACE_OPEN=1
  59535. +
  59536. +
  59537. +
  59538. +
  59539. +
  59540. +
  59541. +
  59542. +
  59543. + M4_LIBOBJS="$M4_LIBOBJS open.$ac_objext"
  59544. +
  59545. +
  59546. +
  59547. +
  59548. + :
  59549. +
  59550. +
  59551. + ;;
  59552. + *)
  59553. +
  59554. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether open recognizes a trailing slash" >&5
  59555. +$as_echo_n "checking whether open recognizes a trailing slash... " >&6; }
  59556. +if ${gl_cv_func_open_slash+:} false; then :
  59557. + $as_echo_n "(cached) " >&6
  59558. +else
  59559. + # Assume that if we have lstat, we can also check symlinks.
  59560. + if test $ac_cv_func_lstat = yes; then
  59561. + touch conftest.tmp
  59562. + ln -s conftest.tmp conftest.lnk
  59563. + fi
  59564. + if test "$cross_compiling" = yes; then :
  59565. +
  59566. + case "$host_os" in
  59567. + freebsd* | aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*)
  59568. + gl_cv_func_open_slash="guessing no" ;;
  59569. + *)
  59570. + gl_cv_func_open_slash="guessing yes" ;;
  59571. + esac
  59572. +
  59573. +else
  59574. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  59575. +/* end confdefs.h. */
  59576. +
  59577. +#include <fcntl.h>
  59578. +#if HAVE_UNISTD_H
  59579. +# include <unistd.h>
  59580. +#endif
  59581. +int main ()
  59582. +{
  59583. + int result = 0;
  59584. +#if HAVE_LSTAT
  59585. + if (open ("conftest.lnk/", O_RDONLY) != -1)
  59586. + result |= 1;
  59587. +#endif
  59588. + if (open ("conftest.sl/", O_CREAT, 0600) >= 0)
  59589. + result |= 2;
  59590. + return result;
  59591. +}
  59592. +_ACEOF
  59593. +if ac_fn_c_try_run "$LINENO"; then :
  59594. + gl_cv_func_open_slash=yes
  59595. +else
  59596. + gl_cv_func_open_slash=no
  59597. +fi
  59598. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  59599. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  59600. +fi
  59601. +
  59602. + rm -f conftest.sl conftest.tmp conftest.lnk
  59603. +
  59604. +fi
  59605. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_open_slash" >&5
  59606. +$as_echo "$gl_cv_func_open_slash" >&6; }
  59607. + case "$gl_cv_func_open_slash" in
  59608. + *no)
  59609. +
  59610. +$as_echo "@%:@define OPEN_TRAILING_SLASH_BUG 1" >>confdefs.h
  59611. +
  59612. +
  59613. +
  59614. + REPLACE_OPEN=1
  59615. +
  59616. +
  59617. +
  59618. +
  59619. +
  59620. +
  59621. +
  59622. +
  59623. + M4_LIBOBJS="$M4_LIBOBJS open.$ac_objext"
  59624. +
  59625. +
  59626. +
  59627. +
  59628. + :
  59629. +
  59630. +
  59631. + ;;
  59632. + esac
  59633. + ;;
  59634. + esac
  59635. +
  59636. +
  59637. +
  59638. +
  59639. + GNULIB_OPEN=1
  59640. +
  59641. +
  59642. +
  59643. +$as_echo "@%:@define GNULIB_TEST_OPEN 1" >>confdefs.h
  59644. +
  59645. +
  59646. +
  59647. + # Code from module oset:
  59648. +
  59649. +
  59650. +
  59651. + # Code from module pathmax:
  59652. +
  59653. +
  59654. +
  59655. +
  59656. + # Code from module pipe2:
  59657. +
  59658. +
  59659. +
  59660. +
  59661. +
  59662. +
  59663. + if test $ac_cv_func_pipe2 != yes; then
  59664. + HAVE_PIPE2=0
  59665. + fi
  59666. +
  59667. +
  59668. +
  59669. +
  59670. + GNULIB_PIPE2=1
  59671. +
  59672. +
  59673. +
  59674. +$as_echo "@%:@define GNULIB_TEST_PIPE2 1" >>confdefs.h
  59675. +
  59676. +
  59677. +
  59678. + # Code from module pipe2-safer:
  59679. +
  59680. +
  59681. +cat >>confdefs.h <<_ACEOF
  59682. +@%:@define GNULIB_PIPE2_SAFER 1
  59683. +_ACEOF
  59684. +
  59685. +
  59686. + # Code from module posix_spawn-internal:
  59687. + # Code from module posix_spawn_file_actions_addclose:
  59688. +
  59689. +
  59690. +
  59691. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  59692. +
  59693. + :
  59694. +
  59695. +
  59696. +
  59697. +
  59698. +
  59699. +
  59700. +
  59701. +
  59702. +
  59703. + M4_LIBOBJS="$M4_LIBOBJS spawn_faction_addclose.$ac_objext"
  59704. +
  59705. + fi
  59706. +
  59707. +
  59708. +
  59709. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE=1
  59710. +
  59711. +
  59712. +
  59713. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE 1" >>confdefs.h
  59714. +
  59715. +
  59716. +
  59717. + # Code from module posix_spawn_file_actions_adddup2:
  59718. +
  59719. +
  59720. +
  59721. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  59722. +
  59723. + :
  59724. +
  59725. +
  59726. +
  59727. +
  59728. +
  59729. +
  59730. +
  59731. +
  59732. +
  59733. + M4_LIBOBJS="$M4_LIBOBJS spawn_faction_adddup2.$ac_objext"
  59734. +
  59735. + fi
  59736. +
  59737. +
  59738. +
  59739. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2=1
  59740. +
  59741. +
  59742. +
  59743. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1" >>confdefs.h
  59744. +
  59745. +
  59746. +
  59747. + # Code from module posix_spawn_file_actions_addopen:
  59748. +
  59749. +
  59750. +
  59751. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  59752. +
  59753. + :
  59754. +
  59755. +
  59756. +
  59757. +
  59758. +
  59759. +
  59760. +
  59761. +
  59762. +
  59763. + M4_LIBOBJS="$M4_LIBOBJS spawn_faction_addopen.$ac_objext"
  59764. +
  59765. + fi
  59766. +
  59767. +
  59768. +
  59769. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN=1
  59770. +
  59771. +
  59772. +
  59773. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN 1" >>confdefs.h
  59774. +
  59775. +
  59776. +
  59777. + # Code from module posix_spawn_file_actions_destroy:
  59778. +
  59779. +
  59780. +
  59781. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  59782. +
  59783. + :
  59784. +
  59785. +
  59786. +
  59787. +
  59788. +
  59789. +
  59790. +
  59791. +
  59792. +
  59793. + M4_LIBOBJS="$M4_LIBOBJS spawn_faction_destroy.$ac_objext"
  59794. +
  59795. + fi
  59796. +
  59797. +
  59798. +
  59799. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY=1
  59800. +
  59801. +
  59802. +
  59803. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY 1" >>confdefs.h
  59804. +
  59805. +
  59806. +
  59807. + # Code from module posix_spawn_file_actions_init:
  59808. +
  59809. +
  59810. +
  59811. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  59812. +
  59813. + :
  59814. +
  59815. +
  59816. +
  59817. +
  59818. +
  59819. +
  59820. +
  59821. +
  59822. +
  59823. + M4_LIBOBJS="$M4_LIBOBJS spawn_faction_init.$ac_objext"
  59824. +
  59825. + fi
  59826. +
  59827. +
  59828. +
  59829. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT=1
  59830. +
  59831. +
  59832. +
  59833. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT 1" >>confdefs.h
  59834. +
  59835. +
  59836. +
  59837. + # Code from module posix_spawnattr_destroy:
  59838. +
  59839. +
  59840. +
  59841. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  59842. +
  59843. + :
  59844. +
  59845. +
  59846. +
  59847. +
  59848. +
  59849. +
  59850. +
  59851. +
  59852. +
  59853. + M4_LIBOBJS="$M4_LIBOBJS spawnattr_destroy.$ac_objext"
  59854. +
  59855. + fi
  59856. +
  59857. +
  59858. +
  59859. + GNULIB_POSIX_SPAWNATTR_DESTROY=1
  59860. +
  59861. +
  59862. +
  59863. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNATTR_DESTROY 1" >>confdefs.h
  59864. +
  59865. +
  59866. +
  59867. + # Code from module posix_spawnattr_init:
  59868. +
  59869. +
  59870. +
  59871. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  59872. +
  59873. + :
  59874. +
  59875. +
  59876. +
  59877. +
  59878. +
  59879. +
  59880. +
  59881. +
  59882. +
  59883. + M4_LIBOBJS="$M4_LIBOBJS spawnattr_init.$ac_objext"
  59884. +
  59885. + fi
  59886. +
  59887. +
  59888. +
  59889. + GNULIB_POSIX_SPAWNATTR_INIT=1
  59890. +
  59891. +
  59892. +
  59893. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNATTR_INIT 1" >>confdefs.h
  59894. +
  59895. +
  59896. +
  59897. + # Code from module posix_spawnattr_setflags:
  59898. +
  59899. +
  59900. +
  59901. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  59902. +
  59903. + :
  59904. +
  59905. +
  59906. +
  59907. +
  59908. +
  59909. +
  59910. +
  59911. +
  59912. +
  59913. + M4_LIBOBJS="$M4_LIBOBJS spawnattr_setflags.$ac_objext"
  59914. +
  59915. + fi
  59916. +
  59917. +
  59918. +
  59919. + GNULIB_POSIX_SPAWNATTR_SETFLAGS=1
  59920. +
  59921. +
  59922. +
  59923. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS 1" >>confdefs.h
  59924. +
  59925. +
  59926. +
  59927. + # Code from module posix_spawnattr_setsigmask:
  59928. +
  59929. +
  59930. +
  59931. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  59932. +
  59933. + :
  59934. +
  59935. +
  59936. +
  59937. +
  59938. +
  59939. +
  59940. +
  59941. +
  59942. +
  59943. + M4_LIBOBJS="$M4_LIBOBJS spawnattr_setsigmask.$ac_objext"
  59944. +
  59945. + fi
  59946. +
  59947. +
  59948. +
  59949. + GNULIB_POSIX_SPAWNATTR_SETSIGMASK=1
  59950. +
  59951. +
  59952. +
  59953. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK 1" >>confdefs.h
  59954. +
  59955. +
  59956. +
  59957. + # Code from module posix_spawnp:
  59958. +
  59959. +
  59960. +
  59961. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  59962. +
  59963. + :
  59964. +
  59965. +
  59966. +
  59967. +
  59968. +
  59969. +
  59970. +
  59971. +
  59972. +
  59973. + M4_LIBOBJS="$M4_LIBOBJS spawnp.$ac_objext"
  59974. +
  59975. +
  59976. +
  59977. +
  59978. +
  59979. +
  59980. +
  59981. +
  59982. +
  59983. +
  59984. + M4_LIBOBJS="$M4_LIBOBJS spawni.$ac_objext"
  59985. +
  59986. + for ac_header in paths.h
  59987. +do :
  59988. + ac_fn_c_check_header_mongrel "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default"
  59989. +if test "x$ac_cv_header_paths_h" = xyes; then :
  59990. + cat >>confdefs.h <<_ACEOF
  59991. +@%:@define HAVE_PATHS_H 1
  59992. +_ACEOF
  59993. +
  59994. +fi
  59995. +
  59996. +done
  59997. +
  59998. + for ac_func in confstr sched_setparam sched_setscheduler setegid seteuid vfork
  59999. +do :
  60000. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  60001. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  60002. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  60003. + cat >>confdefs.h <<_ACEOF
  60004. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  60005. +_ACEOF
  60006. +
  60007. +fi
  60008. +done
  60009. +
  60010. +
  60011. + fi
  60012. +
  60013. +
  60014. +
  60015. + GNULIB_POSIX_SPAWNP=1
  60016. +
  60017. +
  60018. +
  60019. +$as_echo "@%:@define GNULIB_TEST_POSIX_SPAWNP 1" >>confdefs.h
  60020. +
  60021. +
  60022. +
  60023. + # Code from module printf-frexp:
  60024. +
  60025. +
  60026. + if test $gl_cv_func_frexp_no_libm = yes; then
  60027. +
  60028. +
  60029. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5
  60030. +$as_echo_n "checking whether frexp works... " >&6; }
  60031. +if ${gl_cv_func_frexp_works+:} false; then :
  60032. + $as_echo_n "(cached) " >&6
  60033. +else
  60034. +
  60035. + if test "$cross_compiling" = yes; then :
  60036. + case "$host_os" in
  60037. + netbsd* | irix* | mingw*) gl_cv_func_frexp_works="guessing no";;
  60038. + *) gl_cv_func_frexp_works="guessing yes";;
  60039. + esac
  60040. +
  60041. +else
  60042. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  60043. +/* end confdefs.h. */
  60044. +
  60045. +#include <float.h>
  60046. +#include <math.h>
  60047. +#include <string.h>
  60048. +/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
  60049. + ICC 10.0 has a bug when optimizing the expression -zero.
  60050. + The expression -DBL_MIN * DBL_MIN does not work when cross-compiling
  60051. + to PowerPC on MacOS X 10.5. */
  60052. +#if defined __hpux || defined __sgi || defined __ICC
  60053. +static double
  60054. +compute_minus_zero (void)
  60055. +{
  60056. + return -DBL_MIN * DBL_MIN;
  60057. +}
  60058. +# define minus_zero compute_minus_zero ()
  60059. +#else
  60060. +double minus_zero = -0.0;
  60061. +#endif
  60062. +int main()
  60063. +{
  60064. + int result = 0;
  60065. + int i;
  60066. + volatile double x;
  60067. + double zero = 0.0;
  60068. + /* Test on denormalized numbers. */
  60069. + for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5)
  60070. + ;
  60071. + if (x > 0.0)
  60072. + {
  60073. + int exp;
  60074. + double y = frexp (x, &exp);
  60075. + /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022.
  60076. + On NetBSD: y = 0.75. Correct: y = 0.5. */
  60077. + if (y != 0.5)
  60078. + result |= 1;
  60079. + }
  60080. + /* Test on infinite numbers. */
  60081. + x = 1.0 / 0.0;
  60082. + {
  60083. + int exp;
  60084. + double y = frexp (x, &exp);
  60085. + if (y != x)
  60086. + result |= 2;
  60087. + }
  60088. + /* Test on negative zero. */
  60089. + x = minus_zero;
  60090. + {
  60091. + int exp;
  60092. + double y = frexp (x, &exp);
  60093. + if (memcmp (&y, &x, sizeof x))
  60094. + result |= 4;
  60095. + }
  60096. + return result;
  60097. +}
  60098. +_ACEOF
  60099. +if ac_fn_c_try_run "$LINENO"; then :
  60100. + gl_cv_func_frexp_works=yes
  60101. +else
  60102. + gl_cv_func_frexp_works=no
  60103. +fi
  60104. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  60105. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  60106. +fi
  60107. +
  60108. +
  60109. +fi
  60110. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexp_works" >&5
  60111. +$as_echo "$gl_cv_func_frexp_works" >&6; }
  60112. +
  60113. + case "$gl_cv_func_frexp_works" in
  60114. + *yes)
  60115. +
  60116. +$as_echo "@%:@define HAVE_FREXP_IN_LIBC 1" >>confdefs.h
  60117. +
  60118. + ;;
  60119. + esac
  60120. + fi
  60121. +
  60122. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexp can be used without linking with libm" >&5
  60123. +$as_echo_n "checking whether ldexp can be used without linking with libm... " >&6; }
  60124. +if ${gl_cv_func_ldexp_no_libm+:} false; then :
  60125. + $as_echo_n "(cached) " >&6
  60126. +else
  60127. +
  60128. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  60129. +/* end confdefs.h. */
  60130. +#include <math.h>
  60131. + double x;
  60132. + int y;
  60133. +int
  60134. +main ()
  60135. +{
  60136. +return ldexp (x, y) < 1;
  60137. + ;
  60138. + return 0;
  60139. +}
  60140. +_ACEOF
  60141. +if ac_fn_c_try_link "$LINENO"; then :
  60142. + gl_cv_func_ldexp_no_libm=yes
  60143. +else
  60144. + gl_cv_func_ldexp_no_libm=no
  60145. +fi
  60146. +rm -f core conftest.err conftest.$ac_objext \
  60147. + conftest$ac_exeext conftest.$ac_ext
  60148. +
  60149. +fi
  60150. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexp_no_libm" >&5
  60151. +$as_echo "$gl_cv_func_ldexp_no_libm" >&6; }
  60152. + if test $gl_cv_func_ldexp_no_libm = yes; then
  60153. +
  60154. +$as_echo "@%:@define HAVE_LDEXP_IN_LIBC 1" >>confdefs.h
  60155. +
  60156. + fi
  60157. +
  60158. + # Code from module printf-frexpl:
  60159. +
  60160. +
  60161. +
  60162. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5
  60163. +$as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; }
  60164. +if ${gl_cv_func_frexpl_no_libm+:} false; then :
  60165. + $as_echo_n "(cached) " >&6
  60166. +else
  60167. +
  60168. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  60169. +/* end confdefs.h. */
  60170. +#include <math.h>
  60171. + long double x;
  60172. +int
  60173. +main ()
  60174. +{
  60175. +int e; return frexpl (x, &e) > 0;
  60176. + ;
  60177. + return 0;
  60178. +}
  60179. +_ACEOF
  60180. +if ac_fn_c_try_link "$LINENO"; then :
  60181. + gl_cv_func_frexpl_no_libm=yes
  60182. +else
  60183. + gl_cv_func_frexpl_no_libm=no
  60184. +fi
  60185. +rm -f core conftest.err conftest.$ac_objext \
  60186. + conftest$ac_exeext conftest.$ac_ext
  60187. +
  60188. +fi
  60189. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_no_libm" >&5
  60190. +$as_echo "$gl_cv_func_frexpl_no_libm" >&6; }
  60191. +
  60192. + if test $gl_cv_func_frexpl_no_libm = yes; then
  60193. +
  60194. +
  60195. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5
  60196. +$as_echo_n "checking whether frexpl works... " >&6; }
  60197. +if ${gl_cv_func_frexpl_works+:} false; then :
  60198. + $as_echo_n "(cached) " >&6
  60199. +else
  60200. +
  60201. + if test "$cross_compiling" = yes; then :
  60202. +
  60203. + case "$host_os" in
  60204. + aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*)
  60205. + gl_cv_func_frexpl_works="guessing no";;
  60206. + *) gl_cv_func_frexpl_works="guessing yes";;
  60207. + esac
  60208. +
  60209. +else
  60210. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  60211. +/* end confdefs.h. */
  60212. +
  60213. +#include <float.h>
  60214. +#include <math.h>
  60215. +/* Override the values of <float.h>, like done in float.in.h. */
  60216. +#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__)
  60217. +# undef LDBL_MIN_EXP
  60218. +# define LDBL_MIN_EXP (-16381)
  60219. +#endif
  60220. +extern long double frexpl (long double, int *);
  60221. +int main()
  60222. +{
  60223. + int result = 0;
  60224. + volatile long double x;
  60225. + /* Test on finite numbers that fails on AIX 5.1. */
  60226. + x = 16.0L;
  60227. + {
  60228. + int exp = -9999;
  60229. + frexpl (x, &exp);
  60230. + if (exp != 5)
  60231. + result |= 1;
  60232. + }
  60233. + /* Test on finite numbers that fails on MacOS X 10.4, because its frexpl
  60234. + function returns an invalid (incorrectly normalized) value: it returns
  60235. + y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 }
  60236. + but the correct result is
  60237. + 0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 } */
  60238. + x = 1.01L;
  60239. + {
  60240. + int exp = -9999;
  60241. + long double y = frexpl (x, &exp);
  60242. + if (!(exp == 1 && y == 0.505L))
  60243. + result |= 2;
  60244. + }
  60245. + /* Test on large finite numbers. This fails on BeOS at i = 16322, while
  60246. + LDBL_MAX_EXP = 16384.
  60247. + In the loop end test, we test x against Infinity, rather than comparing
  60248. + i with LDBL_MAX_EXP, because BeOS <float.h> has a wrong LDBL_MAX_EXP. */
  60249. + {
  60250. + int i;
  60251. + for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L)
  60252. + {
  60253. + int exp = -9999;
  60254. + frexpl (x, &exp);
  60255. + if (exp != i)
  60256. + {
  60257. + result |= 4;
  60258. + break;
  60259. + }
  60260. + }
  60261. + }
  60262. + /* Test on denormalized numbers. */
  60263. + {
  60264. + int i;
  60265. + for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L)
  60266. + ;
  60267. + if (x > 0.0L)
  60268. + {
  60269. + int exp;
  60270. + long double y = frexpl (x, &exp);
  60271. + /* On machines with IEEE854 arithmetic: x = 1.68105e-4932,
  60272. + exp = -16382, y = 0.5. On MacOS X 10.5: exp = -16384, y = 0.5. */
  60273. + if (exp != LDBL_MIN_EXP - 1)
  60274. + result |= 8;
  60275. + }
  60276. + }
  60277. + /* Test on infinite numbers. */
  60278. + x = 1.0L / 0.0L;
  60279. + {
  60280. + int exp;
  60281. + long double y = frexpl (x, &exp);
  60282. + if (y != x)
  60283. + result |= 16;
  60284. + }
  60285. + return result;
  60286. +}
  60287. +_ACEOF
  60288. +if ac_fn_c_try_run "$LINENO"; then :
  60289. + gl_cv_func_frexpl_works=yes
  60290. +else
  60291. + gl_cv_func_frexpl_works=no
  60292. +fi
  60293. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  60294. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  60295. +fi
  60296. +
  60297. +
  60298. +fi
  60299. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_frexpl_works" >&5
  60300. +$as_echo "$gl_cv_func_frexpl_works" >&6; }
  60301. +
  60302. + case "$gl_cv_func_frexpl_works" in
  60303. + *yes) gl_func_frexpl_no_libm=yes ;;
  60304. + *) gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;;
  60305. + esac
  60306. + else
  60307. + gl_func_frexpl_no_libm=no
  60308. + REPLACE_FREXPL=1
  60309. + fi
  60310. + if test $gl_func_frexpl_no_libm = yes; then
  60311. +
  60312. +$as_echo "@%:@define HAVE_FREXPL_IN_LIBC 1" >>confdefs.h
  60313. +
  60314. + ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include <math.h>
  60315. +"
  60316. +if test "x$ac_cv_have_decl_frexpl" = xyes; then :
  60317. +
  60318. +else
  60319. + HAVE_DECL_FREXPL=0
  60320. +fi
  60321. +
  60322. + fi
  60323. +
  60324. +
  60325. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl() can be used without linking with libm" >&5
  60326. +$as_echo_n "checking whether ldexpl() can be used without linking with libm... " >&6; }
  60327. +if ${gl_cv_func_ldexpl_no_libm+:} false; then :
  60328. + $as_echo_n "(cached) " >&6
  60329. +else
  60330. +
  60331. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  60332. +/* end confdefs.h. */
  60333. +#include <math.h>
  60334. + long double x;
  60335. +int
  60336. +main ()
  60337. +{
  60338. +return ldexpl (x, -1) > 0;
  60339. + ;
  60340. + return 0;
  60341. +}
  60342. +_ACEOF
  60343. +if ac_fn_c_try_link "$LINENO"; then :
  60344. + gl_cv_func_ldexpl_no_libm=yes
  60345. +else
  60346. + gl_cv_func_ldexpl_no_libm=no
  60347. +fi
  60348. +rm -f core conftest.err conftest.$ac_objext \
  60349. + conftest$ac_exeext conftest.$ac_ext
  60350. +
  60351. +fi
  60352. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_no_libm" >&5
  60353. +$as_echo "$gl_cv_func_ldexpl_no_libm" >&6; }
  60354. +
  60355. + if test $gl_cv_func_ldexpl_no_libm = yes; then
  60356. +
  60357. +
  60358. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl works" >&5
  60359. +$as_echo_n "checking whether ldexpl works... " >&6; }
  60360. +if ${gl_cv_func_ldexpl_works+:} false; then :
  60361. + $as_echo_n "(cached) " >&6
  60362. +else
  60363. +
  60364. + if test "$cross_compiling" = yes; then :
  60365. +
  60366. + case "$host_os" in
  60367. + aix | aix[3-6]*) gl_cv_func_ldexpl_works="guessing no";;
  60368. + *) gl_cv_func_ldexpl_works="guessing yes";;
  60369. + esac
  60370. +
  60371. +else
  60372. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  60373. +/* end confdefs.h. */
  60374. +
  60375. +#include <math.h>
  60376. +extern long double ldexpl (long double, int);
  60377. +int main()
  60378. +{
  60379. + int result = 0;
  60380. + {
  60381. + volatile long double x = 1.0;
  60382. + volatile long double y = ldexpl (x, -1);
  60383. + if (y != 0.5L)
  60384. + result |= 1;
  60385. + }
  60386. + {
  60387. + volatile long double x = 1.73205L;
  60388. + volatile long double y = ldexpl (x, 0);
  60389. + if (y != x)
  60390. + result |= 2;
  60391. + }
  60392. + return result;
  60393. +}
  60394. +_ACEOF
  60395. +if ac_fn_c_try_run "$LINENO"; then :
  60396. + gl_cv_func_ldexpl_works=yes
  60397. +else
  60398. + gl_cv_func_ldexpl_works=no
  60399. +fi
  60400. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  60401. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  60402. +fi
  60403. +
  60404. +
  60405. +fi
  60406. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ldexpl_works" >&5
  60407. +$as_echo "$gl_cv_func_ldexpl_works" >&6; }
  60408. +
  60409. + case "$gl_cv_func_ldexpl_works" in
  60410. + *yes)
  60411. +
  60412. +$as_echo "@%:@define HAVE_LDEXPL_IN_LIBC 1" >>confdefs.h
  60413. +
  60414. + ac_fn_c_check_decl "$LINENO" "ldexpl" "ac_cv_have_decl_ldexpl" "#include <math.h>
  60415. +"
  60416. +if test "x$ac_cv_have_decl_ldexpl" = xyes; then :
  60417. +
  60418. +else
  60419. + HAVE_DECL_LDEXPL=0
  60420. +fi
  60421. +
  60422. + ;;
  60423. + esac
  60424. + fi
  60425. +
  60426. + # Code from module printf-safe:
  60427. +
  60428. + # Code from module progname:
  60429. + ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
  60430. +"
  60431. +if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then :
  60432. + ac_have_decl=1
  60433. +else
  60434. + ac_have_decl=0
  60435. +fi
  60436. +
  60437. +cat >>confdefs.h <<_ACEOF
  60438. +@%:@define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl
  60439. +_ACEOF
  60440. +
  60441. + ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
  60442. +"
  60443. +if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then :
  60444. + ac_have_decl=1
  60445. +else
  60446. + ac_have_decl=0
  60447. +fi
  60448. +
  60449. +cat >>confdefs.h <<_ACEOF
  60450. +@%:@define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl
  60451. +_ACEOF
  60452. +
  60453. + # Code from module quotearg:
  60454. +
  60455. +
  60456. +
  60457. +
  60458. +
  60459. +
  60460. +
  60461. +
  60462. +
  60463. + M4_LIBOBJS="$M4_LIBOBJS quotearg.$ac_objext"
  60464. +
  60465. +
  60466. + # Code from module quotearg-simple:
  60467. + # Code from module rawmemchr:
  60468. +
  60469. +
  60470. +
  60471. +
  60472. +
  60473. +
  60474. +
  60475. +
  60476. +
  60477. +
  60478. +
  60479. +
  60480. + for ac_func in rawmemchr
  60481. +do :
  60482. + ac_fn_c_check_func "$LINENO" "rawmemchr" "ac_cv_func_rawmemchr"
  60483. +if test "x$ac_cv_func_rawmemchr" = xyes; then :
  60484. + cat >>confdefs.h <<_ACEOF
  60485. +@%:@define HAVE_RAWMEMCHR 1
  60486. +_ACEOF
  60487. +
  60488. +else
  60489. +
  60490. + M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext"
  60491. +
  60492. +fi
  60493. +done
  60494. +
  60495. +
  60496. + if test $ac_cv_func_rawmemchr = no; then
  60497. + HAVE_RAWMEMCHR=0
  60498. + :
  60499. + fi
  60500. +
  60501. +
  60502. +
  60503. +
  60504. + GNULIB_RAWMEMCHR=1
  60505. +
  60506. +
  60507. +
  60508. +$as_echo "@%:@define GNULIB_TEST_RAWMEMCHR 1" >>confdefs.h
  60509. +
  60510. +
  60511. +
  60512. + # Code from module readlink:
  60513. +
  60514. +
  60515. +
  60516. + if test $ac_cv_func_readlink = no; then
  60517. + HAVE_READLINK=0
  60518. +
  60519. +
  60520. +
  60521. +
  60522. +
  60523. +
  60524. +
  60525. +
  60526. + M4_LIBOBJS="$M4_LIBOBJS readlink.$ac_objext"
  60527. +
  60528. +
  60529. + :
  60530. +
  60531. + else
  60532. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink signature is correct" >&5
  60533. +$as_echo_n "checking whether readlink signature is correct... " >&6; }
  60534. +if ${gl_cv_decl_readlink_works+:} false; then :
  60535. + $as_echo_n "(cached) " >&6
  60536. +else
  60537. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  60538. +/* end confdefs.h. */
  60539. +#include <unistd.h>
  60540. + /* Cause compilation failure if original declaration has wrong type. */
  60541. + ssize_t readlink (const char *, char *, size_t);
  60542. +int
  60543. +main ()
  60544. +{
  60545. +
  60546. + ;
  60547. + return 0;
  60548. +}
  60549. +_ACEOF
  60550. +if ac_fn_c_try_compile "$LINENO"; then :
  60551. + gl_cv_decl_readlink_works=yes
  60552. +else
  60553. + gl_cv_decl_readlink_works=no
  60554. +fi
  60555. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  60556. +fi
  60557. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_readlink_works" >&5
  60558. +$as_echo "$gl_cv_decl_readlink_works" >&6; }
  60559. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink handles trailing slash correctly" >&5
  60560. +$as_echo_n "checking whether readlink handles trailing slash correctly... " >&6; }
  60561. +if ${gl_cv_func_readlink_works+:} false; then :
  60562. + $as_echo_n "(cached) " >&6
  60563. +else
  60564. + # We have readlink, so assume ln -s works.
  60565. + ln -s conftest.no-such conftest.link
  60566. + ln -s conftest.link conftest.lnk2
  60567. + if test "$cross_compiling" = yes; then :
  60568. + gl_cv_func_readlink_works="guessing no"
  60569. +else
  60570. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  60571. +/* end confdefs.h. */
  60572. +#include <unistd.h>
  60573. +
  60574. +int
  60575. +main ()
  60576. +{
  60577. +char buf[20];
  60578. + return readlink ("conftest.lnk2/", buf, sizeof buf) != -1;
  60579. + ;
  60580. + return 0;
  60581. +}
  60582. +_ACEOF
  60583. +if ac_fn_c_try_run "$LINENO"; then :
  60584. + gl_cv_func_readlink_works=yes
  60585. +else
  60586. + gl_cv_func_readlink_works=no
  60587. +fi
  60588. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  60589. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  60590. +fi
  60591. +
  60592. + rm -f conftest.link conftest.lnk2
  60593. +fi
  60594. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_readlink_works" >&5
  60595. +$as_echo "$gl_cv_func_readlink_works" >&6; }
  60596. + if test "$gl_cv_func_readlink_works" != yes; then
  60597. +
  60598. +$as_echo "@%:@define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h
  60599. +
  60600. + REPLACE_READLINK=1
  60601. +
  60602. +
  60603. +
  60604. +
  60605. +
  60606. +
  60607. +
  60608. +
  60609. + M4_LIBOBJS="$M4_LIBOBJS readlink.$ac_objext"
  60610. +
  60611. + elif test "$gl_cv_decl_readlink_works" != yes; then
  60612. + REPLACE_READLINK=1
  60613. +
  60614. +
  60615. +
  60616. +
  60617. +
  60618. +
  60619. +
  60620. +
  60621. + M4_LIBOBJS="$M4_LIBOBJS readlink.$ac_objext"
  60622. +
  60623. + fi
  60624. + fi
  60625. +
  60626. +
  60627. +
  60628. +
  60629. + GNULIB_READLINK=1
  60630. +
  60631. +
  60632. +
  60633. +$as_echo "@%:@define GNULIB_TEST_READLINK 1" >>confdefs.h
  60634. +
  60635. +
  60636. +
  60637. + # Code from module regex:
  60638. +
  60639. +
  60640. +@%:@ Check whether --with-included-regex was given.
  60641. +if test "${with_included_regex+set}" = set; then :
  60642. + withval=$with_included_regex;
  60643. +fi
  60644. +
  60645. +
  60646. + case $with_included_regex in #(
  60647. + yes|no) ac_use_included_regex=$with_included_regex
  60648. + ;;
  60649. + '')
  60650. + # If the system regex support is good enough that it passes the
  60651. + # following run test, then default to *not* using the included regex.c.
  60652. + # If cross compiling, assume the test would fail and use the included
  60653. + # regex.c.
  60654. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working re_compile_pattern" >&5
  60655. +$as_echo_n "checking for working re_compile_pattern... " >&6; }
  60656. +if ${gl_cv_func_re_compile_pattern_working+:} false; then :
  60657. + $as_echo_n "(cached) " >&6
  60658. +else
  60659. + if test "$cross_compiling" = yes; then :
  60660. + gl_cv_func_re_compile_pattern_working=no
  60661. +else
  60662. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  60663. +/* end confdefs.h. */
  60664. +$ac_includes_default
  60665. + #include <locale.h>
  60666. + #include <limits.h>
  60667. + #include <regex.h>
  60668. +
  60669. +int
  60670. +main ()
  60671. +{
  60672. +int result = 0;
  60673. + static struct re_pattern_buffer regex;
  60674. + unsigned char folded_chars[UCHAR_MAX + 1];
  60675. + int i;
  60676. + const char *s;
  60677. + struct re_registers regs;
  60678. +
  60679. + /* http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html
  60680. + This test needs valgrind to catch the bug on Debian
  60681. + GNU/Linux 3.1 x86, but it might catch the bug better
  60682. + on other platforms and it shouldn't hurt to try the
  60683. + test here. */
  60684. + if (setlocale (LC_ALL, "en_US.UTF-8"))
  60685. + {
  60686. + static char const pat[] = "insert into";
  60687. + static char const data[] =
  60688. + "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK";
  60689. + re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE
  60690. + | RE_ICASE);
  60691. + memset (&regex, 0, sizeof regex);
  60692. + s = re_compile_pattern (pat, sizeof pat - 1, &regex);
  60693. + if (s)
  60694. + result |= 1;
  60695. + else if (re_search (&regex, data, sizeof data - 1,
  60696. + 0, sizeof data - 1, &regs)
  60697. + != -1)
  60698. + result |= 1;
  60699. + if (! setlocale (LC_ALL, "C"))
  60700. + return 1;
  60701. + }
  60702. +
  60703. + /* This test is from glibc bug 3957, reported by Andrew Mackey. */
  60704. + re_set_syntax (RE_SYNTAX_EGREP | RE_HAT_LISTS_NOT_NEWLINE);
  60705. + memset (&regex, 0, sizeof regex);
  60706. + s = re_compile_pattern ("a[^x]b", 6, &regex);
  60707. + if (s)
  60708. + result |= 2;
  60709. + /* This should fail, but succeeds for glibc-2.5. */
  60710. + else if (re_search (&regex, "a\nb", 3, 0, 3, &regs) != -1)
  60711. + result |= 2;
  60712. +
  60713. + /* This regular expression is from Spencer ere test number 75
  60714. + in grep-2.3. */
  60715. + re_set_syntax (RE_SYNTAX_POSIX_EGREP);
  60716. + memset (&regex, 0, sizeof regex);
  60717. + for (i = 0; i <= UCHAR_MAX; i++)
  60718. + folded_chars[i] = i;
  60719. + regex.translate = folded_chars;
  60720. + s = re_compile_pattern ("a[[:@:>@:]]b\n", 11, &regex);
  60721. + /* This should fail with _Invalid character class name_ error. */
  60722. + if (!s)
  60723. + result |= 4;
  60724. +
  60725. + /* Ensure that [b-a] is diagnosed as invalid, when
  60726. + using RE_NO_EMPTY_RANGES. */
  60727. + re_set_syntax (RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES);
  60728. + memset (&regex, 0, sizeof regex);
  60729. + s = re_compile_pattern ("a[b-a]", 6, &regex);
  60730. + if (s == 0)
  60731. + result |= 8;
  60732. +
  60733. + /* This should succeed, but does not for glibc-2.1.3. */
  60734. + memset (&regex, 0, sizeof regex);
  60735. + s = re_compile_pattern ("{1", 2, &regex);
  60736. + if (s)
  60737. + result |= 8;
  60738. +
  60739. + /* The following example is derived from a problem report
  60740. + against gawk from Jorge Stolfi <stolfi@ic.unicamp.br>. */
  60741. + memset (&regex, 0, sizeof regex);
  60742. + s = re_compile_pattern ("[an\371]*n", 7, &regex);
  60743. + if (s)
  60744. + result |= 8;
  60745. + /* This should match, but does not for glibc-2.2.1. */
  60746. + else if (re_match (&regex, "an", 2, 0, &regs) != 2)
  60747. + result |= 8;
  60748. +
  60749. + memset (&regex, 0, sizeof regex);
  60750. + s = re_compile_pattern ("x", 1, &regex);
  60751. + if (s)
  60752. + result |= 8;
  60753. + /* glibc-2.2.93 does not work with a negative RANGE argument. */
  60754. + else if (re_search (&regex, "wxy", 3, 2, -2, &regs) != 1)
  60755. + result |= 8;
  60756. +
  60757. + /* The version of regex.c in older versions of gnulib
  60758. + ignored RE_ICASE. Detect that problem too. */
  60759. + re_set_syntax (RE_SYNTAX_EMACS | RE_ICASE);
  60760. + memset (&regex, 0, sizeof regex);
  60761. + s = re_compile_pattern ("x", 1, &regex);
  60762. + if (s)
  60763. + result |= 16;
  60764. + else if (re_search (&regex, "WXY", 3, 0, 3, &regs) < 0)
  60765. + result |= 16;
  60766. +
  60767. + /* Catch a bug reported by Vin Shelton in
  60768. + http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00089.html
  60769. + */
  60770. + re_set_syntax (RE_SYNTAX_POSIX_BASIC
  60771. + & ~RE_CONTEXT_INVALID_DUP
  60772. + & ~RE_NO_EMPTY_RANGES);
  60773. + memset (&regex, 0, sizeof regex);
  60774. + s = re_compile_pattern ("[[:alnum:]_-]\\\\+$", 16, &regex);
  60775. + if (s)
  60776. + result |= 32;
  60777. +
  60778. + /* REG_STARTEND was added to glibc on 2004-01-15.
  60779. + Reject older versions. */
  60780. + if (! REG_STARTEND)
  60781. + result |= 64;
  60782. +
  60783. +#if 0
  60784. + /* It would be nice to reject hosts whose regoff_t values are too
  60785. + narrow (including glibc on hosts with 64-bit ptrdiff_t and
  60786. + 32-bit int), but we should wait until glibc implements this
  60787. + feature. Otherwise, support for equivalence classes and
  60788. + multibyte collation symbols would always be broken except
  60789. + when compiling --without-included-regex. */
  60790. + if (sizeof (regoff_t) < sizeof (ptrdiff_t)
  60791. + || sizeof (regoff_t) < sizeof (ssize_t))
  60792. + result |= 64;
  60793. +#endif
  60794. +
  60795. + return result;
  60796. +
  60797. + ;
  60798. + return 0;
  60799. +}
  60800. +_ACEOF
  60801. +if ac_fn_c_try_run "$LINENO"; then :
  60802. + gl_cv_func_re_compile_pattern_working=yes
  60803. +else
  60804. + gl_cv_func_re_compile_pattern_working=no
  60805. +fi
  60806. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  60807. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  60808. +fi
  60809. +
  60810. +fi
  60811. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_re_compile_pattern_working" >&5
  60812. +$as_echo "$gl_cv_func_re_compile_pattern_working" >&6; }
  60813. + case $gl_cv_func_re_compile_pattern_working in #(
  60814. + yes) ac_use_included_regex=no;; #(
  60815. + no) ac_use_included_regex=yes;;
  60816. + esac
  60817. + ;;
  60818. + *) as_fn_error $? "Invalid value for --with-included-regex: $with_included_regex" "$LINENO" 5
  60819. + ;;
  60820. + esac
  60821. +
  60822. + if test $ac_use_included_regex = yes; then
  60823. +
  60824. +$as_echo "@%:@define _REGEX_LARGE_OFFSETS 1" >>confdefs.h
  60825. +
  60826. +
  60827. +$as_echo "@%:@define re_syntax_options rpl_re_syntax_options" >>confdefs.h
  60828. +
  60829. +
  60830. +$as_echo "@%:@define re_set_syntax rpl_re_set_syntax" >>confdefs.h
  60831. +
  60832. +
  60833. +$as_echo "@%:@define re_compile_pattern rpl_re_compile_pattern" >>confdefs.h
  60834. +
  60835. +
  60836. +$as_echo "@%:@define re_compile_fastmap rpl_re_compile_fastmap" >>confdefs.h
  60837. +
  60838. +
  60839. +$as_echo "@%:@define re_search rpl_re_search" >>confdefs.h
  60840. +
  60841. +
  60842. +$as_echo "@%:@define re_search_2 rpl_re_search_2" >>confdefs.h
  60843. +
  60844. +
  60845. +$as_echo "@%:@define re_match rpl_re_match" >>confdefs.h
  60846. +
  60847. +
  60848. +$as_echo "@%:@define re_match_2 rpl_re_match_2" >>confdefs.h
  60849. +
  60850. +
  60851. +$as_echo "@%:@define re_set_registers rpl_re_set_registers" >>confdefs.h
  60852. +
  60853. +
  60854. +$as_echo "@%:@define re_comp rpl_re_comp" >>confdefs.h
  60855. +
  60856. +
  60857. +$as_echo "@%:@define re_exec rpl_re_exec" >>confdefs.h
  60858. +
  60859. +
  60860. +$as_echo "@%:@define regcomp rpl_regcomp" >>confdefs.h
  60861. +
  60862. +
  60863. +$as_echo "@%:@define regexec rpl_regexec" >>confdefs.h
  60864. +
  60865. +
  60866. +$as_echo "@%:@define regerror rpl_regerror" >>confdefs.h
  60867. +
  60868. +
  60869. +$as_echo "@%:@define regfree rpl_regfree" >>confdefs.h
  60870. +
  60871. +
  60872. +
  60873. +
  60874. +
  60875. +
  60876. +
  60877. +
  60878. +
  60879. + M4_LIBOBJS="$M4_LIBOBJS regex.$ac_objext"
  60880. +
  60881. +
  60882. +
  60883. +
  60884. +
  60885. +
  60886. + for ac_header in libintl.h
  60887. +do :
  60888. + ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
  60889. +if test "x$ac_cv_header_libintl_h" = xyes; then :
  60890. + cat >>confdefs.h <<_ACEOF
  60891. +@%:@define HAVE_LIBINTL_H 1
  60892. +_ACEOF
  60893. +
  60894. +fi
  60895. +
  60896. +done
  60897. +
  60898. +
  60899. + ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include <ctype.h>
  60900. +"
  60901. +if test "x$ac_cv_have_decl_isblank" = xyes; then :
  60902. + ac_have_decl=1
  60903. +else
  60904. + ac_have_decl=0
  60905. +fi
  60906. +
  60907. +cat >>confdefs.h <<_ACEOF
  60908. +@%:@define HAVE_DECL_ISBLANK $ac_have_decl
  60909. +_ACEOF
  60910. +
  60911. +
  60912. + fi
  60913. +
  60914. + # Code from module rename:
  60915. +
  60916. +
  60917. +
  60918. +
  60919. +
  60920. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on destination" >&5
  60921. +$as_echo_n "checking whether rename honors trailing slash on destination... " >&6; }
  60922. +if ${gl_cv_func_rename_slash_dst_works+:} false; then :
  60923. + $as_echo_n "(cached) " >&6
  60924. +else
  60925. + rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk
  60926. + touch conftest.f && touch conftest.f1 && mkdir conftest.d1 ||
  60927. + as_fn_error $? "cannot create temporary files" "$LINENO" 5
  60928. + # Assume that if we have lstat, we can also check symlinks.
  60929. + if test $ac_cv_func_lstat = yes; then
  60930. + ln -s conftest.f conftest.lnk
  60931. + fi
  60932. + if test "$cross_compiling" = yes; then :
  60933. + gl_cv_func_rename_slash_dst_works="guessing no"
  60934. +else
  60935. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  60936. +/* end confdefs.h. */
  60937. +
  60938. +# include <stdio.h>
  60939. +# include <stdlib.h>
  60940. +
  60941. +int
  60942. +main ()
  60943. +{
  60944. +int result = 0;
  60945. + if (rename ("conftest.f1", "conftest.f2/") == 0)
  60946. + result |= 1;
  60947. + if (rename ("conftest.d1", "conftest.d2/") != 0)
  60948. + result |= 2;
  60949. +#if HAVE_LSTAT
  60950. + if (rename ("conftest.f", "conftest.lnk/") == 0)
  60951. + result |= 4;
  60952. +#endif
  60953. + return result;
  60954. +
  60955. + ;
  60956. + return 0;
  60957. +}
  60958. +_ACEOF
  60959. +if ac_fn_c_try_run "$LINENO"; then :
  60960. + gl_cv_func_rename_slash_dst_works=yes
  60961. +else
  60962. + gl_cv_func_rename_slash_dst_works=no
  60963. +fi
  60964. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  60965. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  60966. +fi
  60967. +
  60968. + rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk
  60969. +
  60970. +fi
  60971. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_slash_dst_works" >&5
  60972. +$as_echo "$gl_cv_func_rename_slash_dst_works" >&6; }
  60973. + if test "x$gl_cv_func_rename_slash_dst_works" != xyes; then
  60974. +
  60975. +
  60976. +
  60977. +
  60978. +
  60979. +
  60980. +
  60981. +
  60982. + M4_LIBOBJS="$M4_LIBOBJS rename.$ac_objext"
  60983. +
  60984. + REPLACE_RENAME=1
  60985. +
  60986. +$as_echo "@%:@define RENAME_TRAILING_SLASH_DEST_BUG 1" >>confdefs.h
  60987. +
  60988. + fi
  60989. +
  60990. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on source" >&5
  60991. +$as_echo_n "checking whether rename honors trailing slash on source... " >&6; }
  60992. +if ${gl_cv_func_rename_slash_src_works+:} false; then :
  60993. + $as_echo_n "(cached) " >&6
  60994. +else
  60995. + rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk
  60996. + touch conftest.f && touch conftest.f1 && mkdir conftest.d1 ||
  60997. + as_fn_error $? "cannot create temporary files" "$LINENO" 5
  60998. + # Assume that if we have lstat, we can also check symlinks.
  60999. + if test $ac_cv_func_lstat = yes; then
  61000. + ln -s conftest.f conftest.lnk
  61001. + fi
  61002. + if test "$cross_compiling" = yes; then :
  61003. + gl_cv_func_rename_slash_src_works="guessing no"
  61004. +else
  61005. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  61006. +/* end confdefs.h. */
  61007. +
  61008. +# include <stdio.h>
  61009. +# include <stdlib.h>
  61010. +
  61011. +int
  61012. +main ()
  61013. +{
  61014. +int result = 0;
  61015. + if (rename ("conftest.f1/", "conftest.d3") == 0)
  61016. + result |= 1;
  61017. + if (rename ("conftest.d1/", "conftest.d2") != 0)
  61018. + result |= 2;
  61019. +#if HAVE_LSTAT
  61020. + if (rename ("conftest.lnk/", "conftest.f") == 0)
  61021. + result |= 4;
  61022. +#endif
  61023. + return result;
  61024. +
  61025. + ;
  61026. + return 0;
  61027. +}
  61028. +_ACEOF
  61029. +if ac_fn_c_try_run "$LINENO"; then :
  61030. + gl_cv_func_rename_slash_src_works=yes
  61031. +else
  61032. + gl_cv_func_rename_slash_src_works=no
  61033. +fi
  61034. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  61035. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  61036. +fi
  61037. +
  61038. + rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk
  61039. +
  61040. +fi
  61041. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_slash_src_works" >&5
  61042. +$as_echo "$gl_cv_func_rename_slash_src_works" >&6; }
  61043. + if test "x$gl_cv_func_rename_slash_src_works" != xyes; then
  61044. +
  61045. +
  61046. +
  61047. +
  61048. +
  61049. +
  61050. +
  61051. +
  61052. + M4_LIBOBJS="$M4_LIBOBJS rename.$ac_objext"
  61053. +
  61054. + REPLACE_RENAME=1
  61055. +
  61056. +$as_echo "@%:@define RENAME_TRAILING_SLASH_SOURCE_BUG 1" >>confdefs.h
  61057. +
  61058. + fi
  61059. +
  61060. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages hard links correctly" >&5
  61061. +$as_echo_n "checking whether rename manages hard links correctly... " >&6; }
  61062. +if ${gl_cv_func_rename_link_works+:} false; then :
  61063. + $as_echo_n "(cached) " >&6
  61064. +else
  61065. + rm -rf conftest.f conftest.f1
  61066. + if touch conftest.f && ln conftest.f conftest.f1 &&
  61067. + set x `ls -i conftest.f conftest.f1` && test "" = ""; then
  61068. + if test "$cross_compiling" = yes; then :
  61069. + gl_cv_func_rename_link_works="guessing no"
  61070. +else
  61071. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  61072. +/* end confdefs.h. */
  61073. +
  61074. +# include <stdio.h>
  61075. +# include <stdlib.h>
  61076. +# include <unistd.h>
  61077. +
  61078. +int
  61079. +main ()
  61080. +{
  61081. +int result = 0;
  61082. + if (rename ("conftest.f", "conftest.f1"))
  61083. + result |= 1;
  61084. + if (unlink ("conftest.f1"))
  61085. + result |= 2;
  61086. + if (rename ("conftest.f", "conftest.f"))
  61087. + result |= 4;
  61088. + if (rename ("conftest.f1", "conftest.f1") == 0)
  61089. + result |= 8;
  61090. + return result;
  61091. +
  61092. + ;
  61093. + return 0;
  61094. +}
  61095. +_ACEOF
  61096. +if ac_fn_c_try_run "$LINENO"; then :
  61097. + gl_cv_func_rename_link_works=yes
  61098. +else
  61099. + gl_cv_func_rename_link_works=no
  61100. +fi
  61101. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  61102. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  61103. +fi
  61104. +
  61105. + else
  61106. + gl_cv_func_rename_link_works="guessing no"
  61107. + fi
  61108. + rm -rf conftest.f conftest.f1
  61109. +
  61110. +fi
  61111. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_link_works" >&5
  61112. +$as_echo "$gl_cv_func_rename_link_works" >&6; }
  61113. + if test "x$gl_cv_func_rename_link_works" != xyes; then
  61114. +
  61115. +
  61116. +
  61117. +
  61118. +
  61119. +
  61120. +
  61121. +
  61122. + M4_LIBOBJS="$M4_LIBOBJS rename.$ac_objext"
  61123. +
  61124. + REPLACE_RENAME=1
  61125. +
  61126. +$as_echo "@%:@define RENAME_HARD_LINK_BUG 1" >>confdefs.h
  61127. +
  61128. + fi
  61129. +
  61130. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages existing destinations correctly" >&5
  61131. +$as_echo_n "checking whether rename manages existing destinations correctly... " >&6; }
  61132. +if ${gl_cv_func_rename_dest_works+:} false; then :
  61133. + $as_echo_n "(cached) " >&6
  61134. +else
  61135. + rm -rf conftest.f conftest.d1 conftest.d2
  61136. + touch conftest.f && mkdir conftest.d1 conftest.d2 ||
  61137. + as_fn_error $? "cannot create temporary files" "$LINENO" 5
  61138. + if test "$cross_compiling" = yes; then :
  61139. + gl_cv_func_rename_dest_works="guessing no"
  61140. +else
  61141. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  61142. +/* end confdefs.h. */
  61143. +
  61144. +# include <stdio.h>
  61145. +# include <stdlib.h>
  61146. +
  61147. +int
  61148. +main ()
  61149. +{
  61150. +int result = 0;
  61151. + if (rename ("conftest.d1", "conftest.d2") != 0)
  61152. + result |= 1;
  61153. + if (rename ("conftest.d2", "conftest.f") == 0)
  61154. + result |= 2;
  61155. + return result;
  61156. +
  61157. + ;
  61158. + return 0;
  61159. +}
  61160. +_ACEOF
  61161. +if ac_fn_c_try_run "$LINENO"; then :
  61162. + gl_cv_func_rename_dest_works=yes
  61163. +else
  61164. + gl_cv_func_rename_dest_works=no
  61165. +fi
  61166. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  61167. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  61168. +fi
  61169. +
  61170. + rm -rf conftest.f conftest.d1 conftest.d2
  61171. +
  61172. +fi
  61173. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rename_dest_works" >&5
  61174. +$as_echo "$gl_cv_func_rename_dest_works" >&6; }
  61175. + if test "x$gl_cv_func_rename_dest_works" != xyes; then
  61176. +
  61177. +
  61178. +
  61179. +
  61180. +
  61181. +
  61182. +
  61183. +
  61184. + M4_LIBOBJS="$M4_LIBOBJS rename.$ac_objext"
  61185. +
  61186. + REPLACE_RENAME=1
  61187. +
  61188. +$as_echo "@%:@define RENAME_DEST_EXISTS_BUG 1" >>confdefs.h
  61189. +
  61190. + fi
  61191. +
  61192. +
  61193. +
  61194. +
  61195. + GNULIB_RENAME=1
  61196. +
  61197. +
  61198. +
  61199. +$as_echo "@%:@define GNULIB_TEST_RENAME 1" >>confdefs.h
  61200. +
  61201. +
  61202. +
  61203. + # Code from module rmdir:
  61204. +
  61205. +
  61206. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rmdir works" >&5
  61207. +$as_echo_n "checking whether rmdir works... " >&6; }
  61208. +if ${gl_cv_func_rmdir_works+:} false; then :
  61209. + $as_echo_n "(cached) " >&6
  61210. +else
  61211. + mkdir conftest.dir
  61212. + touch conftest.file
  61213. + if test "$cross_compiling" = yes; then :
  61214. + gl_cv_func_rmdir_works="guessing no"
  61215. +else
  61216. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  61217. +/* end confdefs.h. */
  61218. +#include <stdio.h>
  61219. + #include <errno.h>
  61220. + #include <unistd.h>
  61221. +
  61222. +int
  61223. +main ()
  61224. +{
  61225. +int result = 0;
  61226. + if (!rmdir ("conftest.file/"))
  61227. + result |= 1;
  61228. + else if (errno != ENOTDIR)
  61229. + result |= 2;
  61230. + if (!rmdir ("conftest.dir/./"))
  61231. + result |= 4;
  61232. + return result;
  61233. +
  61234. + ;
  61235. + return 0;
  61236. +}
  61237. +_ACEOF
  61238. +if ac_fn_c_try_run "$LINENO"; then :
  61239. + gl_cv_func_rmdir_works=yes
  61240. +else
  61241. + gl_cv_func_rmdir_works=no
  61242. +fi
  61243. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  61244. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  61245. +fi
  61246. +
  61247. + rm -rf conftest.dir conftest.file
  61248. +fi
  61249. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_rmdir_works" >&5
  61250. +$as_echo "$gl_cv_func_rmdir_works" >&6; }
  61251. + if test x"$gl_cv_func_rmdir_works" != xyes; then
  61252. + REPLACE_RMDIR=1
  61253. +
  61254. +
  61255. +
  61256. +
  61257. +
  61258. +
  61259. +
  61260. +
  61261. + M4_LIBOBJS="$M4_LIBOBJS rmdir.$ac_objext"
  61262. +
  61263. + fi
  61264. +
  61265. +
  61266. +
  61267. +
  61268. + GNULIB_RMDIR=1
  61269. +
  61270. +
  61271. +
  61272. +$as_echo "@%:@define GNULIB_TEST_RMDIR 1" >>confdefs.h
  61273. +
  61274. +
  61275. +
  61276. + # Code from module same-inode:
  61277. + # Code from module sched:
  61278. +
  61279. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  61280. +/* end confdefs.h. */
  61281. +
  61282. + #include <sched.h>
  61283. + struct sched_param a;
  61284. + int b[] = { SCHED_FIFO, SCHED_RR, SCHED_OTHER };
  61285. +
  61286. +int
  61287. +main ()
  61288. +{
  61289. +
  61290. + ;
  61291. + return 0;
  61292. +}
  61293. +_ACEOF
  61294. +if ac_fn_c_try_compile "$LINENO"; then :
  61295. + SCHED_H=''
  61296. +else
  61297. + SCHED_H='sched.h'
  61298. +
  61299. +
  61300. +
  61301. +
  61302. +
  61303. +
  61304. +
  61305. +
  61306. +
  61307. +
  61308. + if test $gl_cv_have_include_next = yes; then
  61309. + gl_cv_next_sched_h='<'sched.h'>'
  61310. + else
  61311. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sched.h>" >&5
  61312. +$as_echo_n "checking absolute name of <sched.h>... " >&6; }
  61313. +if ${gl_cv_next_sched_h+:} false; then :
  61314. + $as_echo_n "(cached) " >&6
  61315. +else
  61316. +
  61317. + if test $ac_cv_header_sched_h = yes; then
  61318. +
  61319. +
  61320. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  61321. +/* end confdefs.h. */
  61322. +#include <sched.h>
  61323. +
  61324. +_ACEOF
  61325. + case "$host_os" in
  61326. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  61327. + *) gl_absname_cpp="$ac_cpp" ;;
  61328. + esac
  61329. + gl_cv_next_sched_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  61330. + sed -n '\#/sched.h#{
  61331. + s#.*"\(.*/sched.h\)".*#\1#
  61332. + s#^/[^/]#//&#
  61333. + p
  61334. + q
  61335. + }'`'"'
  61336. + else
  61337. + gl_cv_next_sched_h='<'sched.h'>'
  61338. + fi
  61339. +
  61340. +
  61341. +fi
  61342. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sched_h" >&5
  61343. +$as_echo "$gl_cv_next_sched_h" >&6; }
  61344. + fi
  61345. + NEXT_SCHED_H=$gl_cv_next_sched_h
  61346. +
  61347. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  61348. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  61349. + gl_next_as_first_directive='<'sched.h'>'
  61350. + else
  61351. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  61352. + gl_next_as_first_directive=$gl_cv_next_sched_h
  61353. + fi
  61354. + NEXT_AS_FIRST_DIRECTIVE_SCHED_H=$gl_next_as_first_directive
  61355. +
  61356. +
  61357. +
  61358. +
  61359. +
  61360. + if test $ac_cv_header_sched_h = yes; then
  61361. + HAVE_SCHED_H=1
  61362. + else
  61363. + HAVE_SCHED_H=0
  61364. + fi
  61365. +
  61366. +
  61367. + ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include <sched.h>
  61368. +"
  61369. +if test "x$ac_cv_type_struct_sched_param" = xyes; then :
  61370. + HAVE_STRUCT_SCHED_PARAM=1
  61371. +else
  61372. + HAVE_STRUCT_SCHED_PARAM=0
  61373. +fi
  61374. +
  61375. +
  61376. +
  61377. +fi
  61378. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  61379. +
  61380. +
  61381. + # Code from module sigaction:
  61382. +
  61383. +
  61384. +
  61385. + if test $ac_cv_func_sigaction = yes; then
  61386. + ac_fn_c_check_member "$LINENO" "struct sigaction" "sa_sigaction" "ac_cv_member_struct_sigaction_sa_sigaction" "#include <signal.h>
  61387. +"
  61388. +if test "x$ac_cv_member_struct_sigaction_sa_sigaction" = xyes; then :
  61389. +
  61390. +cat >>confdefs.h <<_ACEOF
  61391. +@%:@define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1
  61392. +_ACEOF
  61393. +
  61394. +
  61395. +fi
  61396. +
  61397. + if test $ac_cv_member_struct_sigaction_sa_sigaction = no; then
  61398. + HAVE_STRUCT_SIGACTION_SA_SIGACTION=0
  61399. + fi
  61400. + else
  61401. + HAVE_SIGACTION=0
  61402. +
  61403. +
  61404. +
  61405. +
  61406. +
  61407. +
  61408. +
  61409. +
  61410. + M4_LIBOBJS="$M4_LIBOBJS sigaction.$ac_objext"
  61411. +
  61412. +
  61413. +
  61414. +
  61415. +
  61416. +
  61417. +
  61418. + ac_fn_c_check_type "$LINENO" "siginfo_t" "ac_cv_type_siginfo_t" "
  61419. +#include <signal.h>
  61420. +
  61421. +"
  61422. +if test "x$ac_cv_type_siginfo_t" = xyes; then :
  61423. +
  61424. +cat >>confdefs.h <<_ACEOF
  61425. +@%:@define HAVE_SIGINFO_T 1
  61426. +_ACEOF
  61427. +
  61428. +
  61429. +fi
  61430. +
  61431. + if test $ac_cv_type_siginfo_t = no; then
  61432. + HAVE_SIGINFO_T=0
  61433. + fi
  61434. +
  61435. + fi
  61436. +
  61437. +
  61438. +
  61439. +
  61440. + GNULIB_SIGACTION=1
  61441. +
  61442. +
  61443. +
  61444. +$as_echo "@%:@define GNULIB_TEST_SIGACTION 1" >>confdefs.h
  61445. +
  61446. +
  61447. +
  61448. + # Code from module signal:
  61449. +
  61450. +
  61451. +
  61452. +
  61453. +
  61454. +
  61455. +
  61456. +
  61457. +
  61458. +
  61459. + if test $gl_cv_have_include_next = yes; then
  61460. + gl_cv_next_signal_h='<'signal.h'>'
  61461. + else
  61462. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <signal.h>" >&5
  61463. +$as_echo_n "checking absolute name of <signal.h>... " >&6; }
  61464. +if ${gl_cv_next_signal_h+:} false; then :
  61465. + $as_echo_n "(cached) " >&6
  61466. +else
  61467. +
  61468. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  61469. +/* end confdefs.h. */
  61470. +#include <signal.h>
  61471. +
  61472. +_ACEOF
  61473. + case "$host_os" in
  61474. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  61475. + *) gl_absname_cpp="$ac_cpp" ;;
  61476. + esac
  61477. + gl_cv_next_signal_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  61478. + sed -n '\#/signal.h#{
  61479. + s#.*"\(.*/signal.h\)".*#\1#
  61480. + s#^/[^/]#//&#
  61481. + p
  61482. + q
  61483. + }'`'"'
  61484. +
  61485. +
  61486. +fi
  61487. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_signal_h" >&5
  61488. +$as_echo "$gl_cv_next_signal_h" >&6; }
  61489. + fi
  61490. + NEXT_SIGNAL_H=$gl_cv_next_signal_h
  61491. +
  61492. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  61493. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  61494. + gl_next_as_first_directive='<'signal.h'>'
  61495. + else
  61496. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  61497. + gl_next_as_first_directive=$gl_cv_next_signal_h
  61498. + fi
  61499. + NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H=$gl_next_as_first_directive
  61500. +
  61501. +
  61502. +
  61503. +
  61504. +# AIX declares sig_atomic_t to already include volatile, and C89 compilers
  61505. +# then choke on 'volatile sig_atomic_t'. C99 requires that it compile.
  61506. + ac_fn_c_check_type "$LINENO" "volatile sig_atomic_t" "ac_cv_type_volatile_sig_atomic_t" "
  61507. +#include <signal.h>
  61508. +
  61509. +"
  61510. +if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes; then :
  61511. +
  61512. +else
  61513. + HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0
  61514. +fi
  61515. +
  61516. +
  61517. +
  61518. +
  61519. +
  61520. + # Code from module signbit:
  61521. +
  61522. +
  61523. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit macro" >&5
  61524. +$as_echo_n "checking for signbit macro... " >&6; }
  61525. +if ${gl_cv_func_signbit+:} false; then :
  61526. + $as_echo_n "(cached) " >&6
  61527. +else
  61528. +
  61529. + if test "$cross_compiling" = yes; then :
  61530. + gl_cv_func_signbit="guessing no"
  61531. +else
  61532. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  61533. +/* end confdefs.h. */
  61534. +
  61535. +#include <math.h>
  61536. +/* If signbit is defined as a function, don't use it, since calling it for
  61537. + 'float' or 'long double' arguments would involve conversions.
  61538. + If signbit is not declared at all but exists as a library function, don't
  61539. + use it, since the prototype may not match.
  61540. + If signbit is not declared at all but exists as a compiler built-in, don't
  61541. + use it, since it's preferable to use __builtin_signbit* (no warnings,
  61542. + no conversions). */
  61543. +#ifndef signbit
  61544. +# error "signbit should be a macro"
  61545. +#endif
  61546. +#include <string.h>
  61547. +
  61548. +/* Global variables.
  61549. + Needed because GCC 4 constant-folds __builtin_signbitl (literal)
  61550. + but cannot constant-fold __builtin_signbitl (variable). */
  61551. +float vf;
  61552. +double vd;
  61553. +long double vl;
  61554. +int main ()
  61555. +{
  61556. +/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
  61557. + So we use -p0f and -p0d instead. */
  61558. +float p0f = 0.0f;
  61559. +float m0f = -p0f;
  61560. +double p0d = 0.0;
  61561. +double m0d = -p0d;
  61562. +/* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
  61563. + So we use another constant expression instead.
  61564. + But that expression does not work on other platforms, such as when
  61565. + cross-compiling to PowerPC on MacOS X 10.5. */
  61566. +long double p0l = 0.0L;
  61567. +#if defined __hpux || defined __sgi
  61568. +long double m0l = -LDBL_MIN * LDBL_MIN;
  61569. +#else
  61570. +long double m0l = -p0l;
  61571. +#endif
  61572. + int result = 0;
  61573. + if (signbit (vf)) /* link check */
  61574. + vf++;
  61575. + {
  61576. + float plus_inf = 1.0f / p0f;
  61577. + float minus_inf = -1.0f / p0f;
  61578. + if (!(!signbit (255.0f)
  61579. + && signbit (-255.0f)
  61580. + && !signbit (p0f)
  61581. + && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f))
  61582. + && !signbit (plus_inf)
  61583. + && signbit (minus_inf)))
  61584. + result |= 1;
  61585. + }
  61586. + if (signbit (vd)) /* link check */
  61587. + vd++;
  61588. + {
  61589. + double plus_inf = 1.0 / p0d;
  61590. + double minus_inf = -1.0 / p0d;
  61591. + if (!(!signbit (255.0)
  61592. + && signbit (-255.0)
  61593. + && !signbit (p0d)
  61594. + && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d))
  61595. + && !signbit (plus_inf)
  61596. + && signbit (minus_inf)))
  61597. + result |= 2;
  61598. + }
  61599. + if (signbit (vl)) /* link check */
  61600. + vl++;
  61601. + {
  61602. + long double plus_inf = 1.0L / p0l;
  61603. + long double minus_inf = -1.0L / p0l;
  61604. + if (signbit (255.0L))
  61605. + result |= 4;
  61606. + if (!signbit (-255.0L))
  61607. + result |= 4;
  61608. + if (signbit (p0l))
  61609. + result |= 8;
  61610. + if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l)))
  61611. + result |= 16;
  61612. + if (signbit (plus_inf))
  61613. + result |= 32;
  61614. + if (!signbit (minus_inf))
  61615. + result |= 64;
  61616. + }
  61617. + return result;
  61618. +}
  61619. +
  61620. +
  61621. +_ACEOF
  61622. +if ac_fn_c_try_run "$LINENO"; then :
  61623. + gl_cv_func_signbit=yes
  61624. +else
  61625. + gl_cv_func_signbit=no
  61626. +fi
  61627. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  61628. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  61629. +fi
  61630. +
  61631. +
  61632. +fi
  61633. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_signbit" >&5
  61634. +$as_echo "$gl_cv_func_signbit" >&6; }
  61635. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit compiler built-ins" >&5
  61636. +$as_echo_n "checking for signbit compiler built-ins... " >&6; }
  61637. +if ${gl_cv_func_signbit_gcc+:} false; then :
  61638. + $as_echo_n "(cached) " >&6
  61639. +else
  61640. +
  61641. + if test "$cross_compiling" = yes; then :
  61642. + gl_cv_func_signbit_gcc="guessing no"
  61643. +else
  61644. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  61645. +/* end confdefs.h. */
  61646. +
  61647. +#if __GNUC__ >= 4
  61648. +# define signbit(x) \
  61649. + (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \
  61650. + sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \
  61651. + __builtin_signbitf (x))
  61652. +#else
  61653. +# error "signbit should be three compiler built-ins"
  61654. +#endif
  61655. +#include <string.h>
  61656. +
  61657. +/* Global variables.
  61658. + Needed because GCC 4 constant-folds __builtin_signbitl (literal)
  61659. + but cannot constant-fold __builtin_signbitl (variable). */
  61660. +float vf;
  61661. +double vd;
  61662. +long double vl;
  61663. +int main ()
  61664. +{
  61665. +/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
  61666. + So we use -p0f and -p0d instead. */
  61667. +float p0f = 0.0f;
  61668. +float m0f = -p0f;
  61669. +double p0d = 0.0;
  61670. +double m0d = -p0d;
  61671. +/* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
  61672. + So we use another constant expression instead.
  61673. + But that expression does not work on other platforms, such as when
  61674. + cross-compiling to PowerPC on MacOS X 10.5. */
  61675. +long double p0l = 0.0L;
  61676. +#if defined __hpux || defined __sgi
  61677. +long double m0l = -LDBL_MIN * LDBL_MIN;
  61678. +#else
  61679. +long double m0l = -p0l;
  61680. +#endif
  61681. + int result = 0;
  61682. + if (signbit (vf)) /* link check */
  61683. + vf++;
  61684. + {
  61685. + float plus_inf = 1.0f / p0f;
  61686. + float minus_inf = -1.0f / p0f;
  61687. + if (!(!signbit (255.0f)
  61688. + && signbit (-255.0f)
  61689. + && !signbit (p0f)
  61690. + && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f))
  61691. + && !signbit (plus_inf)
  61692. + && signbit (minus_inf)))
  61693. + result |= 1;
  61694. + }
  61695. + if (signbit (vd)) /* link check */
  61696. + vd++;
  61697. + {
  61698. + double plus_inf = 1.0 / p0d;
  61699. + double minus_inf = -1.0 / p0d;
  61700. + if (!(!signbit (255.0)
  61701. + && signbit (-255.0)
  61702. + && !signbit (p0d)
  61703. + && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d))
  61704. + && !signbit (plus_inf)
  61705. + && signbit (minus_inf)))
  61706. + result |= 2;
  61707. + }
  61708. + if (signbit (vl)) /* link check */
  61709. + vl++;
  61710. + {
  61711. + long double plus_inf = 1.0L / p0l;
  61712. + long double minus_inf = -1.0L / p0l;
  61713. + if (signbit (255.0L))
  61714. + result |= 4;
  61715. + if (!signbit (-255.0L))
  61716. + result |= 4;
  61717. + if (signbit (p0l))
  61718. + result |= 8;
  61719. + if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l)))
  61720. + result |= 16;
  61721. + if (signbit (plus_inf))
  61722. + result |= 32;
  61723. + if (!signbit (minus_inf))
  61724. + result |= 64;
  61725. + }
  61726. + return result;
  61727. +}
  61728. +
  61729. +
  61730. +_ACEOF
  61731. +if ac_fn_c_try_run "$LINENO"; then :
  61732. + gl_cv_func_signbit_gcc=yes
  61733. +else
  61734. + gl_cv_func_signbit_gcc=no
  61735. +fi
  61736. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  61737. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  61738. +fi
  61739. +
  61740. +
  61741. +fi
  61742. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_signbit_gcc" >&5
  61743. +$as_echo "$gl_cv_func_signbit_gcc" >&6; }
  61744. + if test "$gl_cv_func_signbit_gcc" = yes; then
  61745. + REPLACE_SIGNBIT_USING_GCC=1
  61746. + else
  61747. + if test "$gl_cv_func_signbit" != yes; then
  61748. + REPLACE_SIGNBIT=1
  61749. +
  61750. +
  61751. +
  61752. +
  61753. +
  61754. +
  61755. +
  61756. +
  61757. + M4_LIBOBJS="$M4_LIBOBJS signbitf.$ac_objext"
  61758. +
  61759. +
  61760. +
  61761. +
  61762. +
  61763. +
  61764. +
  61765. +
  61766. +
  61767. + M4_LIBOBJS="$M4_LIBOBJS signbitd.$ac_objext"
  61768. +
  61769. +
  61770. +
  61771. +
  61772. +
  61773. +
  61774. +
  61775. +
  61776. +
  61777. + M4_LIBOBJS="$M4_LIBOBJS signbitl.$ac_objext"
  61778. +
  61779. +
  61780. +
  61781. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'float'" >&5
  61782. +$as_echo_n "checking where to find the sign bit in a 'float'... " >&6; }
  61783. +if ${gl_cv_cc_float_signbit+:} false; then :
  61784. + $as_echo_n "(cached) " >&6
  61785. +else
  61786. +
  61787. + if test "$cross_compiling" = yes; then :
  61788. +
  61789. + gl_cv_cc_float_signbit="unknown"
  61790. +
  61791. +else
  61792. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  61793. +/* end confdefs.h. */
  61794. +
  61795. +#include <stddef.h>
  61796. +#include <stdio.h>
  61797. +#define NWORDS \
  61798. + ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  61799. +typedef union { float value; unsigned int word[NWORDS]; }
  61800. + memory_float;
  61801. +static memory_float plus = { 1.0f };
  61802. +static memory_float minus = { -1.0f };
  61803. +int main ()
  61804. +{
  61805. + size_t j, k, i;
  61806. + unsigned int m;
  61807. + FILE *fp = fopen ("conftest.out", "w");
  61808. + if (fp == NULL)
  61809. + return 1;
  61810. + /* Find the different bit. */
  61811. + k = 0; m = 0;
  61812. + for (j = 0; j < NWORDS; j++)
  61813. + {
  61814. + unsigned int x = plus.word[j] ^ minus.word[j];
  61815. + if ((x & (x - 1)) || (x && m))
  61816. + {
  61817. + /* More than one bit difference. */
  61818. + fprintf (fp, "unknown");
  61819. + return 2;
  61820. + }
  61821. + if (x)
  61822. + {
  61823. + k = j;
  61824. + m = x;
  61825. + }
  61826. + }
  61827. + if (m == 0)
  61828. + {
  61829. + /* No difference. */
  61830. + fprintf (fp, "unknown");
  61831. + return 3;
  61832. + }
  61833. + /* Now m = plus.word[k] ^ ~minus.word[k]. */
  61834. + if (plus.word[k] & ~minus.word[k])
  61835. + {
  61836. + /* Oh? The sign bit is set in the positive and cleared in the negative
  61837. + numbers? */
  61838. + fprintf (fp, "unknown");
  61839. + return 4;
  61840. + }
  61841. + for (i = 0; ; i++)
  61842. + if ((m >> i) & 1)
  61843. + break;
  61844. + fprintf (fp, "word %d bit %d", (int) k, (int) i);
  61845. + if (fclose (fp) != 0)
  61846. + return 5;
  61847. + return 0;
  61848. +}
  61849. +
  61850. +_ACEOF
  61851. +if ac_fn_c_try_run "$LINENO"; then :
  61852. + gl_cv_cc_float_signbit=`cat conftest.out`
  61853. +else
  61854. + gl_cv_cc_float_signbit="unknown"
  61855. +fi
  61856. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  61857. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  61858. +fi
  61859. +
  61860. + rm -f conftest.out
  61861. +
  61862. +fi
  61863. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_signbit" >&5
  61864. +$as_echo "$gl_cv_cc_float_signbit" >&6; }
  61865. + case "$gl_cv_cc_float_signbit" in
  61866. + word*bit*)
  61867. + word=`echo "$gl_cv_cc_float_signbit" | sed -e 's/word //' -e 's/ bit.*//'`
  61868. + bit=`echo "$gl_cv_cc_float_signbit" | sed -e 's/word.*bit //'`
  61869. +
  61870. +cat >>confdefs.h <<_ACEOF
  61871. +@%:@define FLT_SIGNBIT_WORD $word
  61872. +_ACEOF
  61873. +
  61874. +
  61875. +cat >>confdefs.h <<_ACEOF
  61876. +@%:@define FLT_SIGNBIT_BIT $bit
  61877. +_ACEOF
  61878. +
  61879. + ;;
  61880. + esac
  61881. +
  61882. +
  61883. +
  61884. +
  61885. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'double'" >&5
  61886. +$as_echo_n "checking where to find the sign bit in a 'double'... " >&6; }
  61887. +if ${gl_cv_cc_double_signbit+:} false; then :
  61888. + $as_echo_n "(cached) " >&6
  61889. +else
  61890. +
  61891. + if test "$cross_compiling" = yes; then :
  61892. +
  61893. + gl_cv_cc_double_signbit="unknown"
  61894. +
  61895. +else
  61896. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  61897. +/* end confdefs.h. */
  61898. +
  61899. +#include <stddef.h>
  61900. +#include <stdio.h>
  61901. +#define NWORDS \
  61902. + ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  61903. +typedef union { double value; unsigned int word[NWORDS]; }
  61904. + memory_float;
  61905. +static memory_float plus = { 1.0 };
  61906. +static memory_float minus = { -1.0 };
  61907. +int main ()
  61908. +{
  61909. + size_t j, k, i;
  61910. + unsigned int m;
  61911. + FILE *fp = fopen ("conftest.out", "w");
  61912. + if (fp == NULL)
  61913. + return 1;
  61914. + /* Find the different bit. */
  61915. + k = 0; m = 0;
  61916. + for (j = 0; j < NWORDS; j++)
  61917. + {
  61918. + unsigned int x = plus.word[j] ^ minus.word[j];
  61919. + if ((x & (x - 1)) || (x && m))
  61920. + {
  61921. + /* More than one bit difference. */
  61922. + fprintf (fp, "unknown");
  61923. + return 2;
  61924. + }
  61925. + if (x)
  61926. + {
  61927. + k = j;
  61928. + m = x;
  61929. + }
  61930. + }
  61931. + if (m == 0)
  61932. + {
  61933. + /* No difference. */
  61934. + fprintf (fp, "unknown");
  61935. + return 3;
  61936. + }
  61937. + /* Now m = plus.word[k] ^ ~minus.word[k]. */
  61938. + if (plus.word[k] & ~minus.word[k])
  61939. + {
  61940. + /* Oh? The sign bit is set in the positive and cleared in the negative
  61941. + numbers? */
  61942. + fprintf (fp, "unknown");
  61943. + return 4;
  61944. + }
  61945. + for (i = 0; ; i++)
  61946. + if ((m >> i) & 1)
  61947. + break;
  61948. + fprintf (fp, "word %d bit %d", (int) k, (int) i);
  61949. + if (fclose (fp) != 0)
  61950. + return 5;
  61951. + return 0;
  61952. +}
  61953. +
  61954. +_ACEOF
  61955. +if ac_fn_c_try_run "$LINENO"; then :
  61956. + gl_cv_cc_double_signbit=`cat conftest.out`
  61957. +else
  61958. + gl_cv_cc_double_signbit="unknown"
  61959. +fi
  61960. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  61961. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  61962. +fi
  61963. +
  61964. + rm -f conftest.out
  61965. +
  61966. +fi
  61967. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_signbit" >&5
  61968. +$as_echo "$gl_cv_cc_double_signbit" >&6; }
  61969. + case "$gl_cv_cc_double_signbit" in
  61970. + word*bit*)
  61971. + word=`echo "$gl_cv_cc_double_signbit" | sed -e 's/word //' -e 's/ bit.*//'`
  61972. + bit=`echo "$gl_cv_cc_double_signbit" | sed -e 's/word.*bit //'`
  61973. +
  61974. +cat >>confdefs.h <<_ACEOF
  61975. +@%:@define DBL_SIGNBIT_WORD $word
  61976. +_ACEOF
  61977. +
  61978. +
  61979. +cat >>confdefs.h <<_ACEOF
  61980. +@%:@define DBL_SIGNBIT_BIT $bit
  61981. +_ACEOF
  61982. +
  61983. + ;;
  61984. + esac
  61985. +
  61986. +
  61987. +
  61988. +
  61989. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'long double'" >&5
  61990. +$as_echo_n "checking where to find the sign bit in a 'long double'... " >&6; }
  61991. +if ${gl_cv_cc_long_double_signbit+:} false; then :
  61992. + $as_echo_n "(cached) " >&6
  61993. +else
  61994. +
  61995. + if test "$cross_compiling" = yes; then :
  61996. +
  61997. + gl_cv_cc_long_double_signbit="unknown"
  61998. +
  61999. +else
  62000. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62001. +/* end confdefs.h. */
  62002. +
  62003. +#include <stddef.h>
  62004. +#include <stdio.h>
  62005. +#define NWORDS \
  62006. + ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  62007. +typedef union { long double value; unsigned int word[NWORDS]; }
  62008. + memory_float;
  62009. +static memory_float plus = { 1.0L };
  62010. +static memory_float minus = { -1.0L };
  62011. +int main ()
  62012. +{
  62013. + size_t j, k, i;
  62014. + unsigned int m;
  62015. + FILE *fp = fopen ("conftest.out", "w");
  62016. + if (fp == NULL)
  62017. + return 1;
  62018. + /* Find the different bit. */
  62019. + k = 0; m = 0;
  62020. + for (j = 0; j < NWORDS; j++)
  62021. + {
  62022. + unsigned int x = plus.word[j] ^ minus.word[j];
  62023. + if ((x & (x - 1)) || (x && m))
  62024. + {
  62025. + /* More than one bit difference. */
  62026. + fprintf (fp, "unknown");
  62027. + return 2;
  62028. + }
  62029. + if (x)
  62030. + {
  62031. + k = j;
  62032. + m = x;
  62033. + }
  62034. + }
  62035. + if (m == 0)
  62036. + {
  62037. + /* No difference. */
  62038. + fprintf (fp, "unknown");
  62039. + return 3;
  62040. + }
  62041. + /* Now m = plus.word[k] ^ ~minus.word[k]. */
  62042. + if (plus.word[k] & ~minus.word[k])
  62043. + {
  62044. + /* Oh? The sign bit is set in the positive and cleared in the negative
  62045. + numbers? */
  62046. + fprintf (fp, "unknown");
  62047. + return 4;
  62048. + }
  62049. + for (i = 0; ; i++)
  62050. + if ((m >> i) & 1)
  62051. + break;
  62052. + fprintf (fp, "word %d bit %d", (int) k, (int) i);
  62053. + if (fclose (fp) != 0)
  62054. + return 5;
  62055. + return 0;
  62056. +}
  62057. +
  62058. +_ACEOF
  62059. +if ac_fn_c_try_run "$LINENO"; then :
  62060. + gl_cv_cc_long_double_signbit=`cat conftest.out`
  62061. +else
  62062. + gl_cv_cc_long_double_signbit="unknown"
  62063. +fi
  62064. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  62065. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  62066. +fi
  62067. +
  62068. + rm -f conftest.out
  62069. +
  62070. +fi
  62071. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_signbit" >&5
  62072. +$as_echo "$gl_cv_cc_long_double_signbit" >&6; }
  62073. + case "$gl_cv_cc_long_double_signbit" in
  62074. + word*bit*)
  62075. + word=`echo "$gl_cv_cc_long_double_signbit" | sed -e 's/word //' -e 's/ bit.*//'`
  62076. + bit=`echo "$gl_cv_cc_long_double_signbit" | sed -e 's/word.*bit //'`
  62077. +
  62078. +cat >>confdefs.h <<_ACEOF
  62079. +@%:@define LDBL_SIGNBIT_WORD $word
  62080. +_ACEOF
  62081. +
  62082. +
  62083. +cat >>confdefs.h <<_ACEOF
  62084. +@%:@define LDBL_SIGNBIT_BIT $bit
  62085. +_ACEOF
  62086. +
  62087. + ;;
  62088. + esac
  62089. +
  62090. +
  62091. + if test "$gl_cv_cc_float_signbit" = unknown; then
  62092. + ac_fn_c_check_decl "$LINENO" "copysignf" "ac_cv_have_decl_copysignf" "#include <math.h>
  62093. +"
  62094. +if test "x$ac_cv_have_decl_copysignf" = xyes; then :
  62095. + ac_have_decl=1
  62096. +else
  62097. + ac_have_decl=0
  62098. +fi
  62099. +
  62100. +cat >>confdefs.h <<_ACEOF
  62101. +@%:@define HAVE_DECL_COPYSIGNF $ac_have_decl
  62102. +_ACEOF
  62103. +
  62104. + if test "$ac_cv_have_decl_copysignf" = yes; then
  62105. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignf can be used without linking with libm" >&5
  62106. +$as_echo_n "checking whether copysignf can be used without linking with libm... " >&6; }
  62107. +if ${gl_cv_func_copysignf_no_libm+:} false; then :
  62108. + $as_echo_n "(cached) " >&6
  62109. +else
  62110. +
  62111. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62112. +/* end confdefs.h. */
  62113. +#include <math.h>
  62114. + float x, y;
  62115. +int
  62116. +main ()
  62117. +{
  62118. +return copysignf (x, y) < 0;
  62119. + ;
  62120. + return 0;
  62121. +}
  62122. +_ACEOF
  62123. +if ac_fn_c_try_link "$LINENO"; then :
  62124. + gl_cv_func_copysignf_no_libm=yes
  62125. +else
  62126. + gl_cv_func_copysignf_no_libm=no
  62127. +fi
  62128. +rm -f core conftest.err conftest.$ac_objext \
  62129. + conftest$ac_exeext conftest.$ac_ext
  62130. +
  62131. +fi
  62132. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysignf_no_libm" >&5
  62133. +$as_echo "$gl_cv_func_copysignf_no_libm" >&6; }
  62134. + if test $gl_cv_func_copysignf_no_libm = yes; then
  62135. +
  62136. +$as_echo "@%:@define HAVE_COPYSIGNF_IN_LIBC 1" >>confdefs.h
  62137. +
  62138. + fi
  62139. + fi
  62140. + fi
  62141. + if test "$gl_cv_cc_double_signbit" = unknown; then
  62142. + ac_fn_c_check_decl "$LINENO" "copysign" "ac_cv_have_decl_copysign" "#include <math.h>
  62143. +"
  62144. +if test "x$ac_cv_have_decl_copysign" = xyes; then :
  62145. + ac_have_decl=1
  62146. +else
  62147. + ac_have_decl=0
  62148. +fi
  62149. +
  62150. +cat >>confdefs.h <<_ACEOF
  62151. +@%:@define HAVE_DECL_COPYSIGN $ac_have_decl
  62152. +_ACEOF
  62153. +
  62154. + if test "$ac_cv_have_decl_copysign" = yes; then
  62155. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysign can be used without linking with libm" >&5
  62156. +$as_echo_n "checking whether copysign can be used without linking with libm... " >&6; }
  62157. +if ${gl_cv_func_copysign_no_libm+:} false; then :
  62158. + $as_echo_n "(cached) " >&6
  62159. +else
  62160. +
  62161. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62162. +/* end confdefs.h. */
  62163. +#include <math.h>
  62164. + double x, y;
  62165. +int
  62166. +main ()
  62167. +{
  62168. +return copysign (x, y) < 0;
  62169. + ;
  62170. + return 0;
  62171. +}
  62172. +_ACEOF
  62173. +if ac_fn_c_try_link "$LINENO"; then :
  62174. + gl_cv_func_copysign_no_libm=yes
  62175. +else
  62176. + gl_cv_func_copysign_no_libm=no
  62177. +fi
  62178. +rm -f core conftest.err conftest.$ac_objext \
  62179. + conftest$ac_exeext conftest.$ac_ext
  62180. +
  62181. +fi
  62182. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysign_no_libm" >&5
  62183. +$as_echo "$gl_cv_func_copysign_no_libm" >&6; }
  62184. + if test $gl_cv_func_copysign_no_libm = yes; then
  62185. +
  62186. +$as_echo "@%:@define HAVE_COPYSIGN_IN_LIBC 1" >>confdefs.h
  62187. +
  62188. + fi
  62189. + fi
  62190. + fi
  62191. + if test "$gl_cv_cc_long_double_signbit" = unknown; then
  62192. + ac_fn_c_check_decl "$LINENO" "copysignl" "ac_cv_have_decl_copysignl" "#include <math.h>
  62193. +"
  62194. +if test "x$ac_cv_have_decl_copysignl" = xyes; then :
  62195. + ac_have_decl=1
  62196. +else
  62197. + ac_have_decl=0
  62198. +fi
  62199. +
  62200. +cat >>confdefs.h <<_ACEOF
  62201. +@%:@define HAVE_DECL_COPYSIGNL $ac_have_decl
  62202. +_ACEOF
  62203. +
  62204. + if test "$ac_cv_have_decl_copysignl" = yes; then
  62205. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignl can be used without linking with libm" >&5
  62206. +$as_echo_n "checking whether copysignl can be used without linking with libm... " >&6; }
  62207. +if ${gl_cv_func_copysignl_no_libm+:} false; then :
  62208. + $as_echo_n "(cached) " >&6
  62209. +else
  62210. +
  62211. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62212. +/* end confdefs.h. */
  62213. +#include <math.h>
  62214. + long double x, y;
  62215. +int
  62216. +main ()
  62217. +{
  62218. +return copysignl (x, y) < 0;
  62219. + ;
  62220. + return 0;
  62221. +}
  62222. +_ACEOF
  62223. +if ac_fn_c_try_link "$LINENO"; then :
  62224. + gl_cv_func_copysignl_no_libm=yes
  62225. +else
  62226. + gl_cv_func_copysignl_no_libm=no
  62227. +fi
  62228. +rm -f core conftest.err conftest.$ac_objext \
  62229. + conftest$ac_exeext conftest.$ac_ext
  62230. +
  62231. +fi
  62232. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_copysignl_no_libm" >&5
  62233. +$as_echo "$gl_cv_func_copysignl_no_libm" >&6; }
  62234. + if test $gl_cv_func_copysignl_no_libm = yes; then
  62235. +
  62236. +$as_echo "@%:@define HAVE_COPYSIGNL_IN_LIBC 1" >>confdefs.h
  62237. +
  62238. + fi
  62239. + fi
  62240. + fi
  62241. + fi
  62242. + fi
  62243. +
  62244. +
  62245. +
  62246. +
  62247. + GNULIB_SIGNBIT=1
  62248. +
  62249. +
  62250. +
  62251. +$as_echo "@%:@define GNULIB_TEST_SIGNBIT 1" >>confdefs.h
  62252. +
  62253. +
  62254. +
  62255. + # Code from module sigprocmask:
  62256. +
  62257. +
  62258. + signals_not_posix=
  62259. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62260. +/* end confdefs.h. */
  62261. +#include <signal.h>
  62262. +
  62263. +_ACEOF
  62264. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  62265. + $EGREP "sigset_t" >/dev/null 2>&1; then :
  62266. +
  62267. +else
  62268. + signals_not_posix=1
  62269. +fi
  62270. +rm -f conftest*
  62271. +
  62272. + if test -z "$signals_not_posix"; then
  62273. + ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
  62274. +if test "x$ac_cv_func_sigprocmask" = xyes; then :
  62275. + gl_cv_func_sigprocmask=1
  62276. +fi
  62277. +
  62278. + fi
  62279. + if test -z "$gl_cv_func_sigprocmask"; then
  62280. + HAVE_POSIX_SIGNALBLOCKING=0
  62281. +
  62282. +
  62283. +
  62284. +
  62285. +
  62286. +
  62287. +
  62288. +
  62289. + M4_LIBOBJS="$M4_LIBOBJS sigprocmask.$ac_objext"
  62290. +
  62291. +
  62292. +
  62293. + ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <signal.h>
  62294. +/* Mingw defines sigset_t not in <signal.h>, but in <sys/types.h>. */
  62295. +#include <sys/types.h>
  62296. +"
  62297. +if test "x$ac_cv_type_sigset_t" = xyes; then :
  62298. +
  62299. +cat >>confdefs.h <<_ACEOF
  62300. +@%:@define HAVE_SIGSET_T 1
  62301. +_ACEOF
  62302. +
  62303. +gl_cv_type_sigset_t=yes
  62304. +else
  62305. + gl_cv_type_sigset_t=no
  62306. +fi
  62307. +
  62308. + if test $gl_cv_type_sigset_t != yes; then
  62309. + HAVE_SIGSET_T=0
  62310. + fi
  62311. +
  62312. +
  62313. + fi
  62314. +
  62315. +
  62316. +
  62317. +
  62318. + GNULIB_SIGPROCMASK=1
  62319. +
  62320. +
  62321. +
  62322. +$as_echo "@%:@define GNULIB_TEST_SIGPROCMASK 1" >>confdefs.h
  62323. +
  62324. +
  62325. +
  62326. + # Code from module size_max:
  62327. +
  62328. + for ac_header in stdint.h
  62329. +do :
  62330. + ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
  62331. +if test "x$ac_cv_header_stdint_h" = xyes; then :
  62332. + cat >>confdefs.h <<_ACEOF
  62333. +@%:@define HAVE_STDINT_H 1
  62334. +_ACEOF
  62335. +
  62336. +fi
  62337. +
  62338. +done
  62339. +
  62340. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
  62341. +$as_echo_n "checking for SIZE_MAX... " >&6; }
  62342. +if ${gl_cv_size_max+:} false; then :
  62343. + $as_echo_n "(cached) " >&6
  62344. +else
  62345. +
  62346. + gl_cv_size_max=
  62347. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62348. +/* end confdefs.h. */
  62349. +
  62350. +#include <limits.h>
  62351. +#if HAVE_STDINT_H
  62352. +#include <stdint.h>
  62353. +#endif
  62354. +#ifdef SIZE_MAX
  62355. +Found it
  62356. +#endif
  62357. +
  62358. +_ACEOF
  62359. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  62360. + $EGREP "Found it" >/dev/null 2>&1; then :
  62361. + gl_cv_size_max=yes
  62362. +fi
  62363. +rm -f conftest*
  62364. +
  62365. + if test -z "$gl_cv_size_max"; then
  62366. + if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1" "#include <stddef.h>
  62367. +#include <limits.h>"; then :
  62368. +
  62369. +else
  62370. + size_t_bits_minus_1=
  62371. +fi
  62372. +
  62373. + if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint" "#include <stddef.h>"; then :
  62374. +
  62375. +else
  62376. + fits_in_uint=
  62377. +fi
  62378. +
  62379. + if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
  62380. + if test $fits_in_uint = 1; then
  62381. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62382. +/* end confdefs.h. */
  62383. +#include <stddef.h>
  62384. + extern size_t foo;
  62385. + extern unsigned long foo;
  62386. +
  62387. +int
  62388. +main ()
  62389. +{
  62390. +
  62391. + ;
  62392. + return 0;
  62393. +}
  62394. +_ACEOF
  62395. +if ac_fn_c_try_compile "$LINENO"; then :
  62396. + fits_in_uint=0
  62397. +fi
  62398. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  62399. + fi
  62400. + if test $fits_in_uint = 1; then
  62401. + gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
  62402. + else
  62403. + gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
  62404. + fi
  62405. + else
  62406. + gl_cv_size_max='((size_t)~(size_t)0)'
  62407. + fi
  62408. + fi
  62409. +
  62410. +fi
  62411. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5
  62412. +$as_echo "$gl_cv_size_max" >&6; }
  62413. + if test "$gl_cv_size_max" != yes; then
  62414. +
  62415. +cat >>confdefs.h <<_ACEOF
  62416. +@%:@define SIZE_MAX $gl_cv_size_max
  62417. +_ACEOF
  62418. +
  62419. + fi
  62420. +
  62421. +
  62422. + # Code from module snprintf:
  62423. +
  62424. +
  62425. + gl_cv_func_snprintf_usable=no
  62426. + for ac_func in snprintf
  62427. +do :
  62428. + ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
  62429. +if test "x$ac_cv_func_snprintf" = xyes; then :
  62430. + cat >>confdefs.h <<_ACEOF
  62431. +@%:@define HAVE_SNPRINTF 1
  62432. +_ACEOF
  62433. +
  62434. +fi
  62435. +done
  62436. +
  62437. + if test $ac_cv_func_snprintf = yes; then
  62438. +
  62439. +
  62440. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5
  62441. +$as_echo_n "checking whether snprintf respects a size of 1... " >&6; }
  62442. +if ${gl_cv_func_snprintf_size1+:} false; then :
  62443. + $as_echo_n "(cached) " >&6
  62444. +else
  62445. +
  62446. + if test "$cross_compiling" = yes; then :
  62447. + gl_cv_func_snprintf_size1="guessing yes"
  62448. +else
  62449. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62450. +/* end confdefs.h. */
  62451. +
  62452. +#include <stdio.h>
  62453. +int main()
  62454. +{
  62455. + static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' };
  62456. + snprintf (buf, 1, "%d", 12345);
  62457. + return buf[1] != 'E';
  62458. +}
  62459. +_ACEOF
  62460. +if ac_fn_c_try_run "$LINENO"; then :
  62461. + gl_cv_func_snprintf_size1=yes
  62462. +else
  62463. + gl_cv_func_snprintf_size1=no
  62464. +fi
  62465. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  62466. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  62467. +fi
  62468. +
  62469. +
  62470. +fi
  62471. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_size1" >&5
  62472. +$as_echo "$gl_cv_func_snprintf_size1" >&6; }
  62473. +
  62474. + case "$gl_cv_func_snprintf_size1" in
  62475. + *yes)
  62476. +
  62477. + case "$gl_cv_func_snprintf_retval_c99" in
  62478. + *yes)
  62479. + gl_cv_func_snprintf_usable=yes
  62480. + ;;
  62481. + esac
  62482. + ;;
  62483. + esac
  62484. + fi
  62485. + if test $gl_cv_func_snprintf_usable = no; then
  62486. +
  62487. +
  62488. +
  62489. +
  62490. +
  62491. +
  62492. +
  62493. +
  62494. +
  62495. +
  62496. + M4_LIBOBJS="$M4_LIBOBJS snprintf.$ac_objext"
  62497. +
  62498. + if test $ac_cv_func_snprintf = yes; then
  62499. + REPLACE_SNPRINTF=1
  62500. + fi
  62501. + :
  62502. +
  62503. + fi
  62504. +
  62505. + if test $ac_cv_have_decl_snprintf = no; then
  62506. + HAVE_DECL_SNPRINTF=0
  62507. + fi
  62508. +
  62509. +
  62510. +
  62511. +
  62512. + GNULIB_SNPRINTF=1
  62513. +
  62514. +
  62515. +
  62516. +$as_echo "@%:@define GNULIB_TEST_SNPRINTF 1" >>confdefs.h
  62517. +
  62518. +
  62519. +
  62520. +
  62521. +
  62522. +cat >>confdefs.h <<_ACEOF
  62523. +@%:@define GNULIB_SNPRINTF 1
  62524. +_ACEOF
  62525. +
  62526. +
  62527. + # Code from module spawn:
  62528. +
  62529. +
  62530. +
  62531. +
  62532. +
  62533. +
  62534. +
  62535. +
  62536. +
  62537. +
  62538. +
  62539. +
  62540. + if test $gl_cv_have_include_next = yes; then
  62541. + gl_cv_next_spawn_h='<'spawn.h'>'
  62542. + else
  62543. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <spawn.h>" >&5
  62544. +$as_echo_n "checking absolute name of <spawn.h>... " >&6; }
  62545. +if ${gl_cv_next_spawn_h+:} false; then :
  62546. + $as_echo_n "(cached) " >&6
  62547. +else
  62548. +
  62549. + if test $ac_cv_header_spawn_h = yes; then
  62550. +
  62551. +
  62552. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62553. +/* end confdefs.h. */
  62554. +#include <spawn.h>
  62555. +
  62556. +_ACEOF
  62557. + case "$host_os" in
  62558. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  62559. + *) gl_absname_cpp="$ac_cpp" ;;
  62560. + esac
  62561. + gl_cv_next_spawn_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  62562. + sed -n '\#/spawn.h#{
  62563. + s#.*"\(.*/spawn.h\)".*#\1#
  62564. + s#^/[^/]#//&#
  62565. + p
  62566. + q
  62567. + }'`'"'
  62568. + else
  62569. + gl_cv_next_spawn_h='<'spawn.h'>'
  62570. + fi
  62571. +
  62572. +
  62573. +fi
  62574. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_spawn_h" >&5
  62575. +$as_echo "$gl_cv_next_spawn_h" >&6; }
  62576. + fi
  62577. + NEXT_SPAWN_H=$gl_cv_next_spawn_h
  62578. +
  62579. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  62580. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  62581. + gl_next_as_first_directive='<'spawn.h'>'
  62582. + else
  62583. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  62584. + gl_next_as_first_directive=$gl_cv_next_spawn_h
  62585. + fi
  62586. + NEXT_AS_FIRST_DIRECTIVE_SPAWN_H=$gl_next_as_first_directive
  62587. +
  62588. +
  62589. +
  62590. +
  62591. +
  62592. + if test $ac_cv_header_spawn_h = yes; then
  62593. + HAVE_SPAWN_H=1
  62594. + ac_fn_c_check_type "$LINENO" "posix_spawnattr_t" "ac_cv_type_posix_spawnattr_t" "
  62595. +#include <spawn.h>
  62596. +
  62597. +"
  62598. +if test "x$ac_cv_type_posix_spawnattr_t" = xyes; then :
  62599. +
  62600. +cat >>confdefs.h <<_ACEOF
  62601. +@%:@define HAVE_POSIX_SPAWNATTR_T 1
  62602. +_ACEOF
  62603. +
  62604. +
  62605. +else
  62606. + HAVE_POSIX_SPAWNATTR_T=0
  62607. +fi
  62608. +
  62609. + ac_fn_c_check_type "$LINENO" "posix_spawn_file_actions_t" "ac_cv_type_posix_spawn_file_actions_t" "
  62610. +#include <spawn.h>
  62611. +
  62612. +"
  62613. +if test "x$ac_cv_type_posix_spawn_file_actions_t" = xyes; then :
  62614. +
  62615. +cat >>confdefs.h <<_ACEOF
  62616. +@%:@define HAVE_POSIX_SPAWN_FILE_ACTIONS_T 1
  62617. +_ACEOF
  62618. +
  62619. +
  62620. +else
  62621. + HAVE_POSIX_SPAWN_FILE_ACTIONS_T=0
  62622. +fi
  62623. +
  62624. + else
  62625. + HAVE_SPAWN_H=0
  62626. + HAVE_POSIX_SPAWNATTR_T=0
  62627. + HAVE_POSIX_SPAWN_FILE_ACTIONS_T=0
  62628. +
  62629. + :
  62630. +
  62631. + fi
  62632. +
  62633. +
  62634. +
  62635. +
  62636. +
  62637. +
  62638. +
  62639. +
  62640. + # Code from module spawn-pipe:
  62641. +
  62642. +
  62643. +
  62644. +
  62645. + # Code from module ssize_t:
  62646. +
  62647. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
  62648. +$as_echo_n "checking for ssize_t... " >&6; }
  62649. +if ${gt_cv_ssize_t+:} false; then :
  62650. + $as_echo_n "(cached) " >&6
  62651. +else
  62652. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62653. +/* end confdefs.h. */
  62654. +#include <sys/types.h>
  62655. +int
  62656. +main ()
  62657. +{
  62658. +int x = sizeof (ssize_t *) + sizeof (ssize_t);
  62659. + return !x;
  62660. + ;
  62661. + return 0;
  62662. +}
  62663. +_ACEOF
  62664. +if ac_fn_c_try_compile "$LINENO"; then :
  62665. + gt_cv_ssize_t=yes
  62666. +else
  62667. + gt_cv_ssize_t=no
  62668. +fi
  62669. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  62670. +fi
  62671. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5
  62672. +$as_echo "$gt_cv_ssize_t" >&6; }
  62673. + if test $gt_cv_ssize_t = no; then
  62674. +
  62675. +$as_echo "@%:@define ssize_t int" >>confdefs.h
  62676. +
  62677. + fi
  62678. +
  62679. + # Code from module stat:
  62680. +
  62681. +
  62682. +
  62683. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on directories" >&5
  62684. +$as_echo_n "checking whether stat handles trailing slashes on directories... " >&6; }
  62685. +if ${gl_cv_func_stat_dir_slash+:} false; then :
  62686. + $as_echo_n "(cached) " >&6
  62687. +else
  62688. + if test "$cross_compiling" = yes; then :
  62689. + case $host_os in
  62690. + mingw*) gl_cv_func_stat_dir_slash="guessing no";;
  62691. + *) gl_cv_func_stat_dir_slash="guessing yes";;
  62692. + esac
  62693. +else
  62694. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62695. +/* end confdefs.h. */
  62696. +#include <sys/stat.h>
  62697. +
  62698. +int
  62699. +main ()
  62700. +{
  62701. +struct stat st; return stat (".", &st) != stat ("./", &st);
  62702. + ;
  62703. + return 0;
  62704. +}
  62705. +_ACEOF
  62706. +if ac_fn_c_try_run "$LINENO"; then :
  62707. + gl_cv_func_stat_dir_slash=yes
  62708. +else
  62709. + gl_cv_func_stat_dir_slash=no
  62710. +fi
  62711. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  62712. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  62713. +fi
  62714. +
  62715. +fi
  62716. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_dir_slash" >&5
  62717. +$as_echo "$gl_cv_func_stat_dir_slash" >&6; }
  62718. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5
  62719. +$as_echo_n "checking whether stat handles trailing slashes on files... " >&6; }
  62720. +if ${gl_cv_func_stat_file_slash+:} false; then :
  62721. + $as_echo_n "(cached) " >&6
  62722. +else
  62723. + touch conftest.tmp
  62724. + # Assume that if we have lstat, we can also check symlinks.
  62725. + if test $ac_cv_func_lstat = yes; then
  62726. + ln -s conftest.tmp conftest.lnk
  62727. + fi
  62728. + if test "$cross_compiling" = yes; then :
  62729. + gl_cv_func_stat_file_slash="guessing no"
  62730. +else
  62731. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62732. +/* end confdefs.h. */
  62733. +#include <sys/stat.h>
  62734. +
  62735. +int
  62736. +main ()
  62737. +{
  62738. +int result = 0;
  62739. + struct stat st;
  62740. + if (!stat ("conftest.tmp/", &st))
  62741. + result |= 1;
  62742. +#if HAVE_LSTAT
  62743. + if (!stat ("conftest.lnk/", &st))
  62744. + result |= 2;
  62745. +#endif
  62746. + return result;
  62747. +
  62748. + ;
  62749. + return 0;
  62750. +}
  62751. +_ACEOF
  62752. +if ac_fn_c_try_run "$LINENO"; then :
  62753. + gl_cv_func_stat_file_slash=yes
  62754. +else
  62755. + gl_cv_func_stat_file_slash=no
  62756. +fi
  62757. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  62758. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  62759. +fi
  62760. +
  62761. + rm -f conftest.tmp conftest.lnk
  62762. +fi
  62763. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_file_slash" >&5
  62764. +$as_echo "$gl_cv_func_stat_file_slash" >&6; }
  62765. + case $gl_cv_func_stat_dir_slash in
  62766. + *no) REPLACE_STAT=1
  62767. +
  62768. +$as_echo "@%:@define REPLACE_FUNC_STAT_DIR 1" >>confdefs.h
  62769. +;;
  62770. + esac
  62771. + case $gl_cv_func_stat_file_slash in
  62772. + *no) REPLACE_STAT=1
  62773. +
  62774. +$as_echo "@%:@define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h
  62775. +;;
  62776. + esac
  62777. + if test $REPLACE_STAT = 1; then
  62778. +
  62779. +
  62780. +
  62781. +
  62782. +
  62783. +
  62784. +
  62785. +
  62786. + M4_LIBOBJS="$M4_LIBOBJS stat.$ac_objext"
  62787. +
  62788. +
  62789. + fi
  62790. +
  62791. +
  62792. +
  62793. +
  62794. + GNULIB_STAT=1
  62795. +
  62796. +
  62797. +
  62798. +$as_echo "@%:@define GNULIB_TEST_STAT 1" >>confdefs.h
  62799. +
  62800. +
  62801. +
  62802. + # Code from module stdarg:
  62803. +
  62804. + STDARG_H='';
  62805. + NEXT_STDARG_H='<stdarg.h>';
  62806. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
  62807. +$as_echo_n "checking for va_copy... " >&6; }
  62808. + if ${gl_cv_func_va_copy+:} false; then :
  62809. + $as_echo_n "(cached) " >&6
  62810. +else
  62811. +
  62812. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62813. +/* end confdefs.h. */
  62814. +#include <stdarg.h>
  62815. +int
  62816. +main ()
  62817. +{
  62818. +
  62819. +#ifndef va_copy
  62820. +void (*func) (va_list, va_list) = va_copy;
  62821. +#endif
  62822. +
  62823. + ;
  62824. + return 0;
  62825. +}
  62826. +_ACEOF
  62827. +if ac_fn_c_try_compile "$LINENO"; then :
  62828. + gl_cv_func_va_copy=yes
  62829. +else
  62830. + gl_cv_func_va_copy=no
  62831. +fi
  62832. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  62833. +fi
  62834. +
  62835. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_va_copy" >&5
  62836. +$as_echo "$gl_cv_func_va_copy" >&6; }
  62837. + if test $gl_cv_func_va_copy = no; then
  62838. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62839. +/* end confdefs.h. */
  62840. +#if defined _AIX && !defined __GNUC__
  62841. + AIX vaccine
  62842. + #endif
  62843. +
  62844. +_ACEOF
  62845. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  62846. + $EGREP "vaccine" >/dev/null 2>&1; then :
  62847. + gl_aixcc=yes
  62848. +else
  62849. + gl_aixcc=no
  62850. +fi
  62851. +rm -f conftest*
  62852. +
  62853. + if test $gl_aixcc = yes; then
  62854. + STDARG_H=stdarg.h
  62855. +
  62856. +
  62857. +
  62858. +
  62859. +
  62860. +
  62861. +
  62862. +
  62863. + if test $gl_cv_have_include_next = yes; then
  62864. + gl_cv_next_stdarg_h='<'stdarg.h'>'
  62865. + else
  62866. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdarg.h>" >&5
  62867. +$as_echo_n "checking absolute name of <stdarg.h>... " >&6; }
  62868. +if ${gl_cv_next_stdarg_h+:} false; then :
  62869. + $as_echo_n "(cached) " >&6
  62870. +else
  62871. +
  62872. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62873. +/* end confdefs.h. */
  62874. +#include <stdarg.h>
  62875. +
  62876. +_ACEOF
  62877. + case "$host_os" in
  62878. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  62879. + *) gl_absname_cpp="$ac_cpp" ;;
  62880. + esac
  62881. + gl_cv_next_stdarg_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  62882. + sed -n '\#/stdarg.h#{
  62883. + s#.*"\(.*/stdarg.h\)".*#\1#
  62884. + s#^/[^/]#//&#
  62885. + p
  62886. + q
  62887. + }'`'"'
  62888. +
  62889. +
  62890. +fi
  62891. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdarg_h" >&5
  62892. +$as_echo "$gl_cv_next_stdarg_h" >&6; }
  62893. + fi
  62894. + NEXT_STDARG_H=$gl_cv_next_stdarg_h
  62895. +
  62896. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  62897. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  62898. + gl_next_as_first_directive='<'stdarg.h'>'
  62899. + else
  62900. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  62901. + gl_next_as_first_directive=$gl_cv_next_stdarg_h
  62902. + fi
  62903. + NEXT_AS_FIRST_DIRECTIVE_STDARG_H=$gl_next_as_first_directive
  62904. +
  62905. +
  62906. +
  62907. +
  62908. + if test "$gl_cv_next_stdarg_h" = '""'; then
  62909. + gl_cv_next_stdarg_h='"///usr/include/stdarg.h"'
  62910. + NEXT_STDARG_H="$gl_cv_next_stdarg_h"
  62911. + fi
  62912. + else
  62913. +
  62914. + saved_as_echo_n="$as_echo_n"
  62915. + as_echo_n=':'
  62916. + if ${gl_cv_func___va_copy+:} false; then :
  62917. + $as_echo_n "(cached) " >&6
  62918. +else
  62919. +
  62920. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62921. +/* end confdefs.h. */
  62922. +#include <stdarg.h>
  62923. +int
  62924. +main ()
  62925. +{
  62926. +
  62927. +#ifndef __va_copy
  62928. +error, bail out
  62929. +#endif
  62930. +
  62931. + ;
  62932. + return 0;
  62933. +}
  62934. +_ACEOF
  62935. +if ac_fn_c_try_compile "$LINENO"; then :
  62936. + gl_cv_func___va_copy=yes
  62937. +else
  62938. + gl_cv_func___va_copy=no
  62939. +fi
  62940. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  62941. +fi
  62942. +
  62943. + as_echo_n="$saved_as_echo_n"
  62944. +
  62945. + if test $gl_cv_func___va_copy = yes; then
  62946. +
  62947. +$as_echo "@%:@define va_copy __va_copy" >>confdefs.h
  62948. +
  62949. + else
  62950. +
  62951. +
  62952. +$as_echo "@%:@define va_copy gl_va_copy" >>confdefs.h
  62953. +
  62954. + fi
  62955. + fi
  62956. + fi
  62957. +
  62958. + # Code from module stdbool:
  62959. +
  62960. +
  62961. +
  62962. + # Define two additional variables used in the Makefile substitution.
  62963. +
  62964. + if test "$ac_cv_header_stdbool_h" = yes; then
  62965. + STDBOOL_H=''
  62966. + else
  62967. + STDBOOL_H='stdbool.h'
  62968. + fi
  62969. +
  62970. +
  62971. + if test "$ac_cv_type__Bool" = yes; then
  62972. + HAVE__BOOL=1
  62973. + else
  62974. + HAVE__BOOL=0
  62975. + fi
  62976. +
  62977. +
  62978. + # Code from module stddef:
  62979. +
  62980. +
  62981. +
  62982. + if test $gt_cv_c_wchar_t = no; then
  62983. + HAVE_WCHAR_T=0
  62984. + STDDEF_H=stddef.h
  62985. + fi
  62986. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
  62987. +$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
  62988. +if ${gl_cv_decl_null_works+:} false; then :
  62989. + $as_echo_n "(cached) " >&6
  62990. +else
  62991. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  62992. +/* end confdefs.h. */
  62993. +#include <stddef.h>
  62994. + int test[2 * (sizeof NULL == sizeof (void *)) -1];
  62995. +
  62996. +int
  62997. +main ()
  62998. +{
  62999. +
  63000. + ;
  63001. + return 0;
  63002. +}
  63003. +_ACEOF
  63004. +if ac_fn_c_try_compile "$LINENO"; then :
  63005. + gl_cv_decl_null_works=yes
  63006. +else
  63007. + gl_cv_decl_null_works=no
  63008. +fi
  63009. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  63010. +fi
  63011. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5
  63012. +$as_echo "$gl_cv_decl_null_works" >&6; }
  63013. + if test $gl_cv_decl_null_works = no; then
  63014. + REPLACE_NULL=1
  63015. + STDDEF_H=stddef.h
  63016. + fi
  63017. + if test -n "$STDDEF_H"; then
  63018. +
  63019. +
  63020. +
  63021. +
  63022. +
  63023. +
  63024. +
  63025. +
  63026. + if test $gl_cv_have_include_next = yes; then
  63027. + gl_cv_next_stddef_h='<'stddef.h'>'
  63028. + else
  63029. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
  63030. +$as_echo_n "checking absolute name of <stddef.h>... " >&6; }
  63031. +if ${gl_cv_next_stddef_h+:} false; then :
  63032. + $as_echo_n "(cached) " >&6
  63033. +else
  63034. +
  63035. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  63036. +/* end confdefs.h. */
  63037. +#include <stddef.h>
  63038. +
  63039. +_ACEOF
  63040. + case "$host_os" in
  63041. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  63042. + *) gl_absname_cpp="$ac_cpp" ;;
  63043. + esac
  63044. + gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  63045. + sed -n '\#/stddef.h#{
  63046. + s#.*"\(.*/stddef.h\)".*#\1#
  63047. + s#^/[^/]#//&#
  63048. + p
  63049. + q
  63050. + }'`'"'
  63051. +
  63052. +
  63053. +fi
  63054. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
  63055. +$as_echo "$gl_cv_next_stddef_h" >&6; }
  63056. + fi
  63057. + NEXT_STDDEF_H=$gl_cv_next_stddef_h
  63058. +
  63059. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  63060. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  63061. + gl_next_as_first_directive='<'stddef.h'>'
  63062. + else
  63063. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  63064. + gl_next_as_first_directive=$gl_cv_next_stddef_h
  63065. + fi
  63066. + NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive
  63067. +
  63068. +
  63069. +
  63070. +
  63071. + fi
  63072. +
  63073. + # Code from module stdint:
  63074. +
  63075. +
  63076. +
  63077. + if test $ac_cv_type_long_long_int = yes; then
  63078. + HAVE_LONG_LONG_INT=1
  63079. + else
  63080. + HAVE_LONG_LONG_INT=0
  63081. + fi
  63082. +
  63083. +
  63084. + if test $ac_cv_type_unsigned_long_long_int = yes; then
  63085. + HAVE_UNSIGNED_LONG_LONG_INT=1
  63086. + else
  63087. + HAVE_UNSIGNED_LONG_LONG_INT=0
  63088. + fi
  63089. +
  63090. +
  63091. +
  63092. + if test $ac_cv_header_wchar_h = yes; then
  63093. + HAVE_WCHAR_H=1
  63094. + else
  63095. + HAVE_WCHAR_H=0
  63096. + fi
  63097. +
  63098. +
  63099. + if test $ac_cv_header_inttypes_h = yes; then
  63100. + HAVE_INTTYPES_H=1
  63101. + else
  63102. + HAVE_INTTYPES_H=0
  63103. + fi
  63104. +
  63105. +
  63106. + if test $ac_cv_header_sys_types_h = yes; then
  63107. + HAVE_SYS_TYPES_H=1
  63108. + else
  63109. + HAVE_SYS_TYPES_H=0
  63110. + fi
  63111. +
  63112. +
  63113. +
  63114. +
  63115. +
  63116. +
  63117. +
  63118. +
  63119. +
  63120. +
  63121. +
  63122. + if test $gl_cv_have_include_next = yes; then
  63123. + gl_cv_next_stdint_h='<'stdint.h'>'
  63124. + else
  63125. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
  63126. +$as_echo_n "checking absolute name of <stdint.h>... " >&6; }
  63127. +if ${gl_cv_next_stdint_h+:} false; then :
  63128. + $as_echo_n "(cached) " >&6
  63129. +else
  63130. +
  63131. + if test $ac_cv_header_stdint_h = yes; then
  63132. +
  63133. +
  63134. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  63135. +/* end confdefs.h. */
  63136. +#include <stdint.h>
  63137. +
  63138. +_ACEOF
  63139. + case "$host_os" in
  63140. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  63141. + *) gl_absname_cpp="$ac_cpp" ;;
  63142. + esac
  63143. + gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  63144. + sed -n '\#/stdint.h#{
  63145. + s#.*"\(.*/stdint.h\)".*#\1#
  63146. + s#^/[^/]#//&#
  63147. + p
  63148. + q
  63149. + }'`'"'
  63150. + else
  63151. + gl_cv_next_stdint_h='<'stdint.h'>'
  63152. + fi
  63153. +
  63154. +
  63155. +fi
  63156. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5
  63157. +$as_echo "$gl_cv_next_stdint_h" >&6; }
  63158. + fi
  63159. + NEXT_STDINT_H=$gl_cv_next_stdint_h
  63160. +
  63161. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  63162. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  63163. + gl_next_as_first_directive='<'stdint.h'>'
  63164. + else
  63165. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  63166. + gl_next_as_first_directive=$gl_cv_next_stdint_h
  63167. + fi
  63168. + NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive
  63169. +
  63170. +
  63171. +
  63172. +
  63173. + if test $ac_cv_header_stdint_h = yes; then
  63174. + HAVE_STDINT_H=1
  63175. + else
  63176. + HAVE_STDINT_H=0
  63177. + fi
  63178. +
  63179. +
  63180. + if test $ac_cv_header_stdint_h = yes; then
  63181. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
  63182. +$as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
  63183. +if ${gl_cv_header_working_stdint_h+:} false; then :
  63184. + $as_echo_n "(cached) " >&6
  63185. +else
  63186. + gl_cv_header_working_stdint_h=no
  63187. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  63188. +/* end confdefs.h. */
  63189. +
  63190. +
  63191. +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
  63192. +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
  63193. +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
  63194. +#include <stdint.h>
  63195. +/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */
  63196. +#if !(defined WCHAR_MIN && defined WCHAR_MAX)
  63197. +#error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
  63198. +#endif
  63199. +
  63200. +
  63201. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  63202. + included before <wchar.h>. */
  63203. + #include <stddef.h>
  63204. + #include <signal.h>
  63205. + #if HAVE_WCHAR_H
  63206. + # include <stdio.h>
  63207. + # include <time.h>
  63208. + # include <wchar.h>
  63209. + #endif
  63210. +
  63211. +
  63212. +#ifdef INT8_MAX
  63213. +int8_t a1 = INT8_MAX;
  63214. +int8_t a1min = INT8_MIN;
  63215. +#endif
  63216. +#ifdef INT16_MAX
  63217. +int16_t a2 = INT16_MAX;
  63218. +int16_t a2min = INT16_MIN;
  63219. +#endif
  63220. +#ifdef INT32_MAX
  63221. +int32_t a3 = INT32_MAX;
  63222. +int32_t a3min = INT32_MIN;
  63223. +#endif
  63224. +#ifdef INT64_MAX
  63225. +int64_t a4 = INT64_MAX;
  63226. +int64_t a4min = INT64_MIN;
  63227. +#endif
  63228. +#ifdef UINT8_MAX
  63229. +uint8_t b1 = UINT8_MAX;
  63230. +#else
  63231. +typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
  63232. +#endif
  63233. +#ifdef UINT16_MAX
  63234. +uint16_t b2 = UINT16_MAX;
  63235. +#endif
  63236. +#ifdef UINT32_MAX
  63237. +uint32_t b3 = UINT32_MAX;
  63238. +#endif
  63239. +#ifdef UINT64_MAX
  63240. +uint64_t b4 = UINT64_MAX;
  63241. +#endif
  63242. +int_least8_t c1 = INT8_C (0x7f);
  63243. +int_least8_t c1max = INT_LEAST8_MAX;
  63244. +int_least8_t c1min = INT_LEAST8_MIN;
  63245. +int_least16_t c2 = INT16_C (0x7fff);
  63246. +int_least16_t c2max = INT_LEAST16_MAX;
  63247. +int_least16_t c2min = INT_LEAST16_MIN;
  63248. +int_least32_t c3 = INT32_C (0x7fffffff);
  63249. +int_least32_t c3max = INT_LEAST32_MAX;
  63250. +int_least32_t c3min = INT_LEAST32_MIN;
  63251. +int_least64_t c4 = INT64_C (0x7fffffffffffffff);
  63252. +int_least64_t c4max = INT_LEAST64_MAX;
  63253. +int_least64_t c4min = INT_LEAST64_MIN;
  63254. +uint_least8_t d1 = UINT8_C (0xff);
  63255. +uint_least8_t d1max = UINT_LEAST8_MAX;
  63256. +uint_least16_t d2 = UINT16_C (0xffff);
  63257. +uint_least16_t d2max = UINT_LEAST16_MAX;
  63258. +uint_least32_t d3 = UINT32_C (0xffffffff);
  63259. +uint_least32_t d3max = UINT_LEAST32_MAX;
  63260. +uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
  63261. +uint_least64_t d4max = UINT_LEAST64_MAX;
  63262. +int_fast8_t e1 = INT_FAST8_MAX;
  63263. +int_fast8_t e1min = INT_FAST8_MIN;
  63264. +int_fast16_t e2 = INT_FAST16_MAX;
  63265. +int_fast16_t e2min = INT_FAST16_MIN;
  63266. +int_fast32_t e3 = INT_FAST32_MAX;
  63267. +int_fast32_t e3min = INT_FAST32_MIN;
  63268. +int_fast64_t e4 = INT_FAST64_MAX;
  63269. +int_fast64_t e4min = INT_FAST64_MIN;
  63270. +uint_fast8_t f1 = UINT_FAST8_MAX;
  63271. +uint_fast16_t f2 = UINT_FAST16_MAX;
  63272. +uint_fast32_t f3 = UINT_FAST32_MAX;
  63273. +uint_fast64_t f4 = UINT_FAST64_MAX;
  63274. +#ifdef INTPTR_MAX
  63275. +intptr_t g = INTPTR_MAX;
  63276. +intptr_t gmin = INTPTR_MIN;
  63277. +#endif
  63278. +#ifdef UINTPTR_MAX
  63279. +uintptr_t h = UINTPTR_MAX;
  63280. +#endif
  63281. +intmax_t i = INTMAX_MAX;
  63282. +uintmax_t j = UINTMAX_MAX;
  63283. +
  63284. +#include <limits.h> /* for CHAR_BIT */
  63285. +#define TYPE_MINIMUM(t) \
  63286. + ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t)))
  63287. +#define TYPE_MAXIMUM(t) \
  63288. + ((t) ((t) 0 < (t) -1 \
  63289. + ? (t) -1 \
  63290. + : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
  63291. +struct s {
  63292. + int check_PTRDIFF:
  63293. + PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
  63294. + && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
  63295. + ? 1 : -1;
  63296. + /* Detect bug in FreeBSD 6.0 / ia64. */
  63297. + int check_SIG_ATOMIC:
  63298. + SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
  63299. + && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
  63300. + ? 1 : -1;
  63301. + int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
  63302. + int check_WCHAR:
  63303. + WCHAR_MIN == TYPE_MINIMUM (wchar_t)
  63304. + && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
  63305. + ? 1 : -1;
  63306. + /* Detect bug in mingw. */
  63307. + int check_WINT:
  63308. + WINT_MIN == TYPE_MINIMUM (wint_t)
  63309. + && WINT_MAX == TYPE_MAXIMUM (wint_t)
  63310. + ? 1 : -1;
  63311. +
  63312. + /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */
  63313. + int check_UINT8_C:
  63314. + (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
  63315. + int check_UINT16_C:
  63316. + (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
  63317. +
  63318. + /* Detect bugs in OpenBSD 3.9 stdint.h. */
  63319. +#ifdef UINT8_MAX
  63320. + int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
  63321. +#endif
  63322. +#ifdef UINT16_MAX
  63323. + int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
  63324. +#endif
  63325. +#ifdef UINT32_MAX
  63326. + int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
  63327. +#endif
  63328. +#ifdef UINT64_MAX
  63329. + int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
  63330. +#endif
  63331. + int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
  63332. + int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
  63333. + int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
  63334. + int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
  63335. + int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
  63336. + int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
  63337. + int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
  63338. + int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
  63339. + int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
  63340. + int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
  63341. + int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
  63342. +};
  63343. +
  63344. +int
  63345. +main ()
  63346. +{
  63347. +
  63348. + ;
  63349. + return 0;
  63350. +}
  63351. +_ACEOF
  63352. +if ac_fn_c_try_compile "$LINENO"; then :
  63353. + if test "$cross_compiling" = yes; then :
  63354. + gl_cv_header_working_stdint_h=yes
  63355. +
  63356. +else
  63357. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  63358. +/* end confdefs.h. */
  63359. +
  63360. +
  63361. +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
  63362. +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
  63363. +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
  63364. +#include <stdint.h>
  63365. +
  63366. +
  63367. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  63368. + included before <wchar.h>. */
  63369. + #include <stddef.h>
  63370. + #include <signal.h>
  63371. + #if HAVE_WCHAR_H
  63372. + # include <stdio.h>
  63373. + # include <time.h>
  63374. + # include <wchar.h>
  63375. + #endif
  63376. +
  63377. +
  63378. +#include <stdio.h>
  63379. +#include <string.h>
  63380. +#define MVAL(macro) MVAL1(macro)
  63381. +#define MVAL1(expression) #expression
  63382. +static const char *macro_values[] =
  63383. + {
  63384. +#ifdef INT8_MAX
  63385. + MVAL (INT8_MAX),
  63386. +#endif
  63387. +#ifdef INT16_MAX
  63388. + MVAL (INT16_MAX),
  63389. +#endif
  63390. +#ifdef INT32_MAX
  63391. + MVAL (INT32_MAX),
  63392. +#endif
  63393. +#ifdef INT64_MAX
  63394. + MVAL (INT64_MAX),
  63395. +#endif
  63396. +#ifdef UINT8_MAX
  63397. + MVAL (UINT8_MAX),
  63398. +#endif
  63399. +#ifdef UINT16_MAX
  63400. + MVAL (UINT16_MAX),
  63401. +#endif
  63402. +#ifdef UINT32_MAX
  63403. + MVAL (UINT32_MAX),
  63404. +#endif
  63405. +#ifdef UINT64_MAX
  63406. + MVAL (UINT64_MAX),
  63407. +#endif
  63408. + NULL
  63409. + };
  63410. +
  63411. +int
  63412. +main ()
  63413. +{
  63414. +
  63415. + const char **mv;
  63416. + for (mv = macro_values; *mv != NULL; mv++)
  63417. + {
  63418. + const char *value = *mv;
  63419. + /* Test whether it looks like a cast expression. */
  63420. + if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0
  63421. + || strncmp (value, "((unsigned short)"/*)*/, 17) == 0
  63422. + || strncmp (value, "((unsigned char)"/*)*/, 16) == 0
  63423. + || strncmp (value, "((int)"/*)*/, 6) == 0
  63424. + || strncmp (value, "((signed short)"/*)*/, 15) == 0
  63425. + || strncmp (value, "((signed char)"/*)*/, 14) == 0)
  63426. + return mv - macro_values + 1;
  63427. + }
  63428. + return 0;
  63429. +
  63430. + ;
  63431. + return 0;
  63432. +}
  63433. +_ACEOF
  63434. +if ac_fn_c_try_run "$LINENO"; then :
  63435. + gl_cv_header_working_stdint_h=yes
  63436. +fi
  63437. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  63438. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  63439. +fi
  63440. +
  63441. +
  63442. +fi
  63443. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  63444. +
  63445. +fi
  63446. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5
  63447. +$as_echo "$gl_cv_header_working_stdint_h" >&6; }
  63448. + fi
  63449. + if test "$gl_cv_header_working_stdint_h" = yes; then
  63450. + STDINT_H=
  63451. + else
  63452. + for ac_header in sys/inttypes.h sys/bitypes.h
  63453. +do :
  63454. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  63455. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  63456. +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  63457. + cat >>confdefs.h <<_ACEOF
  63458. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  63459. +_ACEOF
  63460. +
  63461. +fi
  63462. +
  63463. +done
  63464. +
  63465. + if test $ac_cv_header_sys_inttypes_h = yes; then
  63466. + HAVE_SYS_INTTYPES_H=1
  63467. + else
  63468. + HAVE_SYS_INTTYPES_H=0
  63469. + fi
  63470. +
  63471. + if test $ac_cv_header_sys_bitypes_h = yes; then
  63472. + HAVE_SYS_BITYPES_H=1
  63473. + else
  63474. + HAVE_SYS_BITYPES_H=0
  63475. + fi
  63476. +
  63477. +
  63478. +
  63479. +
  63480. + if test $APPLE_UNIVERSAL_BUILD = 0; then
  63481. +
  63482. +
  63483. + for gltype in ptrdiff_t size_t ; do
  63484. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
  63485. +$as_echo_n "checking for bit size of $gltype... " >&6; }
  63486. +if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
  63487. + $as_echo_n "(cached) " >&6
  63488. +else
  63489. + if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
  63490. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  63491. + included before <wchar.h>. */
  63492. + #include <stddef.h>
  63493. + #include <signal.h>
  63494. + #if HAVE_WCHAR_H
  63495. + # include <stdio.h>
  63496. + # include <time.h>
  63497. + # include <wchar.h>
  63498. + #endif
  63499. +
  63500. +#include <limits.h>"; then :
  63501. +
  63502. +else
  63503. + result=unknown
  63504. +fi
  63505. +
  63506. + eval gl_cv_bitsizeof_${gltype}=\$result
  63507. +
  63508. +fi
  63509. +eval ac_res=\$gl_cv_bitsizeof_${gltype}
  63510. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  63511. +$as_echo "$ac_res" >&6; }
  63512. + eval result=\$gl_cv_bitsizeof_${gltype}
  63513. + if test $result = unknown; then
  63514. + result=0
  63515. + fi
  63516. + GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  63517. + cat >>confdefs.h <<_ACEOF
  63518. +@%:@define BITSIZEOF_${GLTYPE} $result
  63519. +_ACEOF
  63520. +
  63521. + eval BITSIZEOF_${GLTYPE}=\$result
  63522. + done
  63523. +
  63524. +
  63525. + fi
  63526. +
  63527. +
  63528. + for gltype in sig_atomic_t wchar_t wint_t ; do
  63529. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
  63530. +$as_echo_n "checking for bit size of $gltype... " >&6; }
  63531. +if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
  63532. + $as_echo_n "(cached) " >&6
  63533. +else
  63534. + if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
  63535. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  63536. + included before <wchar.h>. */
  63537. + #include <stddef.h>
  63538. + #include <signal.h>
  63539. + #if HAVE_WCHAR_H
  63540. + # include <stdio.h>
  63541. + # include <time.h>
  63542. + # include <wchar.h>
  63543. + #endif
  63544. +
  63545. +#include <limits.h>"; then :
  63546. +
  63547. +else
  63548. + result=unknown
  63549. +fi
  63550. +
  63551. + eval gl_cv_bitsizeof_${gltype}=\$result
  63552. +
  63553. +fi
  63554. +eval ac_res=\$gl_cv_bitsizeof_${gltype}
  63555. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  63556. +$as_echo "$ac_res" >&6; }
  63557. + eval result=\$gl_cv_bitsizeof_${gltype}
  63558. + if test $result = unknown; then
  63559. + result=0
  63560. + fi
  63561. + GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  63562. + cat >>confdefs.h <<_ACEOF
  63563. +@%:@define BITSIZEOF_${GLTYPE} $result
  63564. +_ACEOF
  63565. +
  63566. + eval BITSIZEOF_${GLTYPE}=\$result
  63567. + done
  63568. +
  63569. +
  63570. +
  63571. +
  63572. + for gltype in sig_atomic_t wchar_t wint_t ; do
  63573. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
  63574. +$as_echo_n "checking whether $gltype is signed... " >&6; }
  63575. +if eval \${gl_cv_type_${gltype}_signed+:} false; then :
  63576. + $as_echo_n "(cached) " >&6
  63577. +else
  63578. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  63579. +/* end confdefs.h. */
  63580. +
  63581. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  63582. + included before <wchar.h>. */
  63583. + #include <stddef.h>
  63584. + #include <signal.h>
  63585. + #if HAVE_WCHAR_H
  63586. + # include <stdio.h>
  63587. + # include <time.h>
  63588. + # include <wchar.h>
  63589. + #endif
  63590. +
  63591. + int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
  63592. +int
  63593. +main ()
  63594. +{
  63595. +
  63596. + ;
  63597. + return 0;
  63598. +}
  63599. +_ACEOF
  63600. +if ac_fn_c_try_compile "$LINENO"; then :
  63601. + result=yes
  63602. +else
  63603. + result=no
  63604. +fi
  63605. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  63606. + eval gl_cv_type_${gltype}_signed=\$result
  63607. +
  63608. +fi
  63609. +eval ac_res=\$gl_cv_type_${gltype}_signed
  63610. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  63611. +$as_echo "$ac_res" >&6; }
  63612. + eval result=\$gl_cv_type_${gltype}_signed
  63613. + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  63614. + if test "$result" = yes; then
  63615. + cat >>confdefs.h <<_ACEOF
  63616. +@%:@define HAVE_SIGNED_${GLTYPE} 1
  63617. +_ACEOF
  63618. +
  63619. + eval HAVE_SIGNED_${GLTYPE}=1
  63620. + else
  63621. + eval HAVE_SIGNED_${GLTYPE}=0
  63622. + fi
  63623. + done
  63624. +
  63625. +
  63626. + gl_cv_type_ptrdiff_t_signed=yes
  63627. + gl_cv_type_size_t_signed=no
  63628. + if test $APPLE_UNIVERSAL_BUILD = 0; then
  63629. +
  63630. +
  63631. + for gltype in ptrdiff_t size_t ; do
  63632. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
  63633. +$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
  63634. +if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
  63635. + $as_echo_n "(cached) " >&6
  63636. +else
  63637. + eval gl_cv_type_${gltype}_suffix=no
  63638. + eval result=\$gl_cv_type_${gltype}_signed
  63639. + if test "$result" = yes; then
  63640. + glsufu=
  63641. + else
  63642. + glsufu=u
  63643. + fi
  63644. + for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
  63645. + case $glsuf in
  63646. + '') gltype1='int';;
  63647. + l) gltype1='long int';;
  63648. + ll) gltype1='long long int';;
  63649. + i64) gltype1='__int64';;
  63650. + u) gltype1='unsigned int';;
  63651. + ul) gltype1='unsigned long int';;
  63652. + ull) gltype1='unsigned long long int';;
  63653. + ui64)gltype1='unsigned __int64';;
  63654. + esac
  63655. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  63656. +/* end confdefs.h. */
  63657. +
  63658. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  63659. + included before <wchar.h>. */
  63660. + #include <stddef.h>
  63661. + #include <signal.h>
  63662. + #if HAVE_WCHAR_H
  63663. + # include <stdio.h>
  63664. + # include <time.h>
  63665. + # include <wchar.h>
  63666. + #endif
  63667. +
  63668. + extern $gltype foo;
  63669. + extern $gltype1 foo;
  63670. +int
  63671. +main ()
  63672. +{
  63673. +
  63674. + ;
  63675. + return 0;
  63676. +}
  63677. +_ACEOF
  63678. +if ac_fn_c_try_compile "$LINENO"; then :
  63679. + eval gl_cv_type_${gltype}_suffix=\$glsuf
  63680. +fi
  63681. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  63682. + eval result=\$gl_cv_type_${gltype}_suffix
  63683. + test "$result" != no && break
  63684. + done
  63685. +fi
  63686. +eval ac_res=\$gl_cv_type_${gltype}_suffix
  63687. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  63688. +$as_echo "$ac_res" >&6; }
  63689. + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  63690. + eval result=\$gl_cv_type_${gltype}_suffix
  63691. + test "$result" = no && result=
  63692. + eval ${GLTYPE}_SUFFIX=\$result
  63693. + cat >>confdefs.h <<_ACEOF
  63694. +@%:@define ${GLTYPE}_SUFFIX $result
  63695. +_ACEOF
  63696. +
  63697. + done
  63698. +
  63699. +
  63700. + fi
  63701. +
  63702. +
  63703. + for gltype in sig_atomic_t wchar_t wint_t ; do
  63704. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
  63705. +$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
  63706. +if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
  63707. + $as_echo_n "(cached) " >&6
  63708. +else
  63709. + eval gl_cv_type_${gltype}_suffix=no
  63710. + eval result=\$gl_cv_type_${gltype}_signed
  63711. + if test "$result" = yes; then
  63712. + glsufu=
  63713. + else
  63714. + glsufu=u
  63715. + fi
  63716. + for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
  63717. + case $glsuf in
  63718. + '') gltype1='int';;
  63719. + l) gltype1='long int';;
  63720. + ll) gltype1='long long int';;
  63721. + i64) gltype1='__int64';;
  63722. + u) gltype1='unsigned int';;
  63723. + ul) gltype1='unsigned long int';;
  63724. + ull) gltype1='unsigned long long int';;
  63725. + ui64)gltype1='unsigned __int64';;
  63726. + esac
  63727. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  63728. +/* end confdefs.h. */
  63729. +
  63730. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  63731. + included before <wchar.h>. */
  63732. + #include <stddef.h>
  63733. + #include <signal.h>
  63734. + #if HAVE_WCHAR_H
  63735. + # include <stdio.h>
  63736. + # include <time.h>
  63737. + # include <wchar.h>
  63738. + #endif
  63739. +
  63740. + extern $gltype foo;
  63741. + extern $gltype1 foo;
  63742. +int
  63743. +main ()
  63744. +{
  63745. +
  63746. + ;
  63747. + return 0;
  63748. +}
  63749. +_ACEOF
  63750. +if ac_fn_c_try_compile "$LINENO"; then :
  63751. + eval gl_cv_type_${gltype}_suffix=\$glsuf
  63752. +fi
  63753. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  63754. + eval result=\$gl_cv_type_${gltype}_suffix
  63755. + test "$result" != no && break
  63756. + done
  63757. +fi
  63758. +eval ac_res=\$gl_cv_type_${gltype}_suffix
  63759. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  63760. +$as_echo "$ac_res" >&6; }
  63761. + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  63762. + eval result=\$gl_cv_type_${gltype}_suffix
  63763. + test "$result" = no && result=
  63764. + eval ${GLTYPE}_SUFFIX=\$result
  63765. + cat >>confdefs.h <<_ACEOF
  63766. +@%:@define ${GLTYPE}_SUFFIX $result
  63767. +_ACEOF
  63768. +
  63769. + done
  63770. +
  63771. +
  63772. +
  63773. + STDINT_H=stdint.h
  63774. + fi
  63775. +
  63776. +
  63777. + # Code from module stdio:
  63778. +
  63779. +
  63780. +
  63781. +
  63782. +
  63783. +
  63784. +
  63785. +
  63786. +
  63787. +
  63788. +
  63789. + if test $gl_cv_have_include_next = yes; then
  63790. + gl_cv_next_stdio_h='<'stdio.h'>'
  63791. + else
  63792. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdio.h>" >&5
  63793. +$as_echo_n "checking absolute name of <stdio.h>... " >&6; }
  63794. +if ${gl_cv_next_stdio_h+:} false; then :
  63795. + $as_echo_n "(cached) " >&6
  63796. +else
  63797. +
  63798. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  63799. +/* end confdefs.h. */
  63800. +#include <stdio.h>
  63801. +
  63802. +_ACEOF
  63803. + case "$host_os" in
  63804. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  63805. + *) gl_absname_cpp="$ac_cpp" ;;
  63806. + esac
  63807. + gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  63808. + sed -n '\#/stdio.h#{
  63809. + s#.*"\(.*/stdio.h\)".*#\1#
  63810. + s#^/[^/]#//&#
  63811. + p
  63812. + q
  63813. + }'`'"'
  63814. +
  63815. +
  63816. +fi
  63817. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5
  63818. +$as_echo "$gl_cv_next_stdio_h" >&6; }
  63819. + fi
  63820. + NEXT_STDIO_H=$gl_cv_next_stdio_h
  63821. +
  63822. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  63823. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  63824. + gl_next_as_first_directive='<'stdio.h'>'
  63825. + else
  63826. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  63827. + gl_next_as_first_directive=$gl_cv_next_stdio_h
  63828. + fi
  63829. + NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive
  63830. +
  63831. +
  63832. +
  63833. +
  63834. + GNULIB_FPRINTF=1
  63835. + GNULIB_PRINTF=1
  63836. + GNULIB_VFPRINTF=1
  63837. + GNULIB_VPRINTF=1
  63838. + GNULIB_FPUTC=1
  63839. + GNULIB_PUTC=1
  63840. + GNULIB_PUTCHAR=1
  63841. + GNULIB_FPUTS=1
  63842. + GNULIB_PUTS=1
  63843. + GNULIB_FWRITE=1
  63844. +
  63845. +
  63846. +
  63847. +
  63848. + # Code from module stdlib:
  63849. +
  63850. +
  63851. +
  63852. +
  63853. +
  63854. +
  63855. +
  63856. +
  63857. +
  63858. +
  63859. + if test $gl_cv_have_include_next = yes; then
  63860. + gl_cv_next_stdlib_h='<'stdlib.h'>'
  63861. + else
  63862. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdlib.h>" >&5
  63863. +$as_echo_n "checking absolute name of <stdlib.h>... " >&6; }
  63864. +if ${gl_cv_next_stdlib_h+:} false; then :
  63865. + $as_echo_n "(cached) " >&6
  63866. +else
  63867. +
  63868. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  63869. +/* end confdefs.h. */
  63870. +#include <stdlib.h>
  63871. +
  63872. +_ACEOF
  63873. + case "$host_os" in
  63874. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  63875. + *) gl_absname_cpp="$ac_cpp" ;;
  63876. + esac
  63877. + gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  63878. + sed -n '\#/stdlib.h#{
  63879. + s#.*"\(.*/stdlib.h\)".*#\1#
  63880. + s#^/[^/]#//&#
  63881. + p
  63882. + q
  63883. + }'`'"'
  63884. +
  63885. +
  63886. +fi
  63887. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5
  63888. +$as_echo "$gl_cv_next_stdlib_h" >&6; }
  63889. + fi
  63890. + NEXT_STDLIB_H=$gl_cv_next_stdlib_h
  63891. +
  63892. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  63893. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  63894. + gl_next_as_first_directive='<'stdlib.h'>'
  63895. + else
  63896. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  63897. + gl_next_as_first_directive=$gl_cv_next_stdlib_h
  63898. + fi
  63899. + NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive
  63900. +
  63901. +
  63902. +
  63903. +
  63904. +
  63905. +
  63906. +
  63907. + # Code from module stdlib-safer:
  63908. +
  63909. +
  63910. +
  63911. +
  63912. +
  63913. +
  63914. +
  63915. +
  63916. +
  63917. + M4_LIBOBJS="$M4_LIBOBJS mkstemp-safer.$ac_objext"
  63918. +
  63919. +
  63920. + # Code from module strchrnul:
  63921. +
  63922. +
  63923. +
  63924. +
  63925. +
  63926. +
  63927. +
  63928. +
  63929. +
  63930. +
  63931. +
  63932. +
  63933. + for ac_func in strchrnul
  63934. +do :
  63935. + ac_fn_c_check_func "$LINENO" "strchrnul" "ac_cv_func_strchrnul"
  63936. +if test "x$ac_cv_func_strchrnul" = xyes; then :
  63937. + cat >>confdefs.h <<_ACEOF
  63938. +@%:@define HAVE_STRCHRNUL 1
  63939. +_ACEOF
  63940. +
  63941. +else
  63942. +
  63943. + M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext"
  63944. +
  63945. +fi
  63946. +done
  63947. +
  63948. +
  63949. + if test $ac_cv_func_strchrnul = no; then
  63950. + HAVE_STRCHRNUL=0
  63951. + :
  63952. + fi
  63953. +
  63954. +
  63955. +
  63956. +
  63957. + GNULIB_STRCHRNUL=1
  63958. +
  63959. +
  63960. +
  63961. +$as_echo "@%:@define GNULIB_TEST_STRCHRNUL 1" >>confdefs.h
  63962. +
  63963. +
  63964. +
  63965. + # Code from module streq:
  63966. + # Code from module strerror:
  63967. +
  63968. +
  63969. + if test $REPLACE_STRERROR = 1; then
  63970. +
  63971. +
  63972. +
  63973. +
  63974. +
  63975. +
  63976. +
  63977. +
  63978. + M4_LIBOBJS="$M4_LIBOBJS strerror.$ac_objext"
  63979. +
  63980. +
  63981. +cat >>confdefs.h <<_ACEOF
  63982. +@%:@define REPLACE_STRERROR $REPLACE_STRERROR
  63983. +_ACEOF
  63984. +
  63985. + fi
  63986. +
  63987. +
  63988. +
  63989. +
  63990. + GNULIB_STRERROR=1
  63991. +
  63992. +
  63993. +
  63994. +$as_echo "@%:@define GNULIB_TEST_STRERROR 1" >>confdefs.h
  63995. +
  63996. +
  63997. +
  63998. + # Code from module string:
  63999. +
  64000. +
  64001. +
  64002. + # Code from module strndup:
  64003. +
  64004. +
  64005. +
  64006. +
  64007. +
  64008. +
  64009. + if test $ac_cv_have_decl_strndup = no; then
  64010. + HAVE_DECL_STRNDUP=0
  64011. + fi
  64012. +
  64013. + if test $ac_cv_func_strndup = yes; then
  64014. + # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'.
  64015. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5
  64016. +$as_echo_n "checking for working strndup... " >&6; }
  64017. +if ${gl_cv_func_strndup_works+:} false; then :
  64018. + $as_echo_n "(cached) " >&6
  64019. +else
  64020. + if test "$cross_compiling" = yes; then :
  64021. +
  64022. + case $host_os in
  64023. + aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";;
  64024. + *) gl_cv_func_strndup_works="guessing yes";;
  64025. + esac
  64026. +
  64027. +else
  64028. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  64029. +/* end confdefs.h. */
  64030. +
  64031. + #include <string.h>
  64032. + #include <stdlib.h>
  64033. +int
  64034. +main ()
  64035. +{
  64036. +
  64037. +#ifndef HAVE_DECL_STRNDUP
  64038. + extern char *strndup (const char *, size_t);
  64039. +#endif
  64040. + char *s;
  64041. + s = strndup ("some longer string", 15);
  64042. + free (s);
  64043. + s = strndup ("shorter string", 13);
  64044. + return s[13] != '\0';
  64045. + ;
  64046. + return 0;
  64047. +}
  64048. +_ACEOF
  64049. +if ac_fn_c_try_run "$LINENO"; then :
  64050. + gl_cv_func_strndup_works=yes
  64051. +else
  64052. + gl_cv_func_strndup_works=no
  64053. +fi
  64054. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  64055. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  64056. +fi
  64057. +
  64058. +fi
  64059. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strndup_works" >&5
  64060. +$as_echo "$gl_cv_func_strndup_works" >&6; }
  64061. + case $gl_cv_func_strndup_works in
  64062. + *no)
  64063. + REPLACE_STRNDUP=1
  64064. +
  64065. +
  64066. +
  64067. +
  64068. +
  64069. +
  64070. +
  64071. +
  64072. + M4_LIBOBJS="$M4_LIBOBJS strndup.$ac_objext"
  64073. +
  64074. + ;;
  64075. + esac
  64076. + else
  64077. +
  64078. +
  64079. +
  64080. +
  64081. +
  64082. +
  64083. +
  64084. +
  64085. + M4_LIBOBJS="$M4_LIBOBJS strndup.$ac_objext"
  64086. +
  64087. + fi
  64088. +
  64089. +
  64090. +
  64091. +
  64092. + GNULIB_STRNDUP=1
  64093. +
  64094. +
  64095. +
  64096. +$as_echo "@%:@define GNULIB_TEST_STRNDUP 1" >>confdefs.h
  64097. +
  64098. +
  64099. +
  64100. + # Code from module strnlen:
  64101. +
  64102. +
  64103. +
  64104. +
  64105. +
  64106. +
  64107. + if test $ac_cv_have_decl_strnlen = no; then
  64108. + HAVE_DECL_STRNLEN=0
  64109. + else
  64110. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
  64111. +$as_echo_n "checking for working strnlen... " >&6; }
  64112. +if ${ac_cv_func_strnlen_working+:} false; then :
  64113. + $as_echo_n "(cached) " >&6
  64114. +else
  64115. + if test "$cross_compiling" = yes; then :
  64116. + # Guess no on AIX systems, yes otherwise.
  64117. + case "$host_os" in
  64118. + aix*) ac_cv_func_strnlen_working=no;;
  64119. + *) ac_cv_func_strnlen_working=yes;;
  64120. + esac
  64121. +else
  64122. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  64123. +/* end confdefs.h. */
  64124. +$ac_includes_default
  64125. +int
  64126. +main ()
  64127. +{
  64128. +
  64129. +#define S "foobar"
  64130. +#define S_LEN (sizeof S - 1)
  64131. +
  64132. + /* At least one implementation is buggy: that of AIX 4.3 would
  64133. + give strnlen (S, 1) == 3. */
  64134. +
  64135. + int i;
  64136. + for (i = 0; i < S_LEN + 1; ++i)
  64137. + {
  64138. + int expected = i <= S_LEN ? i : S_LEN;
  64139. + if (strnlen (S, i) != expected)
  64140. + return 1;
  64141. + }
  64142. + return 0;
  64143. +
  64144. + ;
  64145. + return 0;
  64146. +}
  64147. +_ACEOF
  64148. +if ac_fn_c_try_run "$LINENO"; then :
  64149. + ac_cv_func_strnlen_working=yes
  64150. +else
  64151. + ac_cv_func_strnlen_working=no
  64152. +fi
  64153. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  64154. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  64155. +fi
  64156. +
  64157. +fi
  64158. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5
  64159. +$as_echo "$ac_cv_func_strnlen_working" >&6; }
  64160. +test $ac_cv_func_strnlen_working = no &&
  64161. +
  64162. +
  64163. +
  64164. +
  64165. +
  64166. +
  64167. +
  64168. + M4_LIBOBJS="$M4_LIBOBJS strnlen.$ac_objext"
  64169. +
  64170. +
  64171. + if test $ac_cv_func_strnlen_working = no; then
  64172. + REPLACE_STRNLEN=1
  64173. + fi
  64174. + fi
  64175. + if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
  64176. +
  64177. +
  64178. +
  64179. +
  64180. +
  64181. +
  64182. +
  64183. +
  64184. + M4_LIBOBJS="$M4_LIBOBJS strnlen.$ac_objext"
  64185. +
  64186. + :
  64187. + fi
  64188. +
  64189. +
  64190. +
  64191. +
  64192. + GNULIB_STRNLEN=1
  64193. +
  64194. +
  64195. +
  64196. +$as_echo "@%:@define GNULIB_TEST_STRNLEN 1" >>confdefs.h
  64197. +
  64198. +
  64199. +
  64200. + # Code from module strsignal:
  64201. +
  64202. +
  64203. +
  64204. +
  64205. +
  64206. +
  64207. + if test $ac_cv_have_decl_strsignal = no; then
  64208. + HAVE_DECL_STRSIGNAL=0
  64209. + fi
  64210. +
  64211. + for ac_func in strsignal
  64212. +do :
  64213. + ac_fn_c_check_func "$LINENO" "strsignal" "ac_cv_func_strsignal"
  64214. +if test "x$ac_cv_func_strsignal" = xyes; then :
  64215. + cat >>confdefs.h <<_ACEOF
  64216. +@%:@define HAVE_STRSIGNAL 1
  64217. +_ACEOF
  64218. +
  64219. +fi
  64220. +done
  64221. +
  64222. + if test $ac_cv_func_strsignal = yes; then
  64223. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strsignal always returns a string" >&5
  64224. +$as_echo_n "checking whether strsignal always returns a string... " >&6; }
  64225. +if ${gl_cv_func_working_strsignal+:} false; then :
  64226. + $as_echo_n "(cached) " >&6
  64227. +else
  64228. + if test "$cross_compiling" = yes; then :
  64229. + case "$host_os" in
  64230. + solaris* | aix*) gl_cv_func_working_strsignal=no;;
  64231. + *) gl_cv_func_working_strsignal="guessing yes";;
  64232. + esac
  64233. +else
  64234. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  64235. +/* end confdefs.h. */
  64236. +#include <string.h>
  64237. +#include <unistd.h> /* NetBSD 5.0 declares it in wrong header. */
  64238. +
  64239. +int
  64240. +main ()
  64241. +{
  64242. +int result = 0;
  64243. + char *s = strsignal (-1);
  64244. + if (s == (char *) 0)
  64245. + result |= 1;
  64246. + if (s == (char *) -1)
  64247. + result |= 2;
  64248. + return result;
  64249. +
  64250. + ;
  64251. + return 0;
  64252. +}
  64253. +_ACEOF
  64254. +if ac_fn_c_try_run "$LINENO"; then :
  64255. + gl_cv_func_working_strsignal=yes
  64256. +else
  64257. + gl_cv_func_working_strsignal=no
  64258. +fi
  64259. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  64260. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  64261. +fi
  64262. +
  64263. +fi
  64264. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strsignal" >&5
  64265. +$as_echo "$gl_cv_func_working_strsignal" >&6; }
  64266. + else
  64267. + gl_cv_func_working_strsignal=no
  64268. + fi
  64269. +
  64270. + if test "$gl_cv_func_working_strsignal" = no; then
  64271. + if test $ac_cv_func_strsignal = yes; then
  64272. + REPLACE_STRSIGNAL=1
  64273. + fi
  64274. +
  64275. +
  64276. +
  64277. +
  64278. +
  64279. +
  64280. +
  64281. +
  64282. + M4_LIBOBJS="$M4_LIBOBJS strsignal.$ac_objext"
  64283. +
  64284. +
  64285. +
  64286. + ac_fn_c_check_decl "$LINENO" "_sys_siglist" "ac_cv_have_decl__sys_siglist" "#include <signal.h>
  64287. +"
  64288. +if test "x$ac_cv_have_decl__sys_siglist" = xyes; then :
  64289. + ac_have_decl=1
  64290. +else
  64291. + ac_have_decl=0
  64292. +fi
  64293. +
  64294. +cat >>confdefs.h <<_ACEOF
  64295. +@%:@define HAVE_DECL__SYS_SIGLIST $ac_have_decl
  64296. +_ACEOF
  64297. +
  64298. +
  64299. + fi
  64300. +
  64301. +
  64302. +
  64303. +
  64304. + GNULIB_STRSIGNAL=1
  64305. +
  64306. +
  64307. +
  64308. +$as_echo "@%:@define GNULIB_TEST_STRSIGNAL 1" >>confdefs.h
  64309. +
  64310. +
  64311. +
  64312. + # Code from module strstr:
  64313. +
  64314. +
  64315. + if test $REPLACE_STRSTR = 0; then
  64316. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works in linear time" >&5
  64317. +$as_echo_n "checking whether strstr works in linear time... " >&6; }
  64318. +if ${gl_cv_func_strstr_linear+:} false; then :
  64319. + $as_echo_n "(cached) " >&6
  64320. +else
  64321. + if test "$cross_compiling" = yes; then :
  64322. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  64323. +/* end confdefs.h. */
  64324. +
  64325. +#include <features.h>
  64326. +#ifdef __GNU_LIBRARY__
  64327. + #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \
  64328. + && !defined __UCLIBC__
  64329. + Lucky user
  64330. + #endif
  64331. +#endif
  64332. +#ifdef __CYGWIN__
  64333. + #include <cygwin/version.h>
  64334. + #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
  64335. + Lucky user
  64336. + #endif
  64337. +#endif
  64338. +
  64339. +_ACEOF
  64340. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  64341. + $EGREP "Lucky user" >/dev/null 2>&1; then :
  64342. + gl_cv_func_strstr_linear=yes
  64343. +else
  64344. + gl_cv_func_strstr_linear="guessing no"
  64345. +fi
  64346. +rm -f conftest*
  64347. +
  64348. +
  64349. +else
  64350. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  64351. +/* end confdefs.h. */
  64352. +
  64353. +#include <signal.h> /* for signal */
  64354. +#include <string.h> /* for strstr */
  64355. +#include <stdlib.h> /* for malloc */
  64356. +#include <unistd.h> /* for alarm */
  64357. +static void quit (int sig) { exit (sig + 128); }
  64358. +
  64359. +int
  64360. +main ()
  64361. +{
  64362. +
  64363. + int result = 0;
  64364. + size_t m = 1000000;
  64365. + char *haystack = (char *) malloc (2 * m + 2);
  64366. + char *needle = (char *) malloc (m + 2);
  64367. + /* Failure to compile this test due to missing alarm is okay,
  64368. + since all such platforms (mingw) also have quadratic strstr. */
  64369. + signal (SIGALRM, quit);
  64370. + alarm (5);
  64371. + /* Check for quadratic performance. */
  64372. + if (haystack && needle)
  64373. + {
  64374. + memset (haystack, 'A', 2 * m);
  64375. + haystack[2 * m] = 'B';
  64376. + haystack[2 * m + 1] = 0;
  64377. + memset (needle, 'A', m);
  64378. + needle[m] = 'B';
  64379. + needle[m + 1] = 0;
  64380. + if (!strstr (haystack, needle))
  64381. + result |= 1;
  64382. + }
  64383. + return result;
  64384. +
  64385. + ;
  64386. + return 0;
  64387. +}
  64388. +_ACEOF
  64389. +if ac_fn_c_try_run "$LINENO"; then :
  64390. + gl_cv_func_strstr_linear=yes
  64391. +else
  64392. + gl_cv_func_strstr_linear=no
  64393. +fi
  64394. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  64395. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  64396. +fi
  64397. +
  64398. +
  64399. +fi
  64400. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strstr_linear" >&5
  64401. +$as_echo "$gl_cv_func_strstr_linear" >&6; }
  64402. + if test "$gl_cv_func_strstr_linear" != yes; then
  64403. + REPLACE_STRSTR=1
  64404. + fi
  64405. + fi
  64406. + if test $REPLACE_STRSTR = 1; then
  64407. +
  64408. +
  64409. +
  64410. +
  64411. +
  64412. +
  64413. +
  64414. +
  64415. + M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext"
  64416. +
  64417. + fi
  64418. +
  64419. + # Code from module strstr-simple:
  64420. +
  64421. +
  64422. +
  64423. + if test "$gl_cv_func_memchr_works" != yes; then
  64424. + REPLACE_STRSTR=1
  64425. +
  64426. +
  64427. +
  64428. +
  64429. +
  64430. +
  64431. +
  64432. +
  64433. + M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext"
  64434. +
  64435. + else
  64436. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5
  64437. +$as_echo_n "checking whether strstr works... " >&6; }
  64438. +if ${gl_cv_func_strstr_works_always+:} false; then :
  64439. + $as_echo_n "(cached) " >&6
  64440. +else
  64441. + if test "$cross_compiling" = yes; then :
  64442. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  64443. +/* end confdefs.h. */
  64444. +
  64445. +#ifdef __GNU_LIBRARY__
  64446. + #include <features.h>
  64447. + #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \
  64448. + || defined __UCLIBC__
  64449. + Lucky user
  64450. + #endif
  64451. +#elif defined __CYGWIN__
  64452. + #include <cygwin/version.h>
  64453. + #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
  64454. + Lucky user
  64455. + #endif
  64456. +#else
  64457. + Lucky user
  64458. +#endif
  64459. +
  64460. +_ACEOF
  64461. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  64462. + $EGREP "Lucky user" >/dev/null 2>&1; then :
  64463. + gl_cv_func_strstr_works_always=yes
  64464. +else
  64465. + gl_cv_func_strstr_works_always="guessing no"
  64466. +fi
  64467. +rm -f conftest*
  64468. +
  64469. +
  64470. +else
  64471. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  64472. +/* end confdefs.h. */
  64473. +
  64474. +#include <string.h> /* for strstr */
  64475. +#define P "_EF_BF_BD"
  64476. +#define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P
  64477. +#define NEEDLE P P P P P
  64478. +
  64479. +int
  64480. +main ()
  64481. +{
  64482. +return !!strstr (HAYSTACK, NEEDLE);
  64483. +
  64484. + ;
  64485. + return 0;
  64486. +}
  64487. +_ACEOF
  64488. +if ac_fn_c_try_run "$LINENO"; then :
  64489. + gl_cv_func_strstr_works_always=yes
  64490. +else
  64491. + gl_cv_func_strstr_works_always=no
  64492. +fi
  64493. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  64494. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  64495. +fi
  64496. +
  64497. +
  64498. +fi
  64499. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strstr_works_always" >&5
  64500. +$as_echo "$gl_cv_func_strstr_works_always" >&6; }
  64501. + if test "$gl_cv_func_strstr_works_always" != yes; then
  64502. + REPLACE_STRSTR=1
  64503. +
  64504. +
  64505. +
  64506. +
  64507. +
  64508. +
  64509. +
  64510. +
  64511. + M4_LIBOBJS="$M4_LIBOBJS strstr.$ac_objext"
  64512. +
  64513. + fi
  64514. + fi
  64515. +
  64516. +
  64517. +
  64518. +
  64519. + GNULIB_STRSTR=1
  64520. +
  64521. +
  64522. +
  64523. +$as_echo "@%:@define GNULIB_TEST_STRSTR 1" >>confdefs.h
  64524. +
  64525. +
  64526. +
  64527. + # Code from module strtod:
  64528. +
  64529. +
  64530. +
  64531. + if test $ac_cv_have_decl_strtod != yes; then
  64532. + HAVE_STRTOD=0
  64533. + else
  64534. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtod obeys C99" >&5
  64535. +$as_echo_n "checking whether strtod obeys C99... " >&6; }
  64536. +if ${gl_cv_func_strtod_works+:} false; then :
  64537. + $as_echo_n "(cached) " >&6
  64538. +else
  64539. + if test "$cross_compiling" = yes; then :
  64540. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  64541. +/* end confdefs.h. */
  64542. +
  64543. +#include <features.h>
  64544. +#ifdef __GNU_LIBRARY__
  64545. + #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8) || (__GLIBC__ > 2)) \
  64546. + && !defined __UCLIBC__
  64547. + Lucky user
  64548. + #endif
  64549. +#endif
  64550. +
  64551. +_ACEOF
  64552. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  64553. + $EGREP "Lucky user" >/dev/null 2>&1; then :
  64554. + gl_cv_func_strtod_works=yes
  64555. +else
  64556. + gl_cv_func_strtod_works="guessing no"
  64557. +fi
  64558. +rm -f conftest*
  64559. +
  64560. +else
  64561. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  64562. +/* end confdefs.h. */
  64563. +
  64564. +#include <stdlib.h>
  64565. +#include <math.h>
  64566. +#include <errno.h>
  64567. +/* Compare two numbers with ==.
  64568. + This is a separate function because IRIX 6.5 "cc -O" miscompiles an
  64569. + 'x == x' test. */
  64570. +static int
  64571. +numeric_equal (double x, double y)
  64572. +{
  64573. + return x == y;
  64574. +}
  64575. +
  64576. +int
  64577. +main ()
  64578. +{
  64579. +
  64580. + int result = 0;
  64581. + {
  64582. + /* In some old versions of Linux (2000 or before), strtod mis-parses
  64583. + strings with leading '+'. */
  64584. + const char *string = " +69";
  64585. + char *term;
  64586. + double value = strtod (string, &term);
  64587. + if (value != 69 || term != (string + 4))
  64588. + result |= 1;
  64589. + }
  64590. + {
  64591. + /* Under Solaris 2.4, strtod returns the wrong value for the
  64592. + terminating character under some conditions. */
  64593. + const char *string = "NaN";
  64594. + char *term;
  64595. + strtod (string, &term);
  64596. + if (term != string && *(term - 1) == 0)
  64597. + result |= 2;
  64598. + }
  64599. + {
  64600. + /* Older glibc and Cygwin mis-parse "-0x". */
  64601. + const char *string = "-0x";
  64602. + char *term;
  64603. + double value = strtod (string, &term);
  64604. + double zero = 0.0;
  64605. + if (1.0 / value != -1.0 / zero || term != (string + 2))
  64606. + result |= 4;
  64607. + }
  64608. + {
  64609. + /* Many platforms do not parse hex floats. */
  64610. + const char *string = "0XaP+1";
  64611. + char *term;
  64612. + double value = strtod (string, &term);
  64613. + if (value != 20.0 || term != (string + 6))
  64614. + result |= 8;
  64615. + }
  64616. + {
  64617. + /* Many platforms do not parse infinities. HP-UX 11.31 parses inf,
  64618. + but mistakenly sets errno. */
  64619. + const char *string = "inf";
  64620. + char *term;
  64621. + double value;
  64622. + errno = 0;
  64623. + value = strtod (string, &term);
  64624. + if (value != HUGE_VAL || term != (string + 3) || errno)
  64625. + result |= 16;
  64626. + }
  64627. + {
  64628. + /* glibc 2.7 and cygwin 1.5.24 misparse "nan()". */
  64629. + const char *string = "nan()";
  64630. + char *term;
  64631. + double value = strtod (string, &term);
  64632. + if (numeric_equal (value, value) || term != (string + 5))
  64633. + result |= 32;
  64634. + }
  64635. + {
  64636. + /* darwin 10.6.1 misparses "nan(". */
  64637. + const char *string = "nan(";
  64638. + char *term;
  64639. + double value = strtod (string, &term);
  64640. + if (numeric_equal (value, value) || term != (string + 3))
  64641. + result |= 64;
  64642. + }
  64643. + return result;
  64644. +
  64645. + ;
  64646. + return 0;
  64647. +}
  64648. +_ACEOF
  64649. +if ac_fn_c_try_run "$LINENO"; then :
  64650. + gl_cv_func_strtod_works=yes
  64651. +else
  64652. + gl_cv_func_strtod_works=no
  64653. +fi
  64654. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  64655. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  64656. +fi
  64657. +
  64658. +fi
  64659. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strtod_works" >&5
  64660. +$as_echo "$gl_cv_func_strtod_works" >&6; }
  64661. + if test "$gl_cv_func_strtod_works" != yes; then
  64662. + REPLACE_STRTOD=1
  64663. + fi
  64664. + fi
  64665. + if test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1; then
  64666. +
  64667. +
  64668. +
  64669. +
  64670. +
  64671. +
  64672. +
  64673. +
  64674. + M4_LIBOBJS="$M4_LIBOBJS strtod.$ac_objext"
  64675. +
  64676. +
  64677. +
  64678. + if test $gl_cv_func_ldexp_no_libm = yes; then
  64679. +
  64680. +$as_echo "@%:@define HAVE_LDEXP_IN_LIBC 1" >>confdefs.h
  64681. +
  64682. + fi
  64683. +
  64684. + fi
  64685. +
  64686. +
  64687. +
  64688. +
  64689. + GNULIB_STRTOD=1
  64690. +
  64691. +
  64692. +
  64693. +$as_echo "@%:@define GNULIB_TEST_STRTOD 1" >>confdefs.h
  64694. +
  64695. +
  64696. +
  64697. + # Code from module strtol:
  64698. +
  64699. +
  64700. +
  64701. +
  64702. +
  64703. +
  64704. +
  64705. +
  64706. +
  64707. + for ac_func in strtol
  64708. +do :
  64709. + ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
  64710. +if test "x$ac_cv_func_strtol" = xyes; then :
  64711. + cat >>confdefs.h <<_ACEOF
  64712. +@%:@define HAVE_STRTOL 1
  64713. +_ACEOF
  64714. +
  64715. +else
  64716. +
  64717. + M4_LIBOBJS="$M4_LIBOBJS $ac_func.$ac_objext"
  64718. +
  64719. +fi
  64720. +done
  64721. +
  64722. +
  64723. +
  64724. + # Code from module sys_stat:
  64725. +
  64726. +
  64727. +
  64728. +
  64729. +
  64730. +
  64731. +
  64732. +
  64733. +
  64734. +
  64735. +
  64736. +
  64737. +
  64738. +
  64739. +
  64740. +
  64741. + if test $gl_cv_have_include_next = yes; then
  64742. + gl_cv_next_sys_stat_h='<'sys/stat.h'>'
  64743. + else
  64744. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5
  64745. +$as_echo_n "checking absolute name of <sys/stat.h>... " >&6; }
  64746. +if ${gl_cv_next_sys_stat_h+:} false; then :
  64747. + $as_echo_n "(cached) " >&6
  64748. +else
  64749. +
  64750. + if test $ac_cv_header_sys_stat_h = yes; then
  64751. +
  64752. +
  64753. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  64754. +/* end confdefs.h. */
  64755. +#include <sys/stat.h>
  64756. +
  64757. +_ACEOF
  64758. + case "$host_os" in
  64759. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  64760. + *) gl_absname_cpp="$ac_cpp" ;;
  64761. + esac
  64762. + gl_cv_next_sys_stat_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  64763. + sed -n '\#/sys/stat.h#{
  64764. + s#.*"\(.*/sys/stat.h\)".*#\1#
  64765. + s#^/[^/]#//&#
  64766. + p
  64767. + q
  64768. + }'`'"'
  64769. + else
  64770. + gl_cv_next_sys_stat_h='<'sys/stat.h'>'
  64771. + fi
  64772. +
  64773. +
  64774. +fi
  64775. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5
  64776. +$as_echo "$gl_cv_next_sys_stat_h" >&6; }
  64777. + fi
  64778. + NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h
  64779. +
  64780. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  64781. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  64782. + gl_next_as_first_directive='<'sys/stat.h'>'
  64783. + else
  64784. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  64785. + gl_next_as_first_directive=$gl_cv_next_sys_stat_h
  64786. + fi
  64787. + NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive
  64788. +
  64789. +
  64790. +
  64791. +
  64792. +
  64793. + ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
  64794. + #include <sys/stat.h>
  64795. +"
  64796. +if test "x$ac_cv_type_nlink_t" = xyes; then :
  64797. +
  64798. +else
  64799. +
  64800. +$as_echo "@%:@define nlink_t int" >>confdefs.h
  64801. +
  64802. +fi
  64803. +
  64804. +
  64805. +
  64806. +
  64807. +
  64808. + # Code from module sys_time:
  64809. +
  64810. +
  64811. +
  64812. +
  64813. + # Code from module sys_wait:
  64814. +
  64815. +
  64816. +
  64817. +
  64818. +
  64819. +
  64820. +
  64821. +
  64822. +
  64823. +
  64824. +
  64825. +
  64826. + if test $gl_cv_have_include_next = yes; then
  64827. + gl_cv_next_sys_wait_h='<'sys/wait.h'>'
  64828. + else
  64829. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/wait.h>" >&5
  64830. +$as_echo_n "checking absolute name of <sys/wait.h>... " >&6; }
  64831. +if ${gl_cv_next_sys_wait_h+:} false; then :
  64832. + $as_echo_n "(cached) " >&6
  64833. +else
  64834. +
  64835. + if test $ac_cv_header_sys_wait_h = yes; then
  64836. +
  64837. +
  64838. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  64839. +/* end confdefs.h. */
  64840. +#include <sys/wait.h>
  64841. +
  64842. +_ACEOF
  64843. + case "$host_os" in
  64844. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  64845. + *) gl_absname_cpp="$ac_cpp" ;;
  64846. + esac
  64847. + gl_cv_next_sys_wait_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  64848. + sed -n '\#/sys/wait.h#{
  64849. + s#.*"\(.*/sys/wait.h\)".*#\1#
  64850. + s#^/[^/]#//&#
  64851. + p
  64852. + q
  64853. + }'`'"'
  64854. + else
  64855. + gl_cv_next_sys_wait_h='<'sys/wait.h'>'
  64856. + fi
  64857. +
  64858. +
  64859. +fi
  64860. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_wait_h" >&5
  64861. +$as_echo "$gl_cv_next_sys_wait_h" >&6; }
  64862. + fi
  64863. + NEXT_SYS_WAIT_H=$gl_cv_next_sys_wait_h
  64864. +
  64865. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  64866. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  64867. + gl_next_as_first_directive='<'sys/wait.h'>'
  64868. + else
  64869. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  64870. + gl_next_as_first_directive=$gl_cv_next_sys_wait_h
  64871. + fi
  64872. + NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H=$gl_next_as_first_directive
  64873. +
  64874. +
  64875. +
  64876. +
  64877. +
  64878. +
  64879. +
  64880. +
  64881. + # Code from module tempname:
  64882. +
  64883. +
  64884. +
  64885. +
  64886. +
  64887. +
  64888. +
  64889. +
  64890. +
  64891. +
  64892. +
  64893. + M4_LIBOBJS="$M4_LIBOBJS tempname.$ac_objext"
  64894. +
  64895. +
  64896. + :
  64897. +
  64898. +
  64899. + # Code from module threadlib:
  64900. +
  64901. +
  64902. +
  64903. +
  64904. + # Code from module time:
  64905. +
  64906. +
  64907. +
  64908. + # Code from module tls:
  64909. +
  64910. +
  64911. +
  64912. + # Code from module tmpdir:
  64913. +
  64914. + for ac_func in __secure_getenv
  64915. +do :
  64916. + ac_fn_c_check_func "$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv"
  64917. +if test "x$ac_cv_func___secure_getenv" = xyes; then :
  64918. + cat >>confdefs.h <<_ACEOF
  64919. +@%:@define HAVE___SECURE_GETENV 1
  64920. +_ACEOF
  64921. +
  64922. +fi
  64923. +done
  64924. +
  64925. +
  64926. + # Code from module unistd:
  64927. +
  64928. +
  64929. +
  64930. +
  64931. +
  64932. +
  64933. +
  64934. +
  64935. +
  64936. +
  64937. +
  64938. +
  64939. +
  64940. + if test $gl_cv_have_include_next = yes; then
  64941. + gl_cv_next_unistd_h='<'unistd.h'>'
  64942. + else
  64943. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5
  64944. +$as_echo_n "checking absolute name of <unistd.h>... " >&6; }
  64945. +if ${gl_cv_next_unistd_h+:} false; then :
  64946. + $as_echo_n "(cached) " >&6
  64947. +else
  64948. +
  64949. + if test $ac_cv_header_unistd_h = yes; then
  64950. +
  64951. +
  64952. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  64953. +/* end confdefs.h. */
  64954. +#include <unistd.h>
  64955. +
  64956. +_ACEOF
  64957. + case "$host_os" in
  64958. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  64959. + *) gl_absname_cpp="$ac_cpp" ;;
  64960. + esac
  64961. + gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  64962. + sed -n '\#/unistd.h#{
  64963. + s#.*"\(.*/unistd.h\)".*#\1#
  64964. + s#^/[^/]#//&#
  64965. + p
  64966. + q
  64967. + }'`'"'
  64968. + else
  64969. + gl_cv_next_unistd_h='<'unistd.h'>'
  64970. + fi
  64971. +
  64972. +
  64973. +fi
  64974. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5
  64975. +$as_echo "$gl_cv_next_unistd_h" >&6; }
  64976. + fi
  64977. + NEXT_UNISTD_H=$gl_cv_next_unistd_h
  64978. +
  64979. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  64980. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  64981. + gl_next_as_first_directive='<'unistd.h'>'
  64982. + else
  64983. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  64984. + gl_next_as_first_directive=$gl_cv_next_unistd_h
  64985. + fi
  64986. + NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive
  64987. +
  64988. +
  64989. +
  64990. +
  64991. + if test $ac_cv_header_unistd_h = yes; then
  64992. + HAVE_UNISTD_H=1
  64993. + else
  64994. + HAVE_UNISTD_H=0
  64995. + fi
  64996. +
  64997. +
  64998. +
  64999. +
  65000. + # Code from module unistd-safer:
  65001. +
  65002. +
  65003. +
  65004. +
  65005. +
  65006. +
  65007. +
  65008. +
  65009. +
  65010. +
  65011. + M4_LIBOBJS="$M4_LIBOBJS dup-safer.$ac_objext"
  65012. +
  65013. +
  65014. +
  65015. +
  65016. +
  65017. +
  65018. +
  65019. +
  65020. +
  65021. + M4_LIBOBJS="$M4_LIBOBJS fd-safer.$ac_objext"
  65022. +
  65023. +
  65024. +
  65025. +
  65026. +
  65027. +
  65028. +
  65029. +
  65030. +
  65031. + M4_LIBOBJS="$M4_LIBOBJS pipe-safer.$ac_objext"
  65032. +
  65033. +
  65034. + # Code from module unlocked-io:
  65035. +
  65036. +
  65037. +$as_echo "@%:@define USE_UNLOCKED_IO 1" >>confdefs.h
  65038. +
  65039. +
  65040. +
  65041. +
  65042. +
  65043. +
  65044. +
  65045. +
  65046. +
  65047. +
  65048. +
  65049. +
  65050. +
  65051. +
  65052. +
  65053. +
  65054. +
  65055. +
  65056. + # Code from module update-copyright:
  65057. + # Code from module useless-if-before-free:
  65058. + # Code from module vasnprintf:
  65059. +
  65060. +
  65061. + if test $ac_cv_func_vasnprintf = no; then
  65062. +
  65063. +
  65064. +
  65065. +
  65066. +
  65067. +
  65068. +
  65069. +
  65070. +
  65071. +
  65072. + M4_LIBOBJS="$M4_LIBOBJS vasnprintf.$ac_objext"
  65073. +
  65074. +
  65075. +
  65076. +
  65077. +
  65078. +
  65079. +
  65080. +
  65081. +
  65082. + M4_LIBOBJS="$M4_LIBOBJS printf-args.$ac_objext"
  65083. +
  65084. +
  65085. +
  65086. +
  65087. +
  65088. +
  65089. +
  65090. +
  65091. +
  65092. + M4_LIBOBJS="$M4_LIBOBJS printf-parse.$ac_objext"
  65093. +
  65094. +
  65095. +
  65096. +
  65097. +
  65098. +
  65099. +
  65100. +
  65101. +
  65102. + M4_LIBOBJS="$M4_LIBOBJS asnprintf.$ac_objext"
  65103. +
  65104. + if test $ac_cv_func_vasnprintf = yes; then
  65105. +
  65106. +$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h
  65107. +
  65108. + fi
  65109. +
  65110. +
  65111. +
  65112. +
  65113. +
  65114. +
  65115. +
  65116. +
  65117. +
  65118. +
  65119. +
  65120. + ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
  65121. +if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
  65122. +
  65123. +else
  65124. +
  65125. +$as_echo "@%:@define ptrdiff_t long" >>confdefs.h
  65126. +
  65127. +
  65128. +fi
  65129. +
  65130. +
  65131. +
  65132. +
  65133. +
  65134. +
  65135. +
  65136. + fi
  65137. +
  65138. + # Code from module vasprintf:
  65139. +
  65140. + for ac_func in vasprintf
  65141. +do :
  65142. + ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
  65143. +if test "x$ac_cv_func_vasprintf" = xyes; then :
  65144. + cat >>confdefs.h <<_ACEOF
  65145. +@%:@define HAVE_VASPRINTF 1
  65146. +_ACEOF
  65147. +
  65148. +fi
  65149. +done
  65150. +
  65151. + if test $ac_cv_func_vasprintf = no; then
  65152. +
  65153. +
  65154. +
  65155. +
  65156. +
  65157. +
  65158. +
  65159. +
  65160. +
  65161. + M4_LIBOBJS="$M4_LIBOBJS vasprintf.$ac_objext"
  65162. +
  65163. +
  65164. +
  65165. +
  65166. +
  65167. +
  65168. +
  65169. +
  65170. +
  65171. + M4_LIBOBJS="$M4_LIBOBJS asprintf.$ac_objext"
  65172. +
  65173. +
  65174. + if test $ac_cv_func_vasprintf = yes; then
  65175. + REPLACE_VASPRINTF=1
  65176. + else
  65177. + HAVE_VASPRINTF=0
  65178. + fi
  65179. +
  65180. +
  65181. +
  65182. +
  65183. +
  65184. +
  65185. +
  65186. +
  65187. + fi
  65188. +
  65189. +
  65190. +
  65191. +
  65192. + GNULIB_VASPRINTF=1
  65193. +
  65194. +
  65195. +
  65196. +$as_echo "@%:@define GNULIB_TEST_VASPRINTF 1" >>confdefs.h
  65197. +
  65198. +
  65199. +
  65200. +
  65201. +
  65202. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=asprintf:2:c-format"
  65203. +
  65204. +
  65205. +
  65206. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=vasprintf:2:c-format"
  65207. +
  65208. + # Code from module vasprintf-posix:
  65209. +
  65210. +
  65211. +
  65212. +
  65213. +
  65214. +
  65215. +
  65216. +
  65217. +
  65218. +
  65219. +
  65220. +
  65221. +
  65222. +
  65223. +
  65224. + gl_cv_func_vasprintf_posix=no
  65225. + for ac_func in vasprintf
  65226. +do :
  65227. + ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
  65228. +if test "x$ac_cv_func_vasprintf" = xyes; then :
  65229. + cat >>confdefs.h <<_ACEOF
  65230. +@%:@define HAVE_VASPRINTF 1
  65231. +_ACEOF
  65232. +
  65233. +fi
  65234. +done
  65235. +
  65236. + case "$gl_cv_func_printf_sizes_c99" in
  65237. + *yes)
  65238. + case "$gl_cv_func_printf_long_double" in
  65239. + *yes)
  65240. + case "$gl_cv_func_printf_infinite" in
  65241. + *yes)
  65242. + case "$gl_cv_func_printf_infinite_long_double" in
  65243. + *yes)
  65244. + case "$gl_cv_func_printf_directive_a" in
  65245. + *yes)
  65246. + case "$gl_cv_func_printf_directive_f" in
  65247. + *yes)
  65248. + case "$gl_cv_func_printf_directive_n" in
  65249. + *yes)
  65250. + case "$gl_cv_func_printf_directive_ls" in
  65251. + *yes)
  65252. + case "$gl_cv_func_printf_positions" in
  65253. + *yes)
  65254. + case "$gl_cv_func_printf_flag_grouping" in
  65255. + *yes)
  65256. + case "$gl_cv_func_printf_flag_leftadjust" in
  65257. + *yes)
  65258. + case "$gl_cv_func_printf_flag_zero" in
  65259. + *yes)
  65260. + case "$gl_cv_func_printf_precision" in
  65261. + *yes)
  65262. + case "$gl_cv_func_printf_enomem" in
  65263. + *yes)
  65264. + if test $ac_cv_func_vasprintf = yes; then
  65265. + # vasprintf exists and is
  65266. + # already POSIX compliant.
  65267. + gl_cv_func_vasprintf_posix=yes
  65268. + fi
  65269. + ;;
  65270. + esac
  65271. + ;;
  65272. + esac
  65273. + ;;
  65274. + esac
  65275. + ;;
  65276. + esac
  65277. + ;;
  65278. + esac
  65279. + ;;
  65280. + esac
  65281. + ;;
  65282. + esac
  65283. + ;;
  65284. + esac
  65285. + ;;
  65286. + esac
  65287. + ;;
  65288. + esac
  65289. + ;;
  65290. + esac
  65291. + ;;
  65292. + esac
  65293. + ;;
  65294. + esac
  65295. + ;;
  65296. + esac
  65297. + if test $gl_cv_func_vasprintf_posix = no; then
  65298. +
  65299. +
  65300. +
  65301. + case "$gl_cv_func_printf_infinite" in
  65302. + *yes)
  65303. + ;;
  65304. + *)
  65305. +
  65306. +$as_echo "@%:@define NEED_PRINTF_INFINITE_DOUBLE 1" >>confdefs.h
  65307. +
  65308. + ;;
  65309. + esac
  65310. +
  65311. +
  65312. +
  65313. +
  65314. + case "$gl_cv_func_printf_long_double" in
  65315. + *yes)
  65316. + case "$gl_cv_func_printf_infinite_long_double" in
  65317. + *yes)
  65318. + ;;
  65319. + *)
  65320. +
  65321. +$as_echo "@%:@define NEED_PRINTF_INFINITE_LONG_DOUBLE 1" >>confdefs.h
  65322. +
  65323. + ;;
  65324. + esac
  65325. + ;;
  65326. + esac
  65327. +
  65328. +
  65329. +
  65330. + case "$gl_cv_func_printf_directive_a" in
  65331. + *yes)
  65332. + ;;
  65333. + *)
  65334. +
  65335. +$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_A 1" >>confdefs.h
  65336. +
  65337. + for ac_func in nl_langinfo
  65338. +do :
  65339. + ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
  65340. +if test "x$ac_cv_func_nl_langinfo" = xyes; then :
  65341. + cat >>confdefs.h <<_ACEOF
  65342. +@%:@define HAVE_NL_LANGINFO 1
  65343. +_ACEOF
  65344. +
  65345. +fi
  65346. +done
  65347. +
  65348. + ;;
  65349. + esac
  65350. +
  65351. +
  65352. +
  65353. + case "$gl_cv_func_printf_directive_f" in
  65354. + *yes)
  65355. + ;;
  65356. + *)
  65357. +
  65358. +$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_F 1" >>confdefs.h
  65359. +
  65360. + ;;
  65361. + esac
  65362. +
  65363. +
  65364. +
  65365. + case "$gl_cv_func_printf_directive_ls" in
  65366. + *yes)
  65367. + ;;
  65368. + *)
  65369. +
  65370. +$as_echo "@%:@define NEED_PRINTF_DIRECTIVE_LS 1" >>confdefs.h
  65371. +
  65372. + ;;
  65373. + esac
  65374. +
  65375. +
  65376. +
  65377. + case "$gl_cv_func_printf_flag_grouping" in
  65378. + *yes)
  65379. + ;;
  65380. + *)
  65381. +
  65382. +$as_echo "@%:@define NEED_PRINTF_FLAG_GROUPING 1" >>confdefs.h
  65383. +
  65384. + ;;
  65385. + esac
  65386. +
  65387. +
  65388. +
  65389. + case "$gl_cv_func_printf_flag_leftadjust" in
  65390. + *yes)
  65391. + ;;
  65392. + *)
  65393. +
  65394. +$as_echo "@%:@define NEED_PRINTF_FLAG_LEFTADJUST 1" >>confdefs.h
  65395. +
  65396. + ;;
  65397. + esac
  65398. +
  65399. +
  65400. +
  65401. + case "$gl_cv_func_printf_flag_zero" in
  65402. + *yes)
  65403. + ;;
  65404. + *)
  65405. +
  65406. +$as_echo "@%:@define NEED_PRINTF_FLAG_ZERO 1" >>confdefs.h
  65407. +
  65408. + ;;
  65409. + esac
  65410. +
  65411. +
  65412. +
  65413. + case "$gl_cv_func_printf_precision" in
  65414. + *yes)
  65415. + ;;
  65416. + *)
  65417. +
  65418. +$as_echo "@%:@define NEED_PRINTF_UNBOUNDED_PRECISION 1" >>confdefs.h
  65419. +
  65420. +
  65421. +$as_echo "@%:@define NEED_PRINTF_DOUBLE 1" >>confdefs.h
  65422. +
  65423. +
  65424. +$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
  65425. +
  65426. + ;;
  65427. + esac
  65428. +
  65429. +
  65430. +
  65431. + case "$gl_cv_func_printf_enomem" in
  65432. + *yes)
  65433. + ;;
  65434. + *)
  65435. +
  65436. +$as_echo "@%:@define NEED_PRINTF_ENOMEM 1" >>confdefs.h
  65437. +
  65438. +
  65439. +$as_echo "@%:@define NEED_PRINTF_DOUBLE 1" >>confdefs.h
  65440. +
  65441. +
  65442. +$as_echo "@%:@define NEED_PRINTF_LONG_DOUBLE 1" >>confdefs.h
  65443. +
  65444. + ;;
  65445. + esac
  65446. +
  65447. +
  65448. +
  65449. +
  65450. +
  65451. +
  65452. +
  65453. +
  65454. +
  65455. +
  65456. +
  65457. + M4_LIBOBJS="$M4_LIBOBJS vasnprintf.$ac_objext"
  65458. +
  65459. +
  65460. +
  65461. +
  65462. +
  65463. +
  65464. +
  65465. +
  65466. +
  65467. + M4_LIBOBJS="$M4_LIBOBJS printf-args.$ac_objext"
  65468. +
  65469. +
  65470. +
  65471. +
  65472. +
  65473. +
  65474. +
  65475. +
  65476. +
  65477. + M4_LIBOBJS="$M4_LIBOBJS printf-parse.$ac_objext"
  65478. +
  65479. +
  65480. +
  65481. +
  65482. +
  65483. +
  65484. +
  65485. +
  65486. +
  65487. + M4_LIBOBJS="$M4_LIBOBJS asnprintf.$ac_objext"
  65488. +
  65489. + if test $ac_cv_func_vasnprintf = yes; then
  65490. +
  65491. +$as_echo "@%:@define REPLACE_VASNPRINTF 1" >>confdefs.h
  65492. +
  65493. + fi
  65494. +
  65495. +
  65496. +
  65497. +
  65498. +
  65499. +
  65500. +
  65501. +
  65502. +
  65503. +
  65504. +
  65505. + ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
  65506. +if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
  65507. +
  65508. +else
  65509. +
  65510. +$as_echo "@%:@define ptrdiff_t long" >>confdefs.h
  65511. +
  65512. +
  65513. +fi
  65514. +
  65515. +
  65516. +
  65517. +
  65518. +
  65519. +
  65520. +
  65521. +
  65522. +
  65523. +
  65524. +
  65525. +
  65526. +
  65527. +
  65528. +
  65529. +
  65530. + M4_LIBOBJS="$M4_LIBOBJS vasprintf.$ac_objext"
  65531. +
  65532. +
  65533. +
  65534. +
  65535. +
  65536. +
  65537. +
  65538. +
  65539. +
  65540. + M4_LIBOBJS="$M4_LIBOBJS asprintf.$ac_objext"
  65541. +
  65542. +
  65543. + if test $ac_cv_func_vasprintf = yes; then
  65544. + REPLACE_VASPRINTF=1
  65545. + else
  65546. + HAVE_VASPRINTF=0
  65547. + fi
  65548. +
  65549. +
  65550. +
  65551. +
  65552. +
  65553. +
  65554. +
  65555. +
  65556. + fi
  65557. +
  65558. + # Code from module vc-list-files:
  65559. + # Code from module verify:
  65560. + # Code from module verror:
  65561. +
  65562. +
  65563. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=verror:3:c-format"
  65564. +
  65565. +
  65566. +
  65567. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=verror_at_line:5:c-format"
  65568. +
  65569. + # Code from module version-etc:
  65570. +
  65571. +@%:@ Check whether --with-packager was given.
  65572. +if test "${with_packager+set}" = set; then :
  65573. + withval=$with_packager; case $withval in
  65574. + yes|no) ;;
  65575. + *)
  65576. +cat >>confdefs.h <<_ACEOF
  65577. +@%:@define PACKAGE_PACKAGER "$withval"
  65578. +_ACEOF
  65579. + ;;
  65580. + esac
  65581. +
  65582. +fi
  65583. +
  65584. +
  65585. +
  65586. +@%:@ Check whether --with-packager-version was given.
  65587. +if test "${with_packager_version+set}" = set; then :
  65588. + withval=$with_packager_version; case $withval in
  65589. + yes|no) ;;
  65590. + *)
  65591. +cat >>confdefs.h <<_ACEOF
  65592. +@%:@define PACKAGE_PACKAGER_VERSION "$withval"
  65593. +_ACEOF
  65594. + ;;
  65595. + esac
  65596. +
  65597. +fi
  65598. +
  65599. +
  65600. +
  65601. +@%:@ Check whether --with-packager-bug-reports was given.
  65602. +if test "${with_packager_bug_reports+set}" = set; then :
  65603. + withval=$with_packager_bug_reports; case $withval in
  65604. + yes|no) ;;
  65605. + *)
  65606. +cat >>confdefs.h <<_ACEOF
  65607. +@%:@define PACKAGE_PACKAGER_BUG_REPORTS "$withval"
  65608. +_ACEOF
  65609. + ;;
  65610. + esac
  65611. +
  65612. +fi
  65613. +
  65614. +
  65615. + if test "X$with_packager" = "X" && \
  65616. + test "X$with_packager_version$with_packager_bug_reports" != "X"
  65617. + then
  65618. + as_fn_error $? "The --with-packager-{bug-reports,version} options require --with-packager" "$LINENO" 5
  65619. + fi
  65620. +
  65621. + # Code from module version-etc-fsf:
  65622. + # Code from module wait-process:
  65623. +
  65624. +
  65625. +
  65626. + for ac_func in waitid
  65627. +do :
  65628. + ac_fn_c_check_func "$LINENO" "waitid" "ac_cv_func_waitid"
  65629. +if test "x$ac_cv_func_waitid" = xyes; then :
  65630. + cat >>confdefs.h <<_ACEOF
  65631. +@%:@define HAVE_WAITID 1
  65632. +_ACEOF
  65633. +
  65634. +fi
  65635. +done
  65636. +
  65637. +
  65638. + # Code from module waitpid:
  65639. +
  65640. +
  65641. + case $host_os in
  65642. + mingw*)
  65643. +
  65644. +
  65645. +
  65646. +
  65647. +
  65648. +
  65649. +
  65650. +
  65651. + M4_LIBOBJS="$M4_LIBOBJS waitpid.$ac_objext"
  65652. +
  65653. + ;;
  65654. + esac
  65655. +
  65656. +
  65657. +
  65658. +
  65659. + GNULIB_WAITPID=1
  65660. +
  65661. +
  65662. +
  65663. +$as_echo "@%:@define GNULIB_TEST_WAITPID 1" >>confdefs.h
  65664. +
  65665. +
  65666. +
  65667. + # Code from module warn-on-use:
  65668. + # Code from module warnings:
  65669. +
  65670. + # Code from module wchar:
  65671. +
  65672. +
  65673. +
  65674. +
  65675. +
  65676. +
  65677. +
  65678. +
  65679. +
  65680. +
  65681. +
  65682. +
  65683. + if test $gl_cv_have_include_next = yes; then
  65684. + gl_cv_next_wchar_h='<'wchar.h'>'
  65685. + else
  65686. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wchar.h>" >&5
  65687. +$as_echo_n "checking absolute name of <wchar.h>... " >&6; }
  65688. +if ${gl_cv_next_wchar_h+:} false; then :
  65689. + $as_echo_n "(cached) " >&6
  65690. +else
  65691. +
  65692. + if test $ac_cv_header_wchar_h = yes; then
  65693. +
  65694. +
  65695. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  65696. +/* end confdefs.h. */
  65697. +#include <wchar.h>
  65698. +
  65699. +_ACEOF
  65700. + case "$host_os" in
  65701. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  65702. + *) gl_absname_cpp="$ac_cpp" ;;
  65703. + esac
  65704. + gl_cv_next_wchar_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  65705. + sed -n '\#/wchar.h#{
  65706. + s#.*"\(.*/wchar.h\)".*#\1#
  65707. + s#^/[^/]#//&#
  65708. + p
  65709. + q
  65710. + }'`'"'
  65711. + else
  65712. + gl_cv_next_wchar_h='<'wchar.h'>'
  65713. + fi
  65714. +
  65715. +
  65716. +fi
  65717. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5
  65718. +$as_echo "$gl_cv_next_wchar_h" >&6; }
  65719. + fi
  65720. + NEXT_WCHAR_H=$gl_cv_next_wchar_h
  65721. +
  65722. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  65723. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  65724. + gl_next_as_first_directive='<'wchar.h'>'
  65725. + else
  65726. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  65727. + gl_next_as_first_directive=$gl_cv_next_wchar_h
  65728. + fi
  65729. + NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive
  65730. +
  65731. +
  65732. +
  65733. +
  65734. + if test $ac_cv_header_wchar_h = yes; then
  65735. + HAVE_WCHAR_H=1
  65736. + else
  65737. + HAVE_WCHAR_H=0
  65738. + fi
  65739. +
  65740. +
  65741. +
  65742. +
  65743. +
  65744. + if test $gt_cv_c_wint_t = yes; then
  65745. + HAVE_WINT_T=1
  65746. + else
  65747. + HAVE_WINT_T=0
  65748. + fi
  65749. +
  65750. +
  65751. +
  65752. +
  65753. + # Code from module wcrtomb:
  65754. +
  65755. +
  65756. +
  65757. +
  65758. +
  65759. +
  65760. +
  65761. +
  65762. +
  65763. +
  65764. + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
  65765. +
  65766. +
  65767. +
  65768. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
  65769. +$as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
  65770. +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
  65771. + $as_echo_n "(cached) " >&6
  65772. +else
  65773. +
  65774. + case "$host_os" in
  65775. + # Guess no on AIX and OSF/1.
  65776. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
  65777. + # Guess yes otherwise.
  65778. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
  65779. + esac
  65780. + if test $LOCALE_JA != none; then
  65781. + if test "$cross_compiling" = yes; then :
  65782. + :
  65783. +else
  65784. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  65785. +/* end confdefs.h. */
  65786. +
  65787. +#include <locale.h>
  65788. +#include <string.h>
  65789. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  65790. + <wchar.h>.
  65791. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  65792. + included before <wchar.h>. */
  65793. +#include <stddef.h>
  65794. +#include <stdio.h>
  65795. +#include <time.h>
  65796. +#include <wchar.h>
  65797. +int main ()
  65798. +{
  65799. + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
  65800. + {
  65801. + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
  65802. + mbstate_t state;
  65803. + wchar_t wc;
  65804. +
  65805. + memset (&state, '\0', sizeof (mbstate_t));
  65806. + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
  65807. + if (mbsinit (&state))
  65808. + return 1;
  65809. + }
  65810. + return 0;
  65811. +}
  65812. +_ACEOF
  65813. +if ac_fn_c_try_run "$LINENO"; then :
  65814. + gl_cv_func_mbrtowc_incomplete_state=yes
  65815. +else
  65816. + gl_cv_func_mbrtowc_incomplete_state=no
  65817. +fi
  65818. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  65819. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  65820. +fi
  65821. +
  65822. + fi
  65823. +
  65824. +fi
  65825. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5
  65826. +$as_echo "$gl_cv_func_mbrtowc_incomplete_state" >&6; }
  65827. +
  65828. +
  65829. +
  65830. +
  65831. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
  65832. +$as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
  65833. +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
  65834. + $as_echo_n "(cached) " >&6
  65835. +else
  65836. +
  65837. + case "$host_os" in
  65838. + # Guess no on Solaris 8.
  65839. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
  65840. + # Guess yes otherwise.
  65841. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
  65842. + esac
  65843. + if test $LOCALE_ZH_CN != none; then
  65844. + if test "$cross_compiling" = yes; then :
  65845. + :
  65846. +else
  65847. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  65848. +/* end confdefs.h. */
  65849. +
  65850. +#include <locale.h>
  65851. +#include <stdlib.h>
  65852. +#include <string.h>
  65853. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  65854. + <wchar.h>.
  65855. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  65856. + included before <wchar.h>. */
  65857. +#include <stddef.h>
  65858. +#include <stdio.h>
  65859. +#include <time.h>
  65860. +#include <wchar.h>
  65861. +int main ()
  65862. +{
  65863. + /* This fails on Solaris 8:
  65864. + mbrtowc returns 2, and sets wc to 0x00F0.
  65865. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */
  65866. + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
  65867. + {
  65868. + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
  65869. + mbstate_t state;
  65870. + wchar_t wc;
  65871. +
  65872. + memset (&state, '\0', sizeof (mbstate_t));
  65873. + if (mbrtowc (&wc, input + 3, 6, &state) != 4
  65874. + && mbtowc (&wc, input + 3, 6) == 4)
  65875. + return 1;
  65876. + }
  65877. + return 0;
  65878. +}
  65879. +_ACEOF
  65880. +if ac_fn_c_try_run "$LINENO"; then :
  65881. + gl_cv_func_mbrtowc_sanitycheck=yes
  65882. +else
  65883. + gl_cv_func_mbrtowc_sanitycheck=no
  65884. +fi
  65885. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  65886. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  65887. +fi
  65888. +
  65889. + fi
  65890. +
  65891. +fi
  65892. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5
  65893. +$as_echo "$gl_cv_func_mbrtowc_sanitycheck" >&6; }
  65894. +
  65895. + REPLACE_MBSTATE_T=0
  65896. + case "$gl_cv_func_mbrtowc_incomplete_state" in
  65897. + *yes) ;;
  65898. + *) REPLACE_MBSTATE_T=1 ;;
  65899. + esac
  65900. + case "$gl_cv_func_mbrtowc_sanitycheck" in
  65901. + *yes) ;;
  65902. + *) REPLACE_MBSTATE_T=1 ;;
  65903. + esac
  65904. + else
  65905. + REPLACE_MBSTATE_T=1
  65906. + fi
  65907. + if test $REPLACE_MBSTATE_T = 1; then
  65908. +
  65909. + :
  65910. +
  65911. + fi
  65912. +
  65913. +
  65914. +
  65915. + if test $ac_cv_func_wcrtomb = no; then
  65916. + HAVE_WCRTOMB=0
  65917. + else
  65918. + if test $REPLACE_MBSTATE_T = 1; then
  65919. + REPLACE_WCRTOMB=1
  65920. + else
  65921. +
  65922. +
  65923. +
  65924. +
  65925. +
  65926. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb return value is correct" >&5
  65927. +$as_echo_n "checking whether wcrtomb return value is correct... " >&6; }
  65928. +if ${gl_cv_func_wcrtomb_retval+:} false; then :
  65929. + $as_echo_n "(cached) " >&6
  65930. +else
  65931. +
  65932. + case "$host_os" in
  65933. + # Guess no on AIX 4, OSF/1 and Solaris.
  65934. + aix4* | osf* | solaris*) gl_cv_func_wcrtomb_retval="guessing no" ;;
  65935. + # Guess yes otherwise.
  65936. + *) gl_cv_func_wcrtomb_retval="guessing yes" ;;
  65937. + esac
  65938. + if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
  65939. + if test "$cross_compiling" = yes; then :
  65940. + :
  65941. +else
  65942. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  65943. +/* end confdefs.h. */
  65944. +
  65945. +#include <locale.h>
  65946. +#include <string.h>
  65947. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  65948. + <wchar.h>.
  65949. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  65950. + included before <wchar.h>. */
  65951. +#include <stddef.h>
  65952. +#include <stdio.h>
  65953. +#include <time.h>
  65954. +#include <wchar.h>
  65955. +int main ()
  65956. +{
  65957. + int result = 0;
  65958. + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
  65959. + {
  65960. + if (wcrtomb (NULL, 0, NULL) != 1)
  65961. + result |= 1;
  65962. + }
  65963. + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
  65964. + {
  65965. + if (wcrtomb (NULL, 0, NULL) != 1)
  65966. + result |= 2;
  65967. + }
  65968. + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
  65969. + {
  65970. + if (wcrtomb (NULL, 0, NULL) != 1)
  65971. + result |= 4;
  65972. + }
  65973. + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
  65974. + {
  65975. + if (wcrtomb (NULL, 0, NULL) != 1)
  65976. + result |= 8;
  65977. + }
  65978. + return result;
  65979. +}
  65980. +_ACEOF
  65981. +if ac_fn_c_try_run "$LINENO"; then :
  65982. + gl_cv_func_wcrtomb_retval=yes
  65983. +else
  65984. + gl_cv_func_wcrtomb_retval=no
  65985. +fi
  65986. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  65987. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  65988. +fi
  65989. +
  65990. + fi
  65991. +
  65992. +fi
  65993. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wcrtomb_retval" >&5
  65994. +$as_echo "$gl_cv_func_wcrtomb_retval" >&6; }
  65995. + case "$gl_cv_func_wcrtomb_retval" in
  65996. + *yes) ;;
  65997. + *) REPLACE_WCRTOMB=1 ;;
  65998. + esac
  65999. + fi
  66000. + fi
  66001. + if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
  66002. +
  66003. + :
  66004. +
  66005. +
  66006. +
  66007. +
  66008. +
  66009. +
  66010. +
  66011. +
  66012. +
  66013. + M4_LIBOBJS="$M4_LIBOBJS wcrtomb.$ac_objext"
  66014. +
  66015. +
  66016. + :
  66017. +
  66018. + fi
  66019. +
  66020. +
  66021. +
  66022. +
  66023. + GNULIB_WCRTOMB=1
  66024. +
  66025. +
  66026. +
  66027. +$as_echo "@%:@define GNULIB_TEST_WCRTOMB 1" >>confdefs.h
  66028. +
  66029. +
  66030. +
  66031. + # Code from module wctype-h:
  66032. +
  66033. +
  66034. +
  66035. +
  66036. +
  66037. + if test $ac_cv_func_iswcntrl = yes; then
  66038. + HAVE_ISWCNTRL=1
  66039. + else
  66040. + HAVE_ISWCNTRL=0
  66041. + fi
  66042. +
  66043. +
  66044. +
  66045. +
  66046. +
  66047. + if test $gt_cv_c_wint_t = yes; then
  66048. + HAVE_WINT_T=1
  66049. + else
  66050. + HAVE_WINT_T=0
  66051. + fi
  66052. +
  66053. +
  66054. +
  66055. +
  66056. +
  66057. +
  66058. +
  66059. +
  66060. +
  66061. +
  66062. +
  66063. + if test $gl_cv_have_include_next = yes; then
  66064. + gl_cv_next_wctype_h='<'wctype.h'>'
  66065. + else
  66066. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wctype.h>" >&5
  66067. +$as_echo_n "checking absolute name of <wctype.h>... " >&6; }
  66068. +if ${gl_cv_next_wctype_h+:} false; then :
  66069. + $as_echo_n "(cached) " >&6
  66070. +else
  66071. +
  66072. + if test $ac_cv_header_wctype_h = yes; then
  66073. +
  66074. +
  66075. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  66076. +/* end confdefs.h. */
  66077. +#include <wctype.h>
  66078. +
  66079. +_ACEOF
  66080. + case "$host_os" in
  66081. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  66082. + *) gl_absname_cpp="$ac_cpp" ;;
  66083. + esac
  66084. + gl_cv_next_wctype_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  66085. + sed -n '\#/wctype.h#{
  66086. + s#.*"\(.*/wctype.h\)".*#\1#
  66087. + s#^/[^/]#//&#
  66088. + p
  66089. + q
  66090. + }'`'"'
  66091. + else
  66092. + gl_cv_next_wctype_h='<'wctype.h'>'
  66093. + fi
  66094. +
  66095. +
  66096. +fi
  66097. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5
  66098. +$as_echo "$gl_cv_next_wctype_h" >&6; }
  66099. + fi
  66100. + NEXT_WCTYPE_H=$gl_cv_next_wctype_h
  66101. +
  66102. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  66103. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  66104. + gl_next_as_first_directive='<'wctype.h'>'
  66105. + else
  66106. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  66107. + gl_next_as_first_directive=$gl_cv_next_wctype_h
  66108. + fi
  66109. + NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H=$gl_next_as_first_directive
  66110. +
  66111. +
  66112. +
  66113. +
  66114. + if test $ac_cv_header_wctype_h = yes; then
  66115. + if test $ac_cv_func_iswcntrl = yes; then
  66116. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5
  66117. +$as_echo_n "checking whether iswcntrl works... " >&6; }
  66118. +if ${gl_cv_func_iswcntrl_works+:} false; then :
  66119. + $as_echo_n "(cached) " >&6
  66120. +else
  66121. +
  66122. + if test "$cross_compiling" = yes; then :
  66123. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  66124. +/* end confdefs.h. */
  66125. +#include <stdlib.h>
  66126. + #if __GNU_LIBRARY__ == 1
  66127. + Linux libc5 i18n is broken.
  66128. + #endif
  66129. +int
  66130. +main ()
  66131. +{
  66132. +
  66133. + ;
  66134. + return 0;
  66135. +}
  66136. +_ACEOF
  66137. +if ac_fn_c_try_compile "$LINENO"; then :
  66138. + gl_cv_func_iswcntrl_works=yes
  66139. +else
  66140. + gl_cv_func_iswcntrl_works=no
  66141. +fi
  66142. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  66143. +
  66144. +else
  66145. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  66146. +/* end confdefs.h. */
  66147. +
  66148. + /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
  66149. + included before <wchar.h>.
  66150. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
  66151. + must be included before <wchar.h>. */
  66152. + #include <stddef.h>
  66153. + #include <stdio.h>
  66154. + #include <time.h>
  66155. + #include <wchar.h>
  66156. + #include <wctype.h>
  66157. + int main () { return iswprint ('x') == 0; }
  66158. +
  66159. +_ACEOF
  66160. +if ac_fn_c_try_run "$LINENO"; then :
  66161. + gl_cv_func_iswcntrl_works=yes
  66162. +else
  66163. + gl_cv_func_iswcntrl_works=no
  66164. +fi
  66165. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  66166. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  66167. +fi
  66168. +
  66169. +
  66170. +fi
  66171. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswcntrl_works" >&5
  66172. +$as_echo "$gl_cv_func_iswcntrl_works" >&6; }
  66173. + fi
  66174. + HAVE_WCTYPE_H=1
  66175. + else
  66176. + HAVE_WCTYPE_H=0
  66177. + fi
  66178. +
  66179. +
  66180. + if test "$gl_cv_func_iswcntrl_works" = no; then
  66181. + REPLACE_ISWCNTRL=1
  66182. + else
  66183. + REPLACE_ISWCNTRL=0
  66184. + fi
  66185. +
  66186. +
  66187. + if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
  66188. + :
  66189. + fi
  66190. +
  66191. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5
  66192. +$as_echo_n "checking for wctype_t... " >&6; }
  66193. +if ${gl_cv_type_wctype_t+:} false; then :
  66194. + $as_echo_n "(cached) " >&6
  66195. +else
  66196. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  66197. +/* end confdefs.h. */
  66198. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
  66199. + included before <wchar.h>.
  66200. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
  66201. + must be included before <wchar.h>. */
  66202. + #include <stddef.h>
  66203. + #include <stdio.h>
  66204. + #include <time.h>
  66205. + #include <wchar.h>
  66206. + #if HAVE_WCTYPE_H
  66207. + # include <wctype.h>
  66208. + #endif
  66209. + wctype_t a;
  66210. +
  66211. +int
  66212. +main ()
  66213. +{
  66214. +
  66215. + ;
  66216. + return 0;
  66217. +}
  66218. +_ACEOF
  66219. +if ac_fn_c_try_compile "$LINENO"; then :
  66220. + gl_cv_type_wctype_t=yes
  66221. +else
  66222. + gl_cv_type_wctype_t=no
  66223. +fi
  66224. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  66225. +
  66226. +fi
  66227. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctype_t" >&5
  66228. +$as_echo "$gl_cv_type_wctype_t" >&6; }
  66229. + if test $gl_cv_type_wctype_t = no; then
  66230. + HAVE_WCTYPE_T=0
  66231. + fi
  66232. +
  66233. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5
  66234. +$as_echo_n "checking for wctrans_t... " >&6; }
  66235. +if ${gl_cv_type_wctrans_t+:} false; then :
  66236. + $as_echo_n "(cached) " >&6
  66237. +else
  66238. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  66239. +/* end confdefs.h. */
  66240. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
  66241. + included before <wchar.h>.
  66242. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
  66243. + must be included before <wchar.h>. */
  66244. + #include <stddef.h>
  66245. + #include <stdio.h>
  66246. + #include <time.h>
  66247. + #include <wchar.h>
  66248. + #include <wctype.h>
  66249. + wctrans_t a;
  66250. +
  66251. +int
  66252. +main ()
  66253. +{
  66254. +
  66255. + ;
  66256. + return 0;
  66257. +}
  66258. +_ACEOF
  66259. +if ac_fn_c_try_compile "$LINENO"; then :
  66260. + gl_cv_type_wctrans_t=yes
  66261. +else
  66262. + gl_cv_type_wctrans_t=no
  66263. +fi
  66264. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  66265. +
  66266. +fi
  66267. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctrans_t" >&5
  66268. +$as_echo "$gl_cv_type_wctrans_t" >&6; }
  66269. + if test $gl_cv_type_wctrans_t = no; then
  66270. + HAVE_WCTRANS_T=0
  66271. + fi
  66272. +
  66273. +
  66274. +
  66275. + # Code from module xalloc:
  66276. +
  66277. +
  66278. +
  66279. +
  66280. +
  66281. +
  66282. +
  66283. +
  66284. +
  66285. + M4_LIBOBJS="$M4_LIBOBJS xmalloc.$ac_objext"
  66286. +
  66287. +
  66288. +
  66289. +
  66290. + :
  66291. +
  66292. +
  66293. + :
  66294. +
  66295. +
  66296. + # Code from module xalloc-die:
  66297. + # Code from module xlist:
  66298. +
  66299. +
  66300. +
  66301. + # Code from module xmalloca:
  66302. + # Code from module xoset:
  66303. +
  66304. +
  66305. +
  66306. + # Code from module xprintf:
  66307. +
  66308. +
  66309. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xprintf:1:c-format"
  66310. +
  66311. +
  66312. +
  66313. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xvprintf:1:c-format"
  66314. +
  66315. +
  66316. +
  66317. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xfprintf:2:c-format"
  66318. +
  66319. +
  66320. +
  66321. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xvfprintf:2:c-format"
  66322. +
  66323. + # Code from module xsize:
  66324. +
  66325. +
  66326. +
  66327. + for ac_header in stdint.h
  66328. +do :
  66329. + ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
  66330. +if test "x$ac_cv_header_stdint_h" = xyes; then :
  66331. + cat >>confdefs.h <<_ACEOF
  66332. +@%:@define HAVE_STDINT_H 1
  66333. +_ACEOF
  66334. +
  66335. +fi
  66336. +
  66337. +done
  66338. +
  66339. +
  66340. + # Code from module xstrndup:
  66341. +
  66342. +
  66343. + :
  66344. +
  66345. +
  66346. + # Code from module xvasprintf:
  66347. +
  66348. +
  66349. +
  66350. +
  66351. +
  66352. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=xasprintf:1:c-format"
  66353. +
  66354. + # Code from module xvasprintf-posix:
  66355. + # End of code from modules
  66356. +
  66357. +
  66358. +
  66359. +
  66360. +
  66361. +
  66362. +
  66363. +
  66364. +
  66365. + gltests_libdeps=
  66366. + gltests_ltlibdeps=
  66367. +
  66368. +
  66369. +
  66370. +
  66371. +
  66372. +
  66373. +
  66374. +
  66375. +
  66376. + gl_source_base='tests'
  66377. + M4tests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
  66378. +
  66379. + gl_module_indicator_condition=$M4tests_WITNESS
  66380. +
  66381. +
  66382. +
  66383. +
  66384. + if test "$CXX_CHOICE" = no; then
  66385. + CXX=":"
  66386. + fi
  66387. + if test -z "$CXX"; then
  66388. + if test -n "$CCC"; then
  66389. + CXX="$CCC"
  66390. + else
  66391. + if test -n "$ac_tool_prefix"; then
  66392. + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
  66393. + do
  66394. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  66395. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  66396. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  66397. +$as_echo_n "checking for $ac_word... " >&6; }
  66398. +if ${ac_cv_prog_CXX+:} false; then :
  66399. + $as_echo_n "(cached) " >&6
  66400. +else
  66401. + if test -n "$CXX"; then
  66402. + ac_cv_prog_CXX="$CXX" # Let the user override the test.
  66403. +else
  66404. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  66405. +for as_dir in $PATH
  66406. +do
  66407. + IFS=$as_save_IFS
  66408. + test -z "$as_dir" && as_dir=.
  66409. + for ac_exec_ext in '' $ac_executable_extensions; do
  66410. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66411. + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  66412. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66413. + break 2
  66414. + fi
  66415. +done
  66416. + done
  66417. +IFS=$as_save_IFS
  66418. +
  66419. +fi
  66420. +fi
  66421. +CXX=$ac_cv_prog_CXX
  66422. +if test -n "$CXX"; then
  66423. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  66424. +$as_echo "$CXX" >&6; }
  66425. +else
  66426. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  66427. +$as_echo "no" >&6; }
  66428. +fi
  66429. +
  66430. +
  66431. + test -n "$CXX" && break
  66432. + done
  66433. +fi
  66434. +if test -z "$CXX"; then
  66435. + ac_ct_CXX=$CXX
  66436. + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
  66437. +do
  66438. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  66439. +set dummy $ac_prog; ac_word=$2
  66440. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  66441. +$as_echo_n "checking for $ac_word... " >&6; }
  66442. +if ${ac_cv_prog_ac_ct_CXX+:} false; then :
  66443. + $as_echo_n "(cached) " >&6
  66444. +else
  66445. + if test -n "$ac_ct_CXX"; then
  66446. + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  66447. +else
  66448. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  66449. +for as_dir in $PATH
  66450. +do
  66451. + IFS=$as_save_IFS
  66452. + test -z "$as_dir" && as_dir=.
  66453. + for ac_exec_ext in '' $ac_executable_extensions; do
  66454. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  66455. + ac_cv_prog_ac_ct_CXX="$ac_prog"
  66456. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  66457. + break 2
  66458. + fi
  66459. +done
  66460. + done
  66461. +IFS=$as_save_IFS
  66462. +
  66463. +fi
  66464. +fi
  66465. +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  66466. +if test -n "$ac_ct_CXX"; then
  66467. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  66468. +$as_echo "$ac_ct_CXX" >&6; }
  66469. +else
  66470. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  66471. +$as_echo "no" >&6; }
  66472. +fi
  66473. +
  66474. +
  66475. + test -n "$ac_ct_CXX" && break
  66476. +done
  66477. +
  66478. + if test "x$ac_ct_CXX" = x; then
  66479. + CXX=":"
  66480. + else
  66481. + case $cross_compiling:$ac_tool_warned in
  66482. +yes:)
  66483. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  66484. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  66485. +ac_tool_warned=yes ;;
  66486. +esac
  66487. + CXX=$ac_ct_CXX
  66488. + fi
  66489. +fi
  66490. +
  66491. + fi
  66492. + fi
  66493. + if test "$CXX" != ":"; then
  66494. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
  66495. +$as_echo_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works... " >&6; }
  66496. + ac_ext=cpp
  66497. +ac_cpp='$CXXCPP $CPPFLAGS'
  66498. +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  66499. +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  66500. +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  66501. +
  66502. +
  66503. +
  66504. + echo 'int main () { return 0; }' > conftest.$ac_ext
  66505. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  66506. + (eval $ac_link) 2>&5
  66507. + ac_status=$?
  66508. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  66509. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  66510. + gl_cv_prog_ansicxx_works=yes
  66511. + if (./conftest; exit) 2>/dev/null; then
  66512. + gl_cv_prog_ansicxx_cross=no
  66513. + else
  66514. + gl_cv_prog_ansicxx_cross=yes
  66515. + fi
  66516. + else
  66517. + gl_cv_prog_ansicxx_works=no
  66518. + fi
  66519. + rm -fr conftest*
  66520. + ac_ext=c
  66521. +ac_cpp='$CPP $CPPFLAGS'
  66522. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  66523. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  66524. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  66525. +
  66526. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_prog_ansicxx_works" >&5
  66527. +$as_echo "$gl_cv_prog_ansicxx_works" >&6; }
  66528. + if test $gl_cv_prog_ansicxx_works = no; then
  66529. + CXX=:
  66530. + else
  66531. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler supports namespaces" >&5
  66532. +$as_echo_n "checking whether the C++ compiler supports namespaces... " >&6; }
  66533. + ac_ext=cpp
  66534. +ac_cpp='$CXXCPP $CPPFLAGS'
  66535. +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  66536. +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  66537. +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  66538. +
  66539. + cat <<EOF > conftest.$ac_ext
  66540. +#include <iostream>
  66541. +namespace test { using namespace std; }
  66542. +std::ostream* ptr;
  66543. +int main () { return 0; }
  66544. +EOF
  66545. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  66546. + (eval $ac_link) 2>&5
  66547. + ac_status=$?
  66548. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  66549. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  66550. + gl_cv_prog_ansicxx_namespaces=yes
  66551. + else
  66552. + gl_cv_prog_ansicxx_namespaces=no
  66553. + fi
  66554. + rm -fr conftest*
  66555. + ac_ext=c
  66556. +ac_cpp='$CPP $CPPFLAGS'
  66557. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  66558. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  66559. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  66560. +
  66561. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_prog_ansicxx_namespaces" >&5
  66562. +$as_echo "$gl_cv_prog_ansicxx_namespaces" >&6; }
  66563. + if test $gl_cv_prog_ansicxx_namespaces = no; then
  66564. + CXX=:
  66565. + fi
  66566. + fi
  66567. + fi
  66568. +
  66569. +
  66570. +
  66571. + if test "$CXX" != ":"; then
  66572. + ANSICXX_TRUE=
  66573. + ANSICXX_FALSE='#'
  66574. +else
  66575. + ANSICXX_TRUE='#'
  66576. + ANSICXX_FALSE=
  66577. +fi
  66578. +
  66579. +
  66580. + if test "$CXX" != ":"; then
  66581. +
  66582. +depcc="$CXX" am_compiler_list=
  66583. +
  66584. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  66585. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  66586. +if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
  66587. + $as_echo_n "(cached) " >&6
  66588. +else
  66589. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  66590. + # We make a subdir and do the tests there. Otherwise we can end up
  66591. + # making bogus files that we don't know about and never remove. For
  66592. + # instance it was reported that on HP-UX the gcc test will end up
  66593. + # making a dummy file named 'D' -- because '-MD' means "put the output
  66594. + # in D".
  66595. + rm -rf conftest.dir
  66596. + mkdir conftest.dir
  66597. + # Copy depcomp to subdir because otherwise we won't find it if we're
  66598. + # using a relative directory.
  66599. + cp "$am_depcomp" conftest.dir
  66600. + cd conftest.dir
  66601. + # We will build objects and dependencies in a subdirectory because
  66602. + # it helps to detect inapplicable dependency modes. For instance
  66603. + # both Tru64's cc and ICC support -MD to output dependencies as a
  66604. + # side effect of compilation, but ICC will put the dependencies in
  66605. + # the current directory while Tru64 will put them in the object
  66606. + # directory.
  66607. + mkdir sub
  66608. +
  66609. + am_cv_CXX_dependencies_compiler_type=none
  66610. + if test "$am_compiler_list" = ""; then
  66611. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  66612. + fi
  66613. + am__universal=false
  66614. + case " $depcc " in #(
  66615. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  66616. + esac
  66617. +
  66618. + for depmode in $am_compiler_list; do
  66619. + # Setup a source with many dependencies, because some compilers
  66620. + # like to wrap large dependency lists on column 80 (with \), and
  66621. + # we should not choose a depcomp mode which is confused by this.
  66622. + #
  66623. + # We need to recreate these files for each test, as the compiler may
  66624. + # overwrite some of them when testing with obscure command lines.
  66625. + # This happens at least with the AIX C compiler.
  66626. + : > sub/conftest.c
  66627. + for i in 1 2 3 4 5 6; do
  66628. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  66629. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  66630. + # Solaris 10 /bin/sh.
  66631. + echo '/* dummy */' > sub/conftst$i.h
  66632. + done
  66633. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  66634. +
  66635. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  66636. + # mode. It turns out that the SunPro C++ compiler does not properly
  66637. + # handle '-M -o', and we need to detect this. Also, some Intel
  66638. + # versions had trouble with output in subdirs.
  66639. + am__obj=sub/conftest.${OBJEXT-o}
  66640. + am__minus_obj="-o $am__obj"
  66641. + case $depmode in
  66642. + gcc)
  66643. + # This depmode causes a compiler race in universal mode.
  66644. + test "$am__universal" = false || continue
  66645. + ;;
  66646. + nosideeffect)
  66647. + # After this tag, mechanisms are not by side-effect, so they'll
  66648. + # only be used when explicitly requested.
  66649. + if test "x$enable_dependency_tracking" = xyes; then
  66650. + continue
  66651. + else
  66652. + break
  66653. + fi
  66654. + ;;
  66655. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  66656. + # This compiler won't grok '-c -o', but also, the minuso test has
  66657. + # not run yet. These depmodes are late enough in the game, and
  66658. + # so weak that their functioning should not be impacted.
  66659. + am__obj=conftest.${OBJEXT-o}
  66660. + am__minus_obj=
  66661. + ;;
  66662. + none) break ;;
  66663. + esac
  66664. + if depmode=$depmode \
  66665. + source=sub/conftest.c object=$am__obj \
  66666. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  66667. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  66668. + >/dev/null 2>conftest.err &&
  66669. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  66670. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  66671. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  66672. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  66673. + # icc doesn't choke on unknown options, it will just issue warnings
  66674. + # or remarks (even with -Werror). So we grep stderr for any message
  66675. + # that says an option was ignored or not supported.
  66676. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  66677. + # icc: Command line warning: ignoring option '-M'; no argument required
  66678. + # The diagnosis changed in icc 8.0:
  66679. + # icc: Command line remark: option '-MP' not supported
  66680. + if (grep 'ignoring option' conftest.err ||
  66681. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  66682. + am_cv_CXX_dependencies_compiler_type=$depmode
  66683. + break
  66684. + fi
  66685. + fi
  66686. + done
  66687. +
  66688. + cd ..
  66689. + rm -rf conftest.dir
  66690. +else
  66691. + am_cv_CXX_dependencies_compiler_type=none
  66692. +fi
  66693. +
  66694. +fi
  66695. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
  66696. +$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  66697. +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  66698. +
  66699. + if
  66700. + test "x$enable_dependency_tracking" != xno \
  66701. + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  66702. + am__fastdepCXX_TRUE=
  66703. + am__fastdepCXX_FALSE='#'
  66704. +else
  66705. + am__fastdepCXX_TRUE='#'
  66706. + am__fastdepCXX_FALSE=
  66707. +fi
  66708. +
  66709. +
  66710. + else
  66711. + if false; then
  66712. + am__fastdepCXX_TRUE=
  66713. + am__fastdepCXX_FALSE='#'
  66714. +else
  66715. + am__fastdepCXX_TRUE='#'
  66716. + am__fastdepCXX_FALSE=
  66717. +fi
  66718. +
  66719. + fi
  66720. +
  66721. +
  66722. +
  66723. +
  66724. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  66725. +$as_echo_n "checking for a traditional french locale... " >&6; }
  66726. +if ${gt_cv_locale_fr+:} false; then :
  66727. + $as_echo_n "(cached) " >&6
  66728. +else
  66729. +
  66730. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  66731. +/* end confdefs.h. */
  66732. +
  66733. +#include <locale.h>
  66734. +#include <time.h>
  66735. +#if HAVE_LANGINFO_CODESET
  66736. +# include <langinfo.h>
  66737. +#endif
  66738. +#include <stdlib.h>
  66739. +#include <string.h>
  66740. +struct tm t;
  66741. +char buf[16];
  66742. +int main () {
  66743. + /* Check whether the given locale name is recognized by the system. */
  66744. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  66745. + /* On native Win32, setlocale(category, "") looks at the system settings,
  66746. + not at the environment variables. Also, when an encoding suffix such
  66747. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  66748. + category of the locale to "C". */
  66749. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  66750. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  66751. + return 1;
  66752. +#else
  66753. + if (setlocale (LC_ALL, "") == NULL) return 1;
  66754. +#endif
  66755. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  66756. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  66757. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  66758. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  66759. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  66760. + some unit tests fail.
  66761. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  66762. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  66763. +#if HAVE_LANGINFO_CODESET
  66764. + {
  66765. + const char *cs = nl_langinfo (CODESET);
  66766. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  66767. + || strcmp (cs, "UTF-8") == 0)
  66768. + return 1;
  66769. + }
  66770. +#endif
  66771. +#ifdef __CYGWIN__
  66772. + /* On Cygwin, avoid locale names without encoding suffix, because the
  66773. + locale_charset() function relies on the encoding suffix. Note that
  66774. + LC_ALL is set on the command line. */
  66775. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  66776. +#endif
  66777. + /* Check whether in the abbreviation of the second month, the second
  66778. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
  66779. + one byte long. This excludes the UTF-8 encoding. */
  66780. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  66781. + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
  66782. + /* Check whether the decimal separator is a comma.
  66783. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  66784. + are nl_langinfo(RADIXCHAR) are both ".". */
  66785. + if (localeconv () ->decimal_point[0] != ',') return 1;
  66786. + return 0;
  66787. +}
  66788. +
  66789. +_ACEOF
  66790. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  66791. + (eval $ac_link) 2>&5
  66792. + ac_status=$?
  66793. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  66794. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  66795. + case "$host_os" in
  66796. + # Handle native Windows specially, because there setlocale() interprets
  66797. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  66798. + # "fr" or "fra" as "French" or "French_France.1252",
  66799. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  66800. + # "ja" as "Japanese" or "Japanese_Japan.932",
  66801. + # and similar.
  66802. + mingw*)
  66803. + # Test for the native Win32 locale name.
  66804. + if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  66805. + gt_cv_locale_fr=French_France.1252
  66806. + else
  66807. + # None found.
  66808. + gt_cv_locale_fr=none
  66809. + fi
  66810. + ;;
  66811. + *)
  66812. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  66813. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  66814. + # configure script would override the LC_ALL setting. Likewise for
  66815. + # LC_CTYPE, which is also set at the beginning of the configure script.
  66816. + # Test for the usual locale name.
  66817. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  66818. + gt_cv_locale_fr=fr_FR
  66819. + else
  66820. + # Test for the locale name with explicit encoding suffix.
  66821. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  66822. + gt_cv_locale_fr=fr_FR.ISO-8859-1
  66823. + else
  66824. + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
  66825. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  66826. + gt_cv_locale_fr=fr_FR.ISO8859-1
  66827. + else
  66828. + # Test for the HP-UX locale name.
  66829. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  66830. + gt_cv_locale_fr=fr_FR.iso88591
  66831. + else
  66832. + # Test for the Solaris 7 locale name.
  66833. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  66834. + gt_cv_locale_fr=fr
  66835. + else
  66836. + # None found.
  66837. + gt_cv_locale_fr=none
  66838. + fi
  66839. + fi
  66840. + fi
  66841. + fi
  66842. + fi
  66843. + ;;
  66844. + esac
  66845. + fi
  66846. + rm -fr conftest*
  66847. +
  66848. +fi
  66849. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
  66850. +$as_echo "$gt_cv_locale_fr" >&6; }
  66851. + LOCALE_FR=$gt_cv_locale_fr
  66852. +
  66853. +
  66854. +
  66855. +
  66856. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  66857. +$as_echo_n "checking for a french Unicode locale... " >&6; }
  66858. +if ${gt_cv_locale_fr_utf8+:} false; then :
  66859. + $as_echo_n "(cached) " >&6
  66860. +else
  66861. +
  66862. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  66863. +/* end confdefs.h. */
  66864. +
  66865. +#include <locale.h>
  66866. +#include <time.h>
  66867. +#if HAVE_LANGINFO_CODESET
  66868. +# include <langinfo.h>
  66869. +#endif
  66870. +#include <stdlib.h>
  66871. +#include <string.h>
  66872. +struct tm t;
  66873. +char buf[16];
  66874. +int main () {
  66875. + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl
  66876. + imitates locale dependent behaviour by looking at the environment
  66877. + variables, and all locales use the UTF-8 encoding. */
  66878. +#if !(defined __BEOS__ || defined __HAIKU__)
  66879. + /* Check whether the given locale name is recognized by the system. */
  66880. +# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  66881. + /* On native Win32, setlocale(category, "") looks at the system settings,
  66882. + not at the environment variables. Also, when an encoding suffix such
  66883. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  66884. + category of the locale to "C". */
  66885. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  66886. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  66887. + return 1;
  66888. +# else
  66889. + if (setlocale (LC_ALL, "") == NULL) return 1;
  66890. +# endif
  66891. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  66892. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  66893. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  66894. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  66895. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  66896. + some unit tests fail. */
  66897. +# if HAVE_LANGINFO_CODESET
  66898. + {
  66899. + const char *cs = nl_langinfo (CODESET);
  66900. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  66901. + return 1;
  66902. + }
  66903. +# endif
  66904. +# ifdef __CYGWIN__
  66905. + /* On Cygwin, avoid locale names without encoding suffix, because the
  66906. + locale_charset() function relies on the encoding suffix. Note that
  66907. + LC_ALL is set on the command line. */
  66908. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  66909. +# endif
  66910. + /* Check whether in the abbreviation of the second month, the second
  66911. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
  66912. + two bytes long, with UTF-8 encoding. */
  66913. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  66914. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  66915. + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
  66916. + return 1;
  66917. +#endif
  66918. + /* Check whether the decimal separator is a comma.
  66919. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  66920. + are nl_langinfo(RADIXCHAR) are both ".". */
  66921. + if (localeconv () ->decimal_point[0] != ',') return 1;
  66922. + return 0;
  66923. +}
  66924. +
  66925. +_ACEOF
  66926. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  66927. + (eval $ac_link) 2>&5
  66928. + ac_status=$?
  66929. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  66930. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  66931. + case "$host_os" in
  66932. + # Handle native Windows specially, because there setlocale() interprets
  66933. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  66934. + # "fr" or "fra" as "French" or "French_France.1252",
  66935. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  66936. + # "ja" as "Japanese" or "Japanese_Japan.932",
  66937. + # and similar.
  66938. + mingw*)
  66939. + # Test for the hypothetical native Win32 locale name.
  66940. + if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  66941. + gt_cv_locale_fr_utf8=French_France.65001
  66942. + else
  66943. + # None found.
  66944. + gt_cv_locale_fr_utf8=none
  66945. + fi
  66946. + ;;
  66947. + *)
  66948. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  66949. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  66950. + # configure script would override the LC_ALL setting. Likewise for
  66951. + # LC_CTYPE, which is also set at the beginning of the configure script.
  66952. + # Test for the usual locale name.
  66953. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  66954. + gt_cv_locale_fr_utf8=fr_FR
  66955. + else
  66956. + # Test for the locale name with explicit encoding suffix.
  66957. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  66958. + gt_cv_locale_fr_utf8=fr_FR.UTF-8
  66959. + else
  66960. + # Test for the Solaris 7 locale name.
  66961. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  66962. + gt_cv_locale_fr_utf8=fr.UTF-8
  66963. + else
  66964. + # None found.
  66965. + gt_cv_locale_fr_utf8=none
  66966. + fi
  66967. + fi
  66968. + fi
  66969. + ;;
  66970. + esac
  66971. + fi
  66972. + rm -fr conftest*
  66973. +
  66974. +fi
  66975. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
  66976. +$as_echo "$gt_cv_locale_fr_utf8" >&6; }
  66977. + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
  66978. +
  66979. +
  66980. +
  66981. +
  66982. +
  66983. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  66984. +$as_echo_n "checking for a traditional french locale... " >&6; }
  66985. +if ${gt_cv_locale_fr+:} false; then :
  66986. + $as_echo_n "(cached) " >&6
  66987. +else
  66988. +
  66989. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  66990. +/* end confdefs.h. */
  66991. +
  66992. +#include <locale.h>
  66993. +#include <time.h>
  66994. +#if HAVE_LANGINFO_CODESET
  66995. +# include <langinfo.h>
  66996. +#endif
  66997. +#include <stdlib.h>
  66998. +#include <string.h>
  66999. +struct tm t;
  67000. +char buf[16];
  67001. +int main () {
  67002. + /* Check whether the given locale name is recognized by the system. */
  67003. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  67004. + /* On native Win32, setlocale(category, "") looks at the system settings,
  67005. + not at the environment variables. Also, when an encoding suffix such
  67006. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  67007. + category of the locale to "C". */
  67008. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  67009. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  67010. + return 1;
  67011. +#else
  67012. + if (setlocale (LC_ALL, "") == NULL) return 1;
  67013. +#endif
  67014. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  67015. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  67016. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  67017. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  67018. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  67019. + some unit tests fail.
  67020. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  67021. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  67022. +#if HAVE_LANGINFO_CODESET
  67023. + {
  67024. + const char *cs = nl_langinfo (CODESET);
  67025. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  67026. + || strcmp (cs, "UTF-8") == 0)
  67027. + return 1;
  67028. + }
  67029. +#endif
  67030. +#ifdef __CYGWIN__
  67031. + /* On Cygwin, avoid locale names without encoding suffix, because the
  67032. + locale_charset() function relies on the encoding suffix. Note that
  67033. + LC_ALL is set on the command line. */
  67034. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  67035. +#endif
  67036. + /* Check whether in the abbreviation of the second month, the second
  67037. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
  67038. + one byte long. This excludes the UTF-8 encoding. */
  67039. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  67040. + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
  67041. + /* Check whether the decimal separator is a comma.
  67042. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  67043. + are nl_langinfo(RADIXCHAR) are both ".". */
  67044. + if (localeconv () ->decimal_point[0] != ',') return 1;
  67045. + return 0;
  67046. +}
  67047. +
  67048. +_ACEOF
  67049. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  67050. + (eval $ac_link) 2>&5
  67051. + ac_status=$?
  67052. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  67053. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  67054. + case "$host_os" in
  67055. + # Handle native Windows specially, because there setlocale() interprets
  67056. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  67057. + # "fr" or "fra" as "French" or "French_France.1252",
  67058. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  67059. + # "ja" as "Japanese" or "Japanese_Japan.932",
  67060. + # and similar.
  67061. + mingw*)
  67062. + # Test for the native Win32 locale name.
  67063. + if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  67064. + gt_cv_locale_fr=French_France.1252
  67065. + else
  67066. + # None found.
  67067. + gt_cv_locale_fr=none
  67068. + fi
  67069. + ;;
  67070. + *)
  67071. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  67072. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  67073. + # configure script would override the LC_ALL setting. Likewise for
  67074. + # LC_CTYPE, which is also set at the beginning of the configure script.
  67075. + # Test for the usual locale name.
  67076. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  67077. + gt_cv_locale_fr=fr_FR
  67078. + else
  67079. + # Test for the locale name with explicit encoding suffix.
  67080. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  67081. + gt_cv_locale_fr=fr_FR.ISO-8859-1
  67082. + else
  67083. + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
  67084. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  67085. + gt_cv_locale_fr=fr_FR.ISO8859-1
  67086. + else
  67087. + # Test for the HP-UX locale name.
  67088. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  67089. + gt_cv_locale_fr=fr_FR.iso88591
  67090. + else
  67091. + # Test for the Solaris 7 locale name.
  67092. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  67093. + gt_cv_locale_fr=fr
  67094. + else
  67095. + # None found.
  67096. + gt_cv_locale_fr=none
  67097. + fi
  67098. + fi
  67099. + fi
  67100. + fi
  67101. + fi
  67102. + ;;
  67103. + esac
  67104. + fi
  67105. + rm -fr conftest*
  67106. +
  67107. +fi
  67108. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
  67109. +$as_echo "$gt_cv_locale_fr" >&6; }
  67110. + LOCALE_FR=$gt_cv_locale_fr
  67111. +
  67112. +
  67113. +
  67114. +
  67115. +
  67116. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a turkish Unicode locale" >&5
  67117. +$as_echo_n "checking for a turkish Unicode locale... " >&6; }
  67118. +if ${gt_cv_locale_tr_utf8+:} false; then :
  67119. + $as_echo_n "(cached) " >&6
  67120. +else
  67121. +
  67122. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  67123. +/* end confdefs.h. */
  67124. +
  67125. +#include <locale.h>
  67126. +#include <time.h>
  67127. +#if HAVE_LANGINFO_CODESET
  67128. +# include <langinfo.h>
  67129. +#endif
  67130. +#include <stdlib.h>
  67131. +#include <string.h>
  67132. +struct tm t;
  67133. +char buf[16];
  67134. +int main () {
  67135. + /* On BeOS, locales are not implemented in libc. Rather, libintl
  67136. + imitates locale dependent behaviour by looking at the environment
  67137. + variables, and all locales use the UTF-8 encoding. But BeOS does not
  67138. + implement the Turkish upper-/lowercase mappings. Therefore, let this
  67139. + program return 1 on BeOS. */
  67140. + /* Check whether the given locale name is recognized by the system. */
  67141. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  67142. + /* On native Win32, setlocale(category, "") looks at the system settings,
  67143. + not at the environment variables. Also, when an encoding suffix such
  67144. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  67145. + category of the locale to "C". */
  67146. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  67147. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  67148. + return 1;
  67149. +#else
  67150. + if (setlocale (LC_ALL, "") == NULL) return 1;
  67151. +#endif
  67152. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  67153. + On MacOS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET)
  67154. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  67155. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  67156. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  67157. + some unit tests fail. */
  67158. +#if HAVE_LANGINFO_CODESET
  67159. + {
  67160. + const char *cs = nl_langinfo (CODESET);
  67161. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  67162. + return 1;
  67163. + }
  67164. +#endif
  67165. +#ifdef __CYGWIN__
  67166. + /* On Cygwin, avoid locale names without encoding suffix, because the
  67167. + locale_charset() function relies on the encoding suffix. Note that
  67168. + LC_ALL is set on the command line. */
  67169. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  67170. +#endif
  67171. + /* Check whether in the abbreviation of the eighth month, the second
  67172. + character (should be U+011F: LATIN SMALL LETTER G WITH BREVE) is
  67173. + two bytes long, with UTF-8 encoding. */
  67174. + t.tm_year = 1992 - 1900; t.tm_mon = 8 - 1; t.tm_mday = 19;
  67175. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  67176. + || buf[1] != (char) 0xc4 || buf[2] != (char) 0x9f)
  67177. + return 1;
  67178. + /* Check whether the upper-/lowercase mappings are as expected for
  67179. + Turkish. */
  67180. + if (towupper ('i') != 0x0130 || towlower (0x0130) != 'i'
  67181. + || towupper(0x0131) != 'I' || towlower ('I') != 0x0131)
  67182. + return 1;
  67183. + return 0;
  67184. +}
  67185. +
  67186. +_ACEOF
  67187. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  67188. + (eval $ac_link) 2>&5
  67189. + ac_status=$?
  67190. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  67191. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  67192. + case "$host_os" in
  67193. + # Handle native Windows specially, because there setlocale() interprets
  67194. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  67195. + # "fr" or "fra" as "French" or "French_France.1252",
  67196. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  67197. + # "ja" as "Japanese" or "Japanese_Japan.932",
  67198. + # and similar.
  67199. + mingw*)
  67200. + # Test for the hypothetical native Win32 locale name.
  67201. + if (LC_ALL=Turkish_Turkey.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  67202. + gt_cv_locale_tr_utf8=Turkish_Turkey.65001
  67203. + else
  67204. + # None found.
  67205. + gt_cv_locale_tr_utf8=none
  67206. + fi
  67207. + ;;
  67208. + *)
  67209. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  67210. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  67211. + # configure script would override the LC_ALL setting. Likewise for
  67212. + # LC_CTYPE, which is also set at the beginning of the configure script.
  67213. + # Test for the usual locale name.
  67214. + if (LC_ALL=tr_TR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  67215. + gt_cv_locale_tr_utf8=tr_TR
  67216. + else
  67217. + # Test for the locale name with explicit encoding suffix.
  67218. + if (LC_ALL=tr_TR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  67219. + gt_cv_locale_tr_utf8=tr_TR.UTF-8
  67220. + else
  67221. + # Test for the Solaris 7 locale name.
  67222. + if (LC_ALL=tr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  67223. + gt_cv_locale_tr_utf8=tr.UTF-8
  67224. + else
  67225. + # None found.
  67226. + gt_cv_locale_tr_utf8=none
  67227. + fi
  67228. + fi
  67229. + fi
  67230. + ;;
  67231. + esac
  67232. + else
  67233. + gt_cv_locale_tr_utf8=none
  67234. + fi
  67235. + rm -fr conftest*
  67236. +
  67237. +fi
  67238. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_tr_utf8" >&5
  67239. +$as_echo "$gt_cv_locale_tr_utf8" >&6; }
  67240. + LOCALE_TR_UTF8=$gt_cv_locale_tr_utf8
  67241. +
  67242. +
  67243. +
  67244. +
  67245. +
  67246. +
  67247. + if test $REPLACE_FTELLO != 0; then
  67248. +
  67249. +
  67250. +
  67251. +
  67252. +
  67253. +
  67254. +
  67255. +
  67256. + M4tests_LIBOBJS="$M4tests_LIBOBJS ftell.$ac_objext"
  67257. +
  67258. + REPLACE_FTELL=1
  67259. + fi
  67260. +
  67261. +
  67262. +
  67263. +
  67264. + GNULIB_FTELL=$gl_module_indicator_condition
  67265. +
  67266. +
  67267. +
  67268. +$as_echo "@%:@define GNULIB_TEST_FTELL 1" >>confdefs.h
  67269. +
  67270. +
  67271. +
  67272. +
  67273. +
  67274. +
  67275. +
  67276. +
  67277. + for ac_func in getpagesize
  67278. +do :
  67279. + ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
  67280. +if test "x$ac_cv_func_getpagesize" = xyes; then :
  67281. + cat >>confdefs.h <<_ACEOF
  67282. +@%:@define HAVE_GETPAGESIZE 1
  67283. +_ACEOF
  67284. +
  67285. +fi
  67286. +done
  67287. +
  67288. + if test $ac_cv_func_getpagesize = no; then
  67289. + HAVE_GETPAGESIZE=0
  67290. + for ac_header in OS.h
  67291. +do :
  67292. + ac_fn_c_check_header_mongrel "$LINENO" "OS.h" "ac_cv_header_OS_h" "$ac_includes_default"
  67293. +if test "x$ac_cv_header_OS_h" = xyes; then :
  67294. + cat >>confdefs.h <<_ACEOF
  67295. +@%:@define HAVE_OS_H 1
  67296. +_ACEOF
  67297. +
  67298. +fi
  67299. +
  67300. +done
  67301. +
  67302. + if test $ac_cv_header_OS_h = yes; then
  67303. + HAVE_OS_H=1
  67304. + fi
  67305. + for ac_header in sys/param.h
  67306. +do :
  67307. + ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
  67308. +if test "x$ac_cv_header_sys_param_h" = xyes; then :
  67309. + cat >>confdefs.h <<_ACEOF
  67310. +@%:@define HAVE_SYS_PARAM_H 1
  67311. +_ACEOF
  67312. +
  67313. +fi
  67314. +
  67315. +done
  67316. +
  67317. + if test $ac_cv_header_sys_param_h = yes; then
  67318. + HAVE_SYS_PARAM_H=1
  67319. + fi
  67320. + fi
  67321. + case "$host_os" in
  67322. + mingw*)
  67323. + REPLACE_GETPAGESIZE=1
  67324. +
  67325. +
  67326. +
  67327. +
  67328. +
  67329. +
  67330. +
  67331. +
  67332. + M4tests_LIBOBJS="$M4tests_LIBOBJS getpagesize.$ac_objext"
  67333. +
  67334. + ;;
  67335. + esac
  67336. + ac_fn_c_check_decl "$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default"
  67337. +if test "x$ac_cv_have_decl_getpagesize" = xyes; then :
  67338. +
  67339. +else
  67340. + HAVE_DECL_GETPAGESIZE=0
  67341. +fi
  67342. +
  67343. +
  67344. +
  67345. +
  67346. +
  67347. + GNULIB_GETPAGESIZE=$gl_module_indicator_condition
  67348. +
  67349. +
  67350. +
  67351. +$as_echo "@%:@define GNULIB_TEST_GETPAGESIZE 1" >>confdefs.h
  67352. +
  67353. +
  67354. +
  67355. +
  67356. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5
  67357. +$as_echo_n "checking where to find the exponent in a 'double'... " >&6; }
  67358. +if ${gl_cv_cc_double_expbit0+:} false; then :
  67359. + $as_echo_n "(cached) " >&6
  67360. +else
  67361. +
  67362. + if test "$cross_compiling" = yes; then :
  67363. +
  67364. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  67365. +/* end confdefs.h. */
  67366. +
  67367. +#if defined arm || defined __arm || defined __arm__
  67368. + mixed_endianness
  67369. +#endif
  67370. +
  67371. +_ACEOF
  67372. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  67373. + $EGREP "mixed_endianness" >/dev/null 2>&1; then :
  67374. + gl_cv_cc_double_expbit0="unknown"
  67375. +else
  67376. +
  67377. + :
  67378. +if ${ac_cv_c_bigendian+:} false; then :
  67379. + $as_echo_n "(cached) " >&6
  67380. +else
  67381. + ac_cv_c_bigendian=unknown
  67382. + # See if we're dealing with a universal compiler.
  67383. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  67384. +/* end confdefs.h. */
  67385. +#ifndef __APPLE_CC__
  67386. + not a universal capable compiler
  67387. + #endif
  67388. + typedef int dummy;
  67389. +
  67390. +_ACEOF
  67391. +if ac_fn_c_try_compile "$LINENO"; then :
  67392. +
  67393. + # Check for potential -arch flags. It is not universal unless
  67394. + # there are at least two -arch flags with different values.
  67395. + ac_arch=
  67396. + ac_prev=
  67397. + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  67398. + if test -n "$ac_prev"; then
  67399. + case $ac_word in
  67400. + i?86 | x86_64 | ppc | ppc64)
  67401. + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  67402. + ac_arch=$ac_word
  67403. + else
  67404. + ac_cv_c_bigendian=universal
  67405. + break
  67406. + fi
  67407. + ;;
  67408. + esac
  67409. + ac_prev=
  67410. + elif test "x$ac_word" = "x-arch"; then
  67411. + ac_prev=arch
  67412. + fi
  67413. + done
  67414. +fi
  67415. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  67416. + if test $ac_cv_c_bigendian = unknown; then
  67417. + # See if sys/param.h defines the BYTE_ORDER macro.
  67418. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  67419. +/* end confdefs.h. */
  67420. +#include <sys/types.h>
  67421. + #include <sys/param.h>
  67422. +
  67423. +int
  67424. +main ()
  67425. +{
  67426. +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  67427. + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  67428. + && LITTLE_ENDIAN)
  67429. + bogus endian macros
  67430. + #endif
  67431. +
  67432. + ;
  67433. + return 0;
  67434. +}
  67435. +_ACEOF
  67436. +if ac_fn_c_try_compile "$LINENO"; then :
  67437. + # It does; now see whether it defined to BIG_ENDIAN or not.
  67438. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  67439. +/* end confdefs.h. */
  67440. +#include <sys/types.h>
  67441. + #include <sys/param.h>
  67442. +
  67443. +int
  67444. +main ()
  67445. +{
  67446. +#if BYTE_ORDER != BIG_ENDIAN
  67447. + not big endian
  67448. + #endif
  67449. +
  67450. + ;
  67451. + return 0;
  67452. +}
  67453. +_ACEOF
  67454. +if ac_fn_c_try_compile "$LINENO"; then :
  67455. + ac_cv_c_bigendian=yes
  67456. +else
  67457. + ac_cv_c_bigendian=no
  67458. +fi
  67459. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  67460. +fi
  67461. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  67462. + fi
  67463. + if test $ac_cv_c_bigendian = unknown; then
  67464. + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  67465. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  67466. +/* end confdefs.h. */
  67467. +#include <limits.h>
  67468. +
  67469. +int
  67470. +main ()
  67471. +{
  67472. +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  67473. + bogus endian macros
  67474. + #endif
  67475. +
  67476. + ;
  67477. + return 0;
  67478. +}
  67479. +_ACEOF
  67480. +if ac_fn_c_try_compile "$LINENO"; then :
  67481. + # It does; now see whether it defined to _BIG_ENDIAN or not.
  67482. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  67483. +/* end confdefs.h. */
  67484. +#include <limits.h>
  67485. +
  67486. +int
  67487. +main ()
  67488. +{
  67489. +#ifndef _BIG_ENDIAN
  67490. + not big endian
  67491. + #endif
  67492. +
  67493. + ;
  67494. + return 0;
  67495. +}
  67496. +_ACEOF
  67497. +if ac_fn_c_try_compile "$LINENO"; then :
  67498. + ac_cv_c_bigendian=yes
  67499. +else
  67500. + ac_cv_c_bigendian=no
  67501. +fi
  67502. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  67503. +fi
  67504. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  67505. + fi
  67506. + if test $ac_cv_c_bigendian = unknown; then
  67507. + # Compile a test program.
  67508. + if test "$cross_compiling" = yes; then :
  67509. + # Try to guess by grepping values from an object file.
  67510. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  67511. +/* end confdefs.h. */
  67512. +short int ascii_mm[] =
  67513. + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  67514. + short int ascii_ii[] =
  67515. + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  67516. + int use_ascii (int i) {
  67517. + return ascii_mm[i] + ascii_ii[i];
  67518. + }
  67519. + short int ebcdic_ii[] =
  67520. + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  67521. + short int ebcdic_mm[] =
  67522. + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  67523. + int use_ebcdic (int i) {
  67524. + return ebcdic_mm[i] + ebcdic_ii[i];
  67525. + }
  67526. + extern int foo;
  67527. +
  67528. +int
  67529. +main ()
  67530. +{
  67531. +return use_ascii (foo) == use_ebcdic (foo);
  67532. + ;
  67533. + return 0;
  67534. +}
  67535. +_ACEOF
  67536. +if ac_fn_c_try_compile "$LINENO"; then :
  67537. + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  67538. + ac_cv_c_bigendian=yes
  67539. + fi
  67540. + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  67541. + if test "$ac_cv_c_bigendian" = unknown; then
  67542. + ac_cv_c_bigendian=no
  67543. + else
  67544. + # finding both strings is unlikely to happen, but who knows?
  67545. + ac_cv_c_bigendian=unknown
  67546. + fi
  67547. + fi
  67548. +fi
  67549. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  67550. +else
  67551. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  67552. +/* end confdefs.h. */
  67553. +$ac_includes_default
  67554. +int
  67555. +main ()
  67556. +{
  67557. +
  67558. + /* Are we little or big endian? From Harbison&Steele. */
  67559. + union
  67560. + {
  67561. + long int l;
  67562. + char c[sizeof (long int)];
  67563. + } u;
  67564. + u.l = 1;
  67565. + return u.c[sizeof (long int) - 1] == 1;
  67566. +
  67567. + ;
  67568. + return 0;
  67569. +}
  67570. +_ACEOF
  67571. +if ac_fn_c_try_run "$LINENO"; then :
  67572. + ac_cv_c_bigendian=no
  67573. +else
  67574. + ac_cv_c_bigendian=yes
  67575. +fi
  67576. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  67577. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  67578. +fi
  67579. +
  67580. + fi
  67581. +fi
  67582. +:
  67583. + case $ac_cv_c_bigendian in #(
  67584. + yes)
  67585. + gl_cv_cc_double_expbit0="word 0 bit 20";; #(
  67586. + no)
  67587. + gl_cv_cc_double_expbit0="word 1 bit 20" ;; #(
  67588. + universal)
  67589. +
  67590. +$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  67591. +
  67592. + ;; #(
  67593. + *)
  67594. + gl_cv_cc_double_expbit0="unknown" ;;
  67595. + esac
  67596. +
  67597. +
  67598. +fi
  67599. +rm -f conftest*
  67600. +
  67601. +
  67602. +else
  67603. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  67604. +/* end confdefs.h. */
  67605. +
  67606. +#include <float.h>
  67607. +#include <stddef.h>
  67608. +#include <stdio.h>
  67609. +#include <string.h>
  67610. +#define NWORDS \
  67611. + ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  67612. +typedef union { double value; unsigned int word[NWORDS]; } memory_double;
  67613. +static unsigned int ored_words[NWORDS];
  67614. +static unsigned int anded_words[NWORDS];
  67615. +static void add_to_ored_words (double x)
  67616. +{
  67617. + memory_double m;
  67618. + size_t i;
  67619. + /* Clear it first, in case sizeof (double) < sizeof (memory_double). */
  67620. + memset (&m, 0, sizeof (memory_double));
  67621. + m.value = x;
  67622. + for (i = 0; i < NWORDS; i++)
  67623. + {
  67624. + ored_words[i] |= m.word[i];
  67625. + anded_words[i] &= m.word[i];
  67626. + }
  67627. +}
  67628. +int main ()
  67629. +{
  67630. + size_t j;
  67631. + FILE *fp = fopen ("conftest.out", "w");
  67632. + if (fp == NULL)
  67633. + return 1;
  67634. + for (j = 0; j < NWORDS; j++)
  67635. + anded_words[j] = ~ (unsigned int) 0;
  67636. + add_to_ored_words (0.25);
  67637. + add_to_ored_words (0.5);
  67638. + add_to_ored_words (1.0);
  67639. + add_to_ored_words (2.0);
  67640. + add_to_ored_words (4.0);
  67641. + /* Remove bits that are common (e.g. if representation of the first mantissa
  67642. + bit is explicit). */
  67643. + for (j = 0; j < NWORDS; j++)
  67644. + ored_words[j] &= ~anded_words[j];
  67645. + /* Now find the nonzero word. */
  67646. + for (j = 0; j < NWORDS; j++)
  67647. + if (ored_words[j] != 0)
  67648. + break;
  67649. + if (j < NWORDS)
  67650. + {
  67651. + size_t i;
  67652. + for (i = j + 1; i < NWORDS; i++)
  67653. + if (ored_words[i] != 0)
  67654. + {
  67655. + fprintf (fp, "unknown");
  67656. + return (fclose (fp) != 0);
  67657. + }
  67658. + for (i = 0; ; i++)
  67659. + if ((ored_words[j] >> i) & 1)
  67660. + {
  67661. + fprintf (fp, "word %d bit %d", (int) j, (int) i);
  67662. + return (fclose (fp) != 0);
  67663. + }
  67664. + }
  67665. + fprintf (fp, "unknown");
  67666. + return (fclose (fp) != 0);
  67667. +}
  67668. +
  67669. +_ACEOF
  67670. +if ac_fn_c_try_run "$LINENO"; then :
  67671. + gl_cv_cc_double_expbit0=`cat conftest.out`
  67672. +else
  67673. + gl_cv_cc_double_expbit0="unknown"
  67674. +fi
  67675. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  67676. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  67677. +fi
  67678. +
  67679. + rm -f conftest.out
  67680. +
  67681. +fi
  67682. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_double_expbit0" >&5
  67683. +$as_echo "$gl_cv_cc_double_expbit0" >&6; }
  67684. + case "$gl_cv_cc_double_expbit0" in
  67685. + word*bit*)
  67686. + word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
  67687. + bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'`
  67688. +
  67689. +cat >>confdefs.h <<_ACEOF
  67690. +@%:@define DBL_EXPBIT0_WORD $word
  67691. +_ACEOF
  67692. +
  67693. +
  67694. +cat >>confdefs.h <<_ACEOF
  67695. +@%:@define DBL_EXPBIT0_BIT $bit
  67696. +_ACEOF
  67697. +
  67698. + ;;
  67699. + esac
  67700. +
  67701. +
  67702. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
  67703. +$as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
  67704. +if ${gl_cv_cc_float_expbit0+:} false; then :
  67705. + $as_echo_n "(cached) " >&6
  67706. +else
  67707. +
  67708. + if test "$cross_compiling" = yes; then :
  67709. + gl_cv_cc_float_expbit0="word 0 bit 23"
  67710. +else
  67711. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  67712. +/* end confdefs.h. */
  67713. +
  67714. +#include <float.h>
  67715. +#include <stddef.h>
  67716. +#include <stdio.h>
  67717. +#include <string.h>
  67718. +#define NWORDS \
  67719. + ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  67720. +typedef union { float value; unsigned int word[NWORDS]; } memory_float;
  67721. +static unsigned int ored_words[NWORDS];
  67722. +static unsigned int anded_words[NWORDS];
  67723. +static void add_to_ored_words (float x)
  67724. +{
  67725. + memory_float m;
  67726. + size_t i;
  67727. + /* Clear it first, in case
  67728. + sizeof (float) < sizeof (memory_float). */
  67729. + memset (&m, 0, sizeof (memory_float));
  67730. + m.value = x;
  67731. + for (i = 0; i < NWORDS; i++)
  67732. + {
  67733. + ored_words[i] |= m.word[i];
  67734. + anded_words[i] &= m.word[i];
  67735. + }
  67736. +}
  67737. +int main ()
  67738. +{
  67739. + size_t j;
  67740. + FILE *fp = fopen ("conftest.out", "w");
  67741. + if (fp == NULL)
  67742. + return 1;
  67743. + for (j = 0; j < NWORDS; j++)
  67744. + anded_words[j] = ~ (unsigned int) 0;
  67745. + add_to_ored_words (0.25f);
  67746. + add_to_ored_words (0.5f);
  67747. + add_to_ored_words (1.0f);
  67748. + add_to_ored_words (2.0f);
  67749. + add_to_ored_words (4.0f);
  67750. + /* Remove bits that are common (e.g. if representation of the first mantissa
  67751. + bit is explicit). */
  67752. + for (j = 0; j < NWORDS; j++)
  67753. + ored_words[j] &= ~anded_words[j];
  67754. + /* Now find the nonzero word. */
  67755. + for (j = 0; j < NWORDS; j++)
  67756. + if (ored_words[j] != 0)
  67757. + break;
  67758. + if (j < NWORDS)
  67759. + {
  67760. + size_t i;
  67761. + for (i = j + 1; i < NWORDS; i++)
  67762. + if (ored_words[i] != 0)
  67763. + {
  67764. + fprintf (fp, "unknown");
  67765. + return (fclose (fp) != 0);
  67766. + }
  67767. + for (i = 0; ; i++)
  67768. + if ((ored_words[j] >> i) & 1)
  67769. + {
  67770. + fprintf (fp, "word %d bit %d", (int) j, (int) i);
  67771. + return (fclose (fp) != 0);
  67772. + }
  67773. + }
  67774. + fprintf (fp, "unknown");
  67775. + return (fclose (fp) != 0);
  67776. +}
  67777. +
  67778. +_ACEOF
  67779. +if ac_fn_c_try_run "$LINENO"; then :
  67780. + gl_cv_cc_float_expbit0=`cat conftest.out`
  67781. +else
  67782. + gl_cv_cc_float_expbit0="unknown"
  67783. +fi
  67784. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  67785. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  67786. +fi
  67787. +
  67788. + rm -f conftest.out
  67789. +
  67790. +fi
  67791. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_float_expbit0" >&5
  67792. +$as_echo "$gl_cv_cc_float_expbit0" >&6; }
  67793. + case "$gl_cv_cc_float_expbit0" in
  67794. + word*bit*)
  67795. + word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
  67796. + bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'`
  67797. +
  67798. +cat >>confdefs.h <<_ACEOF
  67799. +@%:@define FLT_EXPBIT0_WORD $word
  67800. +_ACEOF
  67801. +
  67802. +
  67803. +cat >>confdefs.h <<_ACEOF
  67804. +@%:@define FLT_EXPBIT0_BIT $bit
  67805. +_ACEOF
  67806. +
  67807. + ;;
  67808. + esac
  67809. +
  67810. +
  67811. +
  67812. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5
  67813. +$as_echo_n "checking where to find the exponent in a 'long double'... " >&6; }
  67814. +if ${gl_cv_cc_long_double_expbit0+:} false; then :
  67815. + $as_echo_n "(cached) " >&6
  67816. +else
  67817. +
  67818. + if test "$cross_compiling" = yes; then :
  67819. +
  67820. + gl_cv_cc_long_double_expbit0="unknown"
  67821. +
  67822. +else
  67823. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  67824. +/* end confdefs.h. */
  67825. +
  67826. +#include <float.h>
  67827. +#include <stddef.h>
  67828. +#include <stdio.h>
  67829. +#include <string.h>
  67830. +#define NWORDS \
  67831. + ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  67832. +typedef union { long double value; unsigned int word[NWORDS]; }
  67833. + memory_long_double;
  67834. +static unsigned int ored_words[NWORDS];
  67835. +static unsigned int anded_words[NWORDS];
  67836. +static void add_to_ored_words (long double x)
  67837. +{
  67838. + memory_long_double m;
  67839. + size_t i;
  67840. + /* Clear it first, in case
  67841. + sizeof (long double) < sizeof (memory_long_double). */
  67842. + memset (&m, 0, sizeof (memory_long_double));
  67843. + m.value = x;
  67844. + for (i = 0; i < NWORDS; i++)
  67845. + {
  67846. + ored_words[i] |= m.word[i];
  67847. + anded_words[i] &= m.word[i];
  67848. + }
  67849. +}
  67850. +int main ()
  67851. +{
  67852. + size_t j;
  67853. + FILE *fp = fopen ("conftest.out", "w");
  67854. + if (fp == NULL)
  67855. + return 1;
  67856. + for (j = 0; j < NWORDS; j++)
  67857. + anded_words[j] = ~ (unsigned int) 0;
  67858. + add_to_ored_words (0.25L);
  67859. + add_to_ored_words (0.5L);
  67860. + add_to_ored_words (1.0L);
  67861. + add_to_ored_words (2.0L);
  67862. + add_to_ored_words (4.0L);
  67863. + /* Remove bits that are common (e.g. if representation of the first mantissa
  67864. + bit is explicit). */
  67865. + for (j = 0; j < NWORDS; j++)
  67866. + ored_words[j] &= ~anded_words[j];
  67867. + /* Now find the nonzero word. */
  67868. + for (j = 0; j < NWORDS; j++)
  67869. + if (ored_words[j] != 0)
  67870. + break;
  67871. + if (j < NWORDS)
  67872. + {
  67873. + size_t i;
  67874. + for (i = j + 1; i < NWORDS; i++)
  67875. + if (ored_words[i] != 0)
  67876. + {
  67877. + fprintf (fp, "unknown");
  67878. + return (fclose (fp) != 0);
  67879. + }
  67880. + for (i = 0; ; i++)
  67881. + if ((ored_words[j] >> i) & 1)
  67882. + {
  67883. + fprintf (fp, "word %d bit %d", (int) j, (int) i);
  67884. + return (fclose (fp) != 0);
  67885. + }
  67886. + }
  67887. + fprintf (fp, "unknown");
  67888. + return (fclose (fp) != 0);
  67889. +}
  67890. +
  67891. +_ACEOF
  67892. +if ac_fn_c_try_run "$LINENO"; then :
  67893. + gl_cv_cc_long_double_expbit0=`cat conftest.out`
  67894. +else
  67895. + gl_cv_cc_long_double_expbit0="unknown"
  67896. +fi
  67897. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  67898. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  67899. +fi
  67900. +
  67901. + rm -f conftest.out
  67902. +
  67903. +fi
  67904. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_long_double_expbit0" >&5
  67905. +$as_echo "$gl_cv_cc_long_double_expbit0" >&6; }
  67906. + case "$gl_cv_cc_long_double_expbit0" in
  67907. + word*bit*)
  67908. + word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
  67909. + bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'`
  67910. +
  67911. +cat >>confdefs.h <<_ACEOF
  67912. +@%:@define LDBL_EXPBIT0_WORD $word
  67913. +_ACEOF
  67914. +
  67915. +
  67916. +cat >>confdefs.h <<_ACEOF
  67917. +@%:@define LDBL_EXPBIT0_BIT $bit
  67918. +_ACEOF
  67919. +
  67920. + ;;
  67921. + esac
  67922. +
  67923. +
  67924. +
  67925. +
  67926. + if test $ac_cv_func_link = no; then
  67927. + HAVE_LINK=0
  67928. +
  67929. +
  67930. +
  67931. +
  67932. +
  67933. +
  67934. +
  67935. +
  67936. + M4tests_LIBOBJS="$M4tests_LIBOBJS link.$ac_objext"
  67937. +
  67938. + else
  67939. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether link handles trailing slash correctly" >&5
  67940. +$as_echo_n "checking whether link handles trailing slash correctly... " >&6; }
  67941. +if ${gl_cv_func_link_works+:} false; then :
  67942. + $as_echo_n "(cached) " >&6
  67943. +else
  67944. + touch conftest.a
  67945. + # Assume that if we have lstat, we can also check symlinks.
  67946. + if test $ac_cv_func_lstat = yes; then
  67947. + ln -s conftest.a conftest.lnk
  67948. + fi
  67949. + if test "$cross_compiling" = yes; then :
  67950. + gl_cv_func_link_works="guessing no"
  67951. +else
  67952. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  67953. +/* end confdefs.h. */
  67954. +#include <unistd.h>
  67955. +
  67956. +int
  67957. +main ()
  67958. +{
  67959. +int result = 0;
  67960. + if (!link ("conftest.a", "conftest.b/"))
  67961. + result |= 1;
  67962. +#if HAVE_LSTAT
  67963. + if (!link ("conftest.lnk/", "conftest.b"))
  67964. + result |= 2;
  67965. +#endif
  67966. + return result;
  67967. +
  67968. + ;
  67969. + return 0;
  67970. +}
  67971. +_ACEOF
  67972. +if ac_fn_c_try_run "$LINENO"; then :
  67973. + gl_cv_func_link_works=yes
  67974. +else
  67975. + gl_cv_func_link_works=no
  67976. +fi
  67977. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  67978. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  67979. +fi
  67980. +
  67981. + rm -f conftest.a conftest.b conftest.lnk
  67982. +fi
  67983. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_link_works" >&5
  67984. +$as_echo "$gl_cv_func_link_works" >&6; }
  67985. + if test "$gl_cv_func_link_works" != yes; then
  67986. + REPLACE_LINK=1
  67987. +
  67988. +
  67989. +
  67990. +
  67991. +
  67992. +
  67993. +
  67994. +
  67995. + M4tests_LIBOBJS="$M4tests_LIBOBJS link.$ac_objext"
  67996. +
  67997. + fi
  67998. + fi
  67999. +
  68000. +
  68001. +
  68002. +
  68003. + GNULIB_LINK=$gl_module_indicator_condition
  68004. +
  68005. +
  68006. +
  68007. +$as_echo "@%:@define GNULIB_TEST_LINK 1" >>confdefs.h
  68008. +
  68009. +
  68010. +
  68011. +
  68012. +
  68013. +
  68014. +
  68015. +
  68016. +
  68017. +
  68018. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h conforms to POSIX:2001" >&5
  68019. +$as_echo_n "checking whether locale.h conforms to POSIX:2001... " >&6; }
  68020. +if ${gl_cv_header_locale_h_posix2001+:} false; then :
  68021. + $as_echo_n "(cached) " >&6
  68022. +else
  68023. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  68024. +/* end confdefs.h. */
  68025. +#include <locale.h>
  68026. + int x = LC_MESSAGES;
  68027. +int
  68028. +main ()
  68029. +{
  68030. +
  68031. + ;
  68032. + return 0;
  68033. +}
  68034. +_ACEOF
  68035. +if ac_fn_c_try_compile "$LINENO"; then :
  68036. + gl_cv_header_locale_h_posix2001=yes
  68037. +else
  68038. + gl_cv_header_locale_h_posix2001=no
  68039. +fi
  68040. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  68041. +fi
  68042. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_h_posix2001" >&5
  68043. +$as_echo "$gl_cv_header_locale_h_posix2001" >&6; }
  68044. +
  68045. +
  68046. + if test $ac_cv_header_xlocale_h = yes; then
  68047. + HAVE_XLOCALE_H=1
  68048. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5
  68049. +$as_echo_n "checking whether locale.h defines locale_t... " >&6; }
  68050. +if ${gl_cv_header_locale_has_locale_t+:} false; then :
  68051. + $as_echo_n "(cached) " >&6
  68052. +else
  68053. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  68054. +/* end confdefs.h. */
  68055. +#include <locale.h>
  68056. + locale_t x;
  68057. +int
  68058. +main ()
  68059. +{
  68060. +
  68061. + ;
  68062. + return 0;
  68063. +}
  68064. +_ACEOF
  68065. +if ac_fn_c_try_compile "$LINENO"; then :
  68066. + gl_cv_header_locale_has_locale_t=yes
  68067. +else
  68068. + gl_cv_header_locale_has_locale_t=no
  68069. +fi
  68070. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  68071. +
  68072. +fi
  68073. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_locale_has_locale_t" >&5
  68074. +$as_echo "$gl_cv_header_locale_has_locale_t" >&6; }
  68075. + if test $gl_cv_header_locale_has_locale_t = yes; then
  68076. + gl_cv_header_locale_h_needs_xlocale_h=no
  68077. + else
  68078. + gl_cv_header_locale_h_needs_xlocale_h=yes
  68079. + fi
  68080. + else
  68081. + HAVE_XLOCALE_H=0
  68082. + gl_cv_header_locale_h_needs_xlocale_h=no
  68083. + fi
  68084. +
  68085. +
  68086. +
  68087. +
  68088. +
  68089. +
  68090. +
  68091. +
  68092. +
  68093. +
  68094. + if test $gl_cv_have_include_next = yes; then
  68095. + gl_cv_next_locale_h='<'locale.h'>'
  68096. + else
  68097. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <locale.h>" >&5
  68098. +$as_echo_n "checking absolute name of <locale.h>... " >&6; }
  68099. +if ${gl_cv_next_locale_h+:} false; then :
  68100. + $as_echo_n "(cached) " >&6
  68101. +else
  68102. +
  68103. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  68104. +/* end confdefs.h. */
  68105. +#include <locale.h>
  68106. +
  68107. +_ACEOF
  68108. + case "$host_os" in
  68109. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  68110. + *) gl_absname_cpp="$ac_cpp" ;;
  68111. + esac
  68112. + gl_cv_next_locale_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
  68113. + sed -n '\#/locale.h#{
  68114. + s#.*"\(.*/locale.h\)".*#\1#
  68115. + s#^/[^/]#//&#
  68116. + p
  68117. + q
  68118. + }'`'"'
  68119. +
  68120. +
  68121. +fi
  68122. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_locale_h" >&5
  68123. +$as_echo "$gl_cv_next_locale_h" >&6; }
  68124. + fi
  68125. + NEXT_LOCALE_H=$gl_cv_next_locale_h
  68126. +
  68127. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  68128. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  68129. + gl_next_as_first_directive='<'locale.h'>'
  68130. + else
  68131. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  68132. + gl_next_as_first_directive=$gl_cv_next_locale_h
  68133. + fi
  68134. + NEXT_AS_FIRST_DIRECTIVE_LOCALE_H=$gl_next_as_first_directive
  68135. +
  68136. +
  68137. +
  68138. +
  68139. +
  68140. + if test -n "$STDDEF_H" \
  68141. + || test $gl_cv_header_locale_h_posix2001 = no \
  68142. + || test $gl_cv_header_locale_h_needs_xlocale_h = yes; then
  68143. +
  68144. + :
  68145. +
  68146. + fi
  68147. +
  68148. +
  68149. +
  68150. +
  68151. +
  68152. +
  68153. +
  68154. + for ac_func in setlocale uselocale
  68155. +do :
  68156. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  68157. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  68158. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  68159. + cat >>confdefs.h <<_ACEOF
  68160. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  68161. +_ACEOF
  68162. +
  68163. +fi
  68164. +done
  68165. +
  68166. +
  68167. +
  68168. +
  68169. +
  68170. +
  68171. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  68172. +$as_echo_n "checking for a traditional french locale... " >&6; }
  68173. +if ${gt_cv_locale_fr+:} false; then :
  68174. + $as_echo_n "(cached) " >&6
  68175. +else
  68176. +
  68177. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  68178. +/* end confdefs.h. */
  68179. +
  68180. +#include <locale.h>
  68181. +#include <time.h>
  68182. +#if HAVE_LANGINFO_CODESET
  68183. +# include <langinfo.h>
  68184. +#endif
  68185. +#include <stdlib.h>
  68186. +#include <string.h>
  68187. +struct tm t;
  68188. +char buf[16];
  68189. +int main () {
  68190. + /* Check whether the given locale name is recognized by the system. */
  68191. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  68192. + /* On native Win32, setlocale(category, "") looks at the system settings,
  68193. + not at the environment variables. Also, when an encoding suffix such
  68194. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  68195. + category of the locale to "C". */
  68196. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  68197. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  68198. + return 1;
  68199. +#else
  68200. + if (setlocale (LC_ALL, "") == NULL) return 1;
  68201. +#endif
  68202. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  68203. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  68204. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  68205. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  68206. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  68207. + some unit tests fail.
  68208. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  68209. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  68210. +#if HAVE_LANGINFO_CODESET
  68211. + {
  68212. + const char *cs = nl_langinfo (CODESET);
  68213. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  68214. + || strcmp (cs, "UTF-8") == 0)
  68215. + return 1;
  68216. + }
  68217. +#endif
  68218. +#ifdef __CYGWIN__
  68219. + /* On Cygwin, avoid locale names without encoding suffix, because the
  68220. + locale_charset() function relies on the encoding suffix. Note that
  68221. + LC_ALL is set on the command line. */
  68222. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  68223. +#endif
  68224. + /* Check whether in the abbreviation of the second month, the second
  68225. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
  68226. + one byte long. This excludes the UTF-8 encoding. */
  68227. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  68228. + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
  68229. + /* Check whether the decimal separator is a comma.
  68230. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  68231. + are nl_langinfo(RADIXCHAR) are both ".". */
  68232. + if (localeconv () ->decimal_point[0] != ',') return 1;
  68233. + return 0;
  68234. +}
  68235. +
  68236. +_ACEOF
  68237. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  68238. + (eval $ac_link) 2>&5
  68239. + ac_status=$?
  68240. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  68241. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  68242. + case "$host_os" in
  68243. + # Handle native Windows specially, because there setlocale() interprets
  68244. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  68245. + # "fr" or "fra" as "French" or "French_France.1252",
  68246. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  68247. + # "ja" as "Japanese" or "Japanese_Japan.932",
  68248. + # and similar.
  68249. + mingw*)
  68250. + # Test for the native Win32 locale name.
  68251. + if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68252. + gt_cv_locale_fr=French_France.1252
  68253. + else
  68254. + # None found.
  68255. + gt_cv_locale_fr=none
  68256. + fi
  68257. + ;;
  68258. + *)
  68259. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  68260. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  68261. + # configure script would override the LC_ALL setting. Likewise for
  68262. + # LC_CTYPE, which is also set at the beginning of the configure script.
  68263. + # Test for the usual locale name.
  68264. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68265. + gt_cv_locale_fr=fr_FR
  68266. + else
  68267. + # Test for the locale name with explicit encoding suffix.
  68268. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68269. + gt_cv_locale_fr=fr_FR.ISO-8859-1
  68270. + else
  68271. + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
  68272. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68273. + gt_cv_locale_fr=fr_FR.ISO8859-1
  68274. + else
  68275. + # Test for the HP-UX locale name.
  68276. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68277. + gt_cv_locale_fr=fr_FR.iso88591
  68278. + else
  68279. + # Test for the Solaris 7 locale name.
  68280. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68281. + gt_cv_locale_fr=fr
  68282. + else
  68283. + # None found.
  68284. + gt_cv_locale_fr=none
  68285. + fi
  68286. + fi
  68287. + fi
  68288. + fi
  68289. + fi
  68290. + ;;
  68291. + esac
  68292. + fi
  68293. + rm -fr conftest*
  68294. +
  68295. +fi
  68296. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
  68297. +$as_echo "$gt_cv_locale_fr" >&6; }
  68298. + LOCALE_FR=$gt_cv_locale_fr
  68299. +
  68300. +
  68301. +
  68302. +
  68303. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  68304. +$as_echo_n "checking for a french Unicode locale... " >&6; }
  68305. +if ${gt_cv_locale_fr_utf8+:} false; then :
  68306. + $as_echo_n "(cached) " >&6
  68307. +else
  68308. +
  68309. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  68310. +/* end confdefs.h. */
  68311. +
  68312. +#include <locale.h>
  68313. +#include <time.h>
  68314. +#if HAVE_LANGINFO_CODESET
  68315. +# include <langinfo.h>
  68316. +#endif
  68317. +#include <stdlib.h>
  68318. +#include <string.h>
  68319. +struct tm t;
  68320. +char buf[16];
  68321. +int main () {
  68322. + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl
  68323. + imitates locale dependent behaviour by looking at the environment
  68324. + variables, and all locales use the UTF-8 encoding. */
  68325. +#if !(defined __BEOS__ || defined __HAIKU__)
  68326. + /* Check whether the given locale name is recognized by the system. */
  68327. +# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  68328. + /* On native Win32, setlocale(category, "") looks at the system settings,
  68329. + not at the environment variables. Also, when an encoding suffix such
  68330. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  68331. + category of the locale to "C". */
  68332. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  68333. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  68334. + return 1;
  68335. +# else
  68336. + if (setlocale (LC_ALL, "") == NULL) return 1;
  68337. +# endif
  68338. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  68339. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  68340. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  68341. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  68342. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  68343. + some unit tests fail. */
  68344. +# if HAVE_LANGINFO_CODESET
  68345. + {
  68346. + const char *cs = nl_langinfo (CODESET);
  68347. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  68348. + return 1;
  68349. + }
  68350. +# endif
  68351. +# ifdef __CYGWIN__
  68352. + /* On Cygwin, avoid locale names without encoding suffix, because the
  68353. + locale_charset() function relies on the encoding suffix. Note that
  68354. + LC_ALL is set on the command line. */
  68355. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  68356. +# endif
  68357. + /* Check whether in the abbreviation of the second month, the second
  68358. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
  68359. + two bytes long, with UTF-8 encoding. */
  68360. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  68361. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  68362. + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
  68363. + return 1;
  68364. +#endif
  68365. + /* Check whether the decimal separator is a comma.
  68366. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  68367. + are nl_langinfo(RADIXCHAR) are both ".". */
  68368. + if (localeconv () ->decimal_point[0] != ',') return 1;
  68369. + return 0;
  68370. +}
  68371. +
  68372. +_ACEOF
  68373. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  68374. + (eval $ac_link) 2>&5
  68375. + ac_status=$?
  68376. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  68377. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  68378. + case "$host_os" in
  68379. + # Handle native Windows specially, because there setlocale() interprets
  68380. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  68381. + # "fr" or "fra" as "French" or "French_France.1252",
  68382. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  68383. + # "ja" as "Japanese" or "Japanese_Japan.932",
  68384. + # and similar.
  68385. + mingw*)
  68386. + # Test for the hypothetical native Win32 locale name.
  68387. + if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68388. + gt_cv_locale_fr_utf8=French_France.65001
  68389. + else
  68390. + # None found.
  68391. + gt_cv_locale_fr_utf8=none
  68392. + fi
  68393. + ;;
  68394. + *)
  68395. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  68396. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  68397. + # configure script would override the LC_ALL setting. Likewise for
  68398. + # LC_CTYPE, which is also set at the beginning of the configure script.
  68399. + # Test for the usual locale name.
  68400. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68401. + gt_cv_locale_fr_utf8=fr_FR
  68402. + else
  68403. + # Test for the locale name with explicit encoding suffix.
  68404. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68405. + gt_cv_locale_fr_utf8=fr_FR.UTF-8
  68406. + else
  68407. + # Test for the Solaris 7 locale name.
  68408. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68409. + gt_cv_locale_fr_utf8=fr.UTF-8
  68410. + else
  68411. + # None found.
  68412. + gt_cv_locale_fr_utf8=none
  68413. + fi
  68414. + fi
  68415. + fi
  68416. + ;;
  68417. + esac
  68418. + fi
  68419. + rm -fr conftest*
  68420. +
  68421. +fi
  68422. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
  68423. +$as_echo "$gt_cv_locale_fr_utf8" >&6; }
  68424. + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
  68425. +
  68426. +
  68427. +
  68428. +
  68429. +
  68430. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
  68431. +$as_echo_n "checking for a traditional japanese locale... " >&6; }
  68432. +if ${gt_cv_locale_ja+:} false; then :
  68433. + $as_echo_n "(cached) " >&6
  68434. +else
  68435. +
  68436. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  68437. +/* end confdefs.h. */
  68438. +
  68439. +#include <locale.h>
  68440. +#include <time.h>
  68441. +#if HAVE_LANGINFO_CODESET
  68442. +# include <langinfo.h>
  68443. +#endif
  68444. +#include <stdlib.h>
  68445. +#include <string.h>
  68446. +struct tm t;
  68447. +char buf[16];
  68448. +int main ()
  68449. +{
  68450. + const char *p;
  68451. + /* Check whether the given locale name is recognized by the system. */
  68452. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  68453. + /* On native Win32, setlocale(category, "") looks at the system settings,
  68454. + not at the environment variables. Also, when an encoding suffix such
  68455. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  68456. + category of the locale to "C". */
  68457. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  68458. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  68459. + return 1;
  68460. +#else
  68461. + if (setlocale (LC_ALL, "") == NULL) return 1;
  68462. +#endif
  68463. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  68464. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  68465. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  68466. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  68467. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  68468. + some unit tests fail.
  68469. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  68470. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  68471. +#if HAVE_LANGINFO_CODESET
  68472. + {
  68473. + const char *cs = nl_langinfo (CODESET);
  68474. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  68475. + || strcmp (cs, "UTF-8") == 0)
  68476. + return 1;
  68477. + }
  68478. +#endif
  68479. +#ifdef __CYGWIN__
  68480. + /* On Cygwin, avoid locale names without encoding suffix, because the
  68481. + locale_charset() function relies on the encoding suffix. Note that
  68482. + LC_ALL is set on the command line. */
  68483. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  68484. +#endif
  68485. + /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales
  68486. + on Cygwin 1.5.x. */
  68487. + if (MB_CUR_MAX == 1)
  68488. + return 1;
  68489. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  68490. + This excludes the UTF-8 encoding (except on MirBSD). */
  68491. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  68492. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  68493. + for (p = buf; *p != '\0'; p++)
  68494. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  68495. + return 1;
  68496. + return 0;
  68497. +}
  68498. +
  68499. +_ACEOF
  68500. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  68501. + (eval $ac_link) 2>&5
  68502. + ac_status=$?
  68503. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  68504. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  68505. + case "$host_os" in
  68506. + # Handle native Windows specially, because there setlocale() interprets
  68507. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  68508. + # "fr" or "fra" as "French" or "French_France.1252",
  68509. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  68510. + # "ja" as "Japanese" or "Japanese_Japan.932",
  68511. + # and similar.
  68512. + mingw*)
  68513. + # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
  68514. + # and CP932 is very different from EUC-JP, so we cannot use it here.
  68515. + gt_cv_locale_ja=none
  68516. + ;;
  68517. + *)
  68518. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  68519. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  68520. + # configure script would override the LC_ALL setting. Likewise for
  68521. + # LC_CTYPE, which is also set at the beginning of the configure script.
  68522. + # Test for the AIX locale name.
  68523. + if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68524. + gt_cv_locale_ja=ja_JP
  68525. + else
  68526. + # Test for the locale name with explicit encoding suffix.
  68527. + if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68528. + gt_cv_locale_ja=ja_JP.EUC-JP
  68529. + else
  68530. + # Test for the HP-UX, OSF/1, NetBSD locale name.
  68531. + if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68532. + gt_cv_locale_ja=ja_JP.eucJP
  68533. + else
  68534. + # Test for the IRIX, FreeBSD locale name.
  68535. + if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68536. + gt_cv_locale_ja=ja_JP.EUC
  68537. + else
  68538. + # Test for the Solaris 7 locale name.
  68539. + if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68540. + gt_cv_locale_ja=ja
  68541. + else
  68542. + # Special test for NetBSD 1.6.
  68543. + if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
  68544. + gt_cv_locale_ja=ja_JP.eucJP
  68545. + else
  68546. + # None found.
  68547. + gt_cv_locale_ja=none
  68548. + fi
  68549. + fi
  68550. + fi
  68551. + fi
  68552. + fi
  68553. + fi
  68554. + ;;
  68555. + esac
  68556. + fi
  68557. + rm -fr conftest*
  68558. +
  68559. +fi
  68560. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
  68561. +$as_echo "$gt_cv_locale_ja" >&6; }
  68562. + LOCALE_JA=$gt_cv_locale_ja
  68563. +
  68564. +
  68565. +
  68566. +
  68567. +
  68568. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
  68569. +$as_echo_n "checking for a transitional chinese locale... " >&6; }
  68570. +if ${gt_cv_locale_zh_CN+:} false; then :
  68571. + $as_echo_n "(cached) " >&6
  68572. +else
  68573. +
  68574. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  68575. +/* end confdefs.h. */
  68576. +
  68577. +#include <locale.h>
  68578. +#include <stdlib.h>
  68579. +#include <time.h>
  68580. +#if HAVE_LANGINFO_CODESET
  68581. +# include <langinfo.h>
  68582. +#endif
  68583. +#include <stdlib.h>
  68584. +#include <string.h>
  68585. +struct tm t;
  68586. +char buf[16];
  68587. +int main ()
  68588. +{
  68589. + const char *p;
  68590. + /* Check whether the given locale name is recognized by the system. */
  68591. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  68592. + /* On native Win32, setlocale(category, "") looks at the system settings,
  68593. + not at the environment variables. Also, when an encoding suffix such
  68594. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  68595. + category of the locale to "C". */
  68596. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  68597. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  68598. + return 1;
  68599. +#else
  68600. + if (setlocale (LC_ALL, "") == NULL) return 1;
  68601. +#endif
  68602. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  68603. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  68604. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  68605. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  68606. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  68607. + some unit tests fail.
  68608. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  68609. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  68610. +#if HAVE_LANGINFO_CODESET
  68611. + {
  68612. + const char *cs = nl_langinfo (CODESET);
  68613. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  68614. + || strcmp (cs, "UTF-8") == 0)
  68615. + return 1;
  68616. + }
  68617. +#endif
  68618. +#ifdef __CYGWIN__
  68619. + /* On Cygwin, avoid locale names without encoding suffix, because the
  68620. + locale_charset() function relies on the encoding suffix. Note that
  68621. + LC_ALL is set on the command line. */
  68622. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  68623. +#endif
  68624. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  68625. + This excludes the UTF-8 encoding (except on MirBSD). */
  68626. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  68627. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  68628. + for (p = buf; *p != '\0'; p++)
  68629. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  68630. + return 1;
  68631. + /* Check whether a typical GB18030 multibyte sequence is recognized as a
  68632. + single wide character. This excludes the GB2312 and GBK encodings. */
  68633. + if (mblen ("\203\062\332\066", 5) != 4)
  68634. + return 1;
  68635. + return 0;
  68636. +}
  68637. +
  68638. +_ACEOF
  68639. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  68640. + (eval $ac_link) 2>&5
  68641. + ac_status=$?
  68642. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  68643. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  68644. + case "$host_os" in
  68645. + # Handle native Windows specially, because there setlocale() interprets
  68646. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  68647. + # "fr" or "fra" as "French" or "French_France.1252",
  68648. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  68649. + # "ja" as "Japanese" or "Japanese_Japan.932",
  68650. + # and similar.
  68651. + mingw*)
  68652. + # Test for the hypothetical native Win32 locale name.
  68653. + if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68654. + gt_cv_locale_zh_CN=Chinese_China.54936
  68655. + else
  68656. + # None found.
  68657. + gt_cv_locale_zh_CN=none
  68658. + fi
  68659. + ;;
  68660. + *)
  68661. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  68662. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  68663. + # configure script would override the LC_ALL setting. Likewise for
  68664. + # LC_CTYPE, which is also set at the beginning of the configure script.
  68665. + # Test for the locale name without encoding suffix.
  68666. + if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68667. + gt_cv_locale_zh_CN=zh_CN
  68668. + else
  68669. + # Test for the locale name with explicit encoding suffix.
  68670. + if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68671. + gt_cv_locale_zh_CN=zh_CN.GB18030
  68672. + else
  68673. + # None found.
  68674. + gt_cv_locale_zh_CN=none
  68675. + fi
  68676. + fi
  68677. + ;;
  68678. + esac
  68679. + else
  68680. + # If there was a link error, due to mblen(), the system is so old that
  68681. + # it certainly doesn't have a chinese locale.
  68682. + gt_cv_locale_zh_CN=none
  68683. + fi
  68684. + rm -fr conftest*
  68685. +
  68686. +fi
  68687. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
  68688. +$as_echo "$gt_cv_locale_zh_CN" >&6; }
  68689. + LOCALE_ZH_CN=$gt_cv_locale_zh_CN
  68690. +
  68691. +
  68692. +
  68693. +
  68694. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  68695. +$as_echo_n "checking for a french Unicode locale... " >&6; }
  68696. +if ${gt_cv_locale_fr_utf8+:} false; then :
  68697. + $as_echo_n "(cached) " >&6
  68698. +else
  68699. +
  68700. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  68701. +/* end confdefs.h. */
  68702. +
  68703. +#include <locale.h>
  68704. +#include <time.h>
  68705. +#if HAVE_LANGINFO_CODESET
  68706. +# include <langinfo.h>
  68707. +#endif
  68708. +#include <stdlib.h>
  68709. +#include <string.h>
  68710. +struct tm t;
  68711. +char buf[16];
  68712. +int main () {
  68713. + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl
  68714. + imitates locale dependent behaviour by looking at the environment
  68715. + variables, and all locales use the UTF-8 encoding. */
  68716. +#if !(defined __BEOS__ || defined __HAIKU__)
  68717. + /* Check whether the given locale name is recognized by the system. */
  68718. +# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  68719. + /* On native Win32, setlocale(category, "") looks at the system settings,
  68720. + not at the environment variables. Also, when an encoding suffix such
  68721. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  68722. + category of the locale to "C". */
  68723. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  68724. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  68725. + return 1;
  68726. +# else
  68727. + if (setlocale (LC_ALL, "") == NULL) return 1;
  68728. +# endif
  68729. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  68730. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  68731. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  68732. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  68733. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  68734. + some unit tests fail. */
  68735. +# if HAVE_LANGINFO_CODESET
  68736. + {
  68737. + const char *cs = nl_langinfo (CODESET);
  68738. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  68739. + return 1;
  68740. + }
  68741. +# endif
  68742. +# ifdef __CYGWIN__
  68743. + /* On Cygwin, avoid locale names without encoding suffix, because the
  68744. + locale_charset() function relies on the encoding suffix. Note that
  68745. + LC_ALL is set on the command line. */
  68746. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  68747. +# endif
  68748. + /* Check whether in the abbreviation of the second month, the second
  68749. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
  68750. + two bytes long, with UTF-8 encoding. */
  68751. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  68752. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  68753. + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
  68754. + return 1;
  68755. +#endif
  68756. + /* Check whether the decimal separator is a comma.
  68757. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  68758. + are nl_langinfo(RADIXCHAR) are both ".". */
  68759. + if (localeconv () ->decimal_point[0] != ',') return 1;
  68760. + return 0;
  68761. +}
  68762. +
  68763. +_ACEOF
  68764. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  68765. + (eval $ac_link) 2>&5
  68766. + ac_status=$?
  68767. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  68768. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  68769. + case "$host_os" in
  68770. + # Handle native Windows specially, because there setlocale() interprets
  68771. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  68772. + # "fr" or "fra" as "French" or "French_France.1252",
  68773. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  68774. + # "ja" as "Japanese" or "Japanese_Japan.932",
  68775. + # and similar.
  68776. + mingw*)
  68777. + # Test for the hypothetical native Win32 locale name.
  68778. + if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68779. + gt_cv_locale_fr_utf8=French_France.65001
  68780. + else
  68781. + # None found.
  68782. + gt_cv_locale_fr_utf8=none
  68783. + fi
  68784. + ;;
  68785. + *)
  68786. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  68787. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  68788. + # configure script would override the LC_ALL setting. Likewise for
  68789. + # LC_CTYPE, which is also set at the beginning of the configure script.
  68790. + # Test for the usual locale name.
  68791. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68792. + gt_cv_locale_fr_utf8=fr_FR
  68793. + else
  68794. + # Test for the locale name with explicit encoding suffix.
  68795. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68796. + gt_cv_locale_fr_utf8=fr_FR.UTF-8
  68797. + else
  68798. + # Test for the Solaris 7 locale name.
  68799. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  68800. + gt_cv_locale_fr_utf8=fr.UTF-8
  68801. + else
  68802. + # None found.
  68803. + gt_cv_locale_fr_utf8=none
  68804. + fi
  68805. + fi
  68806. + fi
  68807. + ;;
  68808. + esac
  68809. + fi
  68810. + rm -fr conftest*
  68811. +
  68812. +fi
  68813. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
  68814. +$as_echo "$gt_cv_locale_fr_utf8" >&6; }
  68815. + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
  68816. +
  68817. +
  68818. +
  68819. +
  68820. +
  68821. + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
  68822. + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  68823. + # irrelevant for anonymous mappings.
  68824. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  68825. +if test "x$ac_cv_func_mmap" = xyes; then :
  68826. + gl_have_mmap=yes
  68827. +else
  68828. + gl_have_mmap=no
  68829. +fi
  68830. +
  68831. +
  68832. + # Try to allow MAP_ANONYMOUS.
  68833. + gl_have_mmap_anonymous=no
  68834. + if test $gl_have_mmap = yes; then
  68835. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
  68836. +$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
  68837. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  68838. +/* end confdefs.h. */
  68839. +
  68840. +#include <sys/mman.h>
  68841. +#ifdef MAP_ANONYMOUS
  68842. + I cant identify this map.
  68843. +#endif
  68844. +
  68845. +_ACEOF
  68846. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  68847. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  68848. + gl_have_mmap_anonymous=yes
  68849. +fi
  68850. +rm -f conftest*
  68851. +
  68852. + if test $gl_have_mmap_anonymous != yes; then
  68853. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  68854. +/* end confdefs.h. */
  68855. +
  68856. +#include <sys/mman.h>
  68857. +#ifdef MAP_ANON
  68858. + I cant identify this map.
  68859. +#endif
  68860. +
  68861. +_ACEOF
  68862. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  68863. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  68864. +
  68865. +$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
  68866. +
  68867. + gl_have_mmap_anonymous=yes
  68868. +fi
  68869. +rm -f conftest*
  68870. +
  68871. + fi
  68872. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
  68873. +$as_echo "$gl_have_mmap_anonymous" >&6; }
  68874. + if test $gl_have_mmap_anonymous = yes; then
  68875. +
  68876. +$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
  68877. +
  68878. + fi
  68879. + fi
  68880. +
  68881. +
  68882. +
  68883. +
  68884. +
  68885. +
  68886. + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
  68887. + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  68888. + # irrelevant for anonymous mappings.
  68889. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  68890. +if test "x$ac_cv_func_mmap" = xyes; then :
  68891. + gl_have_mmap=yes
  68892. +else
  68893. + gl_have_mmap=no
  68894. +fi
  68895. +
  68896. +
  68897. + # Try to allow MAP_ANONYMOUS.
  68898. + gl_have_mmap_anonymous=no
  68899. + if test $gl_have_mmap = yes; then
  68900. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
  68901. +$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
  68902. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  68903. +/* end confdefs.h. */
  68904. +
  68905. +#include <sys/mman.h>
  68906. +#ifdef MAP_ANONYMOUS
  68907. + I cant identify this map.
  68908. +#endif
  68909. +
  68910. +_ACEOF
  68911. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  68912. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  68913. + gl_have_mmap_anonymous=yes
  68914. +fi
  68915. +rm -f conftest*
  68916. +
  68917. + if test $gl_have_mmap_anonymous != yes; then
  68918. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  68919. +/* end confdefs.h. */
  68920. +
  68921. +#include <sys/mman.h>
  68922. +#ifdef MAP_ANON
  68923. + I cant identify this map.
  68924. +#endif
  68925. +
  68926. +_ACEOF
  68927. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  68928. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  68929. +
  68930. +$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
  68931. +
  68932. + gl_have_mmap_anonymous=yes
  68933. +fi
  68934. +rm -f conftest*
  68935. +
  68936. + fi
  68937. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
  68938. +$as_echo "$gl_have_mmap_anonymous" >&6; }
  68939. + if test $gl_have_mmap_anonymous = yes; then
  68940. +
  68941. +$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
  68942. +
  68943. + fi
  68944. + fi
  68945. +
  68946. +
  68947. +
  68948. +
  68949. +
  68950. +
  68951. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  68952. +$as_echo_n "checking for a traditional french locale... " >&6; }
  68953. +if ${gt_cv_locale_fr+:} false; then :
  68954. + $as_echo_n "(cached) " >&6
  68955. +else
  68956. +
  68957. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  68958. +/* end confdefs.h. */
  68959. +
  68960. +#include <locale.h>
  68961. +#include <time.h>
  68962. +#if HAVE_LANGINFO_CODESET
  68963. +# include <langinfo.h>
  68964. +#endif
  68965. +#include <stdlib.h>
  68966. +#include <string.h>
  68967. +struct tm t;
  68968. +char buf[16];
  68969. +int main () {
  68970. + /* Check whether the given locale name is recognized by the system. */
  68971. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  68972. + /* On native Win32, setlocale(category, "") looks at the system settings,
  68973. + not at the environment variables. Also, when an encoding suffix such
  68974. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  68975. + category of the locale to "C". */
  68976. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  68977. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  68978. + return 1;
  68979. +#else
  68980. + if (setlocale (LC_ALL, "") == NULL) return 1;
  68981. +#endif
  68982. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  68983. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  68984. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  68985. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  68986. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  68987. + some unit tests fail.
  68988. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  68989. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  68990. +#if HAVE_LANGINFO_CODESET
  68991. + {
  68992. + const char *cs = nl_langinfo (CODESET);
  68993. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  68994. + || strcmp (cs, "UTF-8") == 0)
  68995. + return 1;
  68996. + }
  68997. +#endif
  68998. +#ifdef __CYGWIN__
  68999. + /* On Cygwin, avoid locale names without encoding suffix, because the
  69000. + locale_charset() function relies on the encoding suffix. Note that
  69001. + LC_ALL is set on the command line. */
  69002. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  69003. +#endif
  69004. + /* Check whether in the abbreviation of the second month, the second
  69005. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
  69006. + one byte long. This excludes the UTF-8 encoding. */
  69007. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  69008. + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
  69009. + /* Check whether the decimal separator is a comma.
  69010. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  69011. + are nl_langinfo(RADIXCHAR) are both ".". */
  69012. + if (localeconv () ->decimal_point[0] != ',') return 1;
  69013. + return 0;
  69014. +}
  69015. +
  69016. +_ACEOF
  69017. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  69018. + (eval $ac_link) 2>&5
  69019. + ac_status=$?
  69020. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  69021. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  69022. + case "$host_os" in
  69023. + # Handle native Windows specially, because there setlocale() interprets
  69024. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  69025. + # "fr" or "fra" as "French" or "French_France.1252",
  69026. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  69027. + # "ja" as "Japanese" or "Japanese_Japan.932",
  69028. + # and similar.
  69029. + mingw*)
  69030. + # Test for the native Win32 locale name.
  69031. + if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69032. + gt_cv_locale_fr=French_France.1252
  69033. + else
  69034. + # None found.
  69035. + gt_cv_locale_fr=none
  69036. + fi
  69037. + ;;
  69038. + *)
  69039. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  69040. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  69041. + # configure script would override the LC_ALL setting. Likewise for
  69042. + # LC_CTYPE, which is also set at the beginning of the configure script.
  69043. + # Test for the usual locale name.
  69044. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69045. + gt_cv_locale_fr=fr_FR
  69046. + else
  69047. + # Test for the locale name with explicit encoding suffix.
  69048. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69049. + gt_cv_locale_fr=fr_FR.ISO-8859-1
  69050. + else
  69051. + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
  69052. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69053. + gt_cv_locale_fr=fr_FR.ISO8859-1
  69054. + else
  69055. + # Test for the HP-UX locale name.
  69056. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69057. + gt_cv_locale_fr=fr_FR.iso88591
  69058. + else
  69059. + # Test for the Solaris 7 locale name.
  69060. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69061. + gt_cv_locale_fr=fr
  69062. + else
  69063. + # None found.
  69064. + gt_cv_locale_fr=none
  69065. + fi
  69066. + fi
  69067. + fi
  69068. + fi
  69069. + fi
  69070. + ;;
  69071. + esac
  69072. + fi
  69073. + rm -fr conftest*
  69074. +
  69075. +fi
  69076. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
  69077. +$as_echo "$gt_cv_locale_fr" >&6; }
  69078. + LOCALE_FR=$gt_cv_locale_fr
  69079. +
  69080. +
  69081. +
  69082. +
  69083. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  69084. +$as_echo_n "checking for a french Unicode locale... " >&6; }
  69085. +if ${gt_cv_locale_fr_utf8+:} false; then :
  69086. + $as_echo_n "(cached) " >&6
  69087. +else
  69088. +
  69089. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69090. +/* end confdefs.h. */
  69091. +
  69092. +#include <locale.h>
  69093. +#include <time.h>
  69094. +#if HAVE_LANGINFO_CODESET
  69095. +# include <langinfo.h>
  69096. +#endif
  69097. +#include <stdlib.h>
  69098. +#include <string.h>
  69099. +struct tm t;
  69100. +char buf[16];
  69101. +int main () {
  69102. + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl
  69103. + imitates locale dependent behaviour by looking at the environment
  69104. + variables, and all locales use the UTF-8 encoding. */
  69105. +#if !(defined __BEOS__ || defined __HAIKU__)
  69106. + /* Check whether the given locale name is recognized by the system. */
  69107. +# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  69108. + /* On native Win32, setlocale(category, "") looks at the system settings,
  69109. + not at the environment variables. Also, when an encoding suffix such
  69110. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  69111. + category of the locale to "C". */
  69112. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  69113. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  69114. + return 1;
  69115. +# else
  69116. + if (setlocale (LC_ALL, "") == NULL) return 1;
  69117. +# endif
  69118. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  69119. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  69120. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  69121. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  69122. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  69123. + some unit tests fail. */
  69124. +# if HAVE_LANGINFO_CODESET
  69125. + {
  69126. + const char *cs = nl_langinfo (CODESET);
  69127. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  69128. + return 1;
  69129. + }
  69130. +# endif
  69131. +# ifdef __CYGWIN__
  69132. + /* On Cygwin, avoid locale names without encoding suffix, because the
  69133. + locale_charset() function relies on the encoding suffix. Note that
  69134. + LC_ALL is set on the command line. */
  69135. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  69136. +# endif
  69137. + /* Check whether in the abbreviation of the second month, the second
  69138. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
  69139. + two bytes long, with UTF-8 encoding. */
  69140. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  69141. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  69142. + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
  69143. + return 1;
  69144. +#endif
  69145. + /* Check whether the decimal separator is a comma.
  69146. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  69147. + are nl_langinfo(RADIXCHAR) are both ".". */
  69148. + if (localeconv () ->decimal_point[0] != ',') return 1;
  69149. + return 0;
  69150. +}
  69151. +
  69152. +_ACEOF
  69153. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  69154. + (eval $ac_link) 2>&5
  69155. + ac_status=$?
  69156. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  69157. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  69158. + case "$host_os" in
  69159. + # Handle native Windows specially, because there setlocale() interprets
  69160. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  69161. + # "fr" or "fra" as "French" or "French_France.1252",
  69162. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  69163. + # "ja" as "Japanese" or "Japanese_Japan.932",
  69164. + # and similar.
  69165. + mingw*)
  69166. + # Test for the hypothetical native Win32 locale name.
  69167. + if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69168. + gt_cv_locale_fr_utf8=French_France.65001
  69169. + else
  69170. + # None found.
  69171. + gt_cv_locale_fr_utf8=none
  69172. + fi
  69173. + ;;
  69174. + *)
  69175. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  69176. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  69177. + # configure script would override the LC_ALL setting. Likewise for
  69178. + # LC_CTYPE, which is also set at the beginning of the configure script.
  69179. + # Test for the usual locale name.
  69180. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69181. + gt_cv_locale_fr_utf8=fr_FR
  69182. + else
  69183. + # Test for the locale name with explicit encoding suffix.
  69184. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69185. + gt_cv_locale_fr_utf8=fr_FR.UTF-8
  69186. + else
  69187. + # Test for the Solaris 7 locale name.
  69188. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69189. + gt_cv_locale_fr_utf8=fr.UTF-8
  69190. + else
  69191. + # None found.
  69192. + gt_cv_locale_fr_utf8=none
  69193. + fi
  69194. + fi
  69195. + fi
  69196. + ;;
  69197. + esac
  69198. + fi
  69199. + rm -fr conftest*
  69200. +
  69201. +fi
  69202. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
  69203. +$as_echo "$gt_cv_locale_fr_utf8" >&6; }
  69204. + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
  69205. +
  69206. +
  69207. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69208. +/* end confdefs.h. */
  69209. +[
  69210. + #if defined _MSC_VER || defined __MINGW32__
  69211. + notposix
  69212. + #endif
  69213. + ]
  69214. +_ACEOF
  69215. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  69216. + $EGREP "notposix" >/dev/null 2>&1; then :
  69217. + posix_spawn_ported=no
  69218. +else
  69219. + posix_spawn_ported=yes
  69220. +fi
  69221. +rm -f conftest*
  69222. +
  69223. + if test $posix_spawn_ported = yes; then
  69224. + POSIX_SPAWN_PORTED_TRUE=
  69225. + POSIX_SPAWN_PORTED_FALSE='#'
  69226. +else
  69227. + POSIX_SPAWN_PORTED_TRUE='#'
  69228. + POSIX_SPAWN_PORTED_FALSE=
  69229. +fi
  69230. +
  69231. +
  69232. +
  69233. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for putenv compatible with GNU and SVID" >&5
  69234. +$as_echo_n "checking for putenv compatible with GNU and SVID... " >&6; }
  69235. +if ${gl_cv_func_svid_putenv+:} false; then :
  69236. + $as_echo_n "(cached) " >&6
  69237. +else
  69238. + if test "$cross_compiling" = yes; then :
  69239. + gl_cv_func_svid_putenv=no
  69240. +else
  69241. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69242. +/* end confdefs.h. */
  69243. +$ac_includes_default
  69244. +int
  69245. +main ()
  69246. +{
  69247. +
  69248. + /* Put it in env. */
  69249. + if (putenv ("CONFTEST_putenv=val"))
  69250. + return 1;
  69251. +
  69252. + /* Try to remove it. */
  69253. + if (putenv ("CONFTEST_putenv"))
  69254. + return 2;
  69255. +
  69256. + /* Make sure it was deleted. */
  69257. + if (getenv ("CONFTEST_putenv") != 0)
  69258. + return 3;
  69259. +
  69260. + return 0;
  69261. +
  69262. + ;
  69263. + return 0;
  69264. +}
  69265. +_ACEOF
  69266. +if ac_fn_c_try_run "$LINENO"; then :
  69267. + gl_cv_func_svid_putenv=yes
  69268. +else
  69269. + gl_cv_func_svid_putenv=no
  69270. +fi
  69271. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  69272. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  69273. +fi
  69274. +
  69275. +
  69276. +fi
  69277. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_svid_putenv" >&5
  69278. +$as_echo "$gl_cv_func_svid_putenv" >&6; }
  69279. + if test $gl_cv_func_svid_putenv = no; then
  69280. + REPLACE_PUTENV=1
  69281. +
  69282. +
  69283. +
  69284. +
  69285. +
  69286. +
  69287. +
  69288. +
  69289. + M4tests_LIBOBJS="$M4tests_LIBOBJS putenv.$ac_objext"
  69290. +
  69291. + fi
  69292. +
  69293. +
  69294. +
  69295. +
  69296. + GNULIB_PUTENV=$gl_module_indicator_condition
  69297. +
  69298. +
  69299. +
  69300. +$as_echo "@%:@define GNULIB_TEST_PUTENV 1" >>confdefs.h
  69301. +
  69302. +
  69303. +
  69304. +
  69305. +
  69306. +
  69307. + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
  69308. + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  69309. + # irrelevant for anonymous mappings.
  69310. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  69311. +if test "x$ac_cv_func_mmap" = xyes; then :
  69312. + gl_have_mmap=yes
  69313. +else
  69314. + gl_have_mmap=no
  69315. +fi
  69316. +
  69317. +
  69318. + # Try to allow MAP_ANONYMOUS.
  69319. + gl_have_mmap_anonymous=no
  69320. + if test $gl_have_mmap = yes; then
  69321. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
  69322. +$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
  69323. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69324. +/* end confdefs.h. */
  69325. +
  69326. +#include <sys/mman.h>
  69327. +#ifdef MAP_ANONYMOUS
  69328. + I cant identify this map.
  69329. +#endif
  69330. +
  69331. +_ACEOF
  69332. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  69333. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  69334. + gl_have_mmap_anonymous=yes
  69335. +fi
  69336. +rm -f conftest*
  69337. +
  69338. + if test $gl_have_mmap_anonymous != yes; then
  69339. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69340. +/* end confdefs.h. */
  69341. +
  69342. +#include <sys/mman.h>
  69343. +#ifdef MAP_ANON
  69344. + I cant identify this map.
  69345. +#endif
  69346. +
  69347. +_ACEOF
  69348. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  69349. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  69350. +
  69351. +$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
  69352. +
  69353. + gl_have_mmap_anonymous=yes
  69354. +fi
  69355. +rm -f conftest*
  69356. +
  69357. + fi
  69358. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
  69359. +$as_echo "$gl_have_mmap_anonymous" >&6; }
  69360. + if test $gl_have_mmap_anonymous = yes; then
  69361. +
  69362. +$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
  69363. +
  69364. + fi
  69365. + fi
  69366. +
  69367. +
  69368. +
  69369. +
  69370. +
  69371. + if test $HAVE_SETENV$REPLACE_SETENV != 10; then
  69372. +
  69373. +
  69374. +
  69375. +
  69376. +
  69377. +
  69378. +
  69379. +
  69380. + M4tests_LIBOBJS="$M4tests_LIBOBJS setenv.$ac_objext"
  69381. +
  69382. + fi
  69383. +
  69384. +
  69385. +
  69386. +
  69387. + GNULIB_SETENV=$gl_module_indicator_condition
  69388. +
  69389. +
  69390. +
  69391. +$as_echo "@%:@define GNULIB_TEST_SETENV 1" >>confdefs.h
  69392. +
  69393. +
  69394. +
  69395. +
  69396. +
  69397. +
  69398. + case "$host_os" in
  69399. + mingw*) REPLACE_SETLOCALE=1 ;;
  69400. + esac
  69401. + if test $REPLACE_SETLOCALE = 1; then
  69402. +
  69403. + :
  69404. +
  69405. +
  69406. +
  69407. +
  69408. +
  69409. +
  69410. +
  69411. +
  69412. +
  69413. + M4tests_LIBOBJS="$M4tests_LIBOBJS setlocale.$ac_objext"
  69414. +
  69415. +
  69416. + :
  69417. +
  69418. + fi
  69419. +
  69420. +
  69421. +
  69422. +
  69423. + GNULIB_SETLOCALE=$gl_module_indicator_condition
  69424. +
  69425. +
  69426. +
  69427. +$as_echo "@%:@define GNULIB_TEST_SETLOCALE 1" >>confdefs.h
  69428. +
  69429. +
  69430. +
  69431. +
  69432. +
  69433. +
  69434. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  69435. +$as_echo_n "checking for a traditional french locale... " >&6; }
  69436. +if ${gt_cv_locale_fr+:} false; then :
  69437. + $as_echo_n "(cached) " >&6
  69438. +else
  69439. +
  69440. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69441. +/* end confdefs.h. */
  69442. +
  69443. +#include <locale.h>
  69444. +#include <time.h>
  69445. +#if HAVE_LANGINFO_CODESET
  69446. +# include <langinfo.h>
  69447. +#endif
  69448. +#include <stdlib.h>
  69449. +#include <string.h>
  69450. +struct tm t;
  69451. +char buf[16];
  69452. +int main () {
  69453. + /* Check whether the given locale name is recognized by the system. */
  69454. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  69455. + /* On native Win32, setlocale(category, "") looks at the system settings,
  69456. + not at the environment variables. Also, when an encoding suffix such
  69457. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  69458. + category of the locale to "C". */
  69459. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  69460. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  69461. + return 1;
  69462. +#else
  69463. + if (setlocale (LC_ALL, "") == NULL) return 1;
  69464. +#endif
  69465. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  69466. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  69467. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  69468. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  69469. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  69470. + some unit tests fail.
  69471. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  69472. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  69473. +#if HAVE_LANGINFO_CODESET
  69474. + {
  69475. + const char *cs = nl_langinfo (CODESET);
  69476. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  69477. + || strcmp (cs, "UTF-8") == 0)
  69478. + return 1;
  69479. + }
  69480. +#endif
  69481. +#ifdef __CYGWIN__
  69482. + /* On Cygwin, avoid locale names without encoding suffix, because the
  69483. + locale_charset() function relies on the encoding suffix. Note that
  69484. + LC_ALL is set on the command line. */
  69485. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  69486. +#endif
  69487. + /* Check whether in the abbreviation of the second month, the second
  69488. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
  69489. + one byte long. This excludes the UTF-8 encoding. */
  69490. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  69491. + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
  69492. + /* Check whether the decimal separator is a comma.
  69493. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  69494. + are nl_langinfo(RADIXCHAR) are both ".". */
  69495. + if (localeconv () ->decimal_point[0] != ',') return 1;
  69496. + return 0;
  69497. +}
  69498. +
  69499. +_ACEOF
  69500. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  69501. + (eval $ac_link) 2>&5
  69502. + ac_status=$?
  69503. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  69504. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  69505. + case "$host_os" in
  69506. + # Handle native Windows specially, because there setlocale() interprets
  69507. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  69508. + # "fr" or "fra" as "French" or "French_France.1252",
  69509. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  69510. + # "ja" as "Japanese" or "Japanese_Japan.932",
  69511. + # and similar.
  69512. + mingw*)
  69513. + # Test for the native Win32 locale name.
  69514. + if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69515. + gt_cv_locale_fr=French_France.1252
  69516. + else
  69517. + # None found.
  69518. + gt_cv_locale_fr=none
  69519. + fi
  69520. + ;;
  69521. + *)
  69522. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  69523. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  69524. + # configure script would override the LC_ALL setting. Likewise for
  69525. + # LC_CTYPE, which is also set at the beginning of the configure script.
  69526. + # Test for the usual locale name.
  69527. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69528. + gt_cv_locale_fr=fr_FR
  69529. + else
  69530. + # Test for the locale name with explicit encoding suffix.
  69531. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69532. + gt_cv_locale_fr=fr_FR.ISO-8859-1
  69533. + else
  69534. + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
  69535. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69536. + gt_cv_locale_fr=fr_FR.ISO8859-1
  69537. + else
  69538. + # Test for the HP-UX locale name.
  69539. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69540. + gt_cv_locale_fr=fr_FR.iso88591
  69541. + else
  69542. + # Test for the Solaris 7 locale name.
  69543. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69544. + gt_cv_locale_fr=fr
  69545. + else
  69546. + # None found.
  69547. + gt_cv_locale_fr=none
  69548. + fi
  69549. + fi
  69550. + fi
  69551. + fi
  69552. + fi
  69553. + ;;
  69554. + esac
  69555. + fi
  69556. + rm -fr conftest*
  69557. +
  69558. +fi
  69559. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
  69560. +$as_echo "$gt_cv_locale_fr" >&6; }
  69561. + LOCALE_FR=$gt_cv_locale_fr
  69562. +
  69563. +
  69564. +
  69565. +
  69566. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  69567. +$as_echo_n "checking for a french Unicode locale... " >&6; }
  69568. +if ${gt_cv_locale_fr_utf8+:} false; then :
  69569. + $as_echo_n "(cached) " >&6
  69570. +else
  69571. +
  69572. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69573. +/* end confdefs.h. */
  69574. +
  69575. +#include <locale.h>
  69576. +#include <time.h>
  69577. +#if HAVE_LANGINFO_CODESET
  69578. +# include <langinfo.h>
  69579. +#endif
  69580. +#include <stdlib.h>
  69581. +#include <string.h>
  69582. +struct tm t;
  69583. +char buf[16];
  69584. +int main () {
  69585. + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl
  69586. + imitates locale dependent behaviour by looking at the environment
  69587. + variables, and all locales use the UTF-8 encoding. */
  69588. +#if !(defined __BEOS__ || defined __HAIKU__)
  69589. + /* Check whether the given locale name is recognized by the system. */
  69590. +# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  69591. + /* On native Win32, setlocale(category, "") looks at the system settings,
  69592. + not at the environment variables. Also, when an encoding suffix such
  69593. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  69594. + category of the locale to "C". */
  69595. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  69596. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  69597. + return 1;
  69598. +# else
  69599. + if (setlocale (LC_ALL, "") == NULL) return 1;
  69600. +# endif
  69601. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  69602. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  69603. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  69604. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  69605. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  69606. + some unit tests fail. */
  69607. +# if HAVE_LANGINFO_CODESET
  69608. + {
  69609. + const char *cs = nl_langinfo (CODESET);
  69610. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  69611. + return 1;
  69612. + }
  69613. +# endif
  69614. +# ifdef __CYGWIN__
  69615. + /* On Cygwin, avoid locale names without encoding suffix, because the
  69616. + locale_charset() function relies on the encoding suffix. Note that
  69617. + LC_ALL is set on the command line. */
  69618. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  69619. +# endif
  69620. + /* Check whether in the abbreviation of the second month, the second
  69621. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
  69622. + two bytes long, with UTF-8 encoding. */
  69623. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  69624. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  69625. + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
  69626. + return 1;
  69627. +#endif
  69628. + /* Check whether the decimal separator is a comma.
  69629. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  69630. + are nl_langinfo(RADIXCHAR) are both ".". */
  69631. + if (localeconv () ->decimal_point[0] != ',') return 1;
  69632. + return 0;
  69633. +}
  69634. +
  69635. +_ACEOF
  69636. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  69637. + (eval $ac_link) 2>&5
  69638. + ac_status=$?
  69639. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  69640. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  69641. + case "$host_os" in
  69642. + # Handle native Windows specially, because there setlocale() interprets
  69643. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  69644. + # "fr" or "fra" as "French" or "French_France.1252",
  69645. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  69646. + # "ja" as "Japanese" or "Japanese_Japan.932",
  69647. + # and similar.
  69648. + mingw*)
  69649. + # Test for the hypothetical native Win32 locale name.
  69650. + if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69651. + gt_cv_locale_fr_utf8=French_France.65001
  69652. + else
  69653. + # None found.
  69654. + gt_cv_locale_fr_utf8=none
  69655. + fi
  69656. + ;;
  69657. + *)
  69658. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  69659. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  69660. + # configure script would override the LC_ALL setting. Likewise for
  69661. + # LC_CTYPE, which is also set at the beginning of the configure script.
  69662. + # Test for the usual locale name.
  69663. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69664. + gt_cv_locale_fr_utf8=fr_FR
  69665. + else
  69666. + # Test for the locale name with explicit encoding suffix.
  69667. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69668. + gt_cv_locale_fr_utf8=fr_FR.UTF-8
  69669. + else
  69670. + # Test for the Solaris 7 locale name.
  69671. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69672. + gt_cv_locale_fr_utf8=fr.UTF-8
  69673. + else
  69674. + # None found.
  69675. + gt_cv_locale_fr_utf8=none
  69676. + fi
  69677. + fi
  69678. + fi
  69679. + ;;
  69680. + esac
  69681. + fi
  69682. + rm -fr conftest*
  69683. +
  69684. +fi
  69685. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
  69686. +$as_echo "$gt_cv_locale_fr_utf8" >&6; }
  69687. + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
  69688. +
  69689. +
  69690. +
  69691. +
  69692. +
  69693. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
  69694. +$as_echo_n "checking for a traditional japanese locale... " >&6; }
  69695. +if ${gt_cv_locale_ja+:} false; then :
  69696. + $as_echo_n "(cached) " >&6
  69697. +else
  69698. +
  69699. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69700. +/* end confdefs.h. */
  69701. +
  69702. +#include <locale.h>
  69703. +#include <time.h>
  69704. +#if HAVE_LANGINFO_CODESET
  69705. +# include <langinfo.h>
  69706. +#endif
  69707. +#include <stdlib.h>
  69708. +#include <string.h>
  69709. +struct tm t;
  69710. +char buf[16];
  69711. +int main ()
  69712. +{
  69713. + const char *p;
  69714. + /* Check whether the given locale name is recognized by the system. */
  69715. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  69716. + /* On native Win32, setlocale(category, "") looks at the system settings,
  69717. + not at the environment variables. Also, when an encoding suffix such
  69718. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  69719. + category of the locale to "C". */
  69720. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  69721. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  69722. + return 1;
  69723. +#else
  69724. + if (setlocale (LC_ALL, "") == NULL) return 1;
  69725. +#endif
  69726. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  69727. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  69728. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  69729. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  69730. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  69731. + some unit tests fail.
  69732. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  69733. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  69734. +#if HAVE_LANGINFO_CODESET
  69735. + {
  69736. + const char *cs = nl_langinfo (CODESET);
  69737. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  69738. + || strcmp (cs, "UTF-8") == 0)
  69739. + return 1;
  69740. + }
  69741. +#endif
  69742. +#ifdef __CYGWIN__
  69743. + /* On Cygwin, avoid locale names without encoding suffix, because the
  69744. + locale_charset() function relies on the encoding suffix. Note that
  69745. + LC_ALL is set on the command line. */
  69746. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  69747. +#endif
  69748. + /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales
  69749. + on Cygwin 1.5.x. */
  69750. + if (MB_CUR_MAX == 1)
  69751. + return 1;
  69752. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  69753. + This excludes the UTF-8 encoding (except on MirBSD). */
  69754. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  69755. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  69756. + for (p = buf; *p != '\0'; p++)
  69757. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  69758. + return 1;
  69759. + return 0;
  69760. +}
  69761. +
  69762. +_ACEOF
  69763. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  69764. + (eval $ac_link) 2>&5
  69765. + ac_status=$?
  69766. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  69767. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  69768. + case "$host_os" in
  69769. + # Handle native Windows specially, because there setlocale() interprets
  69770. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  69771. + # "fr" or "fra" as "French" or "French_France.1252",
  69772. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  69773. + # "ja" as "Japanese" or "Japanese_Japan.932",
  69774. + # and similar.
  69775. + mingw*)
  69776. + # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
  69777. + # and CP932 is very different from EUC-JP, so we cannot use it here.
  69778. + gt_cv_locale_ja=none
  69779. + ;;
  69780. + *)
  69781. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  69782. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  69783. + # configure script would override the LC_ALL setting. Likewise for
  69784. + # LC_CTYPE, which is also set at the beginning of the configure script.
  69785. + # Test for the AIX locale name.
  69786. + if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69787. + gt_cv_locale_ja=ja_JP
  69788. + else
  69789. + # Test for the locale name with explicit encoding suffix.
  69790. + if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69791. + gt_cv_locale_ja=ja_JP.EUC-JP
  69792. + else
  69793. + # Test for the HP-UX, OSF/1, NetBSD locale name.
  69794. + if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69795. + gt_cv_locale_ja=ja_JP.eucJP
  69796. + else
  69797. + # Test for the IRIX, FreeBSD locale name.
  69798. + if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69799. + gt_cv_locale_ja=ja_JP.EUC
  69800. + else
  69801. + # Test for the Solaris 7 locale name.
  69802. + if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69803. + gt_cv_locale_ja=ja
  69804. + else
  69805. + # Special test for NetBSD 1.6.
  69806. + if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
  69807. + gt_cv_locale_ja=ja_JP.eucJP
  69808. + else
  69809. + # None found.
  69810. + gt_cv_locale_ja=none
  69811. + fi
  69812. + fi
  69813. + fi
  69814. + fi
  69815. + fi
  69816. + fi
  69817. + ;;
  69818. + esac
  69819. + fi
  69820. + rm -fr conftest*
  69821. +
  69822. +fi
  69823. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
  69824. +$as_echo "$gt_cv_locale_ja" >&6; }
  69825. + LOCALE_JA=$gt_cv_locale_ja
  69826. +
  69827. +
  69828. +
  69829. +
  69830. +
  69831. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
  69832. +$as_echo_n "checking for a transitional chinese locale... " >&6; }
  69833. +if ${gt_cv_locale_zh_CN+:} false; then :
  69834. + $as_echo_n "(cached) " >&6
  69835. +else
  69836. +
  69837. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69838. +/* end confdefs.h. */
  69839. +
  69840. +#include <locale.h>
  69841. +#include <stdlib.h>
  69842. +#include <time.h>
  69843. +#if HAVE_LANGINFO_CODESET
  69844. +# include <langinfo.h>
  69845. +#endif
  69846. +#include <stdlib.h>
  69847. +#include <string.h>
  69848. +struct tm t;
  69849. +char buf[16];
  69850. +int main ()
  69851. +{
  69852. + const char *p;
  69853. + /* Check whether the given locale name is recognized by the system. */
  69854. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  69855. + /* On native Win32, setlocale(category, "") looks at the system settings,
  69856. + not at the environment variables. Also, when an encoding suffix such
  69857. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  69858. + category of the locale to "C". */
  69859. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  69860. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  69861. + return 1;
  69862. +#else
  69863. + if (setlocale (LC_ALL, "") == NULL) return 1;
  69864. +#endif
  69865. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  69866. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  69867. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  69868. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  69869. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  69870. + some unit tests fail.
  69871. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  69872. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  69873. +#if HAVE_LANGINFO_CODESET
  69874. + {
  69875. + const char *cs = nl_langinfo (CODESET);
  69876. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  69877. + || strcmp (cs, "UTF-8") == 0)
  69878. + return 1;
  69879. + }
  69880. +#endif
  69881. +#ifdef __CYGWIN__
  69882. + /* On Cygwin, avoid locale names without encoding suffix, because the
  69883. + locale_charset() function relies on the encoding suffix. Note that
  69884. + LC_ALL is set on the command line. */
  69885. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  69886. +#endif
  69887. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  69888. + This excludes the UTF-8 encoding (except on MirBSD). */
  69889. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  69890. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  69891. + for (p = buf; *p != '\0'; p++)
  69892. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  69893. + return 1;
  69894. + /* Check whether a typical GB18030 multibyte sequence is recognized as a
  69895. + single wide character. This excludes the GB2312 and GBK encodings. */
  69896. + if (mblen ("\203\062\332\066", 5) != 4)
  69897. + return 1;
  69898. + return 0;
  69899. +}
  69900. +
  69901. +_ACEOF
  69902. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  69903. + (eval $ac_link) 2>&5
  69904. + ac_status=$?
  69905. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  69906. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  69907. + case "$host_os" in
  69908. + # Handle native Windows specially, because there setlocale() interprets
  69909. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  69910. + # "fr" or "fra" as "French" or "French_France.1252",
  69911. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  69912. + # "ja" as "Japanese" or "Japanese_Japan.932",
  69913. + # and similar.
  69914. + mingw*)
  69915. + # Test for the hypothetical native Win32 locale name.
  69916. + if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69917. + gt_cv_locale_zh_CN=Chinese_China.54936
  69918. + else
  69919. + # None found.
  69920. + gt_cv_locale_zh_CN=none
  69921. + fi
  69922. + ;;
  69923. + *)
  69924. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  69925. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  69926. + # configure script would override the LC_ALL setting. Likewise for
  69927. + # LC_CTYPE, which is also set at the beginning of the configure script.
  69928. + # Test for the locale name without encoding suffix.
  69929. + if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69930. + gt_cv_locale_zh_CN=zh_CN
  69931. + else
  69932. + # Test for the locale name with explicit encoding suffix.
  69933. + if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  69934. + gt_cv_locale_zh_CN=zh_CN.GB18030
  69935. + else
  69936. + # None found.
  69937. + gt_cv_locale_zh_CN=none
  69938. + fi
  69939. + fi
  69940. + ;;
  69941. + esac
  69942. + else
  69943. + # If there was a link error, due to mblen(), the system is so old that
  69944. + # it certainly doesn't have a chinese locale.
  69945. + gt_cv_locale_zh_CN=none
  69946. + fi
  69947. + rm -fr conftest*
  69948. +
  69949. +fi
  69950. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
  69951. +$as_echo "$gt_cv_locale_zh_CN" >&6; }
  69952. + LOCALE_ZH_CN=$gt_cv_locale_zh_CN
  69953. +
  69954. +
  69955. +
  69956. +
  69957. +
  69958. +
  69959. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
  69960. +$as_echo_n "checking for wchar_t... " >&6; }
  69961. +if ${gt_cv_c_wchar_t+:} false; then :
  69962. + $as_echo_n "(cached) " >&6
  69963. +else
  69964. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69965. +/* end confdefs.h. */
  69966. +#include <stddef.h>
  69967. + wchar_t foo = (wchar_t)'\0';
  69968. +int
  69969. +main ()
  69970. +{
  69971. +
  69972. + ;
  69973. + return 0;
  69974. +}
  69975. +_ACEOF
  69976. +if ac_fn_c_try_compile "$LINENO"; then :
  69977. + gt_cv_c_wchar_t=yes
  69978. +else
  69979. + gt_cv_c_wchar_t=no
  69980. +fi
  69981. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  69982. +fi
  69983. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5
  69984. +$as_echo "$gt_cv_c_wchar_t" >&6; }
  69985. + if test $gt_cv_c_wchar_t = yes; then
  69986. +
  69987. +$as_echo "@%:@define HAVE_WCHAR_T 1" >>confdefs.h
  69988. +
  69989. + fi
  69990. +
  69991. +
  69992. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
  69993. +$as_echo_n "checking for wint_t... " >&6; }
  69994. +if ${gt_cv_c_wint_t+:} false; then :
  69995. + $as_echo_n "(cached) " >&6
  69996. +else
  69997. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  69998. +/* end confdefs.h. */
  69999. +
  70000. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  70001. + <wchar.h>.
  70002. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
  70003. + before <wchar.h>. */
  70004. +#include <stddef.h>
  70005. +#include <stdio.h>
  70006. +#include <time.h>
  70007. +#include <wchar.h>
  70008. + wint_t foo = (wchar_t)'\0';
  70009. +int
  70010. +main ()
  70011. +{
  70012. +
  70013. + ;
  70014. + return 0;
  70015. +}
  70016. +_ACEOF
  70017. +if ac_fn_c_try_compile "$LINENO"; then :
  70018. + gt_cv_c_wint_t=yes
  70019. +else
  70020. + gt_cv_c_wint_t=no
  70021. +fi
  70022. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  70023. +fi
  70024. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5
  70025. +$as_echo "$gt_cv_c_wint_t" >&6; }
  70026. + if test $gt_cv_c_wint_t = yes; then
  70027. +
  70028. +$as_echo "@%:@define HAVE_WINT_T 1" >>confdefs.h
  70029. +
  70030. + fi
  70031. +
  70032. +
  70033. +
  70034. +
  70035. +
  70036. + if test $ac_cv_func_strdup = yes; then
  70037. + if test $gl_cv_func_malloc_posix != yes; then
  70038. + REPLACE_STRDUP=1
  70039. +
  70040. +
  70041. +
  70042. +
  70043. +
  70044. +
  70045. +
  70046. +
  70047. + M4tests_LIBOBJS="$M4tests_LIBOBJS strdup.$ac_objext"
  70048. +
  70049. + :
  70050. + fi
  70051. + else
  70052. +
  70053. +
  70054. +
  70055. +
  70056. +
  70057. +
  70058. +
  70059. +
  70060. + M4tests_LIBOBJS="$M4tests_LIBOBJS strdup.$ac_objext"
  70061. +
  70062. + :
  70063. + fi
  70064. +
  70065. + if test $ac_cv_have_decl_strdup = no; then
  70066. + HAVE_DECL_STRDUP=0
  70067. + fi
  70068. +
  70069. +
  70070. +
  70071. +
  70072. + GNULIB_STRDUP=$gl_module_indicator_condition
  70073. +
  70074. +
  70075. +
  70076. +$as_echo "@%:@define GNULIB_TEST_STRDUP 1" >>confdefs.h
  70077. +
  70078. +
  70079. +
  70080. +
  70081. +
  70082. +
  70083. + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
  70084. + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  70085. + # irrelevant for anonymous mappings.
  70086. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  70087. +if test "x$ac_cv_func_mmap" = xyes; then :
  70088. + gl_have_mmap=yes
  70089. +else
  70090. + gl_have_mmap=no
  70091. +fi
  70092. +
  70093. +
  70094. + # Try to allow MAP_ANONYMOUS.
  70095. + gl_have_mmap_anonymous=no
  70096. + if test $gl_have_mmap = yes; then
  70097. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
  70098. +$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
  70099. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  70100. +/* end confdefs.h. */
  70101. +
  70102. +#include <sys/mman.h>
  70103. +#ifdef MAP_ANONYMOUS
  70104. + I cant identify this map.
  70105. +#endif
  70106. +
  70107. +_ACEOF
  70108. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  70109. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  70110. + gl_have_mmap_anonymous=yes
  70111. +fi
  70112. +rm -f conftest*
  70113. +
  70114. + if test $gl_have_mmap_anonymous != yes; then
  70115. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  70116. +/* end confdefs.h. */
  70117. +
  70118. +#include <sys/mman.h>
  70119. +#ifdef MAP_ANON
  70120. + I cant identify this map.
  70121. +#endif
  70122. +
  70123. +_ACEOF
  70124. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  70125. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  70126. +
  70127. +$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
  70128. +
  70129. + gl_have_mmap_anonymous=yes
  70130. +fi
  70131. +rm -f conftest*
  70132. +
  70133. + fi
  70134. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
  70135. +$as_echo "$gl_have_mmap_anonymous" >&6; }
  70136. + if test $gl_have_mmap_anonymous = yes; then
  70137. +
  70138. +$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
  70139. +
  70140. + fi
  70141. + fi
  70142. +
  70143. +
  70144. +
  70145. +
  70146. +
  70147. +
  70148. +
  70149. + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
  70150. + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  70151. + # irrelevant for anonymous mappings.
  70152. + ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  70153. +if test "x$ac_cv_func_mmap" = xyes; then :
  70154. + gl_have_mmap=yes
  70155. +else
  70156. + gl_have_mmap=no
  70157. +fi
  70158. +
  70159. +
  70160. + # Try to allow MAP_ANONYMOUS.
  70161. + gl_have_mmap_anonymous=no
  70162. + if test $gl_have_mmap = yes; then
  70163. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
  70164. +$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
  70165. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  70166. +/* end confdefs.h. */
  70167. +
  70168. +#include <sys/mman.h>
  70169. +#ifdef MAP_ANONYMOUS
  70170. + I cant identify this map.
  70171. +#endif
  70172. +
  70173. +_ACEOF
  70174. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  70175. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  70176. + gl_have_mmap_anonymous=yes
  70177. +fi
  70178. +rm -f conftest*
  70179. +
  70180. + if test $gl_have_mmap_anonymous != yes; then
  70181. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  70182. +/* end confdefs.h. */
  70183. +
  70184. +#include <sys/mman.h>
  70185. +#ifdef MAP_ANON
  70186. + I cant identify this map.
  70187. +#endif
  70188. +
  70189. +_ACEOF
  70190. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  70191. + $EGREP "I cant identify this map." >/dev/null 2>&1; then :
  70192. +
  70193. +$as_echo "@%:@define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
  70194. +
  70195. + gl_have_mmap_anonymous=yes
  70196. +fi
  70197. +rm -f conftest*
  70198. +
  70199. + fi
  70200. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
  70201. +$as_echo "$gl_have_mmap_anonymous" >&6; }
  70202. + if test $gl_have_mmap_anonymous = yes; then
  70203. +
  70204. +$as_echo "@%:@define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
  70205. +
  70206. + fi
  70207. + fi
  70208. +
  70209. +
  70210. +
  70211. +
  70212. +
  70213. +
  70214. + if test $ac_cv_func_symlink = no; then
  70215. + HAVE_SYMLINK=0
  70216. +
  70217. +
  70218. +
  70219. +
  70220. +
  70221. +
  70222. +
  70223. +
  70224. + M4tests_LIBOBJS="$M4tests_LIBOBJS symlink.$ac_objext"
  70225. +
  70226. + else
  70227. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symlink handles trailing slash correctly" >&5
  70228. +$as_echo_n "checking whether symlink handles trailing slash correctly... " >&6; }
  70229. +if ${gl_cv_func_symlink_works+:} false; then :
  70230. + $as_echo_n "(cached) " >&6
  70231. +else
  70232. + if test "$cross_compiling" = yes; then :
  70233. + gl_cv_func_symlink_works="guessing no"
  70234. +else
  70235. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  70236. +/* end confdefs.h. */
  70237. +#include <unistd.h>
  70238. +
  70239. +int
  70240. +main ()
  70241. +{
  70242. +int result = 0;
  70243. + if (!symlink ("a", "conftest.link/"))
  70244. + result |= 1;
  70245. + if (symlink ("conftest.f", "conftest.lnk2"))
  70246. + result |= 2;
  70247. + else if (!symlink ("a", "conftest.lnk2/"))
  70248. + result |= 4;
  70249. + return result;
  70250. +
  70251. + ;
  70252. + return 0;
  70253. +}
  70254. +_ACEOF
  70255. +if ac_fn_c_try_run "$LINENO"; then :
  70256. + gl_cv_func_symlink_works=yes
  70257. +else
  70258. + gl_cv_func_symlink_works=no
  70259. +fi
  70260. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  70261. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  70262. +fi
  70263. +
  70264. + rm -f conftest.f conftest.link conftest.lnk2
  70265. +fi
  70266. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_symlink_works" >&5
  70267. +$as_echo "$gl_cv_func_symlink_works" >&6; }
  70268. + if test "$gl_cv_func_symlink_works" != yes; then
  70269. + REPLACE_SYMLINK=1
  70270. +
  70271. +
  70272. +
  70273. +
  70274. +
  70275. +
  70276. +
  70277. +
  70278. + M4tests_LIBOBJS="$M4tests_LIBOBJS symlink.$ac_objext"
  70279. +
  70280. + fi
  70281. + fi
  70282. +
  70283. +
  70284. +
  70285. +
  70286. + GNULIB_SYMLINK=$gl_module_indicator_condition
  70287. +
  70288. +
  70289. +
  70290. +$as_echo "@%:@define GNULIB_TEST_SYMLINK 1" >>confdefs.h
  70291. +
  70292. +
  70293. +
  70294. +
  70295. +
  70296. +
  70297. + if test $ac_cv_have_decl_unsetenv = no; then
  70298. + HAVE_DECL_UNSETENV=0
  70299. + fi
  70300. + for ac_func in unsetenv
  70301. +do :
  70302. + ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
  70303. +if test "x$ac_cv_func_unsetenv" = xyes; then :
  70304. + cat >>confdefs.h <<_ACEOF
  70305. +@%:@define HAVE_UNSETENV 1
  70306. +_ACEOF
  70307. +
  70308. +fi
  70309. +done
  70310. +
  70311. + if test $ac_cv_func_unsetenv = no; then
  70312. +
  70313. +
  70314. +
  70315. +
  70316. +
  70317. +
  70318. +
  70319. +
  70320. + M4tests_LIBOBJS="$M4tests_LIBOBJS unsetenv.$ac_objext"
  70321. +
  70322. +
  70323. +
  70324. +
  70325. +
  70326. + else
  70327. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsetenv() return type" >&5
  70328. +$as_echo_n "checking for unsetenv() return type... " >&6; }
  70329. +if ${gt_cv_func_unsetenv_ret+:} false; then :
  70330. + $as_echo_n "(cached) " >&6
  70331. +else
  70332. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  70333. +/* end confdefs.h. */
  70334. +
  70335. +#undef _BSD
  70336. +#define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 <stdlib.h> */
  70337. +#include <stdlib.h>
  70338. +extern
  70339. +#ifdef __cplusplus
  70340. +"C"
  70341. +#endif
  70342. +#if defined(__STDC__) || defined(__cplusplus)
  70343. +int unsetenv (const char *name);
  70344. +#else
  70345. +int unsetenv();
  70346. +#endif
  70347. +
  70348. +int
  70349. +main ()
  70350. +{
  70351. +
  70352. + ;
  70353. + return 0;
  70354. +}
  70355. +_ACEOF
  70356. +if ac_fn_c_try_compile "$LINENO"; then :
  70357. + gt_cv_func_unsetenv_ret='int'
  70358. +else
  70359. + gt_cv_func_unsetenv_ret='void'
  70360. +fi
  70361. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  70362. +fi
  70363. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_unsetenv_ret" >&5
  70364. +$as_echo "$gt_cv_func_unsetenv_ret" >&6; }
  70365. + if test $gt_cv_func_unsetenv_ret = 'void'; then
  70366. +
  70367. +$as_echo "@%:@define VOID_UNSETENV 1" >>confdefs.h
  70368. +
  70369. + REPLACE_UNSETENV=1
  70370. +
  70371. +
  70372. +
  70373. +
  70374. +
  70375. +
  70376. +
  70377. +
  70378. + M4tests_LIBOBJS="$M4tests_LIBOBJS unsetenv.$ac_objext"
  70379. +
  70380. + fi
  70381. +
  70382. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unsetenv obeys POSIX" >&5
  70383. +$as_echo_n "checking whether unsetenv obeys POSIX... " >&6; }
  70384. +if ${gl_cv_func_unsetenv_works+:} false; then :
  70385. + $as_echo_n "(cached) " >&6
  70386. +else
  70387. + if test "$cross_compiling" = yes; then :
  70388. + gl_cv_func_unsetenv_works="guessing no"
  70389. +else
  70390. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  70391. +/* end confdefs.h. */
  70392. +
  70393. + #include <stdlib.h>
  70394. + #include <errno.h>
  70395. + extern char **environ;
  70396. +
  70397. +int
  70398. +main ()
  70399. +{
  70400. +
  70401. + char entry1[] = "a=1";
  70402. + char entry2[] = "b=2";
  70403. + char *env[] = { entry1, entry2, NULL };
  70404. + if (putenv ((char *) "a=1")) return 1;
  70405. + if (putenv (entry2)) return 2;
  70406. + entry2[0] = 'a';
  70407. + unsetenv ("a");
  70408. + if (getenv ("a")) return 3;
  70409. + if (!unsetenv ("") || errno != EINVAL) return 4;
  70410. + entry2[0] = 'b';
  70411. + environ = env;
  70412. + if (!getenv ("a")) return 5;
  70413. + entry2[0] = 'a';
  70414. + unsetenv ("a");
  70415. + if (getenv ("a")) return 6;
  70416. +
  70417. + ;
  70418. + return 0;
  70419. +}
  70420. +_ACEOF
  70421. +if ac_fn_c_try_run "$LINENO"; then :
  70422. + gl_cv_func_unsetenv_works=yes
  70423. +else
  70424. + gl_cv_func_unsetenv_works=no
  70425. +fi
  70426. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  70427. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  70428. +fi
  70429. +
  70430. +fi
  70431. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_unsetenv_works" >&5
  70432. +$as_echo "$gl_cv_func_unsetenv_works" >&6; }
  70433. + if test "$gl_cv_func_unsetenv_works" != yes; then
  70434. + REPLACE_UNSETENV=1
  70435. +
  70436. +
  70437. +
  70438. +
  70439. +
  70440. +
  70441. +
  70442. +
  70443. + M4tests_LIBOBJS="$M4tests_LIBOBJS unsetenv.$ac_objext"
  70444. +
  70445. + fi
  70446. + fi
  70447. +
  70448. +
  70449. +
  70450. +
  70451. + GNULIB_UNSETENV=$gl_module_indicator_condition
  70452. +
  70453. +
  70454. +
  70455. +$as_echo "@%:@define GNULIB_TEST_UNSETENV 1" >>confdefs.h
  70456. +
  70457. +
  70458. +
  70459. + abs_aux_dir=`cd "$ac_aux_dir"; pwd`
  70460. +
  70461. + abs_aux_dir=`cd "$ac_aux_dir"; pwd`
  70462. +
  70463. +
  70464. +
  70465. +
  70466. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  70467. +$as_echo_n "checking for a traditional french locale... " >&6; }
  70468. +if ${gt_cv_locale_fr+:} false; then :
  70469. + $as_echo_n "(cached) " >&6
  70470. +else
  70471. +
  70472. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  70473. +/* end confdefs.h. */
  70474. +
  70475. +#include <locale.h>
  70476. +#include <time.h>
  70477. +#if HAVE_LANGINFO_CODESET
  70478. +# include <langinfo.h>
  70479. +#endif
  70480. +#include <stdlib.h>
  70481. +#include <string.h>
  70482. +struct tm t;
  70483. +char buf[16];
  70484. +int main () {
  70485. + /* Check whether the given locale name is recognized by the system. */
  70486. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  70487. + /* On native Win32, setlocale(category, "") looks at the system settings,
  70488. + not at the environment variables. Also, when an encoding suffix such
  70489. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  70490. + category of the locale to "C". */
  70491. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  70492. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  70493. + return 1;
  70494. +#else
  70495. + if (setlocale (LC_ALL, "") == NULL) return 1;
  70496. +#endif
  70497. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  70498. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  70499. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  70500. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  70501. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  70502. + some unit tests fail.
  70503. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  70504. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  70505. +#if HAVE_LANGINFO_CODESET
  70506. + {
  70507. + const char *cs = nl_langinfo (CODESET);
  70508. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  70509. + || strcmp (cs, "UTF-8") == 0)
  70510. + return 1;
  70511. + }
  70512. +#endif
  70513. +#ifdef __CYGWIN__
  70514. + /* On Cygwin, avoid locale names without encoding suffix, because the
  70515. + locale_charset() function relies on the encoding suffix. Note that
  70516. + LC_ALL is set on the command line. */
  70517. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  70518. +#endif
  70519. + /* Check whether in the abbreviation of the second month, the second
  70520. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
  70521. + one byte long. This excludes the UTF-8 encoding. */
  70522. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  70523. + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
  70524. + /* Check whether the decimal separator is a comma.
  70525. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  70526. + are nl_langinfo(RADIXCHAR) are both ".". */
  70527. + if (localeconv () ->decimal_point[0] != ',') return 1;
  70528. + return 0;
  70529. +}
  70530. +
  70531. +_ACEOF
  70532. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  70533. + (eval $ac_link) 2>&5
  70534. + ac_status=$?
  70535. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  70536. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  70537. + case "$host_os" in
  70538. + # Handle native Windows specially, because there setlocale() interprets
  70539. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  70540. + # "fr" or "fra" as "French" or "French_France.1252",
  70541. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  70542. + # "ja" as "Japanese" or "Japanese_Japan.932",
  70543. + # and similar.
  70544. + mingw*)
  70545. + # Test for the native Win32 locale name.
  70546. + if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70547. + gt_cv_locale_fr=French_France.1252
  70548. + else
  70549. + # None found.
  70550. + gt_cv_locale_fr=none
  70551. + fi
  70552. + ;;
  70553. + *)
  70554. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  70555. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  70556. + # configure script would override the LC_ALL setting. Likewise for
  70557. + # LC_CTYPE, which is also set at the beginning of the configure script.
  70558. + # Test for the usual locale name.
  70559. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70560. + gt_cv_locale_fr=fr_FR
  70561. + else
  70562. + # Test for the locale name with explicit encoding suffix.
  70563. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70564. + gt_cv_locale_fr=fr_FR.ISO-8859-1
  70565. + else
  70566. + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
  70567. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70568. + gt_cv_locale_fr=fr_FR.ISO8859-1
  70569. + else
  70570. + # Test for the HP-UX locale name.
  70571. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70572. + gt_cv_locale_fr=fr_FR.iso88591
  70573. + else
  70574. + # Test for the Solaris 7 locale name.
  70575. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70576. + gt_cv_locale_fr=fr
  70577. + else
  70578. + # None found.
  70579. + gt_cv_locale_fr=none
  70580. + fi
  70581. + fi
  70582. + fi
  70583. + fi
  70584. + fi
  70585. + ;;
  70586. + esac
  70587. + fi
  70588. + rm -fr conftest*
  70589. +
  70590. +fi
  70591. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr" >&5
  70592. +$as_echo "$gt_cv_locale_fr" >&6; }
  70593. + LOCALE_FR=$gt_cv_locale_fr
  70594. +
  70595. +
  70596. +
  70597. +
  70598. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  70599. +$as_echo_n "checking for a french Unicode locale... " >&6; }
  70600. +if ${gt_cv_locale_fr_utf8+:} false; then :
  70601. + $as_echo_n "(cached) " >&6
  70602. +else
  70603. +
  70604. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  70605. +/* end confdefs.h. */
  70606. +
  70607. +#include <locale.h>
  70608. +#include <time.h>
  70609. +#if HAVE_LANGINFO_CODESET
  70610. +# include <langinfo.h>
  70611. +#endif
  70612. +#include <stdlib.h>
  70613. +#include <string.h>
  70614. +struct tm t;
  70615. +char buf[16];
  70616. +int main () {
  70617. + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl
  70618. + imitates locale dependent behaviour by looking at the environment
  70619. + variables, and all locales use the UTF-8 encoding. */
  70620. +#if !(defined __BEOS__ || defined __HAIKU__)
  70621. + /* Check whether the given locale name is recognized by the system. */
  70622. +# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  70623. + /* On native Win32, setlocale(category, "") looks at the system settings,
  70624. + not at the environment variables. Also, when an encoding suffix such
  70625. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  70626. + category of the locale to "C". */
  70627. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  70628. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  70629. + return 1;
  70630. +# else
  70631. + if (setlocale (LC_ALL, "") == NULL) return 1;
  70632. +# endif
  70633. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  70634. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  70635. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  70636. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  70637. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  70638. + some unit tests fail. */
  70639. +# if HAVE_LANGINFO_CODESET
  70640. + {
  70641. + const char *cs = nl_langinfo (CODESET);
  70642. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  70643. + return 1;
  70644. + }
  70645. +# endif
  70646. +# ifdef __CYGWIN__
  70647. + /* On Cygwin, avoid locale names without encoding suffix, because the
  70648. + locale_charset() function relies on the encoding suffix. Note that
  70649. + LC_ALL is set on the command line. */
  70650. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  70651. +# endif
  70652. + /* Check whether in the abbreviation of the second month, the second
  70653. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
  70654. + two bytes long, with UTF-8 encoding. */
  70655. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  70656. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  70657. + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
  70658. + return 1;
  70659. +#endif
  70660. + /* Check whether the decimal separator is a comma.
  70661. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  70662. + are nl_langinfo(RADIXCHAR) are both ".". */
  70663. + if (localeconv () ->decimal_point[0] != ',') return 1;
  70664. + return 0;
  70665. +}
  70666. +
  70667. +_ACEOF
  70668. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  70669. + (eval $ac_link) 2>&5
  70670. + ac_status=$?
  70671. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  70672. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  70673. + case "$host_os" in
  70674. + # Handle native Windows specially, because there setlocale() interprets
  70675. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  70676. + # "fr" or "fra" as "French" or "French_France.1252",
  70677. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  70678. + # "ja" as "Japanese" or "Japanese_Japan.932",
  70679. + # and similar.
  70680. + mingw*)
  70681. + # Test for the hypothetical native Win32 locale name.
  70682. + if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70683. + gt_cv_locale_fr_utf8=French_France.65001
  70684. + else
  70685. + # None found.
  70686. + gt_cv_locale_fr_utf8=none
  70687. + fi
  70688. + ;;
  70689. + *)
  70690. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  70691. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  70692. + # configure script would override the LC_ALL setting. Likewise for
  70693. + # LC_CTYPE, which is also set at the beginning of the configure script.
  70694. + # Test for the usual locale name.
  70695. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70696. + gt_cv_locale_fr_utf8=fr_FR
  70697. + else
  70698. + # Test for the locale name with explicit encoding suffix.
  70699. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70700. + gt_cv_locale_fr_utf8=fr_FR.UTF-8
  70701. + else
  70702. + # Test for the Solaris 7 locale name.
  70703. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70704. + gt_cv_locale_fr_utf8=fr.UTF-8
  70705. + else
  70706. + # None found.
  70707. + gt_cv_locale_fr_utf8=none
  70708. + fi
  70709. + fi
  70710. + fi
  70711. + ;;
  70712. + esac
  70713. + fi
  70714. + rm -fr conftest*
  70715. +
  70716. +fi
  70717. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5
  70718. +$as_echo "$gt_cv_locale_fr_utf8" >&6; }
  70719. + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
  70720. +
  70721. +
  70722. +
  70723. +
  70724. +
  70725. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
  70726. +$as_echo_n "checking for a traditional japanese locale... " >&6; }
  70727. +if ${gt_cv_locale_ja+:} false; then :
  70728. + $as_echo_n "(cached) " >&6
  70729. +else
  70730. +
  70731. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  70732. +/* end confdefs.h. */
  70733. +
  70734. +#include <locale.h>
  70735. +#include <time.h>
  70736. +#if HAVE_LANGINFO_CODESET
  70737. +# include <langinfo.h>
  70738. +#endif
  70739. +#include <stdlib.h>
  70740. +#include <string.h>
  70741. +struct tm t;
  70742. +char buf[16];
  70743. +int main ()
  70744. +{
  70745. + const char *p;
  70746. + /* Check whether the given locale name is recognized by the system. */
  70747. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  70748. + /* On native Win32, setlocale(category, "") looks at the system settings,
  70749. + not at the environment variables. Also, when an encoding suffix such
  70750. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  70751. + category of the locale to "C". */
  70752. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  70753. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  70754. + return 1;
  70755. +#else
  70756. + if (setlocale (LC_ALL, "") == NULL) return 1;
  70757. +#endif
  70758. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  70759. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  70760. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  70761. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  70762. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  70763. + some unit tests fail.
  70764. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  70765. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  70766. +#if HAVE_LANGINFO_CODESET
  70767. + {
  70768. + const char *cs = nl_langinfo (CODESET);
  70769. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  70770. + || strcmp (cs, "UTF-8") == 0)
  70771. + return 1;
  70772. + }
  70773. +#endif
  70774. +#ifdef __CYGWIN__
  70775. + /* On Cygwin, avoid locale names without encoding suffix, because the
  70776. + locale_charset() function relies on the encoding suffix. Note that
  70777. + LC_ALL is set on the command line. */
  70778. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  70779. +#endif
  70780. + /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales
  70781. + on Cygwin 1.5.x. */
  70782. + if (MB_CUR_MAX == 1)
  70783. + return 1;
  70784. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  70785. + This excludes the UTF-8 encoding (except on MirBSD). */
  70786. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  70787. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  70788. + for (p = buf; *p != '\0'; p++)
  70789. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  70790. + return 1;
  70791. + return 0;
  70792. +}
  70793. +
  70794. +_ACEOF
  70795. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  70796. + (eval $ac_link) 2>&5
  70797. + ac_status=$?
  70798. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  70799. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  70800. + case "$host_os" in
  70801. + # Handle native Windows specially, because there setlocale() interprets
  70802. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  70803. + # "fr" or "fra" as "French" or "French_France.1252",
  70804. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  70805. + # "ja" as "Japanese" or "Japanese_Japan.932",
  70806. + # and similar.
  70807. + mingw*)
  70808. + # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
  70809. + # and CP932 is very different from EUC-JP, so we cannot use it here.
  70810. + gt_cv_locale_ja=none
  70811. + ;;
  70812. + *)
  70813. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  70814. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  70815. + # configure script would override the LC_ALL setting. Likewise for
  70816. + # LC_CTYPE, which is also set at the beginning of the configure script.
  70817. + # Test for the AIX locale name.
  70818. + if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70819. + gt_cv_locale_ja=ja_JP
  70820. + else
  70821. + # Test for the locale name with explicit encoding suffix.
  70822. + if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70823. + gt_cv_locale_ja=ja_JP.EUC-JP
  70824. + else
  70825. + # Test for the HP-UX, OSF/1, NetBSD locale name.
  70826. + if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70827. + gt_cv_locale_ja=ja_JP.eucJP
  70828. + else
  70829. + # Test for the IRIX, FreeBSD locale name.
  70830. + if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70831. + gt_cv_locale_ja=ja_JP.EUC
  70832. + else
  70833. + # Test for the Solaris 7 locale name.
  70834. + if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70835. + gt_cv_locale_ja=ja
  70836. + else
  70837. + # Special test for NetBSD 1.6.
  70838. + if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
  70839. + gt_cv_locale_ja=ja_JP.eucJP
  70840. + else
  70841. + # None found.
  70842. + gt_cv_locale_ja=none
  70843. + fi
  70844. + fi
  70845. + fi
  70846. + fi
  70847. + fi
  70848. + fi
  70849. + ;;
  70850. + esac
  70851. + fi
  70852. + rm -fr conftest*
  70853. +
  70854. +fi
  70855. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5
  70856. +$as_echo "$gt_cv_locale_ja" >&6; }
  70857. + LOCALE_JA=$gt_cv_locale_ja
  70858. +
  70859. +
  70860. +
  70861. +
  70862. +
  70863. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
  70864. +$as_echo_n "checking for a transitional chinese locale... " >&6; }
  70865. +if ${gt_cv_locale_zh_CN+:} false; then :
  70866. + $as_echo_n "(cached) " >&6
  70867. +else
  70868. +
  70869. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  70870. +/* end confdefs.h. */
  70871. +
  70872. +#include <locale.h>
  70873. +#include <stdlib.h>
  70874. +#include <time.h>
  70875. +#if HAVE_LANGINFO_CODESET
  70876. +# include <langinfo.h>
  70877. +#endif
  70878. +#include <stdlib.h>
  70879. +#include <string.h>
  70880. +struct tm t;
  70881. +char buf[16];
  70882. +int main ()
  70883. +{
  70884. + const char *p;
  70885. + /* Check whether the given locale name is recognized by the system. */
  70886. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  70887. + /* On native Win32, setlocale(category, "") looks at the system settings,
  70888. + not at the environment variables. Also, when an encoding suffix such
  70889. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  70890. + category of the locale to "C". */
  70891. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  70892. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  70893. + return 1;
  70894. +#else
  70895. + if (setlocale (LC_ALL, "") == NULL) return 1;
  70896. +#endif
  70897. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  70898. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  70899. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  70900. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  70901. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  70902. + some unit tests fail.
  70903. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  70904. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  70905. +#if HAVE_LANGINFO_CODESET
  70906. + {
  70907. + const char *cs = nl_langinfo (CODESET);
  70908. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  70909. + || strcmp (cs, "UTF-8") == 0)
  70910. + return 1;
  70911. + }
  70912. +#endif
  70913. +#ifdef __CYGWIN__
  70914. + /* On Cygwin, avoid locale names without encoding suffix, because the
  70915. + locale_charset() function relies on the encoding suffix. Note that
  70916. + LC_ALL is set on the command line. */
  70917. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  70918. +#endif
  70919. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  70920. + This excludes the UTF-8 encoding (except on MirBSD). */
  70921. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  70922. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  70923. + for (p = buf; *p != '\0'; p++)
  70924. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  70925. + return 1;
  70926. + /* Check whether a typical GB18030 multibyte sequence is recognized as a
  70927. + single wide character. This excludes the GB2312 and GBK encodings. */
  70928. + if (mblen ("\203\062\332\066", 5) != 4)
  70929. + return 1;
  70930. + return 0;
  70931. +}
  70932. +
  70933. +_ACEOF
  70934. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  70935. + (eval $ac_link) 2>&5
  70936. + ac_status=$?
  70937. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  70938. + test $ac_status = 0; } && test -s conftest$ac_exeext; then
  70939. + case "$host_os" in
  70940. + # Handle native Windows specially, because there setlocale() interprets
  70941. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  70942. + # "fr" or "fra" as "French" or "French_France.1252",
  70943. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  70944. + # "ja" as "Japanese" or "Japanese_Japan.932",
  70945. + # and similar.
  70946. + mingw*)
  70947. + # Test for the hypothetical native Win32 locale name.
  70948. + if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70949. + gt_cv_locale_zh_CN=Chinese_China.54936
  70950. + else
  70951. + # None found.
  70952. + gt_cv_locale_zh_CN=none
  70953. + fi
  70954. + ;;
  70955. + *)
  70956. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  70957. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  70958. + # configure script would override the LC_ALL setting. Likewise for
  70959. + # LC_CTYPE, which is also set at the beginning of the configure script.
  70960. + # Test for the locale name without encoding suffix.
  70961. + if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70962. + gt_cv_locale_zh_CN=zh_CN
  70963. + else
  70964. + # Test for the locale name with explicit encoding suffix.
  70965. + if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  70966. + gt_cv_locale_zh_CN=zh_CN.GB18030
  70967. + else
  70968. + # None found.
  70969. + gt_cv_locale_zh_CN=none
  70970. + fi
  70971. + fi
  70972. + ;;
  70973. + esac
  70974. + else
  70975. + # If there was a link error, due to mblen(), the system is so old that
  70976. + # it certainly doesn't have a chinese locale.
  70977. + gt_cv_locale_zh_CN=none
  70978. + fi
  70979. + rm -fr conftest*
  70980. +
  70981. +fi
  70982. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5
  70983. +$as_echo "$gt_cv_locale_zh_CN" >&6; }
  70984. + LOCALE_ZH_CN=$gt_cv_locale_zh_CN
  70985. +
  70986. +
  70987. +
  70988. +
  70989. +
  70990. +
  70991. + if test $ac_cv_func_wctob = no; then
  70992. + HAVE_DECL_WCTOB=0
  70993. +
  70994. + :
  70995. +
  70996. +
  70997. +
  70998. +
  70999. +
  71000. +
  71001. +
  71002. +
  71003. +
  71004. + M4tests_LIBOBJS="$M4tests_LIBOBJS wctob.$ac_objext"
  71005. +
  71006. +
  71007. + :
  71008. +
  71009. + else
  71010. +
  71011. +
  71012. +
  71013. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wctob works" >&5
  71014. +$as_echo_n "checking whether wctob works... " >&6; }
  71015. +if ${gl_cv_func_wctob_works+:} false; then :
  71016. + $as_echo_n "(cached) " >&6
  71017. +else
  71018. +
  71019. + case "$host_os" in
  71020. + # Guess no on Solaris <= 9 and Cygwin.
  71021. + solaris2.[1-9] | solaris2.[1-9].* | cygwin*)
  71022. + gl_cv_func_wctob_works="guessing no" ;;
  71023. + # Guess yes otherwise.
  71024. + *) gl_cv_func_wctob_works="guessing yes" ;;
  71025. + esac
  71026. + case "$host_os" in
  71027. + cygwin*)
  71028. + if test "$cross_compiling" = yes; then :
  71029. + :
  71030. +else
  71031. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  71032. +/* end confdefs.h. */
  71033. +
  71034. +#include <locale.h>
  71035. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  71036. + <wchar.h>.
  71037. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  71038. + included before <wchar.h>. */
  71039. +#include <stddef.h>
  71040. +#include <stdio.h>
  71041. +#include <time.h>
  71042. +#include <wchar.h>
  71043. +
  71044. +register long global __asm__ ("%ebx");
  71045. +
  71046. +int main ()
  71047. +{
  71048. + setlocale (LC_ALL, "en_US.UTF-8");
  71049. +
  71050. + global = 0x12345678;
  71051. + if (wctob (0x00FC) != -1)
  71052. + return 1;
  71053. + if (global != 0x12345678)
  71054. + return 2;
  71055. + return 0;
  71056. +}
  71057. +_ACEOF
  71058. +if ac_fn_c_try_run "$LINENO"; then :
  71059. + :
  71060. +else
  71061. + gl_cv_func_wctob_works=no
  71062. +fi
  71063. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  71064. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  71065. +fi
  71066. +
  71067. + ;;
  71068. + esac
  71069. + if test "$gl_cv_func_wctob_works" != no && test $LOCALE_FR != none; then
  71070. + if test "$cross_compiling" = yes; then :
  71071. + :
  71072. +else
  71073. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  71074. +/* end confdefs.h. */
  71075. +
  71076. +#include <locale.h>
  71077. +#include <string.h>
  71078. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  71079. + <wchar.h>.
  71080. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  71081. + included before <wchar.h>. */
  71082. +#include <stddef.h>
  71083. +#include <stdio.h>
  71084. +#include <time.h>
  71085. +#include <wchar.h>
  71086. +int main ()
  71087. +{
  71088. + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
  71089. + {
  71090. + wchar_t wc;
  71091. +
  71092. + if (mbtowc (&wc, "\374", 1) == 1)
  71093. + if (wctob (wc) != (unsigned char) '\374')
  71094. + return 1;
  71095. + }
  71096. + return 0;
  71097. +}
  71098. +_ACEOF
  71099. +if ac_fn_c_try_run "$LINENO"; then :
  71100. + gl_cv_func_wctob_works=yes
  71101. +else
  71102. + gl_cv_func_wctob_works=no
  71103. +fi
  71104. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  71105. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  71106. +fi
  71107. +
  71108. + fi
  71109. +
  71110. +fi
  71111. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wctob_works" >&5
  71112. +$as_echo "$gl_cv_func_wctob_works" >&6; }
  71113. + case "$gl_cv_func_wctob_works" in
  71114. + *yes) ;;
  71115. + *) REPLACE_WCTOB=1 ;;
  71116. + esac
  71117. + if test $REPLACE_WCTOB = 1; then
  71118. +
  71119. + :
  71120. +
  71121. +
  71122. +
  71123. +
  71124. +
  71125. +
  71126. +
  71127. +
  71128. +
  71129. + M4tests_LIBOBJS="$M4tests_LIBOBJS wctob.$ac_objext"
  71130. +
  71131. +
  71132. + :
  71133. +
  71134. + else
  71135. +
  71136. + ac_fn_c_check_decl "$LINENO" "wctob" "ac_cv_have_decl_wctob" "
  71137. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  71138. + <wchar.h>.
  71139. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
  71140. + before <wchar.h>. */
  71141. +#include <stddef.h>
  71142. +#include <stdio.h>
  71143. +#include <time.h>
  71144. +#include <wchar.h>
  71145. +
  71146. +"
  71147. +if test "x$ac_cv_have_decl_wctob" = xyes; then :
  71148. + ac_have_decl=1
  71149. +else
  71150. + ac_have_decl=0
  71151. +fi
  71152. +
  71153. +cat >>confdefs.h <<_ACEOF
  71154. +@%:@define HAVE_DECL_WCTOB $ac_have_decl
  71155. +_ACEOF
  71156. +
  71157. + if test $ac_cv_have_decl_wctob != yes; then
  71158. + HAVE_DECL_WCTOB=0
  71159. +
  71160. + :
  71161. +
  71162. + fi
  71163. + fi
  71164. + fi
  71165. +
  71166. +
  71167. +
  71168. +
  71169. + GNULIB_WCTOB=$gl_module_indicator_condition
  71170. +
  71171. +
  71172. +
  71173. +$as_echo "@%:@define GNULIB_TEST_WCTOB 1" >>confdefs.h
  71174. +
  71175. +
  71176. +
  71177. +
  71178. +
  71179. +
  71180. + if false; then
  71181. + REPLACE_WCTOMB=1
  71182. + fi
  71183. + if test $REPLACE_WCTOMB = 1; then
  71184. +
  71185. +
  71186. +
  71187. +
  71188. +
  71189. +
  71190. +
  71191. +
  71192. + M4tests_LIBOBJS="$M4tests_LIBOBJS wctomb.$ac_objext"
  71193. +
  71194. +
  71195. + :
  71196. +
  71197. + fi
  71198. +
  71199. +
  71200. +
  71201. +
  71202. + GNULIB_WCTOMB=$gl_module_indicator_condition
  71203. +
  71204. +
  71205. +
  71206. +$as_echo "@%:@define GNULIB_TEST_WCTOMB 1" >>confdefs.h
  71207. +
  71208. +
  71209. +
  71210. +
  71211. +
  71212. +
  71213. +
  71214. +
  71215. +
  71216. +
  71217. +
  71218. +
  71219. +
  71220. + LIBM4_LIBDEPS="$gl_libdeps"
  71221. +
  71222. + LIBM4_LTLIBDEPS="$gl_ltlibdeps"
  71223. +
  71224. + LIBTESTS_LIBDEPS="$gltests_libdeps"
  71225. +
  71226. +
  71227. +
  71228. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether an open file can be renamed" >&5
  71229. +$as_echo_n "checking whether an open file can be renamed... " >&6; }
  71230. +if ${M4_cv_func_rename_open_file_works+:} false; then :
  71231. + $as_echo_n "(cached) " >&6
  71232. +else
  71233. + if test "$cross_compiling" = yes; then :
  71234. + M4_cv_func_rename_open_file_works='guessing no'
  71235. +else
  71236. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  71237. +/* end confdefs.h. */
  71238. +$ac_includes_default
  71239. +int
  71240. +main ()
  71241. +{
  71242. +FILE *f = fopen ("conftest.1", "w+");
  71243. + int result = rename ("conftest.1", "conftest.2");
  71244. + fclose (f); remove ("conftest.1"); remove ("conftest.2");
  71245. + return result;
  71246. + ;
  71247. + return 0;
  71248. +}
  71249. +_ACEOF
  71250. +if ac_fn_c_try_run "$LINENO"; then :
  71251. + M4_cv_func_rename_open_file_works=yes
  71252. +else
  71253. + M4_cv_func_rename_open_file_works=no
  71254. +fi
  71255. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  71256. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  71257. +fi
  71258. +
  71259. +fi
  71260. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4_cv_func_rename_open_file_works" >&5
  71261. +$as_echo "$M4_cv_func_rename_open_file_works" >&6; }
  71262. +if test "$M4_cv_func_rename_open_file_works" = yes ; then
  71263. + M4_rename_open_works=1
  71264. +else
  71265. + M4_rename_open_works=0
  71266. +fi
  71267. +
  71268. +cat >>confdefs.h <<_ACEOF
  71269. +@%:@define RENAME_OPEN_FILE_WORKS $M4_rename_open_works
  71270. +_ACEOF
  71271. +
  71272. +
  71273. +
  71274. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if changeword is wanted" >&5
  71275. +$as_echo_n "checking if changeword is wanted... " >&6; }
  71276. +@%:@ Check whether --enable-changeword was given.
  71277. +if test "${enable_changeword+set}" = set; then :
  71278. + enableval=$enable_changeword; if test "$enableval" = yes; then
  71279. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  71280. +$as_echo "yes" >&6; }
  71281. +
  71282. +$as_echo "@%:@define ENABLE_CHANGEWORD 1" >>confdefs.h
  71283. +
  71284. + else
  71285. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  71286. +$as_echo "no" >&6; }
  71287. + fi
  71288. +else
  71289. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  71290. +$as_echo "no" >&6; }
  71291. +fi
  71292. +
  71293. +
  71294. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which shell to use for syscmd" >&5
  71295. +$as_echo_n "checking which shell to use for syscmd... " >&6; }
  71296. +
  71297. +@%:@ Check whether --with-syscmd-shell was given.
  71298. +if test "${with_syscmd_shell+set}" = set; then :
  71299. + withval=$with_syscmd_shell; case $withval in
  71300. + yes) with_syscmd_shell=no;;
  71301. + esac
  71302. +else
  71303. + with_syscmd_shell=no
  71304. +fi
  71305. +
  71306. +if test "$with_syscmd_shell" = no ; then
  71307. + with_syscmd_shell=/bin/sh
  71308. + if test "$cross_compiling" != yes ; then
  71309. + if as_fn_executable_p /bin/sh; then :
  71310. +
  71311. +else
  71312. + if (cmd /c) 2>/dev/null; then with_syscmd_shell=cmd; fi
  71313. +fi
  71314. + M4_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  71315. + for M4_dir in `if (command -p getconf PATH) 2>/dev/null ; then
  71316. + command -p getconf PATH
  71317. + else
  71318. + echo "/bin$PATH_SEPARATOR$PATH"
  71319. + fi`
  71320. + do
  71321. + IFS=$M4_save_IFS
  71322. + test -z "$M4_dir" && continue
  71323. + as_fn_executable_p "$M4_dir/sh" \
  71324. + && { with_syscmd_shell=$M4_dir/sh; break; }
  71325. + done
  71326. + IFS=$M4_save_IFS
  71327. + fi
  71328. +fi
  71329. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_syscmd_shell" >&5
  71330. +$as_echo "$with_syscmd_shell" >&6; }
  71331. +
  71332. +cat >>confdefs.h <<_ACEOF
  71333. +@%:@define SYSCMD_SHELL "$with_syscmd_shell"
  71334. +_ACEOF
  71335. +
  71336. +
  71337. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
  71338. +$as_echo_n "checking if malloc debugging is wanted... " >&6; }
  71339. +
  71340. +@%:@ Check whether --with-dmalloc was given.
  71341. +if test "${with_dmalloc+set}" = set; then :
  71342. + withval=$with_dmalloc; if test "$withval" = yes; then
  71343. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  71344. +$as_echo "yes" >&6; }
  71345. +
  71346. +$as_echo "@%:@define WITH_DMALLOC 1" >>confdefs.h
  71347. +
  71348. + LIBS="$LIBS -ldmalloc"
  71349. + LDFLAGS="$LDFLAGS -g"
  71350. +else
  71351. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  71352. +$as_echo "no" >&6; }
  71353. +fi
  71354. +else
  71355. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  71356. +$as_echo "no" >&6; }
  71357. +fi
  71358. +
  71359. +
  71360. +ac_config_commands="$ac_config_commands stamp-h"
  71361. +
  71362. +
  71363. +ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile src/Makefile tests/Makefile checks/Makefile examples/Makefile"
  71364. +
  71365. +
  71366. +cat >confcache <<\_ACEOF
  71367. +# This file is a shell script that caches the results of configure
  71368. +# tests run on this system so they can be shared between configure
  71369. +# scripts and configure runs, see configure's option --config-cache.
  71370. +# It is not useful on other systems. If it contains results you don't
  71371. +# want to keep, you may remove or edit it.
  71372. +#
  71373. +# config.status only pays attention to the cache file if you give it
  71374. +# the --recheck option to rerun configure.
  71375. +#
  71376. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  71377. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  71378. +# following values.
  71379. +
  71380. +_ACEOF
  71381. +
  71382. +# The following way of writing the cache mishandles newlines in values,
  71383. +# but we know of no workaround that is simple, portable, and efficient.
  71384. +# So, we kill variables containing newlines.
  71385. +# Ultrix sh set writes to stderr and can't be redirected directly,
  71386. +# and sets the high bit in the cache file unless we assign to the vars.
  71387. +(
  71388. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  71389. + eval ac_val=\$$ac_var
  71390. + case $ac_val in #(
  71391. + *${as_nl}*)
  71392. + case $ac_var in #(
  71393. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  71394. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  71395. + esac
  71396. + case $ac_var in #(
  71397. + _ | IFS | as_nl) ;; #(
  71398. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  71399. + *) { eval $ac_var=; unset $ac_var;} ;;
  71400. + esac ;;
  71401. + esac
  71402. + done
  71403. +
  71404. + (set) 2>&1 |
  71405. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  71406. + *${as_nl}ac_space=\ *)
  71407. + # `set' does not quote correctly, so add quotes: double-quote
  71408. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  71409. + sed -n \
  71410. + "s/'/'\\\\''/g;
  71411. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  71412. + ;; #(
  71413. + *)
  71414. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  71415. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  71416. + ;;
  71417. + esac |
  71418. + sort
  71419. +) |
  71420. + sed '
  71421. + /^ac_cv_env_/b end
  71422. + t clear
  71423. + :clear
  71424. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  71425. + t end
  71426. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  71427. + :end' >>confcache
  71428. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  71429. + if test -w "$cache_file"; then
  71430. + if test "x$cache_file" != "x/dev/null"; then
  71431. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  71432. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  71433. + if test ! -f "$cache_file" || test -h "$cache_file"; then
  71434. + cat confcache >"$cache_file"
  71435. + else
  71436. + case $cache_file in #(
  71437. + */* | ?:*)
  71438. + mv -f confcache "$cache_file"$$ &&
  71439. + mv -f "$cache_file"$$ "$cache_file" ;; #(
  71440. + *)
  71441. + mv -f confcache "$cache_file" ;;
  71442. + esac
  71443. + fi
  71444. + fi
  71445. + else
  71446. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  71447. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  71448. + fi
  71449. +fi
  71450. +rm -f confcache
  71451. +
  71452. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  71453. +# Let make expand exec_prefix.
  71454. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  71455. +
  71456. +DEFS=-DHAVE_CONFIG_H
  71457. +
  71458. +ac_libobjs=
  71459. +ac_ltlibobjs=
  71460. +U=
  71461. +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
  71462. + # 1. Remove the extension, and $U if already installed.
  71463. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  71464. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  71465. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  71466. + # will be set to the directory where LIBOBJS objects are built.
  71467. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  71468. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  71469. +done
  71470. +LIB@&t@OBJS=$ac_libobjs
  71471. +
  71472. +LTLIBOBJS=$ac_ltlibobjs
  71473. +
  71474. +
  71475. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  71476. +$as_echo_n "checking that generated files are newer than configure... " >&6; }
  71477. + if test -n "$am_sleep_pid"; then
  71478. + # Hide warnings about reused PIDs.
  71479. + wait $am_sleep_pid 2>/dev/null
  71480. + fi
  71481. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  71482. +$as_echo "done" >&6; }
  71483. + if test -n "$EXEEXT"; then
  71484. + am__EXEEXT_TRUE=
  71485. + am__EXEEXT_FALSE='#'
  71486. +else
  71487. + am__EXEEXT_TRUE='#'
  71488. + am__EXEEXT_FALSE=
  71489. +fi
  71490. +
  71491. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  71492. + as_fn_error $? "conditional \"AMDEP\" was never defined.
  71493. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  71494. +fi
  71495. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  71496. + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  71497. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  71498. +fi
  71499. +if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
  71500. + as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined.
  71501. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  71502. +fi
  71503. +test "X$DEFS" = X-DHAVE_CONFIG_H && DEFS=
  71504. +
  71505. +
  71506. +CONFIG_INCLUDE=lib/config.h
  71507. +
  71508. +
  71509. + M4_libobjs=
  71510. + M4_ltlibobjs=
  71511. + if test -n "$M4_LIBOBJS"; then
  71512. + # Remove the extension.
  71513. + sed_drop_objext='s/\.o$//;s/\.obj$//'
  71514. + for i in `for i in $M4_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
  71515. + M4_libobjs="$M4_libobjs $i.$ac_objext"
  71516. + M4_ltlibobjs="$M4_ltlibobjs $i.lo"
  71517. + done
  71518. + fi
  71519. + M4_LIBOBJS=$M4_libobjs
  71520. +
  71521. + M4_LTLIBOBJS=$M4_ltlibobjs
  71522. +
  71523. +
  71524. +if test -z "${ANSICXX_TRUE}" && test -z "${ANSICXX_FALSE}"; then
  71525. + as_fn_error $? "conditional \"ANSICXX\" was never defined.
  71526. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  71527. +fi
  71528. +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  71529. + as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
  71530. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  71531. +fi
  71532. +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  71533. + as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
  71534. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  71535. +fi
  71536. +
  71537. +if test -z "${POSIX_SPAWN_PORTED_TRUE}" && test -z "${POSIX_SPAWN_PORTED_FALSE}"; then
  71538. + as_fn_error $? "conditional \"POSIX_SPAWN_PORTED\" was never defined.
  71539. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  71540. +fi
  71541. +
  71542. + M4tests_libobjs=
  71543. + M4tests_ltlibobjs=
  71544. + if test -n "$M4tests_LIBOBJS"; then
  71545. + # Remove the extension.
  71546. + sed_drop_objext='s/\.o$//;s/\.obj$//'
  71547. + for i in `for i in $M4tests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
  71548. + M4tests_libobjs="$M4tests_libobjs $i.$ac_objext"
  71549. + M4tests_ltlibobjs="$M4tests_ltlibobjs $i.lo"
  71550. + done
  71551. + fi
  71552. + M4tests_LIBOBJS=$M4tests_libobjs
  71553. +
  71554. + M4tests_LTLIBOBJS=$M4tests_ltlibobjs
  71555. +
  71556. +
  71557. +
  71558. +: "${CONFIG_STATUS=./config.status}"
  71559. +ac_write_fail=0
  71560. +ac_clean_files_save=$ac_clean_files
  71561. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  71562. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  71563. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  71564. +as_write_fail=0
  71565. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  71566. +#! $SHELL
  71567. +# Generated by $as_me.
  71568. +# Run this file to recreate the current configuration.
  71569. +# Compiler output produced by configure, useful for debugging
  71570. +# configure, is in config.log if it exists.
  71571. +
  71572. +debug=false
  71573. +ac_cs_recheck=false
  71574. +ac_cs_silent=false
  71575. +
  71576. +SHELL=\${CONFIG_SHELL-$SHELL}
  71577. +export SHELL
  71578. +_ASEOF
  71579. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  71580. +## -------------------- ##
  71581. +## M4sh Initialization. ##
  71582. +## -------------------- ##
  71583. +
  71584. +# Be more Bourne compatible
  71585. +DUALCASE=1; export DUALCASE # for MKS sh
  71586. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  71587. + emulate sh
  71588. + NULLCMD=:
  71589. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  71590. + # is contrary to our usage. Disable this feature.
  71591. + alias -g '${1+"$@"}'='"$@"'
  71592. + setopt NO_GLOB_SUBST
  71593. +else
  71594. + case `(set -o) 2>/dev/null` in @%:@(
  71595. + *posix*) :
  71596. + set -o posix ;; @%:@(
  71597. + *) :
  71598. + ;;
  71599. +esac
  71600. +fi
  71601. +
  71602. +
  71603. +as_nl='
  71604. +'
  71605. +export as_nl
  71606. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  71607. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  71608. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  71609. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  71610. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  71611. +# but without wasting forks for bash or zsh.
  71612. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  71613. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  71614. + as_echo='print -r --'
  71615. + as_echo_n='print -rn --'
  71616. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  71617. + as_echo='printf %s\n'
  71618. + as_echo_n='printf %s'
  71619. +else
  71620. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  71621. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  71622. + as_echo_n='/usr/ucb/echo -n'
  71623. + else
  71624. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  71625. + as_echo_n_body='eval
  71626. + arg=$1;
  71627. + case $arg in @%:@(
  71628. + *"$as_nl"*)
  71629. + expr "X$arg" : "X\\(.*\\)$as_nl";
  71630. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  71631. + esac;
  71632. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  71633. + '
  71634. + export as_echo_n_body
  71635. + as_echo_n='sh -c $as_echo_n_body as_echo'
  71636. + fi
  71637. + export as_echo_body
  71638. + as_echo='sh -c $as_echo_body as_echo'
  71639. +fi
  71640. +
  71641. +# The user is always right.
  71642. +if test "${PATH_SEPARATOR+set}" != set; then
  71643. + PATH_SEPARATOR=:
  71644. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  71645. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  71646. + PATH_SEPARATOR=';'
  71647. + }
  71648. +fi
  71649. +
  71650. +
  71651. +# IFS
  71652. +# We need space, tab and new line, in precisely that order. Quoting is
  71653. +# there to prevent editors from complaining about space-tab.
  71654. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  71655. +# splitting by setting IFS to empty value.)
  71656. +IFS=" "" $as_nl"
  71657. +
  71658. +# Find who we are. Look in the path if we contain no directory separator.
  71659. +as_myself=
  71660. +case $0 in @%:@((
  71661. + *[\\/]* ) as_myself=$0 ;;
  71662. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  71663. +for as_dir in $PATH
  71664. +do
  71665. + IFS=$as_save_IFS
  71666. + test -z "$as_dir" && as_dir=.
  71667. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  71668. + done
  71669. +IFS=$as_save_IFS
  71670. +
  71671. + ;;
  71672. +esac
  71673. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  71674. +# in which case we are not to be found in the path.
  71675. +if test "x$as_myself" = x; then
  71676. + as_myself=$0
  71677. +fi
  71678. +if test ! -f "$as_myself"; then
  71679. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  71680. + exit 1
  71681. +fi
  71682. +
  71683. +# Unset variables that we do not need and which cause bugs (e.g. in
  71684. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  71685. +# suppresses any "Segmentation fault" message there. '((' could
  71686. +# trigger a bug in pdksh 5.2.14.
  71687. +for as_var in BASH_ENV ENV MAIL MAILPATH
  71688. +do eval test x\${$as_var+set} = xset \
  71689. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  71690. +done
  71691. +PS1='$ '
  71692. +PS2='> '
  71693. +PS4='+ '
  71694. +
  71695. +# NLS nuisances.
  71696. +LC_ALL=C
  71697. +export LC_ALL
  71698. +LANGUAGE=C
  71699. +export LANGUAGE
  71700. +
  71701. +# CDPATH.
  71702. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  71703. +
  71704. +
  71705. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  71706. +@%:@ ----------------------------------------
  71707. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  71708. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  71709. +@%:@ script with STATUS, using 1 if that was 0.
  71710. +as_fn_error ()
  71711. +{
  71712. + as_status=$1; test $as_status -eq 0 && as_status=1
  71713. + if test "$4"; then
  71714. + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  71715. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  71716. + fi
  71717. + $as_echo "$as_me: error: $2" >&2
  71718. + as_fn_exit $as_status
  71719. +} @%:@ as_fn_error
  71720. +
  71721. +
  71722. +@%:@ as_fn_set_status STATUS
  71723. +@%:@ -----------------------
  71724. +@%:@ Set @S|@? to STATUS, without forking.
  71725. +as_fn_set_status ()
  71726. +{
  71727. + return $1
  71728. +} @%:@ as_fn_set_status
  71729. +
  71730. +@%:@ as_fn_exit STATUS
  71731. +@%:@ -----------------
  71732. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  71733. +as_fn_exit ()
  71734. +{
  71735. + set +e
  71736. + as_fn_set_status $1
  71737. + exit $1
  71738. +} @%:@ as_fn_exit
  71739. +
  71740. +@%:@ as_fn_unset VAR
  71741. +@%:@ ---------------
  71742. +@%:@ Portably unset VAR.
  71743. +as_fn_unset ()
  71744. +{
  71745. + { eval $1=; unset $1;}
  71746. +}
  71747. +as_unset=as_fn_unset
  71748. +@%:@ as_fn_append VAR VALUE
  71749. +@%:@ ----------------------
  71750. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  71751. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  71752. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  71753. +@%:@ implementations.
  71754. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  71755. + eval 'as_fn_append ()
  71756. + {
  71757. + eval $1+=\$2
  71758. + }'
  71759. +else
  71760. + as_fn_append ()
  71761. + {
  71762. + eval $1=\$$1\$2
  71763. + }
  71764. +fi # as_fn_append
  71765. +
  71766. +@%:@ as_fn_arith ARG...
  71767. +@%:@ ------------------
  71768. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  71769. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  71770. +@%:@ must be portable across @S|@(()) and expr.
  71771. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  71772. + eval 'as_fn_arith ()
  71773. + {
  71774. + as_val=$(( $* ))
  71775. + }'
  71776. +else
  71777. + as_fn_arith ()
  71778. + {
  71779. + as_val=`expr "$@" || test $? -eq 1`
  71780. + }
  71781. +fi # as_fn_arith
  71782. +
  71783. +
  71784. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  71785. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  71786. + as_expr=expr
  71787. +else
  71788. + as_expr=false
  71789. +fi
  71790. +
  71791. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  71792. + as_basename=basename
  71793. +else
  71794. + as_basename=false
  71795. +fi
  71796. +
  71797. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  71798. + as_dirname=dirname
  71799. +else
  71800. + as_dirname=false
  71801. +fi
  71802. +
  71803. +as_me=`$as_basename -- "$0" ||
  71804. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  71805. + X"$0" : 'X\(//\)$' \| \
  71806. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  71807. +$as_echo X/"$0" |
  71808. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  71809. + s//\1/
  71810. + q
  71811. + }
  71812. + /^X\/\(\/\/\)$/{
  71813. + s//\1/
  71814. + q
  71815. + }
  71816. + /^X\/\(\/\).*/{
  71817. + s//\1/
  71818. + q
  71819. + }
  71820. + s/.*/./; q'`
  71821. +
  71822. +# Avoid depending upon Character Ranges.
  71823. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  71824. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  71825. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  71826. +as_cr_digits='0123456789'
  71827. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  71828. +
  71829. +ECHO_C= ECHO_N= ECHO_T=
  71830. +case `echo -n x` in @%:@(((((
  71831. +-n*)
  71832. + case `echo 'xy\c'` in
  71833. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  71834. + xy) ECHO_C='\c';;
  71835. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  71836. + ECHO_T=' ';;
  71837. + esac;;
  71838. +*)
  71839. + ECHO_N='-n';;
  71840. +esac
  71841. +
  71842. +rm -f conf$$ conf$$.exe conf$$.file
  71843. +if test -d conf$$.dir; then
  71844. + rm -f conf$$.dir/conf$$.file
  71845. +else
  71846. + rm -f conf$$.dir
  71847. + mkdir conf$$.dir 2>/dev/null
  71848. +fi
  71849. +if (echo >conf$$.file) 2>/dev/null; then
  71850. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  71851. + as_ln_s='ln -s'
  71852. + # ... but there are two gotchas:
  71853. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  71854. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  71855. + # In both cases, we have to default to `cp -pR'.
  71856. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  71857. + as_ln_s='cp -pR'
  71858. + elif ln conf$$.file conf$$ 2>/dev/null; then
  71859. + as_ln_s=ln
  71860. + else
  71861. + as_ln_s='cp -pR'
  71862. + fi
  71863. +else
  71864. + as_ln_s='cp -pR'
  71865. +fi
  71866. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  71867. +rmdir conf$$.dir 2>/dev/null
  71868. +
  71869. +
  71870. +@%:@ as_fn_mkdir_p
  71871. +@%:@ -------------
  71872. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  71873. +as_fn_mkdir_p ()
  71874. +{
  71875. +
  71876. + case $as_dir in #(
  71877. + -*) as_dir=./$as_dir;;
  71878. + esac
  71879. + test -d "$as_dir" || eval $as_mkdir_p || {
  71880. + as_dirs=
  71881. + while :; do
  71882. + case $as_dir in #(
  71883. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  71884. + *) as_qdir=$as_dir;;
  71885. + esac
  71886. + as_dirs="'$as_qdir' $as_dirs"
  71887. + as_dir=`$as_dirname -- "$as_dir" ||
  71888. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  71889. + X"$as_dir" : 'X\(//\)[^/]' \| \
  71890. + X"$as_dir" : 'X\(//\)$' \| \
  71891. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  71892. +$as_echo X"$as_dir" |
  71893. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  71894. + s//\1/
  71895. + q
  71896. + }
  71897. + /^X\(\/\/\)[^/].*/{
  71898. + s//\1/
  71899. + q
  71900. + }
  71901. + /^X\(\/\/\)$/{
  71902. + s//\1/
  71903. + q
  71904. + }
  71905. + /^X\(\/\).*/{
  71906. + s//\1/
  71907. + q
  71908. + }
  71909. + s/.*/./; q'`
  71910. + test -d "$as_dir" && break
  71911. + done
  71912. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  71913. + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  71914. +
  71915. +
  71916. +} @%:@ as_fn_mkdir_p
  71917. +if mkdir -p . 2>/dev/null; then
  71918. + as_mkdir_p='mkdir -p "$as_dir"'
  71919. +else
  71920. + test -d ./-p && rmdir ./-p
  71921. + as_mkdir_p=false
  71922. +fi
  71923. +
  71924. +
  71925. +@%:@ as_fn_executable_p FILE
  71926. +@%:@ -----------------------
  71927. +@%:@ Test if FILE is an executable regular file.
  71928. +as_fn_executable_p ()
  71929. +{
  71930. + test -f "$1" && test -x "$1"
  71931. +} @%:@ as_fn_executable_p
  71932. +as_test_x='test -x'
  71933. +as_executable_p=as_fn_executable_p
  71934. +
  71935. +# Sed expression to map a string onto a valid CPP name.
  71936. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  71937. +
  71938. +# Sed expression to map a string onto a valid variable name.
  71939. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  71940. +
  71941. +
  71942. +exec 6>&1
  71943. +## ----------------------------------- ##
  71944. +## Main body of $CONFIG_STATUS script. ##
  71945. +## ----------------------------------- ##
  71946. +_ASEOF
  71947. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  71948. +
  71949. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  71950. +# Save the log message, to keep $0 and so on meaningful, and to
  71951. +# report actual input values of CONFIG_FILES etc. instead of their
  71952. +# values after options handling.
  71953. +ac_log="
  71954. +This file was extended by GNU M4 $as_me 1.4.16, which was
  71955. +generated by GNU Autoconf 2.69. Invocation command line was
  71956. +
  71957. + CONFIG_FILES = $CONFIG_FILES
  71958. + CONFIG_HEADERS = $CONFIG_HEADERS
  71959. + CONFIG_LINKS = $CONFIG_LINKS
  71960. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  71961. + $ $0 $@
  71962. +
  71963. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  71964. +"
  71965. +
  71966. +_ACEOF
  71967. +
  71968. +case $ac_config_files in *"
  71969. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  71970. +esac
  71971. +
  71972. +case $ac_config_headers in *"
  71973. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  71974. +esac
  71975. +
  71976. +
  71977. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  71978. +# Files that config.status was made for.
  71979. +config_files="$ac_config_files"
  71980. +config_headers="$ac_config_headers"
  71981. +config_links="$ac_config_links"
  71982. +config_commands="$ac_config_commands"
  71983. +
  71984. +_ACEOF
  71985. +
  71986. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  71987. +ac_cs_usage="\
  71988. +\`$as_me' instantiates files and other configuration actions
  71989. +from templates according to the current configuration. Unless the files
  71990. +and actions are specified as TAGs, all are instantiated by default.
  71991. +
  71992. +Usage: $0 [OPTION]... [TAG]...
  71993. +
  71994. + -h, --help print this help, then exit
  71995. + -V, --version print version number and configuration settings, then exit
  71996. + --config print configuration, then exit
  71997. + -q, --quiet, --silent
  71998. + do not print progress messages
  71999. + -d, --debug don't remove temporary files
  72000. + --recheck update $as_me by reconfiguring in the same conditions
  72001. + --file=FILE[:TEMPLATE]
  72002. + instantiate the configuration file FILE
  72003. + --header=FILE[:TEMPLATE]
  72004. + instantiate the configuration header FILE
  72005. +
  72006. +Configuration files:
  72007. +$config_files
  72008. +
  72009. +Configuration headers:
  72010. +$config_headers
  72011. +
  72012. +Configuration links:
  72013. +$config_links
  72014. +
  72015. +Configuration commands:
  72016. +$config_commands
  72017. +
  72018. +Report bugs to <bug-m4@gnu.org>.
  72019. +GNU M4 home page: <http://www.gnu.org/software/m4/>.
  72020. +General help using GNU software: <http://www.gnu.org/gethelp/>."
  72021. +
  72022. +_ACEOF
  72023. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  72024. +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  72025. +ac_cs_version="\\
  72026. +GNU M4 config.status 1.4.16
  72027. +configured by $0, generated by GNU Autoconf 2.69,
  72028. + with options \\"\$ac_cs_config\\"
  72029. +
  72030. +Copyright (C) 2012 Free Software Foundation, Inc.
  72031. +This config.status script is free software; the Free Software Foundation
  72032. +gives unlimited permission to copy, distribute and modify it."
  72033. +
  72034. +ac_pwd='$ac_pwd'
  72035. +srcdir='$srcdir'
  72036. +INSTALL='$INSTALL'
  72037. +MKDIR_P='$MKDIR_P'
  72038. +AWK='$AWK'
  72039. +test -n "\$AWK" || AWK=awk
  72040. +_ACEOF
  72041. +
  72042. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  72043. +# The default lists apply if the user does not specify any file.
  72044. +ac_need_defaults=:
  72045. +while test $# != 0
  72046. +do
  72047. + case $1 in
  72048. + --*=?*)
  72049. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  72050. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  72051. + ac_shift=:
  72052. + ;;
  72053. + --*=)
  72054. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  72055. + ac_optarg=
  72056. + ac_shift=:
  72057. + ;;
  72058. + *)
  72059. + ac_option=$1
  72060. + ac_optarg=$2
  72061. + ac_shift=shift
  72062. + ;;
  72063. + esac
  72064. +
  72065. + case $ac_option in
  72066. + # Handling of the options.
  72067. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  72068. + ac_cs_recheck=: ;;
  72069. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  72070. + $as_echo "$ac_cs_version"; exit ;;
  72071. + --config | --confi | --conf | --con | --co | --c )
  72072. + $as_echo "$ac_cs_config"; exit ;;
  72073. + --debug | --debu | --deb | --de | --d | -d )
  72074. + debug=: ;;
  72075. + --file | --fil | --fi | --f )
  72076. + $ac_shift
  72077. + case $ac_optarg in
  72078. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  72079. + '') as_fn_error $? "missing file argument" ;;
  72080. + esac
  72081. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  72082. + ac_need_defaults=false;;
  72083. + --header | --heade | --head | --hea )
  72084. + $ac_shift
  72085. + case $ac_optarg in
  72086. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  72087. + esac
  72088. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  72089. + ac_need_defaults=false;;
  72090. + --he | --h)
  72091. + # Conflict between --help and --header
  72092. + as_fn_error $? "ambiguous option: \`$1'
  72093. +Try \`$0 --help' for more information.";;
  72094. + --help | --hel | -h )
  72095. + $as_echo "$ac_cs_usage"; exit ;;
  72096. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  72097. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  72098. + ac_cs_silent=: ;;
  72099. +
  72100. + # This is an error.
  72101. + -*) as_fn_error $? "unrecognized option: \`$1'
  72102. +Try \`$0 --help' for more information." ;;
  72103. +
  72104. + *) as_fn_append ac_config_targets " $1"
  72105. + ac_need_defaults=false ;;
  72106. +
  72107. + esac
  72108. + shift
  72109. +done
  72110. +
  72111. +ac_configure_extra_args=
  72112. +
  72113. +if $ac_cs_silent; then
  72114. + exec 6>/dev/null
  72115. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  72116. +fi
  72117. +
  72118. +_ACEOF
  72119. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  72120. +if \$ac_cs_recheck; then
  72121. + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  72122. + shift
  72123. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  72124. + CONFIG_SHELL='$SHELL'
  72125. + export CONFIG_SHELL
  72126. + exec "\$@"
  72127. +fi
  72128. +
  72129. +_ACEOF
  72130. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  72131. +exec 5>>config.log
  72132. +{
  72133. + echo
  72134. + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  72135. +@%:@@%:@ Running $as_me. @%:@@%:@
  72136. +_ASBOX
  72137. + $as_echo "$ac_log"
  72138. +} >&5
  72139. +
  72140. +_ACEOF
  72141. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  72142. +#
  72143. +# INIT-COMMANDS
  72144. +#
  72145. +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  72146. +GNUmakefile=$GNUmakefile
  72147. +
  72148. +_ACEOF
  72149. +
  72150. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  72151. +
  72152. +# Handling of arguments.
  72153. +for ac_config_target in $ac_config_targets
  72154. +do
  72155. + case $ac_config_target in
  72156. + "lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/config.h:lib/config.hin" ;;
  72157. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  72158. + "$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;;
  72159. + "stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS stamp-h" ;;
  72160. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  72161. + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  72162. + "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
  72163. + "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  72164. + "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
  72165. + "checks/Makefile") CONFIG_FILES="$CONFIG_FILES checks/Makefile" ;;
  72166. + "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
  72167. +
  72168. + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  72169. + esac
  72170. +done
  72171. +
  72172. +
  72173. +# If the user did not use the arguments to specify the items to instantiate,
  72174. +# then the envvar interface is used. Set only those that are not.
  72175. +# We use the long form for the default assignment because of an extremely
  72176. +# bizarre bug on SunOS 4.1.3.
  72177. +if $ac_need_defaults; then
  72178. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  72179. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  72180. + test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
  72181. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  72182. +fi
  72183. +
  72184. +# Have a temporary directory for convenience. Make it in the build tree
  72185. +# simply because there is no reason against having it here, and in addition,
  72186. +# creating and moving files from /tmp can sometimes cause problems.
  72187. +# Hook for its removal unless debugging.
  72188. +# Note that there is a small window in which the directory will not be cleaned:
  72189. +# after its creation but before its name has been assigned to `$tmp'.
  72190. +$debug ||
  72191. +{
  72192. + tmp= ac_tmp=
  72193. + trap 'exit_status=$?
  72194. + : "${ac_tmp:=$tmp}"
  72195. + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  72196. +' 0
  72197. + trap 'as_fn_exit 1' 1 2 13 15
  72198. +}
  72199. +# Create a (secure) tmp directory for tmp files.
  72200. +
  72201. +{
  72202. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  72203. + test -d "$tmp"
  72204. +} ||
  72205. +{
  72206. + tmp=./conf$$-$RANDOM
  72207. + (umask 077 && mkdir "$tmp")
  72208. +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  72209. +ac_tmp=$tmp
  72210. +
  72211. +# Set up the scripts for CONFIG_FILES section.
  72212. +# No need to generate them if there are no CONFIG_FILES.
  72213. +# This happens for instance with `./config.status config.h'.
  72214. +if test -n "$CONFIG_FILES"; then
  72215. +
  72216. +
  72217. +ac_cr=`echo X | tr X '\015'`
  72218. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  72219. +# But we know of no other shell where ac_cr would be empty at this
  72220. +# point, so we can use a bashism as a fallback.
  72221. +if test "x$ac_cr" = x; then
  72222. + eval ac_cr=\$\'\\r\'
  72223. +fi
  72224. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  72225. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  72226. + ac_cs_awk_cr='\\r'
  72227. +else
  72228. + ac_cs_awk_cr=$ac_cr
  72229. +fi
  72230. +
  72231. +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  72232. +_ACEOF
  72233. +
  72234. +
  72235. +{
  72236. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  72237. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  72238. + echo "_ACEOF"
  72239. +} >conf$$subs.sh ||
  72240. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  72241. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  72242. +ac_delim='%!_!# '
  72243. +for ac_last_try in false false false false false :; do
  72244. + . ./conf$$subs.sh ||
  72245. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  72246. +
  72247. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  72248. + if test $ac_delim_n = $ac_delim_num; then
  72249. + break
  72250. + elif $ac_last_try; then
  72251. + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  72252. + else
  72253. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  72254. + fi
  72255. +done
  72256. +rm -f conf$$subs.sh
  72257. +
  72258. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  72259. +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  72260. +_ACEOF
  72261. +sed -n '
  72262. +h
  72263. +s/^/S["/; s/!.*/"]=/
  72264. +p
  72265. +g
  72266. +s/^[^!]*!//
  72267. +:repl
  72268. +t repl
  72269. +s/'"$ac_delim"'$//
  72270. +t delim
  72271. +:nl
  72272. +h
  72273. +s/\(.\{148\}\)..*/\1/
  72274. +t more1
  72275. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  72276. +p
  72277. +n
  72278. +b repl
  72279. +:more1
  72280. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  72281. +p
  72282. +g
  72283. +s/.\{148\}//
  72284. +t nl
  72285. +:delim
  72286. +h
  72287. +s/\(.\{148\}\)..*/\1/
  72288. +t more2
  72289. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  72290. +p
  72291. +b
  72292. +:more2
  72293. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  72294. +p
  72295. +g
  72296. +s/.\{148\}//
  72297. +t delim
  72298. +' <conf$$subs.awk | sed '
  72299. +/^[^""]/{
  72300. + N
  72301. + s/\n//
  72302. +}
  72303. +' >>$CONFIG_STATUS || ac_write_fail=1
  72304. +rm -f conf$$subs.awk
  72305. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  72306. +_ACAWK
  72307. +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  72308. + for (key in S) S_is_set[key] = 1
  72309. + FS = ""
  72310. +
  72311. +}
  72312. +{
  72313. + line = $ 0
  72314. + nfields = split(line, field, "@")
  72315. + substed = 0
  72316. + len = length(field[1])
  72317. + for (i = 2; i < nfields; i++) {
  72318. + key = field[i]
  72319. + keylen = length(key)
  72320. + if (S_is_set[key]) {
  72321. + value = S[key]
  72322. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  72323. + len += length(value) + length(field[++i])
  72324. + substed = 1
  72325. + } else
  72326. + len += 1 + keylen
  72327. + }
  72328. +
  72329. + print line
  72330. +}
  72331. +
  72332. +_ACAWK
  72333. +_ACEOF
  72334. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  72335. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  72336. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  72337. +else
  72338. + cat
  72339. +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  72340. + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  72341. +_ACEOF
  72342. +
  72343. +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  72344. +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  72345. +# trailing colons and then remove the whole line if VPATH becomes empty
  72346. +# (actually we leave an empty line to preserve line numbers).
  72347. +if test "x$srcdir" = x.; then
  72348. + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  72349. +h
  72350. +s///
  72351. +s/^/:/
  72352. +s/[ ]*$/:/
  72353. +s/:\$(srcdir):/:/g
  72354. +s/:\${srcdir}:/:/g
  72355. +s/:@srcdir@:/:/g
  72356. +s/^:*//
  72357. +s/:*$//
  72358. +x
  72359. +s/\(=[ ]*\).*/\1/
  72360. +G
  72361. +s/\n//
  72362. +s/^[^=]*=[ ]*$//
  72363. +}'
  72364. +fi
  72365. +
  72366. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  72367. +fi # test -n "$CONFIG_FILES"
  72368. +
  72369. +# Set up the scripts for CONFIG_HEADERS section.
  72370. +# No need to generate them if there are no CONFIG_HEADERS.
  72371. +# This happens for instance with `./config.status Makefile'.
  72372. +if test -n "$CONFIG_HEADERS"; then
  72373. +cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  72374. +BEGIN {
  72375. +_ACEOF
  72376. +
  72377. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  72378. +# here-document in config.status, that substitutes the proper values into
  72379. +# config.h.in to produce config.h.
  72380. +
  72381. +# Create a delimiter string that does not exist in confdefs.h, to ease
  72382. +# handling of long lines.
  72383. +ac_delim='%!_!# '
  72384. +for ac_last_try in false false :; do
  72385. + ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  72386. + if test -z "$ac_tt"; then
  72387. + break
  72388. + elif $ac_last_try; then
  72389. + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  72390. + else
  72391. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  72392. + fi
  72393. +done
  72394. +
  72395. +# For the awk script, D is an array of macro values keyed by name,
  72396. +# likewise P contains macro parameters if any. Preserve backslash
  72397. +# newline sequences.
  72398. +
  72399. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  72400. +sed -n '
  72401. +s/.\{148\}/&'"$ac_delim"'/g
  72402. +t rset
  72403. +:rset
  72404. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  72405. +t def
  72406. +d
  72407. +:def
  72408. +s/\\$//
  72409. +t bsnl
  72410. +s/["\\]/\\&/g
  72411. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  72412. +D["\1"]=" \3"/p
  72413. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  72414. +d
  72415. +:bsnl
  72416. +s/["\\]/\\&/g
  72417. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  72418. +D["\1"]=" \3\\\\\\n"\\/p
  72419. +t cont
  72420. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  72421. +t cont
  72422. +d
  72423. +:cont
  72424. +n
  72425. +s/.\{148\}/&'"$ac_delim"'/g
  72426. +t clear
  72427. +:clear
  72428. +s/\\$//
  72429. +t bsnlc
  72430. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  72431. +d
  72432. +:bsnlc
  72433. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  72434. +b cont
  72435. +' <confdefs.h | sed '
  72436. +s/'"$ac_delim"'/"\\\
  72437. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  72438. +
  72439. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  72440. + for (key in D) D_is_set[key] = 1
  72441. + FS = ""
  72442. +}
  72443. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  72444. + line = \$ 0
  72445. + split(line, arg, " ")
  72446. + if (arg[1] == "#") {
  72447. + defundef = arg[2]
  72448. + mac1 = arg[3]
  72449. + } else {
  72450. + defundef = substr(arg[1], 2)
  72451. + mac1 = arg[2]
  72452. + }
  72453. + split(mac1, mac2, "(") #)
  72454. + macro = mac2[1]
  72455. + prefix = substr(line, 1, index(line, defundef) - 1)
  72456. + if (D_is_set[macro]) {
  72457. + # Preserve the white space surrounding the "#".
  72458. + print prefix "define", macro P[macro] D[macro]
  72459. + next
  72460. + } else {
  72461. + # Replace #undef with comments. This is necessary, for example,
  72462. + # in the case of _POSIX_SOURCE, which is predefined and required
  72463. + # on some systems where configure will not decide to define it.
  72464. + if (defundef == "undef") {
  72465. + print "/*", prefix defundef, macro, "*/"
  72466. + next
  72467. + }
  72468. + }
  72469. +}
  72470. +{ print }
  72471. +_ACAWK
  72472. +_ACEOF
  72473. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  72474. + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  72475. +fi # test -n "$CONFIG_HEADERS"
  72476. +
  72477. +
  72478. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
  72479. +shift
  72480. +for ac_tag
  72481. +do
  72482. + case $ac_tag in
  72483. + :[FHLC]) ac_mode=$ac_tag; continue;;
  72484. + esac
  72485. + case $ac_mode$ac_tag in
  72486. + :[FHL]*:*);;
  72487. + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  72488. + :[FH]-) ac_tag=-:-;;
  72489. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  72490. + esac
  72491. + ac_save_IFS=$IFS
  72492. + IFS=:
  72493. + set x $ac_tag
  72494. + IFS=$ac_save_IFS
  72495. + shift
  72496. + ac_file=$1
  72497. + shift
  72498. +
  72499. + case $ac_mode in
  72500. + :L) ac_source=$1;;
  72501. + :[FH])
  72502. + ac_file_inputs=
  72503. + for ac_f
  72504. + do
  72505. + case $ac_f in
  72506. + -) ac_f="$ac_tmp/stdin";;
  72507. + *) # Look for the file first in the build tree, then in the source tree
  72508. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  72509. + # because $ac_f cannot contain `:'.
  72510. + test -f "$ac_f" ||
  72511. + case $ac_f in
  72512. + [\\/$]*) false;;
  72513. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  72514. + esac ||
  72515. + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  72516. + esac
  72517. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  72518. + as_fn_append ac_file_inputs " '$ac_f'"
  72519. + done
  72520. +
  72521. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  72522. + # use $as_me), people would be surprised to read:
  72523. + # /* config.h. Generated by config.status. */
  72524. + configure_input='Generated from '`
  72525. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  72526. + `' by configure.'
  72527. + if test x"$ac_file" != x-; then
  72528. + configure_input="$ac_file. $configure_input"
  72529. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  72530. +$as_echo "$as_me: creating $ac_file" >&6;}
  72531. + fi
  72532. + # Neutralize special characters interpreted by sed in replacement strings.
  72533. + case $configure_input in #(
  72534. + *\&* | *\|* | *\\* )
  72535. + ac_sed_conf_input=`$as_echo "$configure_input" |
  72536. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  72537. + *) ac_sed_conf_input=$configure_input;;
  72538. + esac
  72539. +
  72540. + case $ac_tag in
  72541. + *:-:* | *:-) cat >"$ac_tmp/stdin" \
  72542. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  72543. + esac
  72544. + ;;
  72545. + esac
  72546. +
  72547. + ac_dir=`$as_dirname -- "$ac_file" ||
  72548. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  72549. + X"$ac_file" : 'X\(//\)[^/]' \| \
  72550. + X"$ac_file" : 'X\(//\)$' \| \
  72551. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  72552. +$as_echo X"$ac_file" |
  72553. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  72554. + s//\1/
  72555. + q
  72556. + }
  72557. + /^X\(\/\/\)[^/].*/{
  72558. + s//\1/
  72559. + q
  72560. + }
  72561. + /^X\(\/\/\)$/{
  72562. + s//\1/
  72563. + q
  72564. + }
  72565. + /^X\(\/\).*/{
  72566. + s//\1/
  72567. + q
  72568. + }
  72569. + s/.*/./; q'`
  72570. + as_dir="$ac_dir"; as_fn_mkdir_p
  72571. + ac_builddir=.
  72572. +
  72573. +case "$ac_dir" in
  72574. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  72575. +*)
  72576. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  72577. + # A ".." for each directory in $ac_dir_suffix.
  72578. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  72579. + case $ac_top_builddir_sub in
  72580. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  72581. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  72582. + esac ;;
  72583. +esac
  72584. +ac_abs_top_builddir=$ac_pwd
  72585. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  72586. +# for backward compatibility:
  72587. +ac_top_builddir=$ac_top_build_prefix
  72588. +
  72589. +case $srcdir in
  72590. + .) # We are building in place.
  72591. + ac_srcdir=.
  72592. + ac_top_srcdir=$ac_top_builddir_sub
  72593. + ac_abs_top_srcdir=$ac_pwd ;;
  72594. + [\\/]* | ?:[\\/]* ) # Absolute name.
  72595. + ac_srcdir=$srcdir$ac_dir_suffix;
  72596. + ac_top_srcdir=$srcdir
  72597. + ac_abs_top_srcdir=$srcdir ;;
  72598. + *) # Relative name.
  72599. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  72600. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  72601. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  72602. +esac
  72603. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  72604. +
  72605. +
  72606. + case $ac_mode in
  72607. + :F)
  72608. + #
  72609. + # CONFIG_FILE
  72610. + #
  72611. +
  72612. + case $INSTALL in
  72613. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  72614. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  72615. + esac
  72616. + ac_MKDIR_P=$MKDIR_P
  72617. + case $MKDIR_P in
  72618. + [\\/$]* | ?:[\\/]* ) ;;
  72619. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  72620. + esac
  72621. +_ACEOF
  72622. +
  72623. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  72624. +# If the template does not know about datarootdir, expand it.
  72625. +# FIXME: This hack should be removed a few years after 2.60.
  72626. +ac_datarootdir_hack=; ac_datarootdir_seen=
  72627. +ac_sed_dataroot='
  72628. +/datarootdir/ {
  72629. + p
  72630. + q
  72631. +}
  72632. +/@datadir@/p
  72633. +/@docdir@/p
  72634. +/@infodir@/p
  72635. +/@localedir@/p
  72636. +/@mandir@/p'
  72637. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  72638. +*datarootdir*) ac_datarootdir_seen=yes;;
  72639. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  72640. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  72641. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  72642. +_ACEOF
  72643. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  72644. + ac_datarootdir_hack='
  72645. + s&@datadir@&$datadir&g
  72646. + s&@docdir@&$docdir&g
  72647. + s&@infodir@&$infodir&g
  72648. + s&@localedir@&$localedir&g
  72649. + s&@mandir@&$mandir&g
  72650. + s&\\\${datarootdir}&$datarootdir&g' ;;
  72651. +esac
  72652. +_ACEOF
  72653. +
  72654. +# Neutralize VPATH when `$srcdir' = `.'.
  72655. +# Shell code in configure.ac might set extrasub.
  72656. +# FIXME: do we really want to maintain this feature?
  72657. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  72658. +ac_sed_extra="$ac_vpsub
  72659. +$extrasub
  72660. +_ACEOF
  72661. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  72662. +:t
  72663. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  72664. +s|@configure_input@|$ac_sed_conf_input|;t t
  72665. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  72666. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  72667. +s&@srcdir@&$ac_srcdir&;t t
  72668. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  72669. +s&@top_srcdir@&$ac_top_srcdir&;t t
  72670. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  72671. +s&@builddir@&$ac_builddir&;t t
  72672. +s&@abs_builddir@&$ac_abs_builddir&;t t
  72673. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  72674. +s&@INSTALL@&$ac_INSTALL&;t t
  72675. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  72676. +$ac_datarootdir_hack
  72677. +"
  72678. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  72679. + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  72680. +
  72681. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  72682. + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  72683. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  72684. + "$ac_tmp/out"`; test -z "$ac_out"; } &&
  72685. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  72686. +which seems to be undefined. Please make sure it is defined" >&5
  72687. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  72688. +which seems to be undefined. Please make sure it is defined" >&2;}
  72689. +
  72690. + rm -f "$ac_tmp/stdin"
  72691. + case $ac_file in
  72692. + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  72693. + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  72694. + esac \
  72695. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  72696. + ;;
  72697. + :H)
  72698. + #
  72699. + # CONFIG_HEADER
  72700. + #
  72701. + if test x"$ac_file" != x-; then
  72702. + {
  72703. + $as_echo "/* $configure_input */" \
  72704. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  72705. + } >"$ac_tmp/config.h" \
  72706. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  72707. + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  72708. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  72709. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  72710. + else
  72711. + rm -f "$ac_file"
  72712. + mv "$ac_tmp/config.h" "$ac_file" \
  72713. + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  72714. + fi
  72715. + else
  72716. + $as_echo "/* $configure_input */" \
  72717. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  72718. + || as_fn_error $? "could not create -" "$LINENO" 5
  72719. + fi
  72720. +# Compute "$ac_file"'s index in $config_headers.
  72721. +_am_arg="$ac_file"
  72722. +_am_stamp_count=1
  72723. +for _am_header in $config_headers :; do
  72724. + case $_am_header in
  72725. + $_am_arg | $_am_arg:* )
  72726. + break ;;
  72727. + * )
  72728. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  72729. + esac
  72730. +done
  72731. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  72732. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  72733. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  72734. + X"$_am_arg" : 'X\(//\)$' \| \
  72735. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  72736. +$as_echo X"$_am_arg" |
  72737. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  72738. + s//\1/
  72739. + q
  72740. + }
  72741. + /^X\(\/\/\)[^/].*/{
  72742. + s//\1/
  72743. + q
  72744. + }
  72745. + /^X\(\/\/\)$/{
  72746. + s//\1/
  72747. + q
  72748. + }
  72749. + /^X\(\/\).*/{
  72750. + s//\1/
  72751. + q
  72752. + }
  72753. + s/.*/./; q'`/stamp-h$_am_stamp_count
  72754. + ;;
  72755. + :L)
  72756. + #
  72757. + # CONFIG_LINK
  72758. + #
  72759. +
  72760. + if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
  72761. + :
  72762. + else
  72763. + # Prefer the file from the source tree if names are identical.
  72764. + if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
  72765. + ac_source=$srcdir/$ac_source
  72766. + fi
  72767. +
  72768. + { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
  72769. +$as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
  72770. +
  72771. + if test ! -r "$ac_source"; then
  72772. + as_fn_error $? "$ac_source: file not found" "$LINENO" 5
  72773. + fi
  72774. + rm -f "$ac_file"
  72775. +
  72776. + # Try a relative symlink, then a hard link, then a copy.
  72777. + case $ac_source in
  72778. + [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
  72779. + *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
  72780. + esac
  72781. + ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
  72782. + ln "$ac_source" "$ac_file" 2>/dev/null ||
  72783. + cp -p "$ac_source" "$ac_file" ||
  72784. + as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
  72785. + fi
  72786. + ;;
  72787. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  72788. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  72789. + ;;
  72790. + esac
  72791. +
  72792. +
  72793. + case $ac_file$ac_mode in
  72794. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  72795. + # Older Autoconf quotes --file arguments for eval, but not when files
  72796. + # are listed without --file. Let's play safe and only enable the eval
  72797. + # if we detect the quoting.
  72798. + case $CONFIG_FILES in
  72799. + *\'*) eval set x "$CONFIG_FILES" ;;
  72800. + *) set x $CONFIG_FILES ;;
  72801. + esac
  72802. + shift
  72803. + for mf
  72804. + do
  72805. + # Strip MF so we end up with the name of the file.
  72806. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  72807. + # Check whether this is an Automake generated Makefile or not.
  72808. + # We used to match only the files named 'Makefile.in', but
  72809. + # some people rename them; so instead we look at the file content.
  72810. + # Grep'ing the first line is not enough: some people post-process
  72811. + # each Makefile.in and add a new line on top of each file to say so.
  72812. + # Grep'ing the whole file is not good either: AIX grep has a line
  72813. + # limit of 2048, but all sed's we know have understand at least 4000.
  72814. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  72815. + dirpart=`$as_dirname -- "$mf" ||
  72816. +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  72817. + X"$mf" : 'X\(//\)[^/]' \| \
  72818. + X"$mf" : 'X\(//\)$' \| \
  72819. + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  72820. +$as_echo X"$mf" |
  72821. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  72822. + s//\1/
  72823. + q
  72824. + }
  72825. + /^X\(\/\/\)[^/].*/{
  72826. + s//\1/
  72827. + q
  72828. + }
  72829. + /^X\(\/\/\)$/{
  72830. + s//\1/
  72831. + q
  72832. + }
  72833. + /^X\(\/\).*/{
  72834. + s//\1/
  72835. + q
  72836. + }
  72837. + s/.*/./; q'`
  72838. + else
  72839. + continue
  72840. + fi
  72841. + # Extract the definition of DEPDIR, am__include, and am__quote
  72842. + # from the Makefile without running 'make'.
  72843. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  72844. + test -z "$DEPDIR" && continue
  72845. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  72846. + test -z "$am__include" && continue
  72847. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  72848. + # Find all dependency output files, they are included files with
  72849. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  72850. + # simplest approach to changing $(DEPDIR) to its actual value in the
  72851. + # expansion.
  72852. + for file in `sed -n "
  72853. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  72854. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  72855. + # Make sure the directory exists.
  72856. + test -f "$dirpart/$file" && continue
  72857. + fdir=`$as_dirname -- "$file" ||
  72858. +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  72859. + X"$file" : 'X\(//\)[^/]' \| \
  72860. + X"$file" : 'X\(//\)$' \| \
  72861. + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  72862. +$as_echo X"$file" |
  72863. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  72864. + s//\1/
  72865. + q
  72866. + }
  72867. + /^X\(\/\/\)[^/].*/{
  72868. + s//\1/
  72869. + q
  72870. + }
  72871. + /^X\(\/\/\)$/{
  72872. + s//\1/
  72873. + q
  72874. + }
  72875. + /^X\(\/\).*/{
  72876. + s//\1/
  72877. + q
  72878. + }
  72879. + s/.*/./; q'`
  72880. + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  72881. + # echo "creating $dirpart/$file"
  72882. + echo '# dummy' > "$dirpart/$file"
  72883. + done
  72884. + done
  72885. +}
  72886. + ;;
  72887. + "stamp-h":C) test -z "$CONFIG_HEADERS" || date > stamp-h ;;
  72888. +
  72889. + esac
  72890. +done # for ac_tag
  72891. +
  72892. +
  72893. +as_fn_exit 0
  72894. +_ACEOF
  72895. +ac_clean_files=$ac_clean_files_save
  72896. +
  72897. +test $ac_write_fail = 0 ||
  72898. + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  72899. +
  72900. +
  72901. +# configure is writing to config.log, and then calls config.status.
  72902. +# config.status does its own redirection, appending to config.log.
  72903. +# Unfortunately, on DOS this fails, as config.log is still kept open
  72904. +# by configure, so config.status won't be able to write to it; its
  72905. +# output is simply discarded. So we exec the FD to /dev/null,
  72906. +# effectively closing config.log, so it can be properly (re)opened and
  72907. +# appended to by config.status. When coming back to configure, we
  72908. +# need to make the FD available again.
  72909. +if test "$no_create" != yes; then
  72910. + ac_cs_success=:
  72911. + ac_config_status_args=
  72912. + test "$silent" = yes &&
  72913. + ac_config_status_args="$ac_config_status_args --quiet"
  72914. + exec 5>/dev/null
  72915. + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  72916. + exec 5>>config.log
  72917. + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  72918. + # would make configure fail if this is the last instruction.
  72919. + $ac_cs_success || as_fn_exit 1
  72920. +fi
  72921. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  72922. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  72923. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  72924. +fi
  72925. +
  72926. diff -Nur m4-1.4.16.orig/autom4te.cache/requests m4-1.4.16/autom4te.cache/requests
  72927. --- m4-1.4.16.orig/autom4te.cache/requests 1970-01-01 01:00:00.000000000 +0100
  72928. +++ m4-1.4.16/autom4te.cache/requests 2013-09-04 14:47:46.000000000 +0200
  72929. @@ -0,0 +1,782 @@
  72930. +# This file was generated by Autom4te Sun Apr 29 21:48:16 UTC 2012.
  72931. +# It contains the lists of macros which have been traced.
  72932. +# It can be safely removed.
  72933. +
  72934. +@request = (
  72935. + bless( [
  72936. + '0',
  72937. + 1,
  72938. + [
  72939. + '/usr/share/autoconf'
  72940. + ],
  72941. + [
  72942. + '/usr/share/autoconf/autoconf/autoconf.m4f',
  72943. + '-',
  72944. + '/usr/share/aclocal-1.13/internal/ac-config-macro-dirs.m4',
  72945. + '/usr/share/aclocal/nls.m4',
  72946. + '/usr/share/aclocal/po.m4',
  72947. + '/usr/share/aclocal/progtest.m4',
  72948. + '/usr/share/aclocal-1.13/amversion.m4',
  72949. + '/usr/share/aclocal-1.13/auxdir.m4',
  72950. + '/usr/share/aclocal-1.13/cond.m4',
  72951. + '/usr/share/aclocal-1.13/depend.m4',
  72952. + '/usr/share/aclocal-1.13/depout.m4',
  72953. + '/usr/share/aclocal-1.13/init.m4',
  72954. + '/usr/share/aclocal-1.13/install-sh.m4',
  72955. + '/usr/share/aclocal-1.13/lead-dot.m4',
  72956. + '/usr/share/aclocal-1.13/make.m4',
  72957. + '/usr/share/aclocal-1.13/minuso.m4',
  72958. + '/usr/share/aclocal-1.13/missing.m4',
  72959. + '/usr/share/aclocal-1.13/mkdirp.m4',
  72960. + '/usr/share/aclocal-1.13/options.m4',
  72961. + '/usr/share/aclocal-1.13/runlog.m4',
  72962. + '/usr/share/aclocal-1.13/sanity.m4',
  72963. + '/usr/share/aclocal-1.13/silent.m4',
  72964. + '/usr/share/aclocal-1.13/strip.m4',
  72965. + '/usr/share/aclocal-1.13/substnot.m4',
  72966. + '/usr/share/aclocal-1.13/tar.m4',
  72967. + 'm4/00gnulib.m4',
  72968. + 'm4/alloca.m4',
  72969. + 'm4/ansi-c++.m4',
  72970. + 'm4/assert.m4',
  72971. + 'm4/autobuild.m4',
  72972. + 'm4/btowc.m4',
  72973. + 'm4/c-stack.m4',
  72974. + 'm4/canonicalize.m4',
  72975. + 'm4/cloexec.m4',
  72976. + 'm4/close-stream.m4',
  72977. + 'm4/close.m4',
  72978. + 'm4/closein.m4',
  72979. + 'm4/closeout.m4',
  72980. + 'm4/codeset.m4',
  72981. + 'm4/config-h.m4',
  72982. + 'm4/configmake.m4',
  72983. + 'm4/dirname.m4',
  72984. + 'm4/double-slash-root.m4',
  72985. + 'm4/dup2.m4',
  72986. + 'm4/eealloc.m4',
  72987. + 'm4/environ.m4',
  72988. + 'm4/errno_h.m4',
  72989. + 'm4/error.m4',
  72990. + 'm4/execute.m4',
  72991. + 'm4/exponentd.m4',
  72992. + 'm4/exponentf.m4',
  72993. + 'm4/exponentl.m4',
  72994. + 'm4/extensions.m4',
  72995. + 'm4/fatal-signal.m4',
  72996. + 'm4/fclose.m4',
  72997. + 'm4/fcntl-o.m4',
  72998. + 'm4/fcntl.m4',
  72999. + 'm4/fcntl_h.m4',
  73000. + 'm4/fflush.m4',
  73001. + 'm4/filenamecat.m4',
  73002. + 'm4/float_h.m4',
  73003. + 'm4/fopen.m4',
  73004. + 'm4/fpending.m4',
  73005. + 'm4/fpieee.m4',
  73006. + 'm4/fpurge.m4',
  73007. + 'm4/freading.m4',
  73008. + 'm4/frexp.m4',
  73009. + 'm4/frexpl.m4',
  73010. + 'm4/fseeko.m4',
  73011. + 'm4/ftell.m4',
  73012. + 'm4/ftello.m4',
  73013. + 'm4/getdtablesize.m4',
  73014. + 'm4/getopt.m4',
  73015. + 'm4/getpagesize.m4',
  73016. + 'm4/gettimeofday.m4',
  73017. + 'm4/gl_list.m4',
  73018. + 'm4/glibc21.m4',
  73019. + 'm4/gnulib-common.m4',
  73020. + 'm4/gnulib-comp.m4',
  73021. + 'm4/include_next.m4',
  73022. + 'm4/inline.m4',
  73023. + 'm4/intlmacosx.m4',
  73024. + 'm4/intmax_t.m4',
  73025. + 'm4/inttypes_h.m4',
  73026. + 'm4/isnand.m4',
  73027. + 'm4/isnanf.m4',
  73028. + 'm4/isnanl.m4',
  73029. + 'm4/langinfo_h.m4',
  73030. + 'm4/lcmessage.m4',
  73031. + 'm4/ldexp.m4',
  73032. + 'm4/ldexpl.m4',
  73033. + 'm4/lib-ld.m4',
  73034. + 'm4/lib-link.m4',
  73035. + 'm4/lib-prefix.m4',
  73036. + 'm4/libsigsegv.m4',
  73037. + 'm4/link.m4',
  73038. + 'm4/localcharset.m4',
  73039. + 'm4/locale-fr.m4',
  73040. + 'm4/locale-ja.m4',
  73041. + 'm4/locale-tr.m4',
  73042. + 'm4/locale-zh.m4',
  73043. + 'm4/locale_h.m4',
  73044. + 'm4/localename.m4',
  73045. + 'm4/lock.m4',
  73046. + 'm4/longlong.m4',
  73047. + 'm4/lseek.m4',
  73048. + 'm4/lstat.m4',
  73049. + 'm4/malloc.m4',
  73050. + 'm4/malloca.m4',
  73051. + 'm4/manywarnings.m4',
  73052. + 'm4/math_h.m4',
  73053. + 'm4/mbrtowc.m4',
  73054. + 'm4/mbsinit.m4',
  73055. + 'm4/mbstate_t.m4',
  73056. + 'm4/mbtowc.m4',
  73057. + 'm4/memchr.m4',
  73058. + 'm4/mkdtemp.m4',
  73059. + 'm4/mkstemp.m4',
  73060. + 'm4/mmap-anon.m4',
  73061. + 'm4/mode_t.m4',
  73062. + 'm4/multiarch.m4',
  73063. + 'm4/nl_langinfo.m4',
  73064. + 'm4/nocrash.m4',
  73065. + 'm4/open.m4',
  73066. + 'm4/pathmax.m4',
  73067. + 'm4/pipe2.m4',
  73068. + 'm4/posix_spawn.m4',
  73069. + 'm4/printf-frexp.m4',
  73070. + 'm4/printf-frexpl.m4',
  73071. + 'm4/printf.m4',
  73072. + 'm4/putenv.m4',
  73073. + 'm4/quotearg.m4',
  73074. + 'm4/rawmemchr.m4',
  73075. + 'm4/readlink.m4',
  73076. + 'm4/regex.m4',
  73077. + 'm4/rename.m4',
  73078. + 'm4/rmdir.m4',
  73079. + 'm4/sched_h.m4',
  73080. + 'm4/setenv.m4',
  73081. + 'm4/setlocale.m4',
  73082. + 'm4/sig_atomic_t.m4',
  73083. + 'm4/sigaction.m4',
  73084. + 'm4/signal_h.m4',
  73085. + 'm4/signalblocking.m4',
  73086. + 'm4/signbit.m4',
  73087. + 'm4/size_max.m4',
  73088. + 'm4/snprintf.m4',
  73089. + 'm4/spawn-pipe.m4',
  73090. + 'm4/spawn_h.m4',
  73091. + 'm4/ssize_t.m4',
  73092. + 'm4/stat.m4',
  73093. + 'm4/stdarg.m4',
  73094. + 'm4/stdbool.m4',
  73095. + 'm4/stddef_h.m4',
  73096. + 'm4/stdint.m4',
  73097. + 'm4/stdint_h.m4',
  73098. + 'm4/stdio-safer.m4',
  73099. + 'm4/stdio_h.m4',
  73100. + 'm4/stdlib-safer.m4',
  73101. + 'm4/stdlib_h.m4',
  73102. + 'm4/strchrnul.m4',
  73103. + 'm4/strdup.m4',
  73104. + 'm4/strerror.m4',
  73105. + 'm4/string_h.m4',
  73106. + 'm4/strndup.m4',
  73107. + 'm4/strnlen.m4',
  73108. + 'm4/strsignal.m4',
  73109. + 'm4/strstr.m4',
  73110. + 'm4/strtod.m4',
  73111. + 'm4/strtol.m4',
  73112. + 'm4/symlink.m4',
  73113. + 'm4/sys_stat_h.m4',
  73114. + 'm4/sys_time_h.m4',
  73115. + 'm4/sys_wait_h.m4',
  73116. + 'm4/tempname.m4',
  73117. + 'm4/threadlib.m4',
  73118. + 'm4/time_h.m4',
  73119. + 'm4/tls.m4',
  73120. + 'm4/tmpdir.m4',
  73121. + 'm4/ungetc.m4',
  73122. + 'm4/unistd-safer.m4',
  73123. + 'm4/unistd_h.m4',
  73124. + 'm4/unlocked-io.m4',
  73125. + 'm4/vasnprintf.m4',
  73126. + 'm4/vasprintf-posix.m4',
  73127. + 'm4/vasprintf.m4',
  73128. + 'm4/version-etc.m4',
  73129. + 'm4/wait-process.m4',
  73130. + 'm4/waitpid.m4',
  73131. + 'm4/warnings.m4',
  73132. + 'm4/wchar_h.m4',
  73133. + 'm4/wchar_t.m4',
  73134. + 'm4/wcrtomb.m4',
  73135. + 'm4/wctob.m4',
  73136. + 'm4/wctomb.m4',
  73137. + 'm4/wctype_h.m4',
  73138. + 'm4/wint_t.m4',
  73139. + 'm4/xalloc.m4',
  73140. + 'm4/xsize.m4',
  73141. + 'm4/xstrndup.m4',
  73142. + 'm4/xvasprintf.m4',
  73143. + 'acinclude.m4',
  73144. + 'configure.ac'
  73145. + ],
  73146. + {
  73147. + 'gl_BUILD_ISNANF' => 1,
  73148. + 'AM_XGETTEXT_OPTION_INIT' => 1,
  73149. + 'gt_TYPE_SSIZE_T' => 1,
  73150. + 'gl_FUNC_SNPRINTF' => 1,
  73151. + 'gl_STDDEF_H_DEFAULTS' => 1,
  73152. + 'gl_PREREQ_TEMPNAME' => 1,
  73153. + 'gl_CHECK_LDEXP_NO_LIBM' => 1,
  73154. + 'gl_PREREQ_PRINTF_ARGS' => 1,
  73155. + 'gl_DOUBLE_SLASH_ROOT' => 1,
  73156. + 'gl_AC_HEADER_STDINT_H' => 1,
  73157. + 'gl_UNISTD_MODULE_INDICATOR' => 1,
  73158. + 'gt_LOCALE_TR_UTF8' => 1,
  73159. + 'gl_PREREQ_XALLOC' => 1,
  73160. + 'gl_SYS_STAT_MODULE_INDICATOR' => 1,
  73161. + 'AM_SUBST_NOTMAKE' => 1,
  73162. + 'gl_VERSION_ETC' => 1,
  73163. + 'gl_FLOAT_SIGNBIT_CODE' => 1,
  73164. + 'gl_PREREQ_SETLOCALE' => 1,
  73165. + 'gl_GETOPT_SUBSTITUTE_HEADER' => 1,
  73166. + 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
  73167. + '_m4_warn' => 1,
  73168. + 'gl_FUNC_MBSINIT' => 1,
  73169. + 'gl_C_STACK' => 1,
  73170. + 'gl_FUNC_STRNDUP' => 1,
  73171. + 'AM_SANITY_CHECK' => 1,
  73172. + 'gl_DIRNAME' => 1,
  73173. + 'gl_CANONICALIZE_LGPL' => 1,
  73174. + 'gl_CACHE_VAL_SILENT' => 1,
  73175. + 'gl_DOUBLE_SIGNBIT_CODE' => 1,
  73176. + 'gl_FUNC_STRSTR_SIMPLE' => 1,
  73177. + 'gt_TYPE_SIG_ATOMIC_T' => 1,
  73178. + 'gl_PROMOTED_TYPE_MODE_T' => 1,
  73179. + 'gl_SIGNALBLOCKING' => 1,
  73180. + 'gl_HEADER_SYS_TIME_H_DEFAULTS' => 1,
  73181. + 'AC_LIB_ARG_WITH' => 1,
  73182. + 'gl_PREREQ_ASNPRINTF' => 1,
  73183. + 'gl_FUNC_BTOWC' => 1,
  73184. + 'AC_CONFIG_MACRO_DIR' => 1,
  73185. + 'gt_FUNC_MKDTEMP' => 1,
  73186. + 'M4_EARLY' => 1,
  73187. + 'gl_PREREQ_MBTOWC' => 1,
  73188. + 'gl_WCHAR_H_DEFAULTS' => 1,
  73189. + '_AM_AUTOCONF_VERSION' => 1,
  73190. + 'gl_XALLOC' => 1,
  73191. + 'gl_THREADLIB_EARLY_BODY' => 1,
  73192. + 'gl_BUILD_ISNAND' => 1,
  73193. + 'gt_INTL_MACOSX' => 1,
  73194. + 'gl_REPLACE_FCNTL' => 1,
  73195. + '_AC_TYPE_LONG_LONG_SNIPPET' => 1,
  73196. + 'gl_FOPEN_SAFER' => 1,
  73197. + 'gl_REGEX' => 1,
  73198. + 'gl_FCNTL_H' => 1,
  73199. + 'AC_LIB_PREPARE_MULTILIB' => 1,
  73200. + 'gl_INLINE' => 1,
  73201. + 'gl_FUNC_STRNLEN' => 1,
  73202. + 'gl_FUNC_WAITPID' => 1,
  73203. + 'gt_AC_TYPE_INTMAX_T' => 1,
  73204. + 'gl_PREREQ_MKDTEMP' => 1,
  73205. + 'gl_HEADER_STRING_H_DEFAULTS' => 1,
  73206. + 'gl_NEXT_HEADERS' => 1,
  73207. + 'gl_FUNC_FREXPL_WORKS' => 1,
  73208. + 'gl_DOUBLE_EXPONENT_LOCATION' => 1,
  73209. + 'gl_FLOAT_H' => 1,
  73210. + 'gl_REPLACE_VASPRINTF' => 1,
  73211. + 'gl_FILE_NAME_CONCAT' => 1,
  73212. + 'gl_REPLACE_WCHAR_H' => 1,
  73213. + 'AC_LIB_PREFIX' => 1,
  73214. + 'gl_FUNC_GETPAGESIZE' => 1,
  73215. + 'gl_STDLIB_MODULE_INDICATOR' => 1,
  73216. + 'AB_INIT' => 1,
  73217. + 'gl_PREREQ_GETTIMEOFDAY' => 1,
  73218. + 'gl_PREREQ_VASNPRINTF_FLAG_GROUPING' => 1,
  73219. + 'gl_STDBOOL_H' => 1,
  73220. + 'gl_CHECK_FREXP_NO_LIBM' => 1,
  73221. + 'gl_CLOSE_STREAM' => 1,
  73222. + 'gl_PREREQ_VASNPRINTF_DIRECTIVE_LS' => 1,
  73223. + 'AC_DEFUN_ONCE' => 1,
  73224. + 'gl_SYS_WAIT_H_DEFAULTS' => 1,
  73225. + 'gl_SPAWN_PIPE' => 1,
  73226. + 'AC_C_RESTRICT' => 1,
  73227. + 'gl_LOCALE_H' => 1,
  73228. + 'gl_PATHMAX' => 1,
  73229. + 'AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC' => 1,
  73230. + 'AC_' => 1,
  73231. + 'gl_PRINTF_PRECISION' => 1,
  73232. + 'gl_REPLACE_GETOPT' => 1,
  73233. + 'gl_FUNC_STRTOD' => 1,
  73234. + 'gl_FUNC_LSEEK' => 1,
  73235. + 'gl_STDIO_H_DEFAULTS' => 1,
  73236. + 'gl_SYS_TIME_MODULE_INDICATOR' => 1,
  73237. + 'gl_FEATURES_H' => 1,
  73238. + 'gl_FUNC_PUTENV' => 1,
  73239. + 'gl_MBRTOWC_SANITYCHECK' => 1,
  73240. + 'gl_FUNC_VASPRINTF_POSIX' => 1,
  73241. + 'AC_LIB_WITH_FINAL_PREFIX' => 1,
  73242. + 'gl_CLOSEIN' => 1,
  73243. + 'gt_TYPE_WINT_T' => 1,
  73244. + 'gl_FUNC_FREXP_WORKS' => 1,
  73245. + 'M4_REPLACE_FUNCS' => 1,
  73246. + 'gl_PREREQ_VASNPRINTF' => 1,
  73247. + 'AM_PROG_CC_C_O' => 1,
  73248. + 'gl_HEADER_SYS_STAT_H' => 1,
  73249. + 'gl_MBRTOWC_NUL_RETVAL' => 1,
  73250. + 'gl_FATAL_SIGNAL' => 1,
  73251. + 'm4_include' => 1,
  73252. + 'gl_BUILD_ISNANL' => 1,
  73253. + 'gl_FUNC_READLINK' => 1,
  73254. + 'gl_PREREQ_BTOWC' => 1,
  73255. + '_AC_AM_CONFIG_HEADER_HOOK' => 1,
  73256. + 'gl_PREREQ_LOCK' => 1,
  73257. + 'gl_PRINTF_LONG_DOUBLE' => 1,
  73258. + 'gl_FUNC_NL_LANGINFO' => 1,
  73259. + 'gl_SIGNAL_MODULE_INDICATOR' => 1,
  73260. + 'AM_MAKE_INCLUDE' => 1,
  73261. + 'gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE' => 1,
  73262. + 'gl_INTEGER_TYPE_SUFFIX' => 1,
  73263. + 'gl_NEXT_HEADERS_INTERNAL' => 1,
  73264. + 'gl_SPAWN_H_DEFAULTS' => 1,
  73265. + 'gl_REPLACE_OPEN' => 1,
  73266. + 'gl_HAVE_ISNANF_IN_LIBM' => 1,
  73267. + 'gl_PREREQ_MKSTEMP' => 1,
  73268. + 'gl_PREREQ_VASNPRINTF_WITH_EXTRAS' => 1,
  73269. + 'M4_INIT' => 1,
  73270. + 'gl_PREREQ_STRSIGNAL' => 1,
  73271. + 'gl_FUNC_LINK' => 1,
  73272. + 'gl_CXX_CHOICE_DEFAULT_NO' => 1,
  73273. + 'AM_MISSING_HAS_RUN' => 1,
  73274. + 'gl_PREREQ_GETOPT' => 1,
  73275. + 'gl_PREREQ_MEMCHR' => 1,
  73276. + 'gl_SIGNBIT_TEST_PROGRAM' => 1,
  73277. + 'AC_TYPE_LONG_LONG_INT' => 1,
  73278. + 'gl_EXECUTE' => 1,
  73279. + 'gl_FUNC_GETDTABLESIZE' => 1,
  73280. + 'gl_FUNC_WCRTOMB' => 1,
  73281. + 'AC_LIB_PROG_LD_GNU' => 1,
  73282. + 'gl_CHECK_NEXT_HEADERS' => 1,
  73283. + '_AM_CONFIG_MACRO_DIRS' => 1,
  73284. + 'gl_FUNC_FPURGE' => 1,
  73285. + 'gl_POSIX_SPAWN_INTERNAL' => 1,
  73286. + 'gl_STDIO_MODULE_INDICATOR' => 1,
  73287. + 'gl_STDINT_H' => 1,
  73288. + 'gl_POSIX_SPAWN_WORKS' => 1,
  73289. + 'gl_TMPFILE_SAFER' => 1,
  73290. + 'gl_FUNC_STAT' => 1,
  73291. + 'gl_FUNC_FTELL' => 1,
  73292. + 'gl_SYS_STAT_H_DEFAULTS' => 1,
  73293. + 'gl_PREREQ_ALLOCA' => 1,
  73294. + 'AC_FUNC_ERROR_AT_LINE' => 1,
  73295. + 'gl_PREREQ_XMALLOC' => 1,
  73296. + 'gl_MODULE_INDICATOR_FOR_TESTS' => 1,
  73297. + 'AC_FUNC_MBRTOWC' => 1,
  73298. + 'gl_TLS' => 1,
  73299. + 'AC_COMPUTE_INT' => 1,
  73300. + 'gl_FUNC_FCNTL' => 1,
  73301. + 'gl_HAVE_FSEEKO' => 1,
  73302. + 'gl_PRINTF_SIZES_C99' => 1,
  73303. + '_AM_IF_OPTION' => 1,
  73304. + 'm4_pattern_allow' => 1,
  73305. + 'gl_CHECK_TYPES_SIGNED' => 1,
  73306. + 'gl_PROG_ANSI_CXX' => 1,
  73307. + 'gl_HEADER_STRING_H_BODY' => 1,
  73308. + 'AM_SET_LEADING_DOT' => 1,
  73309. + 'gl_VSNPRINTF_ZEROSIZE_C99' => 1,
  73310. + 'gl_WARN_ON_USE_PREPARE' => 1,
  73311. + 'gl_FUNC_STRTOL' => 1,
  73312. + 'M4tests_LIBSOURCES' => 1,
  73313. + 'AC_LIB_LINKFLAGS' => 1,
  73314. + 'gl_FUNC_FCLOSE' => 1,
  73315. + 'gl_PREREQ_STRNLEN' => 1,
  73316. + 'gl_SCHED_H' => 1,
  73317. + 'gl_MBSTATE_T_BROKEN' => 1,
  73318. + 'gl_FUNC_SETENV' => 1,
  73319. + 'gl_EEREALLOC' => 1,
  73320. + 'gl_STDLIB_H' => 1,
  73321. + 'gl_FUNC_CLOSE' => 1,
  73322. + 'gl_REPLACE_LSEEK' => 1,
  73323. + 'gl_LIBSIGSEGV' => 1,
  73324. + 'gl_STDDEF_MODULE_INDICATOR' => 1,
  73325. + 'gl_PRINTF_ENOMEM' => 1,
  73326. + 'gl_PREREQ_MBRTOWC' => 1,
  73327. + 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
  73328. + 'gl_WCHAR_H_INLINE_OK' => 1,
  73329. + 'M4_FILE_LIST' => 1,
  73330. + 'gl_FUNC_SETLOCALE' => 1,
  73331. + 'gl_WAIT_PROCESS' => 1,
  73332. + 'gl_STRING_MODULE_INDICATOR' => 1,
  73333. + 'gl_FUNC_LSTAT' => 1,
  73334. + 'gl_FUNC_STRSIGNAL' => 1,
  73335. + 'gl_XVASPRINTF' => 1,
  73336. + 'gl_PREREQ_FOPEN' => 1,
  73337. + 'gl_PREREQ_STRERROR' => 1,
  73338. + 'AM_INIT_AUTOMAKE' => 1,
  73339. + 'gl_LOCK' => 1,
  73340. + 'gl_SNPRINTF_RETVAL_C99' => 1,
  73341. + 'gl_LOCALE_H_DEFAULTS' => 1,
  73342. + 'gt_TYPE_WCHAR_T' => 1,
  73343. + 'gl_WCHAR_H' => 1,
  73344. + 'gl_COMMON' => 1,
  73345. + 'gl_FUNC_ALLOCA' => 1,
  73346. + 'gl_FUNC_LDEXP' => 1,
  73347. + 'gl_WCTYPE_H' => 1,
  73348. + 'gl_FUNC_WCTOB' => 1,
  73349. + 'gl_FUNC_GETOPT_GNU' => 1,
  73350. + 'gl_PREREQ_STRDUP' => 1,
  73351. + 'gl_SPAWN_H' => 1,
  73352. + 'gl_CHECK_FREXPL_NO_LIBM' => 1,
  73353. + 'AM_AUX_DIR_EXPAND' => 1,
  73354. + 'gl_HEADER_SYS_TIME_H_BODY' => 1,
  73355. + 'gl_FUNC_SETENV_SEPARATE' => 1,
  73356. + 'gl_GLIBC21' => 1,
  73357. + 'gl_HAVE_ISNANL_IN_LIBM' => 1,
  73358. + 'AC_LIB_LINKFLAGS_FROM_LIBS' => 1,
  73359. + 'gl_WCHAR_MODULE_INDICATOR' => 1,
  73360. + 'gl_PREREQ_VASPRINTF_H' => 1,
  73361. + '_AM_SET_OPTIONS' => 1,
  73362. + 'gl_FUNC_MBTOWC' => 1,
  73363. + '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
  73364. + 'gl_PREREQ_STRCHRNUL' => 1,
  73365. + 'AC_LIB_LINKFLAGS_BODY' => 1,
  73366. + 'gl_FUNC_RAWMEMCHR' => 1,
  73367. + 'gl_GETOPT_CHECK_HEADERS' => 1,
  73368. + 'gl_PRINTF_DIRECTIVE_LS' => 1,
  73369. + 'gl_STDINT_INCLUDES' => 1,
  73370. + 'AC_TYPE_UNSIGNED_LONG_LONG_INT' => 1,
  73371. + '_AM_MANGLE_OPTION' => 1,
  73372. + 'gl_PRINTF_FLAG_GROUPING' => 1,
  73373. + 'gl_FUNC_FREXPL_NO_LIBM' => 1,
  73374. + 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
  73375. + 'AM_SET_DEPDIR' => 1,
  73376. + 'gl_FUNC_FOPEN' => 1,
  73377. + 'gl_FUNC_STRCHRNUL' => 1,
  73378. + 'gl_REPLACE_DUP2' => 1,
  73379. + 'AC_CHECK_HEADER_STDBOOL' => 1,
  73380. + 'gl_REPLACE_FCLOSE' => 1,
  73381. + 'gl_FUNC_ISNANF' => 1,
  73382. + 'gl_HAVE_ISNAND_NO_LIBM' => 1,
  73383. + 'gl_CANONICALIZE_LGPL_SEPARATE' => 1,
  73384. + 'gl_PREREQ_VASNPRINTF_PRECISION' => 1,
  73385. + 'AC_DEFUN' => 1,
  73386. + 'gl_PREREQ_SIGACTION' => 1,
  73387. + 'gl_FUNC_GETTIMEOFDAY' => 1,
  73388. + 'AM_PROG_MKDIR_P' => 1,
  73389. + 'gl_WARN_ADD' => 1,
  73390. + 'gl_FLOATTYPE_SIGNBIT_CODE' => 1,
  73391. + 'AM_AUTOMAKE_VERSION' => 1,
  73392. + 'gl_SIZE_MAX' => 1,
  73393. + 'AC_LIB_RPATH' => 1,
  73394. + 'gl_LOCALE_MODULE_INDICATOR' => 1,
  73395. + 'gl_FUNC_GLIBC_UNLOCKED_IO' => 1,
  73396. + 'gl_FUNC_GEN_TEMPNAME' => 1,
  73397. + 'AM_MISSING_PROG' => 1,
  73398. + 'gl_PREREQ_SIG_HANDLER_H' => 1,
  73399. + 'gl_FUNC_OPEN' => 1,
  73400. + 'gl_PRINTF_DIRECTIVE_A' => 1,
  73401. + 'M4_LIBOBJ' => 1,
  73402. + 'gl_REPLACE_SNPRINTF' => 1,
  73403. + 'gl_INCLUDE_NEXT' => 1,
  73404. + 'gl_HEADER_SYS_TIME_H' => 1,
  73405. + 'AM_PROG_INSTALL_STRIP' => 1,
  73406. + 'M4tests_LIBOBJ' => 1,
  73407. + 'gl_POSIX_SPAWN_BODY' => 1,
  73408. + 'gl_PREREQ_STRTOD' => 1,
  73409. + 'gl_MULTIARCH' => 1,
  73410. + 'gl_MANYWARN_ALL_GCC' => 1,
  73411. + 'gl_LONG_DOUBLE_SIGN_LOCATION' => 1,
  73412. + 'gl_DOUBLE_SIGN_LOCATION' => 1,
  73413. + 'gl_MANYWARN_COMPLEMENT' => 1,
  73414. + '_AM_PROG_TAR' => 1,
  73415. + 'gl_HEADER_ERRNO_H' => 1,
  73416. + 'gl_FUNC_PRINTF_FREXPL' => 1,
  73417. + 'gl_FUNC_ISNANL_NO_LIBM' => 1,
  73418. + 'gl_FUNC_STRERROR_SEPARATE' => 1,
  73419. + 'gl_SYS_WAIT_H' => 1,
  73420. + 'gl_SNPRINTF_TRUNCATION_C99' => 1,
  73421. + 'gl_REPLACE_SPAWN_H' => 1,
  73422. + 'gl_FUNC_MKSTEMP' => 1,
  73423. + 'gl_XSTRNDUP' => 1,
  73424. + 'gl_ERROR' => 1,
  73425. + 'gl_FLOATTYPE_SIGN_LOCATION' => 1,
  73426. + 'gl_ASSERT_NO_GNULIB_TESTS' => 1,
  73427. + '_AM_SUBST_NOTMAKE' => 1,
  73428. + 'gl_PREREQ_FFLUSH' => 1,
  73429. + 'gl_00GNULIB' => 1,
  73430. + 'gl_UNISTD_SAFER' => 1,
  73431. + 'gl_FUNC_FTELLO' => 1,
  73432. + 'M4_WITH_DMALLOC' => 1,
  73433. + 'AC_USE_SYSTEM_EXTENSIONS' => 1,
  73434. + 'gl_MATH_MODULE_INDICATOR' => 1,
  73435. + 'gl_FUNC_RMDIR' => 1,
  73436. + 'gl_ENVIRON' => 1,
  73437. + 'AU_DEFUN' => 1,
  73438. + 'gl_THREADLIB_BODY' => 1,
  73439. + 'gl_MBRTOWC_RETVAL' => 1,
  73440. + 'gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST' => 1,
  73441. + 'AC_LIB_HAVE_LINKFLAGS' => 1,
  73442. + 'gl_FCNTL_MODULE_INDICATOR' => 1,
  73443. + 'gl_LONG_DOUBLE_EXPONENT_LOCATION' => 1,
  73444. + 'gl_FUNC_STRDUP_POSIX' => 1,
  73445. + '_AM_SET_OPTION' => 1,
  73446. + 'gl_FUNC_GETOPT_POSIX' => 1,
  73447. + 'gl_LOCALENAME' => 1,
  73448. + 'gl_PREREQ_VASNPRINTF_FLAG_ZERO' => 1,
  73449. + 'gl_PREREQ_OPEN' => 1,
  73450. + 'gl_FLOAT_EXPONENT_LOCATION' => 1,
  73451. + 'gl_FUNC_VASPRINTF' => 1,
  73452. + 'AM_STDBOOL_H' => 1,
  73453. + 'gl_HEADER_STRING_H' => 1,
  73454. + 'gl_MBRTOWC_NULL_ARG2' => 1,
  73455. + 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
  73456. + 'gl_EEALLOC' => 1,
  73457. + 'gl_FUNC_PRINTF_FREXP' => 1,
  73458. + 'gl_COMMON_BODY' => 1,
  73459. + 'gl_FUNC_GETTIMEOFDAY_CLOBBER' => 1,
  73460. + 'gl_REPLACE_FTELLO' => 1,
  73461. + 'gl_PREREQ_ERROR' => 1,
  73462. + 'gl_PREREQ_PRINTF_PARSE' => 1,
  73463. + 'gl_FUNC_ISNAND_NO_LIBM' => 1,
  73464. + 'gl_PRINTF_FLAG_ZERO' => 1,
  73465. + 'gl_FUNC_MBRTOWC' => 1,
  73466. + 'gl_STDIN_LARGE_OFFSET' => 1,
  73467. + 'gl_FUNC_UNSETENV' => 1,
  73468. + 'gl_STDINT_BITSIZEOF' => 1,
  73469. + 'gl_FUNC_ISNANL_WORKS' => 1,
  73470. + 'gl_MBRTOWC_NULL_ARG1' => 1,
  73471. + 'gl_FUNC_FREXP' => 1,
  73472. + 'gl_FILE_NAME_CONCAT_LGPL' => 1,
  73473. + 'gl_BIGENDIAN' => 1,
  73474. + 'AM_SILENT_RULES' => 1,
  73475. + 'gt_LOCALE_JA' => 1,
  73476. + 'include' => 1,
  73477. + 'gl_STDIO_H' => 1,
  73478. + 'gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE' => 1,
  73479. + 'gl_FUNC_RENAME' => 1,
  73480. + 'gl_CHECK_TYPE_STRUCT_TIMESPEC' => 1,
  73481. + 'gl_MODULE_INDICATOR_CONDITION' => 1,
  73482. + 'AC_LIB_APPENDTOVAR' => 1,
  73483. + 'gl_FUNC_ISNANF_NO_LIBM' => 1,
  73484. + 'gl_PREREQ_VASNPRINTF_LONG_DOUBLE' => 1,
  73485. + 'gl_LONG_DOUBLE_SIGNBIT_CODE' => 1,
  73486. + 'gl_FUNC_DUP2' => 1,
  73487. + 'gl_FP_IEEE' => 1,
  73488. + 'AM_POSTPROCESS_PO_MAKEFILE' => 1,
  73489. + 'gl_AC_TYPE_INTMAX_T' => 1,
  73490. + 'AC_TYPE_MBSTATE_T' => 1,
  73491. + 'AM_CONDITIONAL' => 1,
  73492. + 'AM_LANGINFO_CODESET' => 1,
  73493. + 'gl_AC_HEADER_INTTYPES_H' => 1,
  73494. + 'gl_WCTYPE_H_DEFAULTS' => 1,
  73495. + 'AM_PROG_INSTALL_SH' => 1,
  73496. + 'gl_HAVE_ISNAND_IN_LIBM' => 1,
  73497. + 'gl_FUNC_REALPATH_WORKS' => 1,
  73498. + 'gl_STDDEF_H' => 1,
  73499. + 'gl_STDLIB_SAFER' => 1,
  73500. + 'gl_FUNC_MMAP_ANON' => 1,
  73501. + 'GL_NOCRASH' => 1,
  73502. + 'm4_pattern_forbid' => 1,
  73503. + 'gl_TIME_MODULE_INDICATOR' => 1,
  73504. + 'AM_PO_SUBDIRS' => 1,
  73505. + 'gl_CHECK_LDEXPL_NO_LIBM' => 1,
  73506. + 'gl_DIRNAME_LGPL' => 1,
  73507. + 'AC_LIB_PREPARE_PREFIX' => 1,
  73508. + 'gl_EEMALLOC' => 1,
  73509. + 'gl_PREREQ_SIGPROCMASK' => 1,
  73510. + 'gl_FUNC_ISNANL' => 1,
  73511. + 'gl_FUNC_READLINK_SEPARATE' => 1,
  73512. + 'gl_REPLACE_CLOSE' => 1,
  73513. + 'gl_SNPRINTF_PRESENCE' => 1,
  73514. + 'gl_FCNTL_H_DEFAULTS' => 1,
  73515. + 'gl_FUNC_WCTOMB' => 1,
  73516. + 'gl_FUNC_UNGETC_WORKS' => 1,
  73517. + 'gl_FUNC_MALLOC_POSIX' => 1,
  73518. + 'gl_PREREQ_SNPRINTF' => 1,
  73519. + 'gl_FUNC_VASNPRINTF' => 1,
  73520. + 'gl_CONFIGMAKE_PREP' => 1,
  73521. + 'gl_HAVE_ISNANL_NO_LIBM' => 1,
  73522. + 'gl_SIGACTION' => 1,
  73523. + 'gl_FUNC_FREXP_NO_LIBM' => 1,
  73524. + 'gl_PREREQ_WCTOMB' => 1,
  73525. + 'gl_SYS_WAIT_MODULE_INDICATOR' => 1,
  73526. + 'gl_PREREQ_ASPRINTF' => 1,
  73527. + 'gl_THREADLIB' => 1,
  73528. + 'AM_NLS' => 1,
  73529. + 'gl_FUNC_STRERROR' => 1,
  73530. + 'gl_FUNC_PIPE2' => 1,
  73531. + 'gl_ASSERT' => 1,
  73532. + 'gl_HAVE_ISNANF_NO_LIBM' => 1,
  73533. + 'gl_LANGINFO_MODULE_INDICATOR' => 1,
  73534. + 'gl_PRINTF_INFINITE_LONG_DOUBLE' => 1,
  73535. + 'gt_CHECK_VAR_DECL' => 1,
  73536. + 'gl_FUNC_MALLOC_GNU' => 1,
  73537. + 'gl_LIST' => 1,
  73538. + 'gl_PREREQ_VASNPRINTF_DIRECTIVE_F' => 1,
  73539. + 'gl_MODULE_INDICATOR_SET_VARIABLE' => 1,
  73540. + 'gl_MATH_H_DEFAULTS' => 1,
  73541. + 'gl_USE_SYSTEM_EXTENSIONS' => 1,
  73542. + 'gl_FUNC_FSEEKO' => 1,
  73543. + 'gl_FUNC_LDEXPL' => 1,
  73544. + 'AM_DEP_TRACK' => 1,
  73545. + 'gl_REPLACE_FSEEKO' => 1,
  73546. + 'gl_THREADLIB_EARLY' => 1,
  73547. + 'gl_PREREQ_XSTRNDUP' => 1,
  73548. + 'gl_SIGNBIT' => 1,
  73549. + 'gl_FUNC_FPENDING' => 1,
  73550. + 'gl_PRINTF_POSITIONS' => 1,
  73551. + 'gl_FREOPEN_SAFER' => 1,
  73552. + 'gl_FUNC_STRDUP' => 1,
  73553. + 'gl_STDINT_TYPE_PROPERTIES' => 1,
  73554. + 'gl_PREREQ_VASNPRINTF_DIRECTIVE_A' => 1,
  73555. + 'AM_PATH_PROG_WITH_TEST' => 1,
  73556. + 'gl_FUNC_ISNAND' => 1,
  73557. + 'gl_FUNC_STRSTR' => 1,
  73558. + 'gl_FCNTL_O_FLAGS' => 1,
  73559. + 'gl_PREREQ_WCRTOMB' => 1,
  73560. + 'gl_PRINTF_DIRECTIVE_N' => 1,
  73561. + 'gl_UNISTD_H_DEFAULTS' => 1,
  73562. + '_AM_DEPENDENCIES' => 1,
  73563. + 'gl_FLOAT_SIGN_LOCATION' => 1,
  73564. + 'gl_GETTIMEOFDAY_REPLACE_LOCALTIME' => 1,
  73565. + 'gl_POSIX_SPAWN' => 1,
  73566. + 'gl_PREREQ_MBSINIT' => 1,
  73567. + 'gl_LANGINFO_H_DEFAULTS' => 1,
  73568. + 'gl_REPLACE_VASNPRINTF' => 1,
  73569. + 'gl_PREREQ_VASPRINTF' => 1,
  73570. + 'M4_LIBSOURCES' => 1,
  73571. + 'gl_SIGNAL_H_DEFAULTS' => 1,
  73572. + 'gl_PREREQ_RAWMEMCHR' => 1,
  73573. + 'gl_XSIZE' => 1,
  73574. + 'gl_HEADER_TIME_H' => 1,
  73575. + 'gl_FUNC_MEMCHR' => 1,
  73576. + 'gl_REPLACE_LOCALE_H' => 1,
  73577. + 'gl_PREREQ_REGEX' => 1,
  73578. + 'gl_HAVE_POSIX_SPAWN' => 1,
  73579. + 'gl_MALLOCA' => 1,
  73580. + 'gl_FUNC_FREXPL' => 1,
  73581. + 'gl_CONFIG_H' => 1,
  73582. + 'gt_TMPDIR' => 1,
  73583. + 'AC_PROG_MKDIR_P' => 1,
  73584. + 'gl_PRINTF_DIRECTIVE_F' => 1,
  73585. + 'gl_REPLACE_ERRNO_VALUE' => 1,
  73586. + 'gl_SIGNAL_H' => 1,
  73587. + 'gt_LOCALE_FR' => 1,
  73588. + 'gl_CLOEXEC' => 1,
  73589. + 'gl_PRINTF_FLAG_LEFTADJUST' => 1,
  73590. + 'gl_PREREQ_READLINK' => 1,
  73591. + 'gl_HEADER_TIME_H_DEFAULTS' => 1,
  73592. + 'gl_REPLACE_FFLUSH' => 1,
  73593. + 'gl_MBRTOWC_INCOMPLETE_STATE' => 1,
  73594. + 'gl_GETOPT_IFELSE' => 1,
  73595. + 'gl_QUOTEARG' => 1,
  73596. + 'gl_FUNC_CANONICALIZE_FILENAME_MODE' => 1,
  73597. + 'gl_DISABLE_THREADS' => 1,
  73598. + 'gl_MODULE_INDICATOR' => 1,
  73599. + 'gl_FUNC_SYMLINK' => 1,
  73600. + 'gl_CHECK_MALLOC_POSIX' => 1,
  73601. + 'gl_FUNC_FFLUSH' => 1,
  73602. + 'gl_UNISTD_H' => 1,
  73603. + 'gl_STDLIB_H_DEFAULTS' => 1,
  73604. + 'gl_PREREQ_WCTOB' => 1,
  73605. + 'gl_PREREQ_SETENV' => 1,
  73606. + 'gl_SNPRINTF_SIZE1' => 1,
  73607. + 'gl_PREREQ_C_STACK' => 1,
  73608. + 'gl_MATH_H' => 1,
  73609. + 'AM_RUN_LOG' => 1,
  73610. + 'gl_FUNC_FREADING' => 1,
  73611. + 'gt_LOCALE_FR_UTF8' => 1,
  73612. + 'gl_FUNC_LDEXPL_WORKS' => 1,
  73613. + 'gt_LOCALE_ZH_CN' => 1,
  73614. + 'gl_REPLACE_MALLOC' => 1,
  73615. + 'gl_CLOSEOUT' => 1,
  73616. + 'M4tests_REPLACE_FUNCS' => 1,
  73617. + 'gl_PREREQ_VASNPRINTF_ENOMEM' => 1,
  73618. + 'AC_LIB_FROMPACKAGE' => 1,
  73619. + 'gt_LC_MESSAGES' => 1,
  73620. + 'AM_XGETTEXT_OPTION' => 1,
  73621. + 'gl_LANGINFO_H' => 1,
  73622. + 'gl_CXX_CHOICE' => 1,
  73623. + 'gl_SPAWN_MODULE_INDICATOR' => 1,
  73624. + 'gl_PREREQ_UNSETENV' => 1,
  73625. + 'gl_ASSERT_NO_GNULIB_POSIXCHECK' => 1,
  73626. + 'gl_ISNANF_WORKS' => 1,
  73627. + 'gl_PRINTF_INFINITE' => 1,
  73628. + 'gl_POPEN_SAFER' => 1,
  73629. + 'gl_WCTYPE_MODULE_INDICATOR' => 1,
  73630. + 'gl_HEADER_TIME_H_BODY' => 1,
  73631. + 'gl_STDARG_H' => 1,
  73632. + 'AC_LIB_PROG_LD' => 1,
  73633. + 'gl_LOCALCHARSET' => 1,
  73634. + 'gl_SNPRINTF_DIRECTIVE_N' => 1
  73635. + }
  73636. + ], 'Autom4te::Request' ),
  73637. + bless( [
  73638. + '1',
  73639. + 1,
  73640. + [
  73641. + '/usr/share/autoconf'
  73642. + ],
  73643. + [
  73644. + '/usr/share/autoconf/autoconf/autoconf.m4f',
  73645. + 'aclocal.m4',
  73646. + 'configure.ac'
  73647. + ],
  73648. + {
  73649. + 'AM_PROG_F77_C_O' => 1,
  73650. + '_LT_AC_TAGCONFIG' => 1,
  73651. + 'AC_INIT' => 1,
  73652. + 'm4_pattern_forbid' => 1,
  73653. + 'AC_CANONICAL_TARGET' => 1,
  73654. + '_AM_COND_IF' => 1,
  73655. + 'AC_CONFIG_LIBOBJ_DIR' => 1,
  73656. + 'AC_SUBST' => 1,
  73657. + 'AM_EXTRA_RECURSIVE_TARGETS' => 1,
  73658. + 'AC_CANONICAL_HOST' => 1,
  73659. + 'AC_FC_SRCEXT' => 1,
  73660. + 'AC_PROG_LIBTOOL' => 1,
  73661. + 'AM_PROG_MKDIR_P' => 1,
  73662. + 'AM_INIT_AUTOMAKE' => 1,
  73663. + 'AC_CONFIG_SUBDIRS' => 1,
  73664. + 'AM_PATH_GUILE' => 1,
  73665. + 'AM_AUTOMAKE_VERSION' => 1,
  73666. + 'LT_CONFIG_LTDL_DIR' => 1,
  73667. + 'AC_CONFIG_LINKS' => 1,
  73668. + 'AC_REQUIRE_AUX_FILE' => 1,
  73669. + 'LT_SUPPORTED_TAG' => 1,
  73670. + 'm4_sinclude' => 1,
  73671. + 'AM_MAINTAINER_MODE' => 1,
  73672. + 'AM_NLS' => 1,
  73673. + 'AC_FC_PP_DEFINE' => 1,
  73674. + 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
  73675. + '_m4_warn' => 1,
  73676. + 'AM_MAKEFILE_INCLUDE' => 1,
  73677. + 'AM_PROG_CXX_C_O' => 1,
  73678. + '_AM_MAKEFILE_INCLUDE' => 1,
  73679. + '_AM_COND_ENDIF' => 1,
  73680. + 'AM_ENABLE_MULTILIB' => 1,
  73681. + 'AM_SILENT_RULES' => 1,
  73682. + 'AM_PROG_MOC' => 1,
  73683. + 'AC_CONFIG_FILES' => 1,
  73684. + 'include' => 1,
  73685. + 'LT_INIT' => 1,
  73686. + 'AM_GNU_GETTEXT' => 1,
  73687. + 'AM_PROG_AR' => 1,
  73688. + 'AC_LIBSOURCE' => 1,
  73689. + 'AC_CANONICAL_BUILD' => 1,
  73690. + 'AM_PROG_FC_C_O' => 1,
  73691. + 'AC_FC_FREEFORM' => 1,
  73692. + 'AC_FC_PP_SRCEXT' => 1,
  73693. + 'AH_OUTPUT' => 1,
  73694. + 'AC_CONFIG_AUX_DIR' => 1,
  73695. + '_AM_SUBST_NOTMAKE' => 1,
  73696. + 'm4_pattern_allow' => 1,
  73697. + 'AM_PROG_CC_C_O' => 1,
  73698. + 'sinclude' => 1,
  73699. + 'AM_CONDITIONAL' => 1,
  73700. + 'AC_CANONICAL_SYSTEM' => 1,
  73701. + 'AM_XGETTEXT_OPTION' => 1,
  73702. + 'AC_CONFIG_HEADERS' => 1,
  73703. + 'AC_DEFINE_TRACE_LITERAL' => 1,
  73704. + 'AM_POT_TOOLS' => 1,
  73705. + 'm4_include' => 1,
  73706. + '_AM_COND_ELSE' => 1,
  73707. + 'AC_SUBST_TRACE' => 1
  73708. + }
  73709. + ], 'Autom4te::Request' )
  73710. + );
  73711. +
  73712. diff -Nur m4-1.4.16.orig/autom4te.cache/traces.0 m4-1.4.16/autom4te.cache/traces.0
  73713. --- m4-1.4.16.orig/autom4te.cache/traces.0 1970-01-01 01:00:00.000000000 +0100
  73714. +++ m4-1.4.16/autom4te.cache/traces.0 2013-09-04 14:47:42.000000000 +0200
  73715. @@ -0,0 +1,19304 @@
  73716. +m4trace:/usr/share/aclocal/nls.m4:23: -1- AC_DEFUN([AM_NLS], [
  73717. + AC_MSG_CHECKING([whether NLS is requested])
  73718. + dnl Default is enabled NLS
  73719. + AC_ARG_ENABLE([nls],
  73720. + [ --disable-nls do not use Native Language Support],
  73721. + USE_NLS=$enableval, USE_NLS=yes)
  73722. + AC_MSG_RESULT([$USE_NLS])
  73723. + AC_SUBST([USE_NLS])
  73724. +])
  73725. +m4trace:/usr/share/aclocal/po.m4:23: -1- AC_DEFUN([AM_PO_SUBDIRS], [
  73726. + AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  73727. + AC_REQUIRE([AC_PROG_INSTALL])dnl
  73728. + AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  73729. + AC_REQUIRE([AM_NLS])dnl
  73730. +
  73731. + dnl Release version of the gettext macros. This is used to ensure that
  73732. + dnl the gettext macros and po/Makefile.in.in are in sync.
  73733. + AC_SUBST([GETTEXT_MACRO_VERSION], [0.18])
  73734. +
  73735. + dnl Perform the following tests also if --disable-nls has been given,
  73736. + dnl because they are needed for "make dist" to work.
  73737. +
  73738. + dnl Search for GNU msgfmt in the PATH.
  73739. + dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
  73740. + dnl The second test excludes FreeBSD msgfmt.
  73741. + AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
  73742. + [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
  73743. + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
  73744. + :)
  73745. + AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT])
  73746. +
  73747. + dnl Test whether it is GNU msgfmt >= 0.15.
  73748. +changequote(,)dnl
  73749. + case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
  73750. + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
  73751. + *) MSGFMT_015=$MSGFMT ;;
  73752. + esac
  73753. +changequote([,])dnl
  73754. + AC_SUBST([MSGFMT_015])
  73755. +changequote(,)dnl
  73756. + case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
  73757. + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
  73758. + *) GMSGFMT_015=$GMSGFMT ;;
  73759. + esac
  73760. +changequote([,])dnl
  73761. + AC_SUBST([GMSGFMT_015])
  73762. +
  73763. + dnl Search for GNU xgettext 0.12 or newer in the PATH.
  73764. + dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
  73765. + dnl The second test excludes FreeBSD xgettext.
  73766. + AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
  73767. + [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
  73768. + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
  73769. + :)
  73770. + dnl Remove leftover from FreeBSD xgettext call.
  73771. + rm -f messages.po
  73772. +
  73773. + dnl Test whether it is GNU xgettext >= 0.15.
  73774. +changequote(,)dnl
  73775. + case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
  73776. + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
  73777. + *) XGETTEXT_015=$XGETTEXT ;;
  73778. + esac
  73779. +changequote([,])dnl
  73780. + AC_SUBST([XGETTEXT_015])
  73781. +
  73782. + dnl Search for GNU msgmerge 0.11 or newer in the PATH.
  73783. + AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
  73784. + [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
  73785. +
  73786. + dnl Installation directories.
  73787. + dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we
  73788. + dnl have to define it here, so that it can be used in po/Makefile.
  73789. + test -n "$localedir" || localedir='${datadir}/locale'
  73790. + AC_SUBST([localedir])
  73791. +
  73792. + dnl Support for AM_XGETTEXT_OPTION.
  73793. + test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
  73794. + AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
  73795. +
  73796. + AC_CONFIG_COMMANDS([po-directories], [[
  73797. + for ac_file in $CONFIG_FILES; do
  73798. + # Support "outfile[:infile[:infile...]]"
  73799. + case "$ac_file" in
  73800. + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  73801. + esac
  73802. + # PO directories have a Makefile.in generated from Makefile.in.in.
  73803. + case "$ac_file" in */Makefile.in)
  73804. + # Adjust a relative srcdir.
  73805. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
  73806. + ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
  73807. + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
  73808. + # In autoconf-2.13 it is called $ac_given_srcdir.
  73809. + # In autoconf-2.50 it is called $srcdir.
  73810. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
  73811. + case "$ac_given_srcdir" in
  73812. + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
  73813. + /*) top_srcdir="$ac_given_srcdir" ;;
  73814. + *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
  73815. + esac
  73816. + # Treat a directory as a PO directory if and only if it has a
  73817. + # POTFILES.in file. This allows packages to have multiple PO
  73818. + # directories under different names or in different locations.
  73819. + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
  73820. + rm -f "$ac_dir/POTFILES"
  73821. + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
  73822. + gt_tab=`printf '\t'`
  73823. + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
  73824. + POMAKEFILEDEPS="POTFILES.in"
  73825. + # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
  73826. + # on $ac_dir but don't depend on user-specified configuration
  73827. + # parameters.
  73828. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
  73829. + # The LINGUAS file contains the set of available languages.
  73830. + if test -n "$OBSOLETE_ALL_LINGUAS"; then
  73831. + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
  73832. + fi
  73833. + ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
  73834. + # Hide the ALL_LINGUAS assignment from automake < 1.5.
  73835. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
  73836. + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
  73837. + else
  73838. + # The set of available languages was given in configure.in.
  73839. + # Hide the ALL_LINGUAS assignment from automake < 1.5.
  73840. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
  73841. + fi
  73842. + # Compute POFILES
  73843. + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
  73844. + # Compute UPDATEPOFILES
  73845. + # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
  73846. + # Compute DUMMYPOFILES
  73847. + # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
  73848. + # Compute GMOFILES
  73849. + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
  73850. + case "$ac_given_srcdir" in
  73851. + .) srcdirpre= ;;
  73852. + *) srcdirpre='$(srcdir)/' ;;
  73853. + esac
  73854. + POFILES=
  73855. + UPDATEPOFILES=
  73856. + DUMMYPOFILES=
  73857. + GMOFILES=
  73858. + for lang in $ALL_LINGUAS; do
  73859. + POFILES="$POFILES $srcdirpre$lang.po"
  73860. + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
  73861. + DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
  73862. + GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
  73863. + done
  73864. + # CATALOGS depends on both $ac_dir and the user's LINGUAS
  73865. + # environment variable.
  73866. + INST_LINGUAS=
  73867. + if test -n "$ALL_LINGUAS"; then
  73868. + for presentlang in $ALL_LINGUAS; do
  73869. + useit=no
  73870. + if test "%UNSET%" != "$LINGUAS"; then
  73871. + desiredlanguages="$LINGUAS"
  73872. + else
  73873. + desiredlanguages="$ALL_LINGUAS"
  73874. + fi
  73875. + for desiredlang in $desiredlanguages; do
  73876. + # Use the presentlang catalog if desiredlang is
  73877. + # a. equal to presentlang, or
  73878. + # b. a variant of presentlang (because in this case,
  73879. + # presentlang can be used as a fallback for messages
  73880. + # which are not translated in the desiredlang catalog).
  73881. + case "$desiredlang" in
  73882. + "$presentlang"*) useit=yes;;
  73883. + esac
  73884. + done
  73885. + if test $useit = yes; then
  73886. + INST_LINGUAS="$INST_LINGUAS $presentlang"
  73887. + fi
  73888. + done
  73889. + fi
  73890. + CATALOGS=
  73891. + if test -n "$INST_LINGUAS"; then
  73892. + for lang in $INST_LINGUAS; do
  73893. + CATALOGS="$CATALOGS $lang.gmo"
  73894. + done
  73895. + fi
  73896. + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
  73897. + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
  73898. + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
  73899. + if test -f "$f"; then
  73900. + case "$f" in
  73901. + *.orig | *.bak | *~) ;;
  73902. + *) cat "$f" >> "$ac_dir/Makefile" ;;
  73903. + esac
  73904. + fi
  73905. + done
  73906. + fi
  73907. + ;;
  73908. + esac
  73909. + done]],
  73910. + [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
  73911. + # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
  73912. + # from automake < 1.5.
  73913. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
  73914. + # Capture the value of LINGUAS because we need it to compute CATALOGS.
  73915. + LINGUAS="${LINGUAS-%UNSET%}"
  73916. + ])
  73917. +])
  73918. +m4trace:/usr/share/aclocal/po.m4:219: -1- AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [
  73919. + # When this code is run, in config.status, two variables have already been
  73920. + # set:
  73921. + # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
  73922. + # - LINGUAS is the value of the environment variable LINGUAS at configure
  73923. + # time.
  73924. +
  73925. +changequote(,)dnl
  73926. + # Adjust a relative srcdir.
  73927. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
  73928. + ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
  73929. + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
  73930. + # In autoconf-2.13 it is called $ac_given_srcdir.
  73931. + # In autoconf-2.50 it is called $srcdir.
  73932. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
  73933. + case "$ac_given_srcdir" in
  73934. + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
  73935. + /*) top_srcdir="$ac_given_srcdir" ;;
  73936. + *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
  73937. + esac
  73938. +
  73939. + # Find a way to echo strings without interpreting backslash.
  73940. + if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
  73941. + gt_echo='echo'
  73942. + else
  73943. + if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
  73944. + gt_echo='printf %s\n'
  73945. + else
  73946. + echo_func () {
  73947. + cat <<EOT
  73948. +$*
  73949. +EOT
  73950. + }
  73951. + gt_echo='echo_func'
  73952. + fi
  73953. + fi
  73954. +
  73955. + # A sed script that extracts the value of VARIABLE from a Makefile.
  73956. + tab=`printf '\t'`
  73957. + sed_x_variable='
  73958. +# Test if the hold space is empty.
  73959. +x
  73960. +s/P/P/
  73961. +x
  73962. +ta
  73963. +# Yes it was empty. Look if we have the expected variable definition.
  73964. +/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=/{
  73965. + # Seen the first line of the variable definition.
  73966. + s/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=//
  73967. + ba
  73968. +}
  73969. +bd
  73970. +:a
  73971. +# Here we are processing a line from the variable definition.
  73972. +# Remove comment, more precisely replace it with a space.
  73973. +s/#.*$/ /
  73974. +# See if the line ends in a backslash.
  73975. +tb
  73976. +:b
  73977. +s/\\$//
  73978. +# Print the line, without the trailing backslash.
  73979. +p
  73980. +tc
  73981. +# There was no trailing backslash. The end of the variable definition is
  73982. +# reached. Clear the hold space.
  73983. +s/^.*$//
  73984. +x
  73985. +bd
  73986. +:c
  73987. +# A trailing backslash means that the variable definition continues in the
  73988. +# next line. Put a nonempty string into the hold space to indicate this.
  73989. +s/^.*$/P/
  73990. +x
  73991. +:d
  73992. +'
  73993. +changequote([,])dnl
  73994. +
  73995. + # Set POTFILES to the value of the Makefile variable POTFILES.
  73996. + sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
  73997. + POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
  73998. + # Compute POTFILES_DEPS as
  73999. + # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
  74000. + POTFILES_DEPS=
  74001. + for file in $POTFILES; do
  74002. + POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
  74003. + done
  74004. + POMAKEFILEDEPS=""
  74005. +
  74006. + if test -n "$OBSOLETE_ALL_LINGUAS"; then
  74007. + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
  74008. + fi
  74009. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
  74010. + # The LINGUAS file contains the set of available languages.
  74011. + ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
  74012. + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
  74013. + else
  74014. + # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
  74015. + sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
  74016. + ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
  74017. + fi
  74018. + # Hide the ALL_LINGUAS assignment from automake < 1.5.
  74019. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
  74020. + # Compute POFILES
  74021. + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
  74022. + # Compute UPDATEPOFILES
  74023. + # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
  74024. + # Compute DUMMYPOFILES
  74025. + # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
  74026. + # Compute GMOFILES
  74027. + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
  74028. + # Compute PROPERTIESFILES
  74029. + # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
  74030. + # Compute CLASSFILES
  74031. + # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
  74032. + # Compute QMFILES
  74033. + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
  74034. + # Compute MSGFILES
  74035. + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
  74036. + # Compute RESOURCESDLLFILES
  74037. + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
  74038. + case "$ac_given_srcdir" in
  74039. + .) srcdirpre= ;;
  74040. + *) srcdirpre='$(srcdir)/' ;;
  74041. + esac
  74042. + POFILES=
  74043. + UPDATEPOFILES=
  74044. + DUMMYPOFILES=
  74045. + GMOFILES=
  74046. + PROPERTIESFILES=
  74047. + CLASSFILES=
  74048. + QMFILES=
  74049. + MSGFILES=
  74050. + RESOURCESDLLFILES=
  74051. + for lang in $ALL_LINGUAS; do
  74052. + POFILES="$POFILES $srcdirpre$lang.po"
  74053. + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
  74054. + DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
  74055. + GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
  74056. + PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
  74057. + CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
  74058. + QMFILES="$QMFILES $srcdirpre$lang.qm"
  74059. + frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
  74060. + MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
  74061. + frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
  74062. + RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
  74063. + done
  74064. + # CATALOGS depends on both $ac_dir and the user's LINGUAS
  74065. + # environment variable.
  74066. + INST_LINGUAS=
  74067. + if test -n "$ALL_LINGUAS"; then
  74068. + for presentlang in $ALL_LINGUAS; do
  74069. + useit=no
  74070. + if test "%UNSET%" != "$LINGUAS"; then
  74071. + desiredlanguages="$LINGUAS"
  74072. + else
  74073. + desiredlanguages="$ALL_LINGUAS"
  74074. + fi
  74075. + for desiredlang in $desiredlanguages; do
  74076. + # Use the presentlang catalog if desiredlang is
  74077. + # a. equal to presentlang, or
  74078. + # b. a variant of presentlang (because in this case,
  74079. + # presentlang can be used as a fallback for messages
  74080. + # which are not translated in the desiredlang catalog).
  74081. + case "$desiredlang" in
  74082. + "$presentlang"*) useit=yes;;
  74083. + esac
  74084. + done
  74085. + if test $useit = yes; then
  74086. + INST_LINGUAS="$INST_LINGUAS $presentlang"
  74087. + fi
  74088. + done
  74089. + fi
  74090. + CATALOGS=
  74091. + JAVACATALOGS=
  74092. + QTCATALOGS=
  74093. + TCLCATALOGS=
  74094. + CSHARPCATALOGS=
  74095. + if test -n "$INST_LINGUAS"; then
  74096. + for lang in $INST_LINGUAS; do
  74097. + CATALOGS="$CATALOGS $lang.gmo"
  74098. + JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
  74099. + QTCATALOGS="$QTCATALOGS $lang.qm"
  74100. + frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
  74101. + TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
  74102. + frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
  74103. + CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
  74104. + done
  74105. + fi
  74106. +
  74107. + sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
  74108. + tab=`printf '\t'`
  74109. + if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
  74110. + # Add dependencies that cannot be formulated as a simple suffix rule.
  74111. + for lang in $ALL_LINGUAS; do
  74112. + frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
  74113. + cat >> "$ac_file.tmp" <<EOF
  74114. +$frobbedlang.msg: $lang.po
  74115. +${tab}@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
  74116. +${tab}\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
  74117. +EOF
  74118. + done
  74119. + fi
  74120. + if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
  74121. + # Add dependencies that cannot be formulated as a simple suffix rule.
  74122. + for lang in $ALL_LINGUAS; do
  74123. + frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
  74124. + cat >> "$ac_file.tmp" <<EOF
  74125. +$frobbedlang/\$(DOMAIN).resources.dll: $lang.po
  74126. +${tab}@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
  74127. +${tab}\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
  74128. +EOF
  74129. + done
  74130. + fi
  74131. + if test -n "$POMAKEFILEDEPS"; then
  74132. + cat >> "$ac_file.tmp" <<EOF
  74133. +Makefile: $POMAKEFILEDEPS
  74134. +EOF
  74135. + fi
  74136. + mv "$ac_file.tmp" "$ac_file"
  74137. +])
  74138. +m4trace:/usr/share/aclocal/po.m4:442: -1- AC_DEFUN([AM_XGETTEXT_OPTION_INIT], [
  74139. + XGETTEXT_EXTRA_OPTIONS=
  74140. +])
  74141. +m4trace:/usr/share/aclocal/po.m4:448: -1- AC_DEFUN([AM_XGETTEXT_OPTION], [
  74142. + AC_REQUIRE([AM_XGETTEXT_OPTION_INIT])
  74143. + XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
  74144. +])
  74145. +m4trace:/usr/share/aclocal/progtest.m4:25: -1- AC_DEFUN([AM_PATH_PROG_WITH_TEST], [
  74146. +# Prepare PATH_SEPARATOR.
  74147. +# The user is always right.
  74148. +if test "${PATH_SEPARATOR+set}" != set; then
  74149. + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
  74150. + # contains only /bin. Note that ksh looks also at the FPATH variable,
  74151. + # so we have to set that as well for the test.
  74152. + PATH_SEPARATOR=:
  74153. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  74154. + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  74155. + || PATH_SEPARATOR=';'
  74156. + }
  74157. +fi
  74158. +
  74159. +# Find out how to test for executable files. Don't use a zero-byte file,
  74160. +# as systems may use methods other than mode bits to determine executability.
  74161. +cat >conf$$.file <<_ASEOF
  74162. +#! /bin/sh
  74163. +exit 0
  74164. +_ASEOF
  74165. +chmod +x conf$$.file
  74166. +if test -x conf$$.file >/dev/null 2>&1; then
  74167. + ac_executable_p="test -x"
  74168. +else
  74169. + ac_executable_p="test -f"
  74170. +fi
  74171. +rm -f conf$$.file
  74172. +
  74173. +# Extract the first word of "$2", so it can be a program name with args.
  74174. +set dummy $2; ac_word=[$]2
  74175. +AC_MSG_CHECKING([for $ac_word])
  74176. +AC_CACHE_VAL([ac_cv_path_$1],
  74177. +[case "[$]$1" in
  74178. + [[\\/]]* | ?:[[\\/]]*)
  74179. + ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
  74180. + ;;
  74181. + *)
  74182. + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
  74183. + for ac_dir in ifelse([$5], , $PATH, [$5]); do
  74184. + IFS="$ac_save_IFS"
  74185. + test -z "$ac_dir" && ac_dir=.
  74186. + for ac_exec_ext in '' $ac_executable_extensions; do
  74187. + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
  74188. + echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD
  74189. + if [$3]; then
  74190. + ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
  74191. + break 2
  74192. + fi
  74193. + fi
  74194. + done
  74195. + done
  74196. + IFS="$ac_save_IFS"
  74197. +dnl If no 4th arg is given, leave the cache variable unset,
  74198. +dnl so AC_PATH_PROGS will keep looking.
  74199. +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
  74200. +])dnl
  74201. + ;;
  74202. +esac])dnl
  74203. +$1="$ac_cv_path_$1"
  74204. +if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
  74205. + AC_MSG_RESULT([$][$1])
  74206. +else
  74207. + AC_MSG_RESULT([no])
  74208. +fi
  74209. +AC_SUBST([$1])dnl
  74210. +])
  74211. +m4trace:/usr/share/aclocal-1.13/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.13'
  74212. +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  74213. +dnl require some minimum version. Point them to the right macro.
  74214. +m4_if([$1], [1.13.2], [],
  74215. + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  74216. +])
  74217. +m4trace:/usr/share/aclocal-1.13/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.13.2])dnl
  74218. +m4_ifndef([AC_AUTOCONF_VERSION],
  74219. + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  74220. +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  74221. +m4trace:/usr/share/aclocal-1.13/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
  74222. +AC_PREREQ([2.50])dnl
  74223. +# expand $ac_aux_dir to an absolute path
  74224. +am_aux_dir=`cd $ac_aux_dir && pwd`
  74225. +])
  74226. +m4trace:/usr/share/aclocal-1.13/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
  74227. + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  74228. + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  74229. +AC_SUBST([$1_TRUE])dnl
  74230. +AC_SUBST([$1_FALSE])dnl
  74231. +_AM_SUBST_NOTMAKE([$1_TRUE])dnl
  74232. +_AM_SUBST_NOTMAKE([$1_FALSE])dnl
  74233. +m4_define([_AM_COND_VALUE_$1], [$2])dnl
  74234. +if $2; then
  74235. + $1_TRUE=
  74236. + $1_FALSE='#'
  74237. +else
  74238. + $1_TRUE='#'
  74239. + $1_FALSE=
  74240. +fi
  74241. +AC_CONFIG_COMMANDS_PRE(
  74242. +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  74243. + AC_MSG_ERROR([[conditional "$1" was never defined.
  74244. +Usually this means the macro was only invoked conditionally.]])
  74245. +fi])])
  74246. +m4trace:/usr/share/aclocal-1.13/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
  74247. +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
  74248. +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  74249. +AC_REQUIRE([AM_DEP_TRACK])dnl
  74250. +
  74251. +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
  74252. + [$1], [CXX], [depcc="$CXX" am_compiler_list=],
  74253. + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  74254. + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
  74255. + [$1], [UPC], [depcc="$UPC" am_compiler_list=],
  74256. + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  74257. + [depcc="$$1" am_compiler_list=])
  74258. +
  74259. +AC_CACHE_CHECK([dependency style of $depcc],
  74260. + [am_cv_$1_dependencies_compiler_type],
  74261. +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  74262. + # We make a subdir and do the tests there. Otherwise we can end up
  74263. + # making bogus files that we don't know about and never remove. For
  74264. + # instance it was reported that on HP-UX the gcc test will end up
  74265. + # making a dummy file named 'D' -- because '-MD' means "put the output
  74266. + # in D".
  74267. + rm -rf conftest.dir
  74268. + mkdir conftest.dir
  74269. + # Copy depcomp to subdir because otherwise we won't find it if we're
  74270. + # using a relative directory.
  74271. + cp "$am_depcomp" conftest.dir
  74272. + cd conftest.dir
  74273. + # We will build objects and dependencies in a subdirectory because
  74274. + # it helps to detect inapplicable dependency modes. For instance
  74275. + # both Tru64's cc and ICC support -MD to output dependencies as a
  74276. + # side effect of compilation, but ICC will put the dependencies in
  74277. + # the current directory while Tru64 will put them in the object
  74278. + # directory.
  74279. + mkdir sub
  74280. +
  74281. + am_cv_$1_dependencies_compiler_type=none
  74282. + if test "$am_compiler_list" = ""; then
  74283. + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  74284. + fi
  74285. + am__universal=false
  74286. + m4_case([$1], [CC],
  74287. + [case " $depcc " in #(
  74288. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  74289. + esac],
  74290. + [CXX],
  74291. + [case " $depcc " in #(
  74292. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  74293. + esac])
  74294. +
  74295. + for depmode in $am_compiler_list; do
  74296. + # Setup a source with many dependencies, because some compilers
  74297. + # like to wrap large dependency lists on column 80 (with \), and
  74298. + # we should not choose a depcomp mode which is confused by this.
  74299. + #
  74300. + # We need to recreate these files for each test, as the compiler may
  74301. + # overwrite some of them when testing with obscure command lines.
  74302. + # This happens at least with the AIX C compiler.
  74303. + : > sub/conftest.c
  74304. + for i in 1 2 3 4 5 6; do
  74305. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  74306. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  74307. + # Solaris 10 /bin/sh.
  74308. + echo '/* dummy */' > sub/conftst$i.h
  74309. + done
  74310. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  74311. +
  74312. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  74313. + # mode. It turns out that the SunPro C++ compiler does not properly
  74314. + # handle '-M -o', and we need to detect this. Also, some Intel
  74315. + # versions had trouble with output in subdirs.
  74316. + am__obj=sub/conftest.${OBJEXT-o}
  74317. + am__minus_obj="-o $am__obj"
  74318. + case $depmode in
  74319. + gcc)
  74320. + # This depmode causes a compiler race in universal mode.
  74321. + test "$am__universal" = false || continue
  74322. + ;;
  74323. + nosideeffect)
  74324. + # After this tag, mechanisms are not by side-effect, so they'll
  74325. + # only be used when explicitly requested.
  74326. + if test "x$enable_dependency_tracking" = xyes; then
  74327. + continue
  74328. + else
  74329. + break
  74330. + fi
  74331. + ;;
  74332. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  74333. + # This compiler won't grok '-c -o', but also, the minuso test has
  74334. + # not run yet. These depmodes are late enough in the game, and
  74335. + # so weak that their functioning should not be impacted.
  74336. + am__obj=conftest.${OBJEXT-o}
  74337. + am__minus_obj=
  74338. + ;;
  74339. + none) break ;;
  74340. + esac
  74341. + if depmode=$depmode \
  74342. + source=sub/conftest.c object=$am__obj \
  74343. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  74344. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  74345. + >/dev/null 2>conftest.err &&
  74346. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  74347. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  74348. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  74349. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  74350. + # icc doesn't choke on unknown options, it will just issue warnings
  74351. + # or remarks (even with -Werror). So we grep stderr for any message
  74352. + # that says an option was ignored or not supported.
  74353. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  74354. + # icc: Command line warning: ignoring option '-M'; no argument required
  74355. + # The diagnosis changed in icc 8.0:
  74356. + # icc: Command line remark: option '-MP' not supported
  74357. + if (grep 'ignoring option' conftest.err ||
  74358. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  74359. + am_cv_$1_dependencies_compiler_type=$depmode
  74360. + break
  74361. + fi
  74362. + fi
  74363. + done
  74364. +
  74365. + cd ..
  74366. + rm -rf conftest.dir
  74367. +else
  74368. + am_cv_$1_dependencies_compiler_type=none
  74369. +fi
  74370. +])
  74371. +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
  74372. +AM_CONDITIONAL([am__fastdep$1], [
  74373. + test "x$enable_dependency_tracking" != xno \
  74374. + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
  74375. +])
  74376. +m4trace:/usr/share/aclocal-1.13/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  74377. +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  74378. +])
  74379. +m4trace:/usr/share/aclocal-1.13/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
  74380. +AS_HELP_STRING(
  74381. + [--enable-dependency-tracking],
  74382. + [do not reject slow dependency extractors])
  74383. +AS_HELP_STRING(
  74384. + [--disable-dependency-tracking],
  74385. + [speeds up one-time build])])
  74386. +if test "x$enable_dependency_tracking" != xno; then
  74387. + am_depcomp="$ac_aux_dir/depcomp"
  74388. + AMDEPBACKSLASH='\'
  74389. + am__nodep='_no'
  74390. +fi
  74391. +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  74392. +AC_SUBST([AMDEPBACKSLASH])dnl
  74393. +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
  74394. +AC_SUBST([am__nodep])dnl
  74395. +_AM_SUBST_NOTMAKE([am__nodep])dnl
  74396. +])
  74397. +m4trace:/usr/share/aclocal-1.13/depout.m4:12: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
  74398. + # Older Autoconf quotes --file arguments for eval, but not when files
  74399. + # are listed without --file. Let's play safe and only enable the eval
  74400. + # if we detect the quoting.
  74401. + case $CONFIG_FILES in
  74402. + *\'*) eval set x "$CONFIG_FILES" ;;
  74403. + *) set x $CONFIG_FILES ;;
  74404. + esac
  74405. + shift
  74406. + for mf
  74407. + do
  74408. + # Strip MF so we end up with the name of the file.
  74409. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  74410. + # Check whether this is an Automake generated Makefile or not.
  74411. + # We used to match only the files named 'Makefile.in', but
  74412. + # some people rename them; so instead we look at the file content.
  74413. + # Grep'ing the first line is not enough: some people post-process
  74414. + # each Makefile.in and add a new line on top of each file to say so.
  74415. + # Grep'ing the whole file is not good either: AIX grep has a line
  74416. + # limit of 2048, but all sed's we know have understand at least 4000.
  74417. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  74418. + dirpart=`AS_DIRNAME("$mf")`
  74419. + else
  74420. + continue
  74421. + fi
  74422. + # Extract the definition of DEPDIR, am__include, and am__quote
  74423. + # from the Makefile without running 'make'.
  74424. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  74425. + test -z "$DEPDIR" && continue
  74426. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  74427. + test -z "$am__include" && continue
  74428. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  74429. + # Find all dependency output files, they are included files with
  74430. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  74431. + # simplest approach to changing $(DEPDIR) to its actual value in the
  74432. + # expansion.
  74433. + for file in `sed -n "
  74434. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  74435. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  74436. + # Make sure the directory exists.
  74437. + test -f "$dirpart/$file" && continue
  74438. + fdir=`AS_DIRNAME(["$file"])`
  74439. + AS_MKDIR_P([$dirpart/$fdir])
  74440. + # echo "creating $dirpart/$file"
  74441. + echo '# dummy' > "$dirpart/$file"
  74442. + done
  74443. + done
  74444. +}
  74445. +])
  74446. +m4trace:/usr/share/aclocal-1.13/depout.m4:71: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
  74447. + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
  74448. + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
  74449. +])
  74450. +m4trace:/usr/share/aclocal-1.13/init.m4:23: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
  74451. +dnl Autoconf wants to disallow AM_ names. We explicitly allow
  74452. +dnl the ones we care about.
  74453. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  74454. +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
  74455. +AC_REQUIRE([AC_PROG_INSTALL])dnl
  74456. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  74457. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  74458. + # is not polluted with repeated "-I."
  74459. + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
  74460. + # test to see if srcdir already configured
  74461. + if test -f $srcdir/config.status; then
  74462. + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  74463. + fi
  74464. +fi
  74465. +
  74466. +# test whether we have cygpath
  74467. +if test -z "$CYGPATH_W"; then
  74468. + if (cygpath --version) >/dev/null 2>/dev/null; then
  74469. + CYGPATH_W='cygpath -w'
  74470. + else
  74471. + CYGPATH_W=echo
  74472. + fi
  74473. +fi
  74474. +AC_SUBST([CYGPATH_W])
  74475. +
  74476. +# Define the identity of the package.
  74477. +dnl Distinguish between old-style and new-style calls.
  74478. +m4_ifval([$2],
  74479. +[AC_DIAGNOSE([obsolete],
  74480. + [$0: two- and three-arguments forms are deprecated.])
  74481. +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  74482. + AC_SUBST([PACKAGE], [$1])dnl
  74483. + AC_SUBST([VERSION], [$2])],
  74484. +[_AM_SET_OPTIONS([$1])dnl
  74485. +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  74486. +m4_if(
  74487. + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
  74488. + [ok:ok],,
  74489. + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  74490. + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  74491. + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  74492. +
  74493. +_AM_IF_OPTION([no-define],,
  74494. +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  74495. + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
  74496. +
  74497. +# Some tools Automake needs.
  74498. +AC_REQUIRE([AM_SANITY_CHECK])dnl
  74499. +AC_REQUIRE([AC_ARG_PROGRAM])dnl
  74500. +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  74501. +AM_MISSING_PROG([AUTOCONF], [autoconf])
  74502. +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  74503. +AM_MISSING_PROG([AUTOHEADER], [autoheader])
  74504. +AM_MISSING_PROG([MAKEINFO], [makeinfo])
  74505. +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  74506. +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  74507. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  74508. +# For better backward compatibility. To be removed once Automake 1.9.x
  74509. +# dies out for good. For more background, see:
  74510. +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  74511. +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  74512. +AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  74513. +# We need awk for the "check" target. The system "awk" is bad on
  74514. +# some platforms.
  74515. +AC_REQUIRE([AC_PROG_AWK])dnl
  74516. +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  74517. +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  74518. +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  74519. + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  74520. + [_AM_PROG_TAR([v7])])])
  74521. +_AM_IF_OPTION([no-dependencies],,
  74522. +[AC_PROVIDE_IFELSE([AC_PROG_CC],
  74523. + [_AM_DEPENDENCIES([CC])],
  74524. + [m4_define([AC_PROG_CC],
  74525. + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  74526. +AC_PROVIDE_IFELSE([AC_PROG_CXX],
  74527. + [_AM_DEPENDENCIES([CXX])],
  74528. + [m4_define([AC_PROG_CXX],
  74529. + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  74530. +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  74531. + [_AM_DEPENDENCIES([OBJC])],
  74532. + [m4_define([AC_PROG_OBJC],
  74533. + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  74534. +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  74535. + [_AM_DEPENDENCIES([OBJCXX])],
  74536. + [m4_define([AC_PROG_OBJCXX],
  74537. + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  74538. +])
  74539. +AC_REQUIRE([AM_SILENT_RULES])dnl
  74540. +dnl The testsuite driver may need to know about EXEEXT, so add the
  74541. +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
  74542. +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
  74543. +AC_CONFIG_COMMANDS_PRE(dnl
  74544. +[m4_provide_if([_AM_COMPILER_EXEEXT],
  74545. + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  74546. +])
  74547. +m4trace:/usr/share/aclocal-1.13/init.m4:136: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
  74548. +_am_arg=$1
  74549. +_am_stamp_count=1
  74550. +for _am_header in $config_headers :; do
  74551. + case $_am_header in
  74552. + $_am_arg | $_am_arg:* )
  74553. + break ;;
  74554. + * )
  74555. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  74556. + esac
  74557. +done
  74558. +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  74559. +m4trace:/usr/share/aclocal-1.13/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  74560. +if test x"${install_sh}" != xset; then
  74561. + case $am_aux_dir in
  74562. + *\ * | *\ *)
  74563. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  74564. + *)
  74565. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  74566. + esac
  74567. +fi
  74568. +AC_SUBST([install_sh])])
  74569. +m4trace:/usr/share/aclocal-1.13/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
  74570. +mkdir .tst 2>/dev/null
  74571. +if test -d .tst; then
  74572. + am__leading_dot=.
  74573. +else
  74574. + am__leading_dot=_
  74575. +fi
  74576. +rmdir .tst 2>/dev/null
  74577. +AC_SUBST([am__leading_dot])])
  74578. +m4trace:/usr/share/aclocal-1.13/make.m4:12: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
  74579. +cat > confinc << 'END'
  74580. +am__doit:
  74581. + @echo this is the am__doit target
  74582. +.PHONY: am__doit
  74583. +END
  74584. +# If we don't find an include directive, just comment out the code.
  74585. +AC_MSG_CHECKING([for style of include used by $am_make])
  74586. +am__include="#"
  74587. +am__quote=
  74588. +_am_result=none
  74589. +# First try GNU make style include.
  74590. +echo "include confinc" > confmf
  74591. +# Ignore all kinds of additional output from 'make'.
  74592. +case `$am_make -s -f confmf 2> /dev/null` in #(
  74593. +*the\ am__doit\ target*)
  74594. + am__include=include
  74595. + am__quote=
  74596. + _am_result=GNU
  74597. + ;;
  74598. +esac
  74599. +# Now try BSD make style include.
  74600. +if test "$am__include" = "#"; then
  74601. + echo '.include "confinc"' > confmf
  74602. + case `$am_make -s -f confmf 2> /dev/null` in #(
  74603. + *the\ am__doit\ target*)
  74604. + am__include=.include
  74605. + am__quote="\""
  74606. + _am_result=BSD
  74607. + ;;
  74608. + esac
  74609. +fi
  74610. +AC_SUBST([am__include])
  74611. +AC_SUBST([am__quote])
  74612. +AC_MSG_RESULT([$_am_result])
  74613. +rm -f confinc confmf
  74614. +])
  74615. +m4trace:/usr/share/aclocal-1.13/minuso.m4:11: -1- AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl
  74616. +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  74617. +AC_REQUIRE_AUX_FILE([compile])dnl
  74618. +# FIXME: we rely on the cache variable name because
  74619. +# there is no other way.
  74620. +set dummy $CC
  74621. +am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
  74622. +eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
  74623. +if test "$am_t" != yes; then
  74624. + # Losing compiler, so override with the script.
  74625. + # FIXME: It is wrong to rewrite CC.
  74626. + # But if we don't then we get into trouble of one sort or another.
  74627. + # A longer-term fix would be to have automake use am__CC in this case,
  74628. + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  74629. + CC="$am_aux_dir/compile $CC"
  74630. +fi
  74631. +dnl Make sure AC_PROG_CC is never called again, or it will override our
  74632. +dnl setting of CC.
  74633. +m4_define([AC_PROG_CC],
  74634. + [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
  74635. +])
  74636. +m4trace:/usr/share/aclocal-1.13/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
  74637. +$1=${$1-"${am_missing_run}$2"}
  74638. +AC_SUBST($1)])
  74639. +m4trace:/usr/share/aclocal-1.13/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  74640. +AC_REQUIRE_AUX_FILE([missing])dnl
  74641. +if test x"${MISSING+set}" != xset; then
  74642. + case $am_aux_dir in
  74643. + *\ * | *\ *)
  74644. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  74645. + *)
  74646. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  74647. + esac
  74648. +fi
  74649. +# Use eval to expand $SHELL
  74650. +if eval "$MISSING --is-lightweight"; then
  74651. + am_missing_run="$MISSING "
  74652. +else
  74653. + am_missing_run=
  74654. + AC_MSG_WARN(['missing' script is too old or missing])
  74655. +fi
  74656. +])
  74657. +m4trace:/usr/share/aclocal-1.13/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
  74658. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  74659. +dnl FIXME we are no longer going to remove this! adjust warning
  74660. +dnl FIXME message accordingly.
  74661. +AC_DIAGNOSE([obsolete],
  74662. +[$0: this macro is deprecated, and will soon be removed.
  74663. +You should use the Autoconf-provided 'AC][_PROG_MKDIR_P' macro instead,
  74664. +and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.])
  74665. +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
  74666. +dnl while keeping a definition of mkdir_p for backward compatibility.
  74667. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
  74668. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
  74669. +dnl Makefile.ins that do not define MKDIR_P, so we do our own
  74670. +dnl adjustment using top_builddir (which is defined more often than
  74671. +dnl MKDIR_P).
  74672. +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
  74673. +case $mkdir_p in
  74674. + [[\\/$]]* | ?:[[\\/]]*) ;;
  74675. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  74676. +esac
  74677. +])
  74678. +m4trace:/usr/share/aclocal-1.13/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  74679. +m4trace:/usr/share/aclocal-1.13/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
  74680. +m4trace:/usr/share/aclocal-1.13/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  74681. +m4trace:/usr/share/aclocal-1.13/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  74682. +m4trace:/usr/share/aclocal-1.13/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
  74683. + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
  74684. + ac_status=$?
  74685. + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  74686. + (exit $ac_status); }])
  74687. +m4trace:/usr/share/aclocal-1.13/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
  74688. +# Reject unsafe characters in $srcdir or the absolute working directory
  74689. +# name. Accept space and tab only in the latter.
  74690. +am_lf='
  74691. +'
  74692. +case `pwd` in
  74693. + *[[\\\"\#\$\&\'\`$am_lf]]*)
  74694. + AC_MSG_ERROR([unsafe absolute working directory name]);;
  74695. +esac
  74696. +case $srcdir in
  74697. + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  74698. + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
  74699. +esac
  74700. +
  74701. +# Do 'set' in a subshell so we don't clobber the current shell's
  74702. +# arguments. Must try -L first in case configure is actually a
  74703. +# symlink; some systems play weird games with the mod time of symlinks
  74704. +# (eg FreeBSD returns the mod time of the symlink's containing
  74705. +# directory).
  74706. +if (
  74707. + am_has_slept=no
  74708. + for am_try in 1 2; do
  74709. + echo "timestamp, slept: $am_has_slept" > conftest.file
  74710. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  74711. + if test "$[*]" = "X"; then
  74712. + # -L didn't work.
  74713. + set X `ls -t "$srcdir/configure" conftest.file`
  74714. + fi
  74715. + if test "$[*]" != "X $srcdir/configure conftest.file" \
  74716. + && test "$[*]" != "X conftest.file $srcdir/configure"; then
  74717. +
  74718. + # If neither matched, then we have a broken ls. This can happen
  74719. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  74720. + # broken ls alias from the environment. This has actually
  74721. + # happened. Such a system could not be considered "sane".
  74722. + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  74723. + alias in your environment])
  74724. + fi
  74725. + if test "$[2]" = conftest.file || test $am_try -eq 2; then
  74726. + break
  74727. + fi
  74728. + # Just in case.
  74729. + sleep 1
  74730. + am_has_slept=yes
  74731. + done
  74732. + test "$[2]" = conftest.file
  74733. + )
  74734. +then
  74735. + # Ok.
  74736. + :
  74737. +else
  74738. + AC_MSG_ERROR([newly created file is older than distributed files!
  74739. +Check your system clock])
  74740. +fi
  74741. +AC_MSG_RESULT([yes])
  74742. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  74743. +# generated files are strictly newer.
  74744. +am_sleep_pid=
  74745. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  74746. + ( sleep 1 ) &
  74747. + am_sleep_pid=$!
  74748. +fi
  74749. +AC_CONFIG_COMMANDS_PRE(
  74750. + [AC_MSG_CHECKING([that generated files are newer than configure])
  74751. + if test -n "$am_sleep_pid"; then
  74752. + # Hide warnings about reused PIDs.
  74753. + wait $am_sleep_pid 2>/dev/null
  74754. + fi
  74755. + AC_MSG_RESULT([done])])
  74756. +rm -f conftest.file
  74757. +])
  74758. +m4trace:/usr/share/aclocal-1.13/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
  74759. +AS_HELP_STRING(
  74760. + [--enable-silent-rules],
  74761. + [less verbose build output (undo: "make V=1")])
  74762. +AS_HELP_STRING(
  74763. + [--disable-silent-rules],
  74764. + [verbose build output (undo: "make V=0")])dnl
  74765. +])
  74766. +case $enable_silent_rules in @%:@ (((
  74767. + yes) AM_DEFAULT_VERBOSITY=0;;
  74768. + no) AM_DEFAULT_VERBOSITY=1;;
  74769. + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  74770. +esac
  74771. +dnl
  74772. +dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
  74773. +dnl do not support nested variable expansions.
  74774. +dnl See automake bug#9928 and bug#10237.
  74775. +am_make=${MAKE-make}
  74776. +AC_CACHE_CHECK([whether $am_make supports nested variables],
  74777. + [am_cv_make_support_nested_variables],
  74778. + [if AS_ECHO([['TRUE=$(BAR$(V))
  74779. +BAR0=false
  74780. +BAR1=true
  74781. +V=1
  74782. +am__doit:
  74783. + @$(TRUE)
  74784. +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
  74785. + am_cv_make_support_nested_variables=yes
  74786. +else
  74787. + am_cv_make_support_nested_variables=no
  74788. +fi])
  74789. +if test $am_cv_make_support_nested_variables = yes; then
  74790. + dnl Using '$V' instead of '$(V)' breaks IRIX make.
  74791. + AM_V='$(V)'
  74792. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  74793. +else
  74794. + AM_V=$AM_DEFAULT_VERBOSITY
  74795. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  74796. +fi
  74797. +AC_SUBST([AM_V])dnl
  74798. +AM_SUBST_NOTMAKE([AM_V])dnl
  74799. +AC_SUBST([AM_DEFAULT_V])dnl
  74800. +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
  74801. +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
  74802. +AM_BACKSLASH='\'
  74803. +AC_SUBST([AM_BACKSLASH])dnl
  74804. +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
  74805. +])
  74806. +m4trace:/usr/share/aclocal-1.13/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  74807. +# Installed binaries are usually stripped using 'strip' when the user
  74808. +# run "make install-strip". However 'strip' might not be the right
  74809. +# tool to use in cross-compilation environments, therefore Automake
  74810. +# will honor the 'STRIP' environment variable to overrule this program.
  74811. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
  74812. +if test "$cross_compiling" != no; then
  74813. + AC_CHECK_TOOL([STRIP], [strip], :)
  74814. +fi
  74815. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  74816. +AC_SUBST([INSTALL_STRIP_PROGRAM])])
  74817. +m4trace:/usr/share/aclocal-1.13/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
  74818. +m4trace:/usr/share/aclocal-1.13/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  74819. +m4trace:/usr/share/aclocal-1.13/tar.m4:23: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
  74820. +# in the wild :-( We should find a proper way to deprecate it ...
  74821. +AC_SUBST([AMTAR], ['$${TAR-tar}'])
  74822. +
  74823. +# We'll loop over all known methods to create a tar archive until one works.
  74824. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  74825. +
  74826. +m4_if([$1], [v7],
  74827. + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
  74828. +
  74829. + [m4_case([$1],
  74830. + [ustar],
  74831. + [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
  74832. + # There is notably a 21 bits limit for the UID and the GID. In fact,
  74833. + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
  74834. + # and bug#13588).
  74835. + am_max_uid=2097151 # 2^21 - 1
  74836. + am_max_gid=$am_max_uid
  74837. + # The $UID and $GID variables are not portable, so we need to resort
  74838. + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
  74839. + # below are definitely unexpected, so allow the users to see them
  74840. + # (that is, avoid stderr redirection).
  74841. + am_uid=`id -u || echo unknown`
  74842. + am_gid=`id -g || echo unknown`
  74843. + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
  74844. + if test $am_uid -le $am_max_uid; then
  74845. + AC_MSG_RESULT([yes])
  74846. + else
  74847. + AC_MSG_RESULT([no])
  74848. + _am_tools=none
  74849. + fi
  74850. + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
  74851. + if test $am_gid -le $am_max_gid; then
  74852. + AC_MSG_RESULT([yes])
  74853. + else
  74854. + AC_MSG_RESULT([no])
  74855. + _am_tools=none
  74856. + fi],
  74857. +
  74858. + [pax],
  74859. + [],
  74860. +
  74861. + [m4_fatal([Unknown tar format])])
  74862. +
  74863. + AC_MSG_CHECKING([how to create a $1 tar archive])
  74864. +
  74865. + # Go ahead even if we have the value already cached. We do so because we
  74866. + # need to set the values for the 'am__tar' and 'am__untar' variables.
  74867. + _am_tools=${am_cv_prog_tar_$1-$_am_tools}
  74868. +
  74869. + for _am_tool in $_am_tools; do
  74870. + case $_am_tool in
  74871. + gnutar)
  74872. + for _am_tar in tar gnutar gtar; do
  74873. + AM_RUN_LOG([$_am_tar --version]) && break
  74874. + done
  74875. + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  74876. + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  74877. + am__untar="$_am_tar -xf -"
  74878. + ;;
  74879. + plaintar)
  74880. + # Must skip GNU tar: if it does not support --format= it doesn't create
  74881. + # ustar tarball either.
  74882. + (tar --version) >/dev/null 2>&1 && continue
  74883. + am__tar='tar chf - "$$tardir"'
  74884. + am__tar_='tar chf - "$tardir"'
  74885. + am__untar='tar xf -'
  74886. + ;;
  74887. + pax)
  74888. + am__tar='pax -L -x $1 -w "$$tardir"'
  74889. + am__tar_='pax -L -x $1 -w "$tardir"'
  74890. + am__untar='pax -r'
  74891. + ;;
  74892. + cpio)
  74893. + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  74894. + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  74895. + am__untar='cpio -i -H $1 -d'
  74896. + ;;
  74897. + none)
  74898. + am__tar=false
  74899. + am__tar_=false
  74900. + am__untar=false
  74901. + ;;
  74902. + esac
  74903. +
  74904. + # If the value was cached, stop now. We just wanted to have am__tar
  74905. + # and am__untar set.
  74906. + test -n "${am_cv_prog_tar_$1}" && break
  74907. +
  74908. + # tar/untar a dummy directory, and stop if the command works.
  74909. + rm -rf conftest.dir
  74910. + mkdir conftest.dir
  74911. + echo GrepMe > conftest.dir/file
  74912. + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  74913. + rm -rf conftest.dir
  74914. + if test -s conftest.tar; then
  74915. + AM_RUN_LOG([$am__untar <conftest.tar])
  74916. + AM_RUN_LOG([cat conftest.dir/file])
  74917. + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  74918. + fi
  74919. + done
  74920. + rm -rf conftest.dir
  74921. +
  74922. + AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  74923. + AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  74924. +
  74925. +AC_SUBST([am__tar])
  74926. +AC_SUBST([am__untar])
  74927. +])
  74928. +m4trace:m4/00gnulib.m4:30: -1- AC_DEFUN([gl_00GNULIB])
  74929. +m4trace:m4/alloca.m4:8: -1- AC_DEFUN([gl_FUNC_ALLOCA], [
  74930. + AC_REQUIRE([AC_FUNC_ALLOCA])
  74931. + if test $ac_cv_func_alloca_works = no; then
  74932. + gl_PREREQ_ALLOCA
  74933. + fi
  74934. +
  74935. + # Define an additional variable used in the Makefile substitution.
  74936. + if test $ac_cv_working_alloca_h = yes; then
  74937. + AC_CACHE_CHECK([for alloca as a compiler built-in], [gl_cv_rpl_alloca], [
  74938. + AC_EGREP_CPP([Need own alloca], [
  74939. +#if defined __GNUC__ || defined _AIX || defined _MSC_VER
  74940. + Need own alloca
  74941. +#endif
  74942. + ], [gl_cv_rpl_alloca=yes], [gl_cv_rpl_alloca=no])
  74943. + ])
  74944. + if test $gl_cv_rpl_alloca = yes; then
  74945. + dnl OK, alloca can be implemented through a compiler built-in.
  74946. + AC_DEFINE([HAVE_ALLOCA], [1],
  74947. + [Define to 1 if you have 'alloca' after including <alloca.h>,
  74948. + a header that may be supplied by this distribution.])
  74949. + ALLOCA_H=alloca.h
  74950. + else
  74951. + dnl alloca exists as a library function, i.e. it is slow and probably
  74952. + dnl a memory leak. Don't define HAVE_ALLOCA in this case.
  74953. + ALLOCA_H=
  74954. + fi
  74955. + else
  74956. + ALLOCA_H=alloca.h
  74957. + fi
  74958. + AC_SUBST([ALLOCA_H])
  74959. +])
  74960. +m4trace:m4/alloca.m4:43: -1- AC_DEFUN([gl_PREREQ_ALLOCA], [:])
  74961. +m4trace:m4/ansi-c++.m4:15: -1- AC_DEFUN([gl_CXX_CHOICE], [
  74962. + AC_MSG_CHECKING([whether to use C++])
  74963. + dnl Plus signs are supported in AC_ARG_ENABLE starting with autoconf-2.66.
  74964. + m4_version_prereq([2.66],
  74965. + [m4_ifdef([gl_CXX_CHOICE_DEFAULT_NO],
  74966. + [AC_ARG_ENABLE([c++],
  74967. + [ --enable-c++ also build C++ sources],
  74968. + [CXX_CHOICE="$enableval"],
  74969. + [CXX_CHOICE=no])],
  74970. + [AC_ARG_ENABLE([c++],
  74971. + [ --disable-c++ do not build C++ sources],
  74972. + [CXX_CHOICE="$enableval"],
  74973. + [CXX_CHOICE=yes])])],
  74974. + [m4_ifdef([gl_CXX_CHOICE_DEFAULT_NO],
  74975. + [AC_ARG_ENABLE([cxx],
  74976. + [ --enable-cxx also build C++ sources],
  74977. + [CXX_CHOICE="$enableval"],
  74978. + [CXX_CHOICE=no])],
  74979. + [AC_ARG_ENABLE([cxx],
  74980. + [ --disable-cxx do not build C++ sources],
  74981. + [CXX_CHOICE="$enableval"],
  74982. + [CXX_CHOICE=yes])])])
  74983. + AC_MSG_RESULT([$CXX_CHOICE])
  74984. + AC_SUBST([CXX_CHOICE])
  74985. +])
  74986. +m4trace:m4/ansi-c++.m4:48: -1- AC_DEFUN([gl_PROG_ANSI_CXX], [
  74987. + AC_REQUIRE([gl_CXX_CHOICE])
  74988. + m4_if([$1], [CXX], [],
  74989. + [gl_save_CXX="$CXX"])
  74990. + if test "$CXX_CHOICE" = no; then
  74991. + CXX=":"
  74992. + fi
  74993. + if test -z "$CXX"; then
  74994. + if test -n "$CCC"; then
  74995. + CXX="$CCC"
  74996. + else
  74997. + AC_CHECK_TOOLS([CXX],
  74998. + [g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC],
  74999. + [:])
  75000. + fi
  75001. + fi
  75002. + if test "$CXX" != ":"; then
  75003. + dnl Use a modified version of AC_PROG_CXX_WORKS that does not exit
  75004. + dnl upon failure.
  75005. + AC_MSG_CHECKING([whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works])
  75006. + AC_LANG_PUSH([C++])
  75007. + AC_ARG_VAR([CXX], [C++ compiler command])
  75008. + AC_ARG_VAR([CXXFLAGS], [C++ compiler flags])
  75009. + echo 'int main () { return 0; }' > conftest.$ac_ext
  75010. + if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then
  75011. + gl_cv_prog_ansicxx_works=yes
  75012. + if (./conftest; exit) 2>/dev/null; then
  75013. + gl_cv_prog_ansicxx_cross=no
  75014. + else
  75015. + gl_cv_prog_ansicxx_cross=yes
  75016. + fi
  75017. + else
  75018. + gl_cv_prog_ansicxx_works=no
  75019. + fi
  75020. + rm -fr conftest*
  75021. + AC_LANG_POP([C++])
  75022. + AC_MSG_RESULT([$gl_cv_prog_ansicxx_works])
  75023. + if test $gl_cv_prog_ansicxx_works = no; then
  75024. + CXX=:
  75025. + else
  75026. + dnl Test for namespaces.
  75027. + dnl We don't bother supporting pre-ANSI-C++ compilers.
  75028. + AC_MSG_CHECKING([whether the C++ compiler supports namespaces])
  75029. + AC_LANG_PUSH([C++])
  75030. + cat <<EOF > conftest.$ac_ext
  75031. +#include <iostream>
  75032. +namespace test { using namespace std; }
  75033. +std::ostream* ptr;
  75034. +int main () { return 0; }
  75035. +EOF
  75036. + if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then
  75037. + gl_cv_prog_ansicxx_namespaces=yes
  75038. + else
  75039. + gl_cv_prog_ansicxx_namespaces=no
  75040. + fi
  75041. + rm -fr conftest*
  75042. + AC_LANG_POP([C++])
  75043. + AC_MSG_RESULT([$gl_cv_prog_ansicxx_namespaces])
  75044. + if test $gl_cv_prog_ansicxx_namespaces = no; then
  75045. + CXX=:
  75046. + fi
  75047. + fi
  75048. + fi
  75049. + m4_if([$1], [CXX], [],
  75050. + [$1="$CXX"
  75051. + CXX="$gl_save_CXX"])
  75052. + AC_SUBST([$1])
  75053. +
  75054. + AM_CONDITIONAL([$2], [test "$$1" != ":"])
  75055. +
  75056. + if test "$$1" != ":"; then
  75057. + dnl This macro invocation resolves an automake error:
  75058. + dnl /usr/local/share/automake-1.11/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL
  75059. + dnl /usr/local/share/automake-1.11/am/depend2.am: The usual way to define `am__fastdepCXX' is to add `AC_PROG_CXX'
  75060. + dnl /usr/local/share/automake-1.11/am/depend2.am: to `configure.ac' and run `aclocal' and `autoconf' again.
  75061. + _AM_DEPENDENCIES([CXX])
  75062. + else
  75063. + AM_CONDITIONAL([am__fastdepCXX], [false])
  75064. + fi
  75065. +])
  75066. +m4trace:m4/assert.m4:11: -1- AC_DEFUN([gl_ASSERT], [
  75067. + AC_MSG_CHECKING([whether to enable assertions])
  75068. + AC_ARG_ENABLE([assert],
  75069. + [AS_HELP_STRING([--disable-assert], [turn off assertions])],
  75070. + [AS_IF([test "x$enableval" = xno],
  75071. + [AC_DEFINE([NDEBUG], [1],
  75072. + [Define to 1 if assertions should be disabled.])],
  75073. + [test "x$enableval" != xyes],
  75074. + [AC_MSG_WARN([invalid argument supplied to --enable-assert])
  75075. + enable_assert=yes])],
  75076. + [enable_assert=yes])
  75077. + AC_MSG_RESULT([$enable_assert])
  75078. +])
  75079. +m4trace:m4/autobuild.m4:10: -1- AC_DEFUN([AB_INIT], [
  75080. + AC_REQUIRE([AC_CANONICAL_BUILD])
  75081. + AC_REQUIRE([AC_CANONICAL_HOST])
  75082. +
  75083. + if test -z "$AB_PACKAGE"; then
  75084. + AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE}
  75085. + fi
  75086. + AC_MSG_NOTICE([autobuild project... $AB_PACKAGE])
  75087. +
  75088. + if test -z "$AB_VERSION"; then
  75089. + AB_VERSION=${PACKAGE_VERSION:-$VERSION}
  75090. + fi
  75091. + AC_MSG_NOTICE([autobuild revision... $AB_VERSION])
  75092. +
  75093. + hostname=`hostname`
  75094. + if test "$hostname"; then
  75095. + AC_MSG_NOTICE([autobuild hostname... $hostname])
  75096. + fi
  75097. +
  75098. + ifelse([$1],[],,[AC_MSG_NOTICE([autobuild mode... $1])])
  75099. +
  75100. + date=`TZ=UTC0 date +%Y%m%dT%H%M%SZ`
  75101. + if test "$?" != 0; then
  75102. + date=`date`
  75103. + fi
  75104. + if test "$date"; then
  75105. + AC_MSG_NOTICE([autobuild timestamp... $date])
  75106. + fi
  75107. +])
  75108. +m4trace:m4/btowc.m4:7: -1- AC_DEFUN([gl_FUNC_BTOWC], [
  75109. + AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
  75110. +
  75111. + dnl Check whether <wchar.h> is usable at all, first. Otherwise the test
  75112. + dnl program below may lead to an endless loop. See
  75113. + dnl <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42440>.
  75114. + AC_REQUIRE([gl_WCHAR_H_INLINE_OK])
  75115. +
  75116. + AC_CHECK_FUNCS_ONCE([btowc])
  75117. + if test $ac_cv_func_btowc = no; then
  75118. + HAVE_BTOWC=0
  75119. + else
  75120. +
  75121. + AC_REQUIRE([AC_PROG_CC])
  75122. + AC_REQUIRE([gt_LOCALE_FR])
  75123. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  75124. +
  75125. + dnl Cygwin 1.7.2 btowc('\0') is WEOF, not 0.
  75126. + AC_CACHE_CHECK([whether btowc(0) is correct],
  75127. + [gl_cv_func_btowc_nul],
  75128. + [
  75129. + AC_RUN_IFELSE(
  75130. + [AC_LANG_SOURCE([[
  75131. +#include <string.h>
  75132. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  75133. + <wchar.h>.
  75134. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  75135. + included before <wchar.h>. */
  75136. +#include <stddef.h>
  75137. +#include <stdio.h>
  75138. +#include <time.h>
  75139. +#include <wchar.h>
  75140. +int main ()
  75141. +{
  75142. + if (btowc ('\0') != 0)
  75143. + return 1;
  75144. + return 0;
  75145. +}]])],
  75146. + [gl_cv_func_btowc_nul=yes],
  75147. + [gl_cv_func_btowc_nul=no],
  75148. + [
  75149. +changequote(,)dnl
  75150. + case "$host_os" in
  75151. + # Guess no on Cygwin.
  75152. + cygwin*) gl_cv_func_btowc_nul="guessing no" ;;
  75153. + # Guess yes otherwise.
  75154. + *) gl_cv_func_btowc_nul="guessing yes" ;;
  75155. + esac
  75156. +changequote([,])dnl
  75157. + ])
  75158. + ])
  75159. +
  75160. + dnl IRIX 6.5 btowc(EOF) is 0xFF, not WEOF.
  75161. + AC_CACHE_CHECK([whether btowc(EOF) is correct],
  75162. + [gl_cv_func_btowc_eof],
  75163. + [
  75164. + dnl Initial guess, used when cross-compiling or when no suitable locale
  75165. + dnl is present.
  75166. +changequote(,)dnl
  75167. + case "$host_os" in
  75168. + # Guess no on IRIX.
  75169. + irix*) gl_cv_func_btowc_eof="guessing no" ;;
  75170. + # Guess yes otherwise.
  75171. + *) gl_cv_func_btowc_eof="guessing yes" ;;
  75172. + esac
  75173. +changequote([,])dnl
  75174. + if test $LOCALE_FR != none; then
  75175. + AC_RUN_IFELSE(
  75176. + [AC_LANG_SOURCE([[
  75177. +#include <locale.h>
  75178. +#include <string.h>
  75179. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  75180. + <wchar.h>.
  75181. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  75182. + included before <wchar.h>. */
  75183. +#include <stddef.h>
  75184. +#include <stdio.h>
  75185. +#include <time.h>
  75186. +#include <wchar.h>
  75187. +int main ()
  75188. +{
  75189. + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
  75190. + {
  75191. + if (btowc (EOF) != WEOF)
  75192. + return 1;
  75193. + }
  75194. + return 0;
  75195. +}]])],
  75196. + [gl_cv_func_btowc_eof=yes],
  75197. + [gl_cv_func_btowc_eof=no],
  75198. + [:])
  75199. + fi
  75200. + ])
  75201. +
  75202. + case "$gl_cv_func_btowc_nul" in
  75203. + *yes) ;;
  75204. + *) REPLACE_BTOWC=1 ;;
  75205. + esac
  75206. + case "$gl_cv_func_btowc_eof" in
  75207. + *yes) ;;
  75208. + *) REPLACE_BTOWC=1 ;;
  75209. + esac
  75210. + fi
  75211. + if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
  75212. + gl_REPLACE_WCHAR_H
  75213. + AC_LIBOBJ([btowc])
  75214. + gl_PREREQ_BTOWC
  75215. + fi
  75216. +])
  75217. +m4trace:m4/btowc.m4:119: -1- AC_DEFUN([gl_PREREQ_BTOWC], [
  75218. + :
  75219. +])
  75220. +m4trace:m4/c-stack.m4:12: -1- AC_DEFUN([AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC], [# for STACK_DIRECTION
  75221. + AC_REQUIRE([AC_FUNC_ALLOCA])
  75222. + AC_REQUIRE([AC_CANONICAL_HOST])
  75223. + AC_CHECK_FUNCS_ONCE([setrlimit])
  75224. + AC_CHECK_HEADERS_ONCE([ucontext.h])
  75225. +
  75226. + dnl List of signals that are sent when an invalid virtual memory address
  75227. + dnl is accessed, or when the stack overflows.
  75228. + dnl Either { SIGSEGV } or { SIGSEGV, SIGBUS }.
  75229. + case "$host_os" in
  75230. + sunos4* | freebsd* | dragonfly* | openbsd* | mirbsd* | netbsd* | kfreebsd* | knetbsd*) # BSD systems
  75231. + FAULT_YIELDS_SIGBUS=1 ;;
  75232. + hpux*) # HP-UX
  75233. + FAULT_YIELDS_SIGBUS=1 ;;
  75234. + macos* | darwin*) # MacOS X
  75235. + FAULT_YIELDS_SIGBUS=1 ;;
  75236. + gnu*) # Hurd
  75237. + FAULT_YIELDS_SIGBUS=1 ;;
  75238. + *)
  75239. + FAULT_YIELDS_SIGBUS=0 ;;
  75240. + esac
  75241. + AC_DEFINE_UNQUOTED([FAULT_YIELDS_SIGBUS], [$FAULT_YIELDS_SIGBUS],
  75242. + [Define to 1 if an invalid memory address access may yield a SIGBUS.])
  75243. +
  75244. + AC_CACHE_CHECK([for working C stack overflow detection],
  75245. + [ac_cv_sys_stack_overflow_works],
  75246. + [AC_RUN_IFELSE([AC_LANG_SOURCE(
  75247. + [[
  75248. + #include <unistd.h>
  75249. + #include <signal.h>
  75250. + #if HAVE_SETRLIMIT
  75251. + # include <sys/types.h>
  75252. + # include <sys/time.h>
  75253. + # include <sys/resource.h>
  75254. + #endif
  75255. + #ifndef SIGSTKSZ
  75256. + # define SIGSTKSZ 16384
  75257. + #endif
  75258. +
  75259. + static union
  75260. + {
  75261. + char buffer[2 * SIGSTKSZ];
  75262. + long double ld;
  75263. + long u;
  75264. + void *p;
  75265. + } alternate_signal_stack;
  75266. +
  75267. + static void
  75268. + segv_handler (int signo)
  75269. + {
  75270. + _exit (0);
  75271. + }
  75272. +
  75273. + static int
  75274. + c_stack_action ()
  75275. + {
  75276. + stack_t st;
  75277. + struct sigaction act;
  75278. + int r;
  75279. +
  75280. + st.ss_flags = 0;
  75281. + /* Use the midpoint to avoid Irix sigaltstack bug. */
  75282. + st.ss_sp = alternate_signal_stack.buffer + SIGSTKSZ;
  75283. + st.ss_size = SIGSTKSZ;
  75284. + r = sigaltstack (&st, 0);
  75285. + if (r != 0)
  75286. + return 1;
  75287. +
  75288. + sigemptyset (&act.sa_mask);
  75289. + act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND;
  75290. + act.sa_handler = segv_handler;
  75291. + #if FAULT_YIELDS_SIGBUS
  75292. + if (sigaction (SIGBUS, &act, 0) < 0)
  75293. + return 2;
  75294. + #endif
  75295. + if (sigaction (SIGSEGV, &act, 0) < 0)
  75296. + return 3;
  75297. + return 0;
  75298. + }
  75299. + static volatile int *
  75300. + recurse_1 (volatile int n, volatile int *p)
  75301. + {
  75302. + if (n >= 0)
  75303. + *recurse_1 (n + 1, p) += n;
  75304. + return p;
  75305. + }
  75306. + static int
  75307. + recurse (volatile int n)
  75308. + {
  75309. + int sum = 0;
  75310. + return *recurse_1 (n, &sum);
  75311. + }
  75312. + int
  75313. + main ()
  75314. + {
  75315. + int result;
  75316. + #if HAVE_SETRLIMIT && defined RLIMIT_STACK
  75317. + /* Before starting the endless recursion, try to be friendly
  75318. + to the user's machine. On some Linux 2.2.x systems, there
  75319. + is no stack limit for user processes at all. We don't want
  75320. + to kill such systems. */
  75321. + struct rlimit rl;
  75322. + rl.rlim_cur = rl.rlim_max = 0x100000; /* 1 MB */
  75323. + setrlimit (RLIMIT_STACK, &rl);
  75324. + #endif
  75325. +
  75326. + result = c_stack_action ();
  75327. + if (result != 0)
  75328. + return result;
  75329. + return recurse (0);
  75330. + }
  75331. + ]])],
  75332. + [ac_cv_sys_stack_overflow_works=yes],
  75333. + [ac_cv_sys_stack_overflow_works=no],
  75334. + [ac_cv_sys_stack_overflow_works=cross-compiling])])
  75335. +
  75336. + if test $ac_cv_sys_stack_overflow_works = yes; then
  75337. + AC_DEFINE([HAVE_STACK_OVERFLOW_HANDLING], [1],
  75338. + [Define to 1 if extending the stack slightly past the limit causes
  75339. + a SIGSEGV which can be handled on an alternate stack established
  75340. + with sigaltstack.])
  75341. +
  75342. + dnl The ss_sp field of a stack_t is, according to POSIX, the lowest address
  75343. + dnl of the memory block designated as an alternate stack. But IRIX 5.3
  75344. + dnl interprets it as the highest address!
  75345. + AC_CACHE_CHECK([for correct stack_t interpretation],
  75346. + [gl_cv_sigaltstack_low_base], [
  75347. + AC_RUN_IFELSE([
  75348. + AC_LANG_SOURCE([[
  75349. +#include <stdlib.h>
  75350. +#include <signal.h>
  75351. +#if HAVE_SYS_SIGNAL_H
  75352. +# include <sys/signal.h>
  75353. +#endif
  75354. +#ifndef SIGSTKSZ
  75355. +# define SIGSTKSZ 16384
  75356. +#endif
  75357. +volatile char *stack_lower_bound;
  75358. +volatile char *stack_upper_bound;
  75359. +static void check_stack_location (volatile char *addr)
  75360. +{
  75361. + if (addr >= stack_lower_bound && addr <= stack_upper_bound)
  75362. + exit (0);
  75363. + else
  75364. + exit (1);
  75365. +}
  75366. +static void stackoverflow_handler (int sig)
  75367. +{
  75368. + char dummy;
  75369. + check_stack_location (&dummy);
  75370. +}
  75371. +int main ()
  75372. +{
  75373. + char mystack[2 * SIGSTKSZ];
  75374. + stack_t altstack;
  75375. + struct sigaction action;
  75376. + /* Install the alternate stack. */
  75377. + altstack.ss_sp = mystack + SIGSTKSZ;
  75378. + altstack.ss_size = SIGSTKSZ;
  75379. + stack_lower_bound = (char *) altstack.ss_sp;
  75380. + stack_upper_bound = (char *) altstack.ss_sp + altstack.ss_size - 1;
  75381. + altstack.ss_flags = 0; /* no SS_DISABLE */
  75382. + if (sigaltstack (&altstack, NULL) < 0)
  75383. + exit (2);
  75384. + /* Install the SIGSEGV handler. */
  75385. + sigemptyset (&action.sa_mask);
  75386. + action.sa_handler = &stackoverflow_handler;
  75387. + action.sa_flags = SA_ONSTACK;
  75388. + if (sigaction (SIGSEGV, &action, (struct sigaction *) NULL) < 0)
  75389. + exit(3);
  75390. + /* Provoke a SIGSEGV. */
  75391. + raise (SIGSEGV);
  75392. + exit (4);
  75393. +}]])],
  75394. + [gl_cv_sigaltstack_low_base=yes],
  75395. + [gl_cv_sigaltstack_low_base=no],
  75396. + [gl_cv_sigaltstack_low_base=cross-compiling])])
  75397. + if test "$gl_cv_sigaltstack_low_base" = no; then
  75398. + AC_DEFINE([SIGALTSTACK_SS_REVERSED], [1],
  75399. + [Define if sigaltstack() interprets the stack_t.ss_sp field
  75400. + incorrectly, as the highest address of the alternate stack range
  75401. + rather than as the lowest address.])
  75402. + fi
  75403. +
  75404. + AC_CACHE_CHECK([for precise C stack overflow detection],
  75405. + ac_cv_sys_xsi_stack_overflow_heuristic,
  75406. + [AC_RUN_IFELSE([AC_LANG_SOURCE(
  75407. + [[
  75408. + #include <unistd.h>
  75409. + #include <signal.h>
  75410. + #if HAVE_UCONTEXT_H
  75411. + # include <ucontext.h>
  75412. + #endif
  75413. + #if HAVE_SETRLIMIT
  75414. + # include <sys/types.h>
  75415. + # include <sys/time.h>
  75416. + # include <sys/resource.h>
  75417. + #endif
  75418. + #ifndef SIGSTKSZ
  75419. + # define SIGSTKSZ 16384
  75420. + #endif
  75421. +
  75422. + static union
  75423. + {
  75424. + char buffer[2 * SIGSTKSZ];
  75425. + long double ld;
  75426. + long u;
  75427. + void *p;
  75428. + } alternate_signal_stack;
  75429. +
  75430. + #if STACK_DIRECTION
  75431. + # define find_stack_direction(ptr) STACK_DIRECTION
  75432. + #else
  75433. + static int
  75434. + find_stack_direction (char const *addr)
  75435. + {
  75436. + char dummy;
  75437. + return (! addr ? find_stack_direction (&dummy)
  75438. + : addr < &dummy ? 1 : -1);
  75439. + }
  75440. + #endif
  75441. +
  75442. + static void
  75443. + segv_handler (int signo, siginfo_t *info, void *context)
  75444. + {
  75445. + if (0 < info->si_code)
  75446. + {
  75447. + /* For XSI heuristics to work, we need uc_stack to describe
  75448. + the interrupted stack (as on Solaris), and not the
  75449. + currently executing stack (as on Linux). */
  75450. + ucontext_t const *user_context = context;
  75451. + char const *stack_min = user_context->uc_stack.ss_sp;
  75452. + size_t stack_size = user_context->uc_stack.ss_size;
  75453. + char const *faulting_address = info->si_addr;
  75454. + size_t s = faulting_address - stack_min;
  75455. + size_t page_size = sysconf (_SC_PAGESIZE);
  75456. + if (find_stack_direction (0) < 0)
  75457. + s += page_size;
  75458. + if (s < stack_size + page_size)
  75459. + _exit (0);
  75460. + _exit (4);
  75461. + }
  75462. + _exit (5);
  75463. + }
  75464. +
  75465. + static int
  75466. + c_stack_action ()
  75467. + {
  75468. + stack_t st;
  75469. + struct sigaction act;
  75470. + int r;
  75471. +
  75472. + st.ss_flags = 0;
  75473. + /* Use the midpoint to avoid Irix sigaltstack bug. */
  75474. + st.ss_sp = alternate_signal_stack.buffer + SIGSTKSZ;
  75475. + st.ss_size = SIGSTKSZ;
  75476. + r = sigaltstack (&st, 0);
  75477. + if (r != 0)
  75478. + return 1;
  75479. +
  75480. + sigemptyset (&act.sa_mask);
  75481. + act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND | SA_SIGINFO;
  75482. + act.sa_sigaction = segv_handler;
  75483. + #if FAULT_YIELDS_SIGBUS
  75484. + if (sigaction (SIGBUS, &act, 0) < 0)
  75485. + return 2;
  75486. + #endif
  75487. + if (sigaction (SIGSEGV, &act, 0) < 0)
  75488. + return 3;
  75489. + return 0;
  75490. + }
  75491. + static volatile int *
  75492. + recurse_1 (volatile int n, volatile int *p)
  75493. + {
  75494. + if (n >= 0)
  75495. + *recurse_1 (n + 1, p) += n;
  75496. + return p;
  75497. + }
  75498. + static int
  75499. + recurse (volatile int n)
  75500. + {
  75501. + int sum = 0;
  75502. + return *recurse_1 (n, &sum);
  75503. + }
  75504. + int
  75505. + main ()
  75506. + {
  75507. + int result;
  75508. + #if HAVE_SETRLIMIT && defined RLIMIT_STACK
  75509. + /* Before starting the endless recursion, try to be friendly
  75510. + to the user's machine. On some Linux 2.2.x systems, there
  75511. + is no stack limit for user processes at all. We don't want
  75512. + to kill such systems. */
  75513. + struct rlimit rl;
  75514. + rl.rlim_cur = rl.rlim_max = 0x100000; /* 1 MB */
  75515. + setrlimit (RLIMIT_STACK, &rl);
  75516. + #endif
  75517. +
  75518. + result = c_stack_action ();
  75519. + if (result != 0)
  75520. + return result;
  75521. + return recurse (0);
  75522. + }
  75523. + ]])],
  75524. + [ac_cv_sys_xsi_stack_overflow_heuristic=yes],
  75525. + [ac_cv_sys_xsi_stack_overflow_heuristic=no],
  75526. + [ac_cv_sys_xsi_stack_overflow_heuristic=cross-compiling])])
  75527. +
  75528. + if test $ac_cv_sys_xsi_stack_overflow_heuristic = yes; then
  75529. + AC_DEFINE([HAVE_XSI_STACK_OVERFLOW_HEURISTIC], [1],
  75530. + [Define to 1 if extending the stack slightly past the limit causes
  75531. + a SIGSEGV, and an alternate stack can be established with sigaltstack,
  75532. + and the signal handler is passed a context that specifies the
  75533. + run time stack. This behavior is defined by POSIX 1003.1-2001
  75534. + with the X/Open System Interface (XSI) option
  75535. + and is a standardized way to implement a SEGV-based stack
  75536. + overflow detection heuristic.])
  75537. + fi
  75538. + fi])
  75539. +m4trace:m4/c-stack.m4:334: -1- AC_DEFUN([gl_PREREQ_C_STACK], [AC_REQUIRE([AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC])
  75540. + AC_REQUIRE([gl_LIBSIGSEGV])
  75541. +
  75542. + # for STACK_DIRECTION
  75543. + AC_REQUIRE([AC_FUNC_ALLOCA])
  75544. +
  75545. + AC_CHECK_FUNCS_ONCE([sigaltstack])
  75546. + AC_CHECK_DECLS([sigaltstack], , , [#include <signal.h>])
  75547. +
  75548. + AC_CHECK_HEADERS_ONCE([unistd.h ucontext.h])
  75549. +
  75550. + AC_CHECK_TYPES([stack_t], , , [#include <signal.h>])
  75551. +
  75552. + dnl c-stack does not need -lsigsegv if the system has XSI heuristics.
  75553. + if test "$gl_cv_lib_sigsegv" = yes \
  75554. + && test $"ac_cv_sys_xsi_stack_overflow_heuristic" != yes ; then
  75555. + AC_SUBST([LIBCSTACK], [$LIBSIGSEGV])
  75556. + AC_SUBST([LTLIBCSTACK], [$LTLIBSIGSEGV])
  75557. + fi
  75558. +])
  75559. +m4trace:m4/c-stack.m4:356: -1- AC_DEFUN([gl_C_STACK], [
  75560. + dnl Prerequisites of lib/c-stack.c.
  75561. + gl_PREREQ_C_STACK
  75562. +])
  75563. +m4trace:m4/canonicalize.m4:11: -1- AC_DEFUN([gl_FUNC_CANONICALIZE_FILENAME_MODE], [
  75564. + AC_LIBOBJ([canonicalize])
  75565. +
  75566. + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
  75567. + AC_CHECK_FUNCS_ONCE([canonicalize_file_name])
  75568. + AC_REQUIRE([gl_DOUBLE_SLASH_ROOT])
  75569. + AC_REQUIRE([gl_FUNC_REALPATH_WORKS])
  75570. + if test $ac_cv_func_canonicalize_file_name = no; then
  75571. + HAVE_CANONICALIZE_FILE_NAME=0
  75572. + elif test "$gl_cv_func_realpath_works" != yes; then
  75573. + REPLACE_CANONICALIZE_FILE_NAME=1
  75574. + fi
  75575. +])
  75576. +m4trace:m4/canonicalize.m4:27: -1- AC_DEFUN([gl_CANONICALIZE_LGPL], [
  75577. + AC_REQUIRE([gl_CANONICALIZE_LGPL_SEPARATE])
  75578. + if test $ac_cv_func_canonicalize_file_name = no; then
  75579. + HAVE_CANONICALIZE_FILE_NAME=0
  75580. + AC_LIBOBJ([canonicalize-lgpl])
  75581. + if test $ac_cv_func_realpath = no; then
  75582. + HAVE_REALPATH=0
  75583. + elif test "$gl_cv_func_realpath_works" != yes; then
  75584. + REPLACE_REALPATH=1
  75585. + fi
  75586. + elif test "$gl_cv_func_realpath_works" != yes; then
  75587. + AC_LIBOBJ([canonicalize-lgpl])
  75588. + REPLACE_REALPATH=1
  75589. + REPLACE_CANONICALIZE_FILE_NAME=1
  75590. + fi
  75591. +])
  75592. +m4trace:m4/canonicalize.m4:47: -1- AC_DEFUN([gl_CANONICALIZE_LGPL_SEPARATE], [
  75593. + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
  75594. + AC_CHECK_FUNCS_ONCE([canonicalize_file_name getcwd readlink])
  75595. + AC_REQUIRE([gl_DOUBLE_SLASH_ROOT])
  75596. + AC_REQUIRE([gl_FUNC_REALPATH_WORKS])
  75597. + AC_CHECK_HEADERS_ONCE([sys/param.h])
  75598. +])
  75599. +m4trace:m4/canonicalize.m4:59: -1- AC_DEFUN([gl_FUNC_REALPATH_WORKS], [
  75600. + AC_CHECK_FUNCS_ONCE([realpath])
  75601. + AC_CACHE_CHECK([whether realpath works], [gl_cv_func_realpath_works], [
  75602. + touch conftest.a
  75603. + AC_RUN_IFELSE([
  75604. + AC_LANG_PROGRAM([[
  75605. + #include <stdlib.h>
  75606. + ]], [[
  75607. + int result = 0;
  75608. + {
  75609. + char *name = realpath ("conftest.a", NULL);
  75610. + if (!(name && *name == '/'))
  75611. + result |= 1;
  75612. + }
  75613. + {
  75614. + char *name = realpath ("conftest.b/../conftest.a", NULL);
  75615. + if (name != NULL)
  75616. + result |= 2;
  75617. + }
  75618. + {
  75619. + char *name = realpath ("conftest.a/", NULL);
  75620. + if (name != NULL)
  75621. + result |= 4;
  75622. + }
  75623. + return result;
  75624. + ]])
  75625. + ], [gl_cv_func_realpath_works=yes], [gl_cv_func_realpath_works=no],
  75626. + [gl_cv_func_realpath_works="guessing no"])
  75627. + ])
  75628. + if test "$gl_cv_func_realpath_works" = yes; then
  75629. + AC_DEFINE([FUNC_REALPATH_WORKS], [1], [Define to 1 if realpath()
  75630. + can malloc memory, always gives an absolute path, and handles
  75631. + trailing slash correctly.])
  75632. + fi
  75633. +])
  75634. +m4trace:m4/cloexec.m4:7: -1- AC_DEFUN([gl_CLOEXEC], [
  75635. + AC_LIBOBJ([cloexec])
  75636. +])
  75637. +m4trace:m4/close-stream.m4:7: -1- AC_DEFUN([gl_CLOSE_STREAM], [
  75638. + AC_LIBOBJ([close-stream])
  75639. +
  75640. + dnl Prerequisites of lib/close-stream.c.
  75641. + :
  75642. +])
  75643. +m4trace:m4/close.m4:7: -1- AC_DEFUN([gl_FUNC_CLOSE], [
  75644. + m4_ifdef([gl_PREREQ_SYS_H_WINSOCK2], [
  75645. + gl_PREREQ_SYS_H_WINSOCK2
  75646. + if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then
  75647. + dnl Even if the 'socket' module is not used here, another part of the
  75648. + dnl application may use it and pass file descriptors that refer to
  75649. + dnl sockets to the close() function. So enable the support for sockets.
  75650. + gl_REPLACE_CLOSE
  75651. + fi
  75652. + ])
  75653. +])
  75654. +m4trace:m4/close.m4:20: -1- AC_DEFUN([gl_REPLACE_CLOSE], [
  75655. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
  75656. + REPLACE_CLOSE=1
  75657. + AC_LIBOBJ([close])
  75658. + gl_REPLACE_FCLOSE
  75659. +])
  75660. +m4trace:m4/closein.m4:7: -1- AC_DEFUN([gl_CLOSEIN], [
  75661. + AC_LIBOBJ([closein])
  75662. +
  75663. + dnl Prerequisites of lib/closein.c.
  75664. + :
  75665. +])
  75666. +m4trace:m4/closeout.m4:8: -1- AC_DEFUN([gl_CLOSEOUT], [
  75667. + AC_LIBOBJ([closeout])
  75668. +
  75669. + dnl Prerequisites of lib/closeout.c.
  75670. + :
  75671. +])
  75672. +m4trace:m4/codeset.m4:9: -1- AC_DEFUN([AM_LANGINFO_CODESET], [
  75673. + AC_CACHE_CHECK([for nl_langinfo and CODESET], [am_cv_langinfo_codeset],
  75674. + [AC_LINK_IFELSE(
  75675. + [AC_LANG_PROGRAM(
  75676. + [[#include <langinfo.h>]],
  75677. + [[char* cs = nl_langinfo(CODESET); return !cs;]])],
  75678. + [am_cv_langinfo_codeset=yes],
  75679. + [am_cv_langinfo_codeset=no])
  75680. + ])
  75681. + if test $am_cv_langinfo_codeset = yes; then
  75682. + AC_DEFINE([HAVE_LANGINFO_CODESET], [1],
  75683. + [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
  75684. + fi
  75685. +])
  75686. +m4trace:m4/config-h.m4:12: -1- AC_DEFUN([gl_CONFIG_H], [AC_CONFIG_COMMANDS_PRE([test "X$DEFS" = X-DHAVE_CONFIG_H && DEFS=])])
  75687. +m4trace:m4/configmake.m4:12: -1- AC_DEFUN([gl_CONFIGMAKE_PREP], [
  75688. + dnl Technically, datadir should default to datarootdir. But if
  75689. + dnl autoconf is too old to provide datarootdir, then reversing the
  75690. + dnl definition is a reasonable compromise. Only AC_SUBST a variable
  75691. + dnl if it was not already defined earlier by autoconf.
  75692. + if test "x$datarootdir" = x; then
  75693. + AC_SUBST([datarootdir], ['${datadir}'])
  75694. + fi
  75695. + dnl Copy the approach used in autoconf 2.60.
  75696. + if test "x$docdir" = x; then
  75697. + AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
  75698. + ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
  75699. + ['${datarootdir}/doc/${PACKAGE}'])])
  75700. + fi
  75701. + dnl The remaining variables missing from autoconf 2.59 are easier.
  75702. + if test "x$htmldir" = x; then
  75703. + AC_SUBST([htmldir], ['${docdir}'])
  75704. + fi
  75705. + if test "x$dvidir" = x; then
  75706. + AC_SUBST([dvidir], ['${docdir}'])
  75707. + fi
  75708. + if test "x$pdfdir" = x; then
  75709. + AC_SUBST([pdfdir], ['${docdir}'])
  75710. + fi
  75711. + if test "x$psdir" = x; then
  75712. + AC_SUBST([psdir], ['${docdir}'])
  75713. + fi
  75714. + if test "x$lispdir" = x; then
  75715. + AC_SUBST([lispdir], ['${datarootdir}/emacs/site-lisp'])
  75716. + fi
  75717. + if test "x$localedir" = x; then
  75718. + AC_SUBST([localedir], ['${datarootdir}/locale'])
  75719. + fi
  75720. +
  75721. + dnl Automake 1.9.6 only lacks pkglibexecdir; and since 1.11 merely
  75722. + dnl provides it without AC_SUBST, this blind use of AC_SUBST is safe.
  75723. + AC_SUBST([pkglibexecdir], ['${libexecdir}/${PACKAGE}'])
  75724. +])
  75725. +m4trace:m4/dirname.m4:7: -1- AC_DEFUN([gl_DIRNAME], [
  75726. + AC_REQUIRE([gl_DIRNAME_LGPL])
  75727. + AC_LIBOBJ([basename])
  75728. + AC_LIBOBJ([dirname])
  75729. +])
  75730. +m4trace:m4/dirname.m4:14: -1- AC_DEFUN([gl_DIRNAME_LGPL], [
  75731. + AC_LIBOBJ([basename-lgpl])
  75732. + AC_LIBOBJ([dirname-lgpl])
  75733. + AC_LIBOBJ([stripslash])
  75734. +
  75735. + dnl Prerequisites of lib/dirname.h.
  75736. + AC_REQUIRE([gl_DOUBLE_SLASH_ROOT])
  75737. +
  75738. + dnl No prerequisites of lib/basename-lgpl.c, lib/dirname-lgpl.c,
  75739. + dnl lib/stripslash.c.
  75740. +])
  75741. +m4trace:m4/double-slash-root.m4:7: -1- AC_DEFUN([gl_DOUBLE_SLASH_ROOT], [
  75742. + AC_REQUIRE([AC_CANONICAL_HOST])
  75743. + AC_CACHE_CHECK([whether // is distinct from /], [gl_cv_double_slash_root],
  75744. + [ if test x"$cross_compiling" = xyes ; then
  75745. + # When cross-compiling, there is no way to tell whether // is special
  75746. + # short of a list of hosts. However, the only known hosts to date
  75747. + # that have a distinct // are Apollo DomainOS (too old to port to),
  75748. + # Cygwin, and z/OS. If anyone knows of another system for which // has
  75749. + # special semantics and is distinct from /, please report it to
  75750. + # <bug-gnulib@gnu.org>.
  75751. + case $host in
  75752. + *-cygwin | i370-ibm-openedition)
  75753. + gl_cv_double_slash_root=yes ;;
  75754. + *)
  75755. + # Be optimistic and assume that / and // are the same when we
  75756. + # don't know.
  75757. + gl_cv_double_slash_root='unknown, assuming no' ;;
  75758. + esac
  75759. + else
  75760. + set x `ls -di / // 2>/dev/null`
  75761. + if test "$[2]" = "$[4]" && wc //dev/null >/dev/null 2>&1; then
  75762. + gl_cv_double_slash_root=no
  75763. + else
  75764. + gl_cv_double_slash_root=yes
  75765. + fi
  75766. + fi])
  75767. + if test "$gl_cv_double_slash_root" = yes; then
  75768. + AC_DEFINE([DOUBLE_SLASH_IS_DISTINCT_ROOT], [1],
  75769. + [Define to 1 if // is a file system root distinct from /.])
  75770. + fi
  75771. +])
  75772. +m4trace:m4/dup2.m4:7: -1- AC_DEFUN([gl_FUNC_DUP2], [
  75773. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
  75774. + AC_REQUIRE([AC_CANONICAL_HOST])
  75775. + AC_CHECK_FUNCS_ONCE([dup2 fcntl])
  75776. + if test $ac_cv_func_dup2 = no; then
  75777. + HAVE_DUP2=0
  75778. + AC_LIBOBJ([dup2])
  75779. + else
  75780. + AC_CACHE_CHECK([whether dup2 works], [gl_cv_func_dup2_works],
  75781. + [AC_RUN_IFELSE([
  75782. + AC_LANG_PROGRAM([[#include <unistd.h>
  75783. +#include <fcntl.h>
  75784. +#include <errno.h>]],
  75785. + [int result = 0;
  75786. +#if HAVE_FCNTL
  75787. + if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1)
  75788. + result |= 1;
  75789. +#endif HAVE_FCNTL
  75790. + if (dup2 (1, 1) == 0)
  75791. + result |= 2;
  75792. +#if HAVE_FCNTL
  75793. + if (fcntl (1, F_GETFD) != FD_CLOEXEC)
  75794. + result |= 4;
  75795. +#endif
  75796. + close (0);
  75797. + if (dup2 (0, 0) != -1)
  75798. + result |= 8;
  75799. + /* Many gnulib modules require POSIX conformance of EBADF. */
  75800. + if (dup2 (2, 1000000) == -1 && errno != EBADF)
  75801. + result |= 16;
  75802. + return result;
  75803. + ])
  75804. + ],
  75805. + [gl_cv_func_dup2_works=yes], [gl_cv_func_dup2_works=no],
  75806. + [case "$host_os" in
  75807. + mingw*) # on this platform, dup2 always returns 0 for success
  75808. + gl_cv_func_dup2_works=no;;
  75809. + cygwin*) # on cygwin 1.5.x, dup2(1,1) returns 0
  75810. + gl_cv_func_dup2_works=no;;
  75811. + linux*) # On linux between 2008-07-27 and 2009-05-11, dup2 of a
  75812. + # closed fd may yield -EBADF instead of -1 / errno=EBADF.
  75813. + gl_cv_func_dup2_works=no;;
  75814. + freebsd*) # on FreeBSD 6.1, dup2(1,1000000) gives EMFILE, not EBADF.
  75815. + gl_cv_func_dup2_works=no;;
  75816. + haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC.
  75817. + gl_cv_func_dup2_works=no;;
  75818. + *) gl_cv_func_dup2_works=yes;;
  75819. + esac])
  75820. + ])
  75821. + if test "$gl_cv_func_dup2_works" = no; then
  75822. + gl_REPLACE_DUP2
  75823. + fi
  75824. + fi
  75825. +])
  75826. +m4trace:m4/dup2.m4:63: -1- AC_DEFUN([gl_REPLACE_DUP2], [
  75827. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
  75828. + if test $ac_cv_func_dup2 = yes; then
  75829. + REPLACE_DUP2=1
  75830. + fi
  75831. + AC_LIBOBJ([dup2])
  75832. +])
  75833. +m4trace:m4/eealloc.m4:7: -1- AC_DEFUN([gl_EEALLOC], [
  75834. + AC_REQUIRE([gl_EEMALLOC])
  75835. + AC_REQUIRE([gl_EEREALLOC])
  75836. + AC_REQUIRE([AC_C_INLINE])
  75837. +])
  75838. +m4trace:m4/eealloc.m4:14: -1- AC_DEFUN([gl_EEMALLOC], [
  75839. + _AC_FUNC_MALLOC_IF(
  75840. + [gl_cv_func_malloc_0_nonnull=1],
  75841. + [gl_cv_func_malloc_0_nonnull=0])
  75842. + AC_DEFINE_UNQUOTED([MALLOC_0_IS_NONNULL], [$gl_cv_func_malloc_0_nonnull],
  75843. + [If malloc(0) is != NULL, define this to 1. Otherwise define this
  75844. + to 0.])
  75845. +])
  75846. +m4trace:m4/eealloc.m4:24: -1- AC_DEFUN([gl_EEREALLOC], [
  75847. + _AC_FUNC_REALLOC_IF(
  75848. + [gl_cv_func_realloc_0_nonnull=1],
  75849. + [gl_cv_func_realloc_0_nonnull=0])
  75850. + AC_DEFINE_UNQUOTED([REALLOC_0_IS_NONNULL], [$gl_cv_func_realloc_0_nonnull],
  75851. + [If realloc(NULL,0) is != NULL, define this to 1. Otherwise define this
  75852. + to 0.])
  75853. +])
  75854. +m4trace:m4/environ.m4:7: -1- AC_DEFUN_ONCE([gl_ENVIRON], [
  75855. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
  75856. + dnl Persuade glibc <unistd.h> to declare environ.
  75857. + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
  75858. + gt_CHECK_VAR_DECL([#include <unistd.h>], environ)
  75859. + if test $gt_cv_var_environ_declaration != yes; then
  75860. + HAVE_DECL_ENVIRON=0
  75861. + fi
  75862. +])
  75863. +m4trace:m4/environ.m4:20: -1- AC_DEFUN([gt_CHECK_VAR_DECL], [
  75864. + define([gt_cv_var], [gt_cv_var_]$2[_declaration])
  75865. + AC_MSG_CHECKING([if $2 is properly declared])
  75866. + AC_CACHE_VAL([gt_cv_var], [
  75867. + AC_COMPILE_IFELSE(
  75868. + [AC_LANG_PROGRAM(
  75869. + [[$1
  75870. + extern struct { int foo; } $2;]],
  75871. + [[$2.foo = 1;]])],
  75872. + [gt_cv_var=no],
  75873. + [gt_cv_var=yes])])
  75874. + AC_MSG_RESULT([$gt_cv_var])
  75875. + if test $gt_cv_var = yes; then
  75876. + AC_DEFINE([HAVE_]m4_translit($2, [a-z], [A-Z])[_DECL], 1,
  75877. + [Define if you have the declaration of $2.])
  75878. + fi
  75879. + undefine([gt_cv_var])
  75880. +])
  75881. +m4trace:m4/errno_h.m4:7: -1- AC_DEFUN_ONCE([gl_HEADER_ERRNO_H], [
  75882. + AC_REQUIRE([AC_PROG_CC])
  75883. + AC_CACHE_CHECK([for complete errno.h], [gl_cv_header_errno_h_complete], [
  75884. + AC_EGREP_CPP([booboo],[
  75885. +#include <errno.h>
  75886. +#if !defined ENOMSG
  75887. +booboo
  75888. +#endif
  75889. +#if !defined EIDRM
  75890. +booboo
  75891. +#endif
  75892. +#if !defined ENOLINK
  75893. +booboo
  75894. +#endif
  75895. +#if !defined EPROTO
  75896. +booboo
  75897. +#endif
  75898. +#if !defined EMULTIHOP
  75899. +booboo
  75900. +#endif
  75901. +#if !defined EBADMSG
  75902. +booboo
  75903. +#endif
  75904. +#if !defined EOVERFLOW
  75905. +booboo
  75906. +#endif
  75907. +#if !defined ENOTSUP
  75908. +booboo
  75909. +#endif
  75910. +#if !defined ESTALE
  75911. +booboo
  75912. +#endif
  75913. +#if !defined EDQUOT
  75914. +booboo
  75915. +#endif
  75916. +#if !defined ECANCELED
  75917. +booboo
  75918. +#endif
  75919. + ],
  75920. + [gl_cv_header_errno_h_complete=no],
  75921. + [gl_cv_header_errno_h_complete=yes])
  75922. + ])
  75923. + if test $gl_cv_header_errno_h_complete = yes; then
  75924. + ERRNO_H=''
  75925. + else
  75926. + gl_NEXT_HEADERS([errno.h])
  75927. + ERRNO_H='errno.h'
  75928. + fi
  75929. + AC_SUBST([ERRNO_H])
  75930. + gl_REPLACE_ERRNO_VALUE([EMULTIHOP])
  75931. + gl_REPLACE_ERRNO_VALUE([ENOLINK])
  75932. + gl_REPLACE_ERRNO_VALUE([EOVERFLOW])
  75933. +])
  75934. +m4trace:m4/errno_h.m4:68: -1- AC_DEFUN([gl_REPLACE_ERRNO_VALUE], [
  75935. + if test -n "$ERRNO_H"; then
  75936. + AC_CACHE_CHECK([for ]$1[ value], [gl_cv_header_errno_h_]$1, [
  75937. + AC_EGREP_CPP([yes],[
  75938. +#include <errno.h>
  75939. +#ifdef ]$1[
  75940. +yes
  75941. +#endif
  75942. + ],
  75943. + [gl_cv_header_errno_h_]$1[=yes],
  75944. + [gl_cv_header_errno_h_]$1[=no])
  75945. + if test $gl_cv_header_errno_h_]$1[ = no; then
  75946. + AC_EGREP_CPP([yes],[
  75947. +#define _XOPEN_SOURCE_EXTENDED 1
  75948. +#include <errno.h>
  75949. +#ifdef ]$1[
  75950. +yes
  75951. +#endif
  75952. + ], [gl_cv_header_errno_h_]$1[=hidden])
  75953. + if test $gl_cv_header_errno_h_]$1[ = hidden; then
  75954. + dnl The macro exists but is hidden.
  75955. + dnl Define it to the same value.
  75956. + AC_COMPUTE_INT([gl_cv_header_errno_h_]$1, $1, [
  75957. +#define _XOPEN_SOURCE_EXTENDED 1
  75958. +#include <errno.h>
  75959. +/* The following two lines are a workaround against an autoconf-2.52 bug. */
  75960. +#include <stdio.h>
  75961. +#include <stdlib.h>
  75962. +])
  75963. + fi
  75964. + fi
  75965. + ])
  75966. + case $gl_cv_header_errno_h_$1 in
  75967. + yes | no)
  75968. + $1_HIDDEN=0; $1_VALUE=
  75969. + ;;
  75970. + *)
  75971. + $1_HIDDEN=1; $1_VALUE="$gl_cv_header_errno_h_$1"
  75972. + ;;
  75973. + esac
  75974. + AC_SUBST($1[_HIDDEN])
  75975. + AC_SUBST($1[_VALUE])
  75976. + fi
  75977. +])
  75978. +m4trace:m4/error.m4:9: -1- AC_DEFUN([gl_ERROR], [
  75979. + AC_FUNC_ERROR_AT_LINE
  75980. + dnl Note: AC_FUNC_ERROR_AT_LINE does AC_LIBSOURCES([error.h, error.c]).
  75981. + gl_PREREQ_ERROR
  75982. +])
  75983. +m4trace:m4/error.m4:18: -1- AC_DEFUN([AC_FUNC_ERROR_AT_LINE], [
  75984. + AC_LIBSOURCES([error.h, error.c])dnl
  75985. + AC_CACHE_CHECK([for error_at_line], [ac_cv_lib_error_at_line],
  75986. + [AC_LINK_IFELSE(
  75987. + [AC_LANG_PROGRAM(
  75988. + [[#include <error.h>]],
  75989. + [[error_at_line (0, 0, "", 0, "an error occurred");]])],
  75990. + [ac_cv_lib_error_at_line=yes],
  75991. + [ac_cv_lib_error_at_line=no])])
  75992. + if test $ac_cv_lib_error_at_line = no; then
  75993. + AC_LIBOBJ([error])
  75994. + fi
  75995. +])
  75996. +m4trace:m4/error.m4:34: -1- AC_DEFUN([gl_PREREQ_ERROR], [
  75997. + AC_REQUIRE([AC_FUNC_STRERROR_R])
  75998. + AC_REQUIRE([AC_C_INLINE])
  75999. + :
  76000. +])
  76001. +m4trace:m4/execute.m4:7: -1- AC_DEFUN([gl_EXECUTE], [
  76002. + dnl Prerequisites of lib/execute.c.
  76003. + AC_REQUIRE([AC_C_INLINE])
  76004. + AC_REQUIRE([AC_TYPE_MODE_T])
  76005. +])
  76006. +m4trace:m4/exponentd.m4:6: -1- AC_DEFUN([gl_DOUBLE_EXPONENT_LOCATION], [
  76007. + AC_CACHE_CHECK([where to find the exponent in a 'double'],
  76008. + [gl_cv_cc_double_expbit0],
  76009. + [
  76010. + AC_RUN_IFELSE(
  76011. + [AC_LANG_SOURCE([[
  76012. +#include <float.h>
  76013. +#include <stddef.h>
  76014. +#include <stdio.h>
  76015. +#include <string.h>
  76016. +#define NWORDS \
  76017. + ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  76018. +typedef union { double value; unsigned int word[NWORDS]; } memory_double;
  76019. +static unsigned int ored_words[NWORDS];
  76020. +static unsigned int anded_words[NWORDS];
  76021. +static void add_to_ored_words (double x)
  76022. +{
  76023. + memory_double m;
  76024. + size_t i;
  76025. + /* Clear it first, in case sizeof (double) < sizeof (memory_double). */
  76026. + memset (&m, 0, sizeof (memory_double));
  76027. + m.value = x;
  76028. + for (i = 0; i < NWORDS; i++)
  76029. + {
  76030. + ored_words[i] |= m.word[i];
  76031. + anded_words[i] &= m.word[i];
  76032. + }
  76033. +}
  76034. +int main ()
  76035. +{
  76036. + size_t j;
  76037. + FILE *fp = fopen ("conftest.out", "w");
  76038. + if (fp == NULL)
  76039. + return 1;
  76040. + for (j = 0; j < NWORDS; j++)
  76041. + anded_words[j] = ~ (unsigned int) 0;
  76042. + add_to_ored_words (0.25);
  76043. + add_to_ored_words (0.5);
  76044. + add_to_ored_words (1.0);
  76045. + add_to_ored_words (2.0);
  76046. + add_to_ored_words (4.0);
  76047. + /* Remove bits that are common (e.g. if representation of the first mantissa
  76048. + bit is explicit). */
  76049. + for (j = 0; j < NWORDS; j++)
  76050. + ored_words[j] &= ~anded_words[j];
  76051. + /* Now find the nonzero word. */
  76052. + for (j = 0; j < NWORDS; j++)
  76053. + if (ored_words[j] != 0)
  76054. + break;
  76055. + if (j < NWORDS)
  76056. + {
  76057. + size_t i;
  76058. + for (i = j + 1; i < NWORDS; i++)
  76059. + if (ored_words[i] != 0)
  76060. + {
  76061. + fprintf (fp, "unknown");
  76062. + return (fclose (fp) != 0);
  76063. + }
  76064. + for (i = 0; ; i++)
  76065. + if ((ored_words[j] >> i) & 1)
  76066. + {
  76067. + fprintf (fp, "word %d bit %d", (int) j, (int) i);
  76068. + return (fclose (fp) != 0);
  76069. + }
  76070. + }
  76071. + fprintf (fp, "unknown");
  76072. + return (fclose (fp) != 0);
  76073. +}
  76074. + ]])],
  76075. + [gl_cv_cc_double_expbit0=`cat conftest.out`],
  76076. + [gl_cv_cc_double_expbit0="unknown"],
  76077. + [
  76078. + dnl On ARM, there are two 'double' floating-point formats, used by
  76079. + dnl different sets of instructions: The older FPA instructions assume
  76080. + dnl that they are stored in big-endian word order, while the words
  76081. + dnl (like integer types) are stored in little-endian byte order.
  76082. + dnl The newer VFP instructions assume little-endian order consistenly.
  76083. + AC_EGREP_CPP([mixed_endianness], [
  76084. +#if defined arm || defined __arm || defined __arm__
  76085. + mixed_endianness
  76086. +#endif
  76087. + ],
  76088. + [gl_cv_cc_double_expbit0="unknown"],
  76089. + [
  76090. + pushdef([AC_MSG_CHECKING],[:])dnl
  76091. + pushdef([AC_MSG_RESULT],[:])dnl
  76092. + pushdef([AC_MSG_RESULT_UNQUOTED],[:])dnl
  76093. + AC_C_BIGENDIAN(
  76094. + [gl_cv_cc_double_expbit0="word 0 bit 20"],
  76095. + [gl_cv_cc_double_expbit0="word 1 bit 20"],
  76096. + [gl_cv_cc_double_expbit0="unknown"])
  76097. + popdef([AC_MSG_RESULT_UNQUOTED])dnl
  76098. + popdef([AC_MSG_RESULT])dnl
  76099. + popdef([AC_MSG_CHECKING])dnl
  76100. + ])
  76101. + ])
  76102. + rm -f conftest.out
  76103. + ])
  76104. + case "$gl_cv_cc_double_expbit0" in
  76105. + word*bit*)
  76106. + word=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
  76107. + bit=`echo "$gl_cv_cc_double_expbit0" | sed -e 's/word.*bit //'`
  76108. + AC_DEFINE_UNQUOTED([DBL_EXPBIT0_WORD], [$word],
  76109. + [Define as the word index where to find the exponent of 'double'.])
  76110. + AC_DEFINE_UNQUOTED([DBL_EXPBIT0_BIT], [$bit],
  76111. + [Define as the bit index in the word where to find bit 0 of the exponent of 'double'.])
  76112. + ;;
  76113. + esac
  76114. +])
  76115. +m4trace:m4/exponentf.m4:6: -1- AC_DEFUN([gl_FLOAT_EXPONENT_LOCATION], [
  76116. + AC_CACHE_CHECK([where to find the exponent in a 'float'],
  76117. + [gl_cv_cc_float_expbit0],
  76118. + [
  76119. + AC_RUN_IFELSE(
  76120. + [AC_LANG_SOURCE([[
  76121. +#include <float.h>
  76122. +#include <stddef.h>
  76123. +#include <stdio.h>
  76124. +#include <string.h>
  76125. +#define NWORDS \
  76126. + ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  76127. +typedef union { float value; unsigned int word[NWORDS]; } memory_float;
  76128. +static unsigned int ored_words[NWORDS];
  76129. +static unsigned int anded_words[NWORDS];
  76130. +static void add_to_ored_words (float x)
  76131. +{
  76132. + memory_float m;
  76133. + size_t i;
  76134. + /* Clear it first, in case
  76135. + sizeof (float) < sizeof (memory_float). */
  76136. + memset (&m, 0, sizeof (memory_float));
  76137. + m.value = x;
  76138. + for (i = 0; i < NWORDS; i++)
  76139. + {
  76140. + ored_words[i] |= m.word[i];
  76141. + anded_words[i] &= m.word[i];
  76142. + }
  76143. +}
  76144. +int main ()
  76145. +{
  76146. + size_t j;
  76147. + FILE *fp = fopen ("conftest.out", "w");
  76148. + if (fp == NULL)
  76149. + return 1;
  76150. + for (j = 0; j < NWORDS; j++)
  76151. + anded_words[j] = ~ (unsigned int) 0;
  76152. + add_to_ored_words (0.25f);
  76153. + add_to_ored_words (0.5f);
  76154. + add_to_ored_words (1.0f);
  76155. + add_to_ored_words (2.0f);
  76156. + add_to_ored_words (4.0f);
  76157. + /* Remove bits that are common (e.g. if representation of the first mantissa
  76158. + bit is explicit). */
  76159. + for (j = 0; j < NWORDS; j++)
  76160. + ored_words[j] &= ~anded_words[j];
  76161. + /* Now find the nonzero word. */
  76162. + for (j = 0; j < NWORDS; j++)
  76163. + if (ored_words[j] != 0)
  76164. + break;
  76165. + if (j < NWORDS)
  76166. + {
  76167. + size_t i;
  76168. + for (i = j + 1; i < NWORDS; i++)
  76169. + if (ored_words[i] != 0)
  76170. + {
  76171. + fprintf (fp, "unknown");
  76172. + return (fclose (fp) != 0);
  76173. + }
  76174. + for (i = 0; ; i++)
  76175. + if ((ored_words[j] >> i) & 1)
  76176. + {
  76177. + fprintf (fp, "word %d bit %d", (int) j, (int) i);
  76178. + return (fclose (fp) != 0);
  76179. + }
  76180. + }
  76181. + fprintf (fp, "unknown");
  76182. + return (fclose (fp) != 0);
  76183. +}
  76184. + ]])],
  76185. + [gl_cv_cc_float_expbit0=`cat conftest.out`],
  76186. + [gl_cv_cc_float_expbit0="unknown"],
  76187. + [gl_cv_cc_float_expbit0="word 0 bit 23"])
  76188. + rm -f conftest.out
  76189. + ])
  76190. + case "$gl_cv_cc_float_expbit0" in
  76191. + word*bit*)
  76192. + word=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
  76193. + bit=`echo "$gl_cv_cc_float_expbit0" | sed -e 's/word.*bit //'`
  76194. + AC_DEFINE_UNQUOTED([FLT_EXPBIT0_WORD], [$word],
  76195. + [Define as the word index where to find the exponent of 'float'.])
  76196. + AC_DEFINE_UNQUOTED([FLT_EXPBIT0_BIT], [$bit],
  76197. + [Define as the bit index in the word where to find bit 0 of the exponent of 'float'.])
  76198. + ;;
  76199. + esac
  76200. +])
  76201. +m4trace:m4/exponentl.m4:6: -1- AC_DEFUN([gl_LONG_DOUBLE_EXPONENT_LOCATION], [
  76202. + AC_REQUIRE([gl_BIGENDIAN])
  76203. + AC_CACHE_CHECK([where to find the exponent in a 'long double'],
  76204. + [gl_cv_cc_long_double_expbit0],
  76205. + [
  76206. + AC_RUN_IFELSE(
  76207. + [AC_LANG_SOURCE([[
  76208. +#include <float.h>
  76209. +#include <stddef.h>
  76210. +#include <stdio.h>
  76211. +#include <string.h>
  76212. +#define NWORDS \
  76213. + ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  76214. +typedef union { long double value; unsigned int word[NWORDS]; }
  76215. + memory_long_double;
  76216. +static unsigned int ored_words[NWORDS];
  76217. +static unsigned int anded_words[NWORDS];
  76218. +static void add_to_ored_words (long double x)
  76219. +{
  76220. + memory_long_double m;
  76221. + size_t i;
  76222. + /* Clear it first, in case
  76223. + sizeof (long double) < sizeof (memory_long_double). */
  76224. + memset (&m, 0, sizeof (memory_long_double));
  76225. + m.value = x;
  76226. + for (i = 0; i < NWORDS; i++)
  76227. + {
  76228. + ored_words[i] |= m.word[i];
  76229. + anded_words[i] &= m.word[i];
  76230. + }
  76231. +}
  76232. +int main ()
  76233. +{
  76234. + size_t j;
  76235. + FILE *fp = fopen ("conftest.out", "w");
  76236. + if (fp == NULL)
  76237. + return 1;
  76238. + for (j = 0; j < NWORDS; j++)
  76239. + anded_words[j] = ~ (unsigned int) 0;
  76240. + add_to_ored_words (0.25L);
  76241. + add_to_ored_words (0.5L);
  76242. + add_to_ored_words (1.0L);
  76243. + add_to_ored_words (2.0L);
  76244. + add_to_ored_words (4.0L);
  76245. + /* Remove bits that are common (e.g. if representation of the first mantissa
  76246. + bit is explicit). */
  76247. + for (j = 0; j < NWORDS; j++)
  76248. + ored_words[j] &= ~anded_words[j];
  76249. + /* Now find the nonzero word. */
  76250. + for (j = 0; j < NWORDS; j++)
  76251. + if (ored_words[j] != 0)
  76252. + break;
  76253. + if (j < NWORDS)
  76254. + {
  76255. + size_t i;
  76256. + for (i = j + 1; i < NWORDS; i++)
  76257. + if (ored_words[i] != 0)
  76258. + {
  76259. + fprintf (fp, "unknown");
  76260. + return (fclose (fp) != 0);
  76261. + }
  76262. + for (i = 0; ; i++)
  76263. + if ((ored_words[j] >> i) & 1)
  76264. + {
  76265. + fprintf (fp, "word %d bit %d", (int) j, (int) i);
  76266. + return (fclose (fp) != 0);
  76267. + }
  76268. + }
  76269. + fprintf (fp, "unknown");
  76270. + return (fclose (fp) != 0);
  76271. +}
  76272. + ]])],
  76273. + [gl_cv_cc_long_double_expbit0=`cat conftest.out`],
  76274. + [gl_cv_cc_long_double_expbit0="unknown"],
  76275. + [
  76276. + dnl When cross-compiling, we don't know. It depends on the
  76277. + dnl ABI and compiler version. There are too many cases.
  76278. + gl_cv_cc_long_double_expbit0="unknown"
  76279. + ])
  76280. + rm -f conftest.out
  76281. + ])
  76282. + case "$gl_cv_cc_long_double_expbit0" in
  76283. + word*bit*)
  76284. + word=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word //' -e 's/ bit.*//'`
  76285. + bit=`echo "$gl_cv_cc_long_double_expbit0" | sed -e 's/word.*bit //'`
  76286. + AC_DEFINE_UNQUOTED([LDBL_EXPBIT0_WORD], [$word],
  76287. + [Define as the word index where to find the exponent of 'long double'.])
  76288. + AC_DEFINE_UNQUOTED([LDBL_EXPBIT0_BIT], [$bit],
  76289. + [Define as the bit index in the word where to find bit 0 of the exponent of 'long double'.])
  76290. + ;;
  76291. + esac
  76292. +])
  76293. +m4trace:m4/extensions.m4:37: -1- AC_DEFUN_ONCE([AC_USE_SYSTEM_EXTENSIONS], [AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
  76294. +AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
  76295. +
  76296. + AC_REQUIRE([AC_CANONICAL_HOST])
  76297. +
  76298. + AC_CHECK_HEADER([minix/config.h], [MINIX=yes], [MINIX=])
  76299. + if test "$MINIX" = yes; then
  76300. + AC_DEFINE([_POSIX_SOURCE], [1],
  76301. + [Define to 1 if you need to in order for `stat' and other
  76302. + things to work.])
  76303. + AC_DEFINE([_POSIX_1_SOURCE], [2],
  76304. + [Define to 2 if the system does not provide POSIX.1 features
  76305. + except with this defined.])
  76306. + AC_DEFINE([_MINIX], [1],
  76307. + [Define to 1 if on MINIX.])
  76308. + fi
  76309. +
  76310. + dnl HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to 500,
  76311. + dnl regardless of whether the flags -Ae or _D_HPUX_SOURCE=1 are already
  76312. + dnl provided.
  76313. + case "$host_os" in
  76314. + hpux*)
  76315. + AC_DEFINE([_XOPEN_SOURCE], [500],
  76316. + [Define to 500 only on HP-UX.])
  76317. + ;;
  76318. + esac
  76319. +
  76320. + AH_VERBATIM([__EXTENSIONS__],
  76321. +[/* Enable extensions on AIX 3, Interix. */
  76322. +#ifndef _ALL_SOURCE
  76323. +# undef _ALL_SOURCE
  76324. +#endif
  76325. +/* Enable GNU extensions on systems that have them. */
  76326. +#ifndef _GNU_SOURCE
  76327. +# undef _GNU_SOURCE
  76328. +#endif
  76329. +/* Enable threading extensions on Solaris. */
  76330. +#ifndef _POSIX_PTHREAD_SEMANTICS
  76331. +# undef _POSIX_PTHREAD_SEMANTICS
  76332. +#endif
  76333. +/* Enable extensions on HP NonStop. */
  76334. +#ifndef _TANDEM_SOURCE
  76335. +# undef _TANDEM_SOURCE
  76336. +#endif
  76337. +/* Enable general extensions on Solaris. */
  76338. +#ifndef __EXTENSIONS__
  76339. +# undef __EXTENSIONS__
  76340. +#endif
  76341. +])
  76342. + AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__],
  76343. + [ac_cv_safe_to_define___extensions__],
  76344. + [AC_COMPILE_IFELSE(
  76345. + [AC_LANG_PROGRAM([[
  76346. +# define __EXTENSIONS__ 1
  76347. + ]AC_INCLUDES_DEFAULT])],
  76348. + [ac_cv_safe_to_define___extensions__=yes],
  76349. + [ac_cv_safe_to_define___extensions__=no])])
  76350. + test $ac_cv_safe_to_define___extensions__ = yes &&
  76351. + AC_DEFINE([__EXTENSIONS__])
  76352. + AC_DEFINE([_ALL_SOURCE])
  76353. + AC_DEFINE([_GNU_SOURCE])
  76354. + AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
  76355. + AC_DEFINE([_TANDEM_SOURCE])
  76356. +])
  76357. +m4trace:m4/extensions.m4:107: -1- AC_DEFUN_ONCE([gl_USE_SYSTEM_EXTENSIONS], [
  76358. + dnl Require this macro before AC_USE_SYSTEM_EXTENSIONS.
  76359. + dnl gnulib does not need it. But if it gets required by third-party macros
  76360. + dnl after AC_USE_SYSTEM_EXTENSIONS is required, autoconf 2.62..2.63 emit a
  76361. + dnl warning: "AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS".
  76362. + dnl Note: We can do this only for one of the macros AC_AIX, AC_GNU_SOURCE,
  76363. + dnl AC_MINIX. If people still use AC_AIX or AC_MINIX, they are out of luck.
  76364. + AC_REQUIRE([AC_GNU_SOURCE])
  76365. +
  76366. + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
  76367. +])
  76368. +m4trace:m4/fatal-signal.m4:7: -1- AC_DEFUN([gl_FATAL_SIGNAL], [
  76369. + AC_REQUIRE([AC_C_INLINE])
  76370. + AC_REQUIRE([gt_TYPE_SIG_ATOMIC_T])
  76371. + AC_CHECK_HEADERS_ONCE([unistd.h])
  76372. + gl_PREREQ_SIG_HANDLER_H
  76373. +])
  76374. +m4trace:m4/fclose.m4:7: -1- AC_DEFUN([gl_FUNC_FCLOSE], [
  76375. +])
  76376. +m4trace:m4/fclose.m4:11: -1- AC_DEFUN([gl_REPLACE_FCLOSE], [
  76377. + AC_REQUIRE([gl_STDIO_H_DEFAULTS])
  76378. + REPLACE_FCLOSE=1
  76379. + AC_LIBOBJ([fclose])
  76380. +])
  76381. +m4trace:m4/fcntl-o.m4:12: -1- AC_DEFUN([gl_FCNTL_O_FLAGS], [
  76382. + dnl Persuade glibc <fcntl.h> to define O_NOATIME and O_NOFOLLOW.
  76383. + dnl AC_USE_SYSTEM_EXTENSIONS was introduced in autoconf 2.60 and obsoletes
  76384. + dnl AC_GNU_SOURCE.
  76385. + m4_ifdef([AC_USE_SYSTEM_EXTENSIONS],
  76386. + [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])],
  76387. + [AC_REQUIRE([AC_GNU_SOURCE])])
  76388. + AC_CACHE_CHECK([for working fcntl.h], [gl_cv_header_working_fcntl_h],
  76389. + [AC_RUN_IFELSE(
  76390. + [AC_LANG_PROGRAM(
  76391. + [[#include <sys/types.h>
  76392. + #include <sys/stat.h>
  76393. + #include <unistd.h>
  76394. + #include <fcntl.h>
  76395. + #ifndef O_NOATIME
  76396. + #define O_NOATIME 0
  76397. + #endif
  76398. + #ifndef O_NOFOLLOW
  76399. + #define O_NOFOLLOW 0
  76400. + #endif
  76401. + static int const constants[] =
  76402. + {
  76403. + O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
  76404. + O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
  76405. + };
  76406. + ]],
  76407. + [[
  76408. + int result = !constants;
  76409. + {
  76410. + static char const sym[] = "conftest.sym";
  76411. + if (symlink (".", sym) != 0)
  76412. + result |= 2;
  76413. + else
  76414. + {
  76415. + int fd = open (sym, O_RDONLY | O_NOFOLLOW);
  76416. + if (fd >= 0)
  76417. + {
  76418. + close (fd);
  76419. + result |= 4;
  76420. + }
  76421. + }
  76422. + unlink (sym);
  76423. + }
  76424. + {
  76425. + static char const file[] = "confdefs.h";
  76426. + int fd = open (file, O_RDONLY | O_NOATIME);
  76427. + if (fd < 0)
  76428. + result |= 8;
  76429. + else
  76430. + {
  76431. + struct stat st0;
  76432. + if (fstat (fd, &st0) != 0)
  76433. + result |= 16;
  76434. + else
  76435. + {
  76436. + char c;
  76437. + sleep (1);
  76438. + if (read (fd, &c, 1) != 1)
  76439. + result |= 24;
  76440. + else
  76441. + {
  76442. + if (close (fd) != 0)
  76443. + result |= 32;
  76444. + else
  76445. + {
  76446. + struct stat st1;
  76447. + if (stat (file, &st1) != 0)
  76448. + result |= 40;
  76449. + else
  76450. + if (st0.st_atime != st1.st_atime)
  76451. + result |= 64;
  76452. + }
  76453. + }
  76454. + }
  76455. + }
  76456. + }
  76457. + return result;]])],
  76458. + [gl_cv_header_working_fcntl_h=yes],
  76459. + [case $? in #(
  76460. + 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #(
  76461. + 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #(
  76462. + 68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #(
  76463. + *) gl_cv_header_working_fcntl_h='no';;
  76464. + esac],
  76465. + [gl_cv_header_working_fcntl_h=cross-compiling])])
  76466. +
  76467. + case $gl_cv_header_working_fcntl_h in #(
  76468. + *O_NOATIME* | no | cross-compiling) ac_val=0;; #(
  76469. + *) ac_val=1;;
  76470. + esac
  76471. + AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOATIME], [$ac_val],
  76472. + [Define to 1 if O_NOATIME works.])
  76473. +
  76474. + case $gl_cv_header_working_fcntl_h in #(
  76475. + *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #(
  76476. + *) ac_val=1;;
  76477. + esac
  76478. + AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOFOLLOW], [$ac_val],
  76479. + [Define to 1 if O_NOFOLLOW works.])
  76480. +])
  76481. +m4trace:m4/fcntl.m4:16: -1- AC_DEFUN([gl_FUNC_FCNTL], [
  76482. + dnl Persuade glibc to expose F_DUPFD_CLOEXEC.
  76483. + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
  76484. + AC_REQUIRE([gl_FCNTL_H_DEFAULTS])
  76485. + AC_REQUIRE([AC_CANONICAL_HOST])
  76486. + AC_CHECK_FUNCS_ONCE([fcntl])
  76487. + if test $ac_cv_func_fcntl = no; then
  76488. + gl_REPLACE_FCNTL
  76489. + else
  76490. + dnl cygwin 1.5.x F_DUPFD has wrong errno, and allows negative target
  76491. + dnl haiku alpha 2 F_DUPFD has wrong errno
  76492. + AC_CACHE_CHECK([whether fcntl handles F_DUPFD correctly],
  76493. + [gl_cv_func_fcntl_f_dupfd_works],
  76494. + [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
  76495. +#include <fcntl.h>
  76496. +#include <errno.h>
  76497. +]], [[int result = 0;
  76498. + if (fcntl (0, F_DUPFD, -1) != -1) result |= 1;
  76499. + if (errno != EINVAL) result |= 2;
  76500. + return result;
  76501. + ]])],
  76502. + [gl_cv_func_fcntl_f_dupfd_works=yes],
  76503. + [gl_cv_func_fcntl_f_dupfd_works=no],
  76504. + [# Guess that it works on glibc systems
  76505. + case $host_os in #((
  76506. + *-gnu*) gl_cv_func_fcntl_f_dupfd_works="guessing yes";;
  76507. + *) gl_cv_func_fcntl_f_dupfd_works="guessing no";;
  76508. + esac])])
  76509. + case $gl_cv_func_fcntl_f_dupfd_works in
  76510. + *yes) ;;
  76511. + *) gl_REPLACE_FCNTL
  76512. + AC_DEFINE([FCNTL_DUPFD_BUGGY], [1], [Define this to 1 if F_DUPFD
  76513. + behavior does not match POSIX]) ;;
  76514. + esac
  76515. +
  76516. + dnl Many systems lack F_DUPFD_CLOEXEC
  76517. + AC_CACHE_CHECK([whether fcntl understands F_DUPFD_CLOEXEC],
  76518. + [gl_cv_func_fcntl_f_dupfd_cloexec],
  76519. + [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
  76520. +#include <fcntl.h>
  76521. +#ifndef F_DUPFD_CLOEXEC
  76522. +choke me
  76523. +#endif
  76524. + ]])],
  76525. + [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
  76526. +#ifdef __linux__
  76527. +/* The Linux kernel only added F_DUPFD_CLOEXEC in 2.6.24, so we always replace
  76528. + it to support the semantics on older kernels that failed with EINVAL. */
  76529. +choke me
  76530. +#endif
  76531. + ]])],
  76532. + [gl_cv_func_fcntl_f_dupfd_cloexec=yes],
  76533. + [gl_cv_func_fcntl_f_dupfd_cloexec="needs runtime check"])],
  76534. + [gl_cv_func_fcntl_f_dupfd_cloexec=no])])
  76535. + if test "$gl_cv_func_fcntl_f_dupfd_cloexec" != yes; then
  76536. + gl_REPLACE_FCNTL
  76537. + dnl No witness macro needed for this bug.
  76538. + fi
  76539. + fi
  76540. +])
  76541. +m4trace:m4/fcntl.m4:78: -1- AC_DEFUN([gl_REPLACE_FCNTL], [
  76542. + AC_REQUIRE([gl_FCNTL_H_DEFAULTS])
  76543. + AC_CHECK_FUNCS_ONCE([fcntl])
  76544. + if test $ac_cv_func_fcntl = no; then
  76545. + HAVE_FCNTL=0
  76546. + else
  76547. + REPLACE_FCNTL=1
  76548. + fi
  76549. + AC_LIBOBJ([fcntl])
  76550. +])
  76551. +m4trace:m4/fcntl_h.m4:10: -1- AC_DEFUN([gl_FCNTL_H], [
  76552. + AC_REQUIRE([gl_FCNTL_H_DEFAULTS])
  76553. + AC_REQUIRE([gl_FCNTL_O_FLAGS])
  76554. + gl_NEXT_HEADERS([fcntl.h])
  76555. +
  76556. + dnl Check for declarations of anything we want to poison if the
  76557. + dnl corresponding gnulib module is not in use, if it is not common
  76558. + dnl enough to be declared everywhere.
  76559. + gl_WARN_ON_USE_PREPARE([[#include <fcntl.h>
  76560. + ]], [fcntl openat])
  76561. +])
  76562. +m4trace:m4/fcntl_h.m4:23: -1- AC_DEFUN([gl_FCNTL_MODULE_INDICATOR], [
  76563. + dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
  76564. + AC_REQUIRE([gl_FCNTL_H_DEFAULTS])
  76565. + gl_MODULE_INDICATOR_SET_VARIABLE([$1])
  76566. + dnl Define it also as a C macro, for the benefit of the unit tests.
  76567. + gl_MODULE_INDICATOR_FOR_TESTS([$1])
  76568. +])
  76569. +m4trace:m4/fcntl_h.m4:32: -1- AC_DEFUN([gl_FCNTL_H_DEFAULTS], [
  76570. + GNULIB_FCNTL=0; AC_SUBST([GNULIB_FCNTL])
  76571. + GNULIB_OPEN=0; AC_SUBST([GNULIB_OPEN])
  76572. + GNULIB_OPENAT=0; AC_SUBST([GNULIB_OPENAT])
  76573. + dnl Assume proper GNU behavior unless another module says otherwise.
  76574. + HAVE_FCNTL=1; AC_SUBST([HAVE_FCNTL])
  76575. + HAVE_OPENAT=1; AC_SUBST([HAVE_OPENAT])
  76576. + REPLACE_FCNTL=0; AC_SUBST([REPLACE_FCNTL])
  76577. + REPLACE_OPEN=0; AC_SUBST([REPLACE_OPEN])
  76578. + REPLACE_OPENAT=0; AC_SUBST([REPLACE_OPENAT])
  76579. +])
  76580. +m4trace:m4/fflush.m4:13: -1- AC_DEFUN([gl_FUNC_FFLUSH], [
  76581. + AC_CACHE_CHECK([whether fflush works on input streams],
  76582. + [gl_cv_func_fflush_stdin],
  76583. + [echo hello world > conftest.txt
  76584. + AC_RUN_IFELSE([AC_LANG_PROGRAM(
  76585. + [[
  76586. +#include <stdio.h>
  76587. +#include <unistd.h>
  76588. + ]], [[FILE *f = fopen ("conftest.txt", "r");
  76589. + char buffer[10];
  76590. + int fd;
  76591. + int c;
  76592. + if (f == NULL)
  76593. + return 1;
  76594. + fd = fileno (f);
  76595. + if (fd < 0 || fread (buffer, 1, 5, f) != 5)
  76596. + return 2;
  76597. + /* For deterministic results, ensure f read a bigger buffer. */
  76598. + if (lseek (fd, 0, SEEK_CUR) == 5)
  76599. + return 3;
  76600. + /* POSIX requires fflush-fseek to set file offset of fd. This fails
  76601. + on BSD systems and on mingw. */
  76602. + if (fflush (f) != 0 || fseek (f, 0, SEEK_CUR) != 0)
  76603. + return 4;
  76604. + if (lseek (fd, 0, SEEK_CUR) != 5)
  76605. + return 5;
  76606. + /* Verify behaviour of fflush after ungetc. See
  76607. + <http://www.opengroup.org/austin/aardvark/latest/xshbug3.txt> */
  76608. + /* Verify behaviour of fflush after a backup ungetc. This fails on
  76609. + mingw. */
  76610. + c = fgetc (f);
  76611. + ungetc (c, f);
  76612. + fflush (f);
  76613. + if (fgetc (f) != c)
  76614. + return 6;
  76615. + /* Verify behaviour of fflush after a non-backup ungetc. This fails
  76616. + on glibc 2.8 and on BSD systems. */
  76617. + c = fgetc (f);
  76618. + ungetc ('@', f);
  76619. + fflush (f);
  76620. + if (fgetc (f) != c)
  76621. + return 7;
  76622. + return 0;
  76623. + ]])], [gl_cv_func_fflush_stdin=yes], [gl_cv_func_fflush_stdin=no],
  76624. + [gl_cv_func_fflush_stdin=cross])
  76625. + rm conftest.txt
  76626. + ])
  76627. + case $gl_cv_func_fflush_stdin in
  76628. + yes) gl_func_fflush_stdin=1 ;;
  76629. + no) gl_func_fflush_stdin=0 ;;
  76630. + *) gl_func_fflush_stdin='(-1)' ;;
  76631. + esac
  76632. + AC_DEFINE_UNQUOTED([FUNC_FFLUSH_STDIN], [$gl_func_fflush_stdin],
  76633. + [Define to 1 if fflush is known to work on stdin as per POSIX.1-2008,
  76634. + 0 if fflush is known to not work, -1 if unknown.])
  76635. + if test $gl_cv_func_fflush_stdin != yes; then
  76636. + gl_REPLACE_FFLUSH
  76637. + fi
  76638. +])
  76639. +m4trace:m4/fflush.m4:74: -1- AC_DEFUN([gl_REPLACE_FFLUSH], [
  76640. + AC_LIBOBJ([fflush])
  76641. + AC_REQUIRE([gl_STDIO_H_DEFAULTS])
  76642. + REPLACE_FFLUSH=1
  76643. + gl_PREREQ_FFLUSH
  76644. + gl_REPLACE_FSEEKO
  76645. +])
  76646. +m4trace:m4/fflush.m4:84: -1- AC_DEFUN([gl_PREREQ_FFLUSH], [
  76647. + AC_REQUIRE([AC_C_INLINE])
  76648. + :
  76649. +])
  76650. +m4trace:m4/filenamecat.m4:7: -1- AC_DEFUN([gl_FILE_NAME_CONCAT], [
  76651. + AC_REQUIRE([gl_FILE_NAME_CONCAT_LGPL])
  76652. + AC_LIBOBJ([filenamecat])
  76653. +])
  76654. +m4trace:m4/filenamecat.m4:13: -1- AC_DEFUN([gl_FILE_NAME_CONCAT_LGPL], [
  76655. + AC_LIBOBJ([filenamecat-lgpl])
  76656. +
  76657. + dnl Prerequisites of lib/filenamecat-lgpl.c.
  76658. + AC_CHECK_FUNCS_ONCE([mempcpy])
  76659. +])
  76660. +m4trace:m4/float_h.m4:7: -1- AC_DEFUN([gl_FLOAT_H], [
  76661. + AC_REQUIRE([AC_PROG_CC])
  76662. + AC_REQUIRE([AC_CANONICAL_HOST])
  76663. + FLOAT_H=
  76664. + case "$host_os" in
  76665. + beos* | openbsd* | mirbsd*)
  76666. + FLOAT_H=float.h
  76667. + gl_NEXT_HEADERS([float.h])
  76668. + ;;
  76669. + esac
  76670. + AC_SUBST([FLOAT_H])
  76671. +])
  76672. +m4trace:m4/fopen.m4:7: -1- AC_DEFUN([gl_FUNC_FOPEN], [
  76673. + AC_REQUIRE([gl_STDIO_H_DEFAULTS])
  76674. + AC_REQUIRE([AC_CANONICAL_HOST])
  76675. + case "$host_os" in
  76676. + mingw* | pw*)
  76677. + dnl Replace fopen, for handling of "/dev/null".
  76678. + REPLACE_FOPEN=1
  76679. + dnl fopen on mingw also has the trailing slash bug.
  76680. + gl_cv_func_fopen_slash="guessing no"
  76681. + ;;
  76682. + *)
  76683. + dnl fopen("foo/", "w") should not create a file when the file name has a
  76684. + dnl trailing slash.
  76685. + AC_CACHE_CHECK([whether fopen recognizes a trailing slash],
  76686. + [gl_cv_func_fopen_slash],
  76687. + [
  76688. + AC_RUN_IFELSE(
  76689. + [AC_LANG_SOURCE([[
  76690. +#include <stddef.h>
  76691. +#include <stdio.h>
  76692. +int main ()
  76693. +{
  76694. + return fopen ("conftest.sl/", "w") != NULL;
  76695. +}]])],
  76696. + [gl_cv_func_fopen_slash=yes],
  76697. + [gl_cv_func_fopen_slash=no],
  76698. + [
  76699. +changequote(,)dnl
  76700. + case "$host_os" in
  76701. + aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*)
  76702. + gl_cv_func_fopen_slash="guessing no" ;;
  76703. + *)
  76704. + gl_cv_func_fopen_slash="guessing yes" ;;
  76705. + esac
  76706. +changequote([,])dnl
  76707. + ])
  76708. + rm -f conftest.sl
  76709. + ])
  76710. + ;;
  76711. + esac
  76712. + case "$gl_cv_func_fopen_slash" in
  76713. + *no)
  76714. + AC_DEFINE([FOPEN_TRAILING_SLASH_BUG], [1],
  76715. + [Define to 1 if fopen() fails to recognize a trailing slash.])
  76716. + REPLACE_FOPEN=1
  76717. + ;;
  76718. + esac
  76719. + if test $REPLACE_FOPEN = 1; then
  76720. + AC_LIBOBJ([fopen])
  76721. + gl_PREREQ_FOPEN
  76722. + fi
  76723. +])
  76724. +m4trace:m4/fopen.m4:62: -1- AC_DEFUN([gl_PREREQ_FOPEN], [
  76725. + AC_REQUIRE([AC_C_INLINE])
  76726. +])
  76727. +m4trace:m4/fpending.m4:16: -1- AC_DEFUN([gl_FUNC_FPENDING], [
  76728. + AC_CHECK_HEADERS_ONCE([stdio_ext.h])
  76729. + AC_CHECK_FUNCS_ONCE([__fpending])
  76730. + fp_headers='
  76731. +# include <stdio.h>
  76732. +# if HAVE_STDIO_EXT_H
  76733. +# include <stdio_ext.h>
  76734. +# endif
  76735. +'
  76736. + AC_CHECK_DECLS([__fpending], , , $fp_headers)
  76737. + if test $ac_cv_func___fpending = no; then
  76738. + AC_CACHE_CHECK(
  76739. + [how to determine the number of pending output bytes on a stream],
  76740. + ac_cv_sys_pending_output_n_bytes,
  76741. + [
  76742. + for ac_expr in \
  76743. + \
  76744. + '# glibc2' \
  76745. + 'fp->_IO_write_ptr - fp->_IO_write_base' \
  76746. + \
  76747. + '# traditional Unix' \
  76748. + 'fp->_ptr - fp->_base' \
  76749. + \
  76750. + '# BSD' \
  76751. + 'fp->_p - fp->_bf._base' \
  76752. + \
  76753. + '# SCO, Unixware' \
  76754. + '(fp->__ptr ? fp->__ptr - fp->__base : 0)' \
  76755. + \
  76756. + '# QNX' \
  76757. + '(fp->_Mode & 0x2000 /*_MWRITE*/ ? fp->_Next - fp->_Buf : 0)' \
  76758. + \
  76759. + '# old glibc?' \
  76760. + 'fp->__bufp - fp->__buffer' \
  76761. + \
  76762. + '# old glibc iostream?' \
  76763. + 'fp->_pptr - fp->_pbase' \
  76764. + \
  76765. + '# emx+gcc' \
  76766. + 'fp->_ptr - fp->_buffer' \
  76767. + \
  76768. + '# VMS' \
  76769. + '(*fp)->_ptr - (*fp)->_base' \
  76770. + \
  76771. + '# e.g., DGUX R4.11; the info is not available' \
  76772. + 1 \
  76773. + ; do
  76774. +
  76775. + # Skip each embedded comment.
  76776. + case "$ac_expr" in '#'*) continue;; esac
  76777. +
  76778. + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>]],
  76779. + [[FILE *fp = stdin; (void) ($ac_expr);]])],
  76780. + [fp_done=yes]
  76781. + )
  76782. + test "$fp_done" = yes && break
  76783. + done
  76784. +
  76785. + ac_cv_sys_pending_output_n_bytes=$ac_expr
  76786. + ]
  76787. + )
  76788. + AC_DEFINE_UNQUOTED([PENDING_OUTPUT_N_BYTES],
  76789. + $ac_cv_sys_pending_output_n_bytes,
  76790. + [the number of pending output bytes on stream `fp'])
  76791. + AC_LIBOBJ([fpending])
  76792. + fi
  76793. +])
  76794. +m4trace:m4/fpieee.m4:25: -1- AC_DEFUN([gl_FP_IEEE], [
  76795. + AC_REQUIRE([AC_PROG_CC])
  76796. + AC_REQUIRE([AC_CANONICAL_HOST])
  76797. + # IEEE behaviour is the default on all CPUs except Alpha and SH
  76798. + # (according to the test results of Bruno Haible's ieeefp/fenv_default.m4
  76799. + # and the GCC 4.1.2 manual).
  76800. + case "$host_cpu" in
  76801. + alpha*)
  76802. + # On Alpha systems, a compiler option provides the behaviour.
  76803. + # See the ieee(3) manual page, also available at
  76804. + # <http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN3/0600____.HTM>
  76805. + if test -n "$GCC"; then
  76806. + # GCC has the option -mieee.
  76807. + CPPFLAGS="$CPPFLAGS -mieee"
  76808. + else
  76809. + # Compaq (ex-DEC) C has the option -ieee.
  76810. + CPPFLAGS="$CPPFLAGS -ieee"
  76811. + fi
  76812. + ;;
  76813. + sh*)
  76814. + if test -n "$GCC"; then
  76815. + # GCC has the option -mieee.
  76816. + CPPFLAGS="$CPPFLAGS -mieee"
  76817. + fi
  76818. + ;;
  76819. + esac
  76820. +])
  76821. +m4trace:m4/fpurge.m4:7: -1- AC_DEFUN([gl_FUNC_FPURGE], [
  76822. + AC_REQUIRE([gl_STDIO_H_DEFAULTS])
  76823. + AC_CHECK_FUNCS_ONCE([fpurge])
  76824. + AC_CHECK_FUNCS_ONCE([__fpurge])
  76825. + AC_CHECK_DECLS([fpurge], , , [[#include <stdio.h>]])
  76826. + if test "x$ac_cv_func_fpurge" = xyes; then
  76827. + # Detect BSD bug. Only cygwin 1.7 is known to be immune.
  76828. + AC_CACHE_CHECK([whether fpurge works], [gl_cv_func_fpurge_works],
  76829. + [AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>
  76830. +]], [FILE *f = fopen ("conftest.txt", "w+");
  76831. + if (!f) return 1;
  76832. + if (fputc ('a', f) != 'a') return 2;
  76833. + rewind (f);
  76834. + if (fgetc (f) != 'a') return 3;
  76835. + if (fgetc (f) != EOF) return 4;
  76836. + if (fpurge (f) != 0) return 5;
  76837. + if (putc ('b', f) != 'b') return 6;
  76838. + if (fclose (f) != 0) return 7;
  76839. + if ((f = fopen ("conftest.txt", "r")) == NULL) return 8;
  76840. + if (fgetc (f) != 'a') return 9;
  76841. + if (fgetc (f) != 'b') return 10;
  76842. + if (fgetc (f) != EOF) return 11;
  76843. + if (fclose (f) != 0) return 12;
  76844. + if (remove ("conftest.txt") != 0) return 13;
  76845. + return 0;])],
  76846. + [gl_cv_func_fpurge_works=yes], [gl_cv_func_fpurge_works=no],
  76847. + [gl_cv_func_fpurge_works='guessing no'])])
  76848. + if test "x$gl_cv_func_fpurge_works" != xyes; then
  76849. + REPLACE_FPURGE=1
  76850. + AC_LIBOBJ([fpurge])
  76851. + fi
  76852. + else
  76853. + AC_LIBOBJ([fpurge])
  76854. + fi
  76855. + if test "x$ac_cv_have_decl_fpurge" = xno; then
  76856. + HAVE_DECL_FPURGE=0
  76857. + fi
  76858. +])
  76859. +m4trace:m4/freading.m4:7: -1- AC_DEFUN([gl_FUNC_FREADING], [
  76860. + AC_CHECK_FUNCS_ONCE([__freading])
  76861. +])
  76862. +m4trace:m4/frexp.m4:7: -1- AC_DEFUN([gl_FUNC_FREXP], [
  76863. + AC_REQUIRE([gl_MATH_H_DEFAULTS])
  76864. + AC_REQUIRE([gl_CHECK_FREXP_NO_LIBM])
  76865. + FREXP_LIBM=
  76866. + if test $gl_cv_func_frexp_no_libm = no; then
  76867. + AC_CACHE_CHECK([whether frexp() can be used with libm],
  76868. + [gl_cv_func_frexp_in_libm],
  76869. + [
  76870. + save_LIBS="$LIBS"
  76871. + LIBS="$LIBS -lm"
  76872. + AC_LINK_IFELSE(
  76873. + [AC_LANG_PROGRAM(
  76874. + [[#include <math.h>
  76875. + double x;]],
  76876. + [[int e; return frexp (x, &e) > 0;]])],
  76877. + [gl_cv_func_frexp_in_libm=yes],
  76878. + [gl_cv_func_frexp_in_libm=no])
  76879. + LIBS="$save_LIBS"
  76880. + ])
  76881. + if test $gl_cv_func_frexp_in_libm = yes; then
  76882. + FREXP_LIBM=-lm
  76883. + fi
  76884. + fi
  76885. + if test $gl_cv_func_frexp_no_libm = yes \
  76886. + || test $gl_cv_func_frexp_in_libm = yes; then
  76887. + save_LIBS="$LIBS"
  76888. + LIBS="$LIBS $FREXP_LIBM"
  76889. + gl_FUNC_FREXP_WORKS
  76890. + LIBS="$save_LIBS"
  76891. + case "$gl_cv_func_frexp_works" in
  76892. + *yes) gl_func_frexp=yes ;;
  76893. + *) gl_func_frexp=no; REPLACE_FREXP=1; FREXP_LIBM= ;;
  76894. + esac
  76895. + else
  76896. + gl_func_frexp=no
  76897. + fi
  76898. + if test $gl_func_frexp = yes; then
  76899. + AC_DEFINE([HAVE_FREXP], [1],
  76900. + [Define if the frexp() function is available and works.])
  76901. + else
  76902. + AC_LIBOBJ([frexp])
  76903. + fi
  76904. + AC_SUBST([FREXP_LIBM])
  76905. +])
  76906. +m4trace:m4/frexp.m4:53: -1- AC_DEFUN([gl_FUNC_FREXP_NO_LIBM], [
  76907. + AC_REQUIRE([gl_MATH_H_DEFAULTS])
  76908. + AC_REQUIRE([gl_CHECK_FREXP_NO_LIBM])
  76909. + if test $gl_cv_func_frexp_no_libm = yes; then
  76910. + gl_FUNC_FREXP_WORKS
  76911. + case "$gl_cv_func_frexp_works" in
  76912. + *yes) gl_func_frexp_no_libm=yes ;;
  76913. + *) gl_func_frexp_no_libm=no; REPLACE_FREXP=1 ;;
  76914. + esac
  76915. + else
  76916. + gl_func_frexp_no_libm=no
  76917. + dnl Set REPLACE_FREXP here because the system may have frexp in libm.
  76918. + REPLACE_FREXP=1
  76919. + fi
  76920. + if test $gl_func_frexp_no_libm = yes; then
  76921. + AC_DEFINE([HAVE_FREXP_IN_LIBC], [1],
  76922. + [Define if the frexp() function is available in libc.])
  76923. + else
  76924. + AC_LIBOBJ([frexp])
  76925. + fi
  76926. +])
  76927. +m4trace:m4/frexp.m4:78: -1- AC_DEFUN([gl_CHECK_FREXP_NO_LIBM], [
  76928. + AC_CACHE_CHECK([whether frexp() can be used without linking with libm],
  76929. + [gl_cv_func_frexp_no_libm],
  76930. + [
  76931. + AC_LINK_IFELSE(
  76932. + [AC_LANG_PROGRAM(
  76933. + [[#include <math.h>
  76934. + double x;]],
  76935. + [[int e; return frexp (x, &e) > 0;]])],
  76936. + [gl_cv_func_frexp_no_libm=yes],
  76937. + [gl_cv_func_frexp_no_libm=no])
  76938. + ])
  76939. +])
  76940. +m4trace:m4/frexp.m4:96: -1- AC_DEFUN([gl_FUNC_FREXP_WORKS], [
  76941. + AC_REQUIRE([AC_PROG_CC])
  76942. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  76943. + AC_CACHE_CHECK([whether frexp works], [gl_cv_func_frexp_works],
  76944. + [
  76945. + AC_RUN_IFELSE(
  76946. + [AC_LANG_SOURCE([[
  76947. +#include <float.h>
  76948. +#include <math.h>
  76949. +#include <string.h>
  76950. +/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
  76951. + ICC 10.0 has a bug when optimizing the expression -zero.
  76952. + The expression -DBL_MIN * DBL_MIN does not work when cross-compiling
  76953. + to PowerPC on MacOS X 10.5. */
  76954. +#if defined __hpux || defined __sgi || defined __ICC
  76955. +static double
  76956. +compute_minus_zero (void)
  76957. +{
  76958. + return -DBL_MIN * DBL_MIN;
  76959. +}
  76960. +# define minus_zero compute_minus_zero ()
  76961. +#else
  76962. +double minus_zero = -0.0;
  76963. +#endif
  76964. +int main()
  76965. +{
  76966. + int result = 0;
  76967. + int i;
  76968. + volatile double x;
  76969. + double zero = 0.0;
  76970. + /* Test on denormalized numbers. */
  76971. + for (i = 1, x = 1.0; i >= DBL_MIN_EXP; i--, x *= 0.5)
  76972. + ;
  76973. + if (x > 0.0)
  76974. + {
  76975. + int exp;
  76976. + double y = frexp (x, &exp);
  76977. + /* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022.
  76978. + On NetBSD: y = 0.75. Correct: y = 0.5. */
  76979. + if (y != 0.5)
  76980. + result |= 1;
  76981. + }
  76982. + /* Test on infinite numbers. */
  76983. + x = 1.0 / 0.0;
  76984. + {
  76985. + int exp;
  76986. + double y = frexp (x, &exp);
  76987. + if (y != x)
  76988. + result |= 2;
  76989. + }
  76990. + /* Test on negative zero. */
  76991. + x = minus_zero;
  76992. + {
  76993. + int exp;
  76994. + double y = frexp (x, &exp);
  76995. + if (memcmp (&y, &x, sizeof x))
  76996. + result |= 4;
  76997. + }
  76998. + return result;
  76999. +}]])],
  77000. + [gl_cv_func_frexp_works=yes],
  77001. + [gl_cv_func_frexp_works=no],
  77002. + [case "$host_os" in
  77003. + netbsd* | irix* | mingw*) gl_cv_func_frexp_works="guessing no";;
  77004. + *) gl_cv_func_frexp_works="guessing yes";;
  77005. + esac
  77006. + ])
  77007. + ])
  77008. +])
  77009. +m4trace:m4/frexpl.m4:7: -1- AC_DEFUN([gl_FUNC_FREXPL], [
  77010. + AC_REQUIRE([gl_MATH_H_DEFAULTS])
  77011. + dnl Check whether it's declared.
  77012. + dnl MacOS X 10.3 has frexpl() in libc but doesn't declare it in <math.h>.
  77013. + AC_CHECK_DECL([frexpl], , [HAVE_DECL_FREXPL=0], [#include <math.h>])
  77014. + FREXPL_LIBM=
  77015. + if test $HAVE_DECL_FREXPL = 1; then
  77016. + gl_CHECK_FREXPL_NO_LIBM
  77017. + if test $gl_cv_func_frexpl_no_libm = no; then
  77018. + AC_CACHE_CHECK([whether frexpl() can be used with libm],
  77019. + [gl_cv_func_frexpl_in_libm],
  77020. + [
  77021. + save_LIBS="$LIBS"
  77022. + LIBS="$LIBS -lm"
  77023. + AC_LINK_IFELSE(
  77024. + [AC_LANG_PROGRAM(
  77025. + [[#include <math.h>
  77026. + long double x;]],
  77027. + [[int e; return frexpl (x, &e) > 0;]])],
  77028. + [gl_cv_func_frexpl_in_libm=yes],
  77029. + [gl_cv_func_frexpl_in_libm=no])
  77030. + LIBS="$save_LIBS"
  77031. + ])
  77032. + if test $gl_cv_func_frexpl_in_libm = yes; then
  77033. + FREXPL_LIBM=-lm
  77034. + fi
  77035. + fi
  77036. + if test $gl_cv_func_frexpl_no_libm = yes \
  77037. + || test $gl_cv_func_frexpl_in_libm = yes; then
  77038. + save_LIBS="$LIBS"
  77039. + LIBS="$LIBS $FREXPL_LIBM"
  77040. + gl_FUNC_FREXPL_WORKS
  77041. + LIBS="$save_LIBS"
  77042. + case "$gl_cv_func_frexpl_works" in
  77043. + *yes) gl_func_frexpl=yes ;;
  77044. + *) gl_func_frexpl=no; REPLACE_FREXPL=1; FREXPL_LIBM= ;;
  77045. + esac
  77046. + else
  77047. + gl_func_frexpl=no
  77048. + fi
  77049. + if test $gl_func_frexpl = yes; then
  77050. + AC_DEFINE([HAVE_FREXPL], [1],
  77051. + [Define if the frexpl() function is available.])
  77052. + fi
  77053. + fi
  77054. + if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl = no; then
  77055. + AC_LIBOBJ([frexpl])
  77056. + fi
  77057. + AC_SUBST([FREXPL_LIBM])
  77058. +])
  77059. +m4trace:m4/frexpl.m4:59: -1- AC_DEFUN([gl_FUNC_FREXPL_NO_LIBM], [
  77060. + AC_REQUIRE([gl_MATH_H_DEFAULTS])
  77061. + dnl Check whether it's declared.
  77062. + dnl MacOS X 10.3 has frexpl() in libc but doesn't declare it in <math.h>.
  77063. + AC_CHECK_DECL([frexpl], , [HAVE_DECL_FREXPL=0], [#include <math.h>])
  77064. + if test $HAVE_DECL_FREXPL = 1; then
  77065. + gl_CHECK_FREXPL_NO_LIBM
  77066. + if test $gl_cv_func_frexpl_no_libm = yes; then
  77067. + gl_FUNC_FREXPL_WORKS
  77068. + case "$gl_cv_func_frexpl_works" in
  77069. + *yes) gl_func_frexpl_no_libm=yes ;;
  77070. + *) gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;;
  77071. + esac
  77072. + else
  77073. + gl_func_frexpl_no_libm=no
  77074. + dnl Set REPLACE_FREXPL here because the system may have frexpl in libm.
  77075. + REPLACE_FREXPL=1
  77076. + fi
  77077. + if test $gl_func_frexpl_no_libm = yes; then
  77078. + AC_DEFINE([HAVE_FREXPL_IN_LIBC], [1],
  77079. + [Define if the frexpl() function is available in libc.])
  77080. + fi
  77081. + fi
  77082. + if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then
  77083. + AC_LIBOBJ([frexpl])
  77084. + fi
  77085. +])
  77086. +m4trace:m4/frexpl.m4:90: -1- AC_DEFUN([gl_CHECK_FREXPL_NO_LIBM], [
  77087. + AC_CACHE_CHECK([whether frexpl() can be used without linking with libm],
  77088. + [gl_cv_func_frexpl_no_libm],
  77089. + [
  77090. + AC_LINK_IFELSE(
  77091. + [AC_LANG_PROGRAM(
  77092. + [[#include <math.h>
  77093. + long double x;]],
  77094. + [[int e; return frexpl (x, &e) > 0;]])],
  77095. + [gl_cv_func_frexpl_no_libm=yes],
  77096. + [gl_cv_func_frexpl_no_libm=no])
  77097. + ])
  77098. +])
  77099. +m4trace:m4/frexpl.m4:109: -1- AC_DEFUN([gl_FUNC_FREXPL_WORKS], [
  77100. + AC_REQUIRE([AC_PROG_CC])
  77101. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  77102. + AC_CACHE_CHECK([whether frexpl works], [gl_cv_func_frexpl_works],
  77103. + [
  77104. + AC_RUN_IFELSE(
  77105. + [AC_LANG_SOURCE([[
  77106. +#include <float.h>
  77107. +#include <math.h>
  77108. +/* Override the values of <float.h>, like done in float.in.h. */
  77109. +#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__)
  77110. +# undef LDBL_MIN_EXP
  77111. +# define LDBL_MIN_EXP (-16381)
  77112. +#endif
  77113. +extern long double frexpl (long double, int *);
  77114. +int main()
  77115. +{
  77116. + int result = 0;
  77117. + volatile long double x;
  77118. + /* Test on finite numbers that fails on AIX 5.1. */
  77119. + x = 16.0L;
  77120. + {
  77121. + int exp = -9999;
  77122. + frexpl (x, &exp);
  77123. + if (exp != 5)
  77124. + result |= 1;
  77125. + }
  77126. + /* Test on finite numbers that fails on MacOS X 10.4, because its frexpl
  77127. + function returns an invalid (incorrectly normalized) value: it returns
  77128. + y = { 0x3fe028f5, 0xc28f5c28, 0x3c9eb851, 0xeb851eb8 }
  77129. + but the correct result is
  77130. + 0.505L = { 0x3fe028f5, 0xc28f5c29, 0xbc547ae1, 0x47ae1480 } */
  77131. + x = 1.01L;
  77132. + {
  77133. + int exp = -9999;
  77134. + long double y = frexpl (x, &exp);
  77135. + if (!(exp == 1 && y == 0.505L))
  77136. + result |= 2;
  77137. + }
  77138. + /* Test on large finite numbers. This fails on BeOS at i = 16322, while
  77139. + LDBL_MAX_EXP = 16384.
  77140. + In the loop end test, we test x against Infinity, rather than comparing
  77141. + i with LDBL_MAX_EXP, because BeOS <float.h> has a wrong LDBL_MAX_EXP. */
  77142. + {
  77143. + int i;
  77144. + for (i = 1, x = 1.0L; x != x + x; i++, x *= 2.0L)
  77145. + {
  77146. + int exp = -9999;
  77147. + frexpl (x, &exp);
  77148. + if (exp != i)
  77149. + {
  77150. + result |= 4;
  77151. + break;
  77152. + }
  77153. + }
  77154. + }
  77155. + /* Test on denormalized numbers. */
  77156. + {
  77157. + int i;
  77158. + for (i = 1, x = 1.0L; i >= LDBL_MIN_EXP; i--, x *= 0.5L)
  77159. + ;
  77160. + if (x > 0.0L)
  77161. + {
  77162. + int exp;
  77163. + long double y = frexpl (x, &exp);
  77164. + /* On machines with IEEE854 arithmetic: x = 1.68105e-4932,
  77165. + exp = -16382, y = 0.5. On MacOS X 10.5: exp = -16384, y = 0.5. */
  77166. + if (exp != LDBL_MIN_EXP - 1)
  77167. + result |= 8;
  77168. + }
  77169. + }
  77170. + /* Test on infinite numbers. */
  77171. + x = 1.0L / 0.0L;
  77172. + {
  77173. + int exp;
  77174. + long double y = frexpl (x, &exp);
  77175. + if (y != x)
  77176. + result |= 16;
  77177. + }
  77178. + return result;
  77179. +}]])],
  77180. + [gl_cv_func_frexpl_works=yes],
  77181. + [gl_cv_func_frexpl_works=no],
  77182. + [
  77183. +changequote(,)dnl
  77184. + case "$host_os" in
  77185. + aix | aix[3-6]* | beos* | darwin* | irix* | mingw* | pw*)
  77186. + gl_cv_func_frexpl_works="guessing no";;
  77187. + *) gl_cv_func_frexpl_works="guessing yes";;
  77188. + esac
  77189. +changequote([,])dnl
  77190. + ])
  77191. + ])
  77192. +])
  77193. +m4trace:m4/fseeko.m4:7: -1- AC_DEFUN([gl_FUNC_FSEEKO], [
  77194. + AC_REQUIRE([gl_STDIO_H_DEFAULTS])
  77195. + AC_REQUIRE([gl_HAVE_FSEEKO])
  77196. + AC_REQUIRE([gl_STDIN_LARGE_OFFSET])
  77197. +
  77198. + AC_CHECK_DECLS_ONCE([fseeko])
  77199. + if test $ac_cv_have_decl_fseeko = no; then
  77200. + HAVE_DECL_FSEEKO=0
  77201. + fi
  77202. +
  77203. + if test $gl_cv_func_fseeko = no; then
  77204. + HAVE_FSEEKO=0
  77205. + gl_REPLACE_FSEEKO
  77206. + else
  77207. + if test $gl_cv_var_stdin_large_offset = no; then
  77208. + gl_REPLACE_FSEEKO
  77209. + fi
  77210. + fi
  77211. +])
  77212. +m4trace:m4/fseeko.m4:30: -1- AC_DEFUN([gl_HAVE_FSEEKO], [
  77213. + AC_REQUIRE([AC_PROG_CC])
  77214. +
  77215. + dnl Persuade glibc <stdio.h> to declare fseeko().
  77216. + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
  77217. +
  77218. + AC_CACHE_CHECK([for fseeko], [gl_cv_func_fseeko],
  77219. + [
  77220. + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>
  77221. +]], [fseeko (stdin, 0, 0);])],
  77222. + [gl_cv_func_fseeko=yes], [gl_cv_func_fseeko=no])
  77223. + ])
  77224. +])
  77225. +m4trace:m4/fseeko.m4:45: -1- AC_DEFUN([gl_REPLACE_FSEEKO], [
  77226. + AC_REQUIRE([gl_STDIO_H_DEFAULTS])
  77227. + AC_REQUIRE([gl_HAVE_FSEEKO])
  77228. + if test $gl_cv_func_fseeko = yes; then
  77229. + REPLACE_FSEEKO=1
  77230. + fi
  77231. + AC_LIBOBJ([fseeko])
  77232. + dnl If we are also using the fseek module, then fseek needs replacing, too.
  77233. + m4_ifdef([gl_REPLACE_FSEEK], [gl_REPLACE_FSEEK])
  77234. +])
  77235. +m4trace:m4/fseeko.m4:59: -1- AC_DEFUN([gl_STDIN_LARGE_OFFSET], [
  77236. + AC_CACHE_CHECK([whether stdin defaults to large file offsets],
  77237. + [gl_cv_var_stdin_large_offset],
  77238. + [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>]],
  77239. +[[#if defined __SL64 && defined __SCLE /* cygwin */
  77240. + /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making
  77241. + fseeko/ftello needlessly fail. This bug was fixed in 1.5.25, and
  77242. + it is easier to do a version check than building a runtime test. */
  77243. +# include <cygwin/version.h>
  77244. +# if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25)
  77245. + choke me
  77246. +# endif
  77247. +#endif]])],
  77248. + [gl_cv_var_stdin_large_offset=yes],
  77249. + [gl_cv_var_stdin_large_offset=no])])
  77250. +])
  77251. +m4trace:m4/ftell.m4:7: -1- AC_DEFUN([gl_FUNC_FTELL], [
  77252. + AC_REQUIRE([gl_STDIO_H_DEFAULTS])
  77253. + AC_REQUIRE([gl_FUNC_FTELLO])
  77254. + dnl When ftello needs fixes, ftell needs them too.
  77255. + if test $REPLACE_FTELLO != 0; then
  77256. + AC_LIBOBJ([ftell])
  77257. + REPLACE_FTELL=1
  77258. + fi
  77259. +])
  77260. +m4trace:m4/ftello.m4:7: -1- AC_DEFUN([gl_FUNC_FTELLO], [
  77261. + AC_REQUIRE([gl_STDIO_H_DEFAULTS])
  77262. + AC_REQUIRE([AC_PROG_CC])
  77263. + AC_REQUIRE([gl_STDIN_LARGE_OFFSET])
  77264. +
  77265. + dnl Persuade glibc <stdio.h> to declare ftello().
  77266. + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
  77267. +
  77268. + AC_CHECK_DECLS_ONCE([ftello])
  77269. + if test $ac_cv_have_decl_ftello = no; then
  77270. + HAVE_DECL_FTELLO=0
  77271. + fi
  77272. +
  77273. + AC_CACHE_CHECK([for ftello], [gl_cv_func_ftello],
  77274. + [
  77275. + AC_LINK_IFELSE(
  77276. + [AC_LANG_PROGRAM(
  77277. + [[#include <stdio.h>]],
  77278. + [[ftello (stdin);]])],
  77279. + [gl_cv_func_ftello=yes],
  77280. + [gl_cv_func_ftello=no])
  77281. + ])
  77282. + if test $gl_cv_func_ftello = no; then
  77283. + HAVE_FTELLO=0
  77284. + else
  77285. + if test $gl_cv_var_stdin_large_offset = no; then
  77286. + REPLACE_FTELLO=1
  77287. + else
  77288. + dnl Detect bug on Solaris.
  77289. + dnl ftell and ftello produce incorrect results after putc that followed a
  77290. + dnl getc call that reached EOF on Solaris. This is because the _IOREAD
  77291. + dnl flag does not get cleared in this case, even though _IOWRT gets set,
  77292. + dnl and ftell and ftello look whether the _IOREAD flag is set.
  77293. + AC_REQUIRE([AC_CANONICAL_HOST])
  77294. + AC_CACHE_CHECK([whether ftello works],
  77295. + [gl_cv_func_ftello_works],
  77296. + [
  77297. + dnl Initial guess, used when cross-compiling or when /dev/tty cannot
  77298. + dnl be opened.
  77299. +changequote(,)dnl
  77300. + case "$host_os" in
  77301. + # Guess no on Solaris.
  77302. + solaris*) gl_cv_func_ftello_works="guessing no" ;;
  77303. + # Guess yes otherwise.
  77304. + *) gl_cv_func_ftello_works="guessing yes" ;;
  77305. + esac
  77306. +changequote([,])dnl
  77307. + AC_RUN_IFELSE(
  77308. + [AC_LANG_SOURCE([[
  77309. +#include <stdio.h>
  77310. +#include <stdlib.h>
  77311. +#include <string.h>
  77312. +#define TESTFILE "conftest.tmp"
  77313. +int
  77314. +main (void)
  77315. +{
  77316. + FILE *fp;
  77317. +
  77318. + /* Create a file with some contents. */
  77319. + fp = fopen (TESTFILE, "w");
  77320. + if (fp == NULL)
  77321. + return 70;
  77322. + if (fwrite ("foogarsh", 1, 8, fp) < 8)
  77323. + return 71;
  77324. + if (fclose (fp))
  77325. + return 72;
  77326. +
  77327. + /* The file's contents is now "foogarsh". */
  77328. +
  77329. + /* Try writing after reading to EOF. */
  77330. + fp = fopen (TESTFILE, "r+");
  77331. + if (fp == NULL)
  77332. + return 73;
  77333. + if (fseek (fp, -1, SEEK_END))
  77334. + return 74;
  77335. + if (!(getc (fp) == 'h'))
  77336. + return 1;
  77337. + if (!(getc (fp) == EOF))
  77338. + return 2;
  77339. + if (!(ftell (fp) == 8))
  77340. + return 3;
  77341. + if (!(ftell (fp) == 8))
  77342. + return 4;
  77343. + if (!(putc ('!', fp) == '!'))
  77344. + return 5;
  77345. + if (!(ftell (fp) == 9))
  77346. + return 6;
  77347. + if (!(fclose (fp) == 0))
  77348. + return 7;
  77349. + fp = fopen (TESTFILE, "r");
  77350. + if (fp == NULL)
  77351. + return 75;
  77352. + {
  77353. + char buf[10];
  77354. + if (!(fread (buf, 1, 10, fp) == 9))
  77355. + return 10;
  77356. + if (!(memcmp (buf, "foogarsh!", 9) == 0))
  77357. + return 11;
  77358. + }
  77359. + if (!(fclose (fp) == 0))
  77360. + return 12;
  77361. +
  77362. + /* The file's contents is now "foogarsh!". */
  77363. +
  77364. + return 0;
  77365. +}]])],
  77366. + [gl_cv_func_ftello_works=yes],
  77367. + [gl_cv_func_ftello_works=no], [:])
  77368. + ])
  77369. + case "$gl_cv_func_ftello_works" in
  77370. + *yes) ;;
  77371. + *)
  77372. + REPLACE_FTELLO=1
  77373. + AC_DEFINE([FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE], [1],
  77374. + [Define to 1 if the system's ftello function has the Solaris bug.])
  77375. + ;;
  77376. + esac
  77377. + fi
  77378. + fi
  77379. + if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
  77380. + gl_REPLACE_FTELLO
  77381. + fi
  77382. +])
  77383. +m4trace:m4/ftello.m4:132: -1- AC_DEFUN([gl_REPLACE_FTELLO], [
  77384. + AC_LIBOBJ([ftello])
  77385. +])
  77386. +m4trace:m4/getdtablesize.m4:7: -1- AC_DEFUN([gl_FUNC_GETDTABLESIZE], [
  77387. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
  77388. + AC_CHECK_FUNCS_ONCE([getdtablesize])
  77389. + if test $ac_cv_func_getdtablesize != yes; then
  77390. + HAVE_GETDTABLESIZE=0
  77391. + AC_LIBOBJ([getdtablesize])
  77392. + fi
  77393. +])
  77394. +m4trace:m4/getopt.m4:8: -1- AC_DEFUN([gl_FUNC_GETOPT_POSIX], [
  77395. + m4_divert_text([DEFAULTS], [gl_getopt_required=POSIX])
  77396. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
  77397. + gl_GETOPT_IFELSE([
  77398. + gl_REPLACE_GETOPT
  77399. + ],
  77400. + [])
  77401. +])
  77402. +m4trace:m4/getopt.m4:21: -1- AC_DEFUN([gl_FUNC_GETOPT_GNU], [
  77403. + m4_divert_text([INIT_PREPARE], [gl_getopt_required=GNU])
  77404. +
  77405. + AC_REQUIRE([gl_FUNC_GETOPT_POSIX])
  77406. +])
  77407. +m4trace:m4/getopt.m4:30: -1- AC_DEFUN([gl_REPLACE_GETOPT], [
  77408. + dnl Arrange for getopt.h to be created.
  77409. + gl_GETOPT_SUBSTITUTE_HEADER
  77410. + dnl Arrange for unistd.h to include getopt.h.
  77411. + GNULIB_UNISTD_H_GETOPT=1
  77412. + dnl Arrange to compile the getopt implementation.
  77413. + AC_LIBOBJ([getopt])
  77414. + AC_LIBOBJ([getopt1])
  77415. + gl_PREREQ_GETOPT
  77416. +])
  77417. +m4trace:m4/getopt.m4:43: -1- AC_DEFUN([gl_GETOPT_IFELSE], [
  77418. + AC_REQUIRE([gl_GETOPT_CHECK_HEADERS])
  77419. + AS_IF([test -n "$gl_replace_getopt"], [$1], [$2])
  77420. +])
  77421. +m4trace:m4/getopt.m4:50: -1- AC_DEFUN([gl_GETOPT_CHECK_HEADERS], [
  77422. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  77423. + AC_REQUIRE([AC_PROG_AWK]) dnl for awk that supports ENVIRON
  77424. +
  77425. + dnl Persuade Solaris <unistd.h> to declare optarg, optind, opterr, optopt.
  77426. + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
  77427. +
  77428. + gl_CHECK_NEXT_HEADERS([getopt.h])
  77429. + if test $ac_cv_header_getopt_h = yes; then
  77430. + HAVE_GETOPT_H=1
  77431. + else
  77432. + HAVE_GETOPT_H=0
  77433. + fi
  77434. + AC_SUBST([HAVE_GETOPT_H])
  77435. +
  77436. + gl_replace_getopt=
  77437. +
  77438. + dnl Test whether <getopt.h> is available.
  77439. + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
  77440. + AC_CHECK_HEADERS([getopt.h], [], [gl_replace_getopt=yes])
  77441. + fi
  77442. +
  77443. + dnl Test whether the function getopt_long is available.
  77444. + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
  77445. + AC_CHECK_FUNCS([getopt_long_only], [], [gl_replace_getopt=yes])
  77446. + fi
  77447. +
  77448. + dnl mingw's getopt (in libmingwex.a) does weird things when the options
  77449. + dnl strings starts with '+' and it's not the first call. Some internal state
  77450. + dnl is left over from earlier calls, and neither setting optind = 0 nor
  77451. + dnl setting optreset = 1 get rid of this internal state.
  77452. + dnl POSIX is silent on optind vs. optreset, so we allow either behavior.
  77453. + dnl POSIX 2008 does not specify leading '+' behavior, but see
  77454. + dnl http://austingroupbugs.net/view.php?id=191 for a recommendation on
  77455. + dnl the next version of POSIX. For now, we only guarantee leading '+'
  77456. + dnl behavior with getopt-gnu.
  77457. + if test -z "$gl_replace_getopt"; then
  77458. + AC_CACHE_CHECK([whether getopt is POSIX compatible],
  77459. + [gl_cv_func_getopt_posix],
  77460. + [
  77461. + dnl BSD getopt_long uses an incompatible method to reset
  77462. + dnl option processing. Existence of the variable, in and of
  77463. + dnl itself, is not a reason to replace getopt, but knowledge
  77464. + dnl of the variable is needed to determine how to reset and
  77465. + dnl whether a reset reparses the environment. Solaris
  77466. + dnl supports neither optreset nor optind=0, but keeps no state
  77467. + dnl that needs a reset beyond setting optind=1; detect Solaris
  77468. + dnl by getopt_clip.
  77469. + AC_COMPILE_IFELSE(
  77470. + [AC_LANG_PROGRAM(
  77471. + [[#include <unistd.h>]],
  77472. + [[int *p = &optreset; return optreset;]])],
  77473. + [gl_optind_min=1],
  77474. + [AC_COMPILE_IFELSE(
  77475. + [AC_LANG_PROGRAM(
  77476. + [[#include <getopt.h>]],
  77477. + [[return !getopt_clip;]])],
  77478. + [gl_optind_min=1],
  77479. + [gl_optind_min=0])])
  77480. +
  77481. + dnl This test fails on mingw and succeeds on many other platforms.
  77482. + gl_save_CPPFLAGS=$CPPFLAGS
  77483. + CPPFLAGS="$CPPFLAGS -DOPTIND_MIN=$gl_optind_min"
  77484. + AC_RUN_IFELSE([AC_LANG_SOURCE([[
  77485. +#include <unistd.h>
  77486. +#include <stdlib.h>
  77487. +#include <string.h>
  77488. +
  77489. +int
  77490. +main ()
  77491. +{
  77492. + {
  77493. + int argc = 0;
  77494. + char *argv[10];
  77495. + int c;
  77496. +
  77497. + argv[argc++] = "program";
  77498. + argv[argc++] = "-a";
  77499. + argv[argc++] = "foo";
  77500. + argv[argc++] = "bar";
  77501. + argv[argc] = NULL;
  77502. + optind = OPTIND_MIN;
  77503. + opterr = 0;
  77504. +
  77505. + c = getopt (argc, argv, "ab");
  77506. + if (!(c == 'a'))
  77507. + return 1;
  77508. + c = getopt (argc, argv, "ab");
  77509. + if (!(c == -1))
  77510. + return 2;
  77511. + if (!(optind == 2))
  77512. + return 3;
  77513. + }
  77514. + /* Some internal state exists at this point. */
  77515. + {
  77516. + int argc = 0;
  77517. + char *argv[10];
  77518. + int c;
  77519. +
  77520. + argv[argc++] = "program";
  77521. + argv[argc++] = "donald";
  77522. + argv[argc++] = "-p";
  77523. + argv[argc++] = "billy";
  77524. + argv[argc++] = "duck";
  77525. + argv[argc++] = "-a";
  77526. + argv[argc++] = "bar";
  77527. + argv[argc] = NULL;
  77528. + optind = OPTIND_MIN;
  77529. + opterr = 0;
  77530. +
  77531. + c = getopt (argc, argv, "+abp:q:");
  77532. + if (!(c == -1))
  77533. + return 4;
  77534. + if (!(strcmp (argv[0], "program") == 0))
  77535. + return 5;
  77536. + if (!(strcmp (argv[1], "donald") == 0))
  77537. + return 6;
  77538. + if (!(strcmp (argv[2], "-p") == 0))
  77539. + return 7;
  77540. + if (!(strcmp (argv[3], "billy") == 0))
  77541. + return 8;
  77542. + if (!(strcmp (argv[4], "duck") == 0))
  77543. + return 9;
  77544. + if (!(strcmp (argv[5], "-a") == 0))
  77545. + return 10;
  77546. + if (!(strcmp (argv[6], "bar") == 0))
  77547. + return 11;
  77548. + if (!(optind == 1))
  77549. + return 12;
  77550. + }
  77551. + /* Detect MacOS 10.5, AIX 7.1 bug. */
  77552. + {
  77553. + char *argv[3] = { "program", "-ab", NULL };
  77554. + optind = OPTIND_MIN;
  77555. + opterr = 0;
  77556. + if (getopt (2, argv, "ab:") != 'a')
  77557. + return 13;
  77558. + if (getopt (2, argv, "ab:") != '?')
  77559. + return 14;
  77560. + if (optopt != 'b')
  77561. + return 15;
  77562. + if (optind != 2)
  77563. + return 16;
  77564. + }
  77565. +
  77566. + return 0;
  77567. +}
  77568. +]])],
  77569. + [gl_cv_func_getopt_posix=yes], [gl_cv_func_getopt_posix=no],
  77570. + [case "$host_os" in
  77571. + mingw*) gl_cv_func_getopt_posix="guessing no";;
  77572. + darwin* | aix*) gl_cv_func_getopt_posix="guessing no";;
  77573. + *) gl_cv_func_getopt_posix="guessing yes";;
  77574. + esac
  77575. + ])
  77576. + CPPFLAGS=$gl_save_CPPFLAGS
  77577. + ])
  77578. + case "$gl_cv_func_getopt_posix" in
  77579. + *no) gl_replace_getopt=yes ;;
  77580. + esac
  77581. + fi
  77582. +
  77583. + if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
  77584. + AC_CACHE_CHECK([for working GNU getopt function], [gl_cv_func_getopt_gnu],
  77585. + [# Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the
  77586. + # optstring is necessary for programs like m4 that have POSIX-mandated
  77587. + # semantics for supporting options interspersed with files.
  77588. + # Also, since getopt_long is a GNU extension, we require optind=0.
  77589. + # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT;
  77590. + # so take care to revert to the correct (non-)export state.
  77591. +dnl GNU Coding Standards currently allow awk but not env; besides, env
  77592. +dnl is ambiguous with environment values that contain newlines.
  77593. + gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }'
  77594. + case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" </dev/null` in
  77595. + xx) gl_had_POSIXLY_CORRECT=exported ;;
  77596. + x) gl_had_POSIXLY_CORRECT=yes ;;
  77597. + *) gl_had_POSIXLY_CORRECT= ;;
  77598. + esac
  77599. + POSIXLY_CORRECT=1
  77600. + export POSIXLY_CORRECT
  77601. + AC_RUN_IFELSE(
  77602. + [AC_LANG_PROGRAM([[#include <getopt.h>
  77603. + #include <stddef.h>
  77604. + #include <string.h>
  77605. + ]], [[
  77606. + int result = 0;
  77607. + /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw,
  77608. + and fails on MacOS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5,
  77609. + OSF/1 5.1, Solaris 10. */
  77610. + {
  77611. + char *myargv[3];
  77612. + myargv[0] = "conftest";
  77613. + myargv[1] = "-+";
  77614. + myargv[2] = 0;
  77615. + opterr = 0;
  77616. + if (getopt (2, myargv, "+a") != '?')
  77617. + result |= 1;
  77618. + }
  77619. + /* This code succeeds on glibc 2.8, mingw,
  77620. + and fails on MacOS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11,
  77621. + IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */
  77622. + {
  77623. + char *argv[] = { "program", "-p", "foo", "bar", NULL };
  77624. +
  77625. + optind = 1;
  77626. + if (getopt (4, argv, "p::") != 'p')
  77627. + result |= 2;
  77628. + else if (optarg != NULL)
  77629. + result |= 4;
  77630. + else if (getopt (4, argv, "p::") != -1)
  77631. + result |= 6;
  77632. + else if (optind != 2)
  77633. + result |= 8;
  77634. + }
  77635. + /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */
  77636. + {
  77637. + char *argv[] = { "program", "foo", "-p", NULL };
  77638. + optind = 0;
  77639. + if (getopt (3, argv, "-p") != 1)
  77640. + result |= 16;
  77641. + else if (getopt (3, argv, "-p") != 'p')
  77642. + result |= 32;
  77643. + }
  77644. + /* This code fails on glibc 2.11. */
  77645. + {
  77646. + char *argv[] = { "program", "-b", "-a", NULL };
  77647. + optind = opterr = 0;
  77648. + if (getopt (3, argv, "+:a:b") != 'b')
  77649. + result |= 64;
  77650. + else if (getopt (3, argv, "+:a:b") != ':')
  77651. + result |= 64;
  77652. + }
  77653. + return result;
  77654. + ]])],
  77655. + [gl_cv_func_getopt_gnu=yes],
  77656. + [gl_cv_func_getopt_gnu=no],
  77657. + [dnl Cross compiling. Guess based on host and declarations.
  77658. + case $host_os:$ac_cv_have_decl_optreset in
  77659. + *-gnu*:* | mingw*:*) gl_cv_func_getopt_gnu=no;;
  77660. + *:yes) gl_cv_func_getopt_gnu=no;;
  77661. + *) gl_cv_func_getopt_gnu=yes;;
  77662. + esac
  77663. + ])
  77664. + case $gl_had_POSIXLY_CORRECT in
  77665. + exported) ;;
  77666. + yes) AS_UNSET([POSIXLY_CORRECT]); POSIXLY_CORRECT=1 ;;
  77667. + *) AS_UNSET([POSIXLY_CORRECT]) ;;
  77668. + esac
  77669. + ])
  77670. + if test "$gl_cv_func_getopt_gnu" = "no"; then
  77671. + gl_replace_getopt=yes
  77672. + fi
  77673. + fi
  77674. +])
  77675. +m4trace:m4/getopt.m4:307: -1- AC_DEFUN([gl_GETOPT_SUBSTITUTE_HEADER], [
  77676. + GETOPT_H=getopt.h
  77677. + AC_DEFINE([__GETOPT_PREFIX], [[rpl_]],
  77678. + [Define to rpl_ if the getopt replacement functions and variables
  77679. + should be used.])
  77680. + AC_SUBST([GETOPT_H])
  77681. +])
  77682. +m4trace:m4/getopt.m4:318: -1- AC_DEFUN([gl_PREREQ_GETOPT], [
  77683. + AC_CHECK_DECLS_ONCE([getenv])
  77684. +])
  77685. +m4trace:m4/getpagesize.m4:8: -1- AC_DEFUN([gl_FUNC_GETPAGESIZE], [
  77686. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
  77687. + AC_REQUIRE([AC_CANONICAL_HOST])
  77688. + AC_CHECK_FUNCS([getpagesize])
  77689. + if test $ac_cv_func_getpagesize = no; then
  77690. + HAVE_GETPAGESIZE=0
  77691. + AC_CHECK_HEADERS([OS.h])
  77692. + if test $ac_cv_header_OS_h = yes; then
  77693. + HAVE_OS_H=1
  77694. + fi
  77695. + AC_CHECK_HEADERS([sys/param.h])
  77696. + if test $ac_cv_header_sys_param_h = yes; then
  77697. + HAVE_SYS_PARAM_H=1
  77698. + fi
  77699. + fi
  77700. + case "$host_os" in
  77701. + mingw*)
  77702. + REPLACE_GETPAGESIZE=1
  77703. + AC_LIBOBJ([getpagesize])
  77704. + ;;
  77705. + esac
  77706. + dnl Also check whether it's declared.
  77707. + dnl mingw has getpagesize() in libgcc.a but doesn't declare it.
  77708. + AC_CHECK_DECL([getpagesize], , [HAVE_DECL_GETPAGESIZE=0])
  77709. +])
  77710. +m4trace:m4/gettimeofday.m4:10: -1- AC_DEFUN([gl_FUNC_GETTIMEOFDAY], [
  77711. + AC_REQUIRE([AC_C_RESTRICT])
  77712. + AC_REQUIRE([gl_HEADER_SYS_TIME_H])
  77713. + AC_REQUIRE([gl_HEADER_SYS_TIME_H_DEFAULTS])
  77714. + AC_CHECK_FUNCS_ONCE([gettimeofday])
  77715. +
  77716. + gl_gettimeofday_timezone=void
  77717. + if test $ac_cv_func_gettimeofday != yes; then
  77718. + HAVE_GETTIMEOFDAY=0
  77719. + AC_LIBOBJ([gettimeofday])
  77720. + gl_PREREQ_GETTIMEOFDAY
  77721. + else
  77722. + gl_FUNC_GETTIMEOFDAY_CLOBBER
  77723. + AC_CACHE_CHECK([for gettimeofday with POSIX signature],
  77724. + [gl_cv_func_gettimeofday_posix_signature],
  77725. + [AC_COMPILE_IFELSE(
  77726. + [AC_LANG_PROGRAM(
  77727. + [[#include <sys/time.h>
  77728. + struct timeval c;
  77729. + int gettimeofday (struct timeval *restrict, void *restrict);
  77730. + ]],
  77731. + [[/* glibc uses struct timezone * rather than the POSIX void *
  77732. + if _GNU_SOURCE is defined. However, since the only portable
  77733. + use of gettimeofday uses NULL as the second parameter, and
  77734. + since the glibc definition is actually more typesafe, it is
  77735. + not worth wrapping this to get a compliant signature. */
  77736. + int (*f) (struct timeval *restrict, void *restrict)
  77737. + = gettimeofday;
  77738. + int x = f (&c, 0);
  77739. + return !(x | c.tv_sec | c.tv_usec);
  77740. + ]])],
  77741. + [gl_cv_func_gettimeofday_posix_signature=yes],
  77742. + [AC_COMPILE_IFELSE(
  77743. + [AC_LANG_PROGRAM(
  77744. + [[#include <sys/time.h>
  77745. +int gettimeofday (struct timeval *restrict, struct timezone *restrict);
  77746. + ]])],
  77747. + [gl_cv_func_gettimeofday_posix_signature=almost],
  77748. + [gl_cv_func_gettimeofday_posix_signature=no])])])
  77749. + if test $gl_cv_func_gettimeofday_posix_signature = almost; then
  77750. + gl_gettimeofday_timezone='struct timezone'
  77751. + elif test $gl_cv_func_gettimeofday_posix_signature != yes; then
  77752. + REPLACE_GETTIMEOFDAY=1
  77753. + AC_LIBOBJ([gettimeofday])
  77754. + gl_PREREQ_GETTIMEOFDAY
  77755. + fi
  77756. + fi
  77757. + AC_DEFINE_UNQUOTED([GETTIMEOFDAY_TIMEZONE], [$gl_gettimeofday_timezone],
  77758. + [Define this to 'void' or 'struct timezone' to match the system's
  77759. + declaration of the second argument to gettimeofday.])
  77760. +])
  77761. +m4trace:m4/gettimeofday.m4:71: -1- AC_DEFUN([gl_FUNC_GETTIMEOFDAY_CLOBBER], [
  77762. + AC_REQUIRE([gl_HEADER_SYS_TIME_H])
  77763. +
  77764. + AC_CACHE_CHECK([whether gettimeofday clobbers localtime buffer],
  77765. + [gl_cv_func_gettimeofday_clobber],
  77766. + [AC_RUN_IFELSE(
  77767. + [AC_LANG_PROGRAM(
  77768. + [[#include <string.h>
  77769. + #include <sys/time.h>
  77770. + #include <time.h>
  77771. + #include <stdlib.h>
  77772. + ]],
  77773. + [[
  77774. + time_t t = 0;
  77775. + struct tm *lt;
  77776. + struct tm saved_lt;
  77777. + struct timeval tv;
  77778. + lt = localtime (&t);
  77779. + saved_lt = *lt;
  77780. + gettimeofday (&tv, NULL);
  77781. + return memcmp (lt, &saved_lt, sizeof (struct tm)) != 0;
  77782. + ]])],
  77783. + [gl_cv_func_gettimeofday_clobber=no],
  77784. + [gl_cv_func_gettimeofday_clobber=yes],
  77785. + dnl When crosscompiling, assume it is broken.
  77786. + [gl_cv_func_gettimeofday_clobber=yes])])
  77787. +
  77788. + if test $gl_cv_func_gettimeofday_clobber = yes; then
  77789. + REPLACE_GETTIMEOFDAY=1
  77790. + gl_GETTIMEOFDAY_REPLACE_LOCALTIME
  77791. + AC_DEFINE([GETTIMEOFDAY_CLOBBERS_LOCALTIME], [1],
  77792. + [Define if gettimeofday clobbers the localtime buffer.])
  77793. + fi
  77794. +])
  77795. +m4trace:m4/gettimeofday.m4:107: -1- AC_DEFUN([gl_GETTIMEOFDAY_REPLACE_LOCALTIME], [
  77796. + AC_LIBOBJ([gettimeofday])
  77797. + gl_PREREQ_GETTIMEOFDAY
  77798. + AC_DEFINE([gmtime], [rpl_gmtime],
  77799. + [Define to rpl_gmtime if the replacement function should be used.])
  77800. + AC_DEFINE([localtime], [rpl_localtime],
  77801. + [Define to rpl_localtime if the replacement function should be used.])
  77802. +])
  77803. +m4trace:m4/gettimeofday.m4:117: -1- AC_DEFUN([gl_PREREQ_GETTIMEOFDAY], [
  77804. + AC_CHECK_HEADERS([sys/timeb.h])
  77805. + AC_CHECK_FUNCS([_ftime])
  77806. +])
  77807. +m4trace:m4/gl_list.m4:7: -1- AC_DEFUN([gl_LIST], [
  77808. + AC_REQUIRE([gl_INLINE])
  77809. +])
  77810. +m4trace:m4/glibc21.m4:11: -1- AC_DEFUN([gl_GLIBC21], [
  77811. + AC_CACHE_CHECK([whether we are using the GNU C Library >= 2.1 or uClibc],
  77812. + [ac_cv_gnu_library_2_1],
  77813. + [AC_EGREP_CPP([Lucky],
  77814. + [
  77815. +#include <features.h>
  77816. +#ifdef __GNU_LIBRARY__
  77817. + #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
  77818. + Lucky GNU user
  77819. + #endif
  77820. +#endif
  77821. +#ifdef __UCLIBC__
  77822. + Lucky user
  77823. +#endif
  77824. + ],
  77825. + [ac_cv_gnu_library_2_1=yes],
  77826. + [ac_cv_gnu_library_2_1=no])
  77827. + ]
  77828. + )
  77829. + AC_SUBST([GLIBC21])
  77830. + GLIBC21="$ac_cv_gnu_library_2_1"
  77831. +
  77832. +])
  77833. +m4trace:m4/gnulib-common.m4:9: -1- AC_DEFUN([gl_COMMON], [
  77834. + dnl Use AC_REQUIRE here, so that the code is expanded once only.
  77835. + AC_REQUIRE([gl_00GNULIB])
  77836. + AC_REQUIRE([gl_COMMON_BODY])
  77837. +])
  77838. +m4trace:m4/gnulib-common.m4:14: -1- AC_DEFUN([gl_COMMON_BODY], [
  77839. + AH_VERBATIM([isoc99_inline],
  77840. +[/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
  77841. + the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
  77842. + earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
  77843. + __APPLE__ && __MACH__ test for MacOS X.
  77844. + __APPLE_CC__ tests for the Apple compiler and its version.
  77845. + __STDC_VERSION__ tests for the C99 mode. */
  77846. +#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
  77847. +# define __GNUC_STDC_INLINE__ 1
  77848. +#endif])
  77849. + AH_VERBATIM([unused_parameter],
  77850. +[/* Define as a marker that can be attached to declarations that might not
  77851. + be used. This helps to reduce warnings, such as from
  77852. + GCC -Wunused-parameter. */
  77853. +#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
  77854. +# define _GL_UNUSED __attribute__ ((__unused__))
  77855. +#else
  77856. +# define _GL_UNUSED
  77857. +#endif
  77858. +/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
  77859. + is a misnomer outside of parameter lists. */
  77860. +#define _UNUSED_PARAMETER_ _GL_UNUSED
  77861. +])
  77862. + dnl Preparation for running test programs:
  77863. + dnl Tell glibc to write diagnostics from -D_FORTIFY_SOURCE=2 to stderr, not
  77864. + dnl to /dev/tty, so they can be redirected to log files. Such diagnostics
  77865. + dnl arise e.g., in the macros gl_PRINTF_DIRECTIVE_N, gl_SNPRINTF_DIRECTIVE_N.
  77866. + LIBC_FATAL_STDERR_=1
  77867. + export LIBC_FATAL_STDERR_
  77868. +])
  77869. +m4trace:m4/gnulib-common.m4:50: -1- AC_DEFUN([gl_MODULE_INDICATOR_CONDITION], [1])
  77870. +m4trace:m4/gnulib-common.m4:55: -1- AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE], [
  77871. + GNULIB_[]m4_translit([[$1]],
  77872. + [abcdefghijklmnopqrstuvwxyz./-],
  77873. + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=gl_MODULE_INDICATOR_CONDITION
  77874. +])
  77875. +m4trace:m4/gnulib-common.m4:74: -1- AC_DEFUN([gl_MODULE_INDICATOR], [
  77876. + AC_DEFINE_UNQUOTED([GNULIB_]m4_translit([[$1]],
  77877. + [abcdefghijklmnopqrstuvwxyz./-],
  77878. + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___]),
  77879. + [gl_MODULE_INDICATOR_CONDITION],
  77880. + [Define to a C preprocessor expression that evaluates to 1 or 0,
  77881. + depending whether the gnulib module $1 shall be considered present.])
  77882. +])
  77883. +m4trace:m4/gnulib-common.m4:97: -1- AC_DEFUN([gl_MODULE_INDICATOR_FOR_TESTS], [
  77884. + AC_DEFINE([GNULIB_TEST_]m4_translit([[$1]],
  77885. + [abcdefghijklmnopqrstuvwxyz./-],
  77886. + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), [1],
  77887. + [Define to 1 when the gnulib module $1 should be tested.])
  77888. +])
  77889. +m4trace:m4/gnulib-common.m4:109: -1- AC_DEFUN([gl_ASSERT_NO_GNULIB_POSIXCHECK], [
  77890. + dnl Override gl_WARN_ON_USE_PREPARE.
  77891. + AC_DEFUN([gl_WARN_ON_USE_PREPARE], [])
  77892. +])
  77893. +m4trace:m4/gnulib-common.m4:119: -1- AC_DEFUN([gl_ASSERT_NO_GNULIB_TESTS], [
  77894. + dnl Override gl_MODULE_INDICATOR_FOR_TESTS.
  77895. + AC_DEFUN([gl_MODULE_INDICATOR_FOR_TESTS], [])
  77896. +])
  77897. +m4trace:m4/gnulib-common.m4:127: -1- AC_DEFUN([gl_FEATURES_H], [
  77898. + AC_CHECK_HEADERS_ONCE([features.h])
  77899. + if test $ac_cv_header_features_h = yes; then
  77900. + HAVE_FEATURES_H=1
  77901. + else
  77902. + HAVE_FEATURES_H=0
  77903. + fi
  77904. + AC_SUBST([HAVE_FEATURES_H])
  77905. +])
  77906. +m4trace:m4/gnulib-common.m4:218: -1- AC_DEFUN([gl_BIGENDIAN], [
  77907. + AC_C_BIGENDIAN
  77908. +])
  77909. +m4trace:m4/gnulib-common.m4:228: -1- AC_DEFUN([gl_CACHE_VAL_SILENT], [
  77910. + saved_as_echo_n="$as_echo_n"
  77911. + as_echo_n=':'
  77912. + AC_CACHE_VAL([$1], [$2])
  77913. + as_echo_n="$saved_as_echo_n"
  77914. +])
  77915. +m4trace:m4/gnulib-comp.m4:22: -1- AC_DEFUN([M4_EARLY], [
  77916. + m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
  77917. + m4_pattern_allow([^gl_ES$])dnl a valid locale name
  77918. + m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
  77919. + m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
  77920. + AC_REQUIRE([AC_PROG_RANLIB])
  77921. + AC_REQUIRE([AM_PROG_CC_C_O])
  77922. + # Code from module alloca-opt:
  77923. + # Code from module alloca-opt-tests:
  77924. + # Code from module announce-gen:
  77925. + # Code from module ansi-c++-opt:
  77926. + # Code from module arg-nonnull:
  77927. + # Code from module array-list:
  77928. + # Code from module array-list-tests:
  77929. + # Code from module array-oset:
  77930. + # Code from module array-oset-tests:
  77931. + # Code from module assert:
  77932. + # Code from module autobuild:
  77933. + AB_INIT
  77934. + # Code from module avltree-oset:
  77935. + # Code from module avltree-oset-tests:
  77936. + # Code from module binary-io:
  77937. + # Code from module binary-io-tests:
  77938. + # Code from module btowc:
  77939. + # Code from module btowc-tests:
  77940. + # Code from module c++defs:
  77941. + # Code from module c-ctype:
  77942. + # Code from module c-ctype-tests:
  77943. + # Code from module c-stack:
  77944. + # Code from module c-stack-tests:
  77945. + # Code from module c-strcase:
  77946. + # Code from module c-strcase-tests:
  77947. + # Code from module canonicalize-lgpl:
  77948. + # Code from module canonicalize-lgpl-tests:
  77949. + # Code from module clean-temp:
  77950. + # Code from module cloexec:
  77951. + # Code from module cloexec-tests:
  77952. + # Code from module close:
  77953. + # Code from module close-hook:
  77954. + # Code from module close-stream:
  77955. + # Code from module closein:
  77956. + # Code from module closein-tests:
  77957. + # Code from module closeout:
  77958. + # Code from module config-h:
  77959. + # Code from module configmake:
  77960. + # Code from module dirname:
  77961. + # Code from module dirname-lgpl:
  77962. + # Code from module dirname-tests:
  77963. + # Code from module dosname:
  77964. + # Code from module double-slash-root:
  77965. + # Code from module dup2:
  77966. + # Code from module dup2-tests:
  77967. + # Code from module environ:
  77968. + # Code from module environ-tests:
  77969. + # Code from module errno:
  77970. + # Code from module errno-tests:
  77971. + # Code from module error:
  77972. + # Code from module execute:
  77973. + # Code from module exitfail:
  77974. + # Code from module extensions:
  77975. + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
  77976. + # Code from module fatal-signal:
  77977. + # Code from module fclose:
  77978. + # Code from module fcntl:
  77979. + # Code from module fcntl-h:
  77980. + # Code from module fcntl-h-c++-tests:
  77981. + # Code from module fcntl-h-tests:
  77982. + # Code from module fcntl-tests:
  77983. + # Code from module fd-safer-flag:
  77984. + # Code from module fdl-1.3:
  77985. + # Code from module fflush:
  77986. + AC_REQUIRE([AC_FUNC_FSEEKO])
  77987. + # Code from module fflush-tests:
  77988. + # Code from module filenamecat:
  77989. + # Code from module filenamecat-lgpl:
  77990. + # Code from module filenamecat-tests:
  77991. + # Code from module float:
  77992. + # Code from module fopen:
  77993. + # Code from module fopen-safer:
  77994. + # Code from module fopen-safer-tests:
  77995. + # Code from module fopen-tests:
  77996. + # Code from module fpending:
  77997. + # Code from module fpending-tests:
  77998. + # Code from module fpieee:
  77999. + AC_REQUIRE([gl_FP_IEEE])
  78000. + # Code from module fpucw:
  78001. + # Code from module fpurge:
  78002. + # Code from module fpurge-tests:
  78003. + # Code from module freadahead:
  78004. + # Code from module freadahead-tests:
  78005. + # Code from module freading:
  78006. + # Code from module freading-tests:
  78007. + # Code from module frexp-nolibm:
  78008. + # Code from module frexp-nolibm-tests:
  78009. + # Code from module frexpl-nolibm:
  78010. + # Code from module frexpl-nolibm-tests:
  78011. + # Code from module fseeko:
  78012. + AC_REQUIRE([AC_FUNC_FSEEKO])
  78013. + # Code from module fseeko-tests:
  78014. + # Code from module ftell:
  78015. + # Code from module ftell-tests:
  78016. + # Code from module ftello:
  78017. + AC_REQUIRE([AC_FUNC_FSEEKO])
  78018. + # Code from module ftello-tests:
  78019. + # Code from module gendocs:
  78020. + # Code from module getdtablesize:
  78021. + # Code from module getdtablesize-tests:
  78022. + # Code from module getopt-gnu:
  78023. + # Code from module getopt-posix:
  78024. + # Code from module getopt-posix-tests:
  78025. + # Code from module getpagesize:
  78026. + # Code from module gettext-h:
  78027. + # Code from module gettimeofday:
  78028. + # Code from module gettimeofday-tests:
  78029. + # Code from module git-version-gen:
  78030. + # Code from module gnu-web-doc-update:
  78031. + # Code from module gnumakefile:
  78032. + # Code from module gnupload:
  78033. + # Code from module gpl-3.0:
  78034. + # Code from module havelib:
  78035. + # Code from module ignore-value:
  78036. + # Code from module ignore-value-tests:
  78037. + # Code from module include_next:
  78038. + # Code from module inline:
  78039. + # Code from module intprops:
  78040. + # Code from module isnand-nolibm:
  78041. + # Code from module isnand-nolibm-tests:
  78042. + # Code from module isnanf-nolibm:
  78043. + # Code from module isnanf-nolibm-tests:
  78044. + # Code from module isnanl-nolibm:
  78045. + # Code from module isnanl-nolibm-tests:
  78046. + # Code from module langinfo:
  78047. + # Code from module langinfo-c++-tests:
  78048. + # Code from module langinfo-tests:
  78049. + # Code from module libsigsegv:
  78050. + # Code from module link:
  78051. + # Code from module link-tests:
  78052. + # Code from module linkedhash-list:
  78053. + # Code from module linkedhash-list-tests:
  78054. + # Code from module list:
  78055. + # Code from module localcharset:
  78056. + # Code from module locale:
  78057. + # Code from module locale-c++-tests:
  78058. + # Code from module locale-tests:
  78059. + # Code from module localename:
  78060. + # Code from module localename-tests:
  78061. + # Code from module lock:
  78062. + # Code from module lseek:
  78063. + # Code from module lseek-tests:
  78064. + # Code from module lstat:
  78065. + # Code from module lstat-tests:
  78066. + # Code from module maintainer-makefile:
  78067. + # Code from module malloc-gnu:
  78068. + # Code from module malloc-gnu-tests:
  78069. + # Code from module malloc-posix:
  78070. + # Code from module malloca:
  78071. + # Code from module malloca-tests:
  78072. + # Code from module manywarnings:
  78073. + # Code from module math:
  78074. + # Code from module math-c++-tests:
  78075. + # Code from module math-tests:
  78076. + # Code from module mbrtowc:
  78077. + # Code from module mbrtowc-tests:
  78078. + # Code from module mbsinit:
  78079. + # Code from module mbsinit-tests:
  78080. + # Code from module mbtowc:
  78081. + # Code from module memchr:
  78082. + # Code from module memchr-tests:
  78083. + # Code from module memchr2:
  78084. + # Code from module memchr2-tests:
  78085. + # Code from module mkdtemp:
  78086. + # Code from module mkstemp:
  78087. + # Code from module multiarch:
  78088. + # Code from module nl_langinfo:
  78089. + # Code from module nl_langinfo-tests:
  78090. + # Code from module nocrash:
  78091. + # Code from module obstack:
  78092. + # Code from module open:
  78093. + # Code from module open-tests:
  78094. + # Code from module oset:
  78095. + # Code from module pathmax:
  78096. + # Code from module pipe2:
  78097. + # Code from module pipe2-safer:
  78098. + # Code from module pipe2-tests:
  78099. + # Code from module posix_spawn-internal:
  78100. + # Code from module posix_spawn_file_actions_addclose:
  78101. + # Code from module posix_spawn_file_actions_adddup2:
  78102. + # Code from module posix_spawn_file_actions_addopen:
  78103. + # Code from module posix_spawn_file_actions_destroy:
  78104. + # Code from module posix_spawn_file_actions_init:
  78105. + # Code from module posix_spawnattr_destroy:
  78106. + # Code from module posix_spawnattr_init:
  78107. + # Code from module posix_spawnattr_setflags:
  78108. + # Code from module posix_spawnattr_setsigmask:
  78109. + # Code from module posix_spawnp:
  78110. + # Code from module posix_spawnp-tests:
  78111. + # Code from module printf-frexp:
  78112. + # Code from module printf-frexp-tests:
  78113. + # Code from module printf-frexpl:
  78114. + # Code from module printf-frexpl-tests:
  78115. + # Code from module printf-safe:
  78116. + # Code from module progname:
  78117. + # Code from module putenv:
  78118. + # Code from module quotearg:
  78119. + # Code from module quotearg-simple:
  78120. + # Code from module quotearg-simple-tests:
  78121. + # Code from module rawmemchr:
  78122. + # Code from module rawmemchr-tests:
  78123. + # Code from module readlink:
  78124. + # Code from module readlink-tests:
  78125. + # Code from module regex:
  78126. + # Code from module rename:
  78127. + # Code from module rename-tests:
  78128. + # Code from module rmdir:
  78129. + # Code from module rmdir-tests:
  78130. + # Code from module same-inode:
  78131. + # Code from module sched:
  78132. + # Code from module sched-tests:
  78133. + # Code from module setenv:
  78134. + # Code from module setenv-tests:
  78135. + # Code from module setlocale:
  78136. + # Code from module setlocale-tests:
  78137. + # Code from module sigaction:
  78138. + # Code from module sigaction-tests:
  78139. + # Code from module signal:
  78140. + # Code from module signal-c++-tests:
  78141. + # Code from module signal-tests:
  78142. + # Code from module signbit:
  78143. + # Code from module signbit-tests:
  78144. + # Code from module sigprocmask:
  78145. + # Code from module size_max:
  78146. + # Code from module snprintf:
  78147. + # Code from module snprintf-tests:
  78148. + # Code from module spawn:
  78149. + # Code from module spawn-c++-tests:
  78150. + # Code from module spawn-pipe:
  78151. + # Code from module spawn-pipe-tests:
  78152. + # Code from module spawn-tests:
  78153. + # Code from module ssize_t:
  78154. + # Code from module stat:
  78155. + # Code from module stat-tests:
  78156. + # Code from module stdarg:
  78157. + dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
  78158. + dnl for the builtin va_copy to work. With Autoconf 2.60 or later,
  78159. + dnl AC_PROG_CC_STDC arranges for this. With older Autoconf AC_PROG_CC_STDC
  78160. + dnl shouldn't hurt, though installers are on their own to set c99 mode.
  78161. + AC_REQUIRE([AC_PROG_CC_STDC])
  78162. + # Code from module stdbool:
  78163. + # Code from module stdbool-tests:
  78164. + # Code from module stddef:
  78165. + # Code from module stddef-tests:
  78166. + # Code from module stdint:
  78167. + # Code from module stdint-tests:
  78168. + # Code from module stdio:
  78169. + # Code from module stdio-c++-tests:
  78170. + # Code from module stdio-tests:
  78171. + # Code from module stdlib:
  78172. + # Code from module stdlib-c++-tests:
  78173. + # Code from module stdlib-safer:
  78174. + # Code from module stdlib-tests:
  78175. + # Code from module strchrnul:
  78176. + # Code from module strchrnul-tests:
  78177. + # Code from module strdup-posix:
  78178. + # Code from module streq:
  78179. + # Code from module strerror:
  78180. + # Code from module strerror-tests:
  78181. + # Code from module string:
  78182. + # Code from module string-c++-tests:
  78183. + # Code from module string-tests:
  78184. + # Code from module strndup:
  78185. + # Code from module strnlen:
  78186. + # Code from module strnlen-tests:
  78187. + # Code from module strsignal:
  78188. + # Code from module strsignal-tests:
  78189. + # Code from module strstr:
  78190. + # Code from module strstr-simple:
  78191. + # Code from module strstr-tests:
  78192. + # Code from module strtod:
  78193. + # Code from module strtod-tests:
  78194. + # Code from module strtol:
  78195. + # Code from module symlink:
  78196. + # Code from module symlink-tests:
  78197. + # Code from module sys_stat:
  78198. + # Code from module sys_stat-c++-tests:
  78199. + # Code from module sys_stat-tests:
  78200. + # Code from module sys_time:
  78201. + # Code from module sys_time-c++-tests:
  78202. + # Code from module sys_time-tests:
  78203. + # Code from module sys_wait:
  78204. + # Code from module sys_wait-c++-tests:
  78205. + # Code from module sys_wait-tests:
  78206. + # Code from module tempname:
  78207. + # Code from module threadlib:
  78208. + gl_THREADLIB_EARLY
  78209. + # Code from module time:
  78210. + # Code from module time-c++-tests:
  78211. + # Code from module time-tests:
  78212. + # Code from module tls:
  78213. + # Code from module tmpdir:
  78214. + # Code from module unistd:
  78215. + # Code from module unistd-c++-tests:
  78216. + # Code from module unistd-safer:
  78217. + # Code from module unistd-safer-tests:
  78218. + # Code from module unistd-tests:
  78219. + # Code from module unlocked-io:
  78220. + # Code from module unsetenv:
  78221. + # Code from module unsetenv-tests:
  78222. + # Code from module update-copyright:
  78223. + # Code from module update-copyright-tests:
  78224. + # Code from module useless-if-before-free:
  78225. + # Code from module vasnprintf:
  78226. + # Code from module vasnprintf-tests:
  78227. + # Code from module vasprintf:
  78228. + # Code from module vasprintf-posix:
  78229. + # Code from module vasprintf-posix-tests:
  78230. + # Code from module vasprintf-tests:
  78231. + # Code from module vc-list-files:
  78232. + # Code from module vc-list-files-tests:
  78233. + # Code from module verify:
  78234. + # Code from module verify-tests:
  78235. + # Code from module verror:
  78236. + # Code from module version-etc:
  78237. + # Code from module version-etc-fsf:
  78238. + # Code from module version-etc-tests:
  78239. + # Code from module wait-process:
  78240. + # Code from module waitpid:
  78241. + # Code from module warn-on-use:
  78242. + # Code from module warnings:
  78243. + # Code from module wchar:
  78244. + # Code from module wchar-c++-tests:
  78245. + # Code from module wchar-tests:
  78246. + # Code from module wcrtomb:
  78247. + # Code from module wcrtomb-tests:
  78248. + # Code from module wctob:
  78249. + # Code from module wctomb:
  78250. + # Code from module wctype-h:
  78251. + # Code from module wctype-h-c++-tests:
  78252. + # Code from module wctype-h-tests:
  78253. + # Code from module xalloc:
  78254. + # Code from module xalloc-die:
  78255. + # Code from module xalloc-die-tests:
  78256. + # Code from module xlist:
  78257. + # Code from module xmalloca:
  78258. + # Code from module xoset:
  78259. + # Code from module xprintf:
  78260. + # Code from module xsize:
  78261. + # Code from module xstrndup:
  78262. + # Code from module xvasprintf:
  78263. + # Code from module xvasprintf-posix:
  78264. + # Code from module xvasprintf-tests:
  78265. +])
  78266. +m4trace:m4/gnulib-comp.m4:377: -1- AC_DEFUN([M4_INIT], [
  78267. + AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
  78268. + gl_cond_libtool=false
  78269. + gl_libdeps=
  78270. + gl_ltlibdeps=
  78271. + gl_m4_base='m4'
  78272. + m4_pushdef([AC_LIBOBJ], m4_defn([M4_LIBOBJ]))
  78273. + m4_pushdef([AC_REPLACE_FUNCS], m4_defn([M4_REPLACE_FUNCS]))
  78274. + m4_pushdef([AC_LIBSOURCES], m4_defn([M4_LIBSOURCES]))
  78275. + m4_pushdef([M4_LIBSOURCES_LIST], [])
  78276. + m4_pushdef([M4_LIBSOURCES_DIR], [])
  78277. + gl_COMMON
  78278. + gl_source_base='lib'
  78279. + # Code from module alloca-opt:
  78280. + gl_FUNC_ALLOCA
  78281. + # Code from module announce-gen:
  78282. + # Code from module arg-nonnull:
  78283. + # Code from module assert:
  78284. + gl_ASSERT
  78285. + # Code from module autobuild:
  78286. + # Code from module avltree-oset:
  78287. + # Code from module binary-io:
  78288. + # Code from module btowc:
  78289. + gl_FUNC_BTOWC
  78290. + gl_WCHAR_MODULE_INDICATOR([btowc])
  78291. + # Code from module c++defs:
  78292. + # Code from module c-ctype:
  78293. + # Code from module c-stack:
  78294. + gl_C_STACK
  78295. + # Code from module canonicalize-lgpl:
  78296. + gl_CANONICALIZE_LGPL
  78297. + gl_MODULE_INDICATOR([canonicalize-lgpl])
  78298. + gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
  78299. + gl_STDLIB_MODULE_INDICATOR([realpath])
  78300. + # Code from module clean-temp:
  78301. + AC_DEFINE([SIGNAL_SAFE_LIST], [1], [Define if lists must be signal-safe.])
  78302. + # Code from module cloexec:
  78303. + gl_CLOEXEC
  78304. + gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
  78305. + # Code from module close:
  78306. + gl_FUNC_CLOSE
  78307. + gl_UNISTD_MODULE_INDICATOR([close])
  78308. + # Code from module close-hook:
  78309. + # Code from module close-stream:
  78310. + gl_CLOSE_STREAM
  78311. + gl_MODULE_INDICATOR([close-stream])
  78312. + # Code from module closein:
  78313. + gl_CLOSEIN
  78314. + # Code from module closeout:
  78315. + gl_CLOSEOUT
  78316. + # Code from module config-h:
  78317. + gl_CONFIG_H
  78318. + # Code from module configmake:
  78319. + gl_CONFIGMAKE_PREP
  78320. + # Code from module dirname:
  78321. + gl_DIRNAME
  78322. + gl_MODULE_INDICATOR([dirname])
  78323. + # Code from module dirname-lgpl:
  78324. + gl_DIRNAME_LGPL
  78325. + # Code from module dosname:
  78326. + # Code from module double-slash-root:
  78327. + gl_DOUBLE_SLASH_ROOT
  78328. + # Code from module dup2:
  78329. + gl_FUNC_DUP2
  78330. + gl_UNISTD_MODULE_INDICATOR([dup2])
  78331. + # Code from module environ:
  78332. + gl_ENVIRON
  78333. + gl_UNISTD_MODULE_INDICATOR([environ])
  78334. + # Code from module errno:
  78335. + gl_HEADER_ERRNO_H
  78336. + # Code from module error:
  78337. + gl_ERROR
  78338. + m4_ifdef([AM_XGETTEXT_OPTION],
  78339. + [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
  78340. + AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
  78341. + # Code from module execute:
  78342. + gl_EXECUTE
  78343. + # Code from module exitfail:
  78344. + # Code from module extensions:
  78345. + # Code from module fatal-signal:
  78346. + gl_FATAL_SIGNAL
  78347. + # Code from module fclose:
  78348. + gl_FUNC_FCLOSE
  78349. + gl_STDIO_MODULE_INDICATOR([fclose])
  78350. + # Code from module fcntl:
  78351. + gl_FUNC_FCNTL
  78352. + gl_FCNTL_MODULE_INDICATOR([fcntl])
  78353. + # Code from module fcntl-h:
  78354. + gl_FCNTL_H
  78355. + # Code from module fd-safer-flag:
  78356. + gl_MODULE_INDICATOR([fd-safer-flag])
  78357. + # Code from module fdl-1.3:
  78358. + # Code from module fflush:
  78359. + gl_FUNC_FFLUSH
  78360. + gl_STDIO_MODULE_INDICATOR([fflush])
  78361. + # Code from module filenamecat:
  78362. + gl_FILE_NAME_CONCAT
  78363. + gl_MODULE_INDICATOR([filenamecat])
  78364. + # Code from module filenamecat-lgpl:
  78365. + gl_FILE_NAME_CONCAT_LGPL
  78366. + # Code from module float:
  78367. + gl_FLOAT_H
  78368. + # Code from module fopen:
  78369. + gl_FUNC_FOPEN
  78370. + gl_STDIO_MODULE_INDICATOR([fopen])
  78371. + # Code from module fopen-safer:
  78372. + gl_FOPEN_SAFER
  78373. + gl_MODULE_INDICATOR([fopen-safer])
  78374. + # Code from module fpending:
  78375. + gl_FUNC_FPENDING
  78376. + # Code from module fpieee:
  78377. + # Code from module fpucw:
  78378. + # Code from module fpurge:
  78379. + gl_FUNC_FPURGE
  78380. + gl_STDIO_MODULE_INDICATOR([fpurge])
  78381. + # Code from module freadahead:
  78382. + # Code from module freading:
  78383. + gl_FUNC_FREADING
  78384. + # Code from module frexp-nolibm:
  78385. + gl_FUNC_FREXP_NO_LIBM
  78386. + gl_MATH_MODULE_INDICATOR([frexp])
  78387. + # Code from module frexpl-nolibm:
  78388. + gl_FUNC_FREXPL_NO_LIBM
  78389. + gl_MATH_MODULE_INDICATOR([frexpl])
  78390. + # Code from module fseeko:
  78391. + gl_FUNC_FSEEKO
  78392. + gl_STDIO_MODULE_INDICATOR([fseeko])
  78393. + # Code from module ftello:
  78394. + gl_FUNC_FTELLO
  78395. + gl_STDIO_MODULE_INDICATOR([ftello])
  78396. + # Code from module gendocs:
  78397. + # Code from module getdtablesize:
  78398. + gl_FUNC_GETDTABLESIZE
  78399. + gl_UNISTD_MODULE_INDICATOR([getdtablesize])
  78400. + # Code from module getopt-gnu:
  78401. + gl_FUNC_GETOPT_GNU
  78402. + gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
  78403. + # Code from module getopt-posix:
  78404. + gl_FUNC_GETOPT_POSIX
  78405. + # Code from module gettext-h:
  78406. + AC_SUBST([LIBINTL])
  78407. + AC_SUBST([LTLIBINTL])
  78408. + # Code from module gettimeofday:
  78409. + gl_FUNC_GETTIMEOFDAY
  78410. + gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
  78411. + # Code from module git-version-gen:
  78412. + # Code from module gnu-web-doc-update:
  78413. + # Code from module gnumakefile:
  78414. + # Autoconf 2.61a.99 and earlier don't support linking a file only
  78415. + # in VPATH builds. But since GNUmakefile is for maintainer use
  78416. + # only, it does not matter if we skip the link with older autoconf.
  78417. + # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
  78418. + # builds, so use a shell variable to bypass this.
  78419. + GNUmakefile=GNUmakefile
  78420. + m4_if(m4_version_compare([2.61a.100],
  78421. + m4_defn([m4_PACKAGE_VERSION])), [1], [],
  78422. + [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
  78423. + [GNUmakefile=$GNUmakefile])])
  78424. + # Code from module gnupload:
  78425. + # Code from module gpl-3.0:
  78426. + # Code from module havelib:
  78427. + # Code from module ignore-value:
  78428. + AC_REQUIRE([AC_C_INLINE])
  78429. + # Code from module include_next:
  78430. + # Code from module inline:
  78431. + gl_INLINE
  78432. + # Code from module intprops:
  78433. + # Code from module isnand-nolibm:
  78434. + gl_FUNC_ISNAND_NO_LIBM
  78435. + # Code from module isnanf-nolibm:
  78436. + gl_FUNC_ISNANF_NO_LIBM
  78437. + # Code from module isnanl-nolibm:
  78438. + gl_FUNC_ISNANL_NO_LIBM
  78439. + # Code from module langinfo:
  78440. + gl_LANGINFO_H
  78441. + # Code from module libsigsegv:
  78442. + gl_LIBSIGSEGV
  78443. + # Code from module linkedhash-list:
  78444. + # Code from module list:
  78445. + gl_LIST
  78446. + # Code from module localcharset:
  78447. + gl_LOCALCHARSET
  78448. + LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(top_builddir)/$gl_source_base\""
  78449. + AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
  78450. + # Code from module lock:
  78451. + gl_LOCK
  78452. + # Code from module lseek:
  78453. + gl_FUNC_LSEEK
  78454. + gl_UNISTD_MODULE_INDICATOR([lseek])
  78455. + # Code from module lstat:
  78456. + gl_FUNC_LSTAT
  78457. + gl_SYS_STAT_MODULE_INDICATOR([lstat])
  78458. + # Code from module maintainer-makefile:
  78459. + AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
  78460. + [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
  78461. + # Code from module malloc-gnu:
  78462. + gl_FUNC_MALLOC_GNU
  78463. + gl_MODULE_INDICATOR([malloc-gnu])
  78464. + # Code from module malloc-posix:
  78465. + gl_FUNC_MALLOC_POSIX
  78466. + gl_STDLIB_MODULE_INDICATOR([malloc-posix])
  78467. + # Code from module malloca:
  78468. + gl_MALLOCA
  78469. + # Code from module manywarnings:
  78470. + # Code from module math:
  78471. + gl_MATH_H
  78472. + # Code from module mbrtowc:
  78473. + gl_FUNC_MBRTOWC
  78474. + gl_WCHAR_MODULE_INDICATOR([mbrtowc])
  78475. + # Code from module mbsinit:
  78476. + gl_FUNC_MBSINIT
  78477. + gl_WCHAR_MODULE_INDICATOR([mbsinit])
  78478. + # Code from module mbtowc:
  78479. + gl_FUNC_MBTOWC
  78480. + gl_STDLIB_MODULE_INDICATOR([mbtowc])
  78481. + # Code from module memchr:
  78482. + gl_FUNC_MEMCHR
  78483. + gl_STRING_MODULE_INDICATOR([memchr])
  78484. + # Code from module memchr2:
  78485. + # Code from module mkdtemp:
  78486. + gt_FUNC_MKDTEMP
  78487. + gl_STDLIB_MODULE_INDICATOR([mkdtemp])
  78488. + # Code from module mkstemp:
  78489. + gl_FUNC_MKSTEMP
  78490. + gl_STDLIB_MODULE_INDICATOR([mkstemp])
  78491. + # Code from module multiarch:
  78492. + gl_MULTIARCH
  78493. + # Code from module nl_langinfo:
  78494. + gl_FUNC_NL_LANGINFO
  78495. + gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
  78496. + # Code from module nocrash:
  78497. + # Code from module obstack:
  78498. + AC_FUNC_OBSTACK
  78499. + dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]).
  78500. + # Code from module open:
  78501. + gl_FUNC_OPEN
  78502. + gl_FCNTL_MODULE_INDICATOR([open])
  78503. + # Code from module oset:
  78504. + gl_LIST
  78505. + # Code from module pathmax:
  78506. + gl_PATHMAX
  78507. + # Code from module pipe2:
  78508. + gl_FUNC_PIPE2
  78509. + gl_UNISTD_MODULE_INDICATOR([pipe2])
  78510. + # Code from module pipe2-safer:
  78511. + gl_MODULE_INDICATOR([pipe2-safer])
  78512. + # Code from module posix_spawn-internal:
  78513. + # Code from module posix_spawn_file_actions_addclose:
  78514. + gl_POSIX_SPAWN
  78515. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  78516. + gl_REPLACE_SPAWN_H
  78517. + AC_LIBOBJ([spawn_faction_addclose])
  78518. + fi
  78519. + gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addclose])
  78520. + # Code from module posix_spawn_file_actions_adddup2:
  78521. + gl_POSIX_SPAWN
  78522. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  78523. + gl_REPLACE_SPAWN_H
  78524. + AC_LIBOBJ([spawn_faction_adddup2])
  78525. + fi
  78526. + gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_adddup2])
  78527. + # Code from module posix_spawn_file_actions_addopen:
  78528. + gl_POSIX_SPAWN
  78529. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  78530. + gl_REPLACE_SPAWN_H
  78531. + AC_LIBOBJ([spawn_faction_addopen])
  78532. + fi
  78533. + gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addopen])
  78534. + # Code from module posix_spawn_file_actions_destroy:
  78535. + gl_POSIX_SPAWN
  78536. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  78537. + gl_REPLACE_SPAWN_H
  78538. + AC_LIBOBJ([spawn_faction_destroy])
  78539. + fi
  78540. + gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_destroy])
  78541. + # Code from module posix_spawn_file_actions_init:
  78542. + gl_POSIX_SPAWN
  78543. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  78544. + gl_REPLACE_SPAWN_H
  78545. + AC_LIBOBJ([spawn_faction_init])
  78546. + fi
  78547. + gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_init])
  78548. + # Code from module posix_spawnattr_destroy:
  78549. + gl_POSIX_SPAWN
  78550. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  78551. + gl_REPLACE_SPAWN_H
  78552. + AC_LIBOBJ([spawnattr_destroy])
  78553. + fi
  78554. + gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_destroy])
  78555. + # Code from module posix_spawnattr_init:
  78556. + gl_POSIX_SPAWN
  78557. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  78558. + gl_REPLACE_SPAWN_H
  78559. + AC_LIBOBJ([spawnattr_init])
  78560. + fi
  78561. + gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_init])
  78562. + # Code from module posix_spawnattr_setflags:
  78563. + gl_POSIX_SPAWN
  78564. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  78565. + gl_REPLACE_SPAWN_H
  78566. + AC_LIBOBJ([spawnattr_setflags])
  78567. + fi
  78568. + gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setflags])
  78569. + # Code from module posix_spawnattr_setsigmask:
  78570. + gl_POSIX_SPAWN
  78571. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  78572. + gl_REPLACE_SPAWN_H
  78573. + AC_LIBOBJ([spawnattr_setsigmask])
  78574. + fi
  78575. + gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setsigmask])
  78576. + # Code from module posix_spawnp:
  78577. + gl_POSIX_SPAWN
  78578. + if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  78579. + gl_REPLACE_SPAWN_H
  78580. + AC_LIBOBJ([spawnp])
  78581. + gl_POSIX_SPAWN_INTERNAL
  78582. + fi
  78583. + gl_SPAWN_MODULE_INDICATOR([posix_spawnp])
  78584. + # Code from module printf-frexp:
  78585. + gl_FUNC_PRINTF_FREXP
  78586. + # Code from module printf-frexpl:
  78587. + gl_FUNC_PRINTF_FREXPL
  78588. + # Code from module printf-safe:
  78589. + m4_divert_text([INIT_PREPARE], [gl_printf_safe=yes])
  78590. + # Code from module progname:
  78591. + AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>])
  78592. + AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include <errno.h>])
  78593. + # Code from module quotearg:
  78594. + gl_QUOTEARG
  78595. + # Code from module quotearg-simple:
  78596. + # Code from module rawmemchr:
  78597. + gl_FUNC_RAWMEMCHR
  78598. + gl_STRING_MODULE_INDICATOR([rawmemchr])
  78599. + # Code from module readlink:
  78600. + gl_FUNC_READLINK
  78601. + gl_UNISTD_MODULE_INDICATOR([readlink])
  78602. + # Code from module regex:
  78603. + gl_REGEX
  78604. + # Code from module rename:
  78605. + gl_FUNC_RENAME
  78606. + gl_STDIO_MODULE_INDICATOR([rename])
  78607. + # Code from module rmdir:
  78608. + gl_FUNC_RMDIR
  78609. + gl_UNISTD_MODULE_INDICATOR([rmdir])
  78610. + # Code from module same-inode:
  78611. + # Code from module sched:
  78612. + gl_SCHED_H
  78613. + # Code from module sigaction:
  78614. + gl_SIGACTION
  78615. + gl_SIGNAL_MODULE_INDICATOR([sigaction])
  78616. + # Code from module signal:
  78617. + gl_SIGNAL_H
  78618. + # Code from module signbit:
  78619. + gl_SIGNBIT
  78620. + gl_MATH_MODULE_INDICATOR([signbit])
  78621. + # Code from module sigprocmask:
  78622. + gl_SIGNALBLOCKING
  78623. + gl_SIGNAL_MODULE_INDICATOR([sigprocmask])
  78624. + # Code from module size_max:
  78625. + gl_SIZE_MAX
  78626. + # Code from module snprintf:
  78627. + gl_FUNC_SNPRINTF
  78628. + gl_STDIO_MODULE_INDICATOR([snprintf])
  78629. + gl_MODULE_INDICATOR([snprintf])
  78630. + # Code from module spawn:
  78631. + gl_SPAWN_H
  78632. + # Code from module spawn-pipe:
  78633. + gl_SPAWN_PIPE
  78634. + # Code from module ssize_t:
  78635. + gt_TYPE_SSIZE_T
  78636. + # Code from module stat:
  78637. + gl_FUNC_STAT
  78638. + gl_SYS_STAT_MODULE_INDICATOR([stat])
  78639. + # Code from module stdarg:
  78640. + gl_STDARG_H
  78641. + # Code from module stdbool:
  78642. + AM_STDBOOL_H
  78643. + # Code from module stddef:
  78644. + gl_STDDEF_H
  78645. + # Code from module stdint:
  78646. + gl_STDINT_H
  78647. + # Code from module stdio:
  78648. + gl_STDIO_H
  78649. + # Code from module stdlib:
  78650. + gl_STDLIB_H
  78651. + # Code from module stdlib-safer:
  78652. + gl_STDLIB_SAFER
  78653. + # Code from module strchrnul:
  78654. + gl_FUNC_STRCHRNUL
  78655. + gl_STRING_MODULE_INDICATOR([strchrnul])
  78656. + # Code from module streq:
  78657. + # Code from module strerror:
  78658. + gl_FUNC_STRERROR
  78659. + gl_STRING_MODULE_INDICATOR([strerror])
  78660. + # Code from module string:
  78661. + gl_HEADER_STRING_H
  78662. + # Code from module strndup:
  78663. + gl_FUNC_STRNDUP
  78664. + gl_STRING_MODULE_INDICATOR([strndup])
  78665. + # Code from module strnlen:
  78666. + gl_FUNC_STRNLEN
  78667. + gl_STRING_MODULE_INDICATOR([strnlen])
  78668. + # Code from module strsignal:
  78669. + gl_FUNC_STRSIGNAL
  78670. + gl_STRING_MODULE_INDICATOR([strsignal])
  78671. + # Code from module strstr:
  78672. + gl_FUNC_STRSTR
  78673. + # Code from module strstr-simple:
  78674. + gl_FUNC_STRSTR_SIMPLE
  78675. + gl_STRING_MODULE_INDICATOR([strstr])
  78676. + # Code from module strtod:
  78677. + gl_FUNC_STRTOD
  78678. + gl_STDLIB_MODULE_INDICATOR([strtod])
  78679. + # Code from module strtol:
  78680. + gl_FUNC_STRTOL
  78681. + # Code from module sys_stat:
  78682. + gl_HEADER_SYS_STAT_H
  78683. + AC_PROG_MKDIR_P
  78684. + # Code from module sys_time:
  78685. + gl_HEADER_SYS_TIME_H
  78686. + AC_PROG_MKDIR_P
  78687. + # Code from module sys_wait:
  78688. + gl_SYS_WAIT_H
  78689. + AC_PROG_MKDIR_P
  78690. + # Code from module tempname:
  78691. + gl_FUNC_GEN_TEMPNAME
  78692. + # Code from module threadlib:
  78693. + gl_THREADLIB
  78694. + # Code from module time:
  78695. + gl_HEADER_TIME_H
  78696. + # Code from module tls:
  78697. + gl_TLS
  78698. + # Code from module tmpdir:
  78699. + gt_TMPDIR
  78700. + # Code from module unistd:
  78701. + gl_UNISTD_H
  78702. + # Code from module unistd-safer:
  78703. + gl_UNISTD_SAFER
  78704. + # Code from module unlocked-io:
  78705. + gl_FUNC_GLIBC_UNLOCKED_IO
  78706. + # Code from module update-copyright:
  78707. + # Code from module useless-if-before-free:
  78708. + # Code from module vasnprintf:
  78709. + gl_FUNC_VASNPRINTF
  78710. + # Code from module vasprintf:
  78711. + gl_FUNC_VASPRINTF
  78712. + gl_STDIO_MODULE_INDICATOR([vasprintf])
  78713. + m4_ifdef([AM_XGETTEXT_OPTION],
  78714. + [AM_][XGETTEXT_OPTION([--flag=asprintf:2:c-format])
  78715. + AM_][XGETTEXT_OPTION([--flag=vasprintf:2:c-format])])
  78716. + # Code from module vasprintf-posix:
  78717. + gl_FUNC_VASPRINTF_POSIX
  78718. + # Code from module vc-list-files:
  78719. + # Code from module verify:
  78720. + # Code from module verror:
  78721. + m4_ifdef([AM_XGETTEXT_OPTION],
  78722. + [AM_][XGETTEXT_OPTION([--flag=verror:3:c-format])
  78723. + AM_][XGETTEXT_OPTION([--flag=verror_at_line:5:c-format])])
  78724. + # Code from module version-etc:
  78725. + gl_VERSION_ETC
  78726. + # Code from module version-etc-fsf:
  78727. + # Code from module wait-process:
  78728. + gl_WAIT_PROCESS
  78729. + # Code from module waitpid:
  78730. + gl_FUNC_WAITPID
  78731. + gl_SYS_WAIT_MODULE_INDICATOR([waitpid])
  78732. + # Code from module warn-on-use:
  78733. + # Code from module warnings:
  78734. + AC_SUBST([WARN_CFLAGS])
  78735. + # Code from module wchar:
  78736. + gl_WCHAR_H
  78737. + # Code from module wcrtomb:
  78738. + gl_FUNC_WCRTOMB
  78739. + gl_WCHAR_MODULE_INDICATOR([wcrtomb])
  78740. + # Code from module wctype-h:
  78741. + gl_WCTYPE_H
  78742. + # Code from module xalloc:
  78743. + gl_XALLOC
  78744. + # Code from module xalloc-die:
  78745. + # Code from module xlist:
  78746. + gl_LIST
  78747. + # Code from module xmalloca:
  78748. + # Code from module xoset:
  78749. + gl_LIST
  78750. + # Code from module xprintf:
  78751. + m4_ifdef([AM_XGETTEXT_OPTION],
  78752. + [AM_][XGETTEXT_OPTION([--flag=xprintf:1:c-format])
  78753. + AM_][XGETTEXT_OPTION([--flag=xvprintf:1:c-format])
  78754. + AM_][XGETTEXT_OPTION([--flag=xfprintf:2:c-format])
  78755. + AM_][XGETTEXT_OPTION([--flag=xvfprintf:2:c-format])])
  78756. + # Code from module xsize:
  78757. + gl_XSIZE
  78758. + # Code from module xstrndup:
  78759. + gl_XSTRNDUP
  78760. + # Code from module xvasprintf:
  78761. + gl_XVASPRINTF
  78762. + m4_ifdef([AM_XGETTEXT_OPTION],
  78763. + [AM_][XGETTEXT_OPTION([--flag=xasprintf:1:c-format])])
  78764. + # Code from module xvasprintf-posix:
  78765. + # End of code from modules
  78766. + m4_ifval(M4_LIBSOURCES_LIST, [
  78767. + m4_syscmd([test ! -d ]m4_defn([M4_LIBSOURCES_DIR])[ ||
  78768. + for gl_file in ]M4_LIBSOURCES_LIST[ ; do
  78769. + if test ! -r ]m4_defn([M4_LIBSOURCES_DIR])[/$gl_file ; then
  78770. + echo "missing file ]m4_defn([M4_LIBSOURCES_DIR])[/$gl_file" >&2
  78771. + exit 1
  78772. + fi
  78773. + done])dnl
  78774. + m4_if(m4_sysval, [0], [],
  78775. + [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
  78776. + ])
  78777. + m4_popdef([M4_LIBSOURCES_DIR])
  78778. + m4_popdef([M4_LIBSOURCES_LIST])
  78779. + m4_popdef([AC_LIBSOURCES])
  78780. + m4_popdef([AC_REPLACE_FUNCS])
  78781. + m4_popdef([AC_LIBOBJ])
  78782. + AC_CONFIG_COMMANDS_PRE([
  78783. + M4_libobjs=
  78784. + M4_ltlibobjs=
  78785. + if test -n "$M4_LIBOBJS"; then
  78786. + # Remove the extension.
  78787. + sed_drop_objext='s/\.o$//;s/\.obj$//'
  78788. + for i in `for i in $M4_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
  78789. + M4_libobjs="$M4_libobjs $i.$ac_objext"
  78790. + M4_ltlibobjs="$M4_ltlibobjs $i.lo"
  78791. + done
  78792. + fi
  78793. + AC_SUBST([M4_LIBOBJS], [$M4_libobjs])
  78794. + AC_SUBST([M4_LTLIBOBJS], [$M4_ltlibobjs])
  78795. + ])
  78796. + gltests_libdeps=
  78797. + gltests_ltlibdeps=
  78798. + m4_pushdef([AC_LIBOBJ], m4_defn([M4tests_LIBOBJ]))
  78799. + m4_pushdef([AC_REPLACE_FUNCS], m4_defn([M4tests_REPLACE_FUNCS]))
  78800. + m4_pushdef([AC_LIBSOURCES], m4_defn([M4tests_LIBSOURCES]))
  78801. + m4_pushdef([M4tests_LIBSOURCES_LIST], [])
  78802. + m4_pushdef([M4tests_LIBSOURCES_DIR], [])
  78803. + gl_COMMON
  78804. + gl_source_base='tests'
  78805. +changequote(,)dnl
  78806. + M4tests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
  78807. +changequote([, ])dnl
  78808. + AC_SUBST([M4tests_WITNESS])
  78809. + gl_module_indicator_condition=$M4tests_WITNESS
  78810. + m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
  78811. + gl_PROG_ANSI_CXX([CXX], [ANSICXX])
  78812. + gt_LOCALE_FR
  78813. + gt_LOCALE_FR_UTF8
  78814. + gt_LOCALE_FR
  78815. + gt_LOCALE_TR_UTF8
  78816. + gl_FUNC_UNGETC_WORKS
  78817. + gl_FUNC_FTELL
  78818. + gl_STDIO_MODULE_INDICATOR([ftell])
  78819. + gl_FUNC_UNGETC_WORKS
  78820. + gl_FUNC_UNGETC_WORKS
  78821. + gl_FUNC_GETPAGESIZE
  78822. + gl_UNISTD_MODULE_INDICATOR([getpagesize])
  78823. + gl_DOUBLE_EXPONENT_LOCATION
  78824. + gl_FLOAT_EXPONENT_LOCATION
  78825. + gl_LONG_DOUBLE_EXPONENT_LOCATION
  78826. + gl_FUNC_LINK
  78827. + gl_UNISTD_MODULE_INDICATOR([link])
  78828. + gl_LOCALE_H
  78829. + AC_CHECK_FUNCS_ONCE([newlocale])
  78830. + gl_LOCALENAME
  78831. + AC_CHECK_FUNCS_ONCE([newlocale])
  78832. + gt_LOCALE_FR
  78833. + gt_LOCALE_FR_UTF8
  78834. + gt_LOCALE_JA
  78835. + gt_LOCALE_ZH_CN
  78836. + gt_LOCALE_FR_UTF8
  78837. + dnl Check for prerequisites for memory fence checks.
  78838. + gl_FUNC_MMAP_ANON
  78839. + AC_CHECK_HEADERS_ONCE([sys/mman.h])
  78840. + AC_CHECK_FUNCS_ONCE([mprotect])
  78841. + gl_FUNC_MMAP_ANON
  78842. + AC_CHECK_HEADERS_ONCE([sys/mman.h])
  78843. + AC_CHECK_FUNCS_ONCE([mprotect])
  78844. + gt_LOCALE_FR
  78845. + gt_LOCALE_FR_UTF8
  78846. + AC_EGREP_CPP([notposix], [[
  78847. + #if defined _MSC_VER || defined __MINGW32__
  78848. + notposix
  78849. + #endif
  78850. + ]],
  78851. + [posix_spawn_ported=no],
  78852. + [posix_spawn_ported=yes])
  78853. + AM_CONDITIONAL([POSIX_SPAWN_PORTED], [test $posix_spawn_ported = yes])
  78854. + gl_FUNC_PUTENV
  78855. + gl_STDLIB_MODULE_INDICATOR([putenv])
  78856. + dnl Check for prerequisites for memory fence checks.
  78857. + gl_FUNC_MMAP_ANON
  78858. + AC_CHECK_HEADERS_ONCE([sys/mman.h])
  78859. + AC_CHECK_FUNCS_ONCE([mprotect])
  78860. + gl_FUNC_SETENV
  78861. + gl_STDLIB_MODULE_INDICATOR([setenv])
  78862. + gl_FUNC_SETLOCALE
  78863. + gl_LOCALE_MODULE_INDICATOR([setlocale])
  78864. + gt_LOCALE_FR
  78865. + gt_LOCALE_FR_UTF8
  78866. + gt_LOCALE_JA
  78867. + gt_LOCALE_ZH_CN
  78868. + AC_REQUIRE([gl_FLOAT_EXPONENT_LOCATION])
  78869. + AC_REQUIRE([gl_DOUBLE_EXPONENT_LOCATION])
  78870. + AC_REQUIRE([gl_LONG_DOUBLE_EXPONENT_LOCATION])
  78871. + gt_TYPE_WCHAR_T
  78872. + gt_TYPE_WINT_T
  78873. + gl_FUNC_STRDUP_POSIX
  78874. + gl_STRING_MODULE_INDICATOR([strdup])
  78875. + dnl Check for prerequisites for memory fence checks.
  78876. + gl_FUNC_MMAP_ANON
  78877. + AC_CHECK_HEADERS_ONCE([sys/mman.h])
  78878. + AC_CHECK_FUNCS_ONCE([mprotect])
  78879. + AC_CHECK_DECLS_ONCE([alarm])
  78880. + gl_FUNC_MMAP_ANON
  78881. + AC_CHECK_HEADERS_ONCE([sys/mman.h])
  78882. + AC_CHECK_FUNCS_ONCE([mprotect])
  78883. + gl_FUNC_SYMLINK
  78884. + gl_UNISTD_MODULE_INDICATOR([symlink])
  78885. + gl_FUNC_UNSETENV
  78886. + gl_STDLIB_MODULE_INDICATOR([unsetenv])
  78887. + abs_aux_dir=`cd "$ac_aux_dir"; pwd`
  78888. + AC_SUBST([abs_aux_dir])
  78889. + abs_aux_dir=`cd "$ac_aux_dir"; pwd`
  78890. + AC_SUBST([abs_aux_dir])
  78891. + gt_LOCALE_FR
  78892. + gt_LOCALE_FR_UTF8
  78893. + gt_LOCALE_JA
  78894. + gt_LOCALE_ZH_CN
  78895. + gl_FUNC_WCTOB
  78896. + gl_WCHAR_MODULE_INDICATOR([wctob])
  78897. + gl_FUNC_WCTOMB
  78898. + gl_STDLIB_MODULE_INDICATOR([wctomb])
  78899. + m4_popdef([gl_MODULE_INDICATOR_CONDITION])
  78900. + m4_ifval(M4tests_LIBSOURCES_LIST, [
  78901. + m4_syscmd([test ! -d ]m4_defn([M4tests_LIBSOURCES_DIR])[ ||
  78902. + for gl_file in ]M4tests_LIBSOURCES_LIST[ ; do
  78903. + if test ! -r ]m4_defn([M4tests_LIBSOURCES_DIR])[/$gl_file ; then
  78904. + echo "missing file ]m4_defn([M4tests_LIBSOURCES_DIR])[/$gl_file" >&2
  78905. + exit 1
  78906. + fi
  78907. + done])dnl
  78908. + m4_if(m4_sysval, [0], [],
  78909. + [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
  78910. + ])
  78911. + m4_popdef([M4tests_LIBSOURCES_DIR])
  78912. + m4_popdef([M4tests_LIBSOURCES_LIST])
  78913. + m4_popdef([AC_LIBSOURCES])
  78914. + m4_popdef([AC_REPLACE_FUNCS])
  78915. + m4_popdef([AC_LIBOBJ])
  78916. + AC_CONFIG_COMMANDS_PRE([
  78917. + M4tests_libobjs=
  78918. + M4tests_ltlibobjs=
  78919. + if test -n "$M4tests_LIBOBJS"; then
  78920. + # Remove the extension.
  78921. + sed_drop_objext='s/\.o$//;s/\.obj$//'
  78922. + for i in `for i in $M4tests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
  78923. + M4tests_libobjs="$M4tests_libobjs $i.$ac_objext"
  78924. + M4tests_ltlibobjs="$M4tests_ltlibobjs $i.lo"
  78925. + done
  78926. + fi
  78927. + AC_SUBST([M4tests_LIBOBJS], [$M4tests_libobjs])
  78928. + AC_SUBST([M4tests_LTLIBOBJS], [$M4tests_ltlibobjs])
  78929. + ])
  78930. + LIBM4_LIBDEPS="$gl_libdeps"
  78931. + AC_SUBST([LIBM4_LIBDEPS])
  78932. + LIBM4_LTLIBDEPS="$gl_ltlibdeps"
  78933. + AC_SUBST([LIBM4_LTLIBDEPS])
  78934. + LIBTESTS_LIBDEPS="$gltests_libdeps"
  78935. + AC_SUBST([LIBTESTS_LIBDEPS])
  78936. +])
  78937. +m4trace:m4/gnulib-comp.m4:1052: -1- AC_DEFUN([M4_LIBOBJ], [
  78938. + AS_LITERAL_IF([$1], [M4_LIBSOURCES([$1.c])])dnl
  78939. + M4_LIBOBJS="$M4_LIBOBJS $1.$ac_objext"
  78940. +])
  78941. +m4trace:m4/gnulib-comp.m4:1059: -1- AC_DEFUN([M4_REPLACE_FUNCS], [
  78942. + m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
  78943. + AC_CHECK_FUNCS([$1], , [M4_LIBOBJ($ac_func)])
  78944. +])
  78945. +m4trace:m4/gnulib-comp.m4:1068: -1- AC_DEFUN([M4_LIBSOURCES], [
  78946. + m4_foreach([_gl_NAME], [$1], [
  78947. + m4_if(_gl_NAME, [alloca.c], [], [
  78948. + m4_define([M4_LIBSOURCES_DIR], [lib])
  78949. + m4_append([M4_LIBSOURCES_LIST], _gl_NAME, [ ])
  78950. + ])
  78951. + ])
  78952. +])
  78953. +m4trace:m4/gnulib-comp.m4:1079: -1- AC_DEFUN([M4tests_LIBOBJ], [
  78954. + AS_LITERAL_IF([$1], [M4tests_LIBSOURCES([$1.c])])dnl
  78955. + M4tests_LIBOBJS="$M4tests_LIBOBJS $1.$ac_objext"
  78956. +])
  78957. +m4trace:m4/gnulib-comp.m4:1086: -1- AC_DEFUN([M4tests_REPLACE_FUNCS], [
  78958. + m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
  78959. + AC_CHECK_FUNCS([$1], , [M4tests_LIBOBJ($ac_func)])
  78960. +])
  78961. +m4trace:m4/gnulib-comp.m4:1095: -1- AC_DEFUN([M4tests_LIBSOURCES], [
  78962. + m4_foreach([_gl_NAME], [$1], [
  78963. + m4_if(_gl_NAME, [alloca.c], [], [
  78964. + m4_define([M4tests_LIBSOURCES_DIR], [tests])
  78965. + m4_append([M4tests_LIBSOURCES_LIST], _gl_NAME, [ ])
  78966. + ])
  78967. + ])
  78968. +])
  78969. +m4trace:m4/gnulib-comp.m4:1106: -1- AC_DEFUN([M4_FILE_LIST], [
  78970. + build-aux/announce-gen
  78971. + build-aux/arg-nonnull.h
  78972. + build-aux/c++defs.h
  78973. + build-aux/config.rpath
  78974. + build-aux/gendocs.sh
  78975. + build-aux/git-version-gen
  78976. + build-aux/gnu-web-doc-update
  78977. + build-aux/gnupload
  78978. + build-aux/update-copyright
  78979. + build-aux/useless-if-before-free
  78980. + build-aux/vc-list-files
  78981. + build-aux/warn-on-use.h
  78982. + doc/fdl-1.3.texi
  78983. + doc/gendocs_template
  78984. + doc/gpl-3.0.texi
  78985. + lib/alloca.in.h
  78986. + lib/asnprintf.c
  78987. + lib/asprintf.c
  78988. + lib/basename-lgpl.c
  78989. + lib/basename.c
  78990. + lib/binary-io.h
  78991. + lib/btowc.c
  78992. + lib/c-ctype.c
  78993. + lib/c-ctype.h
  78994. + lib/c-stack.c
  78995. + lib/c-stack.h
  78996. + lib/canonicalize-lgpl.c
  78997. + lib/clean-temp.c
  78998. + lib/clean-temp.h
  78999. + lib/cloexec.c
  79000. + lib/cloexec.h
  79001. + lib/close-hook.c
  79002. + lib/close-hook.h
  79003. + lib/close-stream.c
  79004. + lib/close-stream.h
  79005. + lib/close.c
  79006. + lib/closein.c
  79007. + lib/closein.h
  79008. + lib/closeout.c
  79009. + lib/closeout.h
  79010. + lib/config.charset
  79011. + lib/dirname-lgpl.c
  79012. + lib/dirname.c
  79013. + lib/dirname.h
  79014. + lib/dosname.h
  79015. + lib/dup-safer-flag.c
  79016. + lib/dup-safer.c
  79017. + lib/dup2.c
  79018. + lib/errno.in.h
  79019. + lib/error.c
  79020. + lib/error.h
  79021. + lib/execute.c
  79022. + lib/execute.h
  79023. + lib/exitfail.c
  79024. + lib/exitfail.h
  79025. + lib/fatal-signal.c
  79026. + lib/fatal-signal.h
  79027. + lib/fclose.c
  79028. + lib/fcntl.c
  79029. + lib/fcntl.in.h
  79030. + lib/fd-safer-flag.c
  79031. + lib/fd-safer.c
  79032. + lib/fflush.c
  79033. + lib/filenamecat-lgpl.c
  79034. + lib/filenamecat.c
  79035. + lib/filenamecat.h
  79036. + lib/float+.h
  79037. + lib/float.in.h
  79038. + lib/fopen-safer.c
  79039. + lib/fopen.c
  79040. + lib/fpending.c
  79041. + lib/fpending.h
  79042. + lib/fpucw.h
  79043. + lib/fpurge.c
  79044. + lib/freadahead.c
  79045. + lib/freadahead.h
  79046. + lib/freading.c
  79047. + lib/freading.h
  79048. + lib/frexp.c
  79049. + lib/frexpl.c
  79050. + lib/fseeko.c
  79051. + lib/ftello.c
  79052. + lib/getdtablesize.c
  79053. + lib/getopt.c
  79054. + lib/getopt.in.h
  79055. + lib/getopt1.c
  79056. + lib/getopt_int.h
  79057. + lib/gettext.h
  79058. + lib/gettimeofday.c
  79059. + lib/gl_anyhash_list1.h
  79060. + lib/gl_anyhash_list2.h
  79061. + lib/gl_anylinked_list1.h
  79062. + lib/gl_anylinked_list2.h
  79063. + lib/gl_anytree_oset.h
  79064. + lib/gl_avltree_oset.c
  79065. + lib/gl_avltree_oset.h
  79066. + lib/gl_linkedhash_list.c
  79067. + lib/gl_linkedhash_list.h
  79068. + lib/gl_list.c
  79069. + lib/gl_list.h
  79070. + lib/gl_oset.c
  79071. + lib/gl_oset.h
  79072. + lib/gl_xlist.c
  79073. + lib/gl_xlist.h
  79074. + lib/gl_xoset.c
  79075. + lib/gl_xoset.h
  79076. + lib/glthread/lock.c
  79077. + lib/glthread/lock.h
  79078. + lib/glthread/threadlib.c
  79079. + lib/glthread/tls.c
  79080. + lib/glthread/tls.h
  79081. + lib/ignore-value.h
  79082. + lib/intprops.h
  79083. + lib/isnan.c
  79084. + lib/isnand-nolibm.h
  79085. + lib/isnand.c
  79086. + lib/isnanf-nolibm.h
  79087. + lib/isnanf.c
  79088. + lib/isnanl-nolibm.h
  79089. + lib/isnanl.c
  79090. + lib/langinfo.in.h
  79091. + lib/localcharset.c
  79092. + lib/localcharset.h
  79093. + lib/lseek.c
  79094. + lib/lstat.c
  79095. + lib/malloc.c
  79096. + lib/malloca.c
  79097. + lib/malloca.h
  79098. + lib/malloca.valgrind
  79099. + lib/math.in.h
  79100. + lib/mbrtowc.c
  79101. + lib/mbsinit.c
  79102. + lib/mbtowc-impl.h
  79103. + lib/mbtowc.c
  79104. + lib/memchr.c
  79105. + lib/memchr.valgrind
  79106. + lib/memchr2.c
  79107. + lib/memchr2.h
  79108. + lib/memchr2.valgrind
  79109. + lib/mkdtemp.c
  79110. + lib/mkstemp-safer.c
  79111. + lib/mkstemp.c
  79112. + lib/nl_langinfo.c
  79113. + lib/obstack.c
  79114. + lib/obstack.h
  79115. + lib/open.c
  79116. + lib/pathmax.h
  79117. + lib/pipe-safer.c
  79118. + lib/pipe2-safer.c
  79119. + lib/pipe2.c
  79120. + lib/printf-args.c
  79121. + lib/printf-args.h
  79122. + lib/printf-frexp.c
  79123. + lib/printf-frexp.h
  79124. + lib/printf-frexpl.c
  79125. + lib/printf-frexpl.h
  79126. + lib/printf-parse.c
  79127. + lib/printf-parse.h
  79128. + lib/progname.c
  79129. + lib/progname.h
  79130. + lib/quotearg.c
  79131. + lib/quotearg.h
  79132. + lib/rawmemchr.c
  79133. + lib/rawmemchr.valgrind
  79134. + lib/readlink.c
  79135. + lib/ref-add.sin
  79136. + lib/ref-del.sin
  79137. + lib/regcomp.c
  79138. + lib/regex.c
  79139. + lib/regex.h
  79140. + lib/regex_internal.c
  79141. + lib/regex_internal.h
  79142. + lib/regexec.c
  79143. + lib/rename.c
  79144. + lib/rmdir.c
  79145. + lib/same-inode.h
  79146. + lib/sched.in.h
  79147. + lib/sig-handler.h
  79148. + lib/sigaction.c
  79149. + lib/siglist.h
  79150. + lib/signal.in.h
  79151. + lib/signbitd.c
  79152. + lib/signbitf.c
  79153. + lib/signbitl.c
  79154. + lib/sigprocmask.c
  79155. + lib/size_max.h
  79156. + lib/snprintf.c
  79157. + lib/spawn-pipe.c
  79158. + lib/spawn-pipe.h
  79159. + lib/spawn.in.h
  79160. + lib/spawn_faction_addclose.c
  79161. + lib/spawn_faction_adddup2.c
  79162. + lib/spawn_faction_addopen.c
  79163. + lib/spawn_faction_destroy.c
  79164. + lib/spawn_faction_init.c
  79165. + lib/spawn_int.h
  79166. + lib/spawnattr_destroy.c
  79167. + lib/spawnattr_init.c
  79168. + lib/spawnattr_setflags.c
  79169. + lib/spawnattr_setsigmask.c
  79170. + lib/spawni.c
  79171. + lib/spawnp.c
  79172. + lib/stat.c
  79173. + lib/stdarg.in.h
  79174. + lib/stdbool.in.h
  79175. + lib/stddef.in.h
  79176. + lib/stdint.in.h
  79177. + lib/stdio--.h
  79178. + lib/stdio-impl.h
  79179. + lib/stdio-safer.h
  79180. + lib/stdio.in.h
  79181. + lib/stdlib--.h
  79182. + lib/stdlib-safer.h
  79183. + lib/stdlib.in.h
  79184. + lib/str-two-way.h
  79185. + lib/strchrnul.c
  79186. + lib/strchrnul.valgrind
  79187. + lib/streq.h
  79188. + lib/strerror.c
  79189. + lib/string.in.h
  79190. + lib/stripslash.c
  79191. + lib/strndup.c
  79192. + lib/strnlen.c
  79193. + lib/strsignal.c
  79194. + lib/strstr.c
  79195. + lib/strtod.c
  79196. + lib/strtol.c
  79197. + lib/sys_stat.in.h
  79198. + lib/sys_time.in.h
  79199. + lib/sys_wait.in.h
  79200. + lib/tempname.c
  79201. + lib/tempname.h
  79202. + lib/time.in.h
  79203. + lib/tmpdir.c
  79204. + lib/tmpdir.h
  79205. + lib/unistd--.h
  79206. + lib/unistd-safer.h
  79207. + lib/unistd.in.h
  79208. + lib/unlocked-io.h
  79209. + lib/vasnprintf.c
  79210. + lib/vasnprintf.h
  79211. + lib/vasprintf.c
  79212. + lib/verify.h
  79213. + lib/verror.c
  79214. + lib/verror.h
  79215. + lib/version-etc-fsf.c
  79216. + lib/version-etc.c
  79217. + lib/version-etc.h
  79218. + lib/w32spawn.h
  79219. + lib/wait-process.c
  79220. + lib/wait-process.h
  79221. + lib/waitpid.c
  79222. + lib/wchar.in.h
  79223. + lib/wcrtomb.c
  79224. + lib/wctype.in.h
  79225. + lib/xalloc-die.c
  79226. + lib/xalloc.h
  79227. + lib/xasprintf.c
  79228. + lib/xmalloc.c
  79229. + lib/xmalloca.c
  79230. + lib/xmalloca.h
  79231. + lib/xprintf.c
  79232. + lib/xprintf.h
  79233. + lib/xsize.h
  79234. + lib/xstrndup.c
  79235. + lib/xstrndup.h
  79236. + lib/xvasprintf.c
  79237. + lib/xvasprintf.h
  79238. + m4/00gnulib.m4
  79239. + m4/alloca.m4
  79240. + m4/ansi-c++.m4
  79241. + m4/assert.m4
  79242. + m4/autobuild.m4
  79243. + m4/btowc.m4
  79244. + m4/c-stack.m4
  79245. + m4/canonicalize.m4
  79246. + m4/cloexec.m4
  79247. + m4/close-stream.m4
  79248. + m4/close.m4
  79249. + m4/closein.m4
  79250. + m4/closeout.m4
  79251. + m4/codeset.m4
  79252. + m4/config-h.m4
  79253. + m4/configmake.m4
  79254. + m4/dirname.m4
  79255. + m4/double-slash-root.m4
  79256. + m4/dup2.m4
  79257. + m4/eealloc.m4
  79258. + m4/environ.m4
  79259. + m4/errno_h.m4
  79260. + m4/error.m4
  79261. + m4/execute.m4
  79262. + m4/exponentd.m4
  79263. + m4/exponentf.m4
  79264. + m4/exponentl.m4
  79265. + m4/extensions.m4
  79266. + m4/fatal-signal.m4
  79267. + m4/fclose.m4
  79268. + m4/fcntl-o.m4
  79269. + m4/fcntl.m4
  79270. + m4/fcntl_h.m4
  79271. + m4/fflush.m4
  79272. + m4/filenamecat.m4
  79273. + m4/float_h.m4
  79274. + m4/fopen.m4
  79275. + m4/fpending.m4
  79276. + m4/fpieee.m4
  79277. + m4/fpurge.m4
  79278. + m4/freading.m4
  79279. + m4/frexp.m4
  79280. + m4/frexpl.m4
  79281. + m4/fseeko.m4
  79282. + m4/ftell.m4
  79283. + m4/ftello.m4
  79284. + m4/getdtablesize.m4
  79285. + m4/getopt.m4
  79286. + m4/getpagesize.m4
  79287. + m4/gettimeofday.m4
  79288. + m4/gl_list.m4
  79289. + m4/glibc21.m4
  79290. + m4/gnulib-common.m4
  79291. + m4/include_next.m4
  79292. + m4/inline.m4
  79293. + m4/intlmacosx.m4
  79294. + m4/intmax_t.m4
  79295. + m4/inttypes_h.m4
  79296. + m4/isnand.m4
  79297. + m4/isnanf.m4
  79298. + m4/isnanl.m4
  79299. + m4/langinfo_h.m4
  79300. + m4/lcmessage.m4
  79301. + m4/ldexp.m4
  79302. + m4/ldexpl.m4
  79303. + m4/lib-ld.m4
  79304. + m4/lib-link.m4
  79305. + m4/lib-prefix.m4
  79306. + m4/libsigsegv.m4
  79307. + m4/link.m4
  79308. + m4/localcharset.m4
  79309. + m4/locale-fr.m4
  79310. + m4/locale-ja.m4
  79311. + m4/locale-tr.m4
  79312. + m4/locale-zh.m4
  79313. + m4/locale_h.m4
  79314. + m4/localename.m4
  79315. + m4/lock.m4
  79316. + m4/longlong.m4
  79317. + m4/lseek.m4
  79318. + m4/lstat.m4
  79319. + m4/malloc.m4
  79320. + m4/malloca.m4
  79321. + m4/manywarnings.m4
  79322. + m4/math_h.m4
  79323. + m4/mbrtowc.m4
  79324. + m4/mbsinit.m4
  79325. + m4/mbstate_t.m4
  79326. + m4/mbtowc.m4
  79327. + m4/memchr.m4
  79328. + m4/mkdtemp.m4
  79329. + m4/mkstemp.m4
  79330. + m4/mmap-anon.m4
  79331. + m4/mode_t.m4
  79332. + m4/multiarch.m4
  79333. + m4/nl_langinfo.m4
  79334. + m4/nocrash.m4
  79335. + m4/open.m4
  79336. + m4/pathmax.m4
  79337. + m4/pipe2.m4
  79338. + m4/posix_spawn.m4
  79339. + m4/printf-frexp.m4
  79340. + m4/printf-frexpl.m4
  79341. + m4/printf.m4
  79342. + m4/putenv.m4
  79343. + m4/quotearg.m4
  79344. + m4/rawmemchr.m4
  79345. + m4/readlink.m4
  79346. + m4/regex.m4
  79347. + m4/rename.m4
  79348. + m4/rmdir.m4
  79349. + m4/sched_h.m4
  79350. + m4/setenv.m4
  79351. + m4/setlocale.m4
  79352. + m4/sig_atomic_t.m4
  79353. + m4/sigaction.m4
  79354. + m4/signal_h.m4
  79355. + m4/signalblocking.m4
  79356. + m4/signbit.m4
  79357. + m4/size_max.m4
  79358. + m4/snprintf.m4
  79359. + m4/spawn-pipe.m4
  79360. + m4/spawn_h.m4
  79361. + m4/ssize_t.m4
  79362. + m4/stat.m4
  79363. + m4/stdarg.m4
  79364. + m4/stdbool.m4
  79365. + m4/stddef_h.m4
  79366. + m4/stdint.m4
  79367. + m4/stdint_h.m4
  79368. + m4/stdio-safer.m4
  79369. + m4/stdio_h.m4
  79370. + m4/stdlib-safer.m4
  79371. + m4/stdlib_h.m4
  79372. + m4/strchrnul.m4
  79373. + m4/strdup.m4
  79374. + m4/strerror.m4
  79375. + m4/string_h.m4
  79376. + m4/strndup.m4
  79377. + m4/strnlen.m4
  79378. + m4/strsignal.m4
  79379. + m4/strstr.m4
  79380. + m4/strtod.m4
  79381. + m4/strtol.m4
  79382. + m4/symlink.m4
  79383. + m4/sys_stat_h.m4
  79384. + m4/sys_time_h.m4
  79385. + m4/sys_wait_h.m4
  79386. + m4/tempname.m4
  79387. + m4/threadlib.m4
  79388. + m4/time_h.m4
  79389. + m4/tls.m4
  79390. + m4/tmpdir.m4
  79391. + m4/ungetc.m4
  79392. + m4/unistd-safer.m4
  79393. + m4/unistd_h.m4
  79394. + m4/unlocked-io.m4
  79395. + m4/vasnprintf.m4
  79396. + m4/vasprintf-posix.m4
  79397. + m4/vasprintf.m4
  79398. + m4/version-etc.m4
  79399. + m4/wait-process.m4
  79400. + m4/waitpid.m4
  79401. + m4/warn-on-use.m4
  79402. + m4/warnings.m4
  79403. + m4/wchar_h.m4
  79404. + m4/wchar_t.m4
  79405. + m4/wcrtomb.m4
  79406. + m4/wctob.m4
  79407. + m4/wctomb.m4
  79408. + m4/wctype_h.m4
  79409. + m4/wint_t.m4
  79410. + m4/xalloc.m4
  79411. + m4/xsize.m4
  79412. + m4/xstrndup.m4
  79413. + m4/xvasprintf.m4
  79414. + tests/init.sh
  79415. + tests/macros.h
  79416. + tests/minus-zero.h
  79417. + tests/nan.h
  79418. + tests/signature.h
  79419. + tests/test-alloca-opt.c
  79420. + tests/test-array_list.c
  79421. + tests/test-array_oset.c
  79422. + tests/test-avltree_oset.c
  79423. + tests/test-binary-io.c
  79424. + tests/test-binary-io.sh
  79425. + tests/test-btowc.c
  79426. + tests/test-btowc1.sh
  79427. + tests/test-btowc2.sh
  79428. + tests/test-c-ctype.c
  79429. + tests/test-c-stack.c
  79430. + tests/test-c-stack.sh
  79431. + tests/test-c-stack2.sh
  79432. + tests/test-c-strcase.sh
  79433. + tests/test-c-strcasecmp.c
  79434. + tests/test-c-strncasecmp.c
  79435. + tests/test-canonicalize-lgpl.c
  79436. + tests/test-cloexec.c
  79437. + tests/test-closein.c
  79438. + tests/test-closein.sh
  79439. + tests/test-dirname.c
  79440. + tests/test-dup-safer.c
  79441. + tests/test-dup2.c
  79442. + tests/test-environ.c
  79443. + tests/test-errno.c
  79444. + tests/test-fcntl-h-c++.cc
  79445. + tests/test-fcntl-h.c
  79446. + tests/test-fcntl.c
  79447. + tests/test-fflush.c
  79448. + tests/test-fflush2.c
  79449. + tests/test-fflush2.sh
  79450. + tests/test-filenamecat.c
  79451. + tests/test-fopen-safer.c
  79452. + tests/test-fopen.c
  79453. + tests/test-fopen.h
  79454. + tests/test-fpending.c
  79455. + tests/test-fpending.sh
  79456. + tests/test-fpurge.c
  79457. + tests/test-freadahead.c
  79458. + tests/test-freadahead.sh
  79459. + tests/test-freading.c
  79460. + tests/test-frexp.c
  79461. + tests/test-frexpl.c
  79462. + tests/test-fseeko.c
  79463. + tests/test-fseeko.sh
  79464. + tests/test-fseeko2.sh
  79465. + tests/test-ftell.c
  79466. + tests/test-ftell.sh
  79467. + tests/test-ftell2.sh
  79468. + tests/test-ftell3.c
  79469. + tests/test-ftello.c
  79470. + tests/test-ftello.sh
  79471. + tests/test-ftello2.sh
  79472. + tests/test-ftello3.c
  79473. + tests/test-getdtablesize.c
  79474. + tests/test-getopt.c
  79475. + tests/test-getopt.h
  79476. + tests/test-getopt_long.h
  79477. + tests/test-gettimeofday.c
  79478. + tests/test-ignore-value.c
  79479. + tests/test-isnand-nolibm.c
  79480. + tests/test-isnand.h
  79481. + tests/test-isnanf-nolibm.c
  79482. + tests/test-isnanf.h
  79483. + tests/test-isnanl-nolibm.c
  79484. + tests/test-isnanl.h
  79485. + tests/test-langinfo-c++.cc
  79486. + tests/test-langinfo.c
  79487. + tests/test-link.c
  79488. + tests/test-link.h
  79489. + tests/test-linkedhash_list.c
  79490. + tests/test-locale-c++.cc
  79491. + tests/test-locale-c++2.cc
  79492. + tests/test-locale.c
  79493. + tests/test-localename.c
  79494. + tests/test-lseek.c
  79495. + tests/test-lseek.sh
  79496. + tests/test-lstat.c
  79497. + tests/test-lstat.h
  79498. + tests/test-malloc-gnu.c
  79499. + tests/test-malloca.c
  79500. + tests/test-math-c++.cc
  79501. + tests/test-math-c++2.cc
  79502. + tests/test-math.c
  79503. + tests/test-mbrtowc-w32-1.sh
  79504. + tests/test-mbrtowc-w32-2.sh
  79505. + tests/test-mbrtowc-w32-3.sh
  79506. + tests/test-mbrtowc-w32-4.sh
  79507. + tests/test-mbrtowc-w32-5.sh
  79508. + tests/test-mbrtowc-w32.c
  79509. + tests/test-mbrtowc.c
  79510. + tests/test-mbrtowc1.sh
  79511. + tests/test-mbrtowc2.sh
  79512. + tests/test-mbrtowc3.sh
  79513. + tests/test-mbrtowc4.sh
  79514. + tests/test-mbsinit.c
  79515. + tests/test-mbsinit.sh
  79516. + tests/test-memchr.c
  79517. + tests/test-memchr2.c
  79518. + tests/test-nl_langinfo.c
  79519. + tests/test-nl_langinfo.sh
  79520. + tests/test-open.c
  79521. + tests/test-open.h
  79522. + tests/test-pipe2.c
  79523. + tests/test-posix_spawn1.c
  79524. + tests/test-posix_spawn1.in.sh
  79525. + tests/test-posix_spawn2.c
  79526. + tests/test-posix_spawn2.in.sh
  79527. + tests/test-printf-frexp.c
  79528. + tests/test-printf-frexpl.c
  79529. + tests/test-quotearg-simple.c
  79530. + tests/test-quotearg.h
  79531. + tests/test-rawmemchr.c
  79532. + tests/test-readlink.c
  79533. + tests/test-readlink.h
  79534. + tests/test-rename.c
  79535. + tests/test-rename.h
  79536. + tests/test-rmdir.c
  79537. + tests/test-rmdir.h
  79538. + tests/test-sched.c
  79539. + tests/test-setenv.c
  79540. + tests/test-setlocale1.c
  79541. + tests/test-setlocale1.sh
  79542. + tests/test-setlocale2.c
  79543. + tests/test-setlocale2.sh
  79544. + tests/test-sigaction.c
  79545. + tests/test-signal-c++.cc
  79546. + tests/test-signal-c++2.cc
  79547. + tests/test-signal.c
  79548. + tests/test-signbit.c
  79549. + tests/test-snprintf.c
  79550. + tests/test-spawn-c++.cc
  79551. + tests/test-spawn-pipe.c
  79552. + tests/test-spawn-pipe.sh
  79553. + tests/test-spawn.c
  79554. + tests/test-stat.c
  79555. + tests/test-stat.h
  79556. + tests/test-stdbool.c
  79557. + tests/test-stddef.c
  79558. + tests/test-stdint.c
  79559. + tests/test-stdio-c++.cc
  79560. + tests/test-stdio-c++2.cc
  79561. + tests/test-stdio.c
  79562. + tests/test-stdlib-c++.cc
  79563. + tests/test-stdlib-c++2.cc
  79564. + tests/test-stdlib.c
  79565. + tests/test-strchrnul.c
  79566. + tests/test-strerror.c
  79567. + tests/test-string-c++.cc
  79568. + tests/test-string-c++2.cc
  79569. + tests/test-string.c
  79570. + tests/test-strnlen.c
  79571. + tests/test-strsignal.c
  79572. + tests/test-strstr.c
  79573. + tests/test-strtod.c
  79574. + tests/test-symlink.c
  79575. + tests/test-symlink.h
  79576. + tests/test-sys_stat-c++.cc
  79577. + tests/test-sys_stat.c
  79578. + tests/test-sys_time-c++.cc
  79579. + tests/test-sys_time.c
  79580. + tests/test-sys_wait-c++.cc
  79581. + tests/test-sys_wait.c
  79582. + tests/test-sys_wait.h
  79583. + tests/test-time-c++.cc
  79584. + tests/test-time-c++2.cc
  79585. + tests/test-time.c
  79586. + tests/test-unistd-c++.cc
  79587. + tests/test-unistd.c
  79588. + tests/test-unsetenv.c
  79589. + tests/test-update-copyright.sh
  79590. + tests/test-vasnprintf.c
  79591. + tests/test-vasprintf-posix.c
  79592. + tests/test-vasprintf.c
  79593. + tests/test-vc-list-files-cvs.sh
  79594. + tests/test-vc-list-files-git.sh
  79595. + tests/test-verify.c
  79596. + tests/test-verify.sh
  79597. + tests/test-version-etc.c
  79598. + tests/test-version-etc.sh
  79599. + tests/test-wchar-c++.cc
  79600. + tests/test-wchar.c
  79601. + tests/test-wcrtomb-w32-1.sh
  79602. + tests/test-wcrtomb-w32-2.sh
  79603. + tests/test-wcrtomb-w32-3.sh
  79604. + tests/test-wcrtomb-w32-4.sh
  79605. + tests/test-wcrtomb-w32-5.sh
  79606. + tests/test-wcrtomb-w32.c
  79607. + tests/test-wcrtomb.c
  79608. + tests/test-wcrtomb.sh
  79609. + tests/test-wctype-h-c++.cc
  79610. + tests/test-wctype-h.c
  79611. + tests/test-xalloc-die.c
  79612. + tests/test-xalloc-die.sh
  79613. + tests/test-xvasprintf.c
  79614. + tests/zerosize-ptr.h
  79615. + tests=lib/c-strcase.h
  79616. + tests=lib/c-strcasecmp.c
  79617. + tests=lib/c-strncasecmp.c
  79618. + tests=lib/ftell.c
  79619. + tests=lib/getpagesize.c
  79620. + tests=lib/gl_array_list.c
  79621. + tests=lib/gl_array_list.h
  79622. + tests=lib/gl_array_oset.c
  79623. + tests=lib/gl_array_oset.h
  79624. + tests=lib/link.c
  79625. + tests=lib/locale.in.h
  79626. + tests=lib/localename.c
  79627. + tests=lib/localename.h
  79628. + tests=lib/putenv.c
  79629. + tests=lib/setenv.c
  79630. + tests=lib/setlocale.c
  79631. + tests=lib/strdup.c
  79632. + tests=lib/symlink.c
  79633. + tests=lib/unsetenv.c
  79634. + tests=lib/wctob.c
  79635. + tests=lib/wctomb-impl.h
  79636. + tests=lib/wctomb.c
  79637. + top/GNUmakefile
  79638. + top/maint.mk
  79639. +])
  79640. +m4trace:m4/include_next.m4:35: -1- AC_DEFUN([gl_INCLUDE_NEXT], [
  79641. + AC_LANG_PREPROC_REQUIRE()
  79642. + AC_CACHE_CHECK([whether the preprocessor supports include_next],
  79643. + [gl_cv_have_include_next],
  79644. + [rm -rf conftestd1a conftestd1b conftestd2
  79645. + mkdir conftestd1a conftestd1b conftestd2
  79646. + dnl IBM C 9.0, 10.1 (original versions, prior to the 2009-01 updates) on
  79647. + dnl AIX 6.1 support include_next when used as first preprocessor directive
  79648. + dnl in a file, but not when preceded by another include directive. Check
  79649. + dnl for this bug by including <stdio.h>.
  79650. + dnl Additionally, with this same compiler, include_next is a no-op when
  79651. + dnl used in a header file that was included by specifying its absolute
  79652. + dnl file name. Despite these two bugs, include_next is used in the
  79653. + dnl compiler's <math.h>. By virtue of the second bug, we need to use
  79654. + dnl include_next as well in this case.
  79655. + cat <<EOF > conftestd1a/conftest.h
  79656. +#define DEFINED_IN_CONFTESTD1
  79657. +#include_next <conftest.h>
  79658. +#ifdef DEFINED_IN_CONFTESTD2
  79659. +int foo;
  79660. +#else
  79661. +#error "include_next doesn't work"
  79662. +#endif
  79663. +EOF
  79664. + cat <<EOF > conftestd1b/conftest.h
  79665. +#define DEFINED_IN_CONFTESTD1
  79666. +#include <stdio.h>
  79667. +#include_next <conftest.h>
  79668. +#ifdef DEFINED_IN_CONFTESTD2
  79669. +int foo;
  79670. +#else
  79671. +#error "include_next doesn't work"
  79672. +#endif
  79673. +EOF
  79674. + cat <<EOF > conftestd2/conftest.h
  79675. +#ifndef DEFINED_IN_CONFTESTD1
  79676. +#error "include_next test doesn't work"
  79677. +#endif
  79678. +#define DEFINED_IN_CONFTESTD2
  79679. +EOF
  79680. + gl_save_CPPFLAGS="$CPPFLAGS"
  79681. + CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2"
  79682. +dnl We intentionally avoid using AC_LANG_SOURCE here.
  79683. + AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[#include <conftest.h>]],
  79684. + [gl_cv_have_include_next=yes],
  79685. + [CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2"
  79686. + AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[#include <conftest.h>]],
  79687. + [gl_cv_have_include_next=buggy],
  79688. + [gl_cv_have_include_next=no])
  79689. + ])
  79690. + CPPFLAGS="$gl_save_CPPFLAGS"
  79691. + rm -rf conftestd1a conftestd1b conftestd2
  79692. + ])
  79693. + PRAGMA_SYSTEM_HEADER=
  79694. + if test $gl_cv_have_include_next = yes; then
  79695. + INCLUDE_NEXT=include_next
  79696. + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
  79697. + if test -n "$GCC"; then
  79698. + PRAGMA_SYSTEM_HEADER='#pragma GCC system_header'
  79699. + fi
  79700. + else
  79701. + if test $gl_cv_have_include_next = buggy; then
  79702. + INCLUDE_NEXT=include
  79703. + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next
  79704. + else
  79705. + INCLUDE_NEXT=include
  79706. + INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include
  79707. + fi
  79708. + fi
  79709. + AC_SUBST([INCLUDE_NEXT])
  79710. + AC_SUBST([INCLUDE_NEXT_AS_FIRST_DIRECTIVE])
  79711. + AC_SUBST([PRAGMA_SYSTEM_HEADER])
  79712. + AC_CACHE_CHECK([whether system header files limit the line length],
  79713. + [gl_cv_pragma_columns],
  79714. + [dnl HP NonStop systems, which define __TANDEM, have this misfeature.
  79715. + AC_EGREP_CPP([choke me],
  79716. + [
  79717. +#ifdef __TANDEM
  79718. +choke me
  79719. +#endif
  79720. + ],
  79721. + [gl_cv_pragma_columns=yes],
  79722. + [gl_cv_pragma_columns=no])
  79723. + ])
  79724. + if test $gl_cv_pragma_columns = yes; then
  79725. + PRAGMA_COLUMNS="#pragma COLUMNS 10000"
  79726. + else
  79727. + PRAGMA_COLUMNS=
  79728. + fi
  79729. + AC_SUBST([PRAGMA_COLUMNS])
  79730. +])
  79731. +m4trace:m4/include_next.m4:153: -1- AC_DEFUN([gl_CHECK_NEXT_HEADERS], [
  79732. + gl_NEXT_HEADERS_INTERNAL([$1], [check])
  79733. +])
  79734. +m4trace:m4/include_next.m4:163: -1- AC_DEFUN([gl_NEXT_HEADERS], [
  79735. + gl_NEXT_HEADERS_INTERNAL([$1], [assume])
  79736. +])
  79737. +m4trace:m4/include_next.m4:169: -1- AC_DEFUN([gl_NEXT_HEADERS_INTERNAL], [
  79738. + AC_REQUIRE([gl_INCLUDE_NEXT])
  79739. + AC_REQUIRE([AC_CANONICAL_HOST])
  79740. +
  79741. + m4_if([$2], [check],
  79742. + [AC_CHECK_HEADERS_ONCE([$1])
  79743. + ])
  79744. +
  79745. + m4_foreach_w([gl_HEADER_NAME], [$1],
  79746. + [AS_VAR_PUSHDEF([gl_next_header],
  79747. + [gl_cv_next_]m4_defn([gl_HEADER_NAME]))
  79748. + if test $gl_cv_have_include_next = yes; then
  79749. + AS_VAR_SET([gl_next_header], ['<'gl_HEADER_NAME'>'])
  79750. + else
  79751. + AC_CACHE_CHECK(
  79752. + [absolute name of <]m4_defn([gl_HEADER_NAME])[>],
  79753. + m4_defn([gl_next_header]),
  79754. + [m4_if([$2], [check],
  79755. + [AS_VAR_PUSHDEF([gl_header_exists],
  79756. + [ac_cv_header_]m4_defn([gl_HEADER_NAME]))
  79757. + if test AS_VAR_GET(gl_header_exists) = yes; then
  79758. + AS_VAR_POPDEF([gl_header_exists])
  79759. + ])
  79760. + AC_LANG_CONFTEST(
  79761. + [AC_LANG_SOURCE(
  79762. + [[#include <]]m4_dquote(m4_defn([gl_HEADER_NAME]))[[>]]
  79763. + )])
  79764. + dnl AIX "xlc -E" and "cc -E" omit #line directives for header
  79765. + dnl files that contain only a #include of other header files and
  79766. + dnl no non-comment tokens of their own. This leads to a failure
  79767. + dnl to detect the absolute name of <dirent.h>, <signal.h>,
  79768. + dnl <poll.h> and others. The workaround is to force preservation
  79769. + dnl of comments through option -C. This ensures all necessary
  79770. + dnl #line directives are present. GCC supports option -C as well.
  79771. + case "$host_os" in
  79772. + aix*) gl_absname_cpp="$ac_cpp -C" ;;
  79773. + *) gl_absname_cpp="$ac_cpp" ;;
  79774. + esac
  79775. + dnl eval is necessary to expand gl_absname_cpp.
  79776. + dnl Ultrix and Pyramid sh refuse to redirect output of eval,
  79777. + dnl so use subshell.
  79778. + AS_VAR_SET([gl_next_header],
  79779. + ['"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
  79780. + sed -n '\#/]m4_defn([gl_HEADER_NAME])[#{
  79781. + s#.*"\(.*/]m4_defn([gl_HEADER_NAME])[\)".*#\1#
  79782. + s#^/[^/]#//&#
  79783. + p
  79784. + q
  79785. + }'`'"'])
  79786. + m4_if([$2], [check],
  79787. + [else
  79788. + AS_VAR_SET([gl_next_header], ['<'gl_HEADER_NAME'>'])
  79789. + fi
  79790. + ])
  79791. + ])
  79792. + fi
  79793. + AC_SUBST(
  79794. + AS_TR_CPP([NEXT_]m4_defn([gl_HEADER_NAME])),
  79795. + [AS_VAR_GET([gl_next_header])])
  79796. + if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
  79797. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
  79798. + gl_next_as_first_directive='<'gl_HEADER_NAME'>'
  79799. + else
  79800. + # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
  79801. + gl_next_as_first_directive=AS_VAR_GET([gl_next_header])
  79802. + fi
  79803. + AC_SUBST(
  79804. + AS_TR_CPP([NEXT_AS_FIRST_DIRECTIVE_]m4_defn([gl_HEADER_NAME])),
  79805. + [$gl_next_as_first_directive])
  79806. + AS_VAR_POPDEF([gl_next_header])])
  79807. +])
  79808. +m4trace:m4/inline.m4:12: -1- AC_DEFUN([gl_INLINE], [
  79809. + AC_REQUIRE([AC_C_INLINE])
  79810. + AC_CACHE_CHECK([whether the compiler generally respects inline],
  79811. + [gl_cv_c_inline_effective],
  79812. + [if test $ac_cv_c_inline = no; then
  79813. + gl_cv_c_inline_effective=no
  79814. + else
  79815. + dnl GCC defines __NO_INLINE__ if not optimizing or if -fno-inline is
  79816. + dnl specified.
  79817. + dnl Use AC_COMPILE_IFELSE here, not AC_EGREP_CPP, because the result
  79818. + dnl depends on optimization flags, which can be in CFLAGS.
  79819. + dnl (AC_EGREP_CPP looks only at the CPPFLAGS.)
  79820. + AC_COMPILE_IFELSE(
  79821. + [AC_LANG_PROGRAM([[]],
  79822. + [[#ifdef __NO_INLINE__
  79823. + #error "inline is not effective"
  79824. + #endif]])],
  79825. + [gl_cv_c_inline_effective=yes],
  79826. + [gl_cv_c_inline_effective=no])
  79827. + fi
  79828. + ])
  79829. + if test $gl_cv_c_inline_effective = yes; then
  79830. + AC_DEFINE([HAVE_INLINE], [1],
  79831. + [Define to 1 if the compiler supports one of the keywords
  79832. + 'inline', '__inline__', '__inline' and effectively inlines
  79833. + functions marked as such.])
  79834. + fi
  79835. +])
  79836. +m4trace:m4/intlmacosx.m4:18: -1- AC_DEFUN([gt_INTL_MACOSX], [
  79837. + dnl Check for API introduced in MacOS X 10.2.
  79838. + AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
  79839. + [gt_cv_func_CFPreferencesCopyAppValue],
  79840. + [gt_save_LIBS="$LIBS"
  79841. + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
  79842. + AC_LINK_IFELSE(
  79843. + [AC_LANG_PROGRAM(
  79844. + [[#include <CoreFoundation/CFPreferences.h>]],
  79845. + [[CFPreferencesCopyAppValue(NULL, NULL)]])],
  79846. + [gt_cv_func_CFPreferencesCopyAppValue=yes],
  79847. + [gt_cv_func_CFPreferencesCopyAppValue=no])
  79848. + LIBS="$gt_save_LIBS"])
  79849. + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
  79850. + AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1],
  79851. + [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
  79852. + fi
  79853. + dnl Check for API introduced in MacOS X 10.3.
  79854. + AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent],
  79855. + [gt_save_LIBS="$LIBS"
  79856. + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
  79857. + AC_LINK_IFELSE(
  79858. + [AC_LANG_PROGRAM(
  79859. + [[#include <CoreFoundation/CFLocale.h>]],
  79860. + [[CFLocaleCopyCurrent();]])],
  79861. + [gt_cv_func_CFLocaleCopyCurrent=yes],
  79862. + [gt_cv_func_CFLocaleCopyCurrent=no])
  79863. + LIBS="$gt_save_LIBS"])
  79864. + if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
  79865. + AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1],
  79866. + [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
  79867. + fi
  79868. + INTL_MACOSX_LIBS=
  79869. + if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
  79870. + INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
  79871. + fi
  79872. + AC_SUBST([INTL_MACOSX_LIBS])
  79873. +])
  79874. +m4trace:m4/intmax_t.m4:15: -1- AC_DEFUN([gl_AC_TYPE_INTMAX_T], [
  79875. + dnl For simplicity, we assume that a header file defines 'intmax_t' if and
  79876. + dnl only if it defines 'uintmax_t'.
  79877. + AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
  79878. + AC_REQUIRE([gl_AC_HEADER_STDINT_H])
  79879. + if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then
  79880. + AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
  79881. + test $ac_cv_type_long_long_int = yes \
  79882. + && ac_type='long long' \
  79883. + || ac_type='long'
  79884. + AC_DEFINE_UNQUOTED([intmax_t], [$ac_type],
  79885. + [Define to long or long long if <inttypes.h> and <stdint.h> don't define.])
  79886. + else
  79887. + AC_DEFINE([HAVE_INTMAX_T], [1],
  79888. + [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
  79889. + fi
  79890. +])
  79891. +m4trace:m4/intmax_t.m4:36: -1- AC_DEFUN([gt_AC_TYPE_INTMAX_T], [
  79892. + AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
  79893. + AC_REQUIRE([gl_AC_HEADER_STDINT_H])
  79894. + AC_CACHE_CHECK([for intmax_t], [gt_cv_c_intmax_t],
  79895. + [AC_COMPILE_IFELSE(
  79896. + [AC_LANG_PROGRAM(
  79897. + [[
  79898. +#include <stddef.h>
  79899. +#include <stdlib.h>
  79900. +#if HAVE_STDINT_H_WITH_UINTMAX
  79901. +#include <stdint.h>
  79902. +#endif
  79903. +#if HAVE_INTTYPES_H_WITH_UINTMAX
  79904. +#include <inttypes.h>
  79905. +#endif
  79906. + ]],
  79907. + [[intmax_t x = -1; return !x;]])],
  79908. + [gt_cv_c_intmax_t=yes],
  79909. + [gt_cv_c_intmax_t=no])])
  79910. + if test $gt_cv_c_intmax_t = yes; then
  79911. + AC_DEFINE([HAVE_INTMAX_T], [1],
  79912. + [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
  79913. + else
  79914. + AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
  79915. + test $ac_cv_type_long_long_int = yes \
  79916. + && ac_type='long long' \
  79917. + || ac_type='long'
  79918. + AC_DEFINE_UNQUOTED([intmax_t], [$ac_type],
  79919. + [Define to long or long long if <stdint.h> and <inttypes.h> don't define.])
  79920. + fi
  79921. +])
  79922. +m4trace:m4/inttypes_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_INTTYPES_H], [
  79923. + AC_CACHE_CHECK([for inttypes.h], [gl_cv_header_inttypes_h],
  79924. + [AC_COMPILE_IFELSE(
  79925. + [AC_LANG_PROGRAM(
  79926. + [[
  79927. +#include <sys/types.h>
  79928. +#include <inttypes.h>
  79929. + ]],
  79930. + [[uintmax_t i = (uintmax_t) -1; return !i;]])],
  79931. + [gl_cv_header_inttypes_h=yes],
  79932. + [gl_cv_header_inttypes_h=no])])
  79933. + if test $gl_cv_header_inttypes_h = yes; then
  79934. + AC_DEFINE_UNQUOTED([HAVE_INTTYPES_H_WITH_UINTMAX], [1],
  79935. + [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
  79936. + and declares uintmax_t. ])
  79937. + fi
  79938. +])
  79939. +m4trace:m4/isnand.m4:9: -1- AC_DEFUN([gl_FUNC_ISNAND], [
  79940. + AC_REQUIRE([gl_MATH_H_DEFAULTS])
  79941. + ISNAND_LIBM=
  79942. + gl_HAVE_ISNAND_NO_LIBM
  79943. + if test $gl_cv_func_isnand_no_libm = no; then
  79944. + gl_HAVE_ISNAND_IN_LIBM
  79945. + if test $gl_cv_func_isnand_in_libm = yes; then
  79946. + ISNAND_LIBM=-lm
  79947. + fi
  79948. + fi
  79949. + dnl The variable gl_func_isnand set here is used by isnan.m4.
  79950. + if test $gl_cv_func_isnand_no_libm = yes \
  79951. + || test $gl_cv_func_isnand_in_libm = yes; then
  79952. + gl_func_isnand=yes
  79953. + else
  79954. + gl_func_isnand=no
  79955. + HAVE_ISNAND=0
  79956. + gl_BUILD_ISNAND
  79957. + fi
  79958. + AC_SUBST([ISNAND_LIBM])
  79959. +])
  79960. +m4trace:m4/isnand.m4:34: -1- AC_DEFUN([gl_FUNC_ISNAND_NO_LIBM], [
  79961. + gl_HAVE_ISNAND_NO_LIBM
  79962. + if test $gl_cv_func_isnand_no_libm = yes; then
  79963. + AC_DEFINE([HAVE_ISNAND_IN_LIBC], [1],
  79964. + [Define if the isnan(double) function is available in libc.])
  79965. + else
  79966. + gl_BUILD_ISNAND
  79967. + fi
  79968. +])
  79969. +m4trace:m4/isnand.m4:46: -1- AC_DEFUN([gl_BUILD_ISNAND], [
  79970. + AC_LIBOBJ([isnand])
  79971. + gl_DOUBLE_EXPONENT_LOCATION
  79972. +])
  79973. +m4trace:m4/isnand.m4:54: -1- AC_DEFUN([gl_HAVE_ISNAND_IN_LIBM], [
  79974. + AC_CACHE_CHECK([whether isnan(double) can be used with libm],
  79975. + [gl_cv_func_isnand_in_libm],
  79976. + [
  79977. + save_LIBS="$LIBS"
  79978. + LIBS="$LIBS -lm"
  79979. + AC_LINK_IFELSE(
  79980. + [AC_LANG_PROGRAM(
  79981. + [[#include <math.h>
  79982. + #if __GNUC__ >= 4
  79983. + # undef isnand
  79984. + # define isnand(x) __builtin_isnan ((double)(x))
  79985. + #elif defined isnan
  79986. + # undef isnand
  79987. + # define isnand(x) isnan ((double)(x))
  79988. + #endif
  79989. + double x;]],
  79990. + [[return isnand (x);]])],
  79991. + [gl_cv_func_isnand_in_libm=yes],
  79992. + [gl_cv_func_isnand_in_libm=no])
  79993. + LIBS="$save_LIBS"
  79994. + ])
  79995. +])
  79996. +m4trace:m4/isnand.m4:79: -1- AC_DEFUN([gl_HAVE_ISNAND_NO_LIBM], [
  79997. + AC_CACHE_CHECK([whether isnan(double) can be used without linking with libm],
  79998. + [gl_cv_func_isnand_no_libm],
  79999. + [
  80000. + AC_LINK_IFELSE(
  80001. + [AC_LANG_PROGRAM(
  80002. + [[#include <math.h>
  80003. + #if __GNUC__ >= 4
  80004. + # undef isnand
  80005. + # define isnand(x) __builtin_isnan ((double)(x))
  80006. + #else
  80007. + # undef isnand
  80008. + # define isnand(x) isnan ((double)(x))
  80009. + #endif
  80010. + double x;]],
  80011. + [[return isnand (x);]])],
  80012. + [gl_cv_func_isnand_no_libm=yes],
  80013. + [gl_cv_func_isnand_no_libm=no])
  80014. + ])
  80015. +])
  80016. +m4trace:m4/isnanf.m4:9: -1- AC_DEFUN([gl_FUNC_ISNANF], [
  80017. + AC_REQUIRE([gl_MATH_H_DEFAULTS])
  80018. + ISNANF_LIBM=
  80019. + gl_HAVE_ISNANF_NO_LIBM
  80020. + if test $gl_cv_func_isnanf_no_libm = no; then
  80021. + gl_HAVE_ISNANF_IN_LIBM
  80022. + if test $gl_cv_func_isnanf_in_libm = yes; then
  80023. + ISNANF_LIBM=-lm
  80024. + fi
  80025. + fi
  80026. + if test $gl_cv_func_isnanf_no_libm = yes \
  80027. + || test $gl_cv_func_isnanf_in_libm = yes; then
  80028. + save_LIBS="$LIBS"
  80029. + LIBS="$LIBS $ISNANF_LIBM"
  80030. + gl_ISNANF_WORKS
  80031. + LIBS="$save_LIBS"
  80032. + case "$gl_cv_func_isnanf_works" in
  80033. + *yes) gl_func_isnanf=yes ;;
  80034. + *) gl_func_isnanf=no; ISNANF_LIBM= ;;
  80035. + esac
  80036. + else
  80037. + gl_func_isnanf=no
  80038. + fi
  80039. + if test $gl_func_isnanf != yes; then
  80040. + HAVE_ISNANF=0
  80041. + gl_BUILD_ISNANF
  80042. + fi
  80043. + AC_SUBST([ISNANF_LIBM])
  80044. +])
  80045. +m4trace:m4/isnanf.m4:42: -1- AC_DEFUN([gl_FUNC_ISNANF_NO_LIBM], [
  80046. + gl_HAVE_ISNANF_NO_LIBM
  80047. + if test $gl_cv_func_isnanf_no_libm = yes; then
  80048. + gl_ISNANF_WORKS
  80049. + fi
  80050. + if test $gl_cv_func_isnanf_no_libm = yes \
  80051. + && { case "$gl_cv_func_isnanf_works" in
  80052. + *yes) true;;
  80053. + *) false;;
  80054. + esac
  80055. + }; then
  80056. + AC_DEFINE([HAVE_ISNANF_IN_LIBC], [1],
  80057. + [Define if the isnan(float) function is available in libc.])
  80058. + else
  80059. + gl_BUILD_ISNANF
  80060. + fi
  80061. +])
  80062. +m4trace:m4/isnanf.m4:62: -1- AC_DEFUN([gl_BUILD_ISNANF], [
  80063. + AC_LIBOBJ([isnanf])
  80064. + gl_FLOAT_EXPONENT_LOCATION
  80065. +])
  80066. +m4trace:m4/isnanf.m4:69: -1- AC_DEFUN([gl_HAVE_ISNANF_NO_LIBM], [
  80067. + AC_CACHE_CHECK([whether isnan(float) can be used without linking with libm],
  80068. + [gl_cv_func_isnanf_no_libm],
  80069. + [
  80070. + AC_LINK_IFELSE(
  80071. + [AC_LANG_PROGRAM(
  80072. + [[#include <math.h>
  80073. + #if __GNUC__ >= 4
  80074. + # undef isnanf
  80075. + # define isnanf(x) __builtin_isnanf ((float)(x))
  80076. + #elif defined isnan
  80077. + # undef isnanf
  80078. + # define isnanf(x) isnan ((float)(x))
  80079. + #endif
  80080. + float x;]],
  80081. + [[return isnanf (x);]])],
  80082. + [gl_cv_func_isnanf_no_libm=yes],
  80083. + [gl_cv_func_isnanf_no_libm=no])
  80084. + ])
  80085. +])
  80086. +m4trace:m4/isnanf.m4:92: -1- AC_DEFUN([gl_HAVE_ISNANF_IN_LIBM], [
  80087. + AC_CACHE_CHECK([whether isnan(float) can be used with libm],
  80088. + [gl_cv_func_isnanf_in_libm],
  80089. + [
  80090. + save_LIBS="$LIBS"
  80091. + LIBS="$LIBS -lm"
  80092. + AC_LINK_IFELSE(
  80093. + [AC_LANG_PROGRAM(
  80094. + [[#include <math.h>
  80095. + #if __GNUC__ >= 4
  80096. + # undef isnanf
  80097. + # define isnanf(x) __builtin_isnanf ((float)(x))
  80098. + #elif defined isnan
  80099. + # undef isnanf
  80100. + # define isnanf(x) isnan ((float)(x))
  80101. + #endif
  80102. + float x;]],
  80103. + [[return isnanf (x);]])],
  80104. + [gl_cv_func_isnanf_in_libm=yes],
  80105. + [gl_cv_func_isnanf_in_libm=no])
  80106. + LIBS="$save_LIBS"
  80107. + ])
  80108. +])
  80109. +m4trace:m4/isnanf.m4:120: -1- AC_DEFUN([gl_ISNANF_WORKS], [
  80110. + AC_REQUIRE([AC_PROG_CC])
  80111. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  80112. + AC_REQUIRE([gl_FLOAT_EXPONENT_LOCATION])
  80113. + AC_CACHE_CHECK([whether isnan(float) works], [gl_cv_func_isnanf_works],
  80114. + [
  80115. + AC_RUN_IFELSE(
  80116. + [AC_LANG_SOURCE([[
  80117. +#include <math.h>
  80118. +#if __GNUC__ >= 4
  80119. +# undef isnanf
  80120. +# define isnanf(x) __builtin_isnanf ((float)(x))
  80121. +#elif defined isnan
  80122. +# undef isnanf
  80123. +# define isnanf(x) isnan ((float)(x))
  80124. +#endif
  80125. +/* The Compaq (ex-DEC) C 6.4 compiler chokes on the expression 0.0 / 0.0. */
  80126. +#ifdef __DECC
  80127. +static float
  80128. +NaN ()
  80129. +{
  80130. + static float zero = 0.0f;
  80131. + return zero / zero;
  80132. +}
  80133. +#else
  80134. +# define NaN() (0.0f / 0.0f)
  80135. +#endif
  80136. +#define NWORDS \
  80137. + ((sizeof (float) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  80138. +typedef union { unsigned int word[NWORDS]; float value; } memory_float;
  80139. +int main()
  80140. +{
  80141. + int result = 0;
  80142. +
  80143. + if (isnanf (1.0f / 0.0f))
  80144. + result |= 1;
  80145. +
  80146. + if (!isnanf (NaN ()))
  80147. + result |= 2;
  80148. +
  80149. +#if defined FLT_EXPBIT0_WORD && defined FLT_EXPBIT0_BIT
  80150. + /* The isnanf function should be immune against changes in the sign bit and
  80151. + in the mantissa bits. The xor operation twiddles a bit that can only be
  80152. + a sign bit or a mantissa bit. */
  80153. + if (FLT_EXPBIT0_WORD == 0 && FLT_EXPBIT0_BIT > 0)
  80154. + {
  80155. + memory_float m;
  80156. +
  80157. + m.value = NaN ();
  80158. + /* Set the bits below the exponent to 01111...111. */
  80159. + m.word[0] &= -1U << FLT_EXPBIT0_BIT;
  80160. + m.word[0] |= 1U << (FLT_EXPBIT0_BIT - 1) - 1;
  80161. + if (!isnanf (m.value))
  80162. + result |= 4;
  80163. + }
  80164. +#endif
  80165. +
  80166. + return result;
  80167. +}]])],
  80168. + [gl_cv_func_isnanf_works=yes],
  80169. + [gl_cv_func_isnanf_works=no],
  80170. + [case "$host_os" in
  80171. + irix* | solaris*) gl_cv_func_isnanf_works="guessing no";;
  80172. + *) gl_cv_func_isnanf_works="guessing yes";;
  80173. + esac
  80174. + ])
  80175. + ])
  80176. +])
  80177. +m4trace:m4/isnanl.m4:7: -1- AC_DEFUN([gl_FUNC_ISNANL], [
  80178. + AC_REQUIRE([gl_MATH_H_DEFAULTS])
  80179. + ISNANL_LIBM=
  80180. + gl_HAVE_ISNANL_NO_LIBM
  80181. + if test $gl_cv_func_isnanl_no_libm = no; then
  80182. + gl_HAVE_ISNANL_IN_LIBM
  80183. + if test $gl_cv_func_isnanl_in_libm = yes; then
  80184. + ISNANL_LIBM=-lm
  80185. + fi
  80186. + fi
  80187. + if test $gl_cv_func_isnanl_no_libm = yes \
  80188. + || test $gl_cv_func_isnanl_in_libm = yes; then
  80189. + save_LIBS="$LIBS"
  80190. + LIBS="$LIBS $ISNANL_LIBM"
  80191. + gl_FUNC_ISNANL_WORKS
  80192. + LIBS="$save_LIBS"
  80193. + case "$gl_cv_func_isnanl_works" in
  80194. + *yes) gl_func_isnanl=yes ;;
  80195. + *) gl_func_isnanl=no; ISNANL_LIBM= ;;
  80196. + esac
  80197. + else
  80198. + gl_func_isnanl=no
  80199. + fi
  80200. + if test $gl_func_isnanl != yes; then
  80201. + HAVE_ISNANL=0
  80202. + gl_BUILD_ISNANL
  80203. + fi
  80204. + AC_SUBST([ISNANL_LIBM])
  80205. +])
  80206. +m4trace:m4/isnanl.m4:38: -1- AC_DEFUN([gl_FUNC_ISNANL_NO_LIBM], [
  80207. + gl_HAVE_ISNANL_NO_LIBM
  80208. + gl_func_isnanl_no_libm=$gl_cv_func_isnanl_no_libm
  80209. + if test $gl_func_isnanl_no_libm = yes; then
  80210. + gl_FUNC_ISNANL_WORKS
  80211. + case "$gl_cv_func_isnanl_works" in
  80212. + *yes) ;;
  80213. + *) gl_func_isnanl_no_libm=no ;;
  80214. + esac
  80215. + fi
  80216. + if test $gl_func_isnanl_no_libm = yes; then
  80217. + AC_DEFINE([HAVE_ISNANL_IN_LIBC], [1],
  80218. + [Define if the isnan(long double) function is available in libc.])
  80219. + else
  80220. + gl_BUILD_ISNANL
  80221. + fi
  80222. +])
  80223. +m4trace:m4/isnanl.m4:58: -1- AC_DEFUN([gl_BUILD_ISNANL], [
  80224. + AC_LIBOBJ([isnanl])
  80225. + gl_LONG_DOUBLE_EXPONENT_LOCATION
  80226. +])
  80227. +m4trace:m4/isnanl.m4:65: -1- AC_DEFUN([gl_HAVE_ISNANL_NO_LIBM], [
  80228. + AC_CACHE_CHECK([whether isnan(long double) can be used without linking with libm],
  80229. + [gl_cv_func_isnanl_no_libm],
  80230. + [
  80231. + AC_LINK_IFELSE(
  80232. + [AC_LANG_PROGRAM(
  80233. + [[#include <math.h>
  80234. + #if __GNUC__ >= 4
  80235. + # undef isnanl
  80236. + # define isnanl(x) __builtin_isnanl ((long double)(x))
  80237. + #elif defined isnan
  80238. + # undef isnanl
  80239. + # define isnanl(x) isnan ((long double)(x))
  80240. + #endif
  80241. + long double x;]],
  80242. + [[return isnanl (x);]])],
  80243. + [gl_cv_func_isnanl_no_libm=yes],
  80244. + [gl_cv_func_isnanl_no_libm=no])
  80245. + ])
  80246. +])
  80247. +m4trace:m4/isnanl.m4:88: -1- AC_DEFUN([gl_HAVE_ISNANL_IN_LIBM], [
  80248. + AC_CACHE_CHECK([whether isnan(long double) can be used with libm],
  80249. + [gl_cv_func_isnanl_in_libm],
  80250. + [
  80251. + save_LIBS="$LIBS"
  80252. + LIBS="$LIBS -lm"
  80253. + AC_LINK_IFELSE(
  80254. + [AC_LANG_PROGRAM(
  80255. + [[#include <math.h>
  80256. + #if __GNUC__ >= 4
  80257. + # undef isnanl
  80258. + # define isnanl(x) __builtin_isnanl ((long double)(x))
  80259. + #elif defined isnan
  80260. + # undef isnanl
  80261. + # define isnanl(x) isnan ((long double)(x))
  80262. + #endif
  80263. + long double x;]],
  80264. + [[return isnanl (x);]])],
  80265. + [gl_cv_func_isnanl_in_libm=yes],
  80266. + [gl_cv_func_isnanl_in_libm=no])
  80267. + LIBS="$save_LIBS"
  80268. + ])
  80269. +])
  80270. +m4trace:m4/isnanl.m4:118: -1- AC_DEFUN([gl_FUNC_ISNANL_WORKS], [
  80271. + AC_REQUIRE([AC_PROG_CC])
  80272. + AC_REQUIRE([gl_BIGENDIAN])
  80273. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  80274. + AC_CACHE_CHECK([whether isnanl works], [gl_cv_func_isnanl_works],
  80275. + [
  80276. + AC_RUN_IFELSE(
  80277. + [AC_LANG_SOURCE([[
  80278. +#include <float.h>
  80279. +#include <limits.h>
  80280. +#include <math.h>
  80281. +#if __GNUC__ >= 4
  80282. +# undef isnanl
  80283. +# define isnanl(x) __builtin_isnanl ((long double)(x))
  80284. +#elif defined isnan
  80285. +# undef isnanl
  80286. +# define isnanl(x) isnan ((long double)(x))
  80287. +#endif
  80288. +#define NWORDS \
  80289. + ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  80290. +typedef union { unsigned int word[NWORDS]; long double value; }
  80291. + memory_long_double;
  80292. +/* On Irix 6.5, gcc 3.4.3 can't compute compile-time NaN, and needs the
  80293. + runtime type conversion. */
  80294. +#ifdef __sgi
  80295. +static long double NaNl ()
  80296. +{
  80297. + double zero = 0.0;
  80298. + return zero / zero;
  80299. +}
  80300. +#else
  80301. +# define NaNl() (0.0L / 0.0L)
  80302. +#endif
  80303. +int main ()
  80304. +{
  80305. + int result = 0;
  80306. +
  80307. + if (!isnanl (NaNl ()))
  80308. + result |= 1;
  80309. +
  80310. + {
  80311. + memory_long_double m;
  80312. + unsigned int i;
  80313. +
  80314. + /* The isnanl function should be immune against changes in the sign bit and
  80315. + in the mantissa bits. The xor operation twiddles a bit that can only be
  80316. + a sign bit or a mantissa bit (since the exponent never extends to
  80317. + bit 31). */
  80318. + m.value = NaNl ();
  80319. + m.word[NWORDS / 2] ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1);
  80320. + for (i = 0; i < NWORDS; i++)
  80321. + m.word[i] |= 1;
  80322. + if (!isnanl (m.value))
  80323. + result |= 1;
  80324. + }
  80325. +
  80326. +#if ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_))
  80327. +/* Representation of an 80-bit 'long double' as an initializer for a sequence
  80328. + of 'unsigned int' words. */
  80329. +# ifdef WORDS_BIGENDIAN
  80330. +# define LDBL80_WORDS(exponent,manthi,mantlo) \
  80331. + { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \
  80332. + ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16), \
  80333. + (unsigned int) (mantlo) << 16 \
  80334. + }
  80335. +# else
  80336. +# define LDBL80_WORDS(exponent,manthi,mantlo) \
  80337. + { mantlo, manthi, exponent }
  80338. +# endif
  80339. + { /* Quiet NaN. */
  80340. + static memory_long_double x =
  80341. + { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
  80342. + if (!isnanl (x.value))
  80343. + result |= 2;
  80344. + }
  80345. + {
  80346. + /* Signalling NaN. */
  80347. + static memory_long_double x =
  80348. + { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
  80349. + if (!isnanl (x.value))
  80350. + result |= 2;
  80351. + }
  80352. + /* The isnanl function should recognize Pseudo-NaNs, Pseudo-Infinities,
  80353. + Pseudo-Zeroes, Unnormalized Numbers, and Pseudo-Denormals, as defined in
  80354. + Intel IA-64 Architecture Software Developer's Manual, Volume 1:
  80355. + Application Architecture.
  80356. + Table 5-2 "Floating-Point Register Encodings"
  80357. + Figure 5-6 "Memory to Floating-Point Register Data Translation"
  80358. + */
  80359. + { /* Pseudo-NaN. */
  80360. + static memory_long_double x =
  80361. + { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
  80362. + if (!isnanl (x.value))
  80363. + result |= 4;
  80364. + }
  80365. + { /* Pseudo-Infinity. */
  80366. + static memory_long_double x =
  80367. + { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
  80368. + if (!isnanl (x.value))
  80369. + result |= 8;
  80370. + }
  80371. + { /* Pseudo-Zero. */
  80372. + static memory_long_double x =
  80373. + { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
  80374. + if (!isnanl (x.value))
  80375. + result |= 16;
  80376. + }
  80377. + { /* Unnormalized number. */
  80378. + static memory_long_double x =
  80379. + { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
  80380. + if (!isnanl (x.value))
  80381. + result |= 32;
  80382. + }
  80383. + { /* Pseudo-Denormal. */
  80384. + static memory_long_double x =
  80385. + { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
  80386. + if (!isnanl (x.value))
  80387. + result |= 64;
  80388. + }
  80389. +#endif
  80390. +
  80391. + return result;
  80392. +}]])],
  80393. + [gl_cv_func_isnanl_works=yes],
  80394. + [gl_cv_func_isnanl_works=no],
  80395. + [case "$host_cpu" in
  80396. + # Guess no on ia64, x86_64, i386.
  80397. + ia64 | x86_64 | i*86) gl_cv_func_isnanl_works="guessing no";;
  80398. + *)
  80399. + case "$host_os" in
  80400. + netbsd*) gl_cv_func_isnanl_works="guessing no";;
  80401. + *) gl_cv_func_isnanl_works="guessing yes";;
  80402. + esac
  80403. + ;;
  80404. + esac
  80405. + ])
  80406. + ])
  80407. +])
  80408. +m4trace:m4/langinfo_h.m4:7: -1- AC_DEFUN([gl_LANGINFO_H], [
  80409. + AC_REQUIRE([gl_LANGINFO_H_DEFAULTS])
  80410. +
  80411. + dnl Persuade glibc-2.0.6 <langinfo.h> to define CODESET.
  80412. + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
  80413. +
  80414. + dnl <langinfo.h> is always overridden, because of GNULIB_POSIXCHECK.
  80415. + gl_CHECK_NEXT_HEADERS([langinfo.h])
  80416. +
  80417. + dnl Determine whether <langinfo.h> exists. It is missing on mingw and BeOS.
  80418. + HAVE_LANGINFO_CODESET=0
  80419. + HAVE_LANGINFO_T_FMT_AMPM=0
  80420. + HAVE_LANGINFO_ERA=0
  80421. + HAVE_LANGINFO_YESEXPR=0
  80422. + AC_CHECK_HEADERS_ONCE([langinfo.h])
  80423. + if test $ac_cv_header_langinfo_h = yes; then
  80424. + HAVE_LANGINFO_H=1
  80425. + dnl Determine what <langinfo.h> defines. CODESET and ERA etc. are missing
  80426. + dnl on OpenBSD 3.8. T_FMT_AMPM and YESEXPR, NOEXPR are missing on IRIX 5.3.
  80427. + AC_CACHE_CHECK([whether langinfo.h defines CODESET],
  80428. + [gl_cv_header_langinfo_codeset],
  80429. + [AC_COMPILE_IFELSE(
  80430. + [AC_LANG_PROGRAM([[#include <langinfo.h>
  80431. +int a = CODESET;
  80432. +]])],
  80433. + [gl_cv_header_langinfo_codeset=yes],
  80434. + [gl_cv_header_langinfo_codeset=no])
  80435. + ])
  80436. + if test $gl_cv_header_langinfo_codeset = yes; then
  80437. + HAVE_LANGINFO_CODESET=1
  80438. + fi
  80439. + AC_CACHE_CHECK([whether langinfo.h defines T_FMT_AMPM],
  80440. + [gl_cv_header_langinfo_t_fmt_ampm],
  80441. + [AC_COMPILE_IFELSE(
  80442. + [AC_LANG_PROGRAM([[#include <langinfo.h>
  80443. +int a = T_FMT_AMPM;
  80444. +]])],
  80445. + [gl_cv_header_langinfo_t_fmt_ampm=yes],
  80446. + [gl_cv_header_langinfo_t_fmt_ampm=no])
  80447. + ])
  80448. + if test $gl_cv_header_langinfo_t_fmt_ampm = yes; then
  80449. + HAVE_LANGINFO_T_FMT_AMPM=1
  80450. + fi
  80451. + AC_CACHE_CHECK([whether langinfo.h defines ERA],
  80452. + [gl_cv_header_langinfo_era],
  80453. + [AC_COMPILE_IFELSE(
  80454. + [AC_LANG_PROGRAM([[#include <langinfo.h>
  80455. +int a = ERA;
  80456. +]])],
  80457. + [gl_cv_header_langinfo_era=yes],
  80458. + [gl_cv_header_langinfo_era=no])
  80459. + ])
  80460. + if test $gl_cv_header_langinfo_era = yes; then
  80461. + HAVE_LANGINFO_ERA=1
  80462. + fi
  80463. + AC_CACHE_CHECK([whether langinfo.h defines YESEXPR],
  80464. + [gl_cv_header_langinfo_yesexpr],
  80465. + [AC_COMPILE_IFELSE(
  80466. + [AC_LANG_PROGRAM([[#include <langinfo.h>
  80467. +int a = YESEXPR;
  80468. +]])],
  80469. + [gl_cv_header_langinfo_yesexpr=yes],
  80470. + [gl_cv_header_langinfo_yesexpr=no])
  80471. + ])
  80472. + if test $gl_cv_header_langinfo_yesexpr = yes; then
  80473. + HAVE_LANGINFO_YESEXPR=1
  80474. + fi
  80475. + else
  80476. + HAVE_LANGINFO_H=0
  80477. + fi
  80478. + AC_SUBST([HAVE_LANGINFO_H])
  80479. + AC_SUBST([HAVE_LANGINFO_CODESET])
  80480. + AC_SUBST([HAVE_LANGINFO_T_FMT_AMPM])
  80481. + AC_SUBST([HAVE_LANGINFO_ERA])
  80482. + AC_SUBST([HAVE_LANGINFO_YESEXPR])
  80483. +
  80484. + dnl Check for declarations of anything we want to poison if the
  80485. + dnl corresponding gnulib module is not in use.
  80486. + gl_WARN_ON_USE_PREPARE([[#include <langinfo.h>
  80487. + ]], [nl_langinfo])
  80488. +])
  80489. +m4trace:m4/langinfo_h.m4:90: -1- AC_DEFUN([gl_LANGINFO_MODULE_INDICATOR], [
  80490. + dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
  80491. + AC_REQUIRE([gl_LANGINFO_H_DEFAULTS])
  80492. + gl_MODULE_INDICATOR_SET_VARIABLE([$1])
  80493. + dnl Define it also as a C macro, for the benefit of the unit tests.
  80494. + gl_MODULE_INDICATOR_FOR_TESTS([$1])
  80495. +])
  80496. +m4trace:m4/langinfo_h.m4:99: -1- AC_DEFUN([gl_LANGINFO_H_DEFAULTS], [
  80497. + GNULIB_NL_LANGINFO=0; AC_SUBST([GNULIB_NL_LANGINFO])
  80498. + dnl Assume proper GNU behavior unless another module says otherwise.
  80499. + HAVE_NL_LANGINFO=1; AC_SUBST([HAVE_NL_LANGINFO])
  80500. + REPLACE_NL_LANGINFO=0; AC_SUBST([REPLACE_NL_LANGINFO])
  80501. +])
  80502. +m4trace:m4/lcmessage.m4:22: -1- AC_DEFUN([gt_LC_MESSAGES], [
  80503. + AC_CACHE_CHECK([for LC_MESSAGES], [gt_cv_val_LC_MESSAGES],
  80504. + [AC_LINK_IFELSE(
  80505. + [AC_LANG_PROGRAM(
  80506. + [[#include <locale.h>]],
  80507. + [[return LC_MESSAGES]])],
  80508. + [gt_cv_val_LC_MESSAGES=yes],
  80509. + [gt_cv_val_LC_MESSAGES=no])])
  80510. + if test $gt_cv_val_LC_MESSAGES = yes; then
  80511. + AC_DEFINE([HAVE_LC_MESSAGES], [1],
  80512. + [Define if your <locale.h> file defines LC_MESSAGES.])
  80513. + fi
  80514. +])
  80515. +m4trace:m4/ldexp.m4:7: -1- AC_DEFUN([gl_FUNC_LDEXP], [
  80516. + AC_REQUIRE([gl_CHECK_LDEXP_NO_LIBM])
  80517. + LDEXP_LIBM=
  80518. + if test $gl_cv_func_ldexp_no_libm = no; then
  80519. + AC_CACHE_CHECK([whether ldexp() can be used with libm],
  80520. + [gl_cv_func_ldexp_in_libm],
  80521. + [
  80522. + save_LIBS="$LIBS"
  80523. + LIBS="$LIBS -lm"
  80524. + AC_LINK_IFELSE(
  80525. + [AC_LANG_PROGRAM([[#ifndef __NO_MATH_INLINES
  80526. + # define __NO_MATH_INLINES 1 /* for glibc */
  80527. + #endif
  80528. + #include <math.h>
  80529. + double (*funcptr) (double, int) = ldexp;
  80530. + double x;]],
  80531. + [[return ldexp (x, -1) > 0;]])],
  80532. + [gl_cv_func_ldexp_in_libm=yes],
  80533. + [gl_cv_func_ldexp_in_libm=no])
  80534. + LIBS="$save_LIBS"
  80535. + ])
  80536. + if test $gl_cv_func_ldexp_in_libm = yes; then
  80537. + LDEXP_LIBM=-lm
  80538. + fi
  80539. + fi
  80540. + AC_SUBST([LDEXP_LIBM])
  80541. +])
  80542. +m4trace:m4/ldexp.m4:38: -1- AC_DEFUN([gl_CHECK_LDEXP_NO_LIBM], [
  80543. + AC_CACHE_CHECK([whether ldexp() can be used without linking with libm],
  80544. + [gl_cv_func_ldexp_no_libm],
  80545. + [
  80546. + AC_LINK_IFELSE(
  80547. + [AC_LANG_PROGRAM([[#ifndef __NO_MATH_INLINES
  80548. + # define __NO_MATH_INLINES 1 /* for glibc */
  80549. + #endif
  80550. + #include <math.h>
  80551. + double (*funcptr) (double, int) = ldexp;
  80552. + double x;]],
  80553. + [[return ldexp (x, -1) > 0;]])],
  80554. + [gl_cv_func_ldexp_no_libm=yes],
  80555. + [gl_cv_func_ldexp_no_libm=no])
  80556. + ])
  80557. +])
  80558. +m4trace:m4/ldexpl.m4:7: -1- AC_DEFUN([gl_FUNC_LDEXPL], [
  80559. + AC_REQUIRE([gl_MATH_H_DEFAULTS])
  80560. + AC_REQUIRE([gl_FUNC_ISNANL]) dnl for ISNANL_LIBM
  80561. + dnl Check whether it's declared.
  80562. + dnl MacOS X 10.3 has ldexpl() in libc but doesn't declare it in <math.h>.
  80563. + AC_CHECK_DECL([ldexpl], , [HAVE_DECL_LDEXPL=0], [#include <math.h>])
  80564. + LDEXPL_LIBM=
  80565. + if test $HAVE_DECL_LDEXPL = 1; then
  80566. + gl_CHECK_LDEXPL_NO_LIBM
  80567. + if test $gl_cv_func_ldexpl_no_libm = no; then
  80568. + AC_CACHE_CHECK([whether ldexpl() can be used with libm],
  80569. + [gl_cv_func_ldexpl_in_libm],
  80570. + [
  80571. + save_LIBS="$LIBS"
  80572. + LIBS="$LIBS -lm"
  80573. + AC_LINK_IFELSE(
  80574. + [AC_LANG_PROGRAM(
  80575. + [[#include <math.h>
  80576. + long double x;]],
  80577. + [[return ldexpl (x, -1) > 0;]])],
  80578. + [gl_cv_func_ldexpl_in_libm=yes],
  80579. + [gl_cv_func_ldexpl_in_libm=no])
  80580. + LIBS="$save_LIBS"
  80581. + ])
  80582. + if test $gl_cv_func_ldexpl_in_libm = yes; then
  80583. + LDEXPL_LIBM=-lm
  80584. + fi
  80585. + fi
  80586. + if test $gl_cv_func_ldexpl_no_libm = yes \
  80587. + || test $gl_cv_func_ldexpl_in_libm = yes; then
  80588. + save_LIBS="$LIBS"
  80589. + LIBS="$LIBS $LDEXPL_LIBM"
  80590. + gl_FUNC_LDEXPL_WORKS
  80591. + LIBS="$save_LIBS"
  80592. + case "$gl_cv_func_ldexpl_works" in
  80593. + *yes) gl_func_ldexpl=yes ;;
  80594. + *) gl_func_ldexpl=no; REPLACE_LDEXPL=1 ;;
  80595. + esac
  80596. + else
  80597. + gl_func_ldexpl=no
  80598. + fi
  80599. + if test $gl_func_ldexpl = yes; then
  80600. + AC_DEFINE([HAVE_LDEXPL], [1],
  80601. + [Define if the ldexpl() function is available.])
  80602. + fi
  80603. + fi
  80604. + if test $HAVE_DECL_LDEXPL = 0 || test $gl_func_ldexpl = no; then
  80605. + AC_LIBOBJ([ldexpl])
  80606. + LDEXPL_LIBM="$ISNANL_LIBM"
  80607. + fi
  80608. + AC_SUBST([LDEXPL_LIBM])
  80609. +])
  80610. +m4trace:m4/ldexpl.m4:63: -1- AC_DEFUN([gl_CHECK_LDEXPL_NO_LIBM], [
  80611. + AC_CACHE_CHECK([whether ldexpl() can be used without linking with libm],
  80612. + [gl_cv_func_ldexpl_no_libm],
  80613. + [
  80614. + AC_LINK_IFELSE(
  80615. + [AC_LANG_PROGRAM(
  80616. + [[#include <math.h>
  80617. + long double x;]],
  80618. + [[return ldexpl (x, -1) > 0;]])],
  80619. + [gl_cv_func_ldexpl_no_libm=yes],
  80620. + [gl_cv_func_ldexpl_no_libm=no])
  80621. + ])
  80622. +])
  80623. +m4trace:m4/ldexpl.m4:80: -1- AC_DEFUN([gl_FUNC_LDEXPL_WORKS], [
  80624. + AC_REQUIRE([AC_PROG_CC])
  80625. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  80626. + AC_CACHE_CHECK([whether ldexpl works], [gl_cv_func_ldexpl_works],
  80627. + [
  80628. + AC_RUN_IFELSE(
  80629. + [AC_LANG_SOURCE([[
  80630. +#include <math.h>
  80631. +extern long double ldexpl (long double, int);
  80632. +int main()
  80633. +{
  80634. + int result = 0;
  80635. + {
  80636. + volatile long double x = 1.0;
  80637. + volatile long double y = ldexpl (x, -1);
  80638. + if (y != 0.5L)
  80639. + result |= 1;
  80640. + }
  80641. + {
  80642. + volatile long double x = 1.73205L;
  80643. + volatile long double y = ldexpl (x, 0);
  80644. + if (y != x)
  80645. + result |= 2;
  80646. + }
  80647. + return result;
  80648. +}]])],
  80649. + [gl_cv_func_ldexpl_works=yes],
  80650. + [gl_cv_func_ldexpl_works=no],
  80651. + [
  80652. +changequote(,)dnl
  80653. + case "$host_os" in
  80654. + aix | aix[3-6]*) gl_cv_func_ldexpl_works="guessing no";;
  80655. + *) gl_cv_func_ldexpl_works="guessing yes";;
  80656. + esac
  80657. +changequote([,])dnl
  80658. + ])
  80659. + ])
  80660. +])
  80661. +m4trace:m4/lib-ld.m4:12: -1- AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld],
  80662. +[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
  80663. +case `$LD -v 2>&1 </dev/null` in
  80664. +*GNU* | *'with BFD'*)
  80665. + acl_cv_prog_gnu_ld=yes ;;
  80666. +*)
  80667. + acl_cv_prog_gnu_ld=no ;;
  80668. +esac])
  80669. +with_gnu_ld=$acl_cv_prog_gnu_ld
  80670. +])
  80671. +m4trace:m4/lib-ld.m4:25: -1- AC_DEFUN([AC_LIB_PROG_LD], [AC_ARG_WITH([gnu-ld],
  80672. +[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
  80673. +test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
  80674. +AC_REQUIRE([AC_PROG_CC])dnl
  80675. +AC_REQUIRE([AC_CANONICAL_HOST])dnl
  80676. +# Prepare PATH_SEPARATOR.
  80677. +# The user is always right.
  80678. +if test "${PATH_SEPARATOR+set}" != set; then
  80679. + # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
  80680. + # contains only /bin. Note that ksh looks also at the FPATH variable,
  80681. + # so we have to set that as well for the test.
  80682. + PATH_SEPARATOR=:
  80683. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  80684. + && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
  80685. + || PATH_SEPARATOR=';'
  80686. + }
  80687. +fi
  80688. +ac_prog=ld
  80689. +if test "$GCC" = yes; then
  80690. + # Check if gcc -print-prog-name=ld gives a path.
  80691. + AC_MSG_CHECKING([for ld used by GCC])
  80692. + case $host in
  80693. + *-*-mingw*)
  80694. + # gcc leaves a trailing carriage return which upsets mingw
  80695. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  80696. + *)
  80697. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  80698. + esac
  80699. + case $ac_prog in
  80700. + # Accept absolute paths.
  80701. + [[\\/]* | [A-Za-z]:[\\/]*)]
  80702. + [re_direlt='/[^/][^/]*/\.\./']
  80703. + # Canonicalize the path of ld
  80704. + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
  80705. + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  80706. + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
  80707. + done
  80708. + test -z "$LD" && LD="$ac_prog"
  80709. + ;;
  80710. + "")
  80711. + # If it fails, then pretend we aren't using GCC.
  80712. + ac_prog=ld
  80713. + ;;
  80714. + *)
  80715. + # If it is relative, then search for the first ld in PATH.
  80716. + with_gnu_ld=unknown
  80717. + ;;
  80718. + esac
  80719. +elif test "$with_gnu_ld" = yes; then
  80720. + AC_MSG_CHECKING([for GNU ld])
  80721. +else
  80722. + AC_MSG_CHECKING([for non-GNU ld])
  80723. +fi
  80724. +AC_CACHE_VAL([acl_cv_path_LD],
  80725. +[if test -z "$LD"; then
  80726. + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  80727. + for ac_dir in $PATH; do
  80728. + test -z "$ac_dir" && ac_dir=.
  80729. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  80730. + acl_cv_path_LD="$ac_dir/$ac_prog"
  80731. + # Check to see if the program is GNU ld. I'd rather use --version,
  80732. + # but apparently some GNU ld's only accept -v.
  80733. + # Break only if it was the GNU/non-GNU ld that we prefer.
  80734. + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
  80735. + *GNU* | *'with BFD'*)
  80736. + test "$with_gnu_ld" != no && break ;;
  80737. + *)
  80738. + test "$with_gnu_ld" != yes && break ;;
  80739. + esac
  80740. + fi
  80741. + done
  80742. + IFS="$ac_save_ifs"
  80743. +else
  80744. + acl_cv_path_LD="$LD" # Let the user override the test with a path.
  80745. +fi])
  80746. +LD="$acl_cv_path_LD"
  80747. +if test -n "$LD"; then
  80748. + AC_MSG_RESULT([$LD])
  80749. +else
  80750. + AC_MSG_RESULT([no])
  80751. +fi
  80752. +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  80753. +AC_LIB_PROG_LD_GNU
  80754. +])
  80755. +m4trace:m4/lib-link.m4:17: -1- AC_DEFUN([AC_LIB_LINKFLAGS], [
  80756. + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
  80757. + AC_REQUIRE([AC_LIB_RPATH])
  80758. + pushdef([Name],[m4_translit([$1],[./+-], [____])])
  80759. + pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
  80760. + [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
  80761. + AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
  80762. + AC_LIB_LINKFLAGS_BODY([$1], [$2])
  80763. + ac_cv_lib[]Name[]_libs="$LIB[]NAME"
  80764. + ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
  80765. + ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
  80766. + ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX"
  80767. + ])
  80768. + LIB[]NAME="$ac_cv_lib[]Name[]_libs"
  80769. + LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
  80770. + INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
  80771. + LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix"
  80772. + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
  80773. + AC_SUBST([LIB]NAME)
  80774. + AC_SUBST([LTLIB]NAME)
  80775. + AC_SUBST([LIB]NAME[_PREFIX])
  80776. + dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
  80777. + dnl results of this search when this library appears as a dependency.
  80778. + HAVE_LIB[]NAME=yes
  80779. + popdef([NAME])
  80780. + popdef([Name])
  80781. +])
  80782. +m4trace:m4/lib-link.m4:57: -1- AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [
  80783. + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
  80784. + AC_REQUIRE([AC_LIB_RPATH])
  80785. + pushdef([Name],[m4_translit([$1],[./+-], [____])])
  80786. + pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
  80787. + [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
  80788. +
  80789. + dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
  80790. + dnl accordingly.
  80791. + AC_LIB_LINKFLAGS_BODY([$1], [$2])
  80792. +
  80793. + dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
  80794. + dnl because if the user has installed lib[]Name and not disabled its use
  80795. + dnl via --without-lib[]Name-prefix, he wants to use it.
  80796. + ac_save_CPPFLAGS="$CPPFLAGS"
  80797. + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
  80798. +
  80799. + AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
  80800. + ac_save_LIBS="$LIBS"
  80801. + dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS,
  80802. + dnl because these -l options might require -L options that are present in
  80803. + dnl LIBS. -l options benefit only from the -L options listed before it.
  80804. + dnl Otherwise, add it to the front of LIBS, because it may be a static
  80805. + dnl library that depends on another static library that is present in LIBS.
  80806. + dnl Static libraries benefit only from the static libraries listed after
  80807. + dnl it.
  80808. + case " $LIB[]NAME" in
  80809. + *" -l"*) LIBS="$LIBS $LIB[]NAME" ;;
  80810. + *) LIBS="$LIB[]NAME $LIBS" ;;
  80811. + esac
  80812. + AC_LINK_IFELSE(
  80813. + [AC_LANG_PROGRAM([[$3]], [[$4]])],
  80814. + [ac_cv_lib[]Name=yes],
  80815. + [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])'])
  80816. + LIBS="$ac_save_LIBS"
  80817. + ])
  80818. + if test "$ac_cv_lib[]Name" = yes; then
  80819. + HAVE_LIB[]NAME=yes
  80820. + AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.])
  80821. + AC_MSG_CHECKING([how to link with lib[]$1])
  80822. + AC_MSG_RESULT([$LIB[]NAME])
  80823. + else
  80824. + HAVE_LIB[]NAME=no
  80825. + dnl If $LIB[]NAME didn't lead to a usable library, we don't need
  80826. + dnl $INC[]NAME either.
  80827. + CPPFLAGS="$ac_save_CPPFLAGS"
  80828. + LIB[]NAME=
  80829. + LTLIB[]NAME=
  80830. + LIB[]NAME[]_PREFIX=
  80831. + fi
  80832. + AC_SUBST([HAVE_LIB]NAME)
  80833. + AC_SUBST([LIB]NAME)
  80834. + AC_SUBST([LTLIB]NAME)
  80835. + AC_SUBST([LIB]NAME[_PREFIX])
  80836. + popdef([NAME])
  80837. + popdef([Name])
  80838. +])
  80839. +m4trace:m4/lib-link.m4:125: -1- AC_DEFUN([AC_LIB_RPATH], [
  80840. + dnl Tell automake >= 1.10 to complain if config.rpath is missing.
  80841. + m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
  80842. + AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
  80843. + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
  80844. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
  80845. + AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
  80846. + AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [
  80847. + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
  80848. + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
  80849. + . ./conftest.sh
  80850. + rm -f ./conftest.sh
  80851. + acl_cv_rpath=done
  80852. + ])
  80853. + wl="$acl_cv_wl"
  80854. + acl_libext="$acl_cv_libext"
  80855. + acl_shlibext="$acl_cv_shlibext"
  80856. + acl_libname_spec="$acl_cv_libname_spec"
  80857. + acl_library_names_spec="$acl_cv_library_names_spec"
  80858. + acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
  80859. + acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
  80860. + acl_hardcode_direct="$acl_cv_hardcode_direct"
  80861. + acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
  80862. + dnl Determine whether the user wants rpath handling at all.
  80863. + AC_ARG_ENABLE([rpath],
  80864. + [ --disable-rpath do not hardcode runtime library paths],
  80865. + :, enable_rpath=yes)
  80866. +])
  80867. +m4trace:m4/lib-link.m4:161: -1- AC_DEFUN([AC_LIB_FROMPACKAGE], [
  80868. + pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
  80869. + [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
  80870. + define([acl_frompackage_]NAME, [$2])
  80871. + popdef([NAME])
  80872. + pushdef([PACK],[$2])
  80873. + pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
  80874. + [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
  80875. + define([acl_libsinpackage_]PACKUP,
  80876. + m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1])
  80877. + popdef([PACKUP])
  80878. + popdef([PACK])
  80879. +])
  80880. +m4trace:m4/lib-link.m4:181: -1- AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [
  80881. + AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
  80882. + pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
  80883. + [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
  80884. + pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])])
  80885. + pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
  80886. + [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
  80887. + pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])])
  80888. + dnl Autoconf >= 2.61 supports dots in --with options.
  80889. + pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[m4_translit(PACK,[.],[_])],PACK)])
  80890. + dnl By default, look in $includedir and $libdir.
  80891. + use_additional=yes
  80892. + AC_LIB_WITH_FINAL_PREFIX([
  80893. + eval additional_includedir=\"$includedir\"
  80894. + eval additional_libdir=\"$libdir\"
  80895. + ])
  80896. + AC_ARG_WITH(P_A_C_K[-prefix],
  80897. +[[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib
  80898. + --without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]],
  80899. +[
  80900. + if test "X$withval" = "Xno"; then
  80901. + use_additional=no
  80902. + else
  80903. + if test "X$withval" = "X"; then
  80904. + AC_LIB_WITH_FINAL_PREFIX([
  80905. + eval additional_includedir=\"$includedir\"
  80906. + eval additional_libdir=\"$libdir\"
  80907. + ])
  80908. + else
  80909. + additional_includedir="$withval/include"
  80910. + additional_libdir="$withval/$acl_libdirstem"
  80911. + if test "$acl_libdirstem2" != "$acl_libdirstem" \
  80912. + && ! test -d "$withval/$acl_libdirstem"; then
  80913. + additional_libdir="$withval/$acl_libdirstem2"
  80914. + fi
  80915. + fi
  80916. + fi
  80917. +])
  80918. + dnl Search the library and its dependencies in $additional_libdir and
  80919. + dnl $LDFLAGS. Using breadth-first-seach.
  80920. + LIB[]NAME=
  80921. + LTLIB[]NAME=
  80922. + INC[]NAME=
  80923. + LIB[]NAME[]_PREFIX=
  80924. + dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been
  80925. + dnl computed. So it has to be reset here.
  80926. + HAVE_LIB[]NAME=
  80927. + rpathdirs=
  80928. + ltrpathdirs=
  80929. + names_already_handled=
  80930. + names_next_round='$1 $2'
  80931. + while test -n "$names_next_round"; do
  80932. + names_this_round="$names_next_round"
  80933. + names_next_round=
  80934. + for name in $names_this_round; do
  80935. + already_handled=
  80936. + for n in $names_already_handled; do
  80937. + if test "$n" = "$name"; then
  80938. + already_handled=yes
  80939. + break
  80940. + fi
  80941. + done
  80942. + if test -z "$already_handled"; then
  80943. + names_already_handled="$names_already_handled $name"
  80944. + dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
  80945. + dnl or AC_LIB_HAVE_LINKFLAGS call.
  80946. + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
  80947. + eval value=\"\$HAVE_LIB$uppername\"
  80948. + if test -n "$value"; then
  80949. + if test "$value" = yes; then
  80950. + eval value=\"\$LIB$uppername\"
  80951. + test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
  80952. + eval value=\"\$LTLIB$uppername\"
  80953. + test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
  80954. + else
  80955. + dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
  80956. + dnl that this library doesn't exist. So just drop it.
  80957. + :
  80958. + fi
  80959. + else
  80960. + dnl Search the library lib$name in $additional_libdir and $LDFLAGS
  80961. + dnl and the already constructed $LIBNAME/$LTLIBNAME.
  80962. + found_dir=
  80963. + found_la=
  80964. + found_so=
  80965. + found_a=
  80966. + eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
  80967. + if test -n "$acl_shlibext"; then
  80968. + shrext=".$acl_shlibext" # typically: shrext=.so
  80969. + else
  80970. + shrext=
  80971. + fi
  80972. + if test $use_additional = yes; then
  80973. + dir="$additional_libdir"
  80974. + dnl The same code as in the loop below:
  80975. + dnl First look for a shared library.
  80976. + if test -n "$acl_shlibext"; then
  80977. + if test -f "$dir/$libname$shrext"; then
  80978. + found_dir="$dir"
  80979. + found_so="$dir/$libname$shrext"
  80980. + else
  80981. + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  80982. + ver=`(cd "$dir" && \
  80983. + for f in "$libname$shrext".*; do echo "$f"; done \
  80984. + | sed -e "s,^$libname$shrext\\\\.,," \
  80985. + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  80986. + | sed 1q ) 2>/dev/null`
  80987. + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  80988. + found_dir="$dir"
  80989. + found_so="$dir/$libname$shrext.$ver"
  80990. + fi
  80991. + else
  80992. + eval library_names=\"$acl_library_names_spec\"
  80993. + for f in $library_names; do
  80994. + if test -f "$dir/$f"; then
  80995. + found_dir="$dir"
  80996. + found_so="$dir/$f"
  80997. + break
  80998. + fi
  80999. + done
  81000. + fi
  81001. + fi
  81002. + fi
  81003. + dnl Then look for a static library.
  81004. + if test "X$found_dir" = "X"; then
  81005. + if test -f "$dir/$libname.$acl_libext"; then
  81006. + found_dir="$dir"
  81007. + found_a="$dir/$libname.$acl_libext"
  81008. + fi
  81009. + fi
  81010. + if test "X$found_dir" != "X"; then
  81011. + if test -f "$dir/$libname.la"; then
  81012. + found_la="$dir/$libname.la"
  81013. + fi
  81014. + fi
  81015. + fi
  81016. + if test "X$found_dir" = "X"; then
  81017. + for x in $LDFLAGS $LTLIB[]NAME; do
  81018. + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  81019. + case "$x" in
  81020. + -L*)
  81021. + dir=`echo "X$x" | sed -e 's/^X-L//'`
  81022. + dnl First look for a shared library.
  81023. + if test -n "$acl_shlibext"; then
  81024. + if test -f "$dir/$libname$shrext"; then
  81025. + found_dir="$dir"
  81026. + found_so="$dir/$libname$shrext"
  81027. + else
  81028. + if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
  81029. + ver=`(cd "$dir" && \
  81030. + for f in "$libname$shrext".*; do echo "$f"; done \
  81031. + | sed -e "s,^$libname$shrext\\\\.,," \
  81032. + | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
  81033. + | sed 1q ) 2>/dev/null`
  81034. + if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
  81035. + found_dir="$dir"
  81036. + found_so="$dir/$libname$shrext.$ver"
  81037. + fi
  81038. + else
  81039. + eval library_names=\"$acl_library_names_spec\"
  81040. + for f in $library_names; do
  81041. + if test -f "$dir/$f"; then
  81042. + found_dir="$dir"
  81043. + found_so="$dir/$f"
  81044. + break
  81045. + fi
  81046. + done
  81047. + fi
  81048. + fi
  81049. + fi
  81050. + dnl Then look for a static library.
  81051. + if test "X$found_dir" = "X"; then
  81052. + if test -f "$dir/$libname.$acl_libext"; then
  81053. + found_dir="$dir"
  81054. + found_a="$dir/$libname.$acl_libext"
  81055. + fi
  81056. + fi
  81057. + if test "X$found_dir" != "X"; then
  81058. + if test -f "$dir/$libname.la"; then
  81059. + found_la="$dir/$libname.la"
  81060. + fi
  81061. + fi
  81062. + ;;
  81063. + esac
  81064. + if test "X$found_dir" != "X"; then
  81065. + break
  81066. + fi
  81067. + done
  81068. + fi
  81069. + if test "X$found_dir" != "X"; then
  81070. + dnl Found the library.
  81071. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
  81072. + if test "X$found_so" != "X"; then
  81073. + dnl Linking with a shared library. We attempt to hardcode its
  81074. + dnl directory into the executable's runpath, unless it's the
  81075. + dnl standard /usr/lib.
  81076. + if test "$enable_rpath" = no \
  81077. + || test "X$found_dir" = "X/usr/$acl_libdirstem" \
  81078. + || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
  81079. + dnl No hardcoding is needed.
  81080. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
  81081. + else
  81082. + dnl Use an explicit option to hardcode DIR into the resulting
  81083. + dnl binary.
  81084. + dnl Potentially add DIR to ltrpathdirs.
  81085. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
  81086. + haveit=
  81087. + for x in $ltrpathdirs; do
  81088. + if test "X$x" = "X$found_dir"; then
  81089. + haveit=yes
  81090. + break
  81091. + fi
  81092. + done
  81093. + if test -z "$haveit"; then
  81094. + ltrpathdirs="$ltrpathdirs $found_dir"
  81095. + fi
  81096. + dnl The hardcoding into $LIBNAME is system dependent.
  81097. + if test "$acl_hardcode_direct" = yes; then
  81098. + dnl Using DIR/libNAME.so during linking hardcodes DIR into the
  81099. + dnl resulting binary.
  81100. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
  81101. + else
  81102. + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
  81103. + dnl Use an explicit option to hardcode DIR into the resulting
  81104. + dnl binary.
  81105. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
  81106. + dnl Potentially add DIR to rpathdirs.
  81107. + dnl The rpathdirs will be appended to $LIBNAME at the end.
  81108. + haveit=
  81109. + for x in $rpathdirs; do
  81110. + if test "X$x" = "X$found_dir"; then
  81111. + haveit=yes
  81112. + break
  81113. + fi
  81114. + done
  81115. + if test -z "$haveit"; then
  81116. + rpathdirs="$rpathdirs $found_dir"
  81117. + fi
  81118. + else
  81119. + dnl Rely on "-L$found_dir".
  81120. + dnl But don't add it if it's already contained in the LDFLAGS
  81121. + dnl or the already constructed $LIBNAME
  81122. + haveit=
  81123. + for x in $LDFLAGS $LIB[]NAME; do
  81124. + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  81125. + if test "X$x" = "X-L$found_dir"; then
  81126. + haveit=yes
  81127. + break
  81128. + fi
  81129. + done
  81130. + if test -z "$haveit"; then
  81131. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
  81132. + fi
  81133. + if test "$acl_hardcode_minus_L" != no; then
  81134. + dnl FIXME: Not sure whether we should use
  81135. + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
  81136. + dnl here.
  81137. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
  81138. + else
  81139. + dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH
  81140. + dnl here, because this doesn't fit in flags passed to the
  81141. + dnl compiler. So give up. No hardcoding. This affects only
  81142. + dnl very old systems.
  81143. + dnl FIXME: Not sure whether we should use
  81144. + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
  81145. + dnl here.
  81146. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
  81147. + fi
  81148. + fi
  81149. + fi
  81150. + fi
  81151. + else
  81152. + if test "X$found_a" != "X"; then
  81153. + dnl Linking with a static library.
  81154. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
  81155. + else
  81156. + dnl We shouldn't come here, but anyway it's good to have a
  81157. + dnl fallback.
  81158. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
  81159. + fi
  81160. + fi
  81161. + dnl Assume the include files are nearby.
  81162. + additional_includedir=
  81163. + case "$found_dir" in
  81164. + */$acl_libdirstem | */$acl_libdirstem/)
  81165. + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
  81166. + if test "$name" = '$1'; then
  81167. + LIB[]NAME[]_PREFIX="$basedir"
  81168. + fi
  81169. + additional_includedir="$basedir/include"
  81170. + ;;
  81171. + */$acl_libdirstem2 | */$acl_libdirstem2/)
  81172. + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
  81173. + if test "$name" = '$1'; then
  81174. + LIB[]NAME[]_PREFIX="$basedir"
  81175. + fi
  81176. + additional_includedir="$basedir/include"
  81177. + ;;
  81178. + esac
  81179. + if test "X$additional_includedir" != "X"; then
  81180. + dnl Potentially add $additional_includedir to $INCNAME.
  81181. + dnl But don't add it
  81182. + dnl 1. if it's the standard /usr/include,
  81183. + dnl 2. if it's /usr/local/include and we are using GCC on Linux,
  81184. + dnl 3. if it's already present in $CPPFLAGS or the already
  81185. + dnl constructed $INCNAME,
  81186. + dnl 4. if it doesn't exist as a directory.
  81187. + if test "X$additional_includedir" != "X/usr/include"; then
  81188. + haveit=
  81189. + if test "X$additional_includedir" = "X/usr/local/include"; then
  81190. + if test -n "$GCC"; then
  81191. + case $host_os in
  81192. + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  81193. + esac
  81194. + fi
  81195. + fi
  81196. + if test -z "$haveit"; then
  81197. + for x in $CPPFLAGS $INC[]NAME; do
  81198. + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  81199. + if test "X$x" = "X-I$additional_includedir"; then
  81200. + haveit=yes
  81201. + break
  81202. + fi
  81203. + done
  81204. + if test -z "$haveit"; then
  81205. + if test -d "$additional_includedir"; then
  81206. + dnl Really add $additional_includedir to $INCNAME.
  81207. + INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
  81208. + fi
  81209. + fi
  81210. + fi
  81211. + fi
  81212. + fi
  81213. + dnl Look for dependencies.
  81214. + if test -n "$found_la"; then
  81215. + dnl Read the .la file. It defines the variables
  81216. + dnl dlname, library_names, old_library, dependency_libs, current,
  81217. + dnl age, revision, installed, dlopen, dlpreopen, libdir.
  81218. + save_libdir="$libdir"
  81219. + case "$found_la" in
  81220. + */* | *\\*) . "$found_la" ;;
  81221. + *) . "./$found_la" ;;
  81222. + esac
  81223. + libdir="$save_libdir"
  81224. + dnl We use only dependency_libs.
  81225. + for dep in $dependency_libs; do
  81226. + case "$dep" in
  81227. + -L*)
  81228. + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
  81229. + dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
  81230. + dnl But don't add it
  81231. + dnl 1. if it's the standard /usr/lib,
  81232. + dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
  81233. + dnl 3. if it's already present in $LDFLAGS or the already
  81234. + dnl constructed $LIBNAME,
  81235. + dnl 4. if it doesn't exist as a directory.
  81236. + if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
  81237. + && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
  81238. + haveit=
  81239. + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
  81240. + || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
  81241. + if test -n "$GCC"; then
  81242. + case $host_os in
  81243. + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  81244. + esac
  81245. + fi
  81246. + fi
  81247. + if test -z "$haveit"; then
  81248. + haveit=
  81249. + for x in $LDFLAGS $LIB[]NAME; do
  81250. + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  81251. + if test "X$x" = "X-L$additional_libdir"; then
  81252. + haveit=yes
  81253. + break
  81254. + fi
  81255. + done
  81256. + if test -z "$haveit"; then
  81257. + if test -d "$additional_libdir"; then
  81258. + dnl Really add $additional_libdir to $LIBNAME.
  81259. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
  81260. + fi
  81261. + fi
  81262. + haveit=
  81263. + for x in $LDFLAGS $LTLIB[]NAME; do
  81264. + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  81265. + if test "X$x" = "X-L$additional_libdir"; then
  81266. + haveit=yes
  81267. + break
  81268. + fi
  81269. + done
  81270. + if test -z "$haveit"; then
  81271. + if test -d "$additional_libdir"; then
  81272. + dnl Really add $additional_libdir to $LTLIBNAME.
  81273. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
  81274. + fi
  81275. + fi
  81276. + fi
  81277. + fi
  81278. + ;;
  81279. + -R*)
  81280. + dir=`echo "X$dep" | sed -e 's/^X-R//'`
  81281. + if test "$enable_rpath" != no; then
  81282. + dnl Potentially add DIR to rpathdirs.
  81283. + dnl The rpathdirs will be appended to $LIBNAME at the end.
  81284. + haveit=
  81285. + for x in $rpathdirs; do
  81286. + if test "X$x" = "X$dir"; then
  81287. + haveit=yes
  81288. + break
  81289. + fi
  81290. + done
  81291. + if test -z "$haveit"; then
  81292. + rpathdirs="$rpathdirs $dir"
  81293. + fi
  81294. + dnl Potentially add DIR to ltrpathdirs.
  81295. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
  81296. + haveit=
  81297. + for x in $ltrpathdirs; do
  81298. + if test "X$x" = "X$dir"; then
  81299. + haveit=yes
  81300. + break
  81301. + fi
  81302. + done
  81303. + if test -z "$haveit"; then
  81304. + ltrpathdirs="$ltrpathdirs $dir"
  81305. + fi
  81306. + fi
  81307. + ;;
  81308. + -l*)
  81309. + dnl Handle this in the next round.
  81310. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
  81311. + ;;
  81312. + *.la)
  81313. + dnl Handle this in the next round. Throw away the .la's
  81314. + dnl directory; it is already contained in a preceding -L
  81315. + dnl option.
  81316. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
  81317. + ;;
  81318. + *)
  81319. + dnl Most likely an immediate library name.
  81320. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
  81321. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
  81322. + ;;
  81323. + esac
  81324. + done
  81325. + fi
  81326. + else
  81327. + dnl Didn't find the library; assume it is in the system directories
  81328. + dnl known to the linker and runtime loader. (All the system
  81329. + dnl directories known to the linker should also be known to the
  81330. + dnl runtime loader, otherwise the system is severely misconfigured.)
  81331. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
  81332. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
  81333. + fi
  81334. + fi
  81335. + fi
  81336. + done
  81337. + done
  81338. + if test "X$rpathdirs" != "X"; then
  81339. + if test -n "$acl_hardcode_libdir_separator"; then
  81340. + dnl Weird platform: only the last -rpath option counts, the user must
  81341. + dnl pass all path elements in one option. We can arrange that for a
  81342. + dnl single library, but not when more than one $LIBNAMEs are used.
  81343. + alldirs=
  81344. + for found_dir in $rpathdirs; do
  81345. + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
  81346. + done
  81347. + dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl.
  81348. + acl_save_libdir="$libdir"
  81349. + libdir="$alldirs"
  81350. + eval flag=\"$acl_hardcode_libdir_flag_spec\"
  81351. + libdir="$acl_save_libdir"
  81352. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
  81353. + else
  81354. + dnl The -rpath options are cumulative.
  81355. + for found_dir in $rpathdirs; do
  81356. + acl_save_libdir="$libdir"
  81357. + libdir="$found_dir"
  81358. + eval flag=\"$acl_hardcode_libdir_flag_spec\"
  81359. + libdir="$acl_save_libdir"
  81360. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
  81361. + done
  81362. + fi
  81363. + fi
  81364. + if test "X$ltrpathdirs" != "X"; then
  81365. + dnl When using libtool, the option that works for both libraries and
  81366. + dnl executables is -R. The -R options are cumulative.
  81367. + for found_dir in $ltrpathdirs; do
  81368. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
  81369. + done
  81370. + fi
  81371. + popdef([P_A_C_K])
  81372. + popdef([PACKLIBS])
  81373. + popdef([PACKUP])
  81374. + popdef([PACK])
  81375. + popdef([NAME])
  81376. +])
  81377. +m4trace:m4/lib-link.m4:684: -1- AC_DEFUN([AC_LIB_APPENDTOVAR], [
  81378. + for element in [$2]; do
  81379. + haveit=
  81380. + for x in $[$1]; do
  81381. + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  81382. + if test "X$x" = "X$element"; then
  81383. + haveit=yes
  81384. + break
  81385. + fi
  81386. + done
  81387. + if test -z "$haveit"; then
  81388. + [$1]="${[$1]}${[$1]:+ }$element"
  81389. + fi
  81390. + done
  81391. +])
  81392. +m4trace:m4/lib-link.m4:708: -1- AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [
  81393. + AC_REQUIRE([AC_LIB_RPATH])
  81394. + AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
  81395. + $1=
  81396. + if test "$enable_rpath" != no; then
  81397. + if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
  81398. + dnl Use an explicit option to hardcode directories into the resulting
  81399. + dnl binary.
  81400. + rpathdirs=
  81401. + next=
  81402. + for opt in $2; do
  81403. + if test -n "$next"; then
  81404. + dir="$next"
  81405. + dnl No need to hardcode the standard /usr/lib.
  81406. + if test "X$dir" != "X/usr/$acl_libdirstem" \
  81407. + && test "X$dir" != "X/usr/$acl_libdirstem2"; then
  81408. + rpathdirs="$rpathdirs $dir"
  81409. + fi
  81410. + next=
  81411. + else
  81412. + case $opt in
  81413. + -L) next=yes ;;
  81414. + -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
  81415. + dnl No need to hardcode the standard /usr/lib.
  81416. + if test "X$dir" != "X/usr/$acl_libdirstem" \
  81417. + && test "X$dir" != "X/usr/$acl_libdirstem2"; then
  81418. + rpathdirs="$rpathdirs $dir"
  81419. + fi
  81420. + next= ;;
  81421. + *) next= ;;
  81422. + esac
  81423. + fi
  81424. + done
  81425. + if test "X$rpathdirs" != "X"; then
  81426. + if test -n ""$3""; then
  81427. + dnl libtool is used for linking. Use -R options.
  81428. + for dir in $rpathdirs; do
  81429. + $1="${$1}${$1:+ }-R$dir"
  81430. + done
  81431. + else
  81432. + dnl The linker is used for linking directly.
  81433. + if test -n "$acl_hardcode_libdir_separator"; then
  81434. + dnl Weird platform: only the last -rpath option counts, the user
  81435. + dnl must pass all path elements in one option.
  81436. + alldirs=
  81437. + for dir in $rpathdirs; do
  81438. + alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir"
  81439. + done
  81440. + acl_save_libdir="$libdir"
  81441. + libdir="$alldirs"
  81442. + eval flag=\"$acl_hardcode_libdir_flag_spec\"
  81443. + libdir="$acl_save_libdir"
  81444. + $1="$flag"
  81445. + else
  81446. + dnl The -rpath options are cumulative.
  81447. + for dir in $rpathdirs; do
  81448. + acl_save_libdir="$libdir"
  81449. + libdir="$dir"
  81450. + eval flag=\"$acl_hardcode_libdir_flag_spec\"
  81451. + libdir="$acl_save_libdir"
  81452. + $1="${$1}${$1:+ }$flag"
  81453. + done
  81454. + fi
  81455. + fi
  81456. + fi
  81457. + fi
  81458. + fi
  81459. + AC_SUBST([$1])
  81460. +])
  81461. +m4trace:m4/lib-prefix.m4:12: -1- AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])
  81462. +m4trace:m4/lib-prefix.m4:22: -1- AC_DEFUN([AC_LIB_PREFIX], [
  81463. + AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
  81464. + AC_REQUIRE([AC_PROG_CC])
  81465. + AC_REQUIRE([AC_CANONICAL_HOST])
  81466. + AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
  81467. + AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
  81468. + dnl By default, look in $includedir and $libdir.
  81469. + use_additional=yes
  81470. + AC_LIB_WITH_FINAL_PREFIX([
  81471. + eval additional_includedir=\"$includedir\"
  81472. + eval additional_libdir=\"$libdir\"
  81473. + ])
  81474. + AC_LIB_ARG_WITH([lib-prefix],
  81475. +[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
  81476. + --without-lib-prefix don't search for libraries in includedir and libdir],
  81477. +[
  81478. + if test "X$withval" = "Xno"; then
  81479. + use_additional=no
  81480. + else
  81481. + if test "X$withval" = "X"; then
  81482. + AC_LIB_WITH_FINAL_PREFIX([
  81483. + eval additional_includedir=\"$includedir\"
  81484. + eval additional_libdir=\"$libdir\"
  81485. + ])
  81486. + else
  81487. + additional_includedir="$withval/include"
  81488. + additional_libdir="$withval/$acl_libdirstem"
  81489. + fi
  81490. + fi
  81491. +])
  81492. + if test $use_additional = yes; then
  81493. + dnl Potentially add $additional_includedir to $CPPFLAGS.
  81494. + dnl But don't add it
  81495. + dnl 1. if it's the standard /usr/include,
  81496. + dnl 2. if it's already present in $CPPFLAGS,
  81497. + dnl 3. if it's /usr/local/include and we are using GCC on Linux,
  81498. + dnl 4. if it doesn't exist as a directory.
  81499. + if test "X$additional_includedir" != "X/usr/include"; then
  81500. + haveit=
  81501. + for x in $CPPFLAGS; do
  81502. + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  81503. + if test "X$x" = "X-I$additional_includedir"; then
  81504. + haveit=yes
  81505. + break
  81506. + fi
  81507. + done
  81508. + if test -z "$haveit"; then
  81509. + if test "X$additional_includedir" = "X/usr/local/include"; then
  81510. + if test -n "$GCC"; then
  81511. + case $host_os in
  81512. + linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  81513. + esac
  81514. + fi
  81515. + fi
  81516. + if test -z "$haveit"; then
  81517. + if test -d "$additional_includedir"; then
  81518. + dnl Really add $additional_includedir to $CPPFLAGS.
  81519. + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
  81520. + fi
  81521. + fi
  81522. + fi
  81523. + fi
  81524. + dnl Potentially add $additional_libdir to $LDFLAGS.
  81525. + dnl But don't add it
  81526. + dnl 1. if it's the standard /usr/lib,
  81527. + dnl 2. if it's already present in $LDFLAGS,
  81528. + dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
  81529. + dnl 4. if it doesn't exist as a directory.
  81530. + if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
  81531. + haveit=
  81532. + for x in $LDFLAGS; do
  81533. + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  81534. + if test "X$x" = "X-L$additional_libdir"; then
  81535. + haveit=yes
  81536. + break
  81537. + fi
  81538. + done
  81539. + if test -z "$haveit"; then
  81540. + if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
  81541. + if test -n "$GCC"; then
  81542. + case $host_os in
  81543. + linux*) haveit=yes;;
  81544. + esac
  81545. + fi
  81546. + fi
  81547. + if test -z "$haveit"; then
  81548. + if test -d "$additional_libdir"; then
  81549. + dnl Really add $additional_libdir to $LDFLAGS.
  81550. + LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
  81551. + fi
  81552. + fi
  81553. + fi
  81554. + fi
  81555. + fi
  81556. +])
  81557. +m4trace:m4/lib-prefix.m4:122: -1- AC_DEFUN([AC_LIB_PREPARE_PREFIX], [
  81558. + dnl Unfortunately, prefix and exec_prefix get only finally determined
  81559. + dnl at the end of configure.
  81560. + if test "X$prefix" = "XNONE"; then
  81561. + acl_final_prefix="$ac_default_prefix"
  81562. + else
  81563. + acl_final_prefix="$prefix"
  81564. + fi
  81565. + if test "X$exec_prefix" = "XNONE"; then
  81566. + acl_final_exec_prefix='${prefix}'
  81567. + else
  81568. + acl_final_exec_prefix="$exec_prefix"
  81569. + fi
  81570. + acl_save_prefix="$prefix"
  81571. + prefix="$acl_final_prefix"
  81572. + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
  81573. + prefix="$acl_save_prefix"
  81574. +])
  81575. +m4trace:m4/lib-prefix.m4:145: -1- AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [
  81576. + acl_save_prefix="$prefix"
  81577. + prefix="$acl_final_prefix"
  81578. + acl_save_exec_prefix="$exec_prefix"
  81579. + exec_prefix="$acl_final_exec_prefix"
  81580. + $1
  81581. + exec_prefix="$acl_save_exec_prefix"
  81582. + prefix="$acl_save_prefix"
  81583. +])
  81584. +m4trace:m4/lib-prefix.m4:162: -1- AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [
  81585. + dnl There is no formal standard regarding lib and lib64.
  81586. + dnl On glibc systems, the current practice is that on a system supporting
  81587. + dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
  81588. + dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine
  81589. + dnl the compiler's default mode by looking at the compiler's library search
  81590. + dnl path. If at least one of its elements ends in /lib64 or points to a
  81591. + dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI.
  81592. + dnl Otherwise we use the default, namely "lib".
  81593. + dnl On Solaris systems, the current practice is that on a system supporting
  81594. + dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
  81595. + dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or
  81596. + dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib.
  81597. + AC_REQUIRE([AC_CANONICAL_HOST])
  81598. + acl_libdirstem=lib
  81599. + acl_libdirstem2=
  81600. + case "$host_os" in
  81601. + solaris*)
  81602. + dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment
  81603. + dnl <http://docs.sun.com/app/docs/doc/816-5138/dev-env?l=en&a=view>.
  81604. + dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link."
  81605. + dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the
  81606. + dnl symlink is missing, so we set acl_libdirstem2 too.
  81607. + AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit],
  81608. + [AC_EGREP_CPP([sixtyfour bits], [
  81609. +#ifdef _LP64
  81610. +sixtyfour bits
  81611. +#endif
  81612. + ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no])
  81613. + ])
  81614. + if test $gl_cv_solaris_64bit = yes; then
  81615. + acl_libdirstem=lib/64
  81616. + case "$host_cpu" in
  81617. + sparc*) acl_libdirstem2=lib/sparcv9 ;;
  81618. + i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
  81619. + esac
  81620. + fi
  81621. + ;;
  81622. + *)
  81623. + searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
  81624. + if test -n "$searchpath"; then
  81625. + acl_save_IFS="${IFS= }"; IFS=":"
  81626. + for searchdir in $searchpath; do
  81627. + if test -d "$searchdir"; then
  81628. + case "$searchdir" in
  81629. + */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
  81630. + */../ | */.. )
  81631. + # Better ignore directories of this form. They are misleading.
  81632. + ;;
  81633. + *) searchdir=`cd "$searchdir" && pwd`
  81634. + case "$searchdir" in
  81635. + */lib64 ) acl_libdirstem=lib64 ;;
  81636. + esac ;;
  81637. + esac
  81638. + fi
  81639. + done
  81640. + IFS="$acl_save_IFS"
  81641. + fi
  81642. + ;;
  81643. + esac
  81644. + test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
  81645. +])
  81646. +m4trace:m4/libsigsegv.m4:9: -1- AC_DEFUN([gl_LIBSIGSEGV], [
  81647. + AC_LIB_HAVE_LINKFLAGS([sigsegv], [],
  81648. + [#include <sigsegv.h>], [sigsegv_deinstall_handler();],
  81649. + [no, consider installing GNU libsigsegv])
  81650. + dnl Some other autoconf macros and clisp's configure use this variable.
  81651. + gl_cv_lib_sigsegv="$ac_cv_libsigsegv"
  81652. +])
  81653. +m4trace:m4/link.m4:7: -1- AC_DEFUN([gl_FUNC_LINK], [
  81654. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
  81655. + AC_CHECK_FUNCS_ONCE([link])
  81656. + if test $ac_cv_func_link = no; then
  81657. + HAVE_LINK=0
  81658. + AC_LIBOBJ([link])
  81659. + else
  81660. + AC_CACHE_CHECK([whether link handles trailing slash correctly],
  81661. + [gl_cv_func_link_works],
  81662. + [touch conftest.a
  81663. + # Assume that if we have lstat, we can also check symlinks.
  81664. + if test $ac_cv_func_lstat = yes; then
  81665. + ln -s conftest.a conftest.lnk
  81666. + fi
  81667. + AC_RUN_IFELSE(
  81668. + [AC_LANG_PROGRAM(
  81669. + [[#include <unistd.h>
  81670. + ]],
  81671. + [[int result = 0;
  81672. + if (!link ("conftest.a", "conftest.b/"))
  81673. + result |= 1;
  81674. +#if HAVE_LSTAT
  81675. + if (!link ("conftest.lnk/", "conftest.b"))
  81676. + result |= 2;
  81677. +#endif
  81678. + return result;
  81679. + ]])],
  81680. + [gl_cv_func_link_works=yes], [gl_cv_func_link_works=no],
  81681. + [gl_cv_func_link_works="guessing no"])
  81682. + rm -f conftest.a conftest.b conftest.lnk])
  81683. + if test "$gl_cv_func_link_works" != yes; then
  81684. + REPLACE_LINK=1
  81685. + AC_LIBOBJ([link])
  81686. + fi
  81687. + fi
  81688. +])
  81689. +m4trace:m4/localcharset.m4:7: -1- AC_DEFUN([gl_LOCALCHARSET], [
  81690. + dnl Prerequisites of lib/localcharset.c.
  81691. + AC_REQUIRE([AM_LANGINFO_CODESET])
  81692. + AC_REQUIRE([gl_FCNTL_O_FLAGS])
  81693. + AC_CHECK_DECLS_ONCE([getc_unlocked])
  81694. +
  81695. + dnl Prerequisites of the lib/Makefile.am snippet.
  81696. + AC_REQUIRE([AC_CANONICAL_HOST])
  81697. + AC_REQUIRE([gl_GLIBC21])
  81698. +])
  81699. +m4trace:m4/locale-fr.m4:10: -1- AC_DEFUN([gt_LOCALE_FR], [
  81700. + AC_REQUIRE([AC_CANONICAL_HOST])
  81701. + AC_REQUIRE([AM_LANGINFO_CODESET])
  81702. + AC_CACHE_CHECK([for a traditional french locale], [gt_cv_locale_fr], [
  81703. + AC_LANG_CONFTEST([AC_LANG_SOURCE([
  81704. +changequote(,)dnl
  81705. +#include <locale.h>
  81706. +#include <time.h>
  81707. +#if HAVE_LANGINFO_CODESET
  81708. +# include <langinfo.h>
  81709. +#endif
  81710. +#include <stdlib.h>
  81711. +#include <string.h>
  81712. +struct tm t;
  81713. +char buf[16];
  81714. +int main () {
  81715. + /* Check whether the given locale name is recognized by the system. */
  81716. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  81717. + /* On native Win32, setlocale(category, "") looks at the system settings,
  81718. + not at the environment variables. Also, when an encoding suffix such
  81719. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  81720. + category of the locale to "C". */
  81721. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  81722. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  81723. + return 1;
  81724. +#else
  81725. + if (setlocale (LC_ALL, "") == NULL) return 1;
  81726. +#endif
  81727. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  81728. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  81729. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  81730. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  81731. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  81732. + some unit tests fail.
  81733. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  81734. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  81735. +#if HAVE_LANGINFO_CODESET
  81736. + {
  81737. + const char *cs = nl_langinfo (CODESET);
  81738. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  81739. + || strcmp (cs, "UTF-8") == 0)
  81740. + return 1;
  81741. + }
  81742. +#endif
  81743. +#ifdef __CYGWIN__
  81744. + /* On Cygwin, avoid locale names without encoding suffix, because the
  81745. + locale_charset() function relies on the encoding suffix. Note that
  81746. + LC_ALL is set on the command line. */
  81747. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  81748. +#endif
  81749. + /* Check whether in the abbreviation of the second month, the second
  81750. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
  81751. + one byte long. This excludes the UTF-8 encoding. */
  81752. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  81753. + if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
  81754. + /* Check whether the decimal separator is a comma.
  81755. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  81756. + are nl_langinfo(RADIXCHAR) are both ".". */
  81757. + if (localeconv () ->decimal_point[0] != ',') return 1;
  81758. + return 0;
  81759. +}
  81760. +changequote([,])dnl
  81761. + ])])
  81762. + if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then
  81763. + case "$host_os" in
  81764. + # Handle native Windows specially, because there setlocale() interprets
  81765. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  81766. + # "fr" or "fra" as "French" or "French_France.1252",
  81767. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  81768. + # "ja" as "Japanese" or "Japanese_Japan.932",
  81769. + # and similar.
  81770. + mingw*)
  81771. + # Test for the native Win32 locale name.
  81772. + if (LC_ALL=French_France.1252 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  81773. + gt_cv_locale_fr=French_France.1252
  81774. + else
  81775. + # None found.
  81776. + gt_cv_locale_fr=none
  81777. + fi
  81778. + ;;
  81779. + *)
  81780. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  81781. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  81782. + # configure script would override the LC_ALL setting. Likewise for
  81783. + # LC_CTYPE, which is also set at the beginning of the configure script.
  81784. + # Test for the usual locale name.
  81785. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  81786. + gt_cv_locale_fr=fr_FR
  81787. + else
  81788. + # Test for the locale name with explicit encoding suffix.
  81789. + if (LC_ALL=fr_FR.ISO-8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  81790. + gt_cv_locale_fr=fr_FR.ISO-8859-1
  81791. + else
  81792. + # Test for the AIX, OSF/1, FreeBSD, NetBSD, OpenBSD locale name.
  81793. + if (LC_ALL=fr_FR.ISO8859-1 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  81794. + gt_cv_locale_fr=fr_FR.ISO8859-1
  81795. + else
  81796. + # Test for the HP-UX locale name.
  81797. + if (LC_ALL=fr_FR.iso88591 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  81798. + gt_cv_locale_fr=fr_FR.iso88591
  81799. + else
  81800. + # Test for the Solaris 7 locale name.
  81801. + if (LC_ALL=fr LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  81802. + gt_cv_locale_fr=fr
  81803. + else
  81804. + # None found.
  81805. + gt_cv_locale_fr=none
  81806. + fi
  81807. + fi
  81808. + fi
  81809. + fi
  81810. + fi
  81811. + ;;
  81812. + esac
  81813. + fi
  81814. + rm -fr conftest*
  81815. + ])
  81816. + LOCALE_FR=$gt_cv_locale_fr
  81817. + AC_SUBST([LOCALE_FR])
  81818. +])
  81819. +m4trace:m4/locale-fr.m4:133: -1- AC_DEFUN([gt_LOCALE_FR_UTF8], [
  81820. + AC_REQUIRE([AM_LANGINFO_CODESET])
  81821. + AC_CACHE_CHECK([for a french Unicode locale], [gt_cv_locale_fr_utf8], [
  81822. + AC_LANG_CONFTEST([AC_LANG_SOURCE([
  81823. +changequote(,)dnl
  81824. +#include <locale.h>
  81825. +#include <time.h>
  81826. +#if HAVE_LANGINFO_CODESET
  81827. +# include <langinfo.h>
  81828. +#endif
  81829. +#include <stdlib.h>
  81830. +#include <string.h>
  81831. +struct tm t;
  81832. +char buf[16];
  81833. +int main () {
  81834. + /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl
  81835. + imitates locale dependent behaviour by looking at the environment
  81836. + variables, and all locales use the UTF-8 encoding. */
  81837. +#if !(defined __BEOS__ || defined __HAIKU__)
  81838. + /* Check whether the given locale name is recognized by the system. */
  81839. +# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  81840. + /* On native Win32, setlocale(category, "") looks at the system settings,
  81841. + not at the environment variables. Also, when an encoding suffix such
  81842. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  81843. + category of the locale to "C". */
  81844. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  81845. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  81846. + return 1;
  81847. +# else
  81848. + if (setlocale (LC_ALL, "") == NULL) return 1;
  81849. +# endif
  81850. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  81851. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  81852. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  81853. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  81854. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  81855. + some unit tests fail. */
  81856. +# if HAVE_LANGINFO_CODESET
  81857. + {
  81858. + const char *cs = nl_langinfo (CODESET);
  81859. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  81860. + return 1;
  81861. + }
  81862. +# endif
  81863. +# ifdef __CYGWIN__
  81864. + /* On Cygwin, avoid locale names without encoding suffix, because the
  81865. + locale_charset() function relies on the encoding suffix. Note that
  81866. + LC_ALL is set on the command line. */
  81867. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  81868. +# endif
  81869. + /* Check whether in the abbreviation of the second month, the second
  81870. + character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
  81871. + two bytes long, with UTF-8 encoding. */
  81872. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  81873. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  81874. + || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
  81875. + return 1;
  81876. +#endif
  81877. + /* Check whether the decimal separator is a comma.
  81878. + On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point
  81879. + are nl_langinfo(RADIXCHAR) are both ".". */
  81880. + if (localeconv () ->decimal_point[0] != ',') return 1;
  81881. + return 0;
  81882. +}
  81883. +changequote([,])dnl
  81884. + ])])
  81885. + if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then
  81886. + case "$host_os" in
  81887. + # Handle native Windows specially, because there setlocale() interprets
  81888. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  81889. + # "fr" or "fra" as "French" or "French_France.1252",
  81890. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  81891. + # "ja" as "Japanese" or "Japanese_Japan.932",
  81892. + # and similar.
  81893. + mingw*)
  81894. + # Test for the hypothetical native Win32 locale name.
  81895. + if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  81896. + gt_cv_locale_fr_utf8=French_France.65001
  81897. + else
  81898. + # None found.
  81899. + gt_cv_locale_fr_utf8=none
  81900. + fi
  81901. + ;;
  81902. + *)
  81903. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  81904. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  81905. + # configure script would override the LC_ALL setting. Likewise for
  81906. + # LC_CTYPE, which is also set at the beginning of the configure script.
  81907. + # Test for the usual locale name.
  81908. + if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  81909. + gt_cv_locale_fr_utf8=fr_FR
  81910. + else
  81911. + # Test for the locale name with explicit encoding suffix.
  81912. + if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  81913. + gt_cv_locale_fr_utf8=fr_FR.UTF-8
  81914. + else
  81915. + # Test for the Solaris 7 locale name.
  81916. + if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  81917. + gt_cv_locale_fr_utf8=fr.UTF-8
  81918. + else
  81919. + # None found.
  81920. + gt_cv_locale_fr_utf8=none
  81921. + fi
  81922. + fi
  81923. + fi
  81924. + ;;
  81925. + esac
  81926. + fi
  81927. + rm -fr conftest*
  81928. + ])
  81929. + LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8
  81930. + AC_SUBST([LOCALE_FR_UTF8])
  81931. +])
  81932. +m4trace:m4/locale-ja.m4:10: -1- AC_DEFUN([gt_LOCALE_JA], [
  81933. + AC_REQUIRE([AC_CANONICAL_HOST])
  81934. + AC_REQUIRE([AM_LANGINFO_CODESET])
  81935. + AC_CACHE_CHECK([for a traditional japanese locale], [gt_cv_locale_ja], [
  81936. + AC_LANG_CONFTEST([AC_LANG_SOURCE([
  81937. +changequote(,)dnl
  81938. +#include <locale.h>
  81939. +#include <time.h>
  81940. +#if HAVE_LANGINFO_CODESET
  81941. +# include <langinfo.h>
  81942. +#endif
  81943. +#include <stdlib.h>
  81944. +#include <string.h>
  81945. +struct tm t;
  81946. +char buf[16];
  81947. +int main ()
  81948. +{
  81949. + const char *p;
  81950. + /* Check whether the given locale name is recognized by the system. */
  81951. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  81952. + /* On native Win32, setlocale(category, "") looks at the system settings,
  81953. + not at the environment variables. Also, when an encoding suffix such
  81954. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  81955. + category of the locale to "C". */
  81956. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  81957. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  81958. + return 1;
  81959. +#else
  81960. + if (setlocale (LC_ALL, "") == NULL) return 1;
  81961. +#endif
  81962. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  81963. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  81964. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  81965. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  81966. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  81967. + some unit tests fail.
  81968. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  81969. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  81970. +#if HAVE_LANGINFO_CODESET
  81971. + {
  81972. + const char *cs = nl_langinfo (CODESET);
  81973. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  81974. + || strcmp (cs, "UTF-8") == 0)
  81975. + return 1;
  81976. + }
  81977. +#endif
  81978. +#ifdef __CYGWIN__
  81979. + /* On Cygwin, avoid locale names without encoding suffix, because the
  81980. + locale_charset() function relies on the encoding suffix. Note that
  81981. + LC_ALL is set on the command line. */
  81982. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  81983. +#endif
  81984. + /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales
  81985. + on Cygwin 1.5.x. */
  81986. + if (MB_CUR_MAX == 1)
  81987. + return 1;
  81988. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  81989. + This excludes the UTF-8 encoding (except on MirBSD). */
  81990. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  81991. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  81992. + for (p = buf; *p != '\0'; p++)
  81993. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  81994. + return 1;
  81995. + return 0;
  81996. +}
  81997. +changequote([,])dnl
  81998. + ])])
  81999. + if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then
  82000. + case "$host_os" in
  82001. + # Handle native Windows specially, because there setlocale() interprets
  82002. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  82003. + # "fr" or "fra" as "French" or "French_France.1252",
  82004. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  82005. + # "ja" as "Japanese" or "Japanese_Japan.932",
  82006. + # and similar.
  82007. + mingw*)
  82008. + # Note that on native Win32, the Japanese locale is Japanese_Japan.932,
  82009. + # and CP932 is very different from EUC-JP, so we cannot use it here.
  82010. + gt_cv_locale_ja=none
  82011. + ;;
  82012. + *)
  82013. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  82014. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  82015. + # configure script would override the LC_ALL setting. Likewise for
  82016. + # LC_CTYPE, which is also set at the beginning of the configure script.
  82017. + # Test for the AIX locale name.
  82018. + if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  82019. + gt_cv_locale_ja=ja_JP
  82020. + else
  82021. + # Test for the locale name with explicit encoding suffix.
  82022. + if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  82023. + gt_cv_locale_ja=ja_JP.EUC-JP
  82024. + else
  82025. + # Test for the HP-UX, OSF/1, NetBSD locale name.
  82026. + if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  82027. + gt_cv_locale_ja=ja_JP.eucJP
  82028. + else
  82029. + # Test for the IRIX, FreeBSD locale name.
  82030. + if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  82031. + gt_cv_locale_ja=ja_JP.EUC
  82032. + else
  82033. + # Test for the Solaris 7 locale name.
  82034. + if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  82035. + gt_cv_locale_ja=ja
  82036. + else
  82037. + # Special test for NetBSD 1.6.
  82038. + if test -f /usr/share/locale/ja_JP.eucJP/LC_CTYPE; then
  82039. + gt_cv_locale_ja=ja_JP.eucJP
  82040. + else
  82041. + # None found.
  82042. + gt_cv_locale_ja=none
  82043. + fi
  82044. + fi
  82045. + fi
  82046. + fi
  82047. + fi
  82048. + fi
  82049. + ;;
  82050. + esac
  82051. + fi
  82052. + rm -fr conftest*
  82053. + ])
  82054. + LOCALE_JA=$gt_cv_locale_ja
  82055. + AC_SUBST([LOCALE_JA])
  82056. +])
  82057. +m4trace:m4/locale-tr.m4:10: -1- AC_DEFUN([gt_LOCALE_TR_UTF8], [
  82058. + AC_REQUIRE([AC_CANONICAL_HOST])
  82059. + AC_REQUIRE([AM_LANGINFO_CODESET])
  82060. + AC_CACHE_CHECK([for a turkish Unicode locale], [gt_cv_locale_tr_utf8], [
  82061. + AC_LANG_CONFTEST([AC_LANG_SOURCE([
  82062. +changequote(,)dnl
  82063. +#include <locale.h>
  82064. +#include <time.h>
  82065. +#if HAVE_LANGINFO_CODESET
  82066. +# include <langinfo.h>
  82067. +#endif
  82068. +#include <stdlib.h>
  82069. +#include <string.h>
  82070. +struct tm t;
  82071. +char buf[16];
  82072. +int main () {
  82073. + /* On BeOS, locales are not implemented in libc. Rather, libintl
  82074. + imitates locale dependent behaviour by looking at the environment
  82075. + variables, and all locales use the UTF-8 encoding. But BeOS does not
  82076. + implement the Turkish upper-/lowercase mappings. Therefore, let this
  82077. + program return 1 on BeOS. */
  82078. + /* Check whether the given locale name is recognized by the system. */
  82079. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  82080. + /* On native Win32, setlocale(category, "") looks at the system settings,
  82081. + not at the environment variables. Also, when an encoding suffix such
  82082. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  82083. + category of the locale to "C". */
  82084. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  82085. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  82086. + return 1;
  82087. +#else
  82088. + if (setlocale (LC_ALL, "") == NULL) return 1;
  82089. +#endif
  82090. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  82091. + On MacOS X 10.3.5 (Darwin 7.5) in the tr_TR locale, nl_langinfo(CODESET)
  82092. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  82093. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  82094. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  82095. + some unit tests fail. */
  82096. +#if HAVE_LANGINFO_CODESET
  82097. + {
  82098. + const char *cs = nl_langinfo (CODESET);
  82099. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0)
  82100. + return 1;
  82101. + }
  82102. +#endif
  82103. +#ifdef __CYGWIN__
  82104. + /* On Cygwin, avoid locale names without encoding suffix, because the
  82105. + locale_charset() function relies on the encoding suffix. Note that
  82106. + LC_ALL is set on the command line. */
  82107. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  82108. +#endif
  82109. + /* Check whether in the abbreviation of the eighth month, the second
  82110. + character (should be U+011F: LATIN SMALL LETTER G WITH BREVE) is
  82111. + two bytes long, with UTF-8 encoding. */
  82112. + t.tm_year = 1992 - 1900; t.tm_mon = 8 - 1; t.tm_mday = 19;
  82113. + if (strftime (buf, sizeof (buf), "%b", &t) < 4
  82114. + || buf[1] != (char) 0xc4 || buf[2] != (char) 0x9f)
  82115. + return 1;
  82116. + /* Check whether the upper-/lowercase mappings are as expected for
  82117. + Turkish. */
  82118. + if (towupper ('i') != 0x0130 || towlower (0x0130) != 'i'
  82119. + || towupper(0x0131) != 'I' || towlower ('I') != 0x0131)
  82120. + return 1;
  82121. + return 0;
  82122. +}
  82123. +changequote([,])dnl
  82124. + ])])
  82125. + if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then
  82126. + case "$host_os" in
  82127. + # Handle native Windows specially, because there setlocale() interprets
  82128. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  82129. + # "fr" or "fra" as "French" or "French_France.1252",
  82130. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  82131. + # "ja" as "Japanese" or "Japanese_Japan.932",
  82132. + # and similar.
  82133. + mingw*)
  82134. + # Test for the hypothetical native Win32 locale name.
  82135. + if (LC_ALL=Turkish_Turkey.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  82136. + gt_cv_locale_tr_utf8=Turkish_Turkey.65001
  82137. + else
  82138. + # None found.
  82139. + gt_cv_locale_tr_utf8=none
  82140. + fi
  82141. + ;;
  82142. + *)
  82143. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  82144. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  82145. + # configure script would override the LC_ALL setting. Likewise for
  82146. + # LC_CTYPE, which is also set at the beginning of the configure script.
  82147. + # Test for the usual locale name.
  82148. + if (LC_ALL=tr_TR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  82149. + gt_cv_locale_tr_utf8=tr_TR
  82150. + else
  82151. + # Test for the locale name with explicit encoding suffix.
  82152. + if (LC_ALL=tr_TR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  82153. + gt_cv_locale_tr_utf8=tr_TR.UTF-8
  82154. + else
  82155. + # Test for the Solaris 7 locale name.
  82156. + if (LC_ALL=tr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  82157. + gt_cv_locale_tr_utf8=tr.UTF-8
  82158. + else
  82159. + # None found.
  82160. + gt_cv_locale_tr_utf8=none
  82161. + fi
  82162. + fi
  82163. + fi
  82164. + ;;
  82165. + esac
  82166. + else
  82167. + gt_cv_locale_tr_utf8=none
  82168. + fi
  82169. + rm -fr conftest*
  82170. + ])
  82171. + LOCALE_TR_UTF8=$gt_cv_locale_tr_utf8
  82172. + AC_SUBST([LOCALE_TR_UTF8])
  82173. +])
  82174. +m4trace:m4/locale-zh.m4:10: -1- AC_DEFUN([gt_LOCALE_ZH_CN], [
  82175. + AC_REQUIRE([AC_CANONICAL_HOST])
  82176. + AC_REQUIRE([AM_LANGINFO_CODESET])
  82177. + AC_CACHE_CHECK([for a transitional chinese locale], [gt_cv_locale_zh_CN], [
  82178. + AC_LANG_CONFTEST([AC_LANG_SOURCE([
  82179. +changequote(,)dnl
  82180. +#include <locale.h>
  82181. +#include <stdlib.h>
  82182. +#include <time.h>
  82183. +#if HAVE_LANGINFO_CODESET
  82184. +# include <langinfo.h>
  82185. +#endif
  82186. +#include <stdlib.h>
  82187. +#include <string.h>
  82188. +struct tm t;
  82189. +char buf[16];
  82190. +int main ()
  82191. +{
  82192. + const char *p;
  82193. + /* Check whether the given locale name is recognized by the system. */
  82194. +#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__
  82195. + /* On native Win32, setlocale(category, "") looks at the system settings,
  82196. + not at the environment variables. Also, when an encoding suffix such
  82197. + as ".65001" or ".54936" is speficied, it succeeds but sets the LC_CTYPE
  82198. + category of the locale to "C". */
  82199. + if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL
  82200. + || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0)
  82201. + return 1;
  82202. +#else
  82203. + if (setlocale (LC_ALL, "") == NULL) return 1;
  82204. +#endif
  82205. + /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646".
  82206. + On MacOS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET)
  82207. + is empty, and the behaviour of Tcl 8.4 in this locale is not useful.
  82208. + On OpenBSD 4.0, when an unsupported locale is specified, setlocale()
  82209. + succeeds but then nl_langinfo(CODESET) is "646". In this situation,
  82210. + some unit tests fail.
  82211. + On MirBSD 10, when an unsupported locale is specified, setlocale()
  82212. + succeeds but then nl_langinfo(CODESET) is "UTF-8". */
  82213. +#if HAVE_LANGINFO_CODESET
  82214. + {
  82215. + const char *cs = nl_langinfo (CODESET);
  82216. + if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0
  82217. + || strcmp (cs, "UTF-8") == 0)
  82218. + return 1;
  82219. + }
  82220. +#endif
  82221. +#ifdef __CYGWIN__
  82222. + /* On Cygwin, avoid locale names without encoding suffix, because the
  82223. + locale_charset() function relies on the encoding suffix. Note that
  82224. + LC_ALL is set on the command line. */
  82225. + if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1;
  82226. +#endif
  82227. + /* Check whether in a month name, no byte in the range 0x80..0x9F occurs.
  82228. + This excludes the UTF-8 encoding (except on MirBSD). */
  82229. + t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
  82230. + if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1;
  82231. + for (p = buf; *p != '\0'; p++)
  82232. + if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0)
  82233. + return 1;
  82234. + /* Check whether a typical GB18030 multibyte sequence is recognized as a
  82235. + single wide character. This excludes the GB2312 and GBK encodings. */
  82236. + if (mblen ("\203\062\332\066", 5) != 4)
  82237. + return 1;
  82238. + return 0;
  82239. +}
  82240. +changequote([,])dnl
  82241. + ])])
  82242. + if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then
  82243. + case "$host_os" in
  82244. + # Handle native Windows specially, because there setlocale() interprets
  82245. + # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256",
  82246. + # "fr" or "fra" as "French" or "French_France.1252",
  82247. + # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252",
  82248. + # "ja" as "Japanese" or "Japanese_Japan.932",
  82249. + # and similar.
  82250. + mingw*)
  82251. + # Test for the hypothetical native Win32 locale name.
  82252. + if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  82253. + gt_cv_locale_zh_CN=Chinese_China.54936
  82254. + else
  82255. + # None found.
  82256. + gt_cv_locale_zh_CN=none
  82257. + fi
  82258. + ;;
  82259. + *)
  82260. + # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
  82261. + # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
  82262. + # configure script would override the LC_ALL setting. Likewise for
  82263. + # LC_CTYPE, which is also set at the beginning of the configure script.
  82264. + # Test for the locale name without encoding suffix.
  82265. + if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  82266. + gt_cv_locale_zh_CN=zh_CN
  82267. + else
  82268. + # Test for the locale name with explicit encoding suffix.
  82269. + if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/null; then
  82270. + gt_cv_locale_zh_CN=zh_CN.GB18030
  82271. + else
  82272. + # None found.
  82273. + gt_cv_locale_zh_CN=none
  82274. + fi
  82275. + fi
  82276. + ;;
  82277. + esac
  82278. + else
  82279. + # If there was a link error, due to mblen(), the system is so old that
  82280. + # it certainly doesn't have a chinese locale.
  82281. + gt_cv_locale_zh_CN=none
  82282. + fi
  82283. + rm -fr conftest*
  82284. + ])
  82285. + LOCALE_ZH_CN=$gt_cv_locale_zh_CN
  82286. + AC_SUBST([LOCALE_ZH_CN])
  82287. +])
  82288. +m4trace:m4/locale_h.m4:7: -1- AC_DEFUN([gl_LOCALE_H], [
  82289. + dnl Use AC_REQUIRE here, so that the default behavior below is expanded
  82290. + dnl once only, before all statements that occur in other macros.
  82291. + AC_REQUIRE([gl_LOCALE_H_DEFAULTS])
  82292. +
  82293. + dnl Persuade glibc <locale.h> to define locale_t.
  82294. + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
  82295. +
  82296. + dnl If <stddef.h> is replaced, then <locale.h> must also be replaced.
  82297. + AC_REQUIRE([gl_STDDEF_H])
  82298. +
  82299. + AC_CACHE_CHECK([whether locale.h conforms to POSIX:2001],
  82300. + [gl_cv_header_locale_h_posix2001],
  82301. + [AC_COMPILE_IFELSE(
  82302. + [AC_LANG_PROGRAM(
  82303. + [[#include <locale.h>
  82304. + int x = LC_MESSAGES;]],
  82305. + [[]])],
  82306. + [gl_cv_header_locale_h_posix2001=yes],
  82307. + [gl_cv_header_locale_h_posix2001=no])])
  82308. +
  82309. + dnl Check for <xlocale.h>.
  82310. + AC_CHECK_HEADERS_ONCE([xlocale.h])
  82311. + if test $ac_cv_header_xlocale_h = yes; then
  82312. + HAVE_XLOCALE_H=1
  82313. + dnl Check whether use of locale_t requires inclusion of <xlocale.h>,
  82314. + dnl e.g. on MacOS X 10.5. If <locale.h> does not define locale_t by
  82315. + dnl itself, we assume that <xlocale.h> will do so.
  82316. + AC_CACHE_CHECK([whether locale.h defines locale_t],
  82317. + [gl_cv_header_locale_has_locale_t],
  82318. + [AC_COMPILE_IFELSE(
  82319. + [AC_LANG_PROGRAM(
  82320. + [[#include <locale.h>
  82321. + locale_t x;]],
  82322. + [[]])],
  82323. + [gl_cv_header_locale_has_locale_t=yes],
  82324. + [gl_cv_header_locale_has_locale_t=no])
  82325. + ])
  82326. + if test $gl_cv_header_locale_has_locale_t = yes; then
  82327. + gl_cv_header_locale_h_needs_xlocale_h=no
  82328. + else
  82329. + gl_cv_header_locale_h_needs_xlocale_h=yes
  82330. + fi
  82331. + else
  82332. + HAVE_XLOCALE_H=0
  82333. + gl_cv_header_locale_h_needs_xlocale_h=no
  82334. + fi
  82335. + AC_SUBST([HAVE_XLOCALE_H])
  82336. +
  82337. + dnl <locale.h> is always overridden, because of GNULIB_POSIXCHECK.
  82338. + gl_NEXT_HEADERS([locale.h])
  82339. +
  82340. + if test -n "$STDDEF_H" \
  82341. + || test $gl_cv_header_locale_h_posix2001 = no \
  82342. + || test $gl_cv_header_locale_h_needs_xlocale_h = yes; then
  82343. + gl_REPLACE_LOCALE_H
  82344. + fi
  82345. +
  82346. + dnl Check for declarations of anything we want to poison if the
  82347. + dnl corresponding gnulib module is not in use.
  82348. + gl_WARN_ON_USE_PREPARE([[#include <locale.h>
  82349. +/* Some systems provide declarations in a non-standard header. */
  82350. +#if HAVE_XLOCALE_H
  82351. +# include <xlocale.h>
  82352. +#endif
  82353. + ]],
  82354. + [setlocale duplocale])
  82355. +])
  82356. +m4trace:m4/locale_h.m4:78: -1- AC_DEFUN([gl_REPLACE_LOCALE_H], [
  82357. + dnl This is a no-op, because <locale.h> is always overridden.
  82358. + :
  82359. +])
  82360. +m4trace:m4/locale_h.m4:84: -1- AC_DEFUN([gl_LOCALE_MODULE_INDICATOR], [
  82361. + dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
  82362. + AC_REQUIRE([gl_LOCALE_H_DEFAULTS])
  82363. + gl_MODULE_INDICATOR_SET_VARIABLE([$1])
  82364. + dnl Define it also as a C macro, for the benefit of the unit tests.
  82365. + gl_MODULE_INDICATOR_FOR_TESTS([$1])
  82366. +])
  82367. +m4trace:m4/locale_h.m4:93: -1- AC_DEFUN([gl_LOCALE_H_DEFAULTS], [
  82368. + GNULIB_SETLOCALE=0; AC_SUBST([GNULIB_SETLOCALE])
  82369. + GNULIB_DUPLOCALE=0; AC_SUBST([GNULIB_DUPLOCALE])
  82370. + dnl Assume proper GNU behavior unless another module says otherwise.
  82371. + HAVE_DUPLOCALE=1; AC_SUBST([HAVE_DUPLOCALE])
  82372. + REPLACE_SETLOCALE=0; AC_SUBST([REPLACE_SETLOCALE])
  82373. + REPLACE_DUPLOCALE=0; AC_SUBST([REPLACE_DUPLOCALE])
  82374. +])
  82375. +m4trace:m4/localename.m4:7: -1- AC_DEFUN([gl_LOCALENAME], [
  82376. + AC_REQUIRE([gt_LC_MESSAGES])
  82377. + AC_REQUIRE([gt_INTL_MACOSX])
  82378. + AC_CHECK_FUNCS([setlocale uselocale])
  82379. +])
  82380. +m4trace:m4/lock.m4:9: -1- AC_DEFUN([gl_LOCK], [
  82381. + AC_REQUIRE([gl_THREADLIB])
  82382. + if test "$gl_threads_api" = posix; then
  82383. + # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
  82384. + # pthread_rwlock_* functions.
  82385. + AC_CHECK_TYPE([pthread_rwlock_t],
  82386. + [AC_DEFINE([HAVE_PTHREAD_RWLOCK], [1],
  82387. + [Define if the POSIX multithreading library has read/write locks.])],
  82388. + [],
  82389. + [#include <pthread.h>])
  82390. + # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
  82391. + AC_COMPILE_IFELSE([
  82392. + AC_LANG_PROGRAM(
  82393. + [[#include <pthread.h>]],
  82394. + [[
  82395. +#if __FreeBSD__ == 4
  82396. +error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
  82397. +#else
  82398. +int x = (int)PTHREAD_MUTEX_RECURSIVE;
  82399. +return !x;
  82400. +#endif
  82401. + ]])],
  82402. + [AC_DEFINE([HAVE_PTHREAD_MUTEX_RECURSIVE], [1],
  82403. + [Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE.])])
  82404. + fi
  82405. + gl_PREREQ_LOCK
  82406. +])
  82407. +m4trace:m4/lock.m4:39: -1- AC_DEFUN([gl_PREREQ_LOCK], [
  82408. + AC_REQUIRE([AC_C_INLINE])
  82409. +])
  82410. +m4trace:m4/longlong.m4:17: -1- AC_DEFUN([AC_TYPE_LONG_LONG_INT], [
  82411. + AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
  82412. + AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int],
  82413. + [ac_cv_type_long_long_int=yes
  82414. + if test "x${ac_cv_prog_cc_c99-no}" = xno; then
  82415. + ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
  82416. + if test $ac_cv_type_long_long_int = yes; then
  82417. + dnl Catch a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004.
  82418. + dnl If cross compiling, assume the bug is not important, since
  82419. + dnl nobody cross compiles for this platform as far as we know.
  82420. + AC_RUN_IFELSE(
  82421. + [AC_LANG_PROGRAM(
  82422. + [[@%:@include <limits.h>
  82423. + @%:@ifndef LLONG_MAX
  82424. + @%:@ define HALF \
  82425. + (1LL << (sizeof (long long int) * CHAR_BIT - 2))
  82426. + @%:@ define LLONG_MAX (HALF - 1 + HALF)
  82427. + @%:@endif]],
  82428. + [[long long int n = 1;
  82429. + int i;
  82430. + for (i = 0; ; i++)
  82431. + {
  82432. + long long int m = n << i;
  82433. + if (m >> i != n)
  82434. + return 1;
  82435. + if (LLONG_MAX / 2 < m)
  82436. + break;
  82437. + }
  82438. + return 0;]])],
  82439. + [],
  82440. + [ac_cv_type_long_long_int=no],
  82441. + [:])
  82442. + fi
  82443. + fi])
  82444. + if test $ac_cv_type_long_long_int = yes; then
  82445. + AC_DEFINE([HAVE_LONG_LONG_INT], [1],
  82446. + [Define to 1 if the system has the type `long long int'.])
  82447. + fi
  82448. +])
  82449. +m4trace:m4/longlong.m4:67: -1- AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT], [
  82450. + AC_CACHE_CHECK([for unsigned long long int],
  82451. + [ac_cv_type_unsigned_long_long_int],
  82452. + [ac_cv_type_unsigned_long_long_int=yes
  82453. + if test "x${ac_cv_prog_cc_c99-no}" = xno; then
  82454. + AC_LINK_IFELSE(
  82455. + [_AC_TYPE_LONG_LONG_SNIPPET],
  82456. + [],
  82457. + [ac_cv_type_unsigned_long_long_int=no])
  82458. + fi])
  82459. + if test $ac_cv_type_unsigned_long_long_int = yes; then
  82460. + AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1],
  82461. + [Define to 1 if the system has the type `unsigned long long int'.])
  82462. + fi
  82463. +])
  82464. +m4trace:m4/longlong.m4:89: -1- AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET], [
  82465. + AC_LANG_PROGRAM(
  82466. + [[/* For now, do not test the preprocessor; as of 2007 there are too many
  82467. + implementations with broken preprocessors. Perhaps this can
  82468. + be revisited in 2012. In the meantime, code should not expect
  82469. + #if to work with literals wider than 32 bits. */
  82470. + /* Test literals. */
  82471. + long long int ll = 9223372036854775807ll;
  82472. + long long int nll = -9223372036854775807LL;
  82473. + unsigned long long int ull = 18446744073709551615ULL;
  82474. + /* Test constant expressions. */
  82475. + typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
  82476. + ? 1 : -1)];
  82477. + typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
  82478. + ? 1 : -1)];
  82479. + int i = 63;]],
  82480. + [[/* Test availability of runtime routines for shift and division. */
  82481. + long long int llmax = 9223372036854775807ll;
  82482. + unsigned long long int ullmax = 18446744073709551615ull;
  82483. + return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
  82484. + | (llmax / ll) | (llmax % ll)
  82485. + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
  82486. + | (ullmax / ull) | (ullmax % ull));]])
  82487. +])
  82488. +m4trace:m4/lseek.m4:7: -1- AC_DEFUN([gl_FUNC_LSEEK], [
  82489. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
  82490. + AC_REQUIRE([AC_PROG_CC])
  82491. + AC_CACHE_CHECK([whether lseek detects pipes], [gl_cv_func_lseek_pipe],
  82492. + [if test $cross_compiling = no; then
  82493. + AC_LINK_IFELSE([AC_LANG_PROGRAM([[
  82494. +#include <sys/types.h> /* for off_t */
  82495. +#include <stdio.h> /* for SEEK_CUR */
  82496. +#include <unistd.h>]], [[
  82497. + /* Exit with success only if stdin is seekable. */
  82498. + return lseek (0, (off_t)0, SEEK_CUR) < 0;
  82499. +]])],
  82500. + [if test -s conftest$ac_exeext \
  82501. + && ./conftest$ac_exeext < conftest.$ac_ext \
  82502. + && test 1 = "`echo hi \
  82503. + | { ./conftest$ac_exeext; echo $?; cat >/dev/null; }`"; then
  82504. + gl_cv_func_lseek_pipe=yes
  82505. + else
  82506. + gl_cv_func_lseek_pipe=no
  82507. + fi],
  82508. + [gl_cv_func_lseek_pipe=no])
  82509. + else
  82510. + AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
  82511. +#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) || defined __BEOS__
  82512. +/* mingw and BeOS mistakenly return 0 when trying to seek on pipes. */
  82513. + Choke me.
  82514. +#endif]])],
  82515. + [gl_cv_func_lseek_pipe=yes], [gl_cv_func_lseek_pipe=no])
  82516. + fi])
  82517. + if test $gl_cv_func_lseek_pipe = no; then
  82518. + gl_REPLACE_LSEEK
  82519. + fi
  82520. +])
  82521. +m4trace:m4/lseek.m4:42: -1- AC_DEFUN([gl_REPLACE_LSEEK], [
  82522. + AC_LIBOBJ([lseek])
  82523. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
  82524. + REPLACE_LSEEK=1
  82525. + AC_DEFINE([LSEEK_PIPE_BROKEN], [1],
  82526. + [Define to 1 if lseek does not detect pipes.])
  82527. +])
  82528. +m4trace:m4/lstat.m4:11: -1- AC_DEFUN([gl_FUNC_LSTAT], [
  82529. + AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
  82530. + dnl If lstat does not exist, the replacement <sys/stat.h> does
  82531. + dnl "#define lstat stat", and lstat.c is a no-op.
  82532. + AC_CHECK_FUNCS_ONCE([lstat])
  82533. + if test $ac_cv_func_lstat = yes; then
  82534. + AC_REQUIRE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
  82535. + if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
  82536. + dnl Note: AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK does AC_LIBOBJ([lstat]).
  82537. + REPLACE_LSTAT=1
  82538. + fi
  82539. + # Prerequisites of lib/lstat.c.
  82540. + AC_REQUIRE([AC_C_INLINE])
  82541. + else
  82542. + HAVE_LSTAT=0
  82543. + fi
  82544. +])
  82545. +m4trace:m4/lstat.m4:32: -1- AC_DEFUN([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK], [
  82546. + AC_CACHE_CHECK([whether lstat correctly handles trailing slash],
  82547. + [ac_cv_func_lstat_dereferences_slashed_symlink],
  82548. + [rm -f conftest.sym conftest.file
  82549. + echo >conftest.file
  82550. + if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
  82551. + AC_RUN_IFELSE(
  82552. + [AC_LANG_PROGRAM(
  82553. + [AC_INCLUDES_DEFAULT],
  82554. + [[struct stat sbuf;
  82555. + /* Linux will dereference the symlink and fail, as required by
  82556. + POSIX. That is better in the sense that it means we will not
  82557. + have to compile and use the lstat wrapper. */
  82558. + return lstat ("conftest.sym/", &sbuf) == 0;
  82559. + ]])],
  82560. + [ac_cv_func_lstat_dereferences_slashed_symlink=yes],
  82561. + [ac_cv_func_lstat_dereferences_slashed_symlink=no],
  82562. + [# When cross-compiling, be pessimistic so we will end up using the
  82563. + # replacement version of lstat that checks for trailing slashes and
  82564. + # calls lstat a second time when necessary.
  82565. + ac_cv_func_lstat_dereferences_slashed_symlink=no
  82566. + ])
  82567. + else
  82568. + # If the 'ln -s' command failed, then we probably don't even
  82569. + # have an lstat function.
  82570. + ac_cv_func_lstat_dereferences_slashed_symlink=no
  82571. + fi
  82572. + rm -f conftest.sym conftest.file
  82573. + ])
  82574. + test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
  82575. + AC_DEFINE_UNQUOTED([LSTAT_FOLLOWS_SLASHED_SYMLINK], [1],
  82576. + [Define to 1 if `lstat' dereferences a symlink specified
  82577. + with a trailing slash.])
  82578. + if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
  82579. + AC_LIBOBJ([lstat])
  82580. + fi
  82581. +])
  82582. +m4trace:m4/malloc.m4:11: -1- AC_DEFUN([gl_FUNC_MALLOC_GNU], [
  82583. + AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
  82584. + dnl _AC_FUNC_MALLOC_IF is defined in Autoconf.
  82585. + _AC_FUNC_MALLOC_IF(
  82586. + [AC_DEFINE([HAVE_MALLOC_GNU], [1],
  82587. + [Define to 1 if your system has a GNU libc compatible 'malloc'
  82588. + function, and to 0 otherwise.])],
  82589. + [AC_DEFINE([HAVE_MALLOC_GNU], [0])
  82590. + gl_REPLACE_MALLOC
  82591. + ])
  82592. +])
  82593. +m4trace:m4/malloc.m4:28: -1- AC_DEFUN([gl_FUNC_MALLOC_POSIX], [
  82594. + AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
  82595. + AC_REQUIRE([gl_CHECK_MALLOC_POSIX])
  82596. + if test $gl_cv_func_malloc_posix = yes; then
  82597. + AC_DEFINE([HAVE_MALLOC_POSIX], [1],
  82598. + [Define if the 'malloc' function is POSIX compliant.])
  82599. + else
  82600. + gl_REPLACE_MALLOC
  82601. + fi
  82602. +])
  82603. +m4trace:m4/malloc.m4:42: -1- AC_DEFUN([gl_CHECK_MALLOC_POSIX], [
  82604. + AC_CACHE_CHECK([whether malloc, realloc, calloc are POSIX compliant],
  82605. + [gl_cv_func_malloc_posix],
  82606. + [
  82607. + dnl It is too dangerous to try to allocate a large amount of memory:
  82608. + dnl some systems go to their knees when you do that. So assume that
  82609. + dnl all Unix implementations of the function are POSIX compliant.
  82610. + AC_COMPILE_IFELSE(
  82611. + [AC_LANG_PROGRAM(
  82612. + [[]],
  82613. + [[#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
  82614. + choke me
  82615. + #endif
  82616. + ]])],
  82617. + [gl_cv_func_malloc_posix=yes],
  82618. + [gl_cv_func_malloc_posix=no])
  82619. + ])
  82620. +])
  82621. +m4trace:m4/malloc.m4:62: -1- AC_DEFUN([gl_REPLACE_MALLOC], [
  82622. + AC_LIBOBJ([malloc])
  82623. + REPLACE_MALLOC=1
  82624. +])
  82625. +m4trace:m4/malloca.m4:8: -1- AC_DEFUN([gl_MALLOCA], [
  82626. + dnl Use the autoconf tests for alloca(), but not the AC_SUBSTed variables
  82627. + dnl @ALLOCA@ and @LTALLOCA@.
  82628. + dnl gl_FUNC_ALLOCA dnl Already brought in by the module dependencies.
  82629. + AC_REQUIRE([gl_EEMALLOC])
  82630. + AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
  82631. +])
  82632. +m4trace:m4/manywarnings.m4:14: -1- AC_DEFUN([gl_MANYWARN_COMPLEMENT], [
  82633. + gl_warn_set=
  82634. + set x $2; shift
  82635. + for gl_warn_item
  82636. + do
  82637. + case " $3 " in
  82638. + *" $gl_warn_item "*)
  82639. + ;;
  82640. + *)
  82641. + gl_warn_set="$gl_warn_set $gl_warn_item"
  82642. + ;;
  82643. + esac
  82644. + done
  82645. + $1=$gl_warn_set
  82646. +])
  82647. +m4trace:m4/manywarnings.m4:36: -1- AC_DEFUN([gl_MANYWARN_ALL_GCC], [
  82648. + gl_manywarn_set=
  82649. + for gl_manywarn_item in \
  82650. + -Wall \
  82651. + -W \
  82652. + -Wformat-y2k \
  82653. + -Wformat-nonliteral \
  82654. + -Wformat-security \
  82655. + -Winit-self \
  82656. + -Wmissing-include-dirs \
  82657. + -Wswitch-default \
  82658. + -Wswitch-enum \
  82659. + -Wunused \
  82660. + -Wunknown-pragmas \
  82661. + -Wstrict-aliasing \
  82662. + -Wstrict-overflow \
  82663. + -Wsystem-headers \
  82664. + -Wfloat-equal \
  82665. + -Wtraditional \
  82666. + -Wtraditional-conversion \
  82667. + -Wdeclaration-after-statement \
  82668. + -Wundef \
  82669. + -Wshadow \
  82670. + -Wunsafe-loop-optimizations \
  82671. + -Wpointer-arith \
  82672. + -Wbad-function-cast \
  82673. + -Wc++-compat \
  82674. + -Wcast-qual \
  82675. + -Wcast-align \
  82676. + -Wwrite-strings \
  82677. + -Wconversion \
  82678. + -Wsign-conversion \
  82679. + -Wlogical-op \
  82680. + -Waggregate-return \
  82681. + -Wstrict-prototypes \
  82682. + -Wold-style-definition \
  82683. + -Wmissing-prototypes \
  82684. + -Wmissing-declarations \
  82685. + -Wmissing-noreturn \
  82686. + -Wmissing-format-attribute \
  82687. + -Wpacked \
  82688. + -Wpadded \
  82689. + -Wredundant-decls \
  82690. + -Wnested-externs \
  82691. + -Wunreachable-code \
  82692. + -Winline \
  82693. + -Winvalid-pch \
  82694. + -Wlong-long \
  82695. + -Wvla \
  82696. + -Wvolatile-register-var \
  82697. + -Wdisabled-optimization \
  82698. + -Wstack-protector \
  82699. + -Woverlength-strings \
  82700. + -Wbuiltin-macro-redefined \
  82701. + -Wmudflap \
  82702. + -Wpacked-bitfield-compat \
  82703. + -Wsync-nand \
  82704. + ; do
  82705. + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
  82706. + done
  82707. + # The following are not documented in the manual but are included in
  82708. + # output from gcc --help=warnings.
  82709. + for gl_manywarn_item in \
  82710. + -Wattributes \
  82711. + -Wcoverage-mismatch \
  82712. + -Wmultichar \
  82713. + -Wunused-macros \
  82714. + ; do
  82715. + gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
  82716. + done
  82717. + $1=$gl_manywarn_set
  82718. +])
  82719. +m4trace:m4/math_h.m4:7: -1- AC_DEFUN([gl_MATH_H], [
  82720. + AC_REQUIRE([gl_MATH_H_DEFAULTS])
  82721. + gl_CHECK_NEXT_HEADERS([math.h])
  82722. + AC_REQUIRE([AC_C_INLINE])
  82723. +
  82724. + AC_CACHE_CHECK([whether NAN macro works], [gl_cv_header_math_nan_works],
  82725. + [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <math.h>]],
  82726. + [[/* Solaris 10 has a broken definition of NAN. Other platforms
  82727. + fail to provide NAN, or provide it only in C99 mode; this
  82728. + test only needs to fail when NAN is provided but wrong. */
  82729. + float f = 1.0f;
  82730. +#ifdef NAN
  82731. + f = NAN;
  82732. +#endif
  82733. + return f == 0;]])],
  82734. + [gl_cv_header_math_nan_works=yes],
  82735. + [gl_cv_header_math_nan_works=no])])
  82736. + if test $gl_cv_header_math_nan_works = no; then
  82737. + REPLACE_NAN=1
  82738. + fi
  82739. + AC_CACHE_CHECK([whether HUGE_VAL works], [gl_cv_header_math_huge_val_works],
  82740. + [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <math.h>]],
  82741. + [[/* Solaris 10 has a broken definition of HUGE_VAL. */
  82742. + double d = HUGE_VAL;
  82743. + return d == 0;]])],
  82744. + [gl_cv_header_math_huge_val_works=yes],
  82745. + [gl_cv_header_math_huge_val_works=no])])
  82746. + if test $gl_cv_header_math_huge_val_works = no; then
  82747. + REPLACE_HUGE_VAL=1
  82748. + fi
  82749. +
  82750. + dnl Check for declarations of anything we want to poison if the
  82751. + dnl corresponding gnulib module is not in use.
  82752. + gl_WARN_ON_USE_PREPARE([[#include <math.h>
  82753. + ]], [acosl asinl atanl ceilf ceill cosl expl floorf floorl frexpl
  82754. + ldexpl logb logl round roundf roundl sinl sqrtl tanl trunc truncf truncl])
  82755. +])
  82756. +m4trace:m4/math_h.m4:46: -1- AC_DEFUN([gl_MATH_MODULE_INDICATOR], [
  82757. + dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
  82758. + AC_REQUIRE([gl_MATH_H_DEFAULTS])
  82759. + gl_MODULE_INDICATOR_SET_VARIABLE([$1])
  82760. + dnl Define it also as a C macro, for the benefit of the unit tests.
  82761. + gl_MODULE_INDICATOR_FOR_TESTS([$1])
  82762. +])
  82763. +m4trace:m4/math_h.m4:55: -1- AC_DEFUN([gl_MATH_H_DEFAULTS], [
  82764. + GNULIB_ACOSL=0; AC_SUBST([GNULIB_ACOSL])
  82765. + GNULIB_ASINL=0; AC_SUBST([GNULIB_ASINL])
  82766. + GNULIB_ATANL=0; AC_SUBST([GNULIB_ATANL])
  82767. + GNULIB_CEIL=0; AC_SUBST([GNULIB_CEIL])
  82768. + GNULIB_CEILF=0; AC_SUBST([GNULIB_CEILF])
  82769. + GNULIB_CEILL=0; AC_SUBST([GNULIB_CEILL])
  82770. + GNULIB_COSL=0; AC_SUBST([GNULIB_COSL])
  82771. + GNULIB_EXPL=0; AC_SUBST([GNULIB_EXPL])
  82772. + GNULIB_FLOOR=0; AC_SUBST([GNULIB_FLOOR])
  82773. + GNULIB_FLOORF=0; AC_SUBST([GNULIB_FLOORF])
  82774. + GNULIB_FLOORL=0; AC_SUBST([GNULIB_FLOORL])
  82775. + GNULIB_FREXP=0; AC_SUBST([GNULIB_FREXP])
  82776. + GNULIB_FREXPL=0; AC_SUBST([GNULIB_FREXPL])
  82777. + GNULIB_ISFINITE=0; AC_SUBST([GNULIB_ISFINITE])
  82778. + GNULIB_ISINF=0; AC_SUBST([GNULIB_ISINF])
  82779. + GNULIB_ISNAN=0; AC_SUBST([GNULIB_ISNAN])
  82780. + GNULIB_ISNANF=0; AC_SUBST([GNULIB_ISNANF])
  82781. + GNULIB_ISNAND=0; AC_SUBST([GNULIB_ISNAND])
  82782. + GNULIB_ISNANL=0; AC_SUBST([GNULIB_ISNANL])
  82783. + GNULIB_LDEXPL=0; AC_SUBST([GNULIB_LDEXPL])
  82784. + GNULIB_LOGB=0; AC_SUBST([GNULIB_LOGB])
  82785. + GNULIB_LOGL=0; AC_SUBST([GNULIB_LOGL])
  82786. + GNULIB_ROUND=0; AC_SUBST([GNULIB_ROUND])
  82787. + GNULIB_ROUNDF=0; AC_SUBST([GNULIB_ROUNDF])
  82788. + GNULIB_ROUNDL=0; AC_SUBST([GNULIB_ROUNDL])
  82789. + GNULIB_SIGNBIT=0; AC_SUBST([GNULIB_SIGNBIT])
  82790. + GNULIB_SINL=0; AC_SUBST([GNULIB_SINL])
  82791. + GNULIB_SQRTL=0; AC_SUBST([GNULIB_SQRTL])
  82792. + GNULIB_TANL=0; AC_SUBST([GNULIB_TANL])
  82793. + GNULIB_TRUNC=0; AC_SUBST([GNULIB_TRUNC])
  82794. + GNULIB_TRUNCF=0; AC_SUBST([GNULIB_TRUNCF])
  82795. + GNULIB_TRUNCL=0; AC_SUBST([GNULIB_TRUNCL])
  82796. + dnl Assume proper GNU behavior unless another module says otherwise.
  82797. + HAVE_ACOSL=1; AC_SUBST([HAVE_ACOSL])
  82798. + HAVE_ASINL=1; AC_SUBST([HAVE_ASINL])
  82799. + HAVE_ATANL=1; AC_SUBST([HAVE_ATANL])
  82800. + HAVE_COSL=1; AC_SUBST([HAVE_COSL])
  82801. + HAVE_EXPL=1; AC_SUBST([HAVE_EXPL])
  82802. + HAVE_ISNANF=1; AC_SUBST([HAVE_ISNANF])
  82803. + HAVE_ISNAND=1; AC_SUBST([HAVE_ISNAND])
  82804. + HAVE_ISNANL=1; AC_SUBST([HAVE_ISNANL])
  82805. + HAVE_LOGL=1; AC_SUBST([HAVE_LOGL])
  82806. + HAVE_SINL=1; AC_SUBST([HAVE_SINL])
  82807. + HAVE_SQRTL=1; AC_SUBST([HAVE_SQRTL])
  82808. + HAVE_TANL=1; AC_SUBST([HAVE_TANL])
  82809. + HAVE_DECL_ACOSL=1; AC_SUBST([HAVE_DECL_ACOSL])
  82810. + HAVE_DECL_ASINL=1; AC_SUBST([HAVE_DECL_ASINL])
  82811. + HAVE_DECL_ATANL=1; AC_SUBST([HAVE_DECL_ATANL])
  82812. + HAVE_DECL_CEILF=1; AC_SUBST([HAVE_DECL_CEILF])
  82813. + HAVE_DECL_CEILL=1; AC_SUBST([HAVE_DECL_CEILL])
  82814. + HAVE_DECL_COSL=1; AC_SUBST([HAVE_DECL_COSL])
  82815. + HAVE_DECL_EXPL=1; AC_SUBST([HAVE_DECL_EXPL])
  82816. + HAVE_DECL_FLOORF=1; AC_SUBST([HAVE_DECL_FLOORF])
  82817. + HAVE_DECL_FLOORL=1; AC_SUBST([HAVE_DECL_FLOORL])
  82818. + HAVE_DECL_FREXPL=1; AC_SUBST([HAVE_DECL_FREXPL])
  82819. + HAVE_DECL_LDEXPL=1; AC_SUBST([HAVE_DECL_LDEXPL])
  82820. + HAVE_DECL_LOGB=1; AC_SUBST([HAVE_DECL_LOGB])
  82821. + HAVE_DECL_LOGL=1; AC_SUBST([HAVE_DECL_LOGL])
  82822. + HAVE_DECL_ROUND=1; AC_SUBST([HAVE_DECL_ROUND])
  82823. + HAVE_DECL_ROUNDF=1; AC_SUBST([HAVE_DECL_ROUNDF])
  82824. + HAVE_DECL_ROUNDL=1; AC_SUBST([HAVE_DECL_ROUNDL])
  82825. + HAVE_DECL_SINL=1; AC_SUBST([HAVE_DECL_SINL])
  82826. + HAVE_DECL_SQRTL=1; AC_SUBST([HAVE_DECL_SQRTL])
  82827. + HAVE_DECL_TANL=1; AC_SUBST([HAVE_DECL_TANL])
  82828. + HAVE_DECL_TRUNC=1; AC_SUBST([HAVE_DECL_TRUNC])
  82829. + HAVE_DECL_TRUNCF=1; AC_SUBST([HAVE_DECL_TRUNCF])
  82830. + HAVE_DECL_TRUNCL=1; AC_SUBST([HAVE_DECL_TRUNCL])
  82831. + REPLACE_CEIL=0; AC_SUBST([REPLACE_CEIL])
  82832. + REPLACE_CEILF=0; AC_SUBST([REPLACE_CEILF])
  82833. + REPLACE_CEILL=0; AC_SUBST([REPLACE_CEILL])
  82834. + REPLACE_FLOOR=0; AC_SUBST([REPLACE_FLOOR])
  82835. + REPLACE_FLOORF=0; AC_SUBST([REPLACE_FLOORF])
  82836. + REPLACE_FLOORL=0; AC_SUBST([REPLACE_FLOORL])
  82837. + REPLACE_FREXP=0; AC_SUBST([REPLACE_FREXP])
  82838. + REPLACE_FREXPL=0; AC_SUBST([REPLACE_FREXPL])
  82839. + REPLACE_HUGE_VAL=0; AC_SUBST([REPLACE_HUGE_VAL])
  82840. + REPLACE_ISFINITE=0; AC_SUBST([REPLACE_ISFINITE])
  82841. + REPLACE_ISINF=0; AC_SUBST([REPLACE_ISINF])
  82842. + REPLACE_ISNAN=0; AC_SUBST([REPLACE_ISNAN])
  82843. + REPLACE_LDEXPL=0; AC_SUBST([REPLACE_LDEXPL])
  82844. + REPLACE_NAN=0; AC_SUBST([REPLACE_NAN])
  82845. + REPLACE_ROUND=0; AC_SUBST([REPLACE_ROUND])
  82846. + REPLACE_ROUNDF=0; AC_SUBST([REPLACE_ROUNDF])
  82847. + REPLACE_ROUNDL=0; AC_SUBST([REPLACE_ROUNDL])
  82848. + REPLACE_SIGNBIT=0; AC_SUBST([REPLACE_SIGNBIT])
  82849. + REPLACE_SIGNBIT_USING_GCC=0; AC_SUBST([REPLACE_SIGNBIT_USING_GCC])
  82850. + REPLACE_TRUNC=0; AC_SUBST([REPLACE_TRUNC])
  82851. + REPLACE_TRUNCF=0; AC_SUBST([REPLACE_TRUNCF])
  82852. + REPLACE_TRUNCL=0; AC_SUBST([REPLACE_TRUNCL])
  82853. +])
  82854. +m4trace:m4/mbrtowc.m4:8: -1- AC_DEFUN([gl_FUNC_MBRTOWC], [
  82855. + AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
  82856. +
  82857. + AC_REQUIRE([AC_TYPE_MBSTATE_T])
  82858. + gl_MBSTATE_T_BROKEN
  82859. +
  82860. + AC_CHECK_FUNCS_ONCE([mbrtowc])
  82861. + if test $ac_cv_func_mbrtowc = no; then
  82862. + HAVE_MBRTOWC=0
  82863. + else
  82864. + if test $REPLACE_MBSTATE_T = 1; then
  82865. + REPLACE_MBRTOWC=1
  82866. + else
  82867. + gl_MBRTOWC_NULL_ARG1
  82868. + gl_MBRTOWC_NULL_ARG2
  82869. + gl_MBRTOWC_RETVAL
  82870. + gl_MBRTOWC_NUL_RETVAL
  82871. + case "$gl_cv_func_mbrtowc_null_arg1" in
  82872. + *yes) ;;
  82873. + *) AC_DEFINE([MBRTOWC_NULL_ARG1_BUG], [1],
  82874. + [Define if the mbrtowc function has the NULL pwc argument bug.])
  82875. + REPLACE_MBRTOWC=1
  82876. + ;;
  82877. + esac
  82878. + case "$gl_cv_func_mbrtowc_null_arg2" in
  82879. + *yes) ;;
  82880. + *) AC_DEFINE([MBRTOWC_NULL_ARG2_BUG], [1],
  82881. + [Define if the mbrtowc function has the NULL string argument bug.])
  82882. + REPLACE_MBRTOWC=1
  82883. + ;;
  82884. + esac
  82885. + case "$gl_cv_func_mbrtowc_retval" in
  82886. + *yes) ;;
  82887. + *) AC_DEFINE([MBRTOWC_RETVAL_BUG], [1],
  82888. + [Define if the mbrtowc function returns a wrong return value.])
  82889. + REPLACE_MBRTOWC=1
  82890. + ;;
  82891. + esac
  82892. + case "$gl_cv_func_mbrtowc_nul_retval" in
  82893. + *yes) ;;
  82894. + *) AC_DEFINE([MBRTOWC_NUL_RETVAL_BUG], [1],
  82895. + [Define if the mbrtowc function does not return 0 for a NUL character.])
  82896. + REPLACE_MBRTOWC=1
  82897. + ;;
  82898. + esac
  82899. + fi
  82900. + fi
  82901. + if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
  82902. + gl_REPLACE_WCHAR_H
  82903. + AC_LIBOBJ([mbrtowc])
  82904. + gl_PREREQ_MBRTOWC
  82905. + fi
  82906. +])
  82907. +m4trace:m4/mbrtowc.m4:69: -1- AC_DEFUN([gl_MBSTATE_T_BROKEN], [
  82908. + AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
  82909. +
  82910. + AC_REQUIRE([AC_TYPE_MBSTATE_T])
  82911. + AC_CHECK_FUNCS_ONCE([mbsinit])
  82912. + AC_CHECK_FUNCS_ONCE([mbrtowc])
  82913. + if test $ac_cv_func_mbsinit = yes && test $ac_cv_func_mbrtowc = yes; then
  82914. + gl_MBRTOWC_INCOMPLETE_STATE
  82915. + gl_MBRTOWC_SANITYCHECK
  82916. + REPLACE_MBSTATE_T=0
  82917. + case "$gl_cv_func_mbrtowc_incomplete_state" in
  82918. + *yes) ;;
  82919. + *) REPLACE_MBSTATE_T=1 ;;
  82920. + esac
  82921. + case "$gl_cv_func_mbrtowc_sanitycheck" in
  82922. + *yes) ;;
  82923. + *) REPLACE_MBSTATE_T=1 ;;
  82924. + esac
  82925. + else
  82926. + REPLACE_MBSTATE_T=1
  82927. + fi
  82928. + if test $REPLACE_MBSTATE_T = 1; then
  82929. + gl_REPLACE_WCHAR_H
  82930. + fi
  82931. +])
  82932. +m4trace:m4/mbrtowc.m4:100: -1- AC_DEFUN([gl_MBRTOWC_INCOMPLETE_STATE], [
  82933. + AC_REQUIRE([AC_PROG_CC])
  82934. + AC_REQUIRE([gt_LOCALE_JA])
  82935. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  82936. + AC_CACHE_CHECK([whether mbrtowc handles incomplete characters],
  82937. + [gl_cv_func_mbrtowc_incomplete_state],
  82938. + [
  82939. + dnl Initial guess, used when cross-compiling or when no suitable locale
  82940. + dnl is present.
  82941. +changequote(,)dnl
  82942. + case "$host_os" in
  82943. + # Guess no on AIX and OSF/1.
  82944. + aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;;
  82945. + # Guess yes otherwise.
  82946. + *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;;
  82947. + esac
  82948. +changequote([,])dnl
  82949. + if test $LOCALE_JA != none; then
  82950. + AC_RUN_IFELSE(
  82951. + [AC_LANG_SOURCE([[
  82952. +#include <locale.h>
  82953. +#include <string.h>
  82954. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  82955. + <wchar.h>.
  82956. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  82957. + included before <wchar.h>. */
  82958. +#include <stddef.h>
  82959. +#include <stdio.h>
  82960. +#include <time.h>
  82961. +#include <wchar.h>
  82962. +int main ()
  82963. +{
  82964. + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
  82965. + {
  82966. + const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
  82967. + mbstate_t state;
  82968. + wchar_t wc;
  82969. +
  82970. + memset (&state, '\0', sizeof (mbstate_t));
  82971. + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
  82972. + if (mbsinit (&state))
  82973. + return 1;
  82974. + }
  82975. + return 0;
  82976. +}]])],
  82977. + [gl_cv_func_mbrtowc_incomplete_state=yes],
  82978. + [gl_cv_func_mbrtowc_incomplete_state=no],
  82979. + [:])
  82980. + fi
  82981. + ])
  82982. +])
  82983. +m4trace:m4/mbrtowc.m4:156: -1- AC_DEFUN([gl_MBRTOWC_SANITYCHECK], [
  82984. + AC_REQUIRE([AC_PROG_CC])
  82985. + AC_REQUIRE([gt_LOCALE_ZH_CN])
  82986. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  82987. + AC_CACHE_CHECK([whether mbrtowc works as well as mbtowc],
  82988. + [gl_cv_func_mbrtowc_sanitycheck],
  82989. + [
  82990. + dnl Initial guess, used when cross-compiling or when no suitable locale
  82991. + dnl is present.
  82992. +changequote(,)dnl
  82993. + case "$host_os" in
  82994. + # Guess no on Solaris 8.
  82995. + solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;;
  82996. + # Guess yes otherwise.
  82997. + *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;;
  82998. + esac
  82999. +changequote([,])dnl
  83000. + if test $LOCALE_ZH_CN != none; then
  83001. + AC_RUN_IFELSE(
  83002. + [AC_LANG_SOURCE([[
  83003. +#include <locale.h>
  83004. +#include <stdlib.h>
  83005. +#include <string.h>
  83006. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  83007. + <wchar.h>.
  83008. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  83009. + included before <wchar.h>. */
  83010. +#include <stddef.h>
  83011. +#include <stdio.h>
  83012. +#include <time.h>
  83013. +#include <wchar.h>
  83014. +int main ()
  83015. +{
  83016. + /* This fails on Solaris 8:
  83017. + mbrtowc returns 2, and sets wc to 0x00F0.
  83018. + mbtowc returns 4 (correct) and sets wc to 0x5EDC. */
  83019. + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
  83020. + {
  83021. + char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */
  83022. + mbstate_t state;
  83023. + wchar_t wc;
  83024. +
  83025. + memset (&state, '\0', sizeof (mbstate_t));
  83026. + if (mbrtowc (&wc, input + 3, 6, &state) != 4
  83027. + && mbtowc (&wc, input + 3, 6) == 4)
  83028. + return 1;
  83029. + }
  83030. + return 0;
  83031. +}]])],
  83032. + [gl_cv_func_mbrtowc_sanitycheck=yes],
  83033. + [gl_cv_func_mbrtowc_sanitycheck=no],
  83034. + [:])
  83035. + fi
  83036. + ])
  83037. +])
  83038. +m4trace:m4/mbrtowc.m4:216: -1- AC_DEFUN([gl_MBRTOWC_NULL_ARG1], [
  83039. + AC_REQUIRE([AC_PROG_CC])
  83040. + AC_REQUIRE([gt_LOCALE_FR_UTF8])
  83041. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  83042. + AC_CACHE_CHECK([whether mbrtowc handles a NULL pwc argument],
  83043. + [gl_cv_func_mbrtowc_null_arg1],
  83044. + [
  83045. + dnl Initial guess, used when cross-compiling or when no suitable locale
  83046. + dnl is present.
  83047. +changequote(,)dnl
  83048. + case "$host_os" in
  83049. + # Guess no on Solaris.
  83050. + solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;;
  83051. + # Guess yes otherwise.
  83052. + *) gl_cv_func_mbrtowc_null_arg1="guessing yes" ;;
  83053. + esac
  83054. +changequote([,])dnl
  83055. + if test $LOCALE_FR_UTF8 != none; then
  83056. + AC_RUN_IFELSE(
  83057. + [AC_LANG_SOURCE([[
  83058. +#include <locale.h>
  83059. +#include <stdlib.h>
  83060. +#include <string.h>
  83061. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  83062. + <wchar.h>.
  83063. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  83064. + included before <wchar.h>. */
  83065. +#include <stddef.h>
  83066. +#include <stdio.h>
  83067. +#include <time.h>
  83068. +#include <wchar.h>
  83069. +int main ()
  83070. +{
  83071. + int result = 0;
  83072. +
  83073. + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
  83074. + {
  83075. + char input[] = "\303\237er";
  83076. + mbstate_t state;
  83077. + wchar_t wc;
  83078. + size_t ret;
  83079. +
  83080. + memset (&state, '\0', sizeof (mbstate_t));
  83081. + wc = (wchar_t) 0xBADFACE;
  83082. + ret = mbrtowc (&wc, input, 5, &state);
  83083. + if (ret != 2)
  83084. + result |= 1;
  83085. + if (!mbsinit (&state))
  83086. + result |= 2;
  83087. +
  83088. + memset (&state, '\0', sizeof (mbstate_t));
  83089. + ret = mbrtowc (NULL, input, 5, &state);
  83090. + if (ret != 2) /* Solaris 7 fails here: ret is -1. */
  83091. + result |= 4;
  83092. + if (!mbsinit (&state))
  83093. + result |= 8;
  83094. + }
  83095. + return result;
  83096. +}]])],
  83097. + [gl_cv_func_mbrtowc_null_arg1=yes],
  83098. + [gl_cv_func_mbrtowc_null_arg1=no],
  83099. + [:])
  83100. + fi
  83101. + ])
  83102. +])
  83103. +m4trace:m4/mbrtowc.m4:286: -1- AC_DEFUN([gl_MBRTOWC_NULL_ARG2], [
  83104. + AC_REQUIRE([AC_PROG_CC])
  83105. + AC_REQUIRE([gt_LOCALE_FR_UTF8])
  83106. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  83107. + AC_CACHE_CHECK([whether mbrtowc handles a NULL string argument],
  83108. + [gl_cv_func_mbrtowc_null_arg2],
  83109. + [
  83110. + dnl Initial guess, used when cross-compiling or when no suitable locale
  83111. + dnl is present.
  83112. +changequote(,)dnl
  83113. + case "$host_os" in
  83114. + # Guess no on OSF/1.
  83115. + osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;;
  83116. + # Guess yes otherwise.
  83117. + *) gl_cv_func_mbrtowc_null_arg2="guessing yes" ;;
  83118. + esac
  83119. +changequote([,])dnl
  83120. + if test $LOCALE_FR_UTF8 != none; then
  83121. + AC_RUN_IFELSE(
  83122. + [AC_LANG_SOURCE([[
  83123. +#include <locale.h>
  83124. +#include <string.h>
  83125. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  83126. + <wchar.h>.
  83127. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  83128. + included before <wchar.h>. */
  83129. +#include <stddef.h>
  83130. +#include <stdio.h>
  83131. +#include <time.h>
  83132. +#include <wchar.h>
  83133. +int main ()
  83134. +{
  83135. + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
  83136. + {
  83137. + mbstate_t state;
  83138. + wchar_t wc;
  83139. + int ret;
  83140. +
  83141. + memset (&state, '\0', sizeof (mbstate_t));
  83142. + wc = (wchar_t) 0xBADFACE;
  83143. + mbrtowc (&wc, NULL, 5, &state);
  83144. + /* Check that wc was not modified. */
  83145. + if (wc != (wchar_t) 0xBADFACE)
  83146. + return 1;
  83147. + }
  83148. + return 0;
  83149. +}]])],
  83150. + [gl_cv_func_mbrtowc_null_arg2=yes],
  83151. + [gl_cv_func_mbrtowc_null_arg2=no],
  83152. + [:])
  83153. + fi
  83154. + ])
  83155. +])
  83156. +m4trace:m4/mbrtowc.m4:346: -1- AC_DEFUN([gl_MBRTOWC_RETVAL], [
  83157. + AC_REQUIRE([AC_PROG_CC])
  83158. + AC_REQUIRE([gt_LOCALE_FR_UTF8])
  83159. + AC_REQUIRE([gt_LOCALE_JA])
  83160. + AC_REQUIRE([AC_CANONICAL_HOST])
  83161. + AC_CACHE_CHECK([whether mbrtowc has a correct return value],
  83162. + [gl_cv_func_mbrtowc_retval],
  83163. + [
  83164. + dnl Initial guess, used when cross-compiling or when no suitable locale
  83165. + dnl is present.
  83166. +changequote(,)dnl
  83167. + case "$host_os" in
  83168. + # Guess no on HP-UX, Solaris, native Windows.
  83169. + hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;;
  83170. + # Guess yes otherwise.
  83171. + *) gl_cv_func_mbrtowc_retval="guessing yes" ;;
  83172. + esac
  83173. +changequote([,])dnl
  83174. + if test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none \
  83175. + || { case "$host_os" in mingw*) true;; *) false;; esac; }; then
  83176. + AC_RUN_IFELSE(
  83177. + [AC_LANG_SOURCE([[
  83178. +#include <locale.h>
  83179. +#include <string.h>
  83180. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  83181. + <wchar.h>.
  83182. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  83183. + included before <wchar.h>. */
  83184. +#include <stddef.h>
  83185. +#include <stdio.h>
  83186. +#include <time.h>
  83187. +#include <wchar.h>
  83188. +int main ()
  83189. +{
  83190. + int result = 0;
  83191. + int found_some_locale = 0;
  83192. + /* This fails on Solaris. */
  83193. + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
  83194. + {
  83195. + char input[] = "B\303\274\303\237er"; /* "Büßer" */
  83196. + mbstate_t state;
  83197. + wchar_t wc;
  83198. +
  83199. + memset (&state, '\0', sizeof (mbstate_t));
  83200. + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
  83201. + {
  83202. + input[1] = '\0';
  83203. + if (mbrtowc (&wc, input + 2, 5, &state) != 1)
  83204. + result |= 1;
  83205. + }
  83206. + found_some_locale = 1;
  83207. + }
  83208. + /* This fails on HP-UX 11.11. */
  83209. + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
  83210. + {
  83211. + char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */
  83212. + mbstate_t state;
  83213. + wchar_t wc;
  83214. +
  83215. + memset (&state, '\0', sizeof (mbstate_t));
  83216. + if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2))
  83217. + {
  83218. + input[1] = '\0';
  83219. + if (mbrtowc (&wc, input + 2, 5, &state) != 2)
  83220. + result |= 2;
  83221. + }
  83222. + found_some_locale = 1;
  83223. + }
  83224. + /* This fails on native Windows. */
  83225. + if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL)
  83226. + {
  83227. + char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */
  83228. + mbstate_t state;
  83229. + wchar_t wc;
  83230. +
  83231. + memset (&state, '\0', sizeof (mbstate_t));
  83232. + if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
  83233. + {
  83234. + input[3] = '\0';
  83235. + if (mbrtowc (&wc, input + 4, 4, &state) != 1)
  83236. + result |= 4;
  83237. + }
  83238. + found_some_locale = 1;
  83239. + }
  83240. + if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL)
  83241. + {
  83242. + char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */
  83243. + mbstate_t state;
  83244. + wchar_t wc;
  83245. +
  83246. + memset (&state, '\0', sizeof (mbstate_t));
  83247. + if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
  83248. + {
  83249. + input[3] = '\0';
  83250. + if (mbrtowc (&wc, input + 4, 4, &state) != 1)
  83251. + result |= 8;
  83252. + }
  83253. + found_some_locale = 1;
  83254. + }
  83255. + if (setlocale (LC_ALL, "Chinese_China.936") != NULL)
  83256. + {
  83257. + char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */
  83258. + mbstate_t state;
  83259. + wchar_t wc;
  83260. +
  83261. + memset (&state, '\0', sizeof (mbstate_t));
  83262. + if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2))
  83263. + {
  83264. + input[3] = '\0';
  83265. + if (mbrtowc (&wc, input + 4, 4, &state) != 1)
  83266. + result |= 16;
  83267. + }
  83268. + found_some_locale = 1;
  83269. + }
  83270. + return (found_some_locale ? result : 77);
  83271. +}]])],
  83272. + [gl_cv_func_mbrtowc_retval=yes],
  83273. + [if test $? != 77; then
  83274. + gl_cv_func_mbrtowc_retval=no
  83275. + fi
  83276. + ],
  83277. + [:])
  83278. + fi
  83279. + ])
  83280. +])
  83281. +m4trace:m4/mbrtowc.m4:476: -1- AC_DEFUN([gl_MBRTOWC_NUL_RETVAL], [
  83282. + AC_REQUIRE([AC_PROG_CC])
  83283. + AC_REQUIRE([gt_LOCALE_ZH_CN])
  83284. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  83285. + AC_CACHE_CHECK([whether mbrtowc returns 0 when parsing a NUL character],
  83286. + [gl_cv_func_mbrtowc_nul_retval],
  83287. + [
  83288. + dnl Initial guess, used when cross-compiling or when no suitable locale
  83289. + dnl is present.
  83290. +changequote(,)dnl
  83291. + case "$host_os" in
  83292. + # Guess no on Solaris 8 and 9.
  83293. + solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;;
  83294. + # Guess yes otherwise.
  83295. + *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;;
  83296. + esac
  83297. +changequote([,])dnl
  83298. + if test $LOCALE_ZH_CN != none; then
  83299. + AC_RUN_IFELSE(
  83300. + [AC_LANG_SOURCE([[
  83301. +#include <locale.h>
  83302. +#include <string.h>
  83303. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  83304. + <wchar.h>.
  83305. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  83306. + included before <wchar.h>. */
  83307. +#include <stddef.h>
  83308. +#include <stdio.h>
  83309. +#include <time.h>
  83310. +#include <wchar.h>
  83311. +int main ()
  83312. +{
  83313. + /* This fails on Solaris 8 and 9. */
  83314. + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
  83315. + {
  83316. + mbstate_t state;
  83317. + wchar_t wc;
  83318. +
  83319. + memset (&state, '\0', sizeof (mbstate_t));
  83320. + if (mbrtowc (&wc, "", 1, &state) != 0)
  83321. + return 1;
  83322. + }
  83323. + return 0;
  83324. +}]])],
  83325. + [gl_cv_func_mbrtowc_nul_retval=yes],
  83326. + [gl_cv_func_mbrtowc_nul_retval=no],
  83327. + [:])
  83328. + fi
  83329. + ])
  83330. +])
  83331. +m4trace:m4/mbrtowc.m4:529: -1- AC_DEFUN([gl_PREREQ_MBRTOWC], [
  83332. + :
  83333. +])
  83334. +m4trace:m4/mbrtowc.m4:538: -1- AC_DEFUN([AC_FUNC_MBRTOWC], [
  83335. + dnl Same as AC_FUNC_MBRTOWC in autoconf-2.60.
  83336. + AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared],
  83337. + gl_cv_func_mbrtowc,
  83338. + [AC_LINK_IFELSE(
  83339. + [AC_LANG_PROGRAM(
  83340. + [[/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
  83341. + included before <wchar.h>.
  83342. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
  83343. + must be included before <wchar.h>. */
  83344. + #include <stddef.h>
  83345. + #include <stdio.h>
  83346. + #include <time.h>
  83347. + #include <wchar.h>]],
  83348. + [[wchar_t wc;
  83349. + char const s[] = "";
  83350. + size_t n = 1;
  83351. + mbstate_t state;
  83352. + return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));]])],
  83353. + gl_cv_func_mbrtowc=yes,
  83354. + gl_cv_func_mbrtowc=no)])
  83355. + if test $gl_cv_func_mbrtowc = yes; then
  83356. + AC_DEFINE([HAVE_MBRTOWC], [1],
  83357. + [Define to 1 if mbrtowc and mbstate_t are properly declared.])
  83358. + fi
  83359. +])
  83360. +m4trace:m4/mbsinit.m4:7: -1- AC_DEFUN([gl_FUNC_MBSINIT], [
  83361. + AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
  83362. + AC_REQUIRE([AC_CANONICAL_HOST])
  83363. +
  83364. + AC_REQUIRE([AC_TYPE_MBSTATE_T])
  83365. + gl_MBSTATE_T_BROKEN
  83366. +
  83367. + AC_CHECK_FUNCS_ONCE([mbsinit])
  83368. + if test $ac_cv_func_mbsinit = no; then
  83369. + HAVE_MBSINIT=0
  83370. + else
  83371. + if test $REPLACE_MBSTATE_T = 1; then
  83372. + REPLACE_MBSINIT=1
  83373. + else
  83374. + dnl On mingw, mbsinit() always returns 1, which is inappropriate for
  83375. + dnl states produced by mbrtowc() for an incomplete multibyte character
  83376. + dnl in multibyte locales.
  83377. + case "$host_os" in
  83378. + mingw*) REPLACE_MBSINIT=1 ;;
  83379. + esac
  83380. + fi
  83381. + fi
  83382. + if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
  83383. + gl_REPLACE_WCHAR_H
  83384. + AC_LIBOBJ([mbsinit])
  83385. + gl_PREREQ_MBSINIT
  83386. + fi
  83387. +])
  83388. +m4trace:m4/mbsinit.m4:38: -1- AC_DEFUN([gl_PREREQ_MBSINIT], [
  83389. + :
  83390. +])
  83391. +m4trace:m4/mbstate_t.m4:15: -1- AC_DEFUN([AC_TYPE_MBSTATE_T], [
  83392. + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl for HP-UX 11.11
  83393. +
  83394. + AC_CACHE_CHECK([for mbstate_t], [ac_cv_type_mbstate_t],
  83395. + [AC_COMPILE_IFELSE(
  83396. + [AC_LANG_PROGRAM(
  83397. + [AC_INCLUDES_DEFAULT[
  83398. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  83399. + <wchar.h>.
  83400. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  83401. + included before <wchar.h>. */
  83402. +#include <stddef.h>
  83403. +#include <stdio.h>
  83404. +#include <time.h>
  83405. +#include <wchar.h>]],
  83406. + [[mbstate_t x; return sizeof x;]])],
  83407. + [ac_cv_type_mbstate_t=yes],
  83408. + [ac_cv_type_mbstate_t=no])])
  83409. + if test $ac_cv_type_mbstate_t = yes; then
  83410. + AC_DEFINE([HAVE_MBSTATE_T], [1],
  83411. + [Define to 1 if <wchar.h> declares mbstate_t.])
  83412. + else
  83413. + AC_DEFINE([mbstate_t], [int],
  83414. + [Define to a type if <wchar.h> does not define.])
  83415. + fi
  83416. +])
  83417. +m4trace:m4/mbtowc.m4:7: -1- AC_DEFUN([gl_FUNC_MBTOWC], [
  83418. + AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
  83419. +
  83420. + if false; then
  83421. + REPLACE_MBTOWC=1
  83422. + fi
  83423. + if test $REPLACE_MBTOWC = 1; then
  83424. + AC_LIBOBJ([mbtowc])
  83425. + gl_PREREQ_MBTOWC
  83426. + fi
  83427. +])
  83428. +m4trace:m4/mbtowc.m4:21: -1- AC_DEFUN([gl_PREREQ_MBTOWC], [
  83429. + :
  83430. +])
  83431. +m4trace:m4/memchr.m4:7: -1- AC_DEFUN_ONCE([gl_FUNC_MEMCHR], [
  83432. + dnl Check for prerequisites for memory fence checks.
  83433. + gl_FUNC_MMAP_ANON
  83434. + AC_CHECK_HEADERS_ONCE([sys/mman.h])
  83435. + AC_CHECK_FUNCS_ONCE([mprotect])
  83436. +
  83437. + dnl These days, we assume memchr is present. But just in case...
  83438. + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
  83439. + AC_CHECK_FUNCS_ONCE([memchr])
  83440. + if test $ac_cv_func_memchr = yes; then
  83441. + # Detect platform-specific bugs in some versions of glibc:
  83442. + # memchr should not dereference anything with length 0
  83443. + # http://bugzilla.redhat.com/499689
  83444. + # memchr should not dereference overestimated length after a match
  83445. + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737
  83446. + # http://sourceware.org/bugzilla/show_bug.cgi?id=10162
  83447. + # Assume that memchr works on platforms that lack mprotect.
  83448. + AC_CACHE_CHECK([whether memchr works], [gl_cv_func_memchr_works],
  83449. + [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
  83450. +#include <string.h>
  83451. +#if HAVE_SYS_MMAN_H
  83452. +# include <fcntl.h>
  83453. +# include <unistd.h>
  83454. +# include <sys/types.h>
  83455. +# include <sys/mman.h>
  83456. +# ifndef MAP_FILE
  83457. +# define MAP_FILE 0
  83458. +# endif
  83459. +#endif
  83460. +]], [[
  83461. + int result = 0;
  83462. + char *fence = NULL;
  83463. +#if HAVE_SYS_MMAN_H && HAVE_MPROTECT
  83464. +# if HAVE_MAP_ANONYMOUS
  83465. + const int flags = MAP_ANONYMOUS | MAP_PRIVATE;
  83466. + const int fd = -1;
  83467. +# else /* !HAVE_MAP_ANONYMOUS */
  83468. + const int flags = MAP_FILE | MAP_PRIVATE;
  83469. + int fd = open ("/dev/zero", O_RDONLY, 0666);
  83470. + if (fd >= 0)
  83471. +# endif
  83472. + {
  83473. + int pagesize = getpagesize ();
  83474. + char *two_pages =
  83475. + (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
  83476. + flags, fd, 0);
  83477. + if (two_pages != (char *)(-1)
  83478. + && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0)
  83479. + fence = two_pages + pagesize;
  83480. + }
  83481. +#endif
  83482. + if (fence)
  83483. + {
  83484. + if (memchr (fence, 0, 0))
  83485. + result |= 1;
  83486. + strcpy (fence - 9, "12345678");
  83487. + if (memchr (fence - 9, 0, 79) != fence - 1)
  83488. + result |= 2;
  83489. + if (memchr (fence - 1, 0, 3) != fence - 1)
  83490. + result |= 4;
  83491. + }
  83492. + return result;
  83493. +]])], [gl_cv_func_memchr_works=yes], [gl_cv_func_memchr_works=no],
  83494. + [dnl Be pessimistic for now.
  83495. + gl_cv_func_memchr_works="guessing no"])])
  83496. + if test "$gl_cv_func_memchr_works" != yes; then
  83497. + REPLACE_MEMCHR=1
  83498. + fi
  83499. + else
  83500. + HAVE_MEMCHR=0
  83501. + fi
  83502. + if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
  83503. + AC_LIBOBJ([memchr])
  83504. + gl_PREREQ_MEMCHR
  83505. + fi
  83506. +])
  83507. +m4trace:m4/memchr.m4:86: -1- AC_DEFUN([gl_PREREQ_MEMCHR], [
  83508. + AC_CHECK_HEADERS([bp-sym.h])
  83509. +])
  83510. +m4trace:m4/mkdtemp.m4:8: -1- AC_DEFUN([gt_FUNC_MKDTEMP], [
  83511. + AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
  83512. + AC_REPLACE_FUNCS([mkdtemp])
  83513. + if test $ac_cv_func_mkdtemp = no; then
  83514. + HAVE_MKDTEMP=0
  83515. + gl_PREREQ_MKDTEMP
  83516. + fi
  83517. +])
  83518. +m4trace:m4/mkdtemp.m4:19: -1- AC_DEFUN([gl_PREREQ_MKDTEMP], [:
  83519. +])
  83520. +m4trace:m4/mkstemp.m4:14: -1- AC_DEFUN([gl_FUNC_MKSTEMP], [
  83521. + AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
  83522. + AC_REQUIRE([AC_SYS_LARGEFILE])
  83523. +
  83524. + AC_CHECK_FUNCS_ONCE([mkstemp])
  83525. + if test $ac_cv_func_mkstemp = yes; then
  83526. + AC_CACHE_CHECK([for working mkstemp],
  83527. + [gl_cv_func_working_mkstemp],
  83528. + [
  83529. + mkdir conftest.mkstemp
  83530. + AC_RUN_IFELSE(
  83531. + [AC_LANG_PROGRAM(
  83532. + [AC_INCLUDES_DEFAULT],
  83533. + [[int result = 0;
  83534. + int i;
  83535. + off_t large = (off_t) 4294967295u;
  83536. + if (large < 0)
  83537. + large = 2147483647;
  83538. + for (i = 0; i < 70; i++)
  83539. + {
  83540. + char templ[] = "conftest.mkstemp/coXXXXXX";
  83541. + int (*mkstemp_function) (char *) = mkstemp;
  83542. + int fd = mkstemp_function (templ);
  83543. + if (fd < 0)
  83544. + result |= 1;
  83545. + else
  83546. + {
  83547. + if (lseek (fd, large, SEEK_SET) != large)
  83548. + result |= 2;
  83549. + close (fd);
  83550. + }
  83551. + }
  83552. + return result;]])],
  83553. + [gl_cv_func_working_mkstemp=yes],
  83554. + [gl_cv_func_working_mkstemp=no],
  83555. + [gl_cv_func_working_mkstemp=no])
  83556. + rm -rf conftest.mkstemp
  83557. + ])
  83558. + if test $gl_cv_func_working_mkstemp != yes; then
  83559. + REPLACE_MKSTEMP=1
  83560. + AC_LIBOBJ([mkstemp])
  83561. + gl_PREREQ_MKSTEMP
  83562. + fi
  83563. + else
  83564. + HAVE_MKSTEMP=0
  83565. + AC_LIBOBJ([mkstemp])
  83566. + gl_PREREQ_MKSTEMP
  83567. + fi
  83568. +])
  83569. +m4trace:m4/mkstemp.m4:66: -1- AC_DEFUN([gl_PREREQ_MKSTEMP], [
  83570. +])
  83571. +m4trace:m4/mmap-anon.m4:16: -1- AC_DEFUN([gl_FUNC_MMAP_ANON], [
  83572. + dnl Persuade glibc <sys/mman.h> to define MAP_ANONYMOUS.
  83573. + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
  83574. +
  83575. + # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
  83576. + # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  83577. + # irrelevant for anonymous mappings.
  83578. + AC_CHECK_FUNC([mmap], [gl_have_mmap=yes], [gl_have_mmap=no])
  83579. +
  83580. + # Try to allow MAP_ANONYMOUS.
  83581. + gl_have_mmap_anonymous=no
  83582. + if test $gl_have_mmap = yes; then
  83583. + AC_MSG_CHECKING([for MAP_ANONYMOUS])
  83584. + AC_EGREP_CPP([I cant identify this map.], [
  83585. +#include <sys/mman.h>
  83586. +#ifdef MAP_ANONYMOUS
  83587. + I cant identify this map.
  83588. +#endif
  83589. +],
  83590. + [gl_have_mmap_anonymous=yes])
  83591. + if test $gl_have_mmap_anonymous != yes; then
  83592. + AC_EGREP_CPP([I cant identify this map.], [
  83593. +#include <sys/mman.h>
  83594. +#ifdef MAP_ANON
  83595. + I cant identify this map.
  83596. +#endif
  83597. +],
  83598. + [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON],
  83599. + [Define to a substitute value for mmap()'s MAP_ANONYMOUS flag.])
  83600. + gl_have_mmap_anonymous=yes])
  83601. + fi
  83602. + AC_MSG_RESULT([$gl_have_mmap_anonymous])
  83603. + if test $gl_have_mmap_anonymous = yes; then
  83604. + AC_DEFINE([HAVE_MAP_ANONYMOUS], [1],
  83605. + [Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
  83606. + config.h and <sys/mman.h>.])
  83607. + fi
  83608. + fi
  83609. +])
  83610. +m4trace:m4/mode_t.m4:12: -1- AC_DEFUN([gl_PROMOTED_TYPE_MODE_T], [
  83611. + AC_REQUIRE([AC_TYPE_MODE_T])
  83612. + AC_CACHE_CHECK([for promoted mode_t type], [gl_cv_promoted_mode_t], [
  83613. + dnl Assume mode_t promotes to 'int' if and only if it is smaller than 'int',
  83614. + dnl and to itself otherwise. This assumption is not guaranteed by the ISO C
  83615. + dnl standard, but we don't know of any real-world counterexamples.
  83616. + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>]],
  83617. + [[typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1];]])],
  83618. + [gl_cv_promoted_mode_t='int'],
  83619. + [gl_cv_promoted_mode_t='mode_t'])
  83620. + ])
  83621. + AC_DEFINE_UNQUOTED([PROMOTED_MODE_T], [$gl_cv_promoted_mode_t],
  83622. + [Define to the type that is the result of default argument promotions of type mode_t.])
  83623. +])
  83624. +m4trace:m4/multiarch.m4:21: -1- AC_DEFUN_ONCE([gl_MULTIARCH], [
  83625. + dnl Code similar to autoconf-2.63 AC_C_BIGENDIAN.
  83626. + gl_cv_c_multiarch=no
  83627. + AC_COMPILE_IFELSE(
  83628. + [AC_LANG_SOURCE(
  83629. + [[#ifndef __APPLE_CC__
  83630. + not a universal capable compiler
  83631. + #endif
  83632. + typedef int dummy;
  83633. + ]])],
  83634. + [
  83635. + dnl Check for potential -arch flags. It is not universal unless
  83636. + dnl there are at least two -arch flags with different values.
  83637. + arch=
  83638. + prev=
  83639. + for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do
  83640. + if test -n "$prev"; then
  83641. + case $word in
  83642. + i?86 | x86_64 | ppc | ppc64)
  83643. + if test -z "$arch" || test "$arch" = "$word"; then
  83644. + arch="$word"
  83645. + else
  83646. + gl_cv_c_multiarch=yes
  83647. + fi
  83648. + ;;
  83649. + esac
  83650. + prev=
  83651. + else
  83652. + if test "x$word" = "x-arch"; then
  83653. + prev=arch
  83654. + fi
  83655. + fi
  83656. + done
  83657. + ])
  83658. + if test $gl_cv_c_multiarch = yes; then
  83659. + APPLE_UNIVERSAL_BUILD=1
  83660. + else
  83661. + APPLE_UNIVERSAL_BUILD=0
  83662. + fi
  83663. + AC_SUBST([APPLE_UNIVERSAL_BUILD])
  83664. +])
  83665. +m4trace:m4/nl_langinfo.m4:7: -1- AC_DEFUN([gl_FUNC_NL_LANGINFO], [
  83666. + AC_REQUIRE([gl_LANGINFO_H_DEFAULTS])
  83667. + AC_REQUIRE([gl_LANGINFO_H])
  83668. + AC_CHECK_FUNCS_ONCE([nl_langinfo])
  83669. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  83670. + if test $ac_cv_func_nl_langinfo = yes; then
  83671. + # On Irix 6.5, YESEXPR is defined, but nl_langinfo(YESEXPR) is broken.
  83672. + AC_CACHE_CHECK([whether YESEXPR works],
  83673. + [gl_cv_func_nl_langinfo_yesexpr_works],
  83674. + [AC_RUN_IFELSE(
  83675. + [AC_LANG_PROGRAM([[#include <langinfo.h>
  83676. +]], [[return !*nl_langinfo(YESEXPR);
  83677. +]])],
  83678. + [gl_cv_func_nl_langinfo_yesexpr_works=yes],
  83679. + [gl_cv_func_nl_langinfo_yesexpr_works=no],
  83680. + [
  83681. + case "$host_os" in
  83682. + # Guess no on irix systems.
  83683. + irix*) gl_cv_func_nl_langinfo_yesexpr_works="guessing no";;
  83684. + # Guess yes elsewhere.
  83685. + *) gl_cv_func_nl_langinfo_yesexpr_works="guessing yes";;
  83686. + esac
  83687. + ])
  83688. + ])
  83689. + case $gl_cv_func_nl_langinfo_yesexpr_works in
  83690. + *yes) FUNC_NL_LANGINFO_YESEXPR_WORKS=1 ;;
  83691. + *) FUNC_NL_LANGINFO_YESEXPR_WORKS=0 ;;
  83692. + esac
  83693. + AC_DEFINE_UNQUOTED([FUNC_NL_LANGINFO_YESEXPR_WORKS],
  83694. + [$FUNC_NL_LANGINFO_YESEXPR_WORKS],
  83695. + [Define to 1 if nl_langinfo (YESEXPR) returns a non-empty string.])
  83696. + if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1 \
  83697. + && test $FUNC_NL_LANGINFO_YESEXPR_WORKS = 1; then
  83698. + :
  83699. + else
  83700. + REPLACE_NL_LANGINFO=1
  83701. + AC_DEFINE([REPLACE_NL_LANGINFO], [1],
  83702. + [Define if nl_langinfo exists but is overridden by gnulib.])
  83703. + AC_LIBOBJ([nl_langinfo])
  83704. + fi
  83705. + else
  83706. + HAVE_NL_LANGINFO=0
  83707. + AC_LIBOBJ([nl_langinfo])
  83708. + fi
  83709. +])
  83710. +m4trace:m4/nocrash.m4:18: -1- AC_DEFUN([GL_NOCRASH], [[
  83711. +#include <stdlib.h>
  83712. +#if defined __MACH__ && defined __APPLE__
  83713. +/* Avoid a crash on MacOS X. */
  83714. +#include <mach/mach.h>
  83715. +#include <mach/mach_error.h>
  83716. +#include <mach/thread_status.h>
  83717. +#include <mach/exception.h>
  83718. +#include <mach/task.h>
  83719. +#include <pthread.h>
  83720. +/* The exception port on which our thread listens. */
  83721. +static mach_port_t our_exception_port;
  83722. +/* The main function of the thread listening for exceptions of type
  83723. + EXC_BAD_ACCESS. */
  83724. +static void *
  83725. +mach_exception_thread (void *arg)
  83726. +{
  83727. + /* Buffer for a message to be received. */
  83728. + struct {
  83729. + mach_msg_header_t head;
  83730. + mach_msg_body_t msgh_body;
  83731. + char data[1024];
  83732. + } msg;
  83733. + mach_msg_return_t retval;
  83734. + /* Wait for a message on the exception port. */
  83735. + retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg),
  83736. + our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
  83737. + if (retval != MACH_MSG_SUCCESS)
  83738. + abort ();
  83739. + exit (1);
  83740. +}
  83741. +static void
  83742. +nocrash_init (void)
  83743. +{
  83744. + mach_port_t self = mach_task_self ();
  83745. + /* Allocate a port on which the thread shall listen for exceptions. */
  83746. + if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port)
  83747. + == KERN_SUCCESS) {
  83748. + /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */
  83749. + if (mach_port_insert_right (self, our_exception_port, our_exception_port,
  83750. + MACH_MSG_TYPE_MAKE_SEND)
  83751. + == KERN_SUCCESS) {
  83752. + /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting
  83753. + for us. */
  83754. + exception_mask_t mask = EXC_MASK_BAD_ACCESS;
  83755. + /* Create the thread listening on the exception port. */
  83756. + pthread_attr_t attr;
  83757. + pthread_t thread;
  83758. + if (pthread_attr_init (&attr) == 0
  83759. + && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0
  83760. + && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) {
  83761. + pthread_attr_destroy (&attr);
  83762. + /* Replace the exception port info for these exceptions with our own.
  83763. + Note that we replace the exception port for the entire task, not only
  83764. + for a particular thread. This has the effect that when our exception
  83765. + port gets the message, the thread specific exception port has already
  83766. + been asked, and we don't need to bother about it.
  83767. + See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */
  83768. + task_set_exception_ports (self, mask, our_exception_port,
  83769. + EXCEPTION_DEFAULT, MACHINE_THREAD_STATE);
  83770. + }
  83771. + }
  83772. + }
  83773. +}
  83774. +#else
  83775. +/* Avoid a crash on POSIX systems. */
  83776. +#include <signal.h>
  83777. +/* A POSIX signal handler. */
  83778. +static void
  83779. +exception_handler (int sig)
  83780. +{
  83781. + exit (1);
  83782. +}
  83783. +static void
  83784. +nocrash_init (void)
  83785. +{
  83786. +#ifdef SIGSEGV
  83787. + signal (SIGSEGV, exception_handler);
  83788. +#endif
  83789. +#ifdef SIGBUS
  83790. + signal (SIGBUS, exception_handler);
  83791. +#endif
  83792. +}
  83793. +#endif
  83794. +]])
  83795. +m4trace:m4/open.m4:7: -1- AC_DEFUN([gl_FUNC_OPEN], [
  83796. + AC_REQUIRE([AC_CANONICAL_HOST])
  83797. + case "$host_os" in
  83798. + mingw* | pw*)
  83799. + gl_REPLACE_OPEN
  83800. + ;;
  83801. + *)
  83802. + dnl open("foo/") should not create a file when the file name has a
  83803. + dnl trailing slash. FreeBSD only has the problem on symlinks.
  83804. + AC_CHECK_FUNCS_ONCE([lstat])
  83805. + AC_CACHE_CHECK([whether open recognizes a trailing slash],
  83806. + [gl_cv_func_open_slash],
  83807. + [# Assume that if we have lstat, we can also check symlinks.
  83808. + if test $ac_cv_func_lstat = yes; then
  83809. + touch conftest.tmp
  83810. + ln -s conftest.tmp conftest.lnk
  83811. + fi
  83812. + AC_RUN_IFELSE(
  83813. + [AC_LANG_SOURCE([[
  83814. +#include <fcntl.h>
  83815. +#if HAVE_UNISTD_H
  83816. +# include <unistd.h>
  83817. +#endif
  83818. +int main ()
  83819. +{
  83820. + int result = 0;
  83821. +#if HAVE_LSTAT
  83822. + if (open ("conftest.lnk/", O_RDONLY) != -1)
  83823. + result |= 1;
  83824. +#endif
  83825. + if (open ("conftest.sl/", O_CREAT, 0600) >= 0)
  83826. + result |= 2;
  83827. + return result;
  83828. +}]])],
  83829. + [gl_cv_func_open_slash=yes],
  83830. + [gl_cv_func_open_slash=no],
  83831. + [
  83832. +changequote(,)dnl
  83833. + case "$host_os" in
  83834. + freebsd* | aix* | hpux* | solaris2.[0-9] | solaris2.[0-9].*)
  83835. + gl_cv_func_open_slash="guessing no" ;;
  83836. + *)
  83837. + gl_cv_func_open_slash="guessing yes" ;;
  83838. + esac
  83839. +changequote([,])dnl
  83840. + ])
  83841. + rm -f conftest.sl conftest.tmp conftest.lnk
  83842. + ])
  83843. + case "$gl_cv_func_open_slash" in
  83844. + *no)
  83845. + AC_DEFINE([OPEN_TRAILING_SLASH_BUG], [1],
  83846. + [Define to 1 if open() fails to recognize a trailing slash.])
  83847. + gl_REPLACE_OPEN
  83848. + ;;
  83849. + esac
  83850. + ;;
  83851. + esac
  83852. +])
  83853. +m4trace:m4/open.m4:67: -1- AC_DEFUN([gl_REPLACE_OPEN], [
  83854. + AC_REQUIRE([gl_FCNTL_H_DEFAULTS])
  83855. + REPLACE_OPEN=1
  83856. + AC_LIBOBJ([open])
  83857. + gl_PREREQ_OPEN
  83858. +])
  83859. +m4trace:m4/open.m4:76: -1- AC_DEFUN([gl_PREREQ_OPEN], [
  83860. + AC_REQUIRE([AC_C_INLINE])
  83861. + AC_REQUIRE([gl_PROMOTED_TYPE_MODE_T])
  83862. + :
  83863. +])
  83864. +m4trace:m4/pathmax.m4:8: -1- AC_DEFUN([gl_PATHMAX], [
  83865. + dnl Prerequisites of lib/pathmax.h.
  83866. + AC_CHECK_FUNCS_ONCE([pathconf])
  83867. + AC_CHECK_HEADERS_ONCE([sys/param.h])
  83868. +])
  83869. +m4trace:m4/pipe2.m4:7: -1- AC_DEFUN([gl_FUNC_PIPE2], [
  83870. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
  83871. +
  83872. + dnl Persuade glibc <unistd.h> to declare pipe2().
  83873. + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
  83874. +
  83875. + AC_CHECK_FUNCS_ONCE([pipe2])
  83876. + if test $ac_cv_func_pipe2 != yes; then
  83877. + HAVE_PIPE2=0
  83878. + fi
  83879. +])
  83880. +m4trace:m4/posix_spawn.m4:8: -1- AC_DEFUN([gl_POSIX_SPAWN], [
  83881. + AC_REQUIRE([gl_POSIX_SPAWN_BODY])
  83882. +])
  83883. +m4trace:m4/posix_spawn.m4:13: -1- AC_DEFUN([gl_POSIX_SPAWN_BODY], [
  83884. + AC_REQUIRE([gl_SPAWN_H_DEFAULTS])
  83885. + AC_REQUIRE([gl_HAVE_POSIX_SPAWN])
  83886. + dnl Assume that when the main function exists, all the others,
  83887. + dnl except posix_spawnattr_{get,set}sched*, are available as well.
  83888. + dnl AC_CHECK_FUNCS_ONCE([posix_spawnp])
  83889. + dnl AC_CHECK_FUNCS_ONCE([posix_spawn_file_actions_init])
  83890. + dnl AC_CHECK_FUNCS_ONCE([posix_spawn_file_actions_addclose])
  83891. + dnl AC_CHECK_FUNCS_ONCE([posix_spawn_file_actions_adddup2])
  83892. + dnl AC_CHECK_FUNCS_ONCE([posix_spawn_file_actions_addopen])
  83893. + dnl AC_CHECK_FUNCS_ONCE([posix_spawn_file_actions_destroy])
  83894. + dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_init])
  83895. + dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_getflags])
  83896. + dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_setflags])
  83897. + dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_getpgroup])
  83898. + dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_setpgroup])
  83899. + dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_getsigdefault])
  83900. + dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_setsigdefault])
  83901. + dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_getsigmask])
  83902. + dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_setsigmask])
  83903. + dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_destroy])
  83904. + if test $ac_cv_func_posix_spawn = yes; then
  83905. + gl_POSIX_SPAWN_WORKS
  83906. + case "$gl_cv_func_posix_spawn_works" in
  83907. + *yes)
  83908. + dnl Assume that these functions are available if POSIX_SPAWN_SETSCHEDULER
  83909. + dnl evaluates to nonzero.
  83910. + dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_getschedpolicy])
  83911. + dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_setschedpolicy])
  83912. + AC_CACHE_CHECK([whether posix_spawnattr_setschedpolicy is supported],
  83913. + [gl_cv_func_spawnattr_setschedpolicy],
  83914. + [AC_EGREP_CPP([POSIX scheduling supported], [
  83915. +#include <spawn.h>
  83916. +#if POSIX_SPAWN_SETSCHEDULER
  83917. + POSIX scheduling supported
  83918. +#endif
  83919. +],
  83920. + [gl_cv_func_spawnattr_setschedpolicy=yes],
  83921. + [gl_cv_func_spawnattr_setschedpolicy=no])
  83922. + ])
  83923. + dnl Assume that these functions are available if POSIX_SPAWN_SETSCHEDPARAM
  83924. + dnl evaluates to nonzero.
  83925. + dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_getschedparam])
  83926. + dnl AC_CHECK_FUNCS_ONCE([posix_spawnattr_setschedparam])
  83927. + AC_CACHE_CHECK([whether posix_spawnattr_setschedparam is supported],
  83928. + [gl_cv_func_spawnattr_setschedparam],
  83929. + [AC_EGREP_CPP([POSIX scheduling supported], [
  83930. +#include <spawn.h>
  83931. +#if POSIX_SPAWN_SETSCHEDPARAM
  83932. + POSIX scheduling supported
  83933. +#endif
  83934. +],
  83935. + [gl_cv_func_spawnattr_setschedparam=yes],
  83936. + [gl_cv_func_spawnattr_setschedparam=no])
  83937. + ])
  83938. + ;;
  83939. + *) REPLACE_POSIX_SPAWN=1 ;;
  83940. + esac
  83941. + fi
  83942. +])
  83943. +m4trace:m4/posix_spawn.m4:84: -1- AC_DEFUN([gl_POSIX_SPAWN_WORKS], [
  83944. + AC_REQUIRE([AC_PROG_CC])
  83945. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  83946. + AC_CACHE_CHECK([whether posix_spawn works], [gl_cv_func_posix_spawn_works],
  83947. + [if test $cross_compiling = no; then
  83948. + AC_LINK_IFELSE([AC_LANG_SOURCE([[
  83949. +#include <errno.h>
  83950. +#include <fcntl.h>
  83951. +#include <signal.h>
  83952. +#include <spawn.h>
  83953. +#include <stdbool.h>
  83954. +#include <stdio.h>
  83955. +#include <stdlib.h>
  83956. +#include <string.h>
  83957. +#include <unistd.h>
  83958. +#include <sys/types.h>
  83959. +#include <sys/wait.h>
  83960. +
  83961. +extern char **environ;
  83962. +
  83963. +#ifndef STDIN_FILENO
  83964. +# define STDIN_FILENO 0
  83965. +#endif
  83966. +#ifndef STDOUT_FILENO
  83967. +# define STDOUT_FILENO 1
  83968. +#endif
  83969. +#ifndef STDERR_FILENO
  83970. +# define STDERR_FILENO 2
  83971. +#endif
  83972. +
  83973. +#ifndef WTERMSIG
  83974. +# define WTERMSIG(x) ((x) & 0x7f)
  83975. +#endif
  83976. +#ifndef WIFEXITED
  83977. +# define WIFEXITED(x) (WTERMSIG (x) == 0)
  83978. +#endif
  83979. +#ifndef WEXITSTATUS
  83980. +# define WEXITSTATUS(x) (((x) >> 8) & 0xff)
  83981. +#endif
  83982. +
  83983. +#define CHILD_PROGRAM_FILENAME "/non/exist/ent"
  83984. +
  83985. +static int
  83986. +fd_safer (int fd)
  83987. +{
  83988. + if (0 <= fd && fd <= 2)
  83989. + {
  83990. + int f = fd_safer (dup (fd));
  83991. + int e = errno;
  83992. + close (fd);
  83993. + errno = e;
  83994. + fd = f;
  83995. + }
  83996. +
  83997. + return fd;
  83998. +}
  83999. +
  84000. +int
  84001. +main ()
  84002. +{
  84003. + char *argv[2] = { CHILD_PROGRAM_FILENAME, NULL };
  84004. + int ofd[2];
  84005. + sigset_t blocked_signals;
  84006. + sigset_t fatal_signal_set;
  84007. + posix_spawn_file_actions_t actions;
  84008. + bool actions_allocated;
  84009. + posix_spawnattr_t attrs;
  84010. + bool attrs_allocated;
  84011. + int err;
  84012. + pid_t child;
  84013. + int status;
  84014. + int exitstatus;
  84015. +
  84016. + setvbuf (stdout, NULL, _IOFBF, 0);
  84017. + puts ("This should be seen only once.");
  84018. + if (pipe (ofd) < 0 || (ofd[1] = fd_safer (ofd[1])) < 0)
  84019. + {
  84020. + perror ("cannot create pipe");
  84021. + exit (1);
  84022. + }
  84023. + sigprocmask (SIG_SETMASK, NULL, &blocked_signals);
  84024. + sigemptyset (&fatal_signal_set);
  84025. + sigaddset (&fatal_signal_set, SIGINT);
  84026. + sigaddset (&fatal_signal_set, SIGTERM);
  84027. + sigaddset (&fatal_signal_set, SIGHUP);
  84028. + sigaddset (&fatal_signal_set, SIGPIPE);
  84029. + sigprocmask (SIG_BLOCK, &fatal_signal_set, NULL);
  84030. + actions_allocated = false;
  84031. + attrs_allocated = false;
  84032. + if ((err = posix_spawn_file_actions_init (&actions)) != 0
  84033. + || (actions_allocated = true,
  84034. + (err = posix_spawn_file_actions_adddup2 (&actions, ofd[0], STDIN_FILENO)) != 0
  84035. + || (err = posix_spawn_file_actions_addclose (&actions, ofd[0])) != 0
  84036. + || (err = posix_spawn_file_actions_addclose (&actions, ofd[1])) != 0
  84037. + || (err = posix_spawnattr_init (&attrs)) != 0
  84038. + || (attrs_allocated = true,
  84039. + (err = posix_spawnattr_setsigmask (&attrs, &blocked_signals)) != 0
  84040. + || (err = posix_spawnattr_setflags (&attrs, POSIX_SPAWN_SETSIGMASK)) != 0)
  84041. + || (err = posix_spawnp (&child, CHILD_PROGRAM_FILENAME, &actions, &attrs, argv, environ)) != 0))
  84042. + {
  84043. + if (actions_allocated)
  84044. + posix_spawn_file_actions_destroy (&actions);
  84045. + if (attrs_allocated)
  84046. + posix_spawnattr_destroy (&attrs);
  84047. + sigprocmask (SIG_UNBLOCK, &fatal_signal_set, NULL);
  84048. + if (err == ENOENT)
  84049. + return 0;
  84050. + else
  84051. + {
  84052. + errno = err;
  84053. + perror ("subprocess failed");
  84054. + exit (1);
  84055. + }
  84056. + }
  84057. + posix_spawn_file_actions_destroy (&actions);
  84058. + posix_spawnattr_destroy (&attrs);
  84059. + sigprocmask (SIG_UNBLOCK, &fatal_signal_set, NULL);
  84060. + close (ofd[0]);
  84061. + close (ofd[1]);
  84062. + status = 0;
  84063. + while (waitpid (child, &status, 0) != child)
  84064. + ;
  84065. + if (!WIFEXITED (status))
  84066. + {
  84067. + fprintf (stderr, "subprocess terminated with unexpected wait status %d\n", status);
  84068. + exit (1);
  84069. + }
  84070. + exitstatus = WEXITSTATUS (status);
  84071. + if (exitstatus != 127)
  84072. + {
  84073. + fprintf (stderr, "subprocess terminated with unexpected exit status %d\n", exitstatus);
  84074. + exit (1);
  84075. + }
  84076. + return 0;
  84077. +}
  84078. +]])],
  84079. + [if test -s conftest$ac_exeext \
  84080. + && ./conftest$ac_exeext > conftest.out \
  84081. + && echo 'This should be seen only once.' > conftest.ok \
  84082. + && cmp conftest.out conftest.ok > /dev/null; then
  84083. + gl_cv_func_posix_spawn_works=yes
  84084. + else
  84085. + gl_cv_func_posix_spawn_works=no
  84086. + fi],
  84087. + [gl_cv_func_posix_spawn_works=no])
  84088. + if test $gl_cv_func_posix_spawn_works = yes; then
  84089. + AC_RUN_IFELSE([AC_LANG_SOURCE([[
  84090. +/* Test whether posix_spawn_file_actions_addopen supports filename arguments
  84091. + that contain special characters such as '*'. */
  84092. +
  84093. +#include <errno.h>
  84094. +#include <fcntl.h>
  84095. +#include <signal.h>
  84096. +#include <spawn.h>
  84097. +#include <stdbool.h>
  84098. +#include <stdio.h>
  84099. +#include <string.h>
  84100. +#include <unistd.h>
  84101. +#include <sys/types.h>
  84102. +#include <sys/wait.h>
  84103. +
  84104. +extern char **environ;
  84105. +
  84106. +#ifndef STDIN_FILENO
  84107. +# define STDIN_FILENO 0
  84108. +#endif
  84109. +#ifndef STDOUT_FILENO
  84110. +# define STDOUT_FILENO 1
  84111. +#endif
  84112. +#ifndef STDERR_FILENO
  84113. +# define STDERR_FILENO 2
  84114. +#endif
  84115. +
  84116. +#ifndef WTERMSIG
  84117. +# define WTERMSIG(x) ((x) & 0x7f)
  84118. +#endif
  84119. +#ifndef WIFEXITED
  84120. +# define WIFEXITED(x) (WTERMSIG (x) == 0)
  84121. +#endif
  84122. +#ifndef WEXITSTATUS
  84123. +# define WEXITSTATUS(x) (((x) >> 8) & 0xff)
  84124. +#endif
  84125. +
  84126. +#define CHILD_PROGRAM_FILENAME "conftest"
  84127. +#define DATA_FILENAME "conftest%=*#?"
  84128. +
  84129. +static int
  84130. +parent_main (void)
  84131. +{
  84132. + FILE *fp;
  84133. + char *argv[3] = { CHILD_PROGRAM_FILENAME, "-child", NULL };
  84134. + posix_spawn_file_actions_t actions;
  84135. + bool actions_allocated;
  84136. + int err;
  84137. + pid_t child;
  84138. + int status;
  84139. + int exitstatus;
  84140. +
  84141. + /* Create a data file with specific contents. */
  84142. + fp = fopen (DATA_FILENAME, "wb");
  84143. + if (fp == NULL)
  84144. + {
  84145. + perror ("cannot create data file");
  84146. + return 1;
  84147. + }
  84148. + fwrite ("Halle Potta", 1, 11, fp);
  84149. + if (fflush (fp) || fclose (fp))
  84150. + {
  84151. + perror ("cannot prepare data file");
  84152. + return 2;
  84153. + }
  84154. +
  84155. + /* Avoid reading from our stdin, as it could block. */
  84156. + freopen ("/dev/null", "rb", stdin);
  84157. +
  84158. + /* Test whether posix_spawn_file_actions_addopen with this file name
  84159. + actually works, but spawning a child that reads from this file. */
  84160. + actions_allocated = false;
  84161. + if ((err = posix_spawn_file_actions_init (&actions)) != 0
  84162. + || (actions_allocated = true,
  84163. + (err = posix_spawn_file_actions_addopen (&actions, STDIN_FILENO, DATA_FILENAME, O_RDONLY, 0600)) != 0
  84164. + || (err = posix_spawn (&child, CHILD_PROGRAM_FILENAME, &actions, NULL, argv, environ)) != 0))
  84165. + {
  84166. + if (actions_allocated)
  84167. + posix_spawn_file_actions_destroy (&actions);
  84168. + errno = err;
  84169. + perror ("subprocess failed");
  84170. + return 3;
  84171. + }
  84172. + posix_spawn_file_actions_destroy (&actions);
  84173. + status = 0;
  84174. + while (waitpid (child, &status, 0) != child)
  84175. + ;
  84176. + if (!WIFEXITED (status))
  84177. + {
  84178. + fprintf (stderr, "subprocess terminated with unexpected wait status %d\n", status);
  84179. + return 4;
  84180. + }
  84181. + exitstatus = WEXITSTATUS (status);
  84182. + if (exitstatus != 0)
  84183. + {
  84184. + fprintf (stderr, "subprocess terminated with unexpected exit status %d\n", exitstatus);
  84185. + return 5;
  84186. + }
  84187. + return 0;
  84188. +}
  84189. +
  84190. +static int
  84191. +child_main (void)
  84192. +{
  84193. + char buf[1024];
  84194. +
  84195. + /* See if reading from STDIN_FILENO yields the expected contents. */
  84196. + if (fread (buf, 1, sizeof (buf), stdin) == 11
  84197. + && memcmp (buf, "Halle Potta", 11) == 0)
  84198. + return 0;
  84199. + else
  84200. + return 8;
  84201. +}
  84202. +
  84203. +static void
  84204. +cleanup_then_die (int sig)
  84205. +{
  84206. + /* Clean up data file. */
  84207. + unlink (DATA_FILENAME);
  84208. +
  84209. + /* Re-raise the signal and die from it. */
  84210. + signal (sig, SIG_DFL);
  84211. + raise (sig);
  84212. +}
  84213. +
  84214. +int
  84215. +main (int argc, char *argv[])
  84216. +{
  84217. + int exitstatus;
  84218. +
  84219. + if (!(argc > 1 && strcmp (argv[1], "-child") == 0))
  84220. + {
  84221. + /* This is the parent process. */
  84222. + signal (SIGINT, cleanup_then_die);
  84223. + signal (SIGTERM, cleanup_then_die);
  84224. + #ifdef SIGHUP
  84225. + signal (SIGHUP, cleanup_then_die);
  84226. + #endif
  84227. +
  84228. + exitstatus = parent_main ();
  84229. + }
  84230. + else
  84231. + {
  84232. + /* This is the child process. */
  84233. +
  84234. + exitstatus = child_main ();
  84235. + }
  84236. + unlink (DATA_FILENAME);
  84237. + return exitstatus;
  84238. +}
  84239. +]])],
  84240. + [],
  84241. + [gl_cv_func_posix_spawn_works=no])
  84242. + fi
  84243. + else
  84244. + case "$host_os" in
  84245. + aix*) gl_cv_func_posix_spawn_works="guessing no";;
  84246. + *) gl_cv_func_posix_spawn_works="guessing yes";;
  84247. + esac
  84248. + fi
  84249. + ])
  84250. +])
  84251. +m4trace:m4/posix_spawn.m4:394: -1- AC_DEFUN([gl_POSIX_SPAWN_INTERNAL], [
  84252. + AC_LIBOBJ([spawni])
  84253. + dnl Prerequisites of lib/spawni.c.
  84254. + AC_CHECK_HEADERS([paths.h])
  84255. + AC_CHECK_FUNCS([confstr sched_setparam sched_setscheduler setegid seteuid vfork])
  84256. +])
  84257. +m4trace:m4/printf-frexp.m4:9: -1- AC_DEFUN([gl_FUNC_PRINTF_FREXP], [
  84258. + AC_REQUIRE([gl_CHECK_FREXP_NO_LIBM])
  84259. + if test $gl_cv_func_frexp_no_libm = yes; then
  84260. + gl_FUNC_FREXP_WORKS
  84261. + case "$gl_cv_func_frexp_works" in
  84262. + *yes)
  84263. + AC_DEFINE([HAVE_FREXP_IN_LIBC], [1],
  84264. + [Define if the frexp function is available in libc.])
  84265. + ;;
  84266. + esac
  84267. + fi
  84268. +
  84269. + AC_CACHE_CHECK([whether ldexp can be used without linking with libm],
  84270. + [gl_cv_func_ldexp_no_libm],
  84271. + [
  84272. + AC_LINK_IFELSE(
  84273. + [AC_LANG_PROGRAM(
  84274. + [[#include <math.h>
  84275. + double x;
  84276. + int y;]],
  84277. + [[return ldexp (x, y) < 1;]])],
  84278. + [gl_cv_func_ldexp_no_libm=yes],
  84279. + [gl_cv_func_ldexp_no_libm=no])
  84280. + ])
  84281. + if test $gl_cv_func_ldexp_no_libm = yes; then
  84282. + AC_DEFINE([HAVE_LDEXP_IN_LIBC], [1],
  84283. + [Define if the ldexp function is available in libc.])
  84284. + fi
  84285. +])
  84286. +m4trace:m4/printf-frexpl.m4:9: -1- AC_DEFUN([gl_FUNC_PRINTF_FREXPL], [
  84287. + AC_REQUIRE([gl_MATH_H_DEFAULTS])
  84288. + dnl Subset of gl_FUNC_FREXPL_NO_LIBM.
  84289. + gl_CHECK_FREXPL_NO_LIBM
  84290. + if test $gl_cv_func_frexpl_no_libm = yes; then
  84291. + gl_FUNC_FREXPL_WORKS
  84292. + case "$gl_cv_func_frexpl_works" in
  84293. + *yes) gl_func_frexpl_no_libm=yes ;;
  84294. + *) gl_func_frexpl_no_libm=no; REPLACE_FREXPL=1 ;;
  84295. + esac
  84296. + else
  84297. + gl_func_frexpl_no_libm=no
  84298. + dnl Set REPLACE_FREXPL here because the system may have frexpl in libm.
  84299. + REPLACE_FREXPL=1
  84300. + fi
  84301. + if test $gl_func_frexpl_no_libm = yes; then
  84302. + AC_DEFINE([HAVE_FREXPL_IN_LIBC], [1],
  84303. + [Define if the frexpl function is available in libc.])
  84304. + dnl Also check whether it's declared.
  84305. + dnl MacOS X 10.3 has frexpl() in libc but doesn't declare it in <math.h>.
  84306. + AC_CHECK_DECL([frexpl], , [HAVE_DECL_FREXPL=0], [#include <math.h>])
  84307. + fi
  84308. +
  84309. + gl_CHECK_LDEXPL_NO_LIBM
  84310. + if test $gl_cv_func_ldexpl_no_libm = yes; then
  84311. + gl_FUNC_LDEXPL_WORKS
  84312. + case "$gl_cv_func_ldexpl_works" in
  84313. + *yes)
  84314. + AC_DEFINE([HAVE_LDEXPL_IN_LIBC], [1],
  84315. + [Define if the ldexpl function is available in libc.])
  84316. + dnl Also check whether it's declared.
  84317. + dnl MacOS X 10.3 has ldexpl() in libc but doesn't declare it in <math.h>.
  84318. + AC_CHECK_DECL([ldexpl], , [HAVE_DECL_LDEXPL=0], [#include <math.h>])
  84319. + ;;
  84320. + esac
  84321. + fi
  84322. +])
  84323. +m4trace:m4/printf.m4:11: -1- AC_DEFUN([gl_PRINTF_SIZES_C99], [
  84324. + AC_REQUIRE([AC_PROG_CC])
  84325. + AC_REQUIRE([gl_AC_HEADER_STDINT_H])
  84326. + AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
  84327. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  84328. + AC_CACHE_CHECK([whether printf supports size specifiers as in C99],
  84329. + [gl_cv_func_printf_sizes_c99],
  84330. + [
  84331. + AC_RUN_IFELSE(
  84332. + [AC_LANG_SOURCE([[
  84333. +#include <stddef.h>
  84334. +#include <stdio.h>
  84335. +#include <string.h>
  84336. +#include <sys/types.h>
  84337. +#if HAVE_STDINT_H_WITH_UINTMAX
  84338. +# include <stdint.h>
  84339. +#endif
  84340. +#if HAVE_INTTYPES_H_WITH_UINTMAX
  84341. +# include <inttypes.h>
  84342. +#endif
  84343. +static char buf[100];
  84344. +int main ()
  84345. +{
  84346. + int result = 0;
  84347. +#if HAVE_STDINT_H_WITH_UINTMAX || HAVE_INTTYPES_H_WITH_UINTMAX
  84348. + buf[0] = '\0';
  84349. + if (sprintf (buf, "%ju %d", (uintmax_t) 12345671, 33, 44, 55) < 0
  84350. + || strcmp (buf, "12345671 33") != 0)
  84351. + result |= 1;
  84352. +#endif
  84353. + buf[0] = '\0';
  84354. + if (sprintf (buf, "%zu %d", (size_t) 12345672, 33, 44, 55) < 0
  84355. + || strcmp (buf, "12345672 33") != 0)
  84356. + result |= 2;
  84357. + buf[0] = '\0';
  84358. + if (sprintf (buf, "%tu %d", (ptrdiff_t) 12345673, 33, 44, 55) < 0
  84359. + || strcmp (buf, "12345673 33") != 0)
  84360. + result |= 4;
  84361. + buf[0] = '\0';
  84362. + if (sprintf (buf, "%Lg %d", (long double) 1.5, 33, 44, 55) < 0
  84363. + || strcmp (buf, "1.5 33") != 0)
  84364. + result |= 8;
  84365. + return result;
  84366. +}]])],
  84367. + [gl_cv_func_printf_sizes_c99=yes],
  84368. + [gl_cv_func_printf_sizes_c99=no],
  84369. + [
  84370. +changequote(,)dnl
  84371. + case "$host_os" in
  84372. + # Guess yes on glibc systems.
  84373. + *-gnu*) gl_cv_func_printf_sizes_c99="guessing yes";;
  84374. + # Guess yes on FreeBSD >= 5.
  84375. + freebsd[1-4]*) gl_cv_func_printf_sizes_c99="guessing no";;
  84376. + freebsd* | kfreebsd*) gl_cv_func_printf_sizes_c99="guessing yes";;
  84377. + # Guess yes on MacOS X >= 10.3.
  84378. + darwin[1-6].*) gl_cv_func_printf_sizes_c99="guessing no";;
  84379. + darwin*) gl_cv_func_printf_sizes_c99="guessing yes";;
  84380. + # Guess yes on OpenBSD >= 3.9.
  84381. + openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
  84382. + gl_cv_func_printf_sizes_c99="guessing no";;
  84383. + openbsd*) gl_cv_func_printf_sizes_c99="guessing yes";;
  84384. + # Guess yes on Solaris >= 2.10.
  84385. + solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
  84386. + solaris*) gl_cv_func_printf_sizes_c99="guessing no";;
  84387. + # Guess yes on NetBSD >= 3.
  84388. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
  84389. + gl_cv_func_printf_sizes_c99="guessing no";;
  84390. + netbsd*) gl_cv_func_printf_sizes_c99="guessing yes";;
  84391. + # If we don't know, assume the worst.
  84392. + *) gl_cv_func_printf_sizes_c99="guessing no";;
  84393. + esac
  84394. +changequote([,])dnl
  84395. + ])
  84396. + ])
  84397. +])
  84398. +m4trace:m4/printf.m4:92: -1- AC_DEFUN([gl_PRINTF_LONG_DOUBLE], [
  84399. + AC_REQUIRE([AC_PROG_CC])
  84400. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  84401. + AC_CACHE_CHECK([whether printf supports 'long double' arguments],
  84402. + [gl_cv_func_printf_long_double],
  84403. + [
  84404. + AC_RUN_IFELSE(
  84405. + [AC_LANG_SOURCE([[
  84406. +#include <stdio.h>
  84407. +#include <string.h>
  84408. +static char buf[10000];
  84409. +int main ()
  84410. +{
  84411. + int result = 0;
  84412. + buf[0] = '\0';
  84413. + if (sprintf (buf, "%Lf %d", 1.75L, 33, 44, 55) < 0
  84414. + || strcmp (buf, "1.750000 33") != 0)
  84415. + result |= 1;
  84416. + buf[0] = '\0';
  84417. + if (sprintf (buf, "%Le %d", 1.75L, 33, 44, 55) < 0
  84418. + || strcmp (buf, "1.750000e+00 33") != 0)
  84419. + result |= 2;
  84420. + buf[0] = '\0';
  84421. + if (sprintf (buf, "%Lg %d", 1.75L, 33, 44, 55) < 0
  84422. + || strcmp (buf, "1.75 33") != 0)
  84423. + result |= 4;
  84424. + return result;
  84425. +}]])],
  84426. + [gl_cv_func_printf_long_double=yes],
  84427. + [gl_cv_func_printf_long_double=no],
  84428. + [
  84429. +changequote(,)dnl
  84430. + case "$host_os" in
  84431. + beos*) gl_cv_func_printf_long_double="guessing no";;
  84432. + mingw* | pw*) gl_cv_func_printf_long_double="guessing no";;
  84433. + *) gl_cv_func_printf_long_double="guessing yes";;
  84434. + esac
  84435. +changequote([,])dnl
  84436. + ])
  84437. + ])
  84438. +])
  84439. +m4trace:m4/printf.m4:140: -1- AC_DEFUN([gl_PRINTF_INFINITE], [
  84440. + AC_REQUIRE([AC_PROG_CC])
  84441. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  84442. + AC_CACHE_CHECK([whether printf supports infinite 'double' arguments],
  84443. + [gl_cv_func_printf_infinite],
  84444. + [
  84445. + AC_RUN_IFELSE(
  84446. + [AC_LANG_SOURCE([[
  84447. +#include <stdio.h>
  84448. +#include <string.h>
  84449. +static int
  84450. +strisnan (const char *string, size_t start_index, size_t end_index)
  84451. +{
  84452. + if (start_index < end_index)
  84453. + {
  84454. + if (string[start_index] == '-')
  84455. + start_index++;
  84456. + if (start_index + 3 <= end_index
  84457. + && memcmp (string + start_index, "nan", 3) == 0)
  84458. + {
  84459. + start_index += 3;
  84460. + if (start_index == end_index
  84461. + || (string[start_index] == '(' && string[end_index - 1] == ')'))
  84462. + return 1;
  84463. + }
  84464. + }
  84465. + return 0;
  84466. +}
  84467. +static int
  84468. +have_minus_zero ()
  84469. +{
  84470. + static double plus_zero = 0.0;
  84471. + double minus_zero = - plus_zero;
  84472. + return memcmp (&plus_zero, &minus_zero, sizeof (double)) != 0;
  84473. +}
  84474. +static char buf[10000];
  84475. +static double zero = 0.0;
  84476. +int main ()
  84477. +{
  84478. + int result = 0;
  84479. + if (sprintf (buf, "%f", 1.0 / 0.0) < 0
  84480. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  84481. + result |= 1;
  84482. + if (sprintf (buf, "%f", -1.0 / 0.0) < 0
  84483. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  84484. + result |= 1;
  84485. + if (sprintf (buf, "%f", zero / zero) < 0
  84486. + || !strisnan (buf, 0, strlen (buf)))
  84487. + result |= 2;
  84488. + if (sprintf (buf, "%e", 1.0 / 0.0) < 0
  84489. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  84490. + result |= 4;
  84491. + if (sprintf (buf, "%e", -1.0 / 0.0) < 0
  84492. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  84493. + result |= 4;
  84494. + if (sprintf (buf, "%e", zero / zero) < 0
  84495. + || !strisnan (buf, 0, strlen (buf)))
  84496. + result |= 8;
  84497. + if (sprintf (buf, "%g", 1.0 / 0.0) < 0
  84498. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  84499. + result |= 16;
  84500. + if (sprintf (buf, "%g", -1.0 / 0.0) < 0
  84501. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  84502. + result |= 16;
  84503. + if (sprintf (buf, "%g", zero / zero) < 0
  84504. + || !strisnan (buf, 0, strlen (buf)))
  84505. + result |= 32;
  84506. + /* This test fails on HP-UX 10.20. */
  84507. + if (have_minus_zero ())
  84508. + if (sprintf (buf, "%g", - zero) < 0
  84509. + || strcmp (buf, "-0") != 0)
  84510. + result |= 64;
  84511. + return result;
  84512. +}]])],
  84513. + [gl_cv_func_printf_infinite=yes],
  84514. + [gl_cv_func_printf_infinite=no],
  84515. + [
  84516. +changequote(,)dnl
  84517. + case "$host_os" in
  84518. + # Guess yes on glibc systems.
  84519. + *-gnu*) gl_cv_func_printf_infinite="guessing yes";;
  84520. + # Guess yes on FreeBSD >= 6.
  84521. + freebsd[1-5]*) gl_cv_func_printf_infinite="guessing no";;
  84522. + freebsd* | kfreebsd*) gl_cv_func_printf_infinite="guessing yes";;
  84523. + # Guess yes on MacOS X >= 10.3.
  84524. + darwin[1-6].*) gl_cv_func_printf_infinite="guessing no";;
  84525. + darwin*) gl_cv_func_printf_infinite="guessing yes";;
  84526. + # Guess yes on HP-UX >= 11.
  84527. + hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite="guessing no";;
  84528. + hpux*) gl_cv_func_printf_infinite="guessing yes";;
  84529. + # Guess yes on NetBSD >= 3.
  84530. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
  84531. + gl_cv_func_printf_infinite="guessing no";;
  84532. + netbsd*) gl_cv_func_printf_infinite="guessing yes";;
  84533. + # Guess yes on BeOS.
  84534. + beos*) gl_cv_func_printf_infinite="guessing yes";;
  84535. + # If we don't know, assume the worst.
  84536. + *) gl_cv_func_printf_infinite="guessing no";;
  84537. + esac
  84538. +changequote([,])dnl
  84539. + ])
  84540. + ])
  84541. +])
  84542. +m4trace:m4/printf.m4:249: -1- AC_DEFUN([gl_PRINTF_INFINITE_LONG_DOUBLE], [
  84543. + AC_REQUIRE([gl_PRINTF_LONG_DOUBLE])
  84544. + AC_REQUIRE([AC_PROG_CC])
  84545. + AC_REQUIRE([gl_BIGENDIAN])
  84546. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  84547. + dnl The user can set or unset the variable gl_printf_safe to indicate
  84548. + dnl that he wishes a safe handling of non-IEEE-754 'long double' values.
  84549. + if test -n "$gl_printf_safe"; then
  84550. + AC_DEFINE([CHECK_PRINTF_SAFE], [1],
  84551. + [Define if you wish *printf() functions that have a safe handling of
  84552. + non-IEEE-754 'long double' values.])
  84553. + fi
  84554. + case "$gl_cv_func_printf_long_double" in
  84555. + *yes)
  84556. + AC_CACHE_CHECK([whether printf supports infinite 'long double' arguments],
  84557. + [gl_cv_func_printf_infinite_long_double],
  84558. + [
  84559. + AC_RUN_IFELSE(
  84560. + [AC_LANG_SOURCE([[
  84561. +]GL_NOCRASH[
  84562. +#include <float.h>
  84563. +#include <stdio.h>
  84564. +#include <string.h>
  84565. +static int
  84566. +strisnan (const char *string, size_t start_index, size_t end_index)
  84567. +{
  84568. + if (start_index < end_index)
  84569. + {
  84570. + if (string[start_index] == '-')
  84571. + start_index++;
  84572. + if (start_index + 3 <= end_index
  84573. + && memcmp (string + start_index, "nan", 3) == 0)
  84574. + {
  84575. + start_index += 3;
  84576. + if (start_index == end_index
  84577. + || (string[start_index] == '(' && string[end_index - 1] == ')'))
  84578. + return 1;
  84579. + }
  84580. + }
  84581. + return 0;
  84582. +}
  84583. +static char buf[10000];
  84584. +static long double zeroL = 0.0L;
  84585. +int main ()
  84586. +{
  84587. + int result = 0;
  84588. + nocrash_init();
  84589. + if (sprintf (buf, "%Lf", 1.0L / 0.0L) < 0
  84590. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  84591. + result |= 1;
  84592. + if (sprintf (buf, "%Lf", -1.0L / 0.0L) < 0
  84593. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  84594. + result |= 1;
  84595. + if (sprintf (buf, "%Lf", zeroL / zeroL) < 0
  84596. + || !strisnan (buf, 0, strlen (buf)))
  84597. + result |= 1;
  84598. + if (sprintf (buf, "%Le", 1.0L / 0.0L) < 0
  84599. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  84600. + result |= 1;
  84601. + if (sprintf (buf, "%Le", -1.0L / 0.0L) < 0
  84602. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  84603. + result |= 1;
  84604. + if (sprintf (buf, "%Le", zeroL / zeroL) < 0
  84605. + || !strisnan (buf, 0, strlen (buf)))
  84606. + result |= 1;
  84607. + if (sprintf (buf, "%Lg", 1.0L / 0.0L) < 0
  84608. + || (strcmp (buf, "inf") != 0 && strcmp (buf, "infinity") != 0))
  84609. + result |= 1;
  84610. + if (sprintf (buf, "%Lg", -1.0L / 0.0L) < 0
  84611. + || (strcmp (buf, "-inf") != 0 && strcmp (buf, "-infinity") != 0))
  84612. + result |= 1;
  84613. + if (sprintf (buf, "%Lg", zeroL / zeroL) < 0
  84614. + || !strisnan (buf, 0, strlen (buf)))
  84615. + result |= 1;
  84616. +#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_))
  84617. +/* Representation of an 80-bit 'long double' as an initializer for a sequence
  84618. + of 'unsigned int' words. */
  84619. +# ifdef WORDS_BIGENDIAN
  84620. +# define LDBL80_WORDS(exponent,manthi,mantlo) \
  84621. + { ((unsigned int) (exponent) << 16) | ((unsigned int) (manthi) >> 16), \
  84622. + ((unsigned int) (manthi) << 16) | (unsigned int) (mantlo) >> 16), \
  84623. + (unsigned int) (mantlo) << 16 \
  84624. + }
  84625. +# else
  84626. +# define LDBL80_WORDS(exponent,manthi,mantlo) \
  84627. + { mantlo, manthi, exponent }
  84628. +# endif
  84629. + { /* Quiet NaN. */
  84630. + static union { unsigned int word[4]; long double value; } x =
  84631. + { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
  84632. + if (sprintf (buf, "%Lf", x.value) < 0
  84633. + || !strisnan (buf, 0, strlen (buf)))
  84634. + result |= 2;
  84635. + if (sprintf (buf, "%Le", x.value) < 0
  84636. + || !strisnan (buf, 0, strlen (buf)))
  84637. + result |= 2;
  84638. + if (sprintf (buf, "%Lg", x.value) < 0
  84639. + || !strisnan (buf, 0, strlen (buf)))
  84640. + result |= 2;
  84641. + }
  84642. + {
  84643. + /* Signalling NaN. */
  84644. + static union { unsigned int word[4]; long double value; } x =
  84645. + { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
  84646. + if (sprintf (buf, "%Lf", x.value) < 0
  84647. + || !strisnan (buf, 0, strlen (buf)))
  84648. + result |= 2;
  84649. + if (sprintf (buf, "%Le", x.value) < 0
  84650. + || !strisnan (buf, 0, strlen (buf)))
  84651. + result |= 2;
  84652. + if (sprintf (buf, "%Lg", x.value) < 0
  84653. + || !strisnan (buf, 0, strlen (buf)))
  84654. + result |= 2;
  84655. + }
  84656. + { /* Pseudo-NaN. */
  84657. + static union { unsigned int word[4]; long double value; } x =
  84658. + { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
  84659. + if (sprintf (buf, "%Lf", x.value) < 0
  84660. + || !strisnan (buf, 0, strlen (buf)))
  84661. + result |= 4;
  84662. + if (sprintf (buf, "%Le", x.value) < 0
  84663. + || !strisnan (buf, 0, strlen (buf)))
  84664. + result |= 4;
  84665. + if (sprintf (buf, "%Lg", x.value) < 0
  84666. + || !strisnan (buf, 0, strlen (buf)))
  84667. + result |= 4;
  84668. + }
  84669. + { /* Pseudo-Infinity. */
  84670. + static union { unsigned int word[4]; long double value; } x =
  84671. + { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
  84672. + if (sprintf (buf, "%Lf", x.value) < 0
  84673. + || !strisnan (buf, 0, strlen (buf)))
  84674. + result |= 8;
  84675. + if (sprintf (buf, "%Le", x.value) < 0
  84676. + || !strisnan (buf, 0, strlen (buf)))
  84677. + result |= 8;
  84678. + if (sprintf (buf, "%Lg", x.value) < 0
  84679. + || !strisnan (buf, 0, strlen (buf)))
  84680. + result |= 8;
  84681. + }
  84682. + { /* Pseudo-Zero. */
  84683. + static union { unsigned int word[4]; long double value; } x =
  84684. + { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
  84685. + if (sprintf (buf, "%Lf", x.value) < 0
  84686. + || !strisnan (buf, 0, strlen (buf)))
  84687. + result |= 16;
  84688. + if (sprintf (buf, "%Le", x.value) < 0
  84689. + || !strisnan (buf, 0, strlen (buf)))
  84690. + result |= 16;
  84691. + if (sprintf (buf, "%Lg", x.value) < 0
  84692. + || !strisnan (buf, 0, strlen (buf)))
  84693. + result |= 16;
  84694. + }
  84695. + { /* Unnormalized number. */
  84696. + static union { unsigned int word[4]; long double value; } x =
  84697. + { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
  84698. + if (sprintf (buf, "%Lf", x.value) < 0
  84699. + || !strisnan (buf, 0, strlen (buf)))
  84700. + result |= 32;
  84701. + if (sprintf (buf, "%Le", x.value) < 0
  84702. + || !strisnan (buf, 0, strlen (buf)))
  84703. + result |= 32;
  84704. + if (sprintf (buf, "%Lg", x.value) < 0
  84705. + || !strisnan (buf, 0, strlen (buf)))
  84706. + result |= 32;
  84707. + }
  84708. + { /* Pseudo-Denormal. */
  84709. + static union { unsigned int word[4]; long double value; } x =
  84710. + { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
  84711. + if (sprintf (buf, "%Lf", x.value) < 0
  84712. + || !strisnan (buf, 0, strlen (buf)))
  84713. + result |= 64;
  84714. + if (sprintf (buf, "%Le", x.value) < 0
  84715. + || !strisnan (buf, 0, strlen (buf)))
  84716. + result |= 64;
  84717. + if (sprintf (buf, "%Lg", x.value) < 0
  84718. + || !strisnan (buf, 0, strlen (buf)))
  84719. + result |= 64;
  84720. + }
  84721. +#endif
  84722. + return result;
  84723. +}]])],
  84724. + [gl_cv_func_printf_infinite_long_double=yes],
  84725. + [gl_cv_func_printf_infinite_long_double=no],
  84726. + [
  84727. +changequote(,)dnl
  84728. + case "$host_cpu" in
  84729. + # Guess no on ia64, x86_64, i386.
  84730. + ia64 | x86_64 | i*86) gl_cv_func_printf_infinite_long_double="guessing no";;
  84731. + *)
  84732. + case "$host_os" in
  84733. + # Guess yes on glibc systems.
  84734. + *-gnu*) gl_cv_func_printf_infinite_long_double="guessing yes";;
  84735. + # Guess yes on FreeBSD >= 6.
  84736. + freebsd[1-5]*) gl_cv_func_printf_infinite_long_double="guessing no";;
  84737. + freebsd* | kfreebsd*) gl_cv_func_printf_infinite_long_double="guessing yes";;
  84738. + # Guess yes on HP-UX >= 11.
  84739. + hpux[7-9]* | hpux10*) gl_cv_func_printf_infinite_long_double="guessing no";;
  84740. + hpux*) gl_cv_func_printf_infinite_long_double="guessing yes";;
  84741. + # If we don't know, assume the worst.
  84742. + *) gl_cv_func_printf_infinite_long_double="guessing no";;
  84743. + esac
  84744. + ;;
  84745. + esac
  84746. +changequote([,])dnl
  84747. + ])
  84748. + ])
  84749. + ;;
  84750. + *)
  84751. + gl_cv_func_printf_infinite_long_double="irrelevant"
  84752. + ;;
  84753. + esac
  84754. +])
  84755. +m4trace:m4/printf.m4:469: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_A], [
  84756. + AC_REQUIRE([AC_PROG_CC])
  84757. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  84758. + AC_CACHE_CHECK([whether printf supports the 'a' and 'A' directives],
  84759. + [gl_cv_func_printf_directive_a],
  84760. + [
  84761. + AC_RUN_IFELSE(
  84762. + [AC_LANG_SOURCE([[
  84763. +#include <stdio.h>
  84764. +#include <string.h>
  84765. +static char buf[100];
  84766. +int main ()
  84767. +{
  84768. + int result = 0;
  84769. + if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0
  84770. + || (strcmp (buf, "0x1.922p+1 33") != 0
  84771. + && strcmp (buf, "0x3.244p+0 33") != 0
  84772. + && strcmp (buf, "0x6.488p-1 33") != 0
  84773. + && strcmp (buf, "0xc.91p-2 33") != 0))
  84774. + result |= 1;
  84775. + if (sprintf (buf, "%A %d", -3.1416015625, 33, 44, 55) < 0
  84776. + || (strcmp (buf, "-0X1.922P+1 33") != 0
  84777. + && strcmp (buf, "-0X3.244P+0 33") != 0
  84778. + && strcmp (buf, "-0X6.488P-1 33") != 0
  84779. + && strcmp (buf, "-0XC.91P-2 33") != 0))
  84780. + result |= 2;
  84781. + /* This catches a FreeBSD 6.1 bug: it doesn't round. */
  84782. + if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0
  84783. + || (strcmp (buf, "0x1.83p+0 33") != 0
  84784. + && strcmp (buf, "0x3.05p-1 33") != 0
  84785. + && strcmp (buf, "0x6.0ap-2 33") != 0
  84786. + && strcmp (buf, "0xc.14p-3 33") != 0))
  84787. + result |= 4;
  84788. + /* This catches a FreeBSD 6.1 bug. See
  84789. + <http://lists.gnu.org/archive/html/bug-gnulib/2007-04/msg00107.html> */
  84790. + if (sprintf (buf, "%010a %d", 1.0 / 0.0, 33, 44, 55) < 0
  84791. + || buf[0] == '0')
  84792. + result |= 8;
  84793. + /* This catches a MacOS X 10.3.9 (Darwin 7.9) bug. */
  84794. + if (sprintf (buf, "%.1a", 1.999) < 0
  84795. + || (strcmp (buf, "0x1.0p+1") != 0
  84796. + && strcmp (buf, "0x2.0p+0") != 0
  84797. + && strcmp (buf, "0x4.0p-1") != 0
  84798. + && strcmp (buf, "0x8.0p-2") != 0))
  84799. + result |= 16;
  84800. + /* This catches the same MacOS X 10.3.9 (Darwin 7.9) bug and also a
  84801. + glibc 2.4 bug <http://sourceware.org/bugzilla/show_bug.cgi?id=2908>. */
  84802. + if (sprintf (buf, "%.1La", 1.999L) < 0
  84803. + || (strcmp (buf, "0x1.0p+1") != 0
  84804. + && strcmp (buf, "0x2.0p+0") != 0
  84805. + && strcmp (buf, "0x4.0p-1") != 0
  84806. + && strcmp (buf, "0x8.0p-2") != 0))
  84807. + result |= 32;
  84808. + return result;
  84809. +}]])],
  84810. + [gl_cv_func_printf_directive_a=yes],
  84811. + [gl_cv_func_printf_directive_a=no],
  84812. + [
  84813. + case "$host_os" in
  84814. + # Guess yes on glibc >= 2.5 systems.
  84815. + *-gnu*)
  84816. + AC_EGREP_CPP([BZ2908], [
  84817. + #include <features.h>
  84818. + #ifdef __GNU_LIBRARY__
  84819. + #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 5) || (__GLIBC__ > 2)) && !defined __UCLIBC__
  84820. + BZ2908
  84821. + #endif
  84822. + #endif
  84823. + ],
  84824. + [gl_cv_func_printf_directive_a="guessing yes"],
  84825. + [gl_cv_func_printf_directive_a="guessing no"])
  84826. + ;;
  84827. + # If we don't know, assume the worst.
  84828. + *) gl_cv_func_printf_directive_a="guessing no";;
  84829. + esac
  84830. + ])
  84831. + ])
  84832. +])
  84833. +m4trace:m4/printf.m4:553: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_F], [
  84834. + AC_REQUIRE([AC_PROG_CC])
  84835. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  84836. + AC_CACHE_CHECK([whether printf supports the 'F' directive],
  84837. + [gl_cv_func_printf_directive_f],
  84838. + [
  84839. + AC_RUN_IFELSE(
  84840. + [AC_LANG_SOURCE([[
  84841. +#include <stdio.h>
  84842. +#include <string.h>
  84843. +static char buf[100];
  84844. +int main ()
  84845. +{
  84846. + int result = 0;
  84847. + if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0
  84848. + || strcmp (buf, "1234567.000000 33") != 0)
  84849. + result |= 1;
  84850. + if (sprintf (buf, "%F", 1.0 / 0.0) < 0
  84851. + || (strcmp (buf, "INF") != 0 && strcmp (buf, "INFINITY") != 0))
  84852. + result |= 2;
  84853. + /* This catches a Cygwin 1.5.x bug. */
  84854. + if (sprintf (buf, "%.F", 1234.0) < 0
  84855. + || strcmp (buf, "1234") != 0)
  84856. + result |= 4;
  84857. + return result;
  84858. +}]])],
  84859. + [gl_cv_func_printf_directive_f=yes],
  84860. + [gl_cv_func_printf_directive_f=no],
  84861. + [
  84862. +changequote(,)dnl
  84863. + case "$host_os" in
  84864. + # Guess yes on glibc systems.
  84865. + *-gnu*) gl_cv_func_printf_directive_f="guessing yes";;
  84866. + # Guess yes on FreeBSD >= 6.
  84867. + freebsd[1-5]*) gl_cv_func_printf_directive_f="guessing no";;
  84868. + freebsd* | kfreebsd*) gl_cv_func_printf_directive_f="guessing yes";;
  84869. + # Guess yes on MacOS X >= 10.3.
  84870. + darwin[1-6].*) gl_cv_func_printf_directive_f="guessing no";;
  84871. + darwin*) gl_cv_func_printf_directive_f="guessing yes";;
  84872. + # Guess yes on Solaris >= 2.10.
  84873. + solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
  84874. + solaris*) gl_cv_func_printf_sizes_c99="guessing no";;
  84875. + # If we don't know, assume the worst.
  84876. + *) gl_cv_func_printf_directive_f="guessing no";;
  84877. + esac
  84878. +changequote([,])dnl
  84879. + ])
  84880. + ])
  84881. +])
  84882. +m4trace:m4/printf.m4:608: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_N], [
  84883. + AC_REQUIRE([AC_PROG_CC])
  84884. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  84885. + AC_CACHE_CHECK([whether printf supports the 'n' directive],
  84886. + [gl_cv_func_printf_directive_n],
  84887. + [
  84888. + AC_RUN_IFELSE(
  84889. + [AC_LANG_SOURCE([[
  84890. +#include <stdio.h>
  84891. +#include <string.h>
  84892. +static char fmtstring[10];
  84893. +static char buf[100];
  84894. +int main ()
  84895. +{
  84896. + int count = -1;
  84897. + /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2)
  84898. + support %n in format strings in read-only memory but not in writable
  84899. + memory. */
  84900. + strcpy (fmtstring, "%d %n");
  84901. + if (sprintf (buf, fmtstring, 123, &count, 33, 44, 55) < 0
  84902. + || strcmp (buf, "123 ") != 0
  84903. + || count != 4)
  84904. + return 1;
  84905. + return 0;
  84906. +}]])],
  84907. + [gl_cv_func_printf_directive_n=yes],
  84908. + [gl_cv_func_printf_directive_n=no],
  84909. + [
  84910. +changequote(,)dnl
  84911. + case "$host_os" in
  84912. + *) gl_cv_func_printf_directive_n="guessing yes";;
  84913. + esac
  84914. +changequote([,])dnl
  84915. + ])
  84916. + ])
  84917. +])
  84918. +m4trace:m4/printf.m4:653: -1- AC_DEFUN([gl_PRINTF_DIRECTIVE_LS], [
  84919. + AC_REQUIRE([AC_PROG_CC])
  84920. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  84921. + AC_CACHE_CHECK([whether printf supports the 'ls' directive],
  84922. + [gl_cv_func_printf_directive_ls],
  84923. + [
  84924. + AC_RUN_IFELSE(
  84925. + [AC_LANG_SOURCE([[
  84926. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  84927. + <wchar.h>.
  84928. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  84929. + included before <wchar.h>. */
  84930. +#include <stddef.h>
  84931. +#include <stdio.h>
  84932. +#include <time.h>
  84933. +#include <wchar.h>
  84934. +#include <string.h>
  84935. +int main ()
  84936. +{
  84937. + int result = 0;
  84938. + char buf[100];
  84939. + /* Test whether %ls works at all.
  84940. + This test fails on OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Haiku, but not on
  84941. + Cygwin 1.5. */
  84942. + {
  84943. + static const wchar_t wstring[] = { 'a', 'b', 'c', 0 };
  84944. + buf[0] = '\0';
  84945. + if (sprintf (buf, "%ls", wstring) < 0
  84946. + || strcmp (buf, "abc") != 0)
  84947. + result |= 1;
  84948. + }
  84949. + /* This test fails on IRIX 6.5, Solaris 2.6, Cygwin 1.5, Haiku (with an
  84950. + assertion failure inside libc), but not on OpenBSD 4.0. */
  84951. + {
  84952. + static const wchar_t wstring[] = { 'a', 0 };
  84953. + buf[0] = '\0';
  84954. + if (sprintf (buf, "%ls", wstring) < 0
  84955. + || strcmp (buf, "a") != 0)
  84956. + result |= 2;
  84957. + }
  84958. + /* Test whether precisions in %ls are supported as specified in ISO C 99
  84959. + section 7.19.6.1:
  84960. + "If a precision is specified, no more than that many bytes are written
  84961. + (including shift sequences, if any), and the array shall contain a
  84962. + null wide character if, to equal the multibyte character sequence
  84963. + length given by the precision, the function would need to access a
  84964. + wide character one past the end of the array."
  84965. + This test fails on Solaris 10. */
  84966. + {
  84967. + static const wchar_t wstring[] = { 'a', 'b', (wchar_t) 0xfdfdfdfd, 0 };
  84968. + buf[0] = '\0';
  84969. + if (sprintf (buf, "%.2ls", wstring) < 0
  84970. + || strcmp (buf, "ab") != 0)
  84971. + result |= 8;
  84972. + }
  84973. + return result;
  84974. +}]])],
  84975. + [gl_cv_func_printf_directive_ls=yes],
  84976. + [gl_cv_func_printf_directive_ls=no],
  84977. + [
  84978. +changequote(,)dnl
  84979. + case "$host_os" in
  84980. + openbsd*) gl_cv_func_printf_directive_ls="guessing no";;
  84981. + irix*) gl_cv_func_printf_directive_ls="guessing no";;
  84982. + solaris*) gl_cv_func_printf_directive_ls="guessing no";;
  84983. + cygwin*) gl_cv_func_printf_directive_ls="guessing no";;
  84984. + beos* | haiku*) gl_cv_func_printf_directive_ls="guessing no";;
  84985. + *) gl_cv_func_printf_directive_ls="guessing yes";;
  84986. + esac
  84987. +changequote([,])dnl
  84988. + ])
  84989. + ])
  84990. +])
  84991. +m4trace:m4/printf.m4:732: -1- AC_DEFUN([gl_PRINTF_POSITIONS], [
  84992. + AC_REQUIRE([AC_PROG_CC])
  84993. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  84994. + AC_CACHE_CHECK([whether printf supports POSIX/XSI format strings with positions],
  84995. + [gl_cv_func_printf_positions],
  84996. + [
  84997. + AC_RUN_IFELSE(
  84998. + [AC_LANG_SOURCE([[
  84999. +#include <stdio.h>
  85000. +#include <string.h>
  85001. +/* The string "%2$d %1$d", with dollar characters protected from the shell's
  85002. + dollar expansion (possibly an autoconf bug). */
  85003. +static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
  85004. +static char buf[100];
  85005. +int main ()
  85006. +{
  85007. + sprintf (buf, format, 33, 55);
  85008. + return (strcmp (buf, "55 33") != 0);
  85009. +}]])],
  85010. + [gl_cv_func_printf_positions=yes],
  85011. + [gl_cv_func_printf_positions=no],
  85012. + [
  85013. +changequote(,)dnl
  85014. + case "$host_os" in
  85015. + netbsd[1-3]* | netbsdelf[1-3]* | netbsdaout[1-3]* | netbsdcoff[1-3]*)
  85016. + gl_cv_func_printf_positions="guessing no";;
  85017. + beos*) gl_cv_func_printf_positions="guessing no";;
  85018. + mingw* | pw*) gl_cv_func_printf_positions="guessing no";;
  85019. + *) gl_cv_func_printf_positions="guessing yes";;
  85020. + esac
  85021. +changequote([,])dnl
  85022. + ])
  85023. + ])
  85024. +])
  85025. +m4trace:m4/printf.m4:772: -1- AC_DEFUN([gl_PRINTF_FLAG_GROUPING], [
  85026. + AC_REQUIRE([AC_PROG_CC])
  85027. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  85028. + AC_CACHE_CHECK([whether printf supports the grouping flag],
  85029. + [gl_cv_func_printf_flag_grouping],
  85030. + [
  85031. + AC_RUN_IFELSE(
  85032. + [AC_LANG_SOURCE([[
  85033. +#include <stdio.h>
  85034. +#include <string.h>
  85035. +static char buf[100];
  85036. +int main ()
  85037. +{
  85038. + if (sprintf (buf, "%'d %d", 1234567, 99) < 0
  85039. + || buf[strlen (buf) - 1] != '9')
  85040. + return 1;
  85041. + return 0;
  85042. +}]])],
  85043. + [gl_cv_func_printf_flag_grouping=yes],
  85044. + [gl_cv_func_printf_flag_grouping=no],
  85045. + [
  85046. +changequote(,)dnl
  85047. + case "$host_os" in
  85048. + cygwin*) gl_cv_func_printf_flag_grouping="guessing no";;
  85049. + netbsd*) gl_cv_func_printf_flag_grouping="guessing no";;
  85050. + mingw* | pw*) gl_cv_func_printf_flag_grouping="guessing no";;
  85051. + *) gl_cv_func_printf_flag_grouping="guessing yes";;
  85052. + esac
  85053. +changequote([,])dnl
  85054. + ])
  85055. + ])
  85056. +])
  85057. +m4trace:m4/printf.m4:811: -1- AC_DEFUN([gl_PRINTF_FLAG_LEFTADJUST], [
  85058. + AC_REQUIRE([AC_PROG_CC])
  85059. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  85060. + AC_CACHE_CHECK([whether printf supports the left-adjust flag correctly],
  85061. + [gl_cv_func_printf_flag_leftadjust],
  85062. + [
  85063. + AC_RUN_IFELSE(
  85064. + [AC_LANG_SOURCE([[
  85065. +#include <stdio.h>
  85066. +#include <string.h>
  85067. +static char buf[100];
  85068. +int main ()
  85069. +{
  85070. + /* Check that a '-' flag is not annihilated by a negative width. */
  85071. + if (sprintf (buf, "a%-*sc", -3, "b") < 0
  85072. + || strcmp (buf, "ab c") != 0)
  85073. + return 1;
  85074. + return 0;
  85075. +}]])],
  85076. + [gl_cv_func_printf_flag_leftadjust=yes],
  85077. + [gl_cv_func_printf_flag_leftadjust=no],
  85078. + [
  85079. +changequote(,)dnl
  85080. + case "$host_os" in
  85081. + # Guess yes on HP-UX 11.
  85082. + hpux11*) gl_cv_func_printf_flag_leftadjust="guessing yes";;
  85083. + # Guess no on HP-UX 10 and older.
  85084. + hpux*) gl_cv_func_printf_flag_leftadjust="guessing no";;
  85085. + # Guess yes otherwise.
  85086. + *) gl_cv_func_printf_flag_leftadjust="guessing yes";;
  85087. + esac
  85088. +changequote([,])dnl
  85089. + ])
  85090. + ])
  85091. +])
  85092. +m4trace:m4/printf.m4:853: -1- AC_DEFUN([gl_PRINTF_FLAG_ZERO], [
  85093. + AC_REQUIRE([AC_PROG_CC])
  85094. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  85095. + AC_CACHE_CHECK([whether printf supports the zero flag correctly],
  85096. + [gl_cv_func_printf_flag_zero],
  85097. + [
  85098. + AC_RUN_IFELSE(
  85099. + [AC_LANG_SOURCE([[
  85100. +#include <stdio.h>
  85101. +#include <string.h>
  85102. +static char buf[100];
  85103. +int main ()
  85104. +{
  85105. + if (sprintf (buf, "%010f", 1.0 / 0.0, 33, 44, 55) < 0
  85106. + || (strcmp (buf, " inf") != 0
  85107. + && strcmp (buf, " infinity") != 0))
  85108. + return 1;
  85109. + return 0;
  85110. +}]])],
  85111. + [gl_cv_func_printf_flag_zero=yes],
  85112. + [gl_cv_func_printf_flag_zero=no],
  85113. + [
  85114. +changequote(,)dnl
  85115. + case "$host_os" in
  85116. + # Guess yes on glibc systems.
  85117. + *-gnu*) gl_cv_func_printf_flag_zero="guessing yes";;
  85118. + # Guess yes on BeOS.
  85119. + beos*) gl_cv_func_printf_flag_zero="guessing yes";;
  85120. + # If we don't know, assume the worst.
  85121. + *) gl_cv_func_printf_flag_zero="guessing no";;
  85122. + esac
  85123. +changequote([,])dnl
  85124. + ])
  85125. + ])
  85126. +])
  85127. +m4trace:m4/printf.m4:898: -1- AC_DEFUN([gl_PRINTF_PRECISION], [
  85128. + AC_REQUIRE([AC_PROG_CC])
  85129. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  85130. + AC_CACHE_CHECK([whether printf supports large precisions],
  85131. + [gl_cv_func_printf_precision],
  85132. + [
  85133. + AC_RUN_IFELSE(
  85134. + [AC_LANG_SOURCE([[
  85135. +#include <stdio.h>
  85136. +#include <string.h>
  85137. +static char buf[5000];
  85138. +int main ()
  85139. +{
  85140. + int result = 0;
  85141. +#ifdef __BEOS__
  85142. + /* On BeOS, this would crash and show a dialog box. Avoid the crash. */
  85143. + return 1;
  85144. +#endif
  85145. + if (sprintf (buf, "%.4000d %d", 1, 33, 44) < 4000 + 3)
  85146. + result |= 1;
  85147. + if (sprintf (buf, "%.4000f %d", 1.0, 33, 44) < 4000 + 5)
  85148. + result |= 2;
  85149. + if (sprintf (buf, "%.511f %d", 1.0, 33, 44) < 511 + 5
  85150. + || buf[0] != '1')
  85151. + result |= 4;
  85152. + return result;
  85153. +}]])],
  85154. + [gl_cv_func_printf_precision=yes],
  85155. + [gl_cv_func_printf_precision=no],
  85156. + [
  85157. +changequote(,)dnl
  85158. + case "$host_os" in
  85159. + # Guess no only on Solaris, native Win32, and BeOS systems.
  85160. + solaris*) gl_cv_func_printf_precision="guessing no" ;;
  85161. + mingw* | pw*) gl_cv_func_printf_precision="guessing no" ;;
  85162. + beos*) gl_cv_func_printf_precision="guessing no" ;;
  85163. + *) gl_cv_func_printf_precision="guessing yes" ;;
  85164. + esac
  85165. +changequote([,])dnl
  85166. + ])
  85167. + ])
  85168. +])
  85169. +m4trace:m4/printf.m4:946: -1- AC_DEFUN([gl_PRINTF_ENOMEM], [
  85170. + AC_REQUIRE([AC_PROG_CC])
  85171. + AC_REQUIRE([gl_MULTIARCH])
  85172. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  85173. + AC_CACHE_CHECK([whether printf survives out-of-memory conditions],
  85174. + [gl_cv_func_printf_enomem],
  85175. + [
  85176. + gl_cv_func_printf_enomem="guessing no"
  85177. + if test "$cross_compiling" = no; then
  85178. + if test $APPLE_UNIVERSAL_BUILD = 0; then
  85179. + AC_LANG_CONFTEST([AC_LANG_SOURCE([
  85180. +]GL_NOCRASH[
  85181. +changequote(,)dnl
  85182. +#include <stdio.h>
  85183. +#include <sys/types.h>
  85184. +#include <sys/time.h>
  85185. +#include <sys/resource.h>
  85186. +#include <errno.h>
  85187. +int main()
  85188. +{
  85189. + struct rlimit limit;
  85190. + int ret;
  85191. + nocrash_init ();
  85192. + /* Some printf implementations allocate temporary space with malloc. */
  85193. + /* On BSD systems, malloc() is limited by RLIMIT_DATA. */
  85194. +#ifdef RLIMIT_DATA
  85195. + if (getrlimit (RLIMIT_DATA, &limit) < 0)
  85196. + return 77;
  85197. + if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
  85198. + limit.rlim_max = 5000000;
  85199. + limit.rlim_cur = limit.rlim_max;
  85200. + if (setrlimit (RLIMIT_DATA, &limit) < 0)
  85201. + return 77;
  85202. +#endif
  85203. + /* On Linux systems, malloc() is limited by RLIMIT_AS. */
  85204. +#ifdef RLIMIT_AS
  85205. + if (getrlimit (RLIMIT_AS, &limit) < 0)
  85206. + return 77;
  85207. + if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
  85208. + limit.rlim_max = 5000000;
  85209. + limit.rlim_cur = limit.rlim_max;
  85210. + if (setrlimit (RLIMIT_AS, &limit) < 0)
  85211. + return 77;
  85212. +#endif
  85213. + /* Some printf implementations allocate temporary space on the stack. */
  85214. +#ifdef RLIMIT_STACK
  85215. + if (getrlimit (RLIMIT_STACK, &limit) < 0)
  85216. + return 77;
  85217. + if (limit.rlim_max == RLIM_INFINITY || limit.rlim_max > 5000000)
  85218. + limit.rlim_max = 5000000;
  85219. + limit.rlim_cur = limit.rlim_max;
  85220. + if (setrlimit (RLIMIT_STACK, &limit) < 0)
  85221. + return 77;
  85222. +#endif
  85223. + ret = printf ("%.5000000f", 1.0);
  85224. + return !(ret == 5000002 || (ret < 0 && errno == ENOMEM));
  85225. +}
  85226. +changequote([,])dnl
  85227. + ])])
  85228. + if AC_TRY_EVAL([ac_link]) && test -s conftest$ac_exeext; then
  85229. + (./conftest
  85230. + result=$?
  85231. + if test $result != 0 && test $result != 77; then result=1; fi
  85232. + exit $result
  85233. + ) >/dev/null 2>/dev/null
  85234. + case $? in
  85235. + 0) gl_cv_func_printf_enomem="yes" ;;
  85236. + 77) gl_cv_func_printf_enomem="guessing no" ;;
  85237. + *) gl_cv_func_printf_enomem="no" ;;
  85238. + esac
  85239. + else
  85240. + gl_cv_func_printf_enomem="guessing no"
  85241. + fi
  85242. + rm -fr conftest*
  85243. + else
  85244. + dnl A universal build on Apple MacOS X platforms.
  85245. + dnl The result would be 'no' in 32-bit mode and 'yes' in 64-bit mode.
  85246. + dnl But we need a configuration result that is valid in both modes.
  85247. + gl_cv_func_printf_enomem="guessing no"
  85248. + fi
  85249. + fi
  85250. + if test "$gl_cv_func_printf_enomem" = "guessing no"; then
  85251. +changequote(,)dnl
  85252. + case "$host_os" in
  85253. + # Guess yes on glibc systems.
  85254. + *-gnu*) gl_cv_func_printf_enomem="guessing yes";;
  85255. + # Guess yes on Solaris.
  85256. + solaris*) gl_cv_func_printf_enomem="guessing yes";;
  85257. + # Guess yes on AIX.
  85258. + aix*) gl_cv_func_printf_enomem="guessing yes";;
  85259. + # Guess yes on HP-UX/hppa.
  85260. + hpux*) case "$host_cpu" in
  85261. + hppa*) gl_cv_func_printf_enomem="guessing yes";;
  85262. + *) gl_cv_func_printf_enomem="guessing no";;
  85263. + esac
  85264. + ;;
  85265. + # Guess yes on IRIX.
  85266. + irix*) gl_cv_func_printf_enomem="guessing yes";;
  85267. + # Guess yes on OSF/1.
  85268. + osf*) gl_cv_func_printf_enomem="guessing yes";;
  85269. + # Guess yes on BeOS.
  85270. + beos*) gl_cv_func_printf_enomem="guessing yes";;
  85271. + # Guess yes on Haiku.
  85272. + haiku*) gl_cv_func_printf_enomem="guessing yes";;
  85273. + # If we don't know, assume the worst.
  85274. + *) gl_cv_func_printf_enomem="guessing no";;
  85275. + esac
  85276. +changequote([,])dnl
  85277. + fi
  85278. + ])
  85279. +])
  85280. +m4trace:m4/printf.m4:1062: -1- AC_DEFUN([gl_SNPRINTF_PRESENCE], [
  85281. + AC_CHECK_FUNCS_ONCE([snprintf])
  85282. +])
  85283. +m4trace:m4/printf.m4:1071: -1- AC_DEFUN([gl_SNPRINTF_TRUNCATION_C99], [
  85284. + AC_REQUIRE([AC_PROG_CC])
  85285. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  85286. + AC_CACHE_CHECK([whether snprintf truncates the result as in C99],
  85287. + [gl_cv_func_snprintf_truncation_c99],
  85288. + [
  85289. + AC_RUN_IFELSE(
  85290. + [AC_LANG_SOURCE([[
  85291. +#include <stdio.h>
  85292. +#include <string.h>
  85293. +static char buf[100];
  85294. +int main ()
  85295. +{
  85296. + strcpy (buf, "ABCDEF");
  85297. + snprintf (buf, 3, "%d %d", 4567, 89);
  85298. + if (memcmp (buf, "45\0DEF", 6) != 0)
  85299. + return 1;
  85300. + return 0;
  85301. +}]])],
  85302. + [gl_cv_func_snprintf_truncation_c99=yes],
  85303. + [gl_cv_func_snprintf_truncation_c99=no],
  85304. + [
  85305. +changequote(,)dnl
  85306. + case "$host_os" in
  85307. + # Guess yes on glibc systems.
  85308. + *-gnu*) gl_cv_func_snprintf_truncation_c99="guessing yes";;
  85309. + # Guess yes on FreeBSD >= 5.
  85310. + freebsd[1-4]*) gl_cv_func_snprintf_truncation_c99="guessing no";;
  85311. + freebsd* | kfreebsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";;
  85312. + # Guess yes on MacOS X >= 10.3.
  85313. + darwin[1-6].*) gl_cv_func_snprintf_truncation_c99="guessing no";;
  85314. + darwin*) gl_cv_func_snprintf_truncation_c99="guessing yes";;
  85315. + # Guess yes on OpenBSD >= 3.9.
  85316. + openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
  85317. + gl_cv_func_snprintf_truncation_c99="guessing no";;
  85318. + openbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";;
  85319. + # Guess yes on Solaris >= 2.6.
  85320. + solaris2.[0-5] | solaris2.[0-5].*)
  85321. + gl_cv_func_snprintf_truncation_c99="guessing no";;
  85322. + solaris*) gl_cv_func_snprintf_truncation_c99="guessing yes";;
  85323. + # Guess yes on AIX >= 4.
  85324. + aix[1-3]*) gl_cv_func_snprintf_truncation_c99="guessing no";;
  85325. + aix*) gl_cv_func_snprintf_truncation_c99="guessing yes";;
  85326. + # Guess yes on HP-UX >= 11.
  85327. + hpux[7-9]* | hpux10*) gl_cv_func_snprintf_truncation_c99="guessing no";;
  85328. + hpux*) gl_cv_func_snprintf_truncation_c99="guessing yes";;
  85329. + # Guess yes on IRIX >= 6.5.
  85330. + irix6.5) gl_cv_func_snprintf_truncation_c99="guessing yes";;
  85331. + # Guess yes on OSF/1 >= 5.
  85332. + osf[3-4]*) gl_cv_func_snprintf_truncation_c99="guessing no";;
  85333. + osf*) gl_cv_func_snprintf_truncation_c99="guessing yes";;
  85334. + # Guess yes on NetBSD >= 3.
  85335. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
  85336. + gl_cv_func_snprintf_truncation_c99="guessing no";;
  85337. + netbsd*) gl_cv_func_snprintf_truncation_c99="guessing yes";;
  85338. + # Guess yes on BeOS.
  85339. + beos*) gl_cv_func_snprintf_truncation_c99="guessing yes";;
  85340. + # If we don't know, assume the worst.
  85341. + *) gl_cv_func_snprintf_truncation_c99="guessing no";;
  85342. + esac
  85343. +changequote([,])dnl
  85344. + ])
  85345. + ])
  85346. +])
  85347. +m4trace:m4/printf.m4:1152: -1- AC_DEFUN_ONCE([gl_SNPRINTF_RETVAL_C99], [
  85348. + AC_REQUIRE([AC_PROG_CC])
  85349. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  85350. + AC_CACHE_CHECK([whether snprintf returns a byte count as in C99],
  85351. + [gl_cv_func_snprintf_retval_c99],
  85352. + [
  85353. + AC_RUN_IFELSE(
  85354. + [AC_LANG_SOURCE([[
  85355. +#include <stdio.h>
  85356. +#include <string.h>
  85357. +static char buf[100];
  85358. +int main ()
  85359. +{
  85360. + strcpy (buf, "ABCDEF");
  85361. + if (snprintf (buf, 3, "%d %d", 4567, 89) != 7)
  85362. + return 1;
  85363. + if (snprintf (buf, 0, "%d %d", 4567, 89) != 7)
  85364. + return 2;
  85365. + if (snprintf (NULL, 0, "%d %d", 4567, 89) != 7)
  85366. + return 3;
  85367. + return 0;
  85368. +}]])],
  85369. + [gl_cv_func_snprintf_retval_c99=yes],
  85370. + [gl_cv_func_snprintf_retval_c99=no],
  85371. + [
  85372. +changequote(,)dnl
  85373. + case "$host_os" in
  85374. + # Guess yes on glibc systems.
  85375. + *-gnu*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  85376. + # Guess yes on FreeBSD >= 5.
  85377. + freebsd[1-4]*) gl_cv_func_snprintf_retval_c99="guessing no";;
  85378. + freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  85379. + # Guess yes on MacOS X >= 10.3.
  85380. + darwin[1-6].*) gl_cv_func_snprintf_retval_c99="guessing no";;
  85381. + darwin*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  85382. + # Guess yes on OpenBSD >= 3.9.
  85383. + openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
  85384. + gl_cv_func_snprintf_retval_c99="guessing no";;
  85385. + openbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  85386. + # Guess yes on Solaris >= 2.10.
  85387. + solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
  85388. + solaris*) gl_cv_func_printf_sizes_c99="guessing no";;
  85389. + # Guess yes on AIX >= 4.
  85390. + aix[1-3]*) gl_cv_func_snprintf_retval_c99="guessing no";;
  85391. + aix*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  85392. + # Guess yes on NetBSD >= 3.
  85393. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
  85394. + gl_cv_func_snprintf_retval_c99="guessing no";;
  85395. + netbsd*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  85396. + # Guess yes on BeOS.
  85397. + beos*) gl_cv_func_snprintf_retval_c99="guessing yes";;
  85398. + # If we don't know, assume the worst.
  85399. + *) gl_cv_func_snprintf_retval_c99="guessing no";;
  85400. + esac
  85401. +changequote([,])dnl
  85402. + ])
  85403. + ])
  85404. +])
  85405. +m4trace:m4/printf.m4:1216: -1- AC_DEFUN([gl_SNPRINTF_DIRECTIVE_N], [
  85406. + AC_REQUIRE([AC_PROG_CC])
  85407. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  85408. + AC_CACHE_CHECK([whether snprintf fully supports the 'n' directive],
  85409. + [gl_cv_func_snprintf_directive_n],
  85410. + [
  85411. + AC_RUN_IFELSE(
  85412. + [AC_LANG_SOURCE([[
  85413. +#include <stdio.h>
  85414. +#include <string.h>
  85415. +static char fmtstring[10];
  85416. +static char buf[100];
  85417. +int main ()
  85418. +{
  85419. + int count = -1;
  85420. + /* Copy the format string. Some systems (glibc with _FORTIFY_SOURCE=2)
  85421. + support %n in format strings in read-only memory but not in writable
  85422. + memory. */
  85423. + strcpy (fmtstring, "%d %n");
  85424. + snprintf (buf, 4, fmtstring, 12345, &count, 33, 44, 55);
  85425. + if (count != 6)
  85426. + return 1;
  85427. + return 0;
  85428. +}]])],
  85429. + [gl_cv_func_snprintf_directive_n=yes],
  85430. + [gl_cv_func_snprintf_directive_n=no],
  85431. + [
  85432. +changequote(,)dnl
  85433. + case "$host_os" in
  85434. + # Guess yes on glibc systems.
  85435. + *-gnu*) gl_cv_func_snprintf_directive_n="guessing yes";;
  85436. + # Guess yes on FreeBSD >= 5.
  85437. + freebsd[1-4]*) gl_cv_func_snprintf_directive_n="guessing no";;
  85438. + freebsd* | kfreebsd*) gl_cv_func_snprintf_directive_n="guessing yes";;
  85439. + # Guess yes on MacOS X >= 10.3.
  85440. + darwin[1-6].*) gl_cv_func_snprintf_directive_n="guessing no";;
  85441. + darwin*) gl_cv_func_snprintf_directive_n="guessing yes";;
  85442. + # Guess yes on Solaris >= 2.6.
  85443. + solaris2.[0-5] | solaris2.[0-5].*)
  85444. + gl_cv_func_snprintf_directive_n="guessing no";;
  85445. + solaris*) gl_cv_func_snprintf_directive_n="guessing yes";;
  85446. + # Guess yes on AIX >= 4.
  85447. + aix[1-3]*) gl_cv_func_snprintf_directive_n="guessing no";;
  85448. + aix*) gl_cv_func_snprintf_directive_n="guessing yes";;
  85449. + # Guess yes on IRIX >= 6.5.
  85450. + irix6.5) gl_cv_func_snprintf_directive_n="guessing yes";;
  85451. + # Guess yes on OSF/1 >= 5.
  85452. + osf[3-4]*) gl_cv_func_snprintf_directive_n="guessing no";;
  85453. + osf*) gl_cv_func_snprintf_directive_n="guessing yes";;
  85454. + # Guess yes on NetBSD >= 3.
  85455. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
  85456. + gl_cv_func_snprintf_directive_n="guessing no";;
  85457. + netbsd*) gl_cv_func_snprintf_directive_n="guessing yes";;
  85458. + # Guess yes on BeOS.
  85459. + beos*) gl_cv_func_snprintf_directive_n="guessing yes";;
  85460. + # If we don't know, assume the worst.
  85461. + *) gl_cv_func_snprintf_directive_n="guessing no";;
  85462. + esac
  85463. +changequote([,])dnl
  85464. + ])
  85465. + ])
  85466. +])
  85467. +m4trace:m4/printf.m4:1285: -1- AC_DEFUN([gl_SNPRINTF_SIZE1], [
  85468. + AC_REQUIRE([AC_PROG_CC])
  85469. + AC_CACHE_CHECK([whether snprintf respects a size of 1],
  85470. + [gl_cv_func_snprintf_size1],
  85471. + [
  85472. + AC_RUN_IFELSE(
  85473. + [AC_LANG_SOURCE([[
  85474. +#include <stdio.h>
  85475. +int main()
  85476. +{
  85477. + static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' };
  85478. + snprintf (buf, 1, "%d", 12345);
  85479. + return buf[1] != 'E';
  85480. +}]])],
  85481. + [gl_cv_func_snprintf_size1=yes],
  85482. + [gl_cv_func_snprintf_size1=no],
  85483. + [gl_cv_func_snprintf_size1="guessing yes"])
  85484. + ])
  85485. +])
  85486. +m4trace:m4/printf.m4:1342: -1- AC_DEFUN([gl_VSNPRINTF_ZEROSIZE_C99], [
  85487. + AC_REQUIRE([AC_PROG_CC])
  85488. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  85489. + AC_CACHE_CHECK([whether vsnprintf respects a zero size as in C99],
  85490. + [gl_cv_func_vsnprintf_zerosize_c99],
  85491. + [
  85492. + AC_RUN_IFELSE(
  85493. + [AC_LANG_SOURCE([[
  85494. +#include <stdarg.h>
  85495. +#include <stdio.h>
  85496. +static int my_snprintf (char *buf, int size, const char *format, ...)
  85497. +{
  85498. + va_list args;
  85499. + int ret;
  85500. + va_start (args, format);
  85501. + ret = vsnprintf (buf, size, format, args);
  85502. + va_end (args);
  85503. + return ret;
  85504. +}
  85505. +int main()
  85506. +{
  85507. + static char buf[8] = { 'D', 'E', 'A', 'D', 'B', 'E', 'E', 'F' };
  85508. + my_snprintf (buf, 0, "%d", 12345);
  85509. + return buf[0] != 'D';
  85510. +}]])],
  85511. + [gl_cv_func_vsnprintf_zerosize_c99=yes],
  85512. + [gl_cv_func_vsnprintf_zerosize_c99=no],
  85513. + [
  85514. +changequote(,)dnl
  85515. + case "$host_os" in
  85516. + # Guess yes on glibc systems.
  85517. + *-gnu*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
  85518. + # Guess yes on FreeBSD >= 5.
  85519. + freebsd[1-4]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
  85520. + freebsd* | kfreebsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
  85521. + # Guess yes on MacOS X >= 10.3.
  85522. + darwin[1-6].*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
  85523. + darwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
  85524. + # Guess yes on Cygwin.
  85525. + cygwin*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
  85526. + # Guess yes on Solaris >= 2.6.
  85527. + solaris2.[0-5] | solaris2.[0-5].*)
  85528. + gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
  85529. + solaris*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
  85530. + # Guess yes on AIX >= 4.
  85531. + aix[1-3]*) gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
  85532. + aix*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
  85533. + # Guess yes on IRIX >= 6.5.
  85534. + irix6.5) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
  85535. + # Guess yes on NetBSD >= 3.
  85536. + netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
  85537. + gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
  85538. + netbsd*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
  85539. + # Guess yes on BeOS.
  85540. + beos*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
  85541. + # Guess yes on mingw.
  85542. + mingw* | pw*) gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
  85543. + # If we don't know, assume the worst.
  85544. + *) gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
  85545. + esac
  85546. +changequote([,])dnl
  85547. + ])
  85548. + ])
  85549. +])
  85550. +m4trace:m4/putenv.m4:12: -1- AC_DEFUN([gl_FUNC_PUTENV], [
  85551. + AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
  85552. + AC_CACHE_CHECK([for putenv compatible with GNU and SVID],
  85553. + [gl_cv_func_svid_putenv],
  85554. + [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],[[
  85555. + /* Put it in env. */
  85556. + if (putenv ("CONFTEST_putenv=val"))
  85557. + return 1;
  85558. +
  85559. + /* Try to remove it. */
  85560. + if (putenv ("CONFTEST_putenv"))
  85561. + return 2;
  85562. +
  85563. + /* Make sure it was deleted. */
  85564. + if (getenv ("CONFTEST_putenv") != 0)
  85565. + return 3;
  85566. +
  85567. + return 0;
  85568. + ]])],
  85569. + gl_cv_func_svid_putenv=yes,
  85570. + gl_cv_func_svid_putenv=no,
  85571. + dnl When crosscompiling, assume putenv is broken.
  85572. + gl_cv_func_svid_putenv=no)
  85573. + ])
  85574. + if test $gl_cv_func_svid_putenv = no; then
  85575. + REPLACE_PUTENV=1
  85576. + AC_LIBOBJ([putenv])
  85577. + fi
  85578. +])
  85579. +m4trace:m4/quotearg.m4:7: -1- AC_DEFUN([gl_QUOTEARG], [
  85580. + AC_LIBOBJ([quotearg])
  85581. +])
  85582. +m4trace:m4/rawmemchr.m4:7: -1- AC_DEFUN([gl_FUNC_RAWMEMCHR], [
  85583. + dnl Persuade glibc <string.h> to declare rawmemchr().
  85584. + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
  85585. +
  85586. + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
  85587. + AC_REPLACE_FUNCS([rawmemchr])
  85588. + if test $ac_cv_func_rawmemchr = no; then
  85589. + HAVE_RAWMEMCHR=0
  85590. + gl_PREREQ_RAWMEMCHR
  85591. + fi
  85592. +])
  85593. +m4trace:m4/rawmemchr.m4:21: -1- AC_DEFUN([gl_PREREQ_RAWMEMCHR], [:])
  85594. +m4trace:m4/readlink.m4:7: -1- AC_DEFUN([gl_FUNC_READLINK], [
  85595. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
  85596. + AC_CHECK_FUNCS_ONCE([readlink])
  85597. + if test $ac_cv_func_readlink = no; then
  85598. + HAVE_READLINK=0
  85599. + AC_LIBOBJ([readlink])
  85600. + gl_PREREQ_READLINK
  85601. + else
  85602. + AC_CACHE_CHECK([whether readlink signature is correct],
  85603. + [gl_cv_decl_readlink_works],
  85604. + [AC_COMPILE_IFELSE(
  85605. + [AC_LANG_PROGRAM(
  85606. + [[#include <unistd.h>
  85607. + /* Cause compilation failure if original declaration has wrong type. */
  85608. + ssize_t readlink (const char *, char *, size_t);]])],
  85609. + [gl_cv_decl_readlink_works=yes], [gl_cv_decl_readlink_works=no])])
  85610. + dnl Solaris 9 ignores trailing slash.
  85611. + dnl FreeBSD 7.2 dereferences only one level of links with trailing slash.
  85612. + AC_CACHE_CHECK([whether readlink handles trailing slash correctly],
  85613. + [gl_cv_func_readlink_works],
  85614. + [# We have readlink, so assume ln -s works.
  85615. + ln -s conftest.no-such conftest.link
  85616. + ln -s conftest.link conftest.lnk2
  85617. + AC_RUN_IFELSE(
  85618. + [AC_LANG_PROGRAM(
  85619. + [[#include <unistd.h>
  85620. +]], [[char buf[20];
  85621. + return readlink ("conftest.lnk2/", buf, sizeof buf) != -1;]])],
  85622. + [gl_cv_func_readlink_works=yes], [gl_cv_func_readlink_works=no],
  85623. + [gl_cv_func_readlink_works="guessing no"])
  85624. + rm -f conftest.link conftest.lnk2])
  85625. + if test "$gl_cv_func_readlink_works" != yes; then
  85626. + AC_DEFINE([READLINK_TRAILING_SLASH_BUG], [1], [Define to 1 if readlink
  85627. + fails to recognize a trailing slash.])
  85628. + REPLACE_READLINK=1
  85629. + AC_LIBOBJ([readlink])
  85630. + elif test "$gl_cv_decl_readlink_works" != yes; then
  85631. + REPLACE_READLINK=1
  85632. + AC_LIBOBJ([readlink])
  85633. + fi
  85634. + fi
  85635. +])
  85636. +m4trace:m4/readlink.m4:52: -1- AC_DEFUN([gl_FUNC_READLINK_SEPARATE], [
  85637. + AC_CHECK_FUNCS_ONCE([readlink])
  85638. + gl_PREREQ_READLINK
  85639. +])
  85640. +m4trace:m4/readlink.m4:59: -1- AC_DEFUN([gl_PREREQ_READLINK], [
  85641. + :
  85642. +])
  85643. +m4trace:m4/regex.m4:14: -1- AC_DEFUN([gl_REGEX], [
  85644. + AC_ARG_WITH([included-regex],
  85645. + [AS_HELP_STRING([--without-included-regex],
  85646. + [don't compile regex; this is the default on systems
  85647. + with recent-enough versions of the GNU C Library
  85648. + (use with caution on other systems).])])
  85649. +
  85650. + case $with_included_regex in #(
  85651. + yes|no) ac_use_included_regex=$with_included_regex
  85652. + ;;
  85653. + '')
  85654. + # If the system regex support is good enough that it passes the
  85655. + # following run test, then default to *not* using the included regex.c.
  85656. + # If cross compiling, assume the test would fail and use the included
  85657. + # regex.c.
  85658. + AC_CACHE_CHECK([for working re_compile_pattern],
  85659. + [gl_cv_func_re_compile_pattern_working],
  85660. + [AC_RUN_IFELSE(
  85661. + [AC_LANG_PROGRAM(
  85662. + [AC_INCLUDES_DEFAULT[
  85663. + #include <locale.h>
  85664. + #include <limits.h>
  85665. + #include <regex.h>
  85666. + ]],
  85667. + [[int result = 0;
  85668. + static struct re_pattern_buffer regex;
  85669. + unsigned char folded_chars[UCHAR_MAX + 1];
  85670. + int i;
  85671. + const char *s;
  85672. + struct re_registers regs;
  85673. +
  85674. + /* http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html
  85675. + This test needs valgrind to catch the bug on Debian
  85676. + GNU/Linux 3.1 x86, but it might catch the bug better
  85677. + on other platforms and it shouldn't hurt to try the
  85678. + test here. */
  85679. + if (setlocale (LC_ALL, "en_US.UTF-8"))
  85680. + {
  85681. + static char const pat[] = "insert into";
  85682. + static char const data[] =
  85683. + "\xFF\0\x12\xA2\xAA\xC4\xB1,K\x12\xC4\xB1*\xACK";
  85684. + re_set_syntax (RE_SYNTAX_GREP | RE_HAT_LISTS_NOT_NEWLINE
  85685. + | RE_ICASE);
  85686. + memset (&regex, 0, sizeof regex);
  85687. + s = re_compile_pattern (pat, sizeof pat - 1, &regex);
  85688. + if (s)
  85689. + result |= 1;
  85690. + else if (re_search (&regex, data, sizeof data - 1,
  85691. + 0, sizeof data - 1, &regs)
  85692. + != -1)
  85693. + result |= 1;
  85694. + if (! setlocale (LC_ALL, "C"))
  85695. + return 1;
  85696. + }
  85697. +
  85698. + /* This test is from glibc bug 3957, reported by Andrew Mackey. */
  85699. + re_set_syntax (RE_SYNTAX_EGREP | RE_HAT_LISTS_NOT_NEWLINE);
  85700. + memset (&regex, 0, sizeof regex);
  85701. + s = re_compile_pattern ("a[^x]b", 6, &regex);
  85702. + if (s)
  85703. + result |= 2;
  85704. + /* This should fail, but succeeds for glibc-2.5. */
  85705. + else if (re_search (&regex, "a\nb", 3, 0, 3, &regs) != -1)
  85706. + result |= 2;
  85707. +
  85708. + /* This regular expression is from Spencer ere test number 75
  85709. + in grep-2.3. */
  85710. + re_set_syntax (RE_SYNTAX_POSIX_EGREP);
  85711. + memset (&regex, 0, sizeof regex);
  85712. + for (i = 0; i <= UCHAR_MAX; i++)
  85713. + folded_chars[i] = i;
  85714. + regex.translate = folded_chars;
  85715. + s = re_compile_pattern ("a[[:@:>@:]]b\n", 11, &regex);
  85716. + /* This should fail with _Invalid character class name_ error. */
  85717. + if (!s)
  85718. + result |= 4;
  85719. +
  85720. + /* Ensure that [b-a] is diagnosed as invalid, when
  85721. + using RE_NO_EMPTY_RANGES. */
  85722. + re_set_syntax (RE_SYNTAX_POSIX_EGREP | RE_NO_EMPTY_RANGES);
  85723. + memset (&regex, 0, sizeof regex);
  85724. + s = re_compile_pattern ("a[b-a]", 6, &regex);
  85725. + if (s == 0)
  85726. + result |= 8;
  85727. +
  85728. + /* This should succeed, but does not for glibc-2.1.3. */
  85729. + memset (&regex, 0, sizeof regex);
  85730. + s = re_compile_pattern ("{1", 2, &regex);
  85731. + if (s)
  85732. + result |= 8;
  85733. +
  85734. + /* The following example is derived from a problem report
  85735. + against gawk from Jorge Stolfi <stolfi@ic.unicamp.br>. */
  85736. + memset (&regex, 0, sizeof regex);
  85737. + s = re_compile_pattern ("[an\371]*n", 7, &regex);
  85738. + if (s)
  85739. + result |= 8;
  85740. + /* This should match, but does not for glibc-2.2.1. */
  85741. + else if (re_match (&regex, "an", 2, 0, &regs) != 2)
  85742. + result |= 8;
  85743. +
  85744. + memset (&regex, 0, sizeof regex);
  85745. + s = re_compile_pattern ("x", 1, &regex);
  85746. + if (s)
  85747. + result |= 8;
  85748. + /* glibc-2.2.93 does not work with a negative RANGE argument. */
  85749. + else if (re_search (&regex, "wxy", 3, 2, -2, &regs) != 1)
  85750. + result |= 8;
  85751. +
  85752. + /* The version of regex.c in older versions of gnulib
  85753. + ignored RE_ICASE. Detect that problem too. */
  85754. + re_set_syntax (RE_SYNTAX_EMACS | RE_ICASE);
  85755. + memset (&regex, 0, sizeof regex);
  85756. + s = re_compile_pattern ("x", 1, &regex);
  85757. + if (s)
  85758. + result |= 16;
  85759. + else if (re_search (&regex, "WXY", 3, 0, 3, &regs) < 0)
  85760. + result |= 16;
  85761. +
  85762. + /* Catch a bug reported by Vin Shelton in
  85763. + http://lists.gnu.org/archive/html/bug-coreutils/2007-06/msg00089.html
  85764. + */
  85765. + re_set_syntax (RE_SYNTAX_POSIX_BASIC
  85766. + & ~RE_CONTEXT_INVALID_DUP
  85767. + & ~RE_NO_EMPTY_RANGES);
  85768. + memset (&regex, 0, sizeof regex);
  85769. + s = re_compile_pattern ("[[:alnum:]_-]\\\\+$", 16, &regex);
  85770. + if (s)
  85771. + result |= 32;
  85772. +
  85773. + /* REG_STARTEND was added to glibc on 2004-01-15.
  85774. + Reject older versions. */
  85775. + if (! REG_STARTEND)
  85776. + result |= 64;
  85777. +
  85778. +#if 0
  85779. + /* It would be nice to reject hosts whose regoff_t values are too
  85780. + narrow (including glibc on hosts with 64-bit ptrdiff_t and
  85781. + 32-bit int), but we should wait until glibc implements this
  85782. + feature. Otherwise, support for equivalence classes and
  85783. + multibyte collation symbols would always be broken except
  85784. + when compiling --without-included-regex. */
  85785. + if (sizeof (regoff_t) < sizeof (ptrdiff_t)
  85786. + || sizeof (regoff_t) < sizeof (ssize_t))
  85787. + result |= 64;
  85788. +#endif
  85789. +
  85790. + return result;
  85791. + ]])],
  85792. + [gl_cv_func_re_compile_pattern_working=yes],
  85793. + [gl_cv_func_re_compile_pattern_working=no],
  85794. + dnl When crosscompiling, assume it is not working.
  85795. + [gl_cv_func_re_compile_pattern_working=no])])
  85796. + case $gl_cv_func_re_compile_pattern_working in #(
  85797. + yes) ac_use_included_regex=no;; #(
  85798. + no) ac_use_included_regex=yes;;
  85799. + esac
  85800. + ;;
  85801. + *) AC_MSG_ERROR([Invalid value for --with-included-regex: $with_included_regex])
  85802. + ;;
  85803. + esac
  85804. +
  85805. + if test $ac_use_included_regex = yes; then
  85806. + AC_DEFINE([_REGEX_LARGE_OFFSETS], [1],
  85807. + [Define if you want regoff_t to be at least as wide POSIX requires.])
  85808. + AC_DEFINE([re_syntax_options], [rpl_re_syntax_options],
  85809. + [Define to rpl_re_syntax_options if the replacement should be used.])
  85810. + AC_DEFINE([re_set_syntax], [rpl_re_set_syntax],
  85811. + [Define to rpl_re_set_syntax if the replacement should be used.])
  85812. + AC_DEFINE([re_compile_pattern], [rpl_re_compile_pattern],
  85813. + [Define to rpl_re_compile_pattern if the replacement should be used.])
  85814. + AC_DEFINE([re_compile_fastmap], [rpl_re_compile_fastmap],
  85815. + [Define to rpl_re_compile_fastmap if the replacement should be used.])
  85816. + AC_DEFINE([re_search], [rpl_re_search],
  85817. + [Define to rpl_re_search if the replacement should be used.])
  85818. + AC_DEFINE([re_search_2], [rpl_re_search_2],
  85819. + [Define to rpl_re_search_2 if the replacement should be used.])
  85820. + AC_DEFINE([re_match], [rpl_re_match],
  85821. + [Define to rpl_re_match if the replacement should be used.])
  85822. + AC_DEFINE([re_match_2], [rpl_re_match_2],
  85823. + [Define to rpl_re_match_2 if the replacement should be used.])
  85824. + AC_DEFINE([re_set_registers], [rpl_re_set_registers],
  85825. + [Define to rpl_re_set_registers if the replacement should be used.])
  85826. + AC_DEFINE([re_comp], [rpl_re_comp],
  85827. + [Define to rpl_re_comp if the replacement should be used.])
  85828. + AC_DEFINE([re_exec], [rpl_re_exec],
  85829. + [Define to rpl_re_exec if the replacement should be used.])
  85830. + AC_DEFINE([regcomp], [rpl_regcomp],
  85831. + [Define to rpl_regcomp if the replacement should be used.])
  85832. + AC_DEFINE([regexec], [rpl_regexec],
  85833. + [Define to rpl_regexec if the replacement should be used.])
  85834. + AC_DEFINE([regerror], [rpl_regerror],
  85835. + [Define to rpl_regerror if the replacement should be used.])
  85836. + AC_DEFINE([regfree], [rpl_regfree],
  85837. + [Define to rpl_regfree if the replacement should be used.])
  85838. + AC_LIBOBJ([regex])
  85839. + gl_PREREQ_REGEX
  85840. + fi
  85841. +])
  85842. +m4trace:m4/regex.m4:216: -1- AC_DEFUN([gl_PREREQ_REGEX], [
  85843. + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
  85844. + AC_REQUIRE([AC_C_INLINE])
  85845. + AC_REQUIRE([AC_C_RESTRICT])
  85846. + AC_REQUIRE([AC_TYPE_MBSTATE_T])
  85847. + AC_CHECK_HEADERS([libintl.h])
  85848. + AC_CHECK_FUNCS_ONCE([isblank iswctype wcscoll])
  85849. + AC_CHECK_DECLS([isblank], [], [], [#include <ctype.h>])
  85850. +])
  85851. +m4trace:m4/rename.m4:16: -1- AC_DEFUN([gl_FUNC_RENAME], [
  85852. + AC_REQUIRE([AC_CANONICAL_HOST])
  85853. + AC_REQUIRE([gl_STDIO_H_DEFAULTS])
  85854. + AC_CHECK_FUNCS_ONCE([lstat])
  85855. +
  85856. + dnl Solaris 10, AIX 7.1 mistakenly allow rename("file","name/").
  85857. + dnl NetBSD 1.6 mistakenly forbids rename("dir","name/").
  85858. + dnl FreeBSD 7.2 mistakenly allows rename("file","link-to-file/").
  85859. + dnl The Solaris bug can be worked around without stripping
  85860. + dnl trailing slash, while the NetBSD bug requires stripping;
  85861. + dnl the two conditions can be distinguished by whether hard
  85862. + dnl links are also broken.
  85863. + AC_CACHE_CHECK([whether rename honors trailing slash on destination],
  85864. + [gl_cv_func_rename_slash_dst_works],
  85865. + [rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk
  85866. + touch conftest.f && touch conftest.f1 && mkdir conftest.d1 ||
  85867. + AC_MSG_ERROR([cannot create temporary files])
  85868. + # Assume that if we have lstat, we can also check symlinks.
  85869. + if test $ac_cv_func_lstat = yes; then
  85870. + ln -s conftest.f conftest.lnk
  85871. + fi
  85872. + AC_RUN_IFELSE(
  85873. + [AC_LANG_PROGRAM([[
  85874. +# include <stdio.h>
  85875. +# include <stdlib.h>
  85876. + ]],
  85877. + [[int result = 0;
  85878. + if (rename ("conftest.f1", "conftest.f2/") == 0)
  85879. + result |= 1;
  85880. + if (rename ("conftest.d1", "conftest.d2/") != 0)
  85881. + result |= 2;
  85882. +#if HAVE_LSTAT
  85883. + if (rename ("conftest.f", "conftest.lnk/") == 0)
  85884. + result |= 4;
  85885. +#endif
  85886. + return result;
  85887. + ]])],
  85888. + [gl_cv_func_rename_slash_dst_works=yes],
  85889. + [gl_cv_func_rename_slash_dst_works=no],
  85890. + dnl When crosscompiling, assume rename is broken.
  85891. + [gl_cv_func_rename_slash_dst_works="guessing no"])
  85892. + rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk
  85893. + ])
  85894. + if test "x$gl_cv_func_rename_slash_dst_works" != xyes; then
  85895. + AC_LIBOBJ([rename])
  85896. + REPLACE_RENAME=1
  85897. + AC_DEFINE([RENAME_TRAILING_SLASH_DEST_BUG], [1],
  85898. + [Define if rename does not correctly handle slashes on the destination
  85899. + argument, such as on Solaris 10 or NetBSD 1.6.])
  85900. + fi
  85901. +
  85902. + dnl SunOS 4.1.1_U1 mistakenly forbids rename("dir/","name").
  85903. + dnl Solaris 9 mistakenly allows rename("file/","name").
  85904. + dnl FreeBSD 7.2 mistakenly allows rename("link-to-file/","name").
  85905. + dnl These bugs require stripping trailing slash to avoid corrupting
  85906. + dnl symlinks with a trailing slash.
  85907. + AC_CACHE_CHECK([whether rename honors trailing slash on source],
  85908. + [gl_cv_func_rename_slash_src_works],
  85909. + [rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk
  85910. + touch conftest.f && touch conftest.f1 && mkdir conftest.d1 ||
  85911. + AC_MSG_ERROR([cannot create temporary files])
  85912. + # Assume that if we have lstat, we can also check symlinks.
  85913. + if test $ac_cv_func_lstat = yes; then
  85914. + ln -s conftest.f conftest.lnk
  85915. + fi
  85916. + AC_RUN_IFELSE(
  85917. + [AC_LANG_PROGRAM([[
  85918. +# include <stdio.h>
  85919. +# include <stdlib.h>
  85920. + ]],
  85921. + [[int result = 0;
  85922. + if (rename ("conftest.f1/", "conftest.d3") == 0)
  85923. + result |= 1;
  85924. + if (rename ("conftest.d1/", "conftest.d2") != 0)
  85925. + result |= 2;
  85926. +#if HAVE_LSTAT
  85927. + if (rename ("conftest.lnk/", "conftest.f") == 0)
  85928. + result |= 4;
  85929. +#endif
  85930. + return result;
  85931. + ]])],
  85932. + [gl_cv_func_rename_slash_src_works=yes],
  85933. + [gl_cv_func_rename_slash_src_works=no],
  85934. + dnl When crosscompiling, assume rename is broken.
  85935. + [gl_cv_func_rename_slash_src_works="guessing no"])
  85936. + rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk
  85937. + ])
  85938. + if test "x$gl_cv_func_rename_slash_src_works" != xyes; then
  85939. + AC_LIBOBJ([rename])
  85940. + REPLACE_RENAME=1
  85941. + AC_DEFINE([RENAME_TRAILING_SLASH_SOURCE_BUG], [1],
  85942. + [Define if rename does not correctly handle slashes on the source
  85943. + argument, such as on Solaris 9 or cygwin 1.5.])
  85944. + fi
  85945. +
  85946. + dnl NetBSD 1.6 and cygwin 1.5.x mistakenly reduce hard link count
  85947. + dnl on rename("h1","h2").
  85948. + dnl This bug requires stat'ting targets prior to attempting rename.
  85949. + AC_CACHE_CHECK([whether rename manages hard links correctly],
  85950. + [gl_cv_func_rename_link_works],
  85951. + [rm -rf conftest.f conftest.f1
  85952. + if touch conftest.f && ln conftest.f conftest.f1 &&
  85953. + set x `ls -i conftest.f conftest.f1` && test "$2" = "$4"; then
  85954. + AC_RUN_IFELSE(
  85955. + [AC_LANG_PROGRAM([[
  85956. +# include <stdio.h>
  85957. +# include <stdlib.h>
  85958. +# include <unistd.h>
  85959. + ]],
  85960. + [[int result = 0;
  85961. + if (rename ("conftest.f", "conftest.f1"))
  85962. + result |= 1;
  85963. + if (unlink ("conftest.f1"))
  85964. + result |= 2;
  85965. + if (rename ("conftest.f", "conftest.f"))
  85966. + result |= 4;
  85967. + if (rename ("conftest.f1", "conftest.f1") == 0)
  85968. + result |= 8;
  85969. + return result;
  85970. + ]])],
  85971. + [gl_cv_func_rename_link_works=yes],
  85972. + [gl_cv_func_rename_link_works=no],
  85973. + dnl When crosscompiling, assume rename is broken.
  85974. + [gl_cv_func_rename_link_works="guessing no"])
  85975. + else
  85976. + gl_cv_func_rename_link_works="guessing no"
  85977. + fi
  85978. + rm -rf conftest.f conftest.f1
  85979. + ])
  85980. + if test "x$gl_cv_func_rename_link_works" != xyes; then
  85981. + AC_LIBOBJ([rename])
  85982. + REPLACE_RENAME=1
  85983. + AC_DEFINE([RENAME_HARD_LINK_BUG], [1],
  85984. + [Define if rename fails to leave hard links alone, as on NetBSD 1.6
  85985. + or Cygwin 1.5.])
  85986. + fi
  85987. +
  85988. + dnl Cygwin 1.5.x mistakenly allows rename("dir","file").
  85989. + dnl mingw mistakenly forbids rename("dir1","dir2").
  85990. + dnl These bugs require stripping trailing slash to avoid corrupting
  85991. + dnl symlinks with a trailing slash.
  85992. + AC_CACHE_CHECK([whether rename manages existing destinations correctly],
  85993. + [gl_cv_func_rename_dest_works],
  85994. + [rm -rf conftest.f conftest.d1 conftest.d2
  85995. + touch conftest.f && mkdir conftest.d1 conftest.d2 ||
  85996. + AC_MSG_ERROR([cannot create temporary files])
  85997. + AC_RUN_IFELSE(
  85998. + [AC_LANG_PROGRAM([[
  85999. +# include <stdio.h>
  86000. +# include <stdlib.h>
  86001. + ]],
  86002. + [[int result = 0;
  86003. + if (rename ("conftest.d1", "conftest.d2") != 0)
  86004. + result |= 1;
  86005. + if (rename ("conftest.d2", "conftest.f") == 0)
  86006. + result |= 2;
  86007. + return result;
  86008. + ]])],
  86009. + [gl_cv_func_rename_dest_works=yes],
  86010. + [gl_cv_func_rename_dest_works=no],
  86011. + dnl When crosscompiling, assume rename is broken.
  86012. + [gl_cv_func_rename_dest_works="guessing no"])
  86013. + rm -rf conftest.f conftest.d1 conftest.d2
  86014. + ])
  86015. + if test "x$gl_cv_func_rename_dest_works" != xyes; then
  86016. + AC_LIBOBJ([rename])
  86017. + REPLACE_RENAME=1
  86018. + AC_DEFINE([RENAME_DEST_EXISTS_BUG], [1],
  86019. + [Define if rename does not work when the destination file exists,
  86020. + as on Cygwin 1.5 or Windows.])
  86021. + fi
  86022. +])
  86023. +m4trace:m4/rmdir.m4:7: -1- AC_DEFUN([gl_FUNC_RMDIR], [
  86024. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
  86025. + dnl Detect cygwin 1.5.x bug.
  86026. + AC_CACHE_CHECK([whether rmdir works], [gl_cv_func_rmdir_works],
  86027. + [mkdir conftest.dir
  86028. + touch conftest.file
  86029. + AC_RUN_IFELSE(
  86030. + [AC_LANG_PROGRAM(
  86031. + [[#include <stdio.h>
  86032. + #include <errno.h>
  86033. + #include <unistd.h>
  86034. +]], [[int result = 0;
  86035. + if (!rmdir ("conftest.file/"))
  86036. + result |= 1;
  86037. + else if (errno != ENOTDIR)
  86038. + result |= 2;
  86039. + if (!rmdir ("conftest.dir/./"))
  86040. + result |= 4;
  86041. + return result;
  86042. + ]])],
  86043. + [gl_cv_func_rmdir_works=yes], [gl_cv_func_rmdir_works=no],
  86044. + [gl_cv_func_rmdir_works="guessing no"])
  86045. + rm -rf conftest.dir conftest.file])
  86046. + if test x"$gl_cv_func_rmdir_works" != xyes; then
  86047. + REPLACE_RMDIR=1
  86048. + AC_LIBOBJ([rmdir])
  86049. + fi
  86050. +])
  86051. +m4trace:m4/sched_h.m4:9: -1- AC_DEFUN([gl_SCHED_H], [
  86052. + AC_COMPILE_IFELSE(
  86053. + [AC_LANG_PROGRAM([[
  86054. + #include <sched.h>
  86055. + struct sched_param a;
  86056. + int b[] = { SCHED_FIFO, SCHED_RR, SCHED_OTHER };
  86057. + ]])],
  86058. + [SCHED_H=''],
  86059. + [SCHED_H='sched.h'
  86060. +
  86061. + gl_CHECK_NEXT_HEADERS([sched.h])
  86062. +
  86063. + if test $ac_cv_header_sched_h = yes; then
  86064. + HAVE_SCHED_H=1
  86065. + else
  86066. + HAVE_SCHED_H=0
  86067. + fi
  86068. + AC_SUBST([HAVE_SCHED_H])
  86069. +
  86070. + AC_CHECK_TYPE([struct sched_param],
  86071. + [HAVE_STRUCT_SCHED_PARAM=1], [HAVE_STRUCT_SCHED_PARAM=0],
  86072. + [#include <sched.h>])
  86073. + AC_SUBST([HAVE_STRUCT_SCHED_PARAM])
  86074. + ])
  86075. + AC_SUBST([SCHED_H])
  86076. +])
  86077. +m4trace:m4/setenv.m4:7: -1- AC_DEFUN([gl_FUNC_SETENV], [
  86078. + AC_REQUIRE([gl_FUNC_SETENV_SEPARATE])
  86079. + if test $HAVE_SETENV$REPLACE_SETENV != 10; then
  86080. + AC_LIBOBJ([setenv])
  86081. + fi
  86082. +])
  86083. +m4trace:m4/setenv.m4:16: -1- AC_DEFUN([gl_FUNC_SETENV_SEPARATE], [
  86084. + AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
  86085. + AC_CHECK_DECLS_ONCE([setenv])
  86086. + if test $ac_cv_have_decl_setenv = no; then
  86087. + HAVE_DECL_SETENV=0
  86088. + fi
  86089. + AC_CHECK_FUNCS_ONCE([setenv])
  86090. + if test $ac_cv_func_setenv = no; then
  86091. + HAVE_SETENV=0
  86092. + else
  86093. + AC_CACHE_CHECK([whether setenv validates arguments],
  86094. + [gl_cv_func_setenv_works],
  86095. + [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
  86096. + #include <stdlib.h>
  86097. + #include <errno.h>
  86098. + #include <string.h>
  86099. + ]], [[
  86100. + int result = 0;
  86101. + {
  86102. + if (setenv ("", "", 0) != -1)
  86103. + result |= 1;
  86104. + else if (errno != EINVAL)
  86105. + result |= 2;
  86106. + }
  86107. + {
  86108. + if (setenv ("a", "=", 1) != 0)
  86109. + result |= 4;
  86110. + else if (strcmp (getenv ("a"), "=") != 0)
  86111. + result |= 8;
  86112. + }
  86113. + return result;
  86114. + ]])],
  86115. + [gl_cv_func_setenv_works=yes], [gl_cv_func_setenv_works=no],
  86116. + [gl_cv_func_setenv_works="guessing no"])])
  86117. + if test "$gl_cv_func_setenv_works" != yes; then
  86118. + REPLACE_SETENV=1
  86119. + AC_LIBOBJ([setenv])
  86120. + fi
  86121. + fi
  86122. + gl_PREREQ_SETENV
  86123. +])
  86124. +m4trace:m4/setenv.m4:59: -1- AC_DEFUN([gl_FUNC_UNSETENV], [
  86125. + AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
  86126. + AC_CHECK_DECLS_ONCE([unsetenv])
  86127. + if test $ac_cv_have_decl_unsetenv = no; then
  86128. + HAVE_DECL_UNSETENV=0
  86129. + fi
  86130. + AC_CHECK_FUNCS([unsetenv])
  86131. + if test $ac_cv_func_unsetenv = no; then
  86132. + AC_LIBOBJ([unsetenv])
  86133. + gl_PREREQ_UNSETENV
  86134. + else
  86135. + dnl Some BSDs return void, failing to do error checking.
  86136. + AC_CACHE_CHECK([for unsetenv() return type], [gt_cv_func_unsetenv_ret],
  86137. + [AC_COMPILE_IFELSE(
  86138. + [AC_LANG_PROGRAM(
  86139. + [[
  86140. +#undef _BSD
  86141. +#define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 <stdlib.h> */
  86142. +#include <stdlib.h>
  86143. +extern
  86144. +#ifdef __cplusplus
  86145. +"C"
  86146. +#endif
  86147. +#if defined(__STDC__) || defined(__cplusplus)
  86148. +int unsetenv (const char *name);
  86149. +#else
  86150. +int unsetenv();
  86151. +#endif
  86152. + ]],
  86153. + [[]])],
  86154. + [gt_cv_func_unsetenv_ret='int'],
  86155. + [gt_cv_func_unsetenv_ret='void'])])
  86156. + if test $gt_cv_func_unsetenv_ret = 'void'; then
  86157. + AC_DEFINE([VOID_UNSETENV], [1], [Define to 1 if unsetenv returns void
  86158. + instead of int.])
  86159. + REPLACE_UNSETENV=1
  86160. + AC_LIBOBJ([unsetenv])
  86161. + fi
  86162. +
  86163. + dnl Solaris 10 unsetenv does not remove all copies of a name.
  86164. + dnl Haiku alpha 2 unsetenv gets confused by assignment to environ.
  86165. + dnl OpenBSD 4.7 unsetenv("") does not fail.
  86166. + AC_CACHE_CHECK([whether unsetenv obeys POSIX],
  86167. + [gl_cv_func_unsetenv_works],
  86168. + [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
  86169. + #include <stdlib.h>
  86170. + #include <errno.h>
  86171. + extern char **environ;
  86172. + ]], [[
  86173. + char entry1[] = "a=1";
  86174. + char entry2[] = "b=2";
  86175. + char *env[] = { entry1, entry2, NULL };
  86176. + if (putenv ((char *) "a=1")) return 1;
  86177. + if (putenv (entry2)) return 2;
  86178. + entry2[0] = 'a';
  86179. + unsetenv ("a");
  86180. + if (getenv ("a")) return 3;
  86181. + if (!unsetenv ("") || errno != EINVAL) return 4;
  86182. + entry2[0] = 'b';
  86183. + environ = env;
  86184. + if (!getenv ("a")) return 5;
  86185. + entry2[0] = 'a';
  86186. + unsetenv ("a");
  86187. + if (getenv ("a")) return 6;
  86188. + ]])],
  86189. + [gl_cv_func_unsetenv_works=yes], [gl_cv_func_unsetenv_works=no],
  86190. + [gl_cv_func_unsetenv_works="guessing no"])])
  86191. + if test "$gl_cv_func_unsetenv_works" != yes; then
  86192. + REPLACE_UNSETENV=1
  86193. + AC_LIBOBJ([unsetenv])
  86194. + fi
  86195. + fi
  86196. +])
  86197. +m4trace:m4/setenv.m4:135: -1- AC_DEFUN([gl_PREREQ_SETENV], [
  86198. + AC_REQUIRE([AC_FUNC_ALLOCA])
  86199. + AC_REQUIRE([gl_ENVIRON])
  86200. + AC_CHECK_HEADERS_ONCE([unistd.h])
  86201. + AC_CHECK_HEADERS([search.h])
  86202. + AC_CHECK_FUNCS([tsearch])
  86203. +])
  86204. +m4trace:m4/setenv.m4:145: -1- AC_DEFUN([gl_PREREQ_UNSETENV], [
  86205. + AC_REQUIRE([gl_ENVIRON])
  86206. + AC_CHECK_HEADERS_ONCE([unistd.h])
  86207. +])
  86208. +m4trace:m4/setlocale.m4:7: -1- AC_DEFUN([gl_FUNC_SETLOCALE], [
  86209. + AC_REQUIRE([gl_LOCALE_H_DEFAULTS])
  86210. + AC_REQUIRE([AC_CANONICAL_HOST])
  86211. + case "$host_os" in
  86212. + dnl On native Windows systems, setlocale(category,NULL) does not look at
  86213. + dnl the environment variables LC_ALL, category, and LANG.
  86214. + mingw*) REPLACE_SETLOCALE=1 ;;
  86215. + esac
  86216. + if test $REPLACE_SETLOCALE = 1; then
  86217. + gl_REPLACE_LOCALE_H
  86218. + AC_LIBOBJ([setlocale])
  86219. + gl_PREREQ_SETLOCALE
  86220. + fi
  86221. +])
  86222. +m4trace:m4/setlocale.m4:24: -1- AC_DEFUN([gl_PREREQ_SETLOCALE], [
  86223. + :
  86224. +])
  86225. +m4trace:m4/sig_atomic_t.m4:7: -1- AC_DEFUN([gt_TYPE_SIG_ATOMIC_T], [
  86226. + AC_CHECK_TYPES([sig_atomic_t], ,
  86227. + [AC_DEFINE([sig_atomic_t], [int],
  86228. + [Define as an integer type suitable for memory locations that can be
  86229. + accessed atomically even in the presence of asynchnonous signals.])],
  86230. + [#include <signal.h>])
  86231. +])
  86232. +m4trace:m4/sigaction.m4:8: -1- AC_DEFUN([gl_SIGACTION], [
  86233. + AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
  86234. + AC_CHECK_FUNCS_ONCE([sigaction])
  86235. + if test $ac_cv_func_sigaction = yes; then
  86236. + AC_CHECK_MEMBERS([struct sigaction.sa_sigaction], , ,
  86237. + [[#include <signal.h>]])
  86238. + if test $ac_cv_member_struct_sigaction_sa_sigaction = no; then
  86239. + HAVE_STRUCT_SIGACTION_SA_SIGACTION=0
  86240. + fi
  86241. + else
  86242. + HAVE_SIGACTION=0
  86243. + AC_LIBOBJ([sigaction])
  86244. + gl_PREREQ_SIGACTION
  86245. + fi
  86246. +])
  86247. +m4trace:m4/sigaction.m4:26: -1- AC_DEFUN([gl_PREREQ_SIGACTION], [
  86248. + AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
  86249. + AC_REQUIRE([AC_C_RESTRICT])
  86250. + AC_REQUIRE([AC_TYPE_UID_T])
  86251. + AC_REQUIRE([gl_PREREQ_SIG_HANDLER_H])
  86252. + AC_CHECK_FUNCS_ONCE([sigaltstack siginterrupt])
  86253. + AC_CHECK_TYPES([siginfo_t], [], [], [[
  86254. +#include <signal.h>
  86255. + ]])
  86256. + if test $ac_cv_type_siginfo_t = no; then
  86257. + HAVE_SIGINFO_T=0
  86258. + fi
  86259. +])
  86260. +m4trace:m4/sigaction.m4:42: -1- AC_DEFUN([gl_PREREQ_SIG_HANDLER_H], [
  86261. + AC_REQUIRE([AC_C_INLINE])
  86262. +])
  86263. +m4trace:m4/signal_h.m4:7: -1- AC_DEFUN([gl_SIGNAL_H], [
  86264. + AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
  86265. + gl_NEXT_HEADERS([signal.h])
  86266. +# AIX declares sig_atomic_t to already include volatile, and C89 compilers
  86267. +# then choke on 'volatile sig_atomic_t'. C99 requires that it compile.
  86268. + AC_CHECK_TYPE([volatile sig_atomic_t], [],
  86269. + [HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0], [[
  86270. +#include <signal.h>
  86271. + ]])
  86272. + AC_REQUIRE([AC_TYPE_UID_T])
  86273. +
  86274. + dnl Check for declarations of anything we want to poison if the
  86275. + dnl corresponding gnulib module is not in use.
  86276. + gl_WARN_ON_USE_PREPARE([[#include <signal.h>
  86277. + ]], [sigaction sigaddset sigdelset sigemptyset sigfillset sigismember
  86278. + sigpending sigprocmask])
  86279. +])
  86280. +m4trace:m4/signal_h.m4:26: -1- AC_DEFUN([gl_SIGNAL_MODULE_INDICATOR], [
  86281. + dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
  86282. + AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
  86283. + gl_MODULE_INDICATOR_SET_VARIABLE([$1])
  86284. + dnl Define it also as a C macro, for the benefit of the unit tests.
  86285. + gl_MODULE_INDICATOR_FOR_TESTS([$1])
  86286. +])
  86287. +m4trace:m4/signal_h.m4:35: -1- AC_DEFUN([gl_SIGNAL_H_DEFAULTS], [
  86288. + GNULIB_SIGNAL_H_SIGPIPE=0; AC_SUBST([GNULIB_SIGNAL_H_SIGPIPE])
  86289. + GNULIB_SIGPROCMASK=0; AC_SUBST([GNULIB_SIGPROCMASK])
  86290. + GNULIB_SIGACTION=0; AC_SUBST([GNULIB_SIGACTION])
  86291. + dnl Assume proper GNU behavior unless another module says otherwise.
  86292. + HAVE_POSIX_SIGNALBLOCKING=1; AC_SUBST([HAVE_POSIX_SIGNALBLOCKING])
  86293. + HAVE_SIGSET_T=1; AC_SUBST([HAVE_SIGSET_T])
  86294. + HAVE_SIGINFO_T=1; AC_SUBST([HAVE_SIGINFO_T])
  86295. + HAVE_SIGACTION=1; AC_SUBST([HAVE_SIGACTION])
  86296. + HAVE_STRUCT_SIGACTION_SA_SIGACTION=1;
  86297. + AC_SUBST([HAVE_STRUCT_SIGACTION_SA_SIGACTION])
  86298. + HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1;
  86299. + AC_SUBST([HAVE_TYPE_VOLATILE_SIG_ATOMIC_T])
  86300. +])
  86301. +m4trace:m4/signalblocking.m4:12: -1- AC_DEFUN([gl_SIGNALBLOCKING], [
  86302. + AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
  86303. + signals_not_posix=
  86304. + AC_EGREP_HEADER([sigset_t], [signal.h], , [signals_not_posix=1])
  86305. + if test -z "$signals_not_posix"; then
  86306. + AC_CHECK_FUNC([sigprocmask], [gl_cv_func_sigprocmask=1])
  86307. + fi
  86308. + if test -z "$gl_cv_func_sigprocmask"; then
  86309. + HAVE_POSIX_SIGNALBLOCKING=0
  86310. + AC_LIBOBJ([sigprocmask])
  86311. + gl_PREREQ_SIGPROCMASK
  86312. + fi
  86313. +])
  86314. +m4trace:m4/signalblocking.m4:28: -1- AC_DEFUN([gl_PREREQ_SIGPROCMASK], [
  86315. + AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
  86316. + AC_CHECK_TYPES([sigset_t],
  86317. + [gl_cv_type_sigset_t=yes], [gl_cv_type_sigset_t=no],
  86318. + [#include <signal.h>
  86319. +/* Mingw defines sigset_t not in <signal.h>, but in <sys/types.h>. */
  86320. +#include <sys/types.h>])
  86321. + if test $gl_cv_type_sigset_t != yes; then
  86322. + HAVE_SIGSET_T=0
  86323. + fi
  86324. + dnl HAVE_SIGSET_T is 1 if the system lacks the sigprocmask function but has
  86325. + dnl the sigset_t type.
  86326. + AC_SUBST([HAVE_SIGSET_T])
  86327. +])
  86328. +m4trace:m4/signbit.m4:7: -1- AC_DEFUN([gl_SIGNBIT], [
  86329. + AC_REQUIRE([gl_MATH_H_DEFAULTS])
  86330. + AC_CACHE_CHECK([for signbit macro], [gl_cv_func_signbit],
  86331. + [
  86332. + AC_RUN_IFELSE(
  86333. + [AC_LANG_SOURCE([[
  86334. +#include <math.h>
  86335. +/* If signbit is defined as a function, don't use it, since calling it for
  86336. + 'float' or 'long double' arguments would involve conversions.
  86337. + If signbit is not declared at all but exists as a library function, don't
  86338. + use it, since the prototype may not match.
  86339. + If signbit is not declared at all but exists as a compiler built-in, don't
  86340. + use it, since it's preferable to use __builtin_signbit* (no warnings,
  86341. + no conversions). */
  86342. +#ifndef signbit
  86343. +# error "signbit should be a macro"
  86344. +#endif
  86345. +#include <string.h>
  86346. +]gl_SIGNBIT_TEST_PROGRAM
  86347. +])],
  86348. + [gl_cv_func_signbit=yes],
  86349. + [gl_cv_func_signbit=no],
  86350. + [gl_cv_func_signbit="guessing no"])
  86351. + ])
  86352. + dnl GCC 4.0 and newer provides three built-ins for signbit.
  86353. + dnl They can be used without warnings, also in C++, regardless of <math.h>.
  86354. + dnl But they may expand to calls to functions, which may or may not be in
  86355. + dnl libc.
  86356. + AC_CACHE_CHECK([for signbit compiler built-ins], [gl_cv_func_signbit_gcc],
  86357. + [
  86358. + AC_RUN_IFELSE(
  86359. + [AC_LANG_SOURCE([[
  86360. +#if __GNUC__ >= 4
  86361. +# define signbit(x) \
  86362. + (sizeof (x) == sizeof (long double) ? __builtin_signbitl (x) : \
  86363. + sizeof (x) == sizeof (double) ? __builtin_signbit (x) : \
  86364. + __builtin_signbitf (x))
  86365. +#else
  86366. +# error "signbit should be three compiler built-ins"
  86367. +#endif
  86368. +#include <string.h>
  86369. +]gl_SIGNBIT_TEST_PROGRAM
  86370. +])],
  86371. + [gl_cv_func_signbit_gcc=yes],
  86372. + [gl_cv_func_signbit_gcc=no],
  86373. + [gl_cv_func_signbit_gcc="guessing no"])
  86374. + ])
  86375. + dnl Use the compiler built-ins whenever possible, because they are more
  86376. + dnl efficient than the system library functions (if they exist).
  86377. + if test "$gl_cv_func_signbit_gcc" = yes; then
  86378. + REPLACE_SIGNBIT_USING_GCC=1
  86379. + else
  86380. + if test "$gl_cv_func_signbit" != yes; then
  86381. + REPLACE_SIGNBIT=1
  86382. + AC_LIBOBJ([signbitf])
  86383. + AC_LIBOBJ([signbitd])
  86384. + AC_LIBOBJ([signbitl])
  86385. + gl_FLOAT_SIGN_LOCATION
  86386. + gl_DOUBLE_SIGN_LOCATION
  86387. + gl_LONG_DOUBLE_SIGN_LOCATION
  86388. + if test "$gl_cv_cc_float_signbit" = unknown; then
  86389. + dnl Test whether copysignf() is declared.
  86390. + AC_CHECK_DECLS([copysignf], , , [#include <math.h>])
  86391. + if test "$ac_cv_have_decl_copysignf" = yes; then
  86392. + dnl Test whether copysignf() can be used without libm.
  86393. + AC_CACHE_CHECK([whether copysignf can be used without linking with libm],
  86394. + [gl_cv_func_copysignf_no_libm],
  86395. + [
  86396. + AC_LINK_IFELSE(
  86397. + [AC_LANG_PROGRAM(
  86398. + [[#include <math.h>
  86399. + float x, y;]],
  86400. + [[return copysignf (x, y) < 0;]])],
  86401. + [gl_cv_func_copysignf_no_libm=yes],
  86402. + [gl_cv_func_copysignf_no_libm=no])
  86403. + ])
  86404. + if test $gl_cv_func_copysignf_no_libm = yes; then
  86405. + AC_DEFINE([HAVE_COPYSIGNF_IN_LIBC], [1],
  86406. + [Define if the copysignf function is declared in <math.h> and available in libc.])
  86407. + fi
  86408. + fi
  86409. + fi
  86410. + if test "$gl_cv_cc_double_signbit" = unknown; then
  86411. + dnl Test whether copysign() is declared.
  86412. + AC_CHECK_DECLS([copysign], , , [#include <math.h>])
  86413. + if test "$ac_cv_have_decl_copysign" = yes; then
  86414. + dnl Test whether copysign() can be used without libm.
  86415. + AC_CACHE_CHECK([whether copysign can be used without linking with libm],
  86416. + [gl_cv_func_copysign_no_libm],
  86417. + [
  86418. + AC_LINK_IFELSE(
  86419. + [AC_LANG_PROGRAM(
  86420. + [[#include <math.h>
  86421. + double x, y;]],
  86422. + [[return copysign (x, y) < 0;]])],
  86423. + [gl_cv_func_copysign_no_libm=yes],
  86424. + [gl_cv_func_copysign_no_libm=no])
  86425. + ])
  86426. + if test $gl_cv_func_copysign_no_libm = yes; then
  86427. + AC_DEFINE([HAVE_COPYSIGN_IN_LIBC], [1],
  86428. + [Define if the copysign function is declared in <math.h> and available in libc.])
  86429. + fi
  86430. + fi
  86431. + fi
  86432. + if test "$gl_cv_cc_long_double_signbit" = unknown; then
  86433. + dnl Test whether copysignl() is declared.
  86434. + AC_CHECK_DECLS([copysignl], , , [#include <math.h>])
  86435. + if test "$ac_cv_have_decl_copysignl" = yes; then
  86436. + dnl Test whether copysignl() can be used without libm.
  86437. + AC_CACHE_CHECK([whether copysignl can be used without linking with libm],
  86438. + [gl_cv_func_copysignl_no_libm],
  86439. + [
  86440. + AC_LINK_IFELSE(
  86441. + [AC_LANG_PROGRAM(
  86442. + [[#include <math.h>
  86443. + long double x, y;]],
  86444. + [[return copysignl (x, y) < 0;]])],
  86445. + [gl_cv_func_copysignl_no_libm=yes],
  86446. + [gl_cv_func_copysignl_no_libm=no])
  86447. + ])
  86448. + if test $gl_cv_func_copysignl_no_libm = yes; then
  86449. + AC_DEFINE([HAVE_COPYSIGNL_IN_LIBC], [1],
  86450. + [Define if the copysignl function is declared in <math.h> and available in libc.])
  86451. + fi
  86452. + fi
  86453. + fi
  86454. + fi
  86455. + fi
  86456. +])
  86457. +m4trace:m4/signbit.m4:138: -1- AC_DEFUN([gl_SIGNBIT_TEST_PROGRAM], [[
  86458. +/* Global variables.
  86459. + Needed because GCC 4 constant-folds __builtin_signbitl (literal)
  86460. + but cannot constant-fold __builtin_signbitl (variable). */
  86461. +float vf;
  86462. +double vd;
  86463. +long double vl;
  86464. +int main ()
  86465. +{
  86466. +/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0.
  86467. + So we use -p0f and -p0d instead. */
  86468. +float p0f = 0.0f;
  86469. +float m0f = -p0f;
  86470. +double p0d = 0.0;
  86471. +double m0d = -p0d;
  86472. +/* On HP-UX 10.20, negating 0.0L does not yield -0.0L.
  86473. + So we use another constant expression instead.
  86474. + But that expression does not work on other platforms, such as when
  86475. + cross-compiling to PowerPC on MacOS X 10.5. */
  86476. +long double p0l = 0.0L;
  86477. +#if defined __hpux || defined __sgi
  86478. +long double m0l = -LDBL_MIN * LDBL_MIN;
  86479. +#else
  86480. +long double m0l = -p0l;
  86481. +#endif
  86482. + int result = 0;
  86483. + if (signbit (vf)) /* link check */
  86484. + vf++;
  86485. + {
  86486. + float plus_inf = 1.0f / p0f;
  86487. + float minus_inf = -1.0f / p0f;
  86488. + if (!(!signbit (255.0f)
  86489. + && signbit (-255.0f)
  86490. + && !signbit (p0f)
  86491. + && (memcmp (&m0f, &p0f, sizeof (float)) == 0 || signbit (m0f))
  86492. + && !signbit (plus_inf)
  86493. + && signbit (minus_inf)))
  86494. + result |= 1;
  86495. + }
  86496. + if (signbit (vd)) /* link check */
  86497. + vd++;
  86498. + {
  86499. + double plus_inf = 1.0 / p0d;
  86500. + double minus_inf = -1.0 / p0d;
  86501. + if (!(!signbit (255.0)
  86502. + && signbit (-255.0)
  86503. + && !signbit (p0d)
  86504. + && (memcmp (&m0d, &p0d, sizeof (double)) == 0 || signbit (m0d))
  86505. + && !signbit (plus_inf)
  86506. + && signbit (minus_inf)))
  86507. + result |= 2;
  86508. + }
  86509. + if (signbit (vl)) /* link check */
  86510. + vl++;
  86511. + {
  86512. + long double plus_inf = 1.0L / p0l;
  86513. + long double minus_inf = -1.0L / p0l;
  86514. + if (signbit (255.0L))
  86515. + result |= 4;
  86516. + if (!signbit (-255.0L))
  86517. + result |= 4;
  86518. + if (signbit (p0l))
  86519. + result |= 8;
  86520. + if (!(memcmp (&m0l, &p0l, sizeof (long double)) == 0 || signbit (m0l)))
  86521. + result |= 16;
  86522. + if (signbit (plus_inf))
  86523. + result |= 32;
  86524. + if (!signbit (minus_inf))
  86525. + result |= 64;
  86526. + }
  86527. + return result;
  86528. +}
  86529. +]])
  86530. +m4trace:m4/signbit.m4:212: -1- AC_DEFUN([gl_FLOAT_SIGN_LOCATION], [
  86531. + gl_FLOATTYPE_SIGN_LOCATION([float], [gl_cv_cc_float_signbit], [f], [FLT])
  86532. +])
  86533. +m4trace:m4/signbit.m4:217: -1- AC_DEFUN([gl_DOUBLE_SIGN_LOCATION], [
  86534. + gl_FLOATTYPE_SIGN_LOCATION([double], [gl_cv_cc_double_signbit], [], [DBL])
  86535. +])
  86536. +m4trace:m4/signbit.m4:222: -1- AC_DEFUN([gl_LONG_DOUBLE_SIGN_LOCATION], [
  86537. + gl_FLOATTYPE_SIGN_LOCATION([long double], [gl_cv_cc_long_double_signbit], [L], [LDBL])
  86538. +])
  86539. +m4trace:m4/signbit.m4:227: -1- AC_DEFUN([gl_FLOATTYPE_SIGN_LOCATION], [
  86540. + AC_CACHE_CHECK([where to find the sign bit in a '$1'],
  86541. + [$2],
  86542. + [
  86543. + AC_RUN_IFELSE(
  86544. + [AC_LANG_SOURCE([[
  86545. +#include <stddef.h>
  86546. +#include <stdio.h>
  86547. +#define NWORDS \
  86548. + ((sizeof ($1) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
  86549. +typedef union { $1 value; unsigned int word[NWORDS]; }
  86550. + memory_float;
  86551. +static memory_float plus = { 1.0$3 };
  86552. +static memory_float minus = { -1.0$3 };
  86553. +int main ()
  86554. +{
  86555. + size_t j, k, i;
  86556. + unsigned int m;
  86557. + FILE *fp = fopen ("conftest.out", "w");
  86558. + if (fp == NULL)
  86559. + return 1;
  86560. + /* Find the different bit. */
  86561. + k = 0; m = 0;
  86562. + for (j = 0; j < NWORDS; j++)
  86563. + {
  86564. + unsigned int x = plus.word[j] ^ minus.word[j];
  86565. + if ((x & (x - 1)) || (x && m))
  86566. + {
  86567. + /* More than one bit difference. */
  86568. + fprintf (fp, "unknown");
  86569. + return 2;
  86570. + }
  86571. + if (x)
  86572. + {
  86573. + k = j;
  86574. + m = x;
  86575. + }
  86576. + }
  86577. + if (m == 0)
  86578. + {
  86579. + /* No difference. */
  86580. + fprintf (fp, "unknown");
  86581. + return 3;
  86582. + }
  86583. + /* Now m = plus.word[k] ^ ~minus.word[k]. */
  86584. + if (plus.word[k] & ~minus.word[k])
  86585. + {
  86586. + /* Oh? The sign bit is set in the positive and cleared in the negative
  86587. + numbers? */
  86588. + fprintf (fp, "unknown");
  86589. + return 4;
  86590. + }
  86591. + for (i = 0; ; i++)
  86592. + if ((m >> i) & 1)
  86593. + break;
  86594. + fprintf (fp, "word %d bit %d", (int) k, (int) i);
  86595. + if (fclose (fp) != 0)
  86596. + return 5;
  86597. + return 0;
  86598. +}
  86599. + ]])],
  86600. + [$2=`cat conftest.out`],
  86601. + [$2="unknown"],
  86602. + [
  86603. + dnl When cross-compiling, we don't know. It depends on the
  86604. + dnl ABI and compiler version. There are too many cases.
  86605. + $2="unknown"
  86606. + ])
  86607. + rm -f conftest.out
  86608. + ])
  86609. + case "$$2" in
  86610. + word*bit*)
  86611. + word=`echo "$$2" | sed -e 's/word //' -e 's/ bit.*//'`
  86612. + bit=`echo "$$2" | sed -e 's/word.*bit //'`
  86613. + AC_DEFINE_UNQUOTED([$4][_SIGNBIT_WORD], [$word],
  86614. + [Define as the word index where to find the sign of '$1'.])
  86615. + AC_DEFINE_UNQUOTED([$4][_SIGNBIT_BIT], [$bit],
  86616. + [Define as the bit index in the word where to find the sign of '$1'.])
  86617. + ;;
  86618. + esac
  86619. +])
  86620. +m4trace:m4/signbit.m4:312: -1- AC_DEFUN([gl_FLOAT_SIGNBIT_CODE], [
  86621. + gl_FLOATTYPE_SIGNBIT_CODE([float], [f], [f])
  86622. +])
  86623. +m4trace:m4/signbit.m4:319: -1- AC_DEFUN([gl_DOUBLE_SIGNBIT_CODE], [
  86624. + gl_FLOATTYPE_SIGNBIT_CODE([double], [d], [])
  86625. +])
  86626. +m4trace:m4/signbit.m4:326: -1- AC_DEFUN([gl_LONG_DOUBLE_SIGNBIT_CODE], [
  86627. + gl_FLOATTYPE_SIGNBIT_CODE([long double], [l], [L])
  86628. +])
  86629. +m4trace:m4/signbit.m4:331: -1- AC_DEFUN([gl_FLOATTYPE_SIGNBIT_CODE], [[
  86630. +static int
  86631. +signbit$2 ($1 value)
  86632. +{
  86633. + typedef union { $1 f; unsigned char b[sizeof ($1)]; } float_union;
  86634. + static float_union plus_one = { 1.0$3 }; /* unused bits are zero here */
  86635. + static float_union minus_one = { -1.0$3 }; /* unused bits are zero here */
  86636. + /* Compute the sign bit mask as the XOR of plus_one and minus_one. */
  86637. + float_union u;
  86638. + unsigned int i;
  86639. + u.f = value;
  86640. + for (i = 0; i < sizeof ($1); i++)
  86641. + if (u.b[i] & (plus_one.b[i] ^ minus_one.b[i]))
  86642. + return 1;
  86643. + return 0;
  86644. +}
  86645. +]])
  86646. +m4trace:m4/size_max.m4:9: -1- AC_DEFUN([gl_SIZE_MAX], [
  86647. + AC_CHECK_HEADERS([stdint.h])
  86648. + dnl First test whether the system already has SIZE_MAX.
  86649. + AC_CACHE_CHECK([for SIZE_MAX], [gl_cv_size_max], [
  86650. + gl_cv_size_max=
  86651. + AC_EGREP_CPP([Found it], [
  86652. +#include <limits.h>
  86653. +#if HAVE_STDINT_H
  86654. +#include <stdint.h>
  86655. +#endif
  86656. +#ifdef SIZE_MAX
  86657. +Found it
  86658. +#endif
  86659. +], [gl_cv_size_max=yes])
  86660. + if test -z "$gl_cv_size_max"; then
  86661. + dnl Define it ourselves. Here we assume that the type 'size_t' is not wider
  86662. + dnl than the type 'unsigned long'. Try hard to find a definition that can
  86663. + dnl be used in a preprocessor #if, i.e. doesn't contain a cast.
  86664. + AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1],
  86665. + [#include <stddef.h>
  86666. +#include <limits.h>], [size_t_bits_minus_1=])
  86667. + AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)],
  86668. + [#include <stddef.h>], [fits_in_uint=])
  86669. + if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
  86670. + if test $fits_in_uint = 1; then
  86671. + dnl Even though SIZE_MAX fits in an unsigned int, it must be of type
  86672. + dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'.
  86673. + AC_COMPILE_IFELSE(
  86674. + [AC_LANG_PROGRAM(
  86675. + [[#include <stddef.h>
  86676. + extern size_t foo;
  86677. + extern unsigned long foo;
  86678. + ]],
  86679. + [[]])],
  86680. + [fits_in_uint=0])
  86681. + fi
  86682. + dnl We cannot use 'expr' to simplify this expression, because 'expr'
  86683. + dnl works only with 'long' integers in the host environment, while we
  86684. + dnl might be cross-compiling from a 32-bit platform to a 64-bit platform.
  86685. + if test $fits_in_uint = 1; then
  86686. + gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
  86687. + else
  86688. + gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
  86689. + fi
  86690. + else
  86691. + dnl Shouldn't happen, but who knows...
  86692. + gl_cv_size_max='((size_t)~(size_t)0)'
  86693. + fi
  86694. + fi
  86695. + ])
  86696. + if test "$gl_cv_size_max" != yes; then
  86697. + AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max],
  86698. + [Define as the maximum value of type 'size_t', if the system doesn't define it.])
  86699. + fi
  86700. + dnl Don't redefine SIZE_MAX in config.h if config.h is re-included after
  86701. + dnl <stdint.h>. Remember that the #undef in AH_VERBATIM gets replaced with
  86702. + dnl #define by AC_DEFINE_UNQUOTED.
  86703. + AH_VERBATIM([SIZE_MAX],
  86704. +[/* Define as the maximum value of type 'size_t', if the system doesn't define
  86705. + it. */
  86706. +#ifndef SIZE_MAX
  86707. +# undef SIZE_MAX
  86708. +#endif])
  86709. +])
  86710. +m4trace:m4/snprintf.m4:7: -1- AC_DEFUN([gl_FUNC_SNPRINTF], [
  86711. + AC_REQUIRE([gl_STDIO_H_DEFAULTS])
  86712. + gl_cv_func_snprintf_usable=no
  86713. + AC_CHECK_FUNCS([snprintf])
  86714. + if test $ac_cv_func_snprintf = yes; then
  86715. + gl_SNPRINTF_SIZE1
  86716. + case "$gl_cv_func_snprintf_size1" in
  86717. + *yes)
  86718. + gl_SNPRINTF_RETVAL_C99
  86719. + case "$gl_cv_func_snprintf_retval_c99" in
  86720. + *yes)
  86721. + gl_cv_func_snprintf_usable=yes
  86722. + ;;
  86723. + esac
  86724. + ;;
  86725. + esac
  86726. + fi
  86727. + if test $gl_cv_func_snprintf_usable = no; then
  86728. + gl_REPLACE_SNPRINTF
  86729. + fi
  86730. + AC_CHECK_DECLS_ONCE([snprintf])
  86731. + if test $ac_cv_have_decl_snprintf = no; then
  86732. + HAVE_DECL_SNPRINTF=0
  86733. + fi
  86734. +])
  86735. +m4trace:m4/snprintf.m4:34: -1- AC_DEFUN([gl_REPLACE_SNPRINTF], [
  86736. + AC_REQUIRE([gl_STDIO_H_DEFAULTS])
  86737. + AC_LIBOBJ([snprintf])
  86738. + if test $ac_cv_func_snprintf = yes; then
  86739. + REPLACE_SNPRINTF=1
  86740. + fi
  86741. + gl_PREREQ_SNPRINTF
  86742. +])
  86743. +m4trace:m4/snprintf.m4:45: -1- AC_DEFUN([gl_PREREQ_SNPRINTF], [:])
  86744. +m4trace:m4/spawn-pipe.m4:7: -1- AC_DEFUN([gl_SPAWN_PIPE], [
  86745. + dnl Prerequisites of lib/spawn-pipe.c.
  86746. + AC_REQUIRE([AC_C_INLINE])
  86747. + AC_REQUIRE([AC_TYPE_MODE_T])
  86748. +])
  86749. +m4trace:m4/spawn_h.m4:9: -1- AC_DEFUN([gl_SPAWN_H], [
  86750. + dnl Use AC_REQUIRE here, so that the default behavior below is expanded
  86751. + dnl once only, before all statements that occur in other macros.
  86752. + AC_REQUIRE([gl_SPAWN_H_DEFAULTS])
  86753. +
  86754. + dnl <spawn.h> is always overridden, because of GNULIB_POSIXCHECK.
  86755. + gl_CHECK_NEXT_HEADERS([spawn.h])
  86756. +
  86757. + if test $ac_cv_header_spawn_h = yes; then
  86758. + HAVE_SPAWN_H=1
  86759. + AC_CHECK_TYPES([posix_spawnattr_t], [], [HAVE_POSIX_SPAWNATTR_T=0], [[
  86760. +#include <spawn.h>
  86761. + ]])
  86762. + AC_CHECK_TYPES([posix_spawn_file_actions_t], [],
  86763. + [HAVE_POSIX_SPAWN_FILE_ACTIONS_T=0], [[
  86764. +#include <spawn.h>
  86765. + ]])
  86766. + else
  86767. + HAVE_SPAWN_H=0
  86768. + HAVE_POSIX_SPAWNATTR_T=0
  86769. + HAVE_POSIX_SPAWN_FILE_ACTIONS_T=0
  86770. + gl_REPLACE_SPAWN_H
  86771. + fi
  86772. + AC_SUBST([HAVE_SPAWN_H])
  86773. +
  86774. + AC_REQUIRE([gl_HAVE_POSIX_SPAWN])
  86775. +
  86776. + AC_REQUIRE([AC_C_RESTRICT])
  86777. +
  86778. + dnl Check for declarations of anything we want to poison if the
  86779. + dnl corresponding gnulib module is not in use.
  86780. + gl_WARN_ON_USE_PREPARE([[#include <spawn.h>
  86781. + ]], [posix_spawn posix_spawnp posix_spawnattr_init posix_spawnattr_destroy
  86782. + posix_spawnattr_getsigdefault posix_spawnattr_setsigdefault
  86783. + posix_spawnattr_getsigmask posix_spawnattr_setsigmask
  86784. + posix_spawnattr_getflags posix_spawnattr_setflags
  86785. + posix_spawnattr_getpgroup posix_spawnattr_setpgroup
  86786. + posix_spawnattr_getschedpolicy posix_spawnattr_setschedpolicy
  86787. + posix_spawnattr_getschedparam posix_spawnattr_setschedparam
  86788. + posix_spawn_file_actions_init posix_spawn_file_actions_destroy
  86789. + posix_spawn_file_actions_addopen posix_spawn_file_actions_addclose
  86790. + posix_spawn_file_actions_adddup2])
  86791. +])
  86792. +m4trace:m4/spawn_h.m4:56: -1- AC_DEFUN([gl_HAVE_POSIX_SPAWN], [
  86793. + dnl Use AC_REQUIRE here, so that the default behavior below is expanded
  86794. + dnl once only, before all statements that occur in other macros.
  86795. + AC_REQUIRE([gl_SPAWN_H_DEFAULTS])
  86796. +
  86797. + AC_CHECK_FUNCS_ONCE([posix_spawn])
  86798. + if test $ac_cv_func_posix_spawn != yes; then
  86799. + HAVE_POSIX_SPAWN=0
  86800. + fi
  86801. +])
  86802. +m4trace:m4/spawn_h.m4:69: -1- AC_DEFUN([gl_REPLACE_SPAWN_H], [
  86803. + dnl This is a no-op, because <spawn.h> is always overridden.
  86804. + :
  86805. +])
  86806. +m4trace:m4/spawn_h.m4:75: -1- AC_DEFUN([gl_SPAWN_MODULE_INDICATOR], [
  86807. + dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
  86808. + AC_REQUIRE([gl_SPAWN_H_DEFAULTS])
  86809. + gl_MODULE_INDICATOR_SET_VARIABLE([$1])
  86810. + dnl Define it also as a C macro, for the benefit of the unit tests.
  86811. + gl_MODULE_INDICATOR_FOR_TESTS([$1])
  86812. +])
  86813. +m4trace:m4/spawn_h.m4:84: -1- AC_DEFUN([gl_SPAWN_H_DEFAULTS], [
  86814. + GNULIB_POSIX_SPAWN=0; AC_SUBST([GNULIB_POSIX_SPAWN])
  86815. + GNULIB_POSIX_SPAWNP=0; AC_SUBST([GNULIB_POSIX_SPAWNP])
  86816. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT=0; AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT])
  86817. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE=0; AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE])
  86818. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2=0; AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2])
  86819. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN=0; AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN])
  86820. + GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY=0; AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY])
  86821. + GNULIB_POSIX_SPAWNATTR_INIT=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_INIT])
  86822. + GNULIB_POSIX_SPAWNATTR_GETFLAGS=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETFLAGS])
  86823. + GNULIB_POSIX_SPAWNATTR_SETFLAGS=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETFLAGS])
  86824. + GNULIB_POSIX_SPAWNATTR_GETPGROUP=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETPGROUP])
  86825. + GNULIB_POSIX_SPAWNATTR_SETPGROUP=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETPGROUP])
  86826. + GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM])
  86827. + GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM])
  86828. + GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY])
  86829. + GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY])
  86830. + GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT])
  86831. + GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT])
  86832. + GNULIB_POSIX_SPAWNATTR_GETSIGMASK=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETSIGMASK])
  86833. + GNULIB_POSIX_SPAWNATTR_SETSIGMASK=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETSIGMASK])
  86834. + GNULIB_POSIX_SPAWNATTR_DESTROY=0; AC_SUBST([GNULIB_POSIX_SPAWNATTR_DESTROY])
  86835. + dnl Assume proper GNU behavior unless another module says otherwise.
  86836. + HAVE_POSIX_SPAWN=1; AC_SUBST([HAVE_POSIX_SPAWN])
  86837. + HAVE_POSIX_SPAWNATTR_T=1; AC_SUBST([HAVE_POSIX_SPAWNATTR_T])
  86838. + HAVE_POSIX_SPAWN_FILE_ACTIONS_T=1;
  86839. + AC_SUBST([HAVE_POSIX_SPAWN_FILE_ACTIONS_T])
  86840. + REPLACE_POSIX_SPAWN=0; AC_SUBST([REPLACE_POSIX_SPAWN])
  86841. +])
  86842. +m4trace:m4/ssize_t.m4:10: -1- AC_DEFUN([gt_TYPE_SSIZE_T], [
  86843. + AC_CACHE_CHECK([for ssize_t], [gt_cv_ssize_t],
  86844. + [AC_COMPILE_IFELSE(
  86845. + [AC_LANG_PROGRAM(
  86846. + [[#include <sys/types.h>]],
  86847. + [[int x = sizeof (ssize_t *) + sizeof (ssize_t);
  86848. + return !x;]])],
  86849. + [gt_cv_ssize_t=yes], [gt_cv_ssize_t=no])])
  86850. + if test $gt_cv_ssize_t = no; then
  86851. + AC_DEFINE([ssize_t], [int],
  86852. + [Define as a signed type of the same size as size_t.])
  86853. + fi
  86854. +])
  86855. +m4trace:m4/stat.m4:9: -1- AC_DEFUN([gl_FUNC_STAT], [
  86856. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  86857. + AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
  86858. + AC_CHECK_FUNCS_ONCE([lstat])
  86859. + dnl mingw is the only known platform where stat(".") and stat("./") differ
  86860. + AC_CACHE_CHECK([whether stat handles trailing slashes on directories],
  86861. + [gl_cv_func_stat_dir_slash],
  86862. + [AC_RUN_IFELSE(
  86863. + [AC_LANG_PROGRAM(
  86864. + [[#include <sys/stat.h>
  86865. +]], [[struct stat st; return stat (".", &st) != stat ("./", &st);]])],
  86866. + [gl_cv_func_stat_dir_slash=yes], [gl_cv_func_stat_dir_slash=no],
  86867. + [case $host_os in
  86868. + mingw*) gl_cv_func_stat_dir_slash="guessing no";;
  86869. + *) gl_cv_func_stat_dir_slash="guessing yes";;
  86870. + esac])])
  86871. + dnl AIX 7.1, Solaris 9 mistakenly succeed on stat("file/")
  86872. + dnl FreeBSD 7.2 mistakenly succeeds on stat("link-to-file/")
  86873. + AC_CACHE_CHECK([whether stat handles trailing slashes on files],
  86874. + [gl_cv_func_stat_file_slash],
  86875. + [touch conftest.tmp
  86876. + # Assume that if we have lstat, we can also check symlinks.
  86877. + if test $ac_cv_func_lstat = yes; then
  86878. + ln -s conftest.tmp conftest.lnk
  86879. + fi
  86880. + AC_RUN_IFELSE(
  86881. + [AC_LANG_PROGRAM(
  86882. + [[#include <sys/stat.h>
  86883. +]], [[int result = 0;
  86884. + struct stat st;
  86885. + if (!stat ("conftest.tmp/", &st))
  86886. + result |= 1;
  86887. +#if HAVE_LSTAT
  86888. + if (!stat ("conftest.lnk/", &st))
  86889. + result |= 2;
  86890. +#endif
  86891. + return result;
  86892. + ]])],
  86893. + [gl_cv_func_stat_file_slash=yes], [gl_cv_func_stat_file_slash=no],
  86894. + [gl_cv_func_stat_file_slash="guessing no"])
  86895. + rm -f conftest.tmp conftest.lnk])
  86896. + case $gl_cv_func_stat_dir_slash in
  86897. + *no) REPLACE_STAT=1
  86898. + AC_DEFINE([REPLACE_FUNC_STAT_DIR], [1], [Define to 1 if stat needs
  86899. + help when passed a directory name with a trailing slash]);;
  86900. + esac
  86901. + case $gl_cv_func_stat_file_slash in
  86902. + *no) REPLACE_STAT=1
  86903. + AC_DEFINE([REPLACE_FUNC_STAT_FILE], [1], [Define to 1 if stat needs
  86904. + help when passed a file name with a trailing slash]);;
  86905. + esac
  86906. + if test $REPLACE_STAT = 1; then
  86907. + AC_LIBOBJ([stat])
  86908. + dnl Prerequisites of lib/stat.c.
  86909. + AC_REQUIRE([AC_C_INLINE])
  86910. + fi
  86911. +])
  86912. +m4trace:m4/stdarg.m4:10: -1- AC_DEFUN([gl_STDARG_H], [
  86913. + STDARG_H=''; AC_SUBST([STDARG_H])
  86914. + NEXT_STDARG_H='<stdarg.h>'; AC_SUBST([NEXT_STDARG_H])
  86915. + AC_MSG_CHECKING([for va_copy])
  86916. + AC_CACHE_VAL([gl_cv_func_va_copy], [
  86917. + AC_COMPILE_IFELSE(
  86918. + [AC_LANG_PROGRAM(
  86919. + [[#include <stdarg.h>]],
  86920. + [[
  86921. +#ifndef va_copy
  86922. +void (*func) (va_list, va_list) = va_copy;
  86923. +#endif
  86924. + ]])],
  86925. + [gl_cv_func_va_copy=yes],
  86926. + [gl_cv_func_va_copy=no])])
  86927. + AC_MSG_RESULT([$gl_cv_func_va_copy])
  86928. + if test $gl_cv_func_va_copy = no; then
  86929. + dnl Provide a substitute.
  86930. + dnl Usually a simple definition in <config.h> is enough. Not so on AIX 5
  86931. + dnl with some versions of the /usr/vac/bin/cc compiler. It has an <stdarg.h>
  86932. + dnl which does '#undef va_copy', leading to a missing va_copy symbol. For
  86933. + dnl this platform, we use an <stdarg.h> substitute. But we cannot use this
  86934. + dnl approach on other platforms, because <stdarg.h> often defines only
  86935. + dnl preprocessor macros and gl_ABSOLUTE_HEADER, gl_CHECK_NEXT_HEADERS do
  86936. + dnl not work in this situation.
  86937. + AC_EGREP_CPP([vaccine],
  86938. + [#if defined _AIX && !defined __GNUC__
  86939. + AIX vaccine
  86940. + #endif
  86941. + ], [gl_aixcc=yes], [gl_aixcc=no])
  86942. + if test $gl_aixcc = yes; then
  86943. + dnl Provide a substitute <stdarg.h> file.
  86944. + STDARG_H=stdarg.h
  86945. + gl_NEXT_HEADERS([stdarg.h])
  86946. + dnl Fallback for the case when <stdarg.h> contains only macro definitions.
  86947. + if test "$gl_cv_next_stdarg_h" = '""'; then
  86948. + gl_cv_next_stdarg_h='"///usr/include/stdarg.h"'
  86949. + NEXT_STDARG_H="$gl_cv_next_stdarg_h"
  86950. + fi
  86951. + else
  86952. + dnl Provide a substitute in <config.h>, either __va_copy or as a simple
  86953. + dnl assignment.
  86954. + gl_CACHE_VAL_SILENT([gl_cv_func___va_copy], [
  86955. + AC_COMPILE_IFELSE(
  86956. + [AC_LANG_PROGRAM(
  86957. + [[#include <stdarg.h>]],
  86958. + [[
  86959. +#ifndef __va_copy
  86960. +error, bail out
  86961. +#endif
  86962. + ]])],
  86963. + [gl_cv_func___va_copy=yes],
  86964. + [gl_cv_func___va_copy=no])])
  86965. + if test $gl_cv_func___va_copy = yes; then
  86966. + AC_DEFINE([va_copy], [__va_copy],
  86967. + [Define as a macro for copying va_list variables.])
  86968. + else
  86969. + AH_VERBATIM([gl_VA_COPY], [/* A replacement for va_copy, if needed. */
  86970. +#define gl_va_copy(a,b) ((a) = (b))])
  86971. + AC_DEFINE([va_copy], [gl_va_copy],
  86972. + [Define as a macro for copying va_list variables.])
  86973. + fi
  86974. + fi
  86975. + fi
  86976. +])
  86977. +m4trace:m4/stdbool.m4:12: -1- AC_DEFUN([AM_STDBOOL_H], [
  86978. + AC_REQUIRE([AC_CHECK_HEADER_STDBOOL])
  86979. +
  86980. + # Define two additional variables used in the Makefile substitution.
  86981. +
  86982. + if test "$ac_cv_header_stdbool_h" = yes; then
  86983. + STDBOOL_H=''
  86984. + else
  86985. + STDBOOL_H='stdbool.h'
  86986. + fi
  86987. + AC_SUBST([STDBOOL_H])
  86988. +
  86989. + if test "$ac_cv_type__Bool" = yes; then
  86990. + HAVE__BOOL=1
  86991. + else
  86992. + HAVE__BOOL=0
  86993. + fi
  86994. + AC_SUBST([HAVE__BOOL])
  86995. +])
  86996. +m4trace:m4/stdbool.m4:34: -1- AC_DEFUN([gl_STDBOOL_H], [AM_STDBOOL_H])
  86997. +m4trace:m4/stdbool.m4:38: -1- AC_DEFUN([AC_CHECK_HEADER_STDBOOL], [AC_CACHE_CHECK([for stdbool.h that conforms to C99],
  86998. + [ac_cv_header_stdbool_h],
  86999. + [AC_COMPILE_IFELSE(
  87000. + [AC_LANG_PROGRAM(
  87001. + [[
  87002. + #include <stdbool.h>
  87003. + #ifndef bool
  87004. + "error: bool is not defined"
  87005. + #endif
  87006. + #ifndef false
  87007. + "error: false is not defined"
  87008. + #endif
  87009. + #if false
  87010. + "error: false is not 0"
  87011. + #endif
  87012. + #ifndef true
  87013. + "error: true is not defined"
  87014. + #endif
  87015. + #if true != 1
  87016. + "error: true is not 1"
  87017. + #endif
  87018. + #ifndef __bool_true_false_are_defined
  87019. + "error: __bool_true_false_are_defined is not defined"
  87020. + #endif
  87021. +
  87022. + struct s { _Bool s: 1; _Bool t; } s;
  87023. +
  87024. + char a[true == 1 ? 1 : -1];
  87025. + char b[false == 0 ? 1 : -1];
  87026. + char c[__bool_true_false_are_defined == 1 ? 1 : -1];
  87027. + char d[(bool) 0.5 == true ? 1 : -1];
  87028. + /* See body of main program for 'e'. */
  87029. + char f[(_Bool) 0.0 == false ? 1 : -1];
  87030. + char g[true];
  87031. + char h[sizeof (_Bool)];
  87032. + char i[sizeof s.t];
  87033. + enum { j = false, k = true, l = false * true, m = true * 256 };
  87034. + /* The following fails for
  87035. + HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
  87036. + _Bool n[m];
  87037. + char o[sizeof n == m * sizeof n[0] ? 1 : -1];
  87038. + char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
  87039. + /* Catch a bug in an HP-UX C compiler. See
  87040. + http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
  87041. + http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
  87042. + */
  87043. + _Bool q = true;
  87044. + _Bool *pq = &q;
  87045. + ]],
  87046. + [[
  87047. + bool e = &s;
  87048. + *pq |= q;
  87049. + *pq |= ! q;
  87050. + /* Refer to every declared value, to avoid compiler optimizations. */
  87051. + return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
  87052. + + !m + !n + !o + !p + !q + !pq);
  87053. + ]])],
  87054. + [ac_cv_header_stdbool_h=yes],
  87055. + [ac_cv_header_stdbool_h=no])])
  87056. + AC_CHECK_TYPES([_Bool])
  87057. +])
  87058. +m4trace:m4/stddef_h.m4:8: -1- AC_DEFUN([gl_STDDEF_H], [
  87059. + AC_REQUIRE([gl_STDDEF_H_DEFAULTS])
  87060. + AC_REQUIRE([gt_TYPE_WCHAR_T])
  87061. + if test $gt_cv_c_wchar_t = no; then
  87062. + HAVE_WCHAR_T=0
  87063. + STDDEF_H=stddef.h
  87064. + fi
  87065. + AC_CACHE_CHECK([whether NULL can be used in arbitrary expressions],
  87066. + [gl_cv_decl_null_works],
  87067. + [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stddef.h>
  87068. + int test[2 * (sizeof NULL == sizeof (void *)) -1];
  87069. +]])],
  87070. + [gl_cv_decl_null_works=yes],
  87071. + [gl_cv_decl_null_works=no])])
  87072. + if test $gl_cv_decl_null_works = no; then
  87073. + REPLACE_NULL=1
  87074. + STDDEF_H=stddef.h
  87075. + fi
  87076. + if test -n "$STDDEF_H"; then
  87077. + gl_NEXT_HEADERS([stddef.h])
  87078. + fi
  87079. +])
  87080. +m4trace:m4/stddef_h.m4:32: -1- AC_DEFUN([gl_STDDEF_MODULE_INDICATOR], [
  87081. + dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
  87082. + AC_REQUIRE([gl_STDDEF_H_DEFAULTS])
  87083. + gl_MODULE_INDICATOR_SET_VARIABLE([$1])
  87084. +])
  87085. +m4trace:m4/stddef_h.m4:39: -1- AC_DEFUN([gl_STDDEF_H_DEFAULTS], [
  87086. + dnl Assume proper GNU behavior unless another module says otherwise.
  87087. + REPLACE_NULL=0; AC_SUBST([REPLACE_NULL])
  87088. + HAVE_WCHAR_T=1; AC_SUBST([HAVE_WCHAR_T])
  87089. + STDDEF_H=''; AC_SUBST([STDDEF_H])
  87090. +])
  87091. +m4trace:m4/stdint.m4:10: -1- AC_DEFUN([gl_STDINT_H], [
  87092. + AC_PREREQ([2.59])dnl
  87093. +
  87094. + dnl Check for long long int and unsigned long long int.
  87095. + AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
  87096. + if test $ac_cv_type_long_long_int = yes; then
  87097. + HAVE_LONG_LONG_INT=1
  87098. + else
  87099. + HAVE_LONG_LONG_INT=0
  87100. + fi
  87101. + AC_SUBST([HAVE_LONG_LONG_INT])
  87102. + AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
  87103. + if test $ac_cv_type_unsigned_long_long_int = yes; then
  87104. + HAVE_UNSIGNED_LONG_LONG_INT=1
  87105. + else
  87106. + HAVE_UNSIGNED_LONG_LONG_INT=0
  87107. + fi
  87108. + AC_SUBST([HAVE_UNSIGNED_LONG_LONG_INT])
  87109. +
  87110. + dnl Check for <wchar.h>, in the same way as gl_WCHAR_H does.
  87111. + AC_CHECK_HEADERS_ONCE([wchar.h])
  87112. + if test $ac_cv_header_wchar_h = yes; then
  87113. + HAVE_WCHAR_H=1
  87114. + else
  87115. + HAVE_WCHAR_H=0
  87116. + fi
  87117. + AC_SUBST([HAVE_WCHAR_H])
  87118. +
  87119. + dnl Check for <inttypes.h>.
  87120. + dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_inttypes_h.
  87121. + if test $ac_cv_header_inttypes_h = yes; then
  87122. + HAVE_INTTYPES_H=1
  87123. + else
  87124. + HAVE_INTTYPES_H=0
  87125. + fi
  87126. + AC_SUBST([HAVE_INTTYPES_H])
  87127. +
  87128. + dnl Check for <sys/types.h>.
  87129. + dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_sys_types_h.
  87130. + if test $ac_cv_header_sys_types_h = yes; then
  87131. + HAVE_SYS_TYPES_H=1
  87132. + else
  87133. + HAVE_SYS_TYPES_H=0
  87134. + fi
  87135. + AC_SUBST([HAVE_SYS_TYPES_H])
  87136. +
  87137. + gl_CHECK_NEXT_HEADERS([stdint.h])
  87138. + if test $ac_cv_header_stdint_h = yes; then
  87139. + HAVE_STDINT_H=1
  87140. + else
  87141. + HAVE_STDINT_H=0
  87142. + fi
  87143. + AC_SUBST([HAVE_STDINT_H])
  87144. +
  87145. + dnl Now see whether we need a substitute <stdint.h>.
  87146. + if test $ac_cv_header_stdint_h = yes; then
  87147. + AC_CACHE_CHECK([whether stdint.h conforms to C99],
  87148. + [gl_cv_header_working_stdint_h],
  87149. + [gl_cv_header_working_stdint_h=no
  87150. + AC_COMPILE_IFELSE([
  87151. + AC_LANG_PROGRAM([[
  87152. +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
  87153. +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
  87154. +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
  87155. +#include <stdint.h>
  87156. +/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */
  87157. +#if !(defined WCHAR_MIN && defined WCHAR_MAX)
  87158. +#error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
  87159. +#endif
  87160. +]
  87161. +gl_STDINT_INCLUDES
  87162. +[
  87163. +#ifdef INT8_MAX
  87164. +int8_t a1 = INT8_MAX;
  87165. +int8_t a1min = INT8_MIN;
  87166. +#endif
  87167. +#ifdef INT16_MAX
  87168. +int16_t a2 = INT16_MAX;
  87169. +int16_t a2min = INT16_MIN;
  87170. +#endif
  87171. +#ifdef INT32_MAX
  87172. +int32_t a3 = INT32_MAX;
  87173. +int32_t a3min = INT32_MIN;
  87174. +#endif
  87175. +#ifdef INT64_MAX
  87176. +int64_t a4 = INT64_MAX;
  87177. +int64_t a4min = INT64_MIN;
  87178. +#endif
  87179. +#ifdef UINT8_MAX
  87180. +uint8_t b1 = UINT8_MAX;
  87181. +#else
  87182. +typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
  87183. +#endif
  87184. +#ifdef UINT16_MAX
  87185. +uint16_t b2 = UINT16_MAX;
  87186. +#endif
  87187. +#ifdef UINT32_MAX
  87188. +uint32_t b3 = UINT32_MAX;
  87189. +#endif
  87190. +#ifdef UINT64_MAX
  87191. +uint64_t b4 = UINT64_MAX;
  87192. +#endif
  87193. +int_least8_t c1 = INT8_C (0x7f);
  87194. +int_least8_t c1max = INT_LEAST8_MAX;
  87195. +int_least8_t c1min = INT_LEAST8_MIN;
  87196. +int_least16_t c2 = INT16_C (0x7fff);
  87197. +int_least16_t c2max = INT_LEAST16_MAX;
  87198. +int_least16_t c2min = INT_LEAST16_MIN;
  87199. +int_least32_t c3 = INT32_C (0x7fffffff);
  87200. +int_least32_t c3max = INT_LEAST32_MAX;
  87201. +int_least32_t c3min = INT_LEAST32_MIN;
  87202. +int_least64_t c4 = INT64_C (0x7fffffffffffffff);
  87203. +int_least64_t c4max = INT_LEAST64_MAX;
  87204. +int_least64_t c4min = INT_LEAST64_MIN;
  87205. +uint_least8_t d1 = UINT8_C (0xff);
  87206. +uint_least8_t d1max = UINT_LEAST8_MAX;
  87207. +uint_least16_t d2 = UINT16_C (0xffff);
  87208. +uint_least16_t d2max = UINT_LEAST16_MAX;
  87209. +uint_least32_t d3 = UINT32_C (0xffffffff);
  87210. +uint_least32_t d3max = UINT_LEAST32_MAX;
  87211. +uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
  87212. +uint_least64_t d4max = UINT_LEAST64_MAX;
  87213. +int_fast8_t e1 = INT_FAST8_MAX;
  87214. +int_fast8_t e1min = INT_FAST8_MIN;
  87215. +int_fast16_t e2 = INT_FAST16_MAX;
  87216. +int_fast16_t e2min = INT_FAST16_MIN;
  87217. +int_fast32_t e3 = INT_FAST32_MAX;
  87218. +int_fast32_t e3min = INT_FAST32_MIN;
  87219. +int_fast64_t e4 = INT_FAST64_MAX;
  87220. +int_fast64_t e4min = INT_FAST64_MIN;
  87221. +uint_fast8_t f1 = UINT_FAST8_MAX;
  87222. +uint_fast16_t f2 = UINT_FAST16_MAX;
  87223. +uint_fast32_t f3 = UINT_FAST32_MAX;
  87224. +uint_fast64_t f4 = UINT_FAST64_MAX;
  87225. +#ifdef INTPTR_MAX
  87226. +intptr_t g = INTPTR_MAX;
  87227. +intptr_t gmin = INTPTR_MIN;
  87228. +#endif
  87229. +#ifdef UINTPTR_MAX
  87230. +uintptr_t h = UINTPTR_MAX;
  87231. +#endif
  87232. +intmax_t i = INTMAX_MAX;
  87233. +uintmax_t j = UINTMAX_MAX;
  87234. +
  87235. +#include <limits.h> /* for CHAR_BIT */
  87236. +#define TYPE_MINIMUM(t) \
  87237. + ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t)))
  87238. +#define TYPE_MAXIMUM(t) \
  87239. + ((t) ((t) 0 < (t) -1 \
  87240. + ? (t) -1 \
  87241. + : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
  87242. +struct s {
  87243. + int check_PTRDIFF:
  87244. + PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
  87245. + && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
  87246. + ? 1 : -1;
  87247. + /* Detect bug in FreeBSD 6.0 / ia64. */
  87248. + int check_SIG_ATOMIC:
  87249. + SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
  87250. + && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
  87251. + ? 1 : -1;
  87252. + int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
  87253. + int check_WCHAR:
  87254. + WCHAR_MIN == TYPE_MINIMUM (wchar_t)
  87255. + && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
  87256. + ? 1 : -1;
  87257. + /* Detect bug in mingw. */
  87258. + int check_WINT:
  87259. + WINT_MIN == TYPE_MINIMUM (wint_t)
  87260. + && WINT_MAX == TYPE_MAXIMUM (wint_t)
  87261. + ? 1 : -1;
  87262. +
  87263. + /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */
  87264. + int check_UINT8_C:
  87265. + (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
  87266. + int check_UINT16_C:
  87267. + (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
  87268. +
  87269. + /* Detect bugs in OpenBSD 3.9 stdint.h. */
  87270. +#ifdef UINT8_MAX
  87271. + int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
  87272. +#endif
  87273. +#ifdef UINT16_MAX
  87274. + int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
  87275. +#endif
  87276. +#ifdef UINT32_MAX
  87277. + int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
  87278. +#endif
  87279. +#ifdef UINT64_MAX
  87280. + int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
  87281. +#endif
  87282. + int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
  87283. + int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
  87284. + int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
  87285. + int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
  87286. + int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
  87287. + int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
  87288. + int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
  87289. + int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
  87290. + int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
  87291. + int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
  87292. + int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
  87293. +};
  87294. + ]])],
  87295. + [dnl Determine whether the various *_MIN, *_MAX macros are usable
  87296. + dnl in preprocessor expression. We could do it by compiling a test
  87297. + dnl program for each of these macros. It is faster to run a program
  87298. + dnl that inspects the macro expansion.
  87299. + dnl This detects a bug on HP-UX 11.23/ia64.
  87300. + AC_RUN_IFELSE([
  87301. + AC_LANG_PROGRAM([[
  87302. +#define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
  87303. +#define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
  87304. +#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
  87305. +#include <stdint.h>
  87306. +]
  87307. +gl_STDINT_INCLUDES
  87308. +[
  87309. +#include <stdio.h>
  87310. +#include <string.h>
  87311. +#define MVAL(macro) MVAL1(macro)
  87312. +#define MVAL1(expression) #expression
  87313. +static const char *macro_values[] =
  87314. + {
  87315. +#ifdef INT8_MAX
  87316. + MVAL (INT8_MAX),
  87317. +#endif
  87318. +#ifdef INT16_MAX
  87319. + MVAL (INT16_MAX),
  87320. +#endif
  87321. +#ifdef INT32_MAX
  87322. + MVAL (INT32_MAX),
  87323. +#endif
  87324. +#ifdef INT64_MAX
  87325. + MVAL (INT64_MAX),
  87326. +#endif
  87327. +#ifdef UINT8_MAX
  87328. + MVAL (UINT8_MAX),
  87329. +#endif
  87330. +#ifdef UINT16_MAX
  87331. + MVAL (UINT16_MAX),
  87332. +#endif
  87333. +#ifdef UINT32_MAX
  87334. + MVAL (UINT32_MAX),
  87335. +#endif
  87336. +#ifdef UINT64_MAX
  87337. + MVAL (UINT64_MAX),
  87338. +#endif
  87339. + NULL
  87340. + };
  87341. +]], [[
  87342. + const char **mv;
  87343. + for (mv = macro_values; *mv != NULL; mv++)
  87344. + {
  87345. + const char *value = *mv;
  87346. + /* Test whether it looks like a cast expression. */
  87347. + if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0
  87348. + || strncmp (value, "((unsigned short)"/*)*/, 17) == 0
  87349. + || strncmp (value, "((unsigned char)"/*)*/, 16) == 0
  87350. + || strncmp (value, "((int)"/*)*/, 6) == 0
  87351. + || strncmp (value, "((signed short)"/*)*/, 15) == 0
  87352. + || strncmp (value, "((signed char)"/*)*/, 14) == 0)
  87353. + return mv - macro_values + 1;
  87354. + }
  87355. + return 0;
  87356. +]])],
  87357. + [gl_cv_header_working_stdint_h=yes],
  87358. + [],
  87359. + [dnl When cross-compiling, assume it works.
  87360. + gl_cv_header_working_stdint_h=yes
  87361. + ])
  87362. + ])
  87363. + ])
  87364. + fi
  87365. + if test "$gl_cv_header_working_stdint_h" = yes; then
  87366. + STDINT_H=
  87367. + else
  87368. + dnl Check for <sys/inttypes.h>, and for
  87369. + dnl <sys/bitypes.h> (used in Linux libc4 >= 4.6.7 and libc5).
  87370. + AC_CHECK_HEADERS([sys/inttypes.h sys/bitypes.h])
  87371. + if test $ac_cv_header_sys_inttypes_h = yes; then
  87372. + HAVE_SYS_INTTYPES_H=1
  87373. + else
  87374. + HAVE_SYS_INTTYPES_H=0
  87375. + fi
  87376. + AC_SUBST([HAVE_SYS_INTTYPES_H])
  87377. + if test $ac_cv_header_sys_bitypes_h = yes; then
  87378. + HAVE_SYS_BITYPES_H=1
  87379. + else
  87380. + HAVE_SYS_BITYPES_H=0
  87381. + fi
  87382. + AC_SUBST([HAVE_SYS_BITYPES_H])
  87383. +
  87384. + gl_STDINT_TYPE_PROPERTIES
  87385. + STDINT_H=stdint.h
  87386. + fi
  87387. + AC_SUBST([STDINT_H])
  87388. +])
  87389. +m4trace:m4/stdint.m4:312: -1- AC_DEFUN([gl_STDINT_BITSIZEOF], [
  87390. + dnl Use a shell loop, to avoid bloating configure, and
  87391. + dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into
  87392. + dnl config.h.in,
  87393. + dnl - extra AC_SUBST calls, so that the right substitutions are made.
  87394. + m4_foreach_w([gltype], [$1],
  87395. + [AH_TEMPLATE([BITSIZEOF_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]),
  87396. + [Define to the number of bits in type ']gltype['.])])
  87397. + for gltype in $1 ; do
  87398. + AC_CACHE_CHECK([for bit size of $gltype], [gl_cv_bitsizeof_${gltype}],
  87399. + [AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT],
  87400. + [$2
  87401. +#include <limits.h>], [result=unknown])
  87402. + eval gl_cv_bitsizeof_${gltype}=\$result
  87403. + ])
  87404. + eval result=\$gl_cv_bitsizeof_${gltype}
  87405. + if test $result = unknown; then
  87406. + dnl Use a nonempty default, because some compilers, such as IRIX 5 cc,
  87407. + dnl do a syntax check even on unused #if conditions and give an error
  87408. + dnl on valid C code like this:
  87409. + dnl #if 0
  87410. + dnl # if > 32
  87411. + dnl # endif
  87412. + dnl #endif
  87413. + result=0
  87414. + fi
  87415. + GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  87416. + AC_DEFINE_UNQUOTED([BITSIZEOF_${GLTYPE}], [$result])
  87417. + eval BITSIZEOF_${GLTYPE}=\$result
  87418. + done
  87419. + m4_foreach_w([gltype], [$1],
  87420. + [AC_SUBST([BITSIZEOF_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))])
  87421. +])
  87422. +m4trace:m4/stdint.m4:350: -1- AC_DEFUN([gl_CHECK_TYPES_SIGNED], [
  87423. + dnl Use a shell loop, to avoid bloating configure, and
  87424. + dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into
  87425. + dnl config.h.in,
  87426. + dnl - extra AC_SUBST calls, so that the right substitutions are made.
  87427. + m4_foreach_w([gltype], [$1],
  87428. + [AH_TEMPLATE([HAVE_SIGNED_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]),
  87429. + [Define to 1 if ']gltype[' is a signed integer type.])])
  87430. + for gltype in $1 ; do
  87431. + AC_CACHE_CHECK([whether $gltype is signed], [gl_cv_type_${gltype}_signed],
  87432. + [AC_COMPILE_IFELSE(
  87433. + [AC_LANG_PROGRAM([$2[
  87434. + int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];]])],
  87435. + result=yes, result=no)
  87436. + eval gl_cv_type_${gltype}_signed=\$result
  87437. + ])
  87438. + eval result=\$gl_cv_type_${gltype}_signed
  87439. + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  87440. + if test "$result" = yes; then
  87441. + AC_DEFINE_UNQUOTED([HAVE_SIGNED_${GLTYPE}], [1])
  87442. + eval HAVE_SIGNED_${GLTYPE}=1
  87443. + else
  87444. + eval HAVE_SIGNED_${GLTYPE}=0
  87445. + fi
  87446. + done
  87447. + m4_foreach_w([gltype], [$1],
  87448. + [AC_SUBST([HAVE_SIGNED_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))])
  87449. +])
  87450. +m4trace:m4/stdint.m4:383: -1- AC_DEFUN([gl_INTEGER_TYPE_SUFFIX], [
  87451. + dnl Use a shell loop, to avoid bloating configure, and
  87452. + dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into
  87453. + dnl config.h.in,
  87454. + dnl - extra AC_SUBST calls, so that the right substitutions are made.
  87455. + m4_foreach_w([gltype], [$1],
  87456. + [AH_TEMPLATE(m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX],
  87457. + [Define to l, ll, u, ul, ull, etc., as suitable for
  87458. + constants of type ']gltype['.])])
  87459. + for gltype in $1 ; do
  87460. + AC_CACHE_CHECK([for $gltype integer literal suffix],
  87461. + [gl_cv_type_${gltype}_suffix],
  87462. + [eval gl_cv_type_${gltype}_suffix=no
  87463. + eval result=\$gl_cv_type_${gltype}_signed
  87464. + if test "$result" = yes; then
  87465. + glsufu=
  87466. + else
  87467. + glsufu=u
  87468. + fi
  87469. + for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do
  87470. + case $glsuf in
  87471. + '') gltype1='int';;
  87472. + l) gltype1='long int';;
  87473. + ll) gltype1='long long int';;
  87474. + i64) gltype1='__int64';;
  87475. + u) gltype1='unsigned int';;
  87476. + ul) gltype1='unsigned long int';;
  87477. + ull) gltype1='unsigned long long int';;
  87478. + ui64)gltype1='unsigned __int64';;
  87479. + esac
  87480. + AC_COMPILE_IFELSE(
  87481. + [AC_LANG_PROGRAM([$2[
  87482. + extern $gltype foo;
  87483. + extern $gltype1 foo;]])],
  87484. + [eval gl_cv_type_${gltype}_suffix=\$glsuf])
  87485. + eval result=\$gl_cv_type_${gltype}_suffix
  87486. + test "$result" != no && break
  87487. + done])
  87488. + GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
  87489. + eval result=\$gl_cv_type_${gltype}_suffix
  87490. + test "$result" = no && result=
  87491. + eval ${GLTYPE}_SUFFIX=\$result
  87492. + AC_DEFINE_UNQUOTED([${GLTYPE}_SUFFIX], [$result])
  87493. + done
  87494. + m4_foreach_w([gltype], [$1],
  87495. + [AC_SUBST(m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX])])
  87496. +])
  87497. +m4trace:m4/stdint.m4:433: -1- AC_DEFUN([gl_STDINT_INCLUDES], [[
  87498. + /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  87499. + included before <wchar.h>. */
  87500. + #include <stddef.h>
  87501. + #include <signal.h>
  87502. + #if HAVE_WCHAR_H
  87503. + # include <stdio.h>
  87504. + # include <time.h>
  87505. + # include <wchar.h>
  87506. + #endif
  87507. +]])
  87508. +m4trace:m4/stdint.m4:449: -1- AC_DEFUN([gl_STDINT_TYPE_PROPERTIES], [
  87509. + AC_REQUIRE([gl_MULTIARCH])
  87510. + if test $APPLE_UNIVERSAL_BUILD = 0; then
  87511. + gl_STDINT_BITSIZEOF([ptrdiff_t size_t],
  87512. + [gl_STDINT_INCLUDES])
  87513. + fi
  87514. + gl_STDINT_BITSIZEOF([sig_atomic_t wchar_t wint_t],
  87515. + [gl_STDINT_INCLUDES])
  87516. + gl_CHECK_TYPES_SIGNED([sig_atomic_t wchar_t wint_t],
  87517. + [gl_STDINT_INCLUDES])
  87518. + gl_cv_type_ptrdiff_t_signed=yes
  87519. + gl_cv_type_size_t_signed=no
  87520. + if test $APPLE_UNIVERSAL_BUILD = 0; then
  87521. + gl_INTEGER_TYPE_SUFFIX([ptrdiff_t size_t],
  87522. + [gl_STDINT_INCLUDES])
  87523. + fi
  87524. + gl_INTEGER_TYPE_SUFFIX([sig_atomic_t wchar_t wint_t],
  87525. + [gl_STDINT_INCLUDES])
  87526. +])
  87527. +m4trace:m4/stdint_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_STDINT_H], [
  87528. + AC_CACHE_CHECK([for stdint.h], [gl_cv_header_stdint_h],
  87529. + [AC_COMPILE_IFELSE(
  87530. + [AC_LANG_PROGRAM(
  87531. + [[#include <sys/types.h>
  87532. + #include <stdint.h>]],
  87533. + [[uintmax_t i = (uintmax_t) -1; return !i;]])],
  87534. + [gl_cv_header_stdint_h=yes],
  87535. + [gl_cv_header_stdint_h=no])])
  87536. + if test $gl_cv_header_stdint_h = yes; then
  87537. + AC_DEFINE_UNQUOTED([HAVE_STDINT_H_WITH_UINTMAX], [1],
  87538. + [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
  87539. + and declares uintmax_t. ])
  87540. + fi
  87541. +])
  87542. +m4trace:m4/stdio-safer.m4:7: -1- AC_DEFUN([gl_FOPEN_SAFER], [
  87543. + AC_LIBOBJ([fopen-safer])
  87544. +])
  87545. +m4trace:m4/stdio-safer.m4:12: -1- AC_DEFUN([gl_FREOPEN_SAFER], [
  87546. + AC_LIBOBJ([freopen-safer])
  87547. +])
  87548. +m4trace:m4/stdio-safer.m4:17: -1- AC_DEFUN([gl_POPEN_SAFER], [
  87549. + AC_LIBOBJ([popen-safer])
  87550. +])
  87551. +m4trace:m4/stdio-safer.m4:22: -1- AC_DEFUN([gl_TMPFILE_SAFER], [
  87552. + AC_LIBOBJ([tmpfile-safer])
  87553. +])
  87554. +m4trace:m4/stdio_h.m4:7: -1- AC_DEFUN([gl_STDIO_H], [
  87555. + AC_REQUIRE([gl_STDIO_H_DEFAULTS])
  87556. + AC_REQUIRE([AC_C_INLINE])
  87557. + gl_NEXT_HEADERS([stdio.h])
  87558. + dnl No need to create extra modules for these functions. Everyone who uses
  87559. + dnl <stdio.h> likely needs them.
  87560. + GNULIB_FPRINTF=1
  87561. + GNULIB_PRINTF=1
  87562. + GNULIB_VFPRINTF=1
  87563. + GNULIB_VPRINTF=1
  87564. + GNULIB_FPUTC=1
  87565. + GNULIB_PUTC=1
  87566. + GNULIB_PUTCHAR=1
  87567. + GNULIB_FPUTS=1
  87568. + GNULIB_PUTS=1
  87569. + GNULIB_FWRITE=1
  87570. + dnl This ifdef is just an optimization, to avoid performing a configure
  87571. + dnl check whose result is not used. It does not make the test of
  87572. + dnl GNULIB_STDIO_H_SIGPIPE or GNULIB_SIGPIPE redundant.
  87573. + m4_ifdef([gl_SIGNAL_SIGPIPE], [
  87574. + gl_SIGNAL_SIGPIPE
  87575. + if test $gl_cv_header_signal_h_SIGPIPE != yes; then
  87576. + REPLACE_STDIO_WRITE_FUNCS=1
  87577. + AC_LIBOBJ([stdio-write])
  87578. + fi
  87579. + ])
  87580. +
  87581. + dnl Check for declarations of anything we want to poison if the
  87582. + dnl corresponding gnulib module is not in use, and which is not
  87583. + dnl guaranteed by C89.
  87584. + gl_WARN_ON_USE_PREPARE([[#include <stdio.h>
  87585. + ]], [dprintf fpurge fseeko ftello getdelim getline popen renameat
  87586. + snprintf tmpfile vdprintf vsnprintf])
  87587. +])
  87588. +m4trace:m4/stdio_h.m4:43: -1- AC_DEFUN([gl_STDIO_MODULE_INDICATOR], [
  87589. + dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
  87590. + AC_REQUIRE([gl_STDIO_H_DEFAULTS])
  87591. + gl_MODULE_INDICATOR_SET_VARIABLE([$1])
  87592. + dnl Define it also as a C macro, for the benefit of the unit tests.
  87593. + gl_MODULE_INDICATOR_FOR_TESTS([$1])
  87594. +])
  87595. +m4trace:m4/stdio_h.m4:52: -1- AC_DEFUN([gl_STDIO_H_DEFAULTS], [
  87596. + GNULIB_DPRINTF=0; AC_SUBST([GNULIB_DPRINTF])
  87597. + GNULIB_FCLOSE=0; AC_SUBST([GNULIB_FCLOSE])
  87598. + GNULIB_FFLUSH=0; AC_SUBST([GNULIB_FFLUSH])
  87599. + GNULIB_FOPEN=0; AC_SUBST([GNULIB_FOPEN])
  87600. + GNULIB_FPRINTF=0; AC_SUBST([GNULIB_FPRINTF])
  87601. + GNULIB_FPRINTF_POSIX=0; AC_SUBST([GNULIB_FPRINTF_POSIX])
  87602. + GNULIB_FPURGE=0; AC_SUBST([GNULIB_FPURGE])
  87603. + GNULIB_FPUTC=0; AC_SUBST([GNULIB_FPUTC])
  87604. + GNULIB_FPUTS=0; AC_SUBST([GNULIB_FPUTS])
  87605. + GNULIB_FREOPEN=0; AC_SUBST([GNULIB_FREOPEN])
  87606. + GNULIB_FSEEK=0; AC_SUBST([GNULIB_FSEEK])
  87607. + GNULIB_FSEEKO=0; AC_SUBST([GNULIB_FSEEKO])
  87608. + GNULIB_FTELL=0; AC_SUBST([GNULIB_FTELL])
  87609. + GNULIB_FTELLO=0; AC_SUBST([GNULIB_FTELLO])
  87610. + GNULIB_FWRITE=0; AC_SUBST([GNULIB_FWRITE])
  87611. + GNULIB_GETDELIM=0; AC_SUBST([GNULIB_GETDELIM])
  87612. + GNULIB_GETLINE=0; AC_SUBST([GNULIB_GETLINE])
  87613. + GNULIB_OBSTACK_PRINTF=0; AC_SUBST([GNULIB_OBSTACK_PRINTF])
  87614. + GNULIB_OBSTACK_PRINTF_POSIX=0; AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX])
  87615. + GNULIB_PERROR=0; AC_SUBST([GNULIB_PERROR])
  87616. + GNULIB_POPEN=0; AC_SUBST([GNULIB_POPEN])
  87617. + GNULIB_PRINTF=0; AC_SUBST([GNULIB_PRINTF])
  87618. + GNULIB_PRINTF_POSIX=0; AC_SUBST([GNULIB_PRINTF_POSIX])
  87619. + GNULIB_PUTC=0; AC_SUBST([GNULIB_PUTC])
  87620. + GNULIB_PUTCHAR=0; AC_SUBST([GNULIB_PUTCHAR])
  87621. + GNULIB_PUTS=0; AC_SUBST([GNULIB_PUTS])
  87622. + GNULIB_REMOVE=0; AC_SUBST([GNULIB_REMOVE])
  87623. + GNULIB_RENAME=0; AC_SUBST([GNULIB_RENAME])
  87624. + GNULIB_RENAMEAT=0; AC_SUBST([GNULIB_RENAMEAT])
  87625. + GNULIB_SNPRINTF=0; AC_SUBST([GNULIB_SNPRINTF])
  87626. + GNULIB_SPRINTF_POSIX=0; AC_SUBST([GNULIB_SPRINTF_POSIX])
  87627. + GNULIB_STDIO_H_SIGPIPE=0; AC_SUBST([GNULIB_STDIO_H_SIGPIPE])
  87628. + GNULIB_TMPFILE=0; AC_SUBST([GNULIB_TMPFILE])
  87629. + GNULIB_VASPRINTF=0; AC_SUBST([GNULIB_VASPRINTF])
  87630. + GNULIB_VDPRINTF=0; AC_SUBST([GNULIB_VDPRINTF])
  87631. + GNULIB_VFPRINTF=0; AC_SUBST([GNULIB_VFPRINTF])
  87632. + GNULIB_VFPRINTF_POSIX=0; AC_SUBST([GNULIB_VFPRINTF_POSIX])
  87633. + GNULIB_VPRINTF=0; AC_SUBST([GNULIB_VPRINTF])
  87634. + GNULIB_VPRINTF_POSIX=0; AC_SUBST([GNULIB_VPRINTF_POSIX])
  87635. + GNULIB_VSNPRINTF=0; AC_SUBST([GNULIB_VSNPRINTF])
  87636. + GNULIB_VSPRINTF_POSIX=0; AC_SUBST([GNULIB_VSPRINTF_POSIX])
  87637. + dnl Assume proper GNU behavior unless another module says otherwise.
  87638. + HAVE_DECL_FPURGE=1; AC_SUBST([HAVE_DECL_FPURGE])
  87639. + HAVE_DECL_FSEEKO=1; AC_SUBST([HAVE_DECL_FSEEKO])
  87640. + HAVE_DECL_FTELLO=1; AC_SUBST([HAVE_DECL_FTELLO])
  87641. + HAVE_DECL_GETDELIM=1; AC_SUBST([HAVE_DECL_GETDELIM])
  87642. + HAVE_DECL_GETLINE=1; AC_SUBST([HAVE_DECL_GETLINE])
  87643. + HAVE_DECL_OBSTACK_PRINTF=1; AC_SUBST([HAVE_DECL_OBSTACK_PRINTF])
  87644. + HAVE_DECL_SNPRINTF=1; AC_SUBST([HAVE_DECL_SNPRINTF])
  87645. + HAVE_DECL_VSNPRINTF=1; AC_SUBST([HAVE_DECL_VSNPRINTF])
  87646. + HAVE_DPRINTF=1; AC_SUBST([HAVE_DPRINTF])
  87647. + HAVE_FSEEKO=1; AC_SUBST([HAVE_FSEEKO])
  87648. + HAVE_FTELLO=1; AC_SUBST([HAVE_FTELLO])
  87649. + HAVE_RENAMEAT=1; AC_SUBST([HAVE_RENAMEAT])
  87650. + HAVE_VASPRINTF=1; AC_SUBST([HAVE_VASPRINTF])
  87651. + HAVE_VDPRINTF=1; AC_SUBST([HAVE_VDPRINTF])
  87652. + REPLACE_DPRINTF=0; AC_SUBST([REPLACE_DPRINTF])
  87653. + REPLACE_FCLOSE=0; AC_SUBST([REPLACE_FCLOSE])
  87654. + REPLACE_FFLUSH=0; AC_SUBST([REPLACE_FFLUSH])
  87655. + REPLACE_FOPEN=0; AC_SUBST([REPLACE_FOPEN])
  87656. + REPLACE_FPRINTF=0; AC_SUBST([REPLACE_FPRINTF])
  87657. + REPLACE_FPURGE=0; AC_SUBST([REPLACE_FPURGE])
  87658. + REPLACE_FREOPEN=0; AC_SUBST([REPLACE_FREOPEN])
  87659. + REPLACE_FSEEK=0; AC_SUBST([REPLACE_FSEEK])
  87660. + REPLACE_FSEEKO=0; AC_SUBST([REPLACE_FSEEKO])
  87661. + REPLACE_FTELL=0; AC_SUBST([REPLACE_FTELL])
  87662. + REPLACE_FTELLO=0; AC_SUBST([REPLACE_FTELLO])
  87663. + REPLACE_GETDELIM=0; AC_SUBST([REPLACE_GETDELIM])
  87664. + REPLACE_GETLINE=0; AC_SUBST([REPLACE_GETLINE])
  87665. + REPLACE_OBSTACK_PRINTF=0; AC_SUBST([REPLACE_OBSTACK_PRINTF])
  87666. + REPLACE_PERROR=0; AC_SUBST([REPLACE_PERROR])
  87667. + REPLACE_POPEN=0; AC_SUBST([REPLACE_POPEN])
  87668. + REPLACE_PRINTF=0; AC_SUBST([REPLACE_PRINTF])
  87669. + REPLACE_REMOVE=0; AC_SUBST([REPLACE_REMOVE])
  87670. + REPLACE_RENAME=0; AC_SUBST([REPLACE_RENAME])
  87671. + REPLACE_RENAMEAT=0; AC_SUBST([REPLACE_RENAMEAT])
  87672. + REPLACE_SNPRINTF=0; AC_SUBST([REPLACE_SNPRINTF])
  87673. + REPLACE_SPRINTF=0; AC_SUBST([REPLACE_SPRINTF])
  87674. + REPLACE_STDIO_WRITE_FUNCS=0; AC_SUBST([REPLACE_STDIO_WRITE_FUNCS])
  87675. + REPLACE_TMPFILE=0; AC_SUBST([REPLACE_TMPFILE])
  87676. + REPLACE_VASPRINTF=0; AC_SUBST([REPLACE_VASPRINTF])
  87677. + REPLACE_VDPRINTF=0; AC_SUBST([REPLACE_VDPRINTF])
  87678. + REPLACE_VFPRINTF=0; AC_SUBST([REPLACE_VFPRINTF])
  87679. + REPLACE_VPRINTF=0; AC_SUBST([REPLACE_VPRINTF])
  87680. + REPLACE_VSNPRINTF=0; AC_SUBST([REPLACE_VSNPRINTF])
  87681. + REPLACE_VSPRINTF=0; AC_SUBST([REPLACE_VSPRINTF])
  87682. +])
  87683. +m4trace:m4/stdlib-safer.m4:7: -1- AC_DEFUN([gl_STDLIB_SAFER], [
  87684. + AC_LIBOBJ([mkstemp-safer])
  87685. +])
  87686. +m4trace:m4/stdlib_h.m4:7: -1- AC_DEFUN([gl_STDLIB_H], [
  87687. + AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
  87688. + gl_NEXT_HEADERS([stdlib.h])
  87689. +
  87690. + dnl Check for declarations of anything we want to poison if the
  87691. + dnl corresponding gnulib module is not in use, and which is not
  87692. + dnl guaranteed by C89.
  87693. + gl_WARN_ON_USE_PREPARE([[#include <stdlib.h>
  87694. +#if HAVE_SYS_LOADAVG_H
  87695. +# include <sys/loadavg.h>
  87696. +#endif
  87697. +#if HAVE_RANDOM_H
  87698. +# include <random.h>
  87699. +#endif
  87700. + ]], [_Exit atoll canonicalize_file_name getloadavg getsubopt grantpt mkdtemp
  87701. + mkostemp mkostemps mkstemp mkstemps ptsname random_r initstat_r srandom_r
  87702. + setstate_r realpath rpmatch setenv strtod strtoll strtoull unlockpt
  87703. + unsetenv])
  87704. +])
  87705. +m4trace:m4/stdlib_h.m4:28: -1- AC_DEFUN([gl_STDLIB_MODULE_INDICATOR], [
  87706. + dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
  87707. + AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
  87708. + gl_MODULE_INDICATOR_SET_VARIABLE([$1])
  87709. + dnl Define it also as a C macro, for the benefit of the unit tests.
  87710. + gl_MODULE_INDICATOR_FOR_TESTS([$1])
  87711. +])
  87712. +m4trace:m4/stdlib_h.m4:37: -1- AC_DEFUN([gl_STDLIB_H_DEFAULTS], [
  87713. + GNULIB__EXIT=0; AC_SUBST([GNULIB__EXIT])
  87714. + GNULIB_ATOLL=0; AC_SUBST([GNULIB_ATOLL])
  87715. + GNULIB_CALLOC_POSIX=0; AC_SUBST([GNULIB_CALLOC_POSIX])
  87716. + GNULIB_CANONICALIZE_FILE_NAME=0; AC_SUBST([GNULIB_CANONICALIZE_FILE_NAME])
  87717. + GNULIB_GETLOADAVG=0; AC_SUBST([GNULIB_GETLOADAVG])
  87718. + GNULIB_GETSUBOPT=0; AC_SUBST([GNULIB_GETSUBOPT])
  87719. + GNULIB_GRANTPT=0; AC_SUBST([GNULIB_GRANTPT])
  87720. + GNULIB_MALLOC_POSIX=0; AC_SUBST([GNULIB_MALLOC_POSIX])
  87721. + GNULIB_MBTOWC=0; AC_SUBST([GNULIB_MBTOWC])
  87722. + GNULIB_MKDTEMP=0; AC_SUBST([GNULIB_MKDTEMP])
  87723. + GNULIB_MKOSTEMP=0; AC_SUBST([GNULIB_MKOSTEMP])
  87724. + GNULIB_MKOSTEMPS=0; AC_SUBST([GNULIB_MKOSTEMPS])
  87725. + GNULIB_MKSTEMP=0; AC_SUBST([GNULIB_MKSTEMP])
  87726. + GNULIB_MKSTEMPS=0; AC_SUBST([GNULIB_MKSTEMPS])
  87727. + GNULIB_PTSNAME=0; AC_SUBST([GNULIB_PTSNAME])
  87728. + GNULIB_PUTENV=0; AC_SUBST([GNULIB_PUTENV])
  87729. + GNULIB_RANDOM_R=0; AC_SUBST([GNULIB_RANDOM_R])
  87730. + GNULIB_REALLOC_POSIX=0; AC_SUBST([GNULIB_REALLOC_POSIX])
  87731. + GNULIB_REALPATH=0; AC_SUBST([GNULIB_REALPATH])
  87732. + GNULIB_RPMATCH=0; AC_SUBST([GNULIB_RPMATCH])
  87733. + GNULIB_SETENV=0; AC_SUBST([GNULIB_SETENV])
  87734. + GNULIB_STRTOD=0; AC_SUBST([GNULIB_STRTOD])
  87735. + GNULIB_STRTOLL=0; AC_SUBST([GNULIB_STRTOLL])
  87736. + GNULIB_STRTOULL=0; AC_SUBST([GNULIB_STRTOULL])
  87737. + GNULIB_SYSTEM_POSIX=0; AC_SUBST([GNULIB_SYSTEM_POSIX])
  87738. + GNULIB_UNLOCKPT=0; AC_SUBST([GNULIB_UNLOCKPT])
  87739. + GNULIB_UNSETENV=0; AC_SUBST([GNULIB_UNSETENV])
  87740. + GNULIB_WCTOMB=0; AC_SUBST([GNULIB_WCTOMB])
  87741. + dnl Assume proper GNU behavior unless another module says otherwise.
  87742. + HAVE__EXIT=1; AC_SUBST([HAVE__EXIT])
  87743. + HAVE_ATOLL=1; AC_SUBST([HAVE_ATOLL])
  87744. + HAVE_CANONICALIZE_FILE_NAME=1; AC_SUBST([HAVE_CANONICALIZE_FILE_NAME])
  87745. + HAVE_DECL_GETLOADAVG=1; AC_SUBST([HAVE_DECL_GETLOADAVG])
  87746. + HAVE_GETSUBOPT=1; AC_SUBST([HAVE_GETSUBOPT])
  87747. + HAVE_GRANTPT=1; AC_SUBST([HAVE_GRANTPT])
  87748. + HAVE_MKDTEMP=1; AC_SUBST([HAVE_MKDTEMP])
  87749. + HAVE_MKOSTEMP=1; AC_SUBST([HAVE_MKOSTEMP])
  87750. + HAVE_MKOSTEMPS=1; AC_SUBST([HAVE_MKOSTEMPS])
  87751. + HAVE_MKSTEMP=1; AC_SUBST([HAVE_MKSTEMP])
  87752. + HAVE_MKSTEMPS=1; AC_SUBST([HAVE_MKSTEMPS])
  87753. + HAVE_PTSNAME=1; AC_SUBST([HAVE_PTSNAME])
  87754. + HAVE_RANDOM_H=1; AC_SUBST([HAVE_RANDOM_H])
  87755. + HAVE_RANDOM_R=1; AC_SUBST([HAVE_RANDOM_R])
  87756. + HAVE_REALPATH=1; AC_SUBST([HAVE_REALPATH])
  87757. + HAVE_RPMATCH=1; AC_SUBST([HAVE_RPMATCH])
  87758. + HAVE_SETENV=1; AC_SUBST([HAVE_SETENV])
  87759. + HAVE_DECL_SETENV=1; AC_SUBST([HAVE_DECL_SETENV])
  87760. + HAVE_STRTOD=1; AC_SUBST([HAVE_STRTOD])
  87761. + HAVE_STRTOLL=1; AC_SUBST([HAVE_STRTOLL])
  87762. + HAVE_STRTOULL=1; AC_SUBST([HAVE_STRTOULL])
  87763. + HAVE_STRUCT_RANDOM_DATA=1; AC_SUBST([HAVE_STRUCT_RANDOM_DATA])
  87764. + HAVE_SYS_LOADAVG_H=0; AC_SUBST([HAVE_SYS_LOADAVG_H])
  87765. + HAVE_UNLOCKPT=1; AC_SUBST([HAVE_UNLOCKPT])
  87766. + HAVE_DECL_UNSETENV=1; AC_SUBST([HAVE_DECL_UNSETENV])
  87767. + REPLACE_CALLOC=0; AC_SUBST([REPLACE_CALLOC])
  87768. + REPLACE_CANONICALIZE_FILE_NAME=0; AC_SUBST([REPLACE_CANONICALIZE_FILE_NAME])
  87769. + REPLACE_MALLOC=0; AC_SUBST([REPLACE_MALLOC])
  87770. + REPLACE_MBTOWC=0; AC_SUBST([REPLACE_MBTOWC])
  87771. + REPLACE_MKSTEMP=0; AC_SUBST([REPLACE_MKSTEMP])
  87772. + REPLACE_PUTENV=0; AC_SUBST([REPLACE_PUTENV])
  87773. + REPLACE_REALLOC=0; AC_SUBST([REPLACE_REALLOC])
  87774. + REPLACE_REALPATH=0; AC_SUBST([REPLACE_REALPATH])
  87775. + REPLACE_SETENV=0; AC_SUBST([REPLACE_SETENV])
  87776. + REPLACE_STRTOD=0; AC_SUBST([REPLACE_STRTOD])
  87777. + REPLACE_UNSETENV=0; AC_SUBST([REPLACE_UNSETENV])
  87778. + REPLACE_WCTOMB=0; AC_SUBST([REPLACE_WCTOMB])
  87779. +])
  87780. +m4trace:m4/strchrnul.m4:7: -1- AC_DEFUN([gl_FUNC_STRCHRNUL], [
  87781. + dnl Persuade glibc <string.h> to declare strchrnul().
  87782. + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
  87783. +
  87784. + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
  87785. + AC_REPLACE_FUNCS([strchrnul])
  87786. + if test $ac_cv_func_strchrnul = no; then
  87787. + HAVE_STRCHRNUL=0
  87788. + gl_PREREQ_STRCHRNUL
  87789. + fi
  87790. +])
  87791. +m4trace:m4/strchrnul.m4:21: -1- AC_DEFUN([gl_PREREQ_STRCHRNUL], [:])
  87792. +m4trace:m4/strdup.m4:9: -1- AC_DEFUN([gl_FUNC_STRDUP], [
  87793. + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
  87794. + AC_CHECK_FUNCS_ONCE([strdup])
  87795. + if test $ac_cv_func_strdup != yes; then
  87796. + AC_LIBOBJ([strdup])
  87797. + gl_PREREQ_STRDUP
  87798. + fi
  87799. + AC_CHECK_DECLS_ONCE([strdup])
  87800. + if test $ac_cv_have_decl_strdup = no; then
  87801. + HAVE_DECL_STRDUP=0
  87802. + fi
  87803. +])
  87804. +m4trace:m4/strdup.m4:23: -1- AC_DEFUN([gl_FUNC_STRDUP_POSIX], [
  87805. + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
  87806. + AC_REQUIRE([gl_CHECK_MALLOC_POSIX])
  87807. + AC_CHECK_FUNCS_ONCE([strdup])
  87808. + if test $ac_cv_func_strdup = yes; then
  87809. + if test $gl_cv_func_malloc_posix != yes; then
  87810. + REPLACE_STRDUP=1
  87811. + AC_LIBOBJ([strdup])
  87812. + gl_PREREQ_STRDUP
  87813. + fi
  87814. + else
  87815. + AC_LIBOBJ([strdup])
  87816. + gl_PREREQ_STRDUP
  87817. + fi
  87818. + AC_CHECK_DECLS_ONCE([strdup])
  87819. + if test $ac_cv_have_decl_strdup = no; then
  87820. + HAVE_DECL_STRDUP=0
  87821. + fi
  87822. +])
  87823. +m4trace:m4/strdup.m4:45: -1- AC_DEFUN([gl_PREREQ_STRDUP], [:])
  87824. +m4trace:m4/strerror.m4:7: -1- AC_DEFUN([gl_FUNC_STRERROR], [
  87825. + AC_REQUIRE([gl_FUNC_STRERROR_SEPARATE])
  87826. + if test $REPLACE_STRERROR = 1; then
  87827. + AC_LIBOBJ([strerror])
  87828. + AC_DEFINE_UNQUOTED([REPLACE_STRERROR], [$REPLACE_STRERROR],
  87829. + [Define this to 1 if strerror is broken.])
  87830. + fi
  87831. +])
  87832. +m4trace:m4/strerror.m4:18: -1- AC_DEFUN([gl_FUNC_STRERROR_SEPARATE], [
  87833. + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
  87834. + AC_REQUIRE([gl_HEADER_ERRNO_H])
  87835. + if test -z "$ERRNO_H"; then
  87836. + AC_CACHE_CHECK([for working strerror function],
  87837. + [gl_cv_func_working_strerror],
  87838. + [AC_RUN_IFELSE(
  87839. + [AC_LANG_PROGRAM(
  87840. + [[#include <string.h>
  87841. + ]],
  87842. + [[return !*strerror (-2);]])],
  87843. + [gl_cv_func_working_strerror=yes],
  87844. + [gl_cv_func_working_strerror=no],
  87845. + [dnl Assume crossbuild works if it compiles.
  87846. + AC_COMPILE_IFELSE(
  87847. + [AC_LANG_PROGRAM(
  87848. + [[#include <string.h>
  87849. + ]],
  87850. + [[return !*strerror (-2);]])],
  87851. + [gl_cv_func_working_strerror=yes],
  87852. + [gl_cv_func_working_strerror=no])
  87853. + ])
  87854. + ])
  87855. + if test $gl_cv_func_working_strerror = no; then
  87856. + dnl The system's strerror() fails to return a string for out-of-range
  87857. + dnl integers. Replace it.
  87858. + REPLACE_STRERROR=1
  87859. + fi
  87860. + else
  87861. + dnl The system's strerror() cannot know about the new errno values we add
  87862. + dnl to <errno.h>. Replace it.
  87863. + REPLACE_STRERROR=1
  87864. + fi
  87865. + if test $REPLACE_STRERROR = 1; then
  87866. + gl_PREREQ_STRERROR
  87867. + fi
  87868. +])
  87869. +m4trace:m4/strerror.m4:58: -1- AC_DEFUN([gl_PREREQ_STRERROR], [
  87870. + AC_CHECK_DECLS([strerror])
  87871. + AC_CHECK_HEADERS_ONCE([sys/socket.h])
  87872. + if test $ac_cv_header_sys_socket_h != yes; then
  87873. + dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make
  87874. + dnl the check for those headers unconditional; yet cygwin reports
  87875. + dnl that the headers are present but cannot be compiled (since on
  87876. + dnl cygwin, all socket information should come from sys/socket.h).
  87877. + AC_CHECK_HEADERS([winsock2.h])
  87878. + fi
  87879. +])
  87880. +m4trace:m4/string_h.m4:12: -1- AC_DEFUN([gl_HEADER_STRING_H], [
  87881. + dnl Use AC_REQUIRE here, so that the default behavior below is expanded
  87882. + dnl once only, before all statements that occur in other macros.
  87883. + AC_REQUIRE([gl_HEADER_STRING_H_BODY])
  87884. +])
  87885. +m4trace:m4/string_h.m4:19: -1- AC_DEFUN([gl_HEADER_STRING_H_BODY], [
  87886. + AC_REQUIRE([AC_C_RESTRICT])
  87887. + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
  87888. + gl_NEXT_HEADERS([string.h])
  87889. +
  87890. + dnl Check for declarations of anything we want to poison if the
  87891. + dnl corresponding gnulib module is not in use, and which is not
  87892. + dnl guaranteed by C89.
  87893. + gl_WARN_ON_USE_PREPARE([[#include <string.h>
  87894. + ]],
  87895. + [memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup
  87896. + strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r
  87897. + strsignal strverscmp])
  87898. +])
  87899. +m4trace:m4/string_h.m4:35: -1- AC_DEFUN([gl_STRING_MODULE_INDICATOR], [
  87900. + dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
  87901. + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
  87902. + gl_MODULE_INDICATOR_SET_VARIABLE([$1])
  87903. + dnl Define it also as a C macro, for the benefit of the unit tests.
  87904. + gl_MODULE_INDICATOR_FOR_TESTS([$1])
  87905. +])
  87906. +m4trace:m4/string_h.m4:44: -1- AC_DEFUN([gl_HEADER_STRING_H_DEFAULTS], [
  87907. + GNULIB_MEMCHR=0; AC_SUBST([GNULIB_MEMCHR])
  87908. + GNULIB_MEMMEM=0; AC_SUBST([GNULIB_MEMMEM])
  87909. + GNULIB_MEMPCPY=0; AC_SUBST([GNULIB_MEMPCPY])
  87910. + GNULIB_MEMRCHR=0; AC_SUBST([GNULIB_MEMRCHR])
  87911. + GNULIB_RAWMEMCHR=0; AC_SUBST([GNULIB_RAWMEMCHR])
  87912. + GNULIB_STPCPY=0; AC_SUBST([GNULIB_STPCPY])
  87913. + GNULIB_STPNCPY=0; AC_SUBST([GNULIB_STPNCPY])
  87914. + GNULIB_STRCHRNUL=0; AC_SUBST([GNULIB_STRCHRNUL])
  87915. + GNULIB_STRDUP=0; AC_SUBST([GNULIB_STRDUP])
  87916. + GNULIB_STRNCAT=0; AC_SUBST([GNULIB_STRNCAT])
  87917. + GNULIB_STRNDUP=0; AC_SUBST([GNULIB_STRNDUP])
  87918. + GNULIB_STRNLEN=0; AC_SUBST([GNULIB_STRNLEN])
  87919. + GNULIB_STRPBRK=0; AC_SUBST([GNULIB_STRPBRK])
  87920. + GNULIB_STRSEP=0; AC_SUBST([GNULIB_STRSEP])
  87921. + GNULIB_STRSTR=0; AC_SUBST([GNULIB_STRSTR])
  87922. + GNULIB_STRCASESTR=0; AC_SUBST([GNULIB_STRCASESTR])
  87923. + GNULIB_STRTOK_R=0; AC_SUBST([GNULIB_STRTOK_R])
  87924. + GNULIB_MBSLEN=0; AC_SUBST([GNULIB_MBSLEN])
  87925. + GNULIB_MBSNLEN=0; AC_SUBST([GNULIB_MBSNLEN])
  87926. + GNULIB_MBSCHR=0; AC_SUBST([GNULIB_MBSCHR])
  87927. + GNULIB_MBSRCHR=0; AC_SUBST([GNULIB_MBSRCHR])
  87928. + GNULIB_MBSSTR=0; AC_SUBST([GNULIB_MBSSTR])
  87929. + GNULIB_MBSCASECMP=0; AC_SUBST([GNULIB_MBSCASECMP])
  87930. + GNULIB_MBSNCASECMP=0; AC_SUBST([GNULIB_MBSNCASECMP])
  87931. + GNULIB_MBSPCASECMP=0; AC_SUBST([GNULIB_MBSPCASECMP])
  87932. + GNULIB_MBSCASESTR=0; AC_SUBST([GNULIB_MBSCASESTR])
  87933. + GNULIB_MBSCSPN=0; AC_SUBST([GNULIB_MBSCSPN])
  87934. + GNULIB_MBSPBRK=0; AC_SUBST([GNULIB_MBSPBRK])
  87935. + GNULIB_MBSSPN=0; AC_SUBST([GNULIB_MBSSPN])
  87936. + GNULIB_MBSSEP=0; AC_SUBST([GNULIB_MBSSEP])
  87937. + GNULIB_MBSTOK_R=0; AC_SUBST([GNULIB_MBSTOK_R])
  87938. + GNULIB_STRERROR=0; AC_SUBST([GNULIB_STRERROR])
  87939. + GNULIB_STRERROR_R=0; AC_SUBST([GNULIB_STRERROR_R])
  87940. + GNULIB_STRSIGNAL=0; AC_SUBST([GNULIB_STRSIGNAL])
  87941. + GNULIB_STRVERSCMP=0; AC_SUBST([GNULIB_STRVERSCMP])
  87942. + HAVE_MBSLEN=0; AC_SUBST([HAVE_MBSLEN])
  87943. + dnl Assume proper GNU behavior unless another module says otherwise.
  87944. + HAVE_MEMCHR=1; AC_SUBST([HAVE_MEMCHR])
  87945. + HAVE_DECL_MEMMEM=1; AC_SUBST([HAVE_DECL_MEMMEM])
  87946. + HAVE_MEMPCPY=1; AC_SUBST([HAVE_MEMPCPY])
  87947. + HAVE_DECL_MEMRCHR=1; AC_SUBST([HAVE_DECL_MEMRCHR])
  87948. + HAVE_RAWMEMCHR=1; AC_SUBST([HAVE_RAWMEMCHR])
  87949. + HAVE_STPCPY=1; AC_SUBST([HAVE_STPCPY])
  87950. + HAVE_STPNCPY=1; AC_SUBST([HAVE_STPNCPY])
  87951. + HAVE_STRCHRNUL=1; AC_SUBST([HAVE_STRCHRNUL])
  87952. + HAVE_DECL_STRDUP=1; AC_SUBST([HAVE_DECL_STRDUP])
  87953. + HAVE_DECL_STRNDUP=1; AC_SUBST([HAVE_DECL_STRNDUP])
  87954. + HAVE_DECL_STRNLEN=1; AC_SUBST([HAVE_DECL_STRNLEN])
  87955. + HAVE_STRPBRK=1; AC_SUBST([HAVE_STRPBRK])
  87956. + HAVE_STRSEP=1; AC_SUBST([HAVE_STRSEP])
  87957. + HAVE_STRCASESTR=1; AC_SUBST([HAVE_STRCASESTR])
  87958. + HAVE_DECL_STRTOK_R=1; AC_SUBST([HAVE_DECL_STRTOK_R])
  87959. + HAVE_DECL_STRERROR_R=1; AC_SUBST([HAVE_DECL_STRERROR_R])
  87960. + HAVE_DECL_STRSIGNAL=1; AC_SUBST([HAVE_DECL_STRSIGNAL])
  87961. + HAVE_STRVERSCMP=1; AC_SUBST([HAVE_STRVERSCMP])
  87962. + REPLACE_MEMCHR=0; AC_SUBST([REPLACE_MEMCHR])
  87963. + REPLACE_MEMMEM=0; AC_SUBST([REPLACE_MEMMEM])
  87964. + REPLACE_STPNCPY=0; AC_SUBST([REPLACE_STPNCPY])
  87965. + REPLACE_STRDUP=0; AC_SUBST([REPLACE_STRDUP])
  87966. + REPLACE_STRSTR=0; AC_SUBST([REPLACE_STRSTR])
  87967. + REPLACE_STRCASESTR=0; AC_SUBST([REPLACE_STRCASESTR])
  87968. + REPLACE_STRERROR=0; AC_SUBST([REPLACE_STRERROR])
  87969. + REPLACE_STRERROR_R=0; AC_SUBST([REPLACE_STRERROR_R])
  87970. + REPLACE_STRNCAT=0; AC_SUBST([REPLACE_STRNCAT])
  87971. + REPLACE_STRNDUP=0; AC_SUBST([REPLACE_STRNDUP])
  87972. + REPLACE_STRNLEN=0; AC_SUBST([REPLACE_STRNLEN])
  87973. + REPLACE_STRSIGNAL=0; AC_SUBST([REPLACE_STRSIGNAL])
  87974. + REPLACE_STRTOK_R=0; AC_SUBST([REPLACE_STRTOK_R])
  87975. + UNDEFINE_STRTOK_R=0; AC_SUBST([UNDEFINE_STRTOK_R])
  87976. +])
  87977. +m4trace:m4/strndup.m4:7: -1- AC_DEFUN([gl_FUNC_STRNDUP], [
  87978. + dnl Persuade glibc <string.h> to declare strndup().
  87979. + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
  87980. +
  87981. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  87982. + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
  87983. + AC_CHECK_DECLS_ONCE([strndup])
  87984. + AC_CHECK_FUNCS_ONCE([strndup])
  87985. + if test $ac_cv_have_decl_strndup = no; then
  87986. + HAVE_DECL_STRNDUP=0
  87987. + fi
  87988. +
  87989. + if test $ac_cv_func_strndup = yes; then
  87990. + # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'.
  87991. + AC_CACHE_CHECK([for working strndup], [gl_cv_func_strndup_works],
  87992. + [AC_RUN_IFELSE([
  87993. + AC_LANG_PROGRAM([[#include <string.h>
  87994. + #include <stdlib.h>]], [[
  87995. +#ifndef HAVE_DECL_STRNDUP
  87996. + extern char *strndup (const char *, size_t);
  87997. +#endif
  87998. + char *s;
  87999. + s = strndup ("some longer string", 15);
  88000. + free (s);
  88001. + s = strndup ("shorter string", 13);
  88002. + return s[13] != '\0';]])],
  88003. + [gl_cv_func_strndup_works=yes],
  88004. + [gl_cv_func_strndup_works=no],
  88005. + [
  88006. +changequote(,)dnl
  88007. + case $host_os in
  88008. + aix | aix[3-6]*) gl_cv_func_strndup_works="guessing no";;
  88009. + *) gl_cv_func_strndup_works="guessing yes";;
  88010. + esac
  88011. +changequote([,])dnl
  88012. + ])])
  88013. + case $gl_cv_func_strndup_works in
  88014. + *no)
  88015. + REPLACE_STRNDUP=1
  88016. + AC_LIBOBJ([strndup])
  88017. + ;;
  88018. + esac
  88019. + else
  88020. + AC_LIBOBJ([strndup])
  88021. + fi
  88022. +])
  88023. +m4trace:m4/strnlen.m4:8: -1- AC_DEFUN([gl_FUNC_STRNLEN], [
  88024. + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
  88025. +
  88026. + dnl Persuade glibc <string.h> to declare strnlen().
  88027. + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
  88028. +
  88029. + AC_CHECK_DECLS_ONCE([strnlen])
  88030. + if test $ac_cv_have_decl_strnlen = no; then
  88031. + HAVE_DECL_STRNLEN=0
  88032. + else
  88033. + AC_FUNC_STRNLEN
  88034. + dnl Note: AC_FUNC_STRNLEN does AC_LIBOBJ([strnlen]).
  88035. + if test $ac_cv_func_strnlen_working = no; then
  88036. + REPLACE_STRNLEN=1
  88037. + fi
  88038. + fi
  88039. + if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
  88040. + AC_LIBOBJ([strnlen])
  88041. + gl_PREREQ_STRNLEN
  88042. + fi
  88043. +])
  88044. +m4trace:m4/strnlen.m4:32: -1- AC_DEFUN([gl_PREREQ_STRNLEN], [:])
  88045. +m4trace:m4/strsignal.m4:7: -1- AC_DEFUN([gl_FUNC_STRSIGNAL], [
  88046. + dnl Persuade glibc <string.h> to declare strsignal().
  88047. + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
  88048. +
  88049. + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
  88050. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  88051. +
  88052. + AC_CHECK_DECLS_ONCE([strsignal])
  88053. + if test $ac_cv_have_decl_strsignal = no; then
  88054. + HAVE_DECL_STRSIGNAL=0
  88055. + fi
  88056. +
  88057. + AC_CHECK_FUNCS([strsignal])
  88058. + if test $ac_cv_func_strsignal = yes; then
  88059. + dnl Check if strsignal behaves reasonably for out-of-range signal numbers.
  88060. + dnl On Solaris it returns NULL; on AIX 5.1 it returns (char *) -1.
  88061. + AC_CACHE_CHECK([whether strsignal always returns a string],
  88062. + [gl_cv_func_working_strsignal],
  88063. + [AC_RUN_IFELSE(
  88064. + [AC_LANG_PROGRAM(
  88065. + [[#include <string.h>
  88066. +#include <unistd.h> /* NetBSD 5.0 declares it in wrong header. */
  88067. + ]],
  88068. + [[int result = 0;
  88069. + char *s = strsignal (-1);
  88070. + if (s == (char *) 0)
  88071. + result |= 1;
  88072. + if (s == (char *) -1)
  88073. + result |= 2;
  88074. + return result;
  88075. + ]])],
  88076. + [gl_cv_func_working_strsignal=yes],
  88077. + [gl_cv_func_working_strsignal=no],
  88078. + [case "$host_os" in
  88079. + solaris* | aix*) gl_cv_func_working_strsignal=no;;
  88080. + *) gl_cv_func_working_strsignal="guessing yes";;
  88081. + esac])])
  88082. + else
  88083. + gl_cv_func_working_strsignal=no
  88084. + fi
  88085. +
  88086. + if test "$gl_cv_func_working_strsignal" = no; then
  88087. + if test $ac_cv_func_strsignal = yes; then
  88088. + REPLACE_STRSIGNAL=1
  88089. + fi
  88090. + AC_LIBOBJ([strsignal])
  88091. + gl_PREREQ_STRSIGNAL
  88092. + fi
  88093. +])
  88094. +m4trace:m4/strsignal.m4:59: -1- AC_DEFUN([gl_PREREQ_STRSIGNAL], [
  88095. + AC_REQUIRE([AC_DECL_SYS_SIGLIST])
  88096. + AC_CHECK_DECLS([_sys_siglist], [], [], [#include <signal.h>])
  88097. +])
  88098. +m4trace:m4/strstr.m4:8: -1- AC_DEFUN([gl_FUNC_STRSTR_SIMPLE], [
  88099. + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
  88100. + AC_REQUIRE([gl_FUNC_MEMCHR])
  88101. + if test "$gl_cv_func_memchr_works" != yes; then
  88102. + REPLACE_STRSTR=1
  88103. + AC_LIBOBJ([strstr])
  88104. + else
  88105. + dnl Detect http://sourceware.org/bugzilla/show_bug.cgi?id=12092.
  88106. + AC_CACHE_CHECK([whether strstr works],
  88107. + [gl_cv_func_strstr_works_always],
  88108. + [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
  88109. +#include <string.h> /* for strstr */
  88110. +#define P "_EF_BF_BD"
  88111. +#define HAYSTACK "F_BD_CE_BD" P P P P "_C3_88_20" P P P "_C3_A7_20" P
  88112. +#define NEEDLE P P P P P
  88113. +]], [[return !!strstr (HAYSTACK, NEEDLE);
  88114. + ]])],
  88115. + [gl_cv_func_strstr_works_always=yes],
  88116. + [gl_cv_func_strstr_works_always=no],
  88117. + [dnl glibc 2.12 and cygwin 1.7.7 have a known bug. uClibc is not
  88118. + dnl affected, since it uses different source code for strstr than
  88119. + dnl glibc.
  88120. + dnl Assume that it works on all other platforms, even if it is not
  88121. + dnl linear.
  88122. + AC_EGREP_CPP([Lucky user],
  88123. + [
  88124. +#ifdef __GNU_LIBRARY__
  88125. + #include <features.h>
  88126. + #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \
  88127. + || defined __UCLIBC__
  88128. + Lucky user
  88129. + #endif
  88130. +#elif defined __CYGWIN__
  88131. + #include <cygwin/version.h>
  88132. + #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
  88133. + Lucky user
  88134. + #endif
  88135. +#else
  88136. + Lucky user
  88137. +#endif
  88138. + ],
  88139. + [gl_cv_func_strstr_works_always=yes],
  88140. + [gl_cv_func_strstr_works_always="guessing no"])
  88141. + ])
  88142. + ])
  88143. + if test "$gl_cv_func_strstr_works_always" != yes; then
  88144. + REPLACE_STRSTR=1
  88145. + AC_LIBOBJ([strstr])
  88146. + fi
  88147. + fi
  88148. +])
  88149. +m4trace:m4/strstr.m4:62: -1- AC_DEFUN([gl_FUNC_STRSTR], [
  88150. + AC_REQUIRE([gl_FUNC_STRSTR_SIMPLE])
  88151. + if test $REPLACE_STRSTR = 0; then
  88152. + AC_CACHE_CHECK([whether strstr works in linear time],
  88153. + [gl_cv_func_strstr_linear],
  88154. + [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
  88155. +#include <signal.h> /* for signal */
  88156. +#include <string.h> /* for strstr */
  88157. +#include <stdlib.h> /* for malloc */
  88158. +#include <unistd.h> /* for alarm */
  88159. +static void quit (int sig) { exit (sig + 128); }
  88160. +]], [[
  88161. + int result = 0;
  88162. + size_t m = 1000000;
  88163. + char *haystack = (char *) malloc (2 * m + 2);
  88164. + char *needle = (char *) malloc (m + 2);
  88165. + /* Failure to compile this test due to missing alarm is okay,
  88166. + since all such platforms (mingw) also have quadratic strstr. */
  88167. + signal (SIGALRM, quit);
  88168. + alarm (5);
  88169. + /* Check for quadratic performance. */
  88170. + if (haystack && needle)
  88171. + {
  88172. + memset (haystack, 'A', 2 * m);
  88173. + haystack[2 * m] = 'B';
  88174. + haystack[2 * m + 1] = 0;
  88175. + memset (needle, 'A', m);
  88176. + needle[m] = 'B';
  88177. + needle[m + 1] = 0;
  88178. + if (!strstr (haystack, needle))
  88179. + result |= 1;
  88180. + }
  88181. + return result;
  88182. + ]])],
  88183. + [gl_cv_func_strstr_linear=yes], [gl_cv_func_strstr_linear=no],
  88184. + [dnl Only glibc > 2.12 and cygwin > 1.7.7 are known to have a
  88185. + dnl bug-free strstr that works in linear time.
  88186. + AC_EGREP_CPP([Lucky user],
  88187. + [
  88188. +#include <features.h>
  88189. +#ifdef __GNU_LIBRARY__
  88190. + #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ > 12) || (__GLIBC__ > 2)) \
  88191. + && !defined __UCLIBC__
  88192. + Lucky user
  88193. + #endif
  88194. +#endif
  88195. +#ifdef __CYGWIN__
  88196. + #include <cygwin/version.h>
  88197. + #if CYGWIN_VERSION_DLL_COMBINED > CYGWIN_VERSION_DLL_MAKE_COMBINED (1007, 7)
  88198. + Lucky user
  88199. + #endif
  88200. +#endif
  88201. + ],
  88202. + [gl_cv_func_strstr_linear=yes],
  88203. + [gl_cv_func_strstr_linear="guessing no"])
  88204. + ])
  88205. + ])
  88206. + if test "$gl_cv_func_strstr_linear" != yes; then
  88207. + REPLACE_STRSTR=1
  88208. + fi
  88209. + fi
  88210. + if test $REPLACE_STRSTR = 1; then
  88211. + AC_LIBOBJ([strstr])
  88212. + fi
  88213. +])
  88214. +m4trace:m4/strtod.m4:7: -1- AC_DEFUN([gl_FUNC_STRTOD], [
  88215. + AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
  88216. + dnl Test whether strtod is declared.
  88217. + dnl Don't call AC_FUNC_STRTOD, because it does not have the right guess
  88218. + dnl when cross-compiling.
  88219. + dnl Don't call AC_CHECK_FUNCS([strtod]) because it would collide with the
  88220. + dnl ac_cv_func_strtod variable set by the AC_FUNC_STRTOD macro.
  88221. + AC_CHECK_DECLS_ONCE([strtod])
  88222. + if test $ac_cv_have_decl_strtod != yes; then
  88223. + HAVE_STRTOD=0
  88224. + else
  88225. + AC_CACHE_CHECK([whether strtod obeys C99], [gl_cv_func_strtod_works],
  88226. + [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
  88227. +#include <stdlib.h>
  88228. +#include <math.h>
  88229. +#include <errno.h>
  88230. +/* Compare two numbers with ==.
  88231. + This is a separate function because IRIX 6.5 "cc -O" miscompiles an
  88232. + 'x == x' test. */
  88233. +static int
  88234. +numeric_equal (double x, double y)
  88235. +{
  88236. + return x == y;
  88237. +}
  88238. +]], [[
  88239. + int result = 0;
  88240. + {
  88241. + /* In some old versions of Linux (2000 or before), strtod mis-parses
  88242. + strings with leading '+'. */
  88243. + const char *string = " +69";
  88244. + char *term;
  88245. + double value = strtod (string, &term);
  88246. + if (value != 69 || term != (string + 4))
  88247. + result |= 1;
  88248. + }
  88249. + {
  88250. + /* Under Solaris 2.4, strtod returns the wrong value for the
  88251. + terminating character under some conditions. */
  88252. + const char *string = "NaN";
  88253. + char *term;
  88254. + strtod (string, &term);
  88255. + if (term != string && *(term - 1) == 0)
  88256. + result |= 2;
  88257. + }
  88258. + {
  88259. + /* Older glibc and Cygwin mis-parse "-0x". */
  88260. + const char *string = "-0x";
  88261. + char *term;
  88262. + double value = strtod (string, &term);
  88263. + double zero = 0.0;
  88264. + if (1.0 / value != -1.0 / zero || term != (string + 2))
  88265. + result |= 4;
  88266. + }
  88267. + {
  88268. + /* Many platforms do not parse hex floats. */
  88269. + const char *string = "0XaP+1";
  88270. + char *term;
  88271. + double value = strtod (string, &term);
  88272. + if (value != 20.0 || term != (string + 6))
  88273. + result |= 8;
  88274. + }
  88275. + {
  88276. + /* Many platforms do not parse infinities. HP-UX 11.31 parses inf,
  88277. + but mistakenly sets errno. */
  88278. + const char *string = "inf";
  88279. + char *term;
  88280. + double value;
  88281. + errno = 0;
  88282. + value = strtod (string, &term);
  88283. + if (value != HUGE_VAL || term != (string + 3) || errno)
  88284. + result |= 16;
  88285. + }
  88286. + {
  88287. + /* glibc 2.7 and cygwin 1.5.24 misparse "nan()". */
  88288. + const char *string = "nan()";
  88289. + char *term;
  88290. + double value = strtod (string, &term);
  88291. + if (numeric_equal (value, value) || term != (string + 5))
  88292. + result |= 32;
  88293. + }
  88294. + {
  88295. + /* darwin 10.6.1 misparses "nan(". */
  88296. + const char *string = "nan(";
  88297. + char *term;
  88298. + double value = strtod (string, &term);
  88299. + if (numeric_equal (value, value) || term != (string + 3))
  88300. + result |= 64;
  88301. + }
  88302. + return result;
  88303. +]])],
  88304. + [gl_cv_func_strtod_works=yes],
  88305. + [gl_cv_func_strtod_works=no],
  88306. + [dnl The last known bugs in glibc strtod(), as of this writing,
  88307. + dnl were fixed in version 2.8
  88308. + AC_EGREP_CPP([Lucky user],
  88309. + [
  88310. +#include <features.h>
  88311. +#ifdef __GNU_LIBRARY__
  88312. + #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 8) || (__GLIBC__ > 2)) \
  88313. + && !defined __UCLIBC__
  88314. + Lucky user
  88315. + #endif
  88316. +#endif
  88317. + ],
  88318. + [gl_cv_func_strtod_works=yes],
  88319. + [gl_cv_func_strtod_works="guessing no"])])])
  88320. + if test "$gl_cv_func_strtod_works" != yes; then
  88321. + REPLACE_STRTOD=1
  88322. + fi
  88323. + fi
  88324. + if test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1; then
  88325. + AC_LIBOBJ([strtod])
  88326. + gl_PREREQ_STRTOD
  88327. + fi
  88328. +])
  88329. +m4trace:m4/strtod.m4:125: -1- AC_DEFUN([gl_PREREQ_STRTOD], [
  88330. + AC_REQUIRE([gl_CHECK_LDEXP_NO_LIBM])
  88331. + if test $gl_cv_func_ldexp_no_libm = yes; then
  88332. + AC_DEFINE([HAVE_LDEXP_IN_LIBC], [1],
  88333. + [Define if the ldexp function is available in libc.])
  88334. + fi
  88335. +])
  88336. +m4trace:m4/strtol.m4:7: -1- AC_DEFUN([gl_FUNC_STRTOL], [
  88337. + AC_REPLACE_FUNCS([strtol])
  88338. +])
  88339. +m4trace:m4/symlink.m4:11: -1- AC_DEFUN([gl_FUNC_SYMLINK], [
  88340. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
  88341. + AC_CHECK_FUNCS_ONCE([symlink])
  88342. + dnl The best we can do on mingw is provide a dummy that always fails, so
  88343. + dnl that compilation can proceed with fewer ifdefs. On FreeBSD 7.2, AIX 7.1,
  88344. + dnl and Solaris 9, we want to fix a bug with trailing slash handling.
  88345. + if test $ac_cv_func_symlink = no; then
  88346. + HAVE_SYMLINK=0
  88347. + AC_LIBOBJ([symlink])
  88348. + else
  88349. + AC_CACHE_CHECK([whether symlink handles trailing slash correctly],
  88350. + [gl_cv_func_symlink_works],
  88351. + [AC_RUN_IFELSE(
  88352. + [AC_LANG_PROGRAM(
  88353. + [[#include <unistd.h>
  88354. + ]],
  88355. + [[int result = 0;
  88356. + if (!symlink ("a", "conftest.link/"))
  88357. + result |= 1;
  88358. + if (symlink ("conftest.f", "conftest.lnk2"))
  88359. + result |= 2;
  88360. + else if (!symlink ("a", "conftest.lnk2/"))
  88361. + result |= 4;
  88362. + return result;
  88363. + ]])],
  88364. + [gl_cv_func_symlink_works=yes], [gl_cv_func_symlink_works=no],
  88365. + [gl_cv_func_symlink_works="guessing no"])
  88366. + rm -f conftest.f conftest.link conftest.lnk2])
  88367. + if test "$gl_cv_func_symlink_works" != yes; then
  88368. + REPLACE_SYMLINK=1
  88369. + AC_LIBOBJ([symlink])
  88370. + fi
  88371. + fi
  88372. +])
  88373. +m4trace:m4/sys_stat_h.m4:10: -1- AC_DEFUN([gl_HEADER_SYS_STAT_H], [
  88374. + AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
  88375. +
  88376. + dnl For the mkdir substitute.
  88377. + AC_REQUIRE([AC_C_INLINE])
  88378. +
  88379. + dnl Check for broken stat macros.
  88380. + AC_REQUIRE([AC_HEADER_STAT])
  88381. +
  88382. + gl_CHECK_NEXT_HEADERS([sys/stat.h])
  88383. +
  88384. + dnl Define types that are supposed to be defined in <sys/types.h> or
  88385. + dnl <sys/stat.h>.
  88386. + AC_CHECK_TYPE([nlink_t], [],
  88387. + [AC_DEFINE([nlink_t], [int],
  88388. + [Define to the type of st_nlink in struct stat, or a supertype.])],
  88389. + [#include <sys/types.h>
  88390. + #include <sys/stat.h>])
  88391. +
  88392. + dnl Check for declarations of anything we want to poison if the
  88393. + dnl corresponding gnulib module is not in use.
  88394. + gl_WARN_ON_USE_PREPARE([[#include <sys/stat.h>
  88395. + ]], [fchmodat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat
  88396. + mknod mknodat stat utimensat])
  88397. +])
  88398. +m4trace:m4/sys_stat_h.m4:37: -1- AC_DEFUN([gl_SYS_STAT_MODULE_INDICATOR], [
  88399. + dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
  88400. + AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
  88401. + gl_MODULE_INDICATOR_SET_VARIABLE([$1])
  88402. + dnl Define it also as a C macro, for the benefit of the unit tests.
  88403. + gl_MODULE_INDICATOR_FOR_TESTS([$1])
  88404. +])
  88405. +m4trace:m4/sys_stat_h.m4:46: -1- AC_DEFUN([gl_SYS_STAT_H_DEFAULTS], [
  88406. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) dnl for REPLACE_FCHDIR
  88407. + GNULIB_FCHMODAT=0; AC_SUBST([GNULIB_FCHMODAT])
  88408. + GNULIB_FSTATAT=0; AC_SUBST([GNULIB_FSTATAT])
  88409. + GNULIB_FUTIMENS=0; AC_SUBST([GNULIB_FUTIMENS])
  88410. + GNULIB_LCHMOD=0; AC_SUBST([GNULIB_LCHMOD])
  88411. + GNULIB_LSTAT=0; AC_SUBST([GNULIB_LSTAT])
  88412. + GNULIB_MKDIRAT=0; AC_SUBST([GNULIB_MKDIRAT])
  88413. + GNULIB_MKFIFO=0; AC_SUBST([GNULIB_MKFIFO])
  88414. + GNULIB_MKFIFOAT=0; AC_SUBST([GNULIB_MKFIFOAT])
  88415. + GNULIB_MKNOD=0; AC_SUBST([GNULIB_MKNOD])
  88416. + GNULIB_MKNODAT=0; AC_SUBST([GNULIB_MKNODAT])
  88417. + GNULIB_STAT=0; AC_SUBST([GNULIB_STAT])
  88418. + GNULIB_UTIMENSAT=0; AC_SUBST([GNULIB_UTIMENSAT])
  88419. + dnl Assume proper GNU behavior unless another module says otherwise.
  88420. + HAVE_FCHMODAT=1; AC_SUBST([HAVE_FCHMODAT])
  88421. + HAVE_FSTATAT=1; AC_SUBST([HAVE_FSTATAT])
  88422. + HAVE_FUTIMENS=1; AC_SUBST([HAVE_FUTIMENS])
  88423. + HAVE_LCHMOD=1; AC_SUBST([HAVE_LCHMOD])
  88424. + HAVE_LSTAT=1; AC_SUBST([HAVE_LSTAT])
  88425. + HAVE_MKDIRAT=1; AC_SUBST([HAVE_MKDIRAT])
  88426. + HAVE_MKFIFO=1; AC_SUBST([HAVE_MKFIFO])
  88427. + HAVE_MKFIFOAT=1; AC_SUBST([HAVE_MKFIFOAT])
  88428. + HAVE_MKNOD=1; AC_SUBST([HAVE_MKNOD])
  88429. + HAVE_MKNODAT=1; AC_SUBST([HAVE_MKNODAT])
  88430. + HAVE_UTIMENSAT=1; AC_SUBST([HAVE_UTIMENSAT])
  88431. + REPLACE_FSTAT=0; AC_SUBST([REPLACE_FSTAT])
  88432. + REPLACE_FSTATAT=0; AC_SUBST([REPLACE_FSTATAT])
  88433. + REPLACE_FUTIMENS=0; AC_SUBST([REPLACE_FUTIMENS])
  88434. + REPLACE_LSTAT=0; AC_SUBST([REPLACE_LSTAT])
  88435. + REPLACE_MKDIR=0; AC_SUBST([REPLACE_MKDIR])
  88436. + REPLACE_MKFIFO=0; AC_SUBST([REPLACE_MKFIFO])
  88437. + REPLACE_MKNOD=0; AC_SUBST([REPLACE_MKNOD])
  88438. + REPLACE_STAT=0; AC_SUBST([REPLACE_STAT])
  88439. + REPLACE_UTIMENSAT=0; AC_SUBST([REPLACE_UTIMENSAT])
  88440. +])
  88441. +m4trace:m4/sys_time_h.m4:11: -1- AC_DEFUN([gl_HEADER_SYS_TIME_H], [
  88442. + dnl Use AC_REQUIRE here, so that the REPLACE_GETTIMEOFDAY=0 statement
  88443. + dnl below is expanded once only, before all REPLACE_GETTIMEOFDAY=1
  88444. + dnl statements that occur in other macros.
  88445. + AC_REQUIRE([gl_HEADER_SYS_TIME_H_BODY])
  88446. +])
  88447. +m4trace:m4/sys_time_h.m4:19: -1- AC_DEFUN([gl_HEADER_SYS_TIME_H_BODY], [
  88448. + AC_REQUIRE([AC_C_RESTRICT])
  88449. + AC_REQUIRE([gl_HEADER_SYS_TIME_H_DEFAULTS])
  88450. + AC_CHECK_HEADERS_ONCE([sys/time.h])
  88451. + gl_CHECK_NEXT_HEADERS([sys/time.h])
  88452. +
  88453. + if test $ac_cv_header_sys_time_h != yes; then
  88454. + HAVE_SYS_TIME_H=0
  88455. + fi
  88456. +
  88457. + AC_CACHE_CHECK([for struct timeval], [gl_cv_sys_struct_timeval],
  88458. + [AC_COMPILE_IFELSE(
  88459. + [AC_LANG_PROGRAM(
  88460. + [[#if HAVE_SYS_TIME_H
  88461. + #include <sys/time.h>
  88462. + #endif
  88463. + #include <time.h>
  88464. + ]],
  88465. + [[static struct timeval x; x.tv_sec = x.tv_usec;]])],
  88466. + [gl_cv_sys_struct_timeval=yes],
  88467. + [gl_cv_sys_struct_timeval=no])])
  88468. + if test $gl_cv_sys_struct_timeval != yes; then
  88469. + HAVE_STRUCT_TIMEVAL=0
  88470. + fi
  88471. +
  88472. + dnl Check for declarations of anything we want to poison if the
  88473. + dnl corresponding gnulib module is not in use.
  88474. + gl_WARN_ON_USE_PREPARE([[
  88475. +#if HAVE_SYS_TIME_H
  88476. +# include <sys/time.h>
  88477. +#endif
  88478. +#include <time.h>
  88479. + ]], [gettimeofday])
  88480. +])
  88481. +m4trace:m4/sys_time_h.m4:55: -1- AC_DEFUN([gl_SYS_TIME_MODULE_INDICATOR], [
  88482. + dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
  88483. + AC_REQUIRE([gl_HEADER_SYS_TIME_H_DEFAULTS])
  88484. + gl_MODULE_INDICATOR_SET_VARIABLE([$1])
  88485. + dnl Define it also as a C macro, for the benefit of the unit tests.
  88486. + gl_MODULE_INDICATOR_FOR_TESTS([$1])
  88487. +])
  88488. +m4trace:m4/sys_time_h.m4:64: -1- AC_DEFUN([gl_HEADER_SYS_TIME_H_DEFAULTS], [
  88489. + GNULIB_GETTIMEOFDAY=0; AC_SUBST([GNULIB_GETTIMEOFDAY])
  88490. + dnl Assume POSIX behavior unless another module says otherwise.
  88491. + HAVE_GETTIMEOFDAY=1; AC_SUBST([HAVE_GETTIMEOFDAY])
  88492. + HAVE_STRUCT_TIMEVAL=1; AC_SUBST([HAVE_STRUCT_TIMEVAL])
  88493. + HAVE_SYS_TIME_H=1; AC_SUBST([HAVE_SYS_TIME_H])
  88494. + REPLACE_GETTIMEOFDAY=0; AC_SUBST([REPLACE_GETTIMEOFDAY])
  88495. +])
  88496. +m4trace:m4/sys_wait_h.m4:7: -1- AC_DEFUN([gl_SYS_WAIT_H], [
  88497. + AC_REQUIRE([gl_SYS_WAIT_H_DEFAULTS])
  88498. +
  88499. + dnl <sys/wait.h> is always overridden, because of GNULIB_POSIXCHECK.
  88500. + gl_CHECK_NEXT_HEADERS([sys/wait.h])
  88501. +
  88502. + dnl Check for declarations of anything we want to poison if the
  88503. + dnl corresponding gnulib module is not in use.
  88504. + gl_WARN_ON_USE_PREPARE([[#include <sys/wait.h>]],
  88505. + [waitpid])
  88506. +])
  88507. +m4trace:m4/sys_wait_h.m4:20: -1- AC_DEFUN([gl_SYS_WAIT_MODULE_INDICATOR], [
  88508. + dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
  88509. + AC_REQUIRE([gl_SYS_WAIT_H_DEFAULTS])
  88510. + gl_MODULE_INDICATOR_SET_VARIABLE([$1])
  88511. + dnl Define it also as a C macro, for the benefit of the unit tests.
  88512. + gl_MODULE_INDICATOR_FOR_TESTS([$1])
  88513. +])
  88514. +m4trace:m4/sys_wait_h.m4:29: -1- AC_DEFUN([gl_SYS_WAIT_H_DEFAULTS], [
  88515. + GNULIB_WAITPID=0; AC_SUBST([GNULIB_WAITPID])
  88516. + dnl Assume proper GNU behavior unless another module says otherwise.
  88517. +])
  88518. +m4trace:m4/tempname.m4:10: -1- AC_DEFUN([gl_FUNC_GEN_TEMPNAME], [
  88519. + AC_REQUIRE([AC_SYS_LARGEFILE])
  88520. +
  88521. + AC_LIBOBJ([tempname])
  88522. + gl_PREREQ_TEMPNAME
  88523. +])
  88524. +m4trace:m4/tempname.m4:19: -1- AC_DEFUN([gl_PREREQ_TEMPNAME], [
  88525. + :
  88526. +])
  88527. +m4trace:m4/threadlib.m4:29: -1- AC_DEFUN([gl_THREADLIB_EARLY], [
  88528. + AC_REQUIRE([gl_THREADLIB_EARLY_BODY])
  88529. +])
  88530. +m4trace:m4/threadlib.m4:36: -1- AC_DEFUN([gl_THREADLIB_EARLY_BODY], [
  88531. + dnl Ordering constraints: This macro modifies CPPFLAGS in a way that
  88532. + dnl influences the result of the autoconf tests that test for *_unlocked
  88533. + dnl declarations, on AIX 5 at least. Therefore it must come early.
  88534. + AC_BEFORE([$0], [gl_FUNC_GLIBC_UNLOCKED_IO])dnl
  88535. + AC_BEFORE([$0], [gl_ARGP])dnl
  88536. +
  88537. + AC_REQUIRE([AC_CANONICAL_HOST])
  88538. + dnl _GNU_SOURCE is needed for pthread_rwlock_t on glibc systems.
  88539. + dnl AC_USE_SYSTEM_EXTENSIONS was introduced in autoconf 2.60 and obsoletes
  88540. + dnl AC_GNU_SOURCE.
  88541. + m4_ifdef([AC_USE_SYSTEM_EXTENSIONS],
  88542. + [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])],
  88543. + [AC_REQUIRE([AC_GNU_SOURCE])])
  88544. + dnl Check for multithreading.
  88545. + m4_ifdef([gl_THREADLIB_DEFAULT_NO],
  88546. + [m4_divert_text([DEFAULTS], [gl_use_threads_default=no])],
  88547. + [m4_divert_text([DEFAULTS], [gl_use_threads_default=])])
  88548. + AC_ARG_ENABLE([threads],
  88549. +AC_HELP_STRING([--enable-threads={posix|solaris|pth|win32}], [specify multithreading API])m4_ifdef([gl_THREADLIB_DEFAULT_NO], [], [
  88550. +AC_HELP_STRING([--disable-threads], [build without multithread safety])]),
  88551. + [gl_use_threads=$enableval],
  88552. + [if test -n "$gl_use_threads_default"; then
  88553. + gl_use_threads="$gl_use_threads_default"
  88554. + else
  88555. +changequote(,)dnl
  88556. + case "$host_os" in
  88557. + dnl Disable multithreading by default on OSF/1, because it interferes
  88558. + dnl with fork()/exec(): When msgexec is linked with -lpthread, its
  88559. + dnl child process gets an endless segmentation fault inside execvp().
  88560. + dnl Disable multithreading by default on Cygwin 1.5.x, because it has
  88561. + dnl bugs that lead to endless loops or crashes. See
  88562. + dnl <http://cygwin.com/ml/cygwin/2009-08/msg00283.html>.
  88563. + osf*) gl_use_threads=no ;;
  88564. + cygwin*)
  88565. + case `uname -r` in
  88566. + 1.[0-5].*) gl_use_threads=no ;;
  88567. + *) gl_use_threads=yes ;;
  88568. + esac
  88569. + ;;
  88570. + *) gl_use_threads=yes ;;
  88571. + esac
  88572. +changequote([,])dnl
  88573. + fi
  88574. + ])
  88575. + if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
  88576. + # For using <pthread.h>:
  88577. + case "$host_os" in
  88578. + osf*)
  88579. + # On OSF/1, the compiler needs the flag -D_REENTRANT so that it
  88580. + # groks <pthread.h>. cc also understands the flag -pthread, but
  88581. + # we don't use it because 1. gcc-2.95 doesn't understand -pthread,
  88582. + # 2. putting a flag into CPPFLAGS that has an effect on the linker
  88583. + # causes the AC_LINK_IFELSE test below to succeed unexpectedly,
  88584. + # leading to wrong values of LIBTHREAD and LTLIBTHREAD.
  88585. + CPPFLAGS="$CPPFLAGS -D_REENTRANT"
  88586. + ;;
  88587. + esac
  88588. + # Some systems optimize for single-threaded programs by default, and
  88589. + # need special flags to disable these optimizations. For example, the
  88590. + # definition of 'errno' in <errno.h>.
  88591. + case "$host_os" in
  88592. + aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
  88593. + solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
  88594. + esac
  88595. + fi
  88596. +])
  88597. +m4trace:m4/threadlib.m4:107: -1- AC_DEFUN([gl_THREADLIB_BODY], [
  88598. + AC_REQUIRE([gl_THREADLIB_EARLY_BODY])
  88599. + gl_threads_api=none
  88600. + LIBTHREAD=
  88601. + LTLIBTHREAD=
  88602. + LIBMULTITHREAD=
  88603. + LTLIBMULTITHREAD=
  88604. + if test "$gl_use_threads" != no; then
  88605. + dnl Check whether the compiler and linker support weak declarations.
  88606. + AC_CACHE_CHECK([whether imported symbols can be declared weak],
  88607. + [gl_cv_have_weak],
  88608. + [gl_cv_have_weak=no
  88609. + dnl First, test whether the compiler accepts it syntactically.
  88610. + AC_LINK_IFELSE(
  88611. + [AC_LANG_PROGRAM(
  88612. + [[extern void xyzzy ();
  88613. +#pragma weak xyzzy]],
  88614. + [[xyzzy();]])],
  88615. + [gl_cv_have_weak=maybe])
  88616. + if test $gl_cv_have_weak = maybe; then
  88617. + dnl Second, test whether it actually works. On Cygwin 1.7.2, with
  88618. + dnl gcc 4.3, symbols declared weak always evaluate to the address 0.
  88619. + AC_RUN_IFELSE(
  88620. + [AC_LANG_SOURCE([[
  88621. +#include <stdio.h>
  88622. +#pragma weak fputs
  88623. +int main ()
  88624. +{
  88625. + return (fputs == NULL);
  88626. +}]])],
  88627. + [gl_cv_have_weak=yes],
  88628. + [gl_cv_have_weak=no],
  88629. + [dnl When cross-compiling, assume that only ELF platforms support
  88630. + dnl weak symbols.
  88631. + AC_EGREP_CPP([Extensible Linking Format],
  88632. + [#ifdef __ELF__
  88633. + Extensible Linking Format
  88634. + #endif
  88635. + ],
  88636. + [gl_cv_have_weak="guessing yes"],
  88637. + [gl_cv_have_weak="guessing no"])
  88638. + ])
  88639. + fi
  88640. + ])
  88641. + if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
  88642. + # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
  88643. + # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY.
  88644. + AC_CHECK_HEADER([pthread.h],
  88645. + [gl_have_pthread_h=yes], [gl_have_pthread_h=no])
  88646. + if test "$gl_have_pthread_h" = yes; then
  88647. + # Other possible tests:
  88648. + # -lpthreads (FSU threads, PCthreads)
  88649. + # -lgthreads
  88650. + gl_have_pthread=
  88651. + # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
  88652. + # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
  88653. + # the second one only in libpthread, and lock.c needs it.
  88654. + AC_LINK_IFELSE(
  88655. + [AC_LANG_PROGRAM(
  88656. + [[#include <pthread.h>]],
  88657. + [[pthread_mutex_lock((pthread_mutex_t*)0);
  88658. + pthread_mutexattr_init((pthread_mutexattr_t*)0);]])],
  88659. + [gl_have_pthread=yes])
  88660. + # Test for libpthread by looking for pthread_kill. (Not pthread_self,
  88661. + # since it is defined as a macro on OSF/1.)
  88662. + if test -n "$gl_have_pthread"; then
  88663. + # The program links fine without libpthread. But it may actually
  88664. + # need to link with libpthread in order to create multiple threads.
  88665. + AC_CHECK_LIB([pthread], [pthread_kill],
  88666. + [LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
  88667. + # On Solaris and HP-UX, most pthread functions exist also in libc.
  88668. + # Therefore pthread_in_use() needs to actually try to create a
  88669. + # thread: pthread_create from libc will fail, whereas
  88670. + # pthread_create will actually create a thread.
  88671. + case "$host_os" in
  88672. + solaris* | hpux*)
  88673. + AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], [1],
  88674. + [Define if the pthread_in_use() detection is hard.])
  88675. + esac
  88676. + ])
  88677. + else
  88678. + # Some library is needed. Try libpthread and libc_r.
  88679. + AC_CHECK_LIB([pthread], [pthread_kill],
  88680. + [gl_have_pthread=yes
  88681. + LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
  88682. + LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread])
  88683. + if test -z "$gl_have_pthread"; then
  88684. + # For FreeBSD 4.
  88685. + AC_CHECK_LIB([c_r], [pthread_kill],
  88686. + [gl_have_pthread=yes
  88687. + LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
  88688. + LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r])
  88689. + fi
  88690. + fi
  88691. + if test -n "$gl_have_pthread"; then
  88692. + gl_threads_api=posix
  88693. + AC_DEFINE([USE_POSIX_THREADS], [1],
  88694. + [Define if the POSIX multithreading library can be used.])
  88695. + if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
  88696. + if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
  88697. + AC_DEFINE([USE_POSIX_THREADS_WEAK], [1],
  88698. + [Define if references to the POSIX multithreading library should be made weak.])
  88699. + LIBTHREAD=
  88700. + LTLIBTHREAD=
  88701. + fi
  88702. + fi
  88703. + fi
  88704. + fi
  88705. + fi
  88706. + if test -z "$gl_have_pthread"; then
  88707. + if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
  88708. + gl_have_solaristhread=
  88709. + gl_save_LIBS="$LIBS"
  88710. + LIBS="$LIBS -lthread"
  88711. + AC_LINK_IFELSE(
  88712. + [AC_LANG_PROGRAM(
  88713. + [[
  88714. +#include <thread.h>
  88715. +#include <synch.h>
  88716. + ]],
  88717. + [[thr_self();]])],
  88718. + [gl_have_solaristhread=yes])
  88719. + LIBS="$gl_save_LIBS"
  88720. + if test -n "$gl_have_solaristhread"; then
  88721. + gl_threads_api=solaris
  88722. + LIBTHREAD=-lthread
  88723. + LTLIBTHREAD=-lthread
  88724. + LIBMULTITHREAD="$LIBTHREAD"
  88725. + LTLIBMULTITHREAD="$LTLIBTHREAD"
  88726. + AC_DEFINE([USE_SOLARIS_THREADS], [1],
  88727. + [Define if the old Solaris multithreading library can be used.])
  88728. + if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
  88729. + AC_DEFINE([USE_SOLARIS_THREADS_WEAK], [1],
  88730. + [Define if references to the old Solaris multithreading library should be made weak.])
  88731. + LIBTHREAD=
  88732. + LTLIBTHREAD=
  88733. + fi
  88734. + fi
  88735. + fi
  88736. + fi
  88737. + if test "$gl_use_threads" = pth; then
  88738. + gl_save_CPPFLAGS="$CPPFLAGS"
  88739. + AC_LIB_LINKFLAGS([pth])
  88740. + gl_have_pth=
  88741. + gl_save_LIBS="$LIBS"
  88742. + LIBS="$LIBS $LIBPTH"
  88743. + AC_LINK_IFELSE(
  88744. + [AC_LANG_PROGRAM([[#include <pth.h>]], [[pth_self();]])],
  88745. + [gl_have_pth=yes])
  88746. + LIBS="$gl_save_LIBS"
  88747. + if test -n "$gl_have_pth"; then
  88748. + gl_threads_api=pth
  88749. + LIBTHREAD="$LIBPTH"
  88750. + LTLIBTHREAD="$LTLIBPTH"
  88751. + LIBMULTITHREAD="$LIBTHREAD"
  88752. + LTLIBMULTITHREAD="$LTLIBTHREAD"
  88753. + AC_DEFINE([USE_PTH_THREADS], [1],
  88754. + [Define if the GNU Pth multithreading library can be used.])
  88755. + if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
  88756. + if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
  88757. + AC_DEFINE([USE_PTH_THREADS_WEAK], [1],
  88758. + [Define if references to the GNU Pth multithreading library should be made weak.])
  88759. + LIBTHREAD=
  88760. + LTLIBTHREAD=
  88761. + fi
  88762. + fi
  88763. + else
  88764. + CPPFLAGS="$gl_save_CPPFLAGS"
  88765. + fi
  88766. + fi
  88767. + if test -z "$gl_have_pthread"; then
  88768. + if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then
  88769. + if { case "$host_os" in
  88770. + mingw*) true;;
  88771. + *) false;;
  88772. + esac
  88773. + }; then
  88774. + gl_threads_api=win32
  88775. + AC_DEFINE([USE_WIN32_THREADS], [1],
  88776. + [Define if the Win32 multithreading API can be used.])
  88777. + fi
  88778. + fi
  88779. + fi
  88780. + fi
  88781. + AC_MSG_CHECKING([for multithread API to use])
  88782. + AC_MSG_RESULT([$gl_threads_api])
  88783. + AC_SUBST([LIBTHREAD])
  88784. + AC_SUBST([LTLIBTHREAD])
  88785. + AC_SUBST([LIBMULTITHREAD])
  88786. + AC_SUBST([LTLIBMULTITHREAD])
  88787. +])
  88788. +m4trace:m4/threadlib.m4:300: -1- AC_DEFUN([gl_THREADLIB], [
  88789. + AC_REQUIRE([gl_THREADLIB_EARLY])
  88790. + AC_REQUIRE([gl_THREADLIB_BODY])
  88791. +])
  88792. +m4trace:m4/threadlib.m4:313: -1- AC_DEFUN([gl_DISABLE_THREADS], [
  88793. + m4_divert_text([INIT_PREPARE], [gl_use_threads_default=no])
  88794. +])
  88795. +m4trace:m4/time_h.m4:13: -1- AC_DEFUN([gl_HEADER_TIME_H], [
  88796. + dnl Use AC_REQUIRE here, so that the default behavior below is expanded
  88797. + dnl once only, before all statements that occur in other macros.
  88798. + AC_REQUIRE([gl_HEADER_TIME_H_BODY])
  88799. +])
  88800. +m4trace:m4/time_h.m4:20: -1- AC_DEFUN([gl_HEADER_TIME_H_BODY], [
  88801. + AC_REQUIRE([AC_C_RESTRICT])
  88802. + AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS])
  88803. + gl_NEXT_HEADERS([time.h])
  88804. + AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC])
  88805. +])
  88806. +m4trace:m4/time_h.m4:31: -1- AC_DEFUN([gl_CHECK_TYPE_STRUCT_TIMESPEC], [
  88807. + AC_CHECK_HEADERS_ONCE([sys/time.h])
  88808. + AC_CACHE_CHECK([for struct timespec in <time.h>],
  88809. + [gl_cv_sys_struct_timespec_in_time_h],
  88810. + [AC_COMPILE_IFELSE(
  88811. + [AC_LANG_PROGRAM(
  88812. + [[#include <time.h>
  88813. + ]],
  88814. + [[static struct timespec x; x.tv_sec = x.tv_nsec;]])],
  88815. + [gl_cv_sys_struct_timespec_in_time_h=yes],
  88816. + [gl_cv_sys_struct_timespec_in_time_h=no])])
  88817. +
  88818. + TIME_H_DEFINES_STRUCT_TIMESPEC=0
  88819. + SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0
  88820. + PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0
  88821. + if test $gl_cv_sys_struct_timespec_in_time_h = yes; then
  88822. + TIME_H_DEFINES_STRUCT_TIMESPEC=1
  88823. + else
  88824. + AC_CACHE_CHECK([for struct timespec in <sys/time.h>],
  88825. + [gl_cv_sys_struct_timespec_in_sys_time_h],
  88826. + [AC_COMPILE_IFELSE(
  88827. + [AC_LANG_PROGRAM(
  88828. + [[#include <sys/time.h>
  88829. + ]],
  88830. + [[static struct timespec x; x.tv_sec = x.tv_nsec;]])],
  88831. + [gl_cv_sys_struct_timespec_in_sys_time_h=yes],
  88832. + [gl_cv_sys_struct_timespec_in_sys_time_h=no])])
  88833. + if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then
  88834. + SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1
  88835. + else
  88836. + AC_CACHE_CHECK([for struct timespec in <pthread.h>],
  88837. + [gl_cv_sys_struct_timespec_in_pthread_h],
  88838. + [AC_COMPILE_IFELSE(
  88839. + [AC_LANG_PROGRAM(
  88840. + [[#include <pthread.h>
  88841. + ]],
  88842. + [[static struct timespec x; x.tv_sec = x.tv_nsec;]])],
  88843. + [gl_cv_sys_struct_timespec_in_pthread_h=yes],
  88844. + [gl_cv_sys_struct_timespec_in_pthread_h=no])])
  88845. + if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then
  88846. + PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1
  88847. + fi
  88848. + fi
  88849. + fi
  88850. + AC_SUBST([TIME_H_DEFINES_STRUCT_TIMESPEC])
  88851. + AC_SUBST([SYS_TIME_H_DEFINES_STRUCT_TIMESPEC])
  88852. + AC_SUBST([PTHREAD_H_DEFINES_STRUCT_TIMESPEC])
  88853. +])
  88854. +m4trace:m4/time_h.m4:81: -1- AC_DEFUN([gl_TIME_MODULE_INDICATOR], [
  88855. + dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
  88856. + AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS])
  88857. + gl_MODULE_INDICATOR_SET_VARIABLE([$1])
  88858. + dnl Define it also as a C macro, for the benefit of the unit tests.
  88859. + gl_MODULE_INDICATOR_FOR_TESTS([$1])
  88860. +])
  88861. +m4trace:m4/time_h.m4:90: -1- AC_DEFUN([gl_HEADER_TIME_H_DEFAULTS], [
  88862. + GNULIB_MKTIME=0; AC_SUBST([GNULIB_MKTIME])
  88863. + GNULIB_NANOSLEEP=0; AC_SUBST([GNULIB_NANOSLEEP])
  88864. + GNULIB_STRPTIME=0; AC_SUBST([GNULIB_STRPTIME])
  88865. + GNULIB_TIMEGM=0; AC_SUBST([GNULIB_TIMEGM])
  88866. + GNULIB_TIME_R=0; AC_SUBST([GNULIB_TIME_R])
  88867. + dnl Assume proper GNU behavior unless another module says otherwise.
  88868. + HAVE_DECL_LOCALTIME_R=1; AC_SUBST([HAVE_DECL_LOCALTIME_R])
  88869. + HAVE_NANOSLEEP=1; AC_SUBST([HAVE_NANOSLEEP])
  88870. + HAVE_STRPTIME=1; AC_SUBST([HAVE_STRPTIME])
  88871. + HAVE_TIMEGM=1; AC_SUBST([HAVE_TIMEGM])
  88872. + dnl If another module says to replace or to not replace, do that.
  88873. + dnl Otherwise, replace only if someone compiles with -DGNULIB_PORTCHECK;
  88874. + dnl this lets maintainers check for portability.
  88875. + REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; AC_SUBST([REPLACE_LOCALTIME_R])
  88876. + REPLACE_MKTIME=GNULIB_PORTCHECK; AC_SUBST([REPLACE_MKTIME])
  88877. + REPLACE_NANOSLEEP=GNULIB_PORTCHECK; AC_SUBST([REPLACE_NANOSLEEP])
  88878. + REPLACE_TIMEGM=GNULIB_PORTCHECK; AC_SUBST([REPLACE_TIMEGM])
  88879. +])
  88880. +m4trace:m4/tls.m4:9: -1- AC_DEFUN([gl_TLS], [
  88881. + AC_REQUIRE([gl_THREADLIB])
  88882. +])
  88883. +m4trace:m4/tmpdir.m4:9: -1- AC_DEFUN([gt_TMPDIR], [
  88884. + AC_CHECK_FUNCS([__secure_getenv])
  88885. +])
  88886. +m4trace:m4/ungetc.m4:7: -1- AC_DEFUN_ONCE([gl_FUNC_UNGETC_WORKS], [
  88887. + AC_REQUIRE([AC_PROG_CC])
  88888. +
  88889. + AC_CACHE_CHECK([whether ungetc works on arbitrary bytes],
  88890. + [gl_cv_func_ungetc_works],
  88891. + [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
  88892. +#include <stdio.h>
  88893. + ]], [FILE *f;
  88894. + if (!(f = fopen ("conftest.tmp", "w+"))) return 1;
  88895. + if (fputs ("abc", f) < 0) return 2;
  88896. + rewind (f);
  88897. + if (fgetc (f) != 'a') return 3;
  88898. + if (fgetc (f) != 'b') return 4;
  88899. + if (ungetc ('d', f) != 'd') return 5;
  88900. + if (ftell (f) != 1) return 6;
  88901. + if (fgetc (f) != 'd') return 7;
  88902. + if (ftell (f) != 2) return 8;
  88903. + if (fseek (f, 0, SEEK_CUR) != 0) return 9;
  88904. + if (ftell (f) != 2) return 10;
  88905. + if (fgetc (f) != 'c') return 11;
  88906. + fclose (f); remove ("conftest.tmp");])],
  88907. + [gl_cv_func_ungetc_works=yes], [gl_cv_func_ungetc_works=no],
  88908. + [gl_cv_func_ungetc_works='guessing no'])
  88909. + ])
  88910. + if test "$gl_cv_func_ungetc_works" != yes; then
  88911. + AC_DEFINE([FUNC_UNGETC_BROKEN], [1],
  88912. + [Define to 1 if ungetc is broken when used on arbitrary bytes.])
  88913. + fi
  88914. +])
  88915. +m4trace:m4/unistd-safer.m4:7: -1- AC_DEFUN([gl_UNISTD_SAFER], [
  88916. + AC_CHECK_FUNCS_ONCE([pipe])
  88917. + AC_LIBOBJ([dup-safer])
  88918. + AC_LIBOBJ([fd-safer])
  88919. + AC_LIBOBJ([pipe-safer])
  88920. +])
  88921. +m4trace:m4/unistd_h.m4:9: -1- AC_DEFUN([gl_UNISTD_H], [
  88922. + dnl Use AC_REQUIRE here, so that the default behavior below is expanded
  88923. + dnl once only, before all statements that occur in other macros.
  88924. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
  88925. + AC_REQUIRE([AC_C_INLINE])
  88926. +
  88927. + gl_CHECK_NEXT_HEADERS([unistd.h])
  88928. + if test $ac_cv_header_unistd_h = yes; then
  88929. + HAVE_UNISTD_H=1
  88930. + else
  88931. + HAVE_UNISTD_H=0
  88932. + fi
  88933. + AC_SUBST([HAVE_UNISTD_H])
  88934. +
  88935. + dnl Check for declarations of anything we want to poison if the
  88936. + dnl corresponding gnulib module is not in use.
  88937. + gl_WARN_ON_USE_PREPARE([[#include <unistd.h>
  88938. +/* Some systems declare various items in the wrong headers. */
  88939. +#if !(defined __GLIBC__ && !defined __UCLIBC__)
  88940. +# include <fcntl.h>
  88941. +# include <stdio.h>
  88942. +# include <stdlib.h>
  88943. +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
  88944. +# include <io.h>
  88945. +# endif
  88946. +#endif
  88947. + ]], [chown dup2 dup3 environ euidaccess faccessat fchdir fchownat
  88948. + fsync ftruncate getcwd getdomainname getdtablesize getgroups
  88949. + gethostname getlogin getlogin_r getpagesize getusershell setusershell
  88950. + endusershell lchown link linkat lseek pipe pipe2 pread pwrite readlink
  88951. + readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat
  88952. + usleep])
  88953. +])
  88954. +m4trace:m4/unistd_h.m4:44: -1- AC_DEFUN([gl_UNISTD_MODULE_INDICATOR], [
  88955. + dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
  88956. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
  88957. + gl_MODULE_INDICATOR_SET_VARIABLE([$1])
  88958. + dnl Define it also as a C macro, for the benefit of the unit tests.
  88959. + gl_MODULE_INDICATOR_FOR_TESTS([$1])
  88960. +])
  88961. +m4trace:m4/unistd_h.m4:53: -1- AC_DEFUN([gl_UNISTD_H_DEFAULTS], [
  88962. + GNULIB_CHOWN=0; AC_SUBST([GNULIB_CHOWN])
  88963. + GNULIB_CLOSE=0; AC_SUBST([GNULIB_CLOSE])
  88964. + GNULIB_DUP2=0; AC_SUBST([GNULIB_DUP2])
  88965. + GNULIB_DUP3=0; AC_SUBST([GNULIB_DUP3])
  88966. + GNULIB_ENVIRON=0; AC_SUBST([GNULIB_ENVIRON])
  88967. + GNULIB_EUIDACCESS=0; AC_SUBST([GNULIB_EUIDACCESS])
  88968. + GNULIB_FACCESSAT=0; AC_SUBST([GNULIB_FACCESSAT])
  88969. + GNULIB_FCHDIR=0; AC_SUBST([GNULIB_FCHDIR])
  88970. + GNULIB_FCHOWNAT=0; AC_SUBST([GNULIB_FCHOWNAT])
  88971. + GNULIB_FSYNC=0; AC_SUBST([GNULIB_FSYNC])
  88972. + GNULIB_FTRUNCATE=0; AC_SUBST([GNULIB_FTRUNCATE])
  88973. + GNULIB_GETCWD=0; AC_SUBST([GNULIB_GETCWD])
  88974. + GNULIB_GETDOMAINNAME=0; AC_SUBST([GNULIB_GETDOMAINNAME])
  88975. + GNULIB_GETDTABLESIZE=0; AC_SUBST([GNULIB_GETDTABLESIZE])
  88976. + GNULIB_GETGROUPS=0; AC_SUBST([GNULIB_GETGROUPS])
  88977. + GNULIB_GETHOSTNAME=0; AC_SUBST([GNULIB_GETHOSTNAME])
  88978. + GNULIB_GETLOGIN=0; AC_SUBST([GNULIB_GETLOGIN])
  88979. + GNULIB_GETLOGIN_R=0; AC_SUBST([GNULIB_GETLOGIN_R])
  88980. + GNULIB_GETPAGESIZE=0; AC_SUBST([GNULIB_GETPAGESIZE])
  88981. + GNULIB_GETUSERSHELL=0; AC_SUBST([GNULIB_GETUSERSHELL])
  88982. + GNULIB_LCHOWN=0; AC_SUBST([GNULIB_LCHOWN])
  88983. + GNULIB_LINK=0; AC_SUBST([GNULIB_LINK])
  88984. + GNULIB_LINKAT=0; AC_SUBST([GNULIB_LINKAT])
  88985. + GNULIB_LSEEK=0; AC_SUBST([GNULIB_LSEEK])
  88986. + GNULIB_PIPE=0; AC_SUBST([GNULIB_PIPE])
  88987. + GNULIB_PIPE2=0; AC_SUBST([GNULIB_PIPE2])
  88988. + GNULIB_PREAD=0; AC_SUBST([GNULIB_PREAD])
  88989. + GNULIB_PWRITE=0; AC_SUBST([GNULIB_PWRITE])
  88990. + GNULIB_READLINK=0; AC_SUBST([GNULIB_READLINK])
  88991. + GNULIB_READLINKAT=0; AC_SUBST([GNULIB_READLINKAT])
  88992. + GNULIB_RMDIR=0; AC_SUBST([GNULIB_RMDIR])
  88993. + GNULIB_SLEEP=0; AC_SUBST([GNULIB_SLEEP])
  88994. + GNULIB_SYMLINK=0; AC_SUBST([GNULIB_SYMLINK])
  88995. + GNULIB_SYMLINKAT=0; AC_SUBST([GNULIB_SYMLINKAT])
  88996. + GNULIB_TTYNAME_R=0; AC_SUBST([GNULIB_TTYNAME_R])
  88997. + GNULIB_UNISTD_H_GETOPT=0; AC_SUBST([GNULIB_UNISTD_H_GETOPT])
  88998. + GNULIB_UNISTD_H_SIGPIPE=0; AC_SUBST([GNULIB_UNISTD_H_SIGPIPE])
  88999. + GNULIB_UNLINK=0; AC_SUBST([GNULIB_UNLINK])
  89000. + GNULIB_UNLINKAT=0; AC_SUBST([GNULIB_UNLINKAT])
  89001. + GNULIB_USLEEP=0; AC_SUBST([GNULIB_USLEEP])
  89002. + GNULIB_WRITE=0; AC_SUBST([GNULIB_WRITE])
  89003. + dnl Assume proper GNU behavior unless another module says otherwise.
  89004. + HAVE_CHOWN=1; AC_SUBST([HAVE_CHOWN])
  89005. + HAVE_DUP2=1; AC_SUBST([HAVE_DUP2])
  89006. + HAVE_DUP3=1; AC_SUBST([HAVE_DUP3])
  89007. + HAVE_EUIDACCESS=1; AC_SUBST([HAVE_EUIDACCESS])
  89008. + HAVE_FACCESSAT=1; AC_SUBST([HAVE_FACCESSAT])
  89009. + HAVE_FCHDIR=1; AC_SUBST([HAVE_FCHDIR])
  89010. + HAVE_FCHOWNAT=1; AC_SUBST([HAVE_FCHOWNAT])
  89011. + HAVE_FSYNC=1; AC_SUBST([HAVE_FSYNC])
  89012. + HAVE_FTRUNCATE=1; AC_SUBST([HAVE_FTRUNCATE])
  89013. + HAVE_GETDTABLESIZE=1; AC_SUBST([HAVE_GETDTABLESIZE])
  89014. + HAVE_GETGROUPS=1; AC_SUBST([HAVE_GETGROUPS])
  89015. + HAVE_GETHOSTNAME=1; AC_SUBST([HAVE_GETHOSTNAME])
  89016. + HAVE_GETLOGIN=1; AC_SUBST([HAVE_GETLOGIN])
  89017. + HAVE_GETPAGESIZE=1; AC_SUBST([HAVE_GETPAGESIZE])
  89018. + HAVE_LCHOWN=1; AC_SUBST([HAVE_LCHOWN])
  89019. + HAVE_LINK=1; AC_SUBST([HAVE_LINK])
  89020. + HAVE_LINKAT=1; AC_SUBST([HAVE_LINKAT])
  89021. + HAVE_PIPE=1; AC_SUBST([HAVE_PIPE])
  89022. + HAVE_PIPE2=1; AC_SUBST([HAVE_PIPE2])
  89023. + HAVE_PREAD=1; AC_SUBST([HAVE_PREAD])
  89024. + HAVE_PWRITE=1; AC_SUBST([HAVE_PWRITE])
  89025. + HAVE_READLINK=1; AC_SUBST([HAVE_READLINK])
  89026. + HAVE_READLINKAT=1; AC_SUBST([HAVE_READLINKAT])
  89027. + HAVE_SLEEP=1; AC_SUBST([HAVE_SLEEP])
  89028. + HAVE_SYMLINK=1; AC_SUBST([HAVE_SYMLINK])
  89029. + HAVE_SYMLINKAT=1; AC_SUBST([HAVE_SYMLINKAT])
  89030. + HAVE_UNLINKAT=1; AC_SUBST([HAVE_UNLINKAT])
  89031. + HAVE_USLEEP=1; AC_SUBST([HAVE_USLEEP])
  89032. + HAVE_DECL_ENVIRON=1; AC_SUBST([HAVE_DECL_ENVIRON])
  89033. + HAVE_DECL_FCHDIR=1; AC_SUBST([HAVE_DECL_FCHDIR])
  89034. + HAVE_DECL_GETDOMAINNAME=1; AC_SUBST([HAVE_DECL_GETDOMAINNAME])
  89035. + HAVE_DECL_GETLOGIN_R=1; AC_SUBST([HAVE_DECL_GETLOGIN_R])
  89036. + HAVE_DECL_GETPAGESIZE=1; AC_SUBST([HAVE_DECL_GETPAGESIZE])
  89037. + HAVE_DECL_GETUSERSHELL=1; AC_SUBST([HAVE_DECL_GETUSERSHELL])
  89038. + HAVE_DECL_TTYNAME_R=1; AC_SUBST([HAVE_DECL_TTYNAME_R])
  89039. + HAVE_OS_H=0; AC_SUBST([HAVE_OS_H])
  89040. + HAVE_SYS_PARAM_H=0; AC_SUBST([HAVE_SYS_PARAM_H])
  89041. + REPLACE_CHOWN=0; AC_SUBST([REPLACE_CHOWN])
  89042. + REPLACE_CLOSE=0; AC_SUBST([REPLACE_CLOSE])
  89043. + REPLACE_DUP=0; AC_SUBST([REPLACE_DUP])
  89044. + REPLACE_DUP2=0; AC_SUBST([REPLACE_DUP2])
  89045. + REPLACE_FCHOWNAT=0; AC_SUBST([REPLACE_FCHOWNAT])
  89046. + REPLACE_GETCWD=0; AC_SUBST([REPLACE_GETCWD])
  89047. + REPLACE_GETDOMAINNAME=0; AC_SUBST([REPLACE_GETDOMAINNAME])
  89048. + REPLACE_GETLOGIN_R=0; AC_SUBST([REPLACE_GETLOGIN_R])
  89049. + REPLACE_GETGROUPS=0; AC_SUBST([REPLACE_GETGROUPS])
  89050. + REPLACE_GETPAGESIZE=0; AC_SUBST([REPLACE_GETPAGESIZE])
  89051. + REPLACE_LCHOWN=0; AC_SUBST([REPLACE_LCHOWN])
  89052. + REPLACE_LINK=0; AC_SUBST([REPLACE_LINK])
  89053. + REPLACE_LINKAT=0; AC_SUBST([REPLACE_LINKAT])
  89054. + REPLACE_LSEEK=0; AC_SUBST([REPLACE_LSEEK])
  89055. + REPLACE_PREAD=0; AC_SUBST([REPLACE_PREAD])
  89056. + REPLACE_PWRITE=0; AC_SUBST([REPLACE_PWRITE])
  89057. + REPLACE_READLINK=0; AC_SUBST([REPLACE_READLINK])
  89058. + REPLACE_RMDIR=0; AC_SUBST([REPLACE_RMDIR])
  89059. + REPLACE_SLEEP=0; AC_SUBST([REPLACE_SLEEP])
  89060. + REPLACE_SYMLINK=0; AC_SUBST([REPLACE_SYMLINK])
  89061. + REPLACE_TTYNAME_R=0; AC_SUBST([REPLACE_TTYNAME_R])
  89062. + REPLACE_UNLINK=0; AC_SUBST([REPLACE_UNLINK])
  89063. + REPLACE_UNLINKAT=0; AC_SUBST([REPLACE_UNLINKAT])
  89064. + REPLACE_USLEEP=0; AC_SUBST([REPLACE_USLEEP])
  89065. + REPLACE_WRITE=0; AC_SUBST([REPLACE_WRITE])
  89066. + UNISTD_H_HAVE_WINSOCK2_H=0; AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H])
  89067. + UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0;
  89068. + AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS])
  89069. +])
  89070. +m4trace:m4/unlocked-io.m4:17: -1- AC_DEFUN([gl_FUNC_GLIBC_UNLOCKED_IO], [
  89071. + AC_DEFINE([USE_UNLOCKED_IO], [1],
  89072. + [Define to 1 if you want getc etc. to use unlocked I/O if available.
  89073. + Unlocked I/O can improve performance in unithreaded apps,
  89074. + but it is not safe for multithreaded apps.])
  89075. +
  89076. + dnl Persuade glibc and Solaris <stdio.h> to declare
  89077. + dnl fgets_unlocked(), fputs_unlocked() etc.
  89078. + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
  89079. +
  89080. + AC_CHECK_DECLS_ONCE([clearerr_unlocked])
  89081. + AC_CHECK_DECLS_ONCE([feof_unlocked])
  89082. + AC_CHECK_DECLS_ONCE([ferror_unlocked])
  89083. + AC_CHECK_DECLS_ONCE([fflush_unlocked])
  89084. + AC_CHECK_DECLS_ONCE([fgets_unlocked])
  89085. + AC_CHECK_DECLS_ONCE([fputc_unlocked])
  89086. + AC_CHECK_DECLS_ONCE([fputs_unlocked])
  89087. + AC_CHECK_DECLS_ONCE([fread_unlocked])
  89088. + AC_CHECK_DECLS_ONCE([fwrite_unlocked])
  89089. + AC_CHECK_DECLS_ONCE([getc_unlocked])
  89090. + AC_CHECK_DECLS_ONCE([getchar_unlocked])
  89091. + AC_CHECK_DECLS_ONCE([putc_unlocked])
  89092. + AC_CHECK_DECLS_ONCE([putchar_unlocked])
  89093. +])
  89094. +m4trace:m4/vasnprintf.m4:7: -1- AC_DEFUN([gl_FUNC_VASNPRINTF], [
  89095. + AC_CHECK_FUNCS_ONCE([vasnprintf])
  89096. + if test $ac_cv_func_vasnprintf = no; then
  89097. + gl_REPLACE_VASNPRINTF
  89098. + fi
  89099. +])
  89100. +m4trace:m4/vasnprintf.m4:15: -1- AC_DEFUN([gl_REPLACE_VASNPRINTF], [
  89101. + AC_CHECK_FUNCS_ONCE([vasnprintf])
  89102. + AC_LIBOBJ([vasnprintf])
  89103. + AC_LIBOBJ([printf-args])
  89104. + AC_LIBOBJ([printf-parse])
  89105. + AC_LIBOBJ([asnprintf])
  89106. + if test $ac_cv_func_vasnprintf = yes; then
  89107. + AC_DEFINE([REPLACE_VASNPRINTF], [1],
  89108. + [Define if vasnprintf exists but is overridden by gnulib.])
  89109. + fi
  89110. + gl_PREREQ_PRINTF_ARGS
  89111. + gl_PREREQ_PRINTF_PARSE
  89112. + gl_PREREQ_VASNPRINTF
  89113. + gl_PREREQ_ASNPRINTF
  89114. +])
  89115. +m4trace:m4/vasnprintf.m4:33: -1- AC_DEFUN([gl_PREREQ_PRINTF_ARGS], [
  89116. + AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
  89117. + AC_REQUIRE([gt_TYPE_WCHAR_T])
  89118. + AC_REQUIRE([gt_TYPE_WINT_T])
  89119. +])
  89120. +m4trace:m4/vasnprintf.m4:41: -1- AC_DEFUN([gl_PREREQ_PRINTF_PARSE], [
  89121. + AC_REQUIRE([gl_FEATURES_H])
  89122. + AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
  89123. + AC_REQUIRE([gt_TYPE_WCHAR_T])
  89124. + AC_REQUIRE([gt_TYPE_WINT_T])
  89125. + AC_REQUIRE([AC_TYPE_SIZE_T])
  89126. + AC_CHECK_TYPE([ptrdiff_t], ,
  89127. + [AC_DEFINE([ptrdiff_t], [long],
  89128. + [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
  89129. + ])
  89130. + AC_REQUIRE([gt_AC_TYPE_INTMAX_T])
  89131. +])
  89132. +m4trace:m4/vasnprintf.m4:56: -1- AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF], [
  89133. + AC_REQUIRE([AC_C_INLINE])
  89134. + AC_REQUIRE([AC_FUNC_ALLOCA])
  89135. + AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
  89136. + AC_REQUIRE([gt_TYPE_WCHAR_T])
  89137. + AC_REQUIRE([gt_TYPE_WINT_T])
  89138. + AC_CHECK_FUNCS([snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb])
  89139. + dnl Use the _snprintf function only if it is declared (because on NetBSD it
  89140. + dnl is defined as a weak alias of snprintf; we prefer to use the latter).
  89141. + AC_CHECK_DECLS([_snprintf], , , [#include <stdio.h>])
  89142. + dnl We can avoid a lot of code by assuming that snprintf's return value
  89143. + dnl conforms to ISO C99. So check that.
  89144. + AC_REQUIRE([gl_SNPRINTF_RETVAL_C99])
  89145. + case "$gl_cv_func_snprintf_retval_c99" in
  89146. + *yes)
  89147. + AC_DEFINE([HAVE_SNPRINTF_RETVAL_C99], [1],
  89148. + [Define if the return value of the snprintf function is the number of
  89149. + of bytes (excluding the terminating NUL) that would have been produced
  89150. + if the buffer had been large enough.])
  89151. + ;;
  89152. + esac
  89153. +])
  89154. +m4trace:m4/vasnprintf.m4:82: -1- AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF_LONG_DOUBLE], [
  89155. + AC_REQUIRE([gl_PRINTF_LONG_DOUBLE])
  89156. + case "$gl_cv_func_printf_long_double" in
  89157. + *yes)
  89158. + ;;
  89159. + *)
  89160. + AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1],
  89161. + [Define if the vasnprintf implementation needs special code for
  89162. + 'long double' arguments.])
  89163. + ;;
  89164. + esac
  89165. +])
  89166. +m4trace:m4/vasnprintf.m4:98: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE], [
  89167. + AC_REQUIRE([gl_PRINTF_INFINITE])
  89168. + case "$gl_cv_func_printf_infinite" in
  89169. + *yes)
  89170. + ;;
  89171. + *)
  89172. + AC_DEFINE([NEED_PRINTF_INFINITE_DOUBLE], [1],
  89173. + [Define if the vasnprintf implementation needs special code for
  89174. + infinite 'double' arguments.])
  89175. + ;;
  89176. + esac
  89177. +])
  89178. +m4trace:m4/vasnprintf.m4:114: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE], [
  89179. + AC_REQUIRE([gl_PRINTF_INFINITE_LONG_DOUBLE])
  89180. + dnl There is no need to set NEED_PRINTF_INFINITE_LONG_DOUBLE if
  89181. + dnl NEED_PRINTF_LONG_DOUBLE is already set.
  89182. + AC_REQUIRE([gl_PREREQ_VASNPRINTF_LONG_DOUBLE])
  89183. + case "$gl_cv_func_printf_long_double" in
  89184. + *yes)
  89185. + case "$gl_cv_func_printf_infinite_long_double" in
  89186. + *yes)
  89187. + ;;
  89188. + *)
  89189. + AC_DEFINE([NEED_PRINTF_INFINITE_LONG_DOUBLE], [1],
  89190. + [Define if the vasnprintf implementation needs special code for
  89191. + infinite 'long double' arguments.])
  89192. + ;;
  89193. + esac
  89194. + ;;
  89195. + esac
  89196. +])
  89197. +m4trace:m4/vasnprintf.m4:136: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_A], [
  89198. + AC_REQUIRE([gl_PRINTF_DIRECTIVE_A])
  89199. + case "$gl_cv_func_printf_directive_a" in
  89200. + *yes)
  89201. + ;;
  89202. + *)
  89203. + AC_DEFINE([NEED_PRINTF_DIRECTIVE_A], [1],
  89204. + [Define if the vasnprintf implementation needs special code for
  89205. + the 'a' and 'A' directives.])
  89206. + AC_CHECK_FUNCS([nl_langinfo])
  89207. + ;;
  89208. + esac
  89209. +])
  89210. +m4trace:m4/vasnprintf.m4:152: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_F], [
  89211. + AC_REQUIRE([gl_PRINTF_DIRECTIVE_F])
  89212. + case "$gl_cv_func_printf_directive_f" in
  89213. + *yes)
  89214. + ;;
  89215. + *)
  89216. + AC_DEFINE([NEED_PRINTF_DIRECTIVE_F], [1],
  89217. + [Define if the vasnprintf implementation needs special code for
  89218. + the 'F' directive.])
  89219. + ;;
  89220. + esac
  89221. +])
  89222. +m4trace:m4/vasnprintf.m4:167: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_LS], [
  89223. + AC_REQUIRE([gl_PRINTF_DIRECTIVE_LS])
  89224. + case "$gl_cv_func_printf_directive_ls" in
  89225. + *yes)
  89226. + ;;
  89227. + *)
  89228. + AC_DEFINE([NEED_PRINTF_DIRECTIVE_LS], [1],
  89229. + [Define if the vasnprintf implementation needs special code for
  89230. + the 'ls' directive.])
  89231. + ;;
  89232. + esac
  89233. +])
  89234. +m4trace:m4/vasnprintf.m4:182: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_GROUPING], [
  89235. + AC_REQUIRE([gl_PRINTF_FLAG_GROUPING])
  89236. + case "$gl_cv_func_printf_flag_grouping" in
  89237. + *yes)
  89238. + ;;
  89239. + *)
  89240. + AC_DEFINE([NEED_PRINTF_FLAG_GROUPING], [1],
  89241. + [Define if the vasnprintf implementation needs special code for the
  89242. + ' flag.])
  89243. + ;;
  89244. + esac
  89245. +])
  89246. +m4trace:m4/vasnprintf.m4:197: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST], [
  89247. + AC_REQUIRE([gl_PRINTF_FLAG_LEFTADJUST])
  89248. + case "$gl_cv_func_printf_flag_leftadjust" in
  89249. + *yes)
  89250. + ;;
  89251. + *)
  89252. + AC_DEFINE([NEED_PRINTF_FLAG_LEFTADJUST], [1],
  89253. + [Define if the vasnprintf implementation needs special code for the
  89254. + '-' flag.])
  89255. + ;;
  89256. + esac
  89257. +])
  89258. +m4trace:m4/vasnprintf.m4:212: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_ZERO], [
  89259. + AC_REQUIRE([gl_PRINTF_FLAG_ZERO])
  89260. + case "$gl_cv_func_printf_flag_zero" in
  89261. + *yes)
  89262. + ;;
  89263. + *)
  89264. + AC_DEFINE([NEED_PRINTF_FLAG_ZERO], [1],
  89265. + [Define if the vasnprintf implementation needs special code for the
  89266. + 0 flag.])
  89267. + ;;
  89268. + esac
  89269. +])
  89270. +m4trace:m4/vasnprintf.m4:227: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_PRECISION], [
  89271. + AC_REQUIRE([gl_PRINTF_PRECISION])
  89272. + case "$gl_cv_func_printf_precision" in
  89273. + *yes)
  89274. + ;;
  89275. + *)
  89276. + AC_DEFINE([NEED_PRINTF_UNBOUNDED_PRECISION], [1],
  89277. + [Define if the vasnprintf implementation needs special code for
  89278. + supporting large precisions without arbitrary bounds.])
  89279. + AC_DEFINE([NEED_PRINTF_DOUBLE], [1],
  89280. + [Define if the vasnprintf implementation needs special code for
  89281. + 'double' arguments.])
  89282. + AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1],
  89283. + [Define if the vasnprintf implementation needs special code for
  89284. + 'long double' arguments.])
  89285. + ;;
  89286. + esac
  89287. +])
  89288. +m4trace:m4/vasnprintf.m4:249: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_ENOMEM], [
  89289. + AC_REQUIRE([gl_PRINTF_ENOMEM])
  89290. + case "$gl_cv_func_printf_enomem" in
  89291. + *yes)
  89292. + ;;
  89293. + *)
  89294. + AC_DEFINE([NEED_PRINTF_ENOMEM], [1],
  89295. + [Define if the vasnprintf implementation needs special code for
  89296. + surviving out-of-memory conditions.])
  89297. + AC_DEFINE([NEED_PRINTF_DOUBLE], [1],
  89298. + [Define if the vasnprintf implementation needs special code for
  89299. + 'double' arguments.])
  89300. + AC_DEFINE([NEED_PRINTF_LONG_DOUBLE], [1],
  89301. + [Define if the vasnprintf implementation needs special code for
  89302. + 'long double' arguments.])
  89303. + ;;
  89304. + esac
  89305. +])
  89306. +m4trace:m4/vasnprintf.m4:270: -1- AC_DEFUN([gl_PREREQ_VASNPRINTF_WITH_EXTRAS], [
  89307. + AC_REQUIRE([gl_PREREQ_VASNPRINTF])
  89308. + gl_PREREQ_VASNPRINTF_LONG_DOUBLE
  89309. + gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE
  89310. + gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE
  89311. + gl_PREREQ_VASNPRINTF_DIRECTIVE_A
  89312. + gl_PREREQ_VASNPRINTF_DIRECTIVE_F
  89313. + gl_PREREQ_VASNPRINTF_DIRECTIVE_LS
  89314. + gl_PREREQ_VASNPRINTF_FLAG_GROUPING
  89315. + gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST
  89316. + gl_PREREQ_VASNPRINTF_FLAG_ZERO
  89317. + gl_PREREQ_VASNPRINTF_PRECISION
  89318. + gl_PREREQ_VASNPRINTF_ENOMEM
  89319. +])
  89320. +m4trace:m4/vasnprintf.m4:287: -1- AC_DEFUN([gl_PREREQ_ASNPRINTF], [
  89321. +])
  89322. +m4trace:m4/vasprintf-posix.m4:7: -1- AC_DEFUN([gl_FUNC_VASPRINTF_POSIX], [
  89323. + AC_REQUIRE([gl_PRINTF_SIZES_C99])
  89324. + AC_REQUIRE([gl_PRINTF_LONG_DOUBLE])
  89325. + AC_REQUIRE([gl_PRINTF_INFINITE])
  89326. + AC_REQUIRE([gl_PRINTF_INFINITE_LONG_DOUBLE])
  89327. + AC_REQUIRE([gl_PRINTF_DIRECTIVE_A])
  89328. + AC_REQUIRE([gl_PRINTF_DIRECTIVE_F])
  89329. + AC_REQUIRE([gl_PRINTF_DIRECTIVE_N])
  89330. + AC_REQUIRE([gl_PRINTF_DIRECTIVE_LS])
  89331. + AC_REQUIRE([gl_PRINTF_POSITIONS])
  89332. + AC_REQUIRE([gl_PRINTF_FLAG_GROUPING])
  89333. + AC_REQUIRE([gl_PRINTF_FLAG_LEFTADJUST])
  89334. + AC_REQUIRE([gl_PRINTF_FLAG_ZERO])
  89335. + AC_REQUIRE([gl_PRINTF_PRECISION])
  89336. + AC_REQUIRE([gl_PRINTF_ENOMEM])
  89337. + gl_cv_func_vasprintf_posix=no
  89338. + AC_CHECK_FUNCS([vasprintf])
  89339. + case "$gl_cv_func_printf_sizes_c99" in
  89340. + *yes)
  89341. + case "$gl_cv_func_printf_long_double" in
  89342. + *yes)
  89343. + case "$gl_cv_func_printf_infinite" in
  89344. + *yes)
  89345. + case "$gl_cv_func_printf_infinite_long_double" in
  89346. + *yes)
  89347. + case "$gl_cv_func_printf_directive_a" in
  89348. + *yes)
  89349. + case "$gl_cv_func_printf_directive_f" in
  89350. + *yes)
  89351. + case "$gl_cv_func_printf_directive_n" in
  89352. + *yes)
  89353. + case "$gl_cv_func_printf_directive_ls" in
  89354. + *yes)
  89355. + case "$gl_cv_func_printf_positions" in
  89356. + *yes)
  89357. + case "$gl_cv_func_printf_flag_grouping" in
  89358. + *yes)
  89359. + case "$gl_cv_func_printf_flag_leftadjust" in
  89360. + *yes)
  89361. + case "$gl_cv_func_printf_flag_zero" in
  89362. + *yes)
  89363. + case "$gl_cv_func_printf_precision" in
  89364. + *yes)
  89365. + case "$gl_cv_func_printf_enomem" in
  89366. + *yes)
  89367. + if test $ac_cv_func_vasprintf = yes; then
  89368. + # vasprintf exists and is
  89369. + # already POSIX compliant.
  89370. + gl_cv_func_vasprintf_posix=yes
  89371. + fi
  89372. + ;;
  89373. + esac
  89374. + ;;
  89375. + esac
  89376. + ;;
  89377. + esac
  89378. + ;;
  89379. + esac
  89380. + ;;
  89381. + esac
  89382. + ;;
  89383. + esac
  89384. + ;;
  89385. + esac
  89386. + ;;
  89387. + esac
  89388. + ;;
  89389. + esac
  89390. + ;;
  89391. + esac
  89392. + ;;
  89393. + esac
  89394. + ;;
  89395. + esac
  89396. + ;;
  89397. + esac
  89398. + ;;
  89399. + esac
  89400. + if test $gl_cv_func_vasprintf_posix = no; then
  89401. + gl_PREREQ_VASNPRINTF_LONG_DOUBLE
  89402. + gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE
  89403. + gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE
  89404. + gl_PREREQ_VASNPRINTF_DIRECTIVE_A
  89405. + gl_PREREQ_VASNPRINTF_DIRECTIVE_F
  89406. + gl_PREREQ_VASNPRINTF_DIRECTIVE_LS
  89407. + gl_PREREQ_VASNPRINTF_FLAG_GROUPING
  89408. + gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST
  89409. + gl_PREREQ_VASNPRINTF_FLAG_ZERO
  89410. + gl_PREREQ_VASNPRINTF_PRECISION
  89411. + gl_PREREQ_VASNPRINTF_ENOMEM
  89412. + gl_REPLACE_VASNPRINTF
  89413. + gl_REPLACE_VASPRINTF
  89414. + fi
  89415. +])
  89416. +m4trace:m4/vasprintf.m4:8: -1- AC_DEFUN([gl_FUNC_VASPRINTF], [
  89417. + AC_CHECK_FUNCS([vasprintf])
  89418. + if test $ac_cv_func_vasprintf = no; then
  89419. + gl_REPLACE_VASPRINTF
  89420. + fi
  89421. +])
  89422. +m4trace:m4/vasprintf.m4:16: -1- AC_DEFUN([gl_REPLACE_VASPRINTF], [
  89423. + AC_LIBOBJ([vasprintf])
  89424. + AC_LIBOBJ([asprintf])
  89425. + AC_REQUIRE([gl_STDIO_H_DEFAULTS])
  89426. + if test $ac_cv_func_vasprintf = yes; then
  89427. + REPLACE_VASPRINTF=1
  89428. + else
  89429. + HAVE_VASPRINTF=0
  89430. + fi
  89431. + gl_PREREQ_VASPRINTF_H
  89432. + gl_PREREQ_VASPRINTF
  89433. + gl_PREREQ_ASPRINTF
  89434. +])
  89435. +m4trace:m4/vasprintf.m4:32: -1- AC_DEFUN([gl_PREREQ_VASPRINTF_H], [
  89436. + dnl Persuade glibc <stdio.h> to declare asprintf() and vasprintf().
  89437. + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
  89438. +])
  89439. +m4trace:m4/vasprintf.m4:39: -1- AC_DEFUN([gl_PREREQ_VASPRINTF], [
  89440. +])
  89441. +m4trace:m4/vasprintf.m4:44: -1- AC_DEFUN([gl_PREREQ_ASPRINTF], [
  89442. +])
  89443. +m4trace:m4/version-etc.m4:20: -1- AC_DEFUN([gl_VERSION_ETC], [dnl
  89444. + gl_VERSION_ETC_FLAG([packager],
  89445. + [String identifying the packager of this software])
  89446. + gl_VERSION_ETC_FLAG([packager-version],
  89447. + [Packager-specific version information])
  89448. + gl_VERSION_ETC_FLAG([packager-bug-reports],
  89449. + [Packager info for bug reports (URL/e-mail/...)])
  89450. + if test "X$with_packager" = "X" && \
  89451. + test "X$with_packager_version$with_packager_bug_reports" != "X"
  89452. + then
  89453. + AC_MSG_ERROR([The --with-packager-{bug-reports,version} options require --with-packager])
  89454. + fi
  89455. +])
  89456. +m4trace:m4/wait-process.m4:7: -1- AC_DEFUN([gl_WAIT_PROCESS], [
  89457. + dnl Prerequisites of lib/wait-process.c.
  89458. + AC_REQUIRE([AC_C_INLINE])
  89459. + AC_REQUIRE([gt_TYPE_SIG_ATOMIC_T])
  89460. + AC_CHECK_FUNCS([waitid])
  89461. +])
  89462. +m4trace:m4/waitpid.m4:7: -1- AC_DEFUN([gl_FUNC_WAITPID], [
  89463. + AC_REQUIRE([AC_CANONICAL_HOST])
  89464. + case $host_os in
  89465. + mingw*)
  89466. + AC_LIBOBJ([waitpid])
  89467. + ;;
  89468. + esac
  89469. +])
  89470. +m4trace:m4/warnings.m4:21: -1- AC_DEFUN([gl_WARN_ADD], [AS_VAR_PUSHDEF([gl_Warn], [gl_cv_warn_$1])dnl
  89471. +AC_CACHE_CHECK([whether compiler handles $1], [gl_Warn], [
  89472. + save_CPPFLAGS="$CPPFLAGS"
  89473. + CPPFLAGS="${CPPFLAGS} $1"
  89474. + AC_PREPROC_IFELSE([AC_LANG_PROGRAM([])],
  89475. + [AS_VAR_SET([gl_Warn], [yes])],
  89476. + [AS_VAR_SET([gl_Warn], [no])])
  89477. + CPPFLAGS="$save_CPPFLAGS"
  89478. +])
  89479. +AS_VAR_PUSHDEF([gl_Flags], m4_if([$2], [], [[WARN_CFLAGS]], [[$2]]))dnl
  89480. +AS_VAR_IF([gl_Warn], [yes], [gl_AS_VAR_APPEND([gl_Flags], [" $1"])])
  89481. +AS_VAR_POPDEF([gl_Flags])dnl
  89482. +AS_VAR_POPDEF([gl_Warn])dnl
  89483. +m4_ifval([$2], [AS_LITERAL_IF([$2], [AC_SUBST([$2])], [])])dnl
  89484. +])
  89485. +m4trace:m4/wchar_h.m4:12: -1- AC_DEFUN([gl_WCHAR_H], [
  89486. + AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
  89487. + AC_REQUIRE([gl_WCHAR_H_INLINE_OK])
  89488. + dnl Prepare for creating substitute <wchar.h>.
  89489. + dnl Check for <wchar.h> (missing in Linux uClibc when built without wide
  89490. + dnl character support).
  89491. + dnl <wchar.h> is always overridden, because of GNULIB_POSIXCHECK.
  89492. + gl_CHECK_NEXT_HEADERS([wchar.h])
  89493. + if test $ac_cv_header_wchar_h = yes; then
  89494. + HAVE_WCHAR_H=1
  89495. + else
  89496. + HAVE_WCHAR_H=0
  89497. + fi
  89498. + AC_SUBST([HAVE_WCHAR_H])
  89499. +
  89500. + AC_REQUIRE([gl_FEATURES_H])
  89501. +
  89502. + AC_REQUIRE([gt_TYPE_WINT_T])
  89503. + if test $gt_cv_c_wint_t = yes; then
  89504. + HAVE_WINT_T=1
  89505. + else
  89506. + HAVE_WINT_T=0
  89507. + fi
  89508. + AC_SUBST([HAVE_WINT_T])
  89509. +
  89510. + dnl Check for declarations of anything we want to poison if the
  89511. + dnl corresponding gnulib module is not in use.
  89512. + gl_WARN_ON_USE_PREPARE([[
  89513. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  89514. + <wchar.h>.
  89515. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  89516. + included before <wchar.h>. */
  89517. +#if !(defined __GLIBC__ && !defined __UCLIBC__)
  89518. +# include <stddef.h>
  89519. +# include <stdio.h>
  89520. +# include <time.h>
  89521. +#endif
  89522. +#include <wchar.h>
  89523. + ]],
  89524. + [btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb
  89525. + wcsrtombs wcsnrtombs wcwidth wmemchr wmemcmp wmemcpy wmemmove wmemset
  89526. + wcslen wcsnlen wcscpy wcpcpy wcsncpy wcpncpy wcscat wcsncat wcscmp
  89527. + wcsncmp wcscasecmp wcsncasecmp wcscoll wcsxfrm wcsdup wcschr wcsrchr
  89528. + wcscspn wcsspn wcspbrk wcsstr wcstok wcswidth
  89529. + ])
  89530. +])
  89531. +m4trace:m4/wchar_h.m4:61: -1- AC_DEFUN([gl_WCHAR_H_INLINE_OK], [
  89532. + dnl Test whether <wchar.h> suffers due to the transition from '__inline' to
  89533. + dnl 'gnu_inline'. See <http://sourceware.org/bugzilla/show_bug.cgi?id=4022>
  89534. + dnl and <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42440>. In summary,
  89535. + dnl glibc version 2.5 or older, together with gcc version 4.3 or newer and
  89536. + dnl the option -std=c99 or -std=gnu99, leads to a broken <wchar.h>.
  89537. + AC_CACHE_CHECK([whether <wchar.h> uses 'inline' correctly],
  89538. + [gl_cv_header_wchar_h_correct_inline],
  89539. + [gl_cv_header_wchar_h_correct_inline=yes
  89540. + AC_LANG_CONFTEST([
  89541. + AC_LANG_SOURCE([[#define wcstod renamed_wcstod
  89542. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  89543. + <wchar.h>.
  89544. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  89545. + included before <wchar.h>. */
  89546. +#include <stddef.h>
  89547. +#include <stdio.h>
  89548. +#include <time.h>
  89549. +#include <wchar.h>
  89550. +extern int zero (void);
  89551. +int main () { return zero(); }
  89552. +]])])
  89553. + if AC_TRY_EVAL([ac_compile]); then
  89554. + mv conftest.$ac_objext conftest1.$ac_objext
  89555. + AC_LANG_CONFTEST([
  89556. + AC_LANG_SOURCE([[#define wcstod renamed_wcstod
  89557. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  89558. + <wchar.h>.
  89559. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  89560. + included before <wchar.h>. */
  89561. +#include <stddef.h>
  89562. +#include <stdio.h>
  89563. +#include <time.h>
  89564. +#include <wchar.h>
  89565. +int zero (void) { return 0; }
  89566. +]])])
  89567. + if AC_TRY_EVAL([ac_compile]); then
  89568. + mv conftest.$ac_objext conftest2.$ac_objext
  89569. + if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&AS_MESSAGE_LOG_FD 2>&1; then
  89570. + :
  89571. + else
  89572. + gl_cv_header_wchar_h_correct_inline=no
  89573. + fi
  89574. + fi
  89575. + fi
  89576. + rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext
  89577. + ])
  89578. + if test $gl_cv_header_wchar_h_correct_inline = no; then
  89579. + AC_MSG_ERROR([<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS).
  89580. +This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
  89581. +C99 mode. You have four options:
  89582. + - Add the flag -fgnu89-inline to CC and reconfigure, or
  89583. + - Fix your include files, using parts of
  89584. + <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
  89585. + - Use a gcc version older than 4.3, or
  89586. + - Don't use the flags -std=c99 or -std=gnu99.
  89587. +Configuration aborted.])
  89588. + fi
  89589. +])
  89590. +m4trace:m4/wchar_h.m4:123: -1- AC_DEFUN([gl_REPLACE_WCHAR_H], [
  89591. + dnl This is a no-op, because <wchar.h> is always overridden.
  89592. + :
  89593. +])
  89594. +m4trace:m4/wchar_h.m4:129: -1- AC_DEFUN([gl_WCHAR_MODULE_INDICATOR], [
  89595. + dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
  89596. + AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
  89597. + gl_MODULE_INDICATOR_SET_VARIABLE([$1])
  89598. + dnl Define it also as a C macro, for the benefit of the unit tests.
  89599. + gl_MODULE_INDICATOR_FOR_TESTS([$1])
  89600. +])
  89601. +m4trace:m4/wchar_h.m4:138: -1- AC_DEFUN([gl_WCHAR_H_DEFAULTS], [
  89602. + GNULIB_BTOWC=0; AC_SUBST([GNULIB_BTOWC])
  89603. + GNULIB_WCTOB=0; AC_SUBST([GNULIB_WCTOB])
  89604. + GNULIB_MBSINIT=0; AC_SUBST([GNULIB_MBSINIT])
  89605. + GNULIB_MBRTOWC=0; AC_SUBST([GNULIB_MBRTOWC])
  89606. + GNULIB_MBRLEN=0; AC_SUBST([GNULIB_MBRLEN])
  89607. + GNULIB_MBSRTOWCS=0; AC_SUBST([GNULIB_MBSRTOWCS])
  89608. + GNULIB_MBSNRTOWCS=0; AC_SUBST([GNULIB_MBSNRTOWCS])
  89609. + GNULIB_WCRTOMB=0; AC_SUBST([GNULIB_WCRTOMB])
  89610. + GNULIB_WCSRTOMBS=0; AC_SUBST([GNULIB_WCSRTOMBS])
  89611. + GNULIB_WCSNRTOMBS=0; AC_SUBST([GNULIB_WCSNRTOMBS])
  89612. + GNULIB_WCWIDTH=0; AC_SUBST([GNULIB_WCWIDTH])
  89613. + GNULIB_WMEMCHR=0; AC_SUBST([GNULIB_WMEMCHR])
  89614. + GNULIB_WMEMCMP=0; AC_SUBST([GNULIB_WMEMCMP])
  89615. + GNULIB_WMEMCPY=0; AC_SUBST([GNULIB_WMEMCPY])
  89616. + GNULIB_WMEMMOVE=0; AC_SUBST([GNULIB_WMEMMOVE])
  89617. + GNULIB_WMEMSET=0; AC_SUBST([GNULIB_WMEMSET])
  89618. + GNULIB_WCSLEN=0; AC_SUBST([GNULIB_WCSLEN])
  89619. + GNULIB_WCSNLEN=0; AC_SUBST([GNULIB_WCSNLEN])
  89620. + GNULIB_WCSCPY=0; AC_SUBST([GNULIB_WCSCPY])
  89621. + GNULIB_WCPCPY=0; AC_SUBST([GNULIB_WCPCPY])
  89622. + GNULIB_WCSNCPY=0; AC_SUBST([GNULIB_WCSNCPY])
  89623. + GNULIB_WCPNCPY=0; AC_SUBST([GNULIB_WCPNCPY])
  89624. + GNULIB_WCSCAT=0; AC_SUBST([GNULIB_WCSCAT])
  89625. + GNULIB_WCSNCAT=0; AC_SUBST([GNULIB_WCSNCAT])
  89626. + GNULIB_WCSCMP=0; AC_SUBST([GNULIB_WCSCMP])
  89627. + GNULIB_WCSNCMP=0; AC_SUBST([GNULIB_WCSNCMP])
  89628. + GNULIB_WCSCASECMP=0; AC_SUBST([GNULIB_WCSCASECMP])
  89629. + GNULIB_WCSNCASECMP=0; AC_SUBST([GNULIB_WCSNCASECMP])
  89630. + GNULIB_WCSCOLL=0; AC_SUBST([GNULIB_WCSCOLL])
  89631. + GNULIB_WCSXFRM=0; AC_SUBST([GNULIB_WCSXFRM])
  89632. + GNULIB_WCSDUP=0; AC_SUBST([GNULIB_WCSDUP])
  89633. + GNULIB_WCSCHR=0; AC_SUBST([GNULIB_WCSCHR])
  89634. + GNULIB_WCSRCHR=0; AC_SUBST([GNULIB_WCSRCHR])
  89635. + GNULIB_WCSCSPN=0; AC_SUBST([GNULIB_WCSCSPN])
  89636. + GNULIB_WCSSPN=0; AC_SUBST([GNULIB_WCSSPN])
  89637. + GNULIB_WCSPBRK=0; AC_SUBST([GNULIB_WCSPBRK])
  89638. + GNULIB_WCSSTR=0; AC_SUBST([GNULIB_WCSSTR])
  89639. + GNULIB_WCSTOK=0; AC_SUBST([GNULIB_WCSTOK])
  89640. + GNULIB_WCSWIDTH=0; AC_SUBST([GNULIB_WCSWIDTH])
  89641. + dnl Assume proper GNU behavior unless another module says otherwise.
  89642. + HAVE_BTOWC=1; AC_SUBST([HAVE_BTOWC])
  89643. + HAVE_MBSINIT=1; AC_SUBST([HAVE_MBSINIT])
  89644. + HAVE_MBRTOWC=1; AC_SUBST([HAVE_MBRTOWC])
  89645. + HAVE_MBRLEN=1; AC_SUBST([HAVE_MBRLEN])
  89646. + HAVE_MBSRTOWCS=1; AC_SUBST([HAVE_MBSRTOWCS])
  89647. + HAVE_MBSNRTOWCS=1; AC_SUBST([HAVE_MBSNRTOWCS])
  89648. + HAVE_WCRTOMB=1; AC_SUBST([HAVE_WCRTOMB])
  89649. + HAVE_WCSRTOMBS=1; AC_SUBST([HAVE_WCSRTOMBS])
  89650. + HAVE_WCSNRTOMBS=1; AC_SUBST([HAVE_WCSNRTOMBS])
  89651. + HAVE_WMEMCHR=1; AC_SUBST([HAVE_WMEMCHR])
  89652. + HAVE_WMEMCMP=1; AC_SUBST([HAVE_WMEMCMP])
  89653. + HAVE_WMEMCPY=1; AC_SUBST([HAVE_WMEMCPY])
  89654. + HAVE_WMEMMOVE=1; AC_SUBST([HAVE_WMEMMOVE])
  89655. + HAVE_WMEMSET=1; AC_SUBST([HAVE_WMEMSET])
  89656. + HAVE_WCSLEN=1; AC_SUBST([HAVE_WCSLEN])
  89657. + HAVE_WCSNLEN=1; AC_SUBST([HAVE_WCSNLEN])
  89658. + HAVE_WCSCPY=1; AC_SUBST([HAVE_WCSCPY])
  89659. + HAVE_WCPCPY=1; AC_SUBST([HAVE_WCPCPY])
  89660. + HAVE_WCSNCPY=1; AC_SUBST([HAVE_WCSNCPY])
  89661. + HAVE_WCPNCPY=1; AC_SUBST([HAVE_WCPNCPY])
  89662. + HAVE_WCSCAT=1; AC_SUBST([HAVE_WCSCAT])
  89663. + HAVE_WCSNCAT=1; AC_SUBST([HAVE_WCSNCAT])
  89664. + HAVE_WCSCMP=1; AC_SUBST([HAVE_WCSCMP])
  89665. + HAVE_WCSNCMP=1; AC_SUBST([HAVE_WCSNCMP])
  89666. + HAVE_WCSCASECMP=1; AC_SUBST([HAVE_WCSCASECMP])
  89667. + HAVE_WCSNCASECMP=1; AC_SUBST([HAVE_WCSNCASECMP])
  89668. + HAVE_WCSCOLL=1; AC_SUBST([HAVE_WCSCOLL])
  89669. + HAVE_WCSXFRM=1; AC_SUBST([HAVE_WCSXFRM])
  89670. + HAVE_WCSDUP=1; AC_SUBST([HAVE_WCSDUP])
  89671. + HAVE_WCSCHR=1; AC_SUBST([HAVE_WCSCHR])
  89672. + HAVE_WCSRCHR=1; AC_SUBST([HAVE_WCSRCHR])
  89673. + HAVE_WCSCSPN=1; AC_SUBST([HAVE_WCSCSPN])
  89674. + HAVE_WCSSPN=1; AC_SUBST([HAVE_WCSSPN])
  89675. + HAVE_WCSPBRK=1; AC_SUBST([HAVE_WCSPBRK])
  89676. + HAVE_WCSSTR=1; AC_SUBST([HAVE_WCSSTR])
  89677. + HAVE_WCSTOK=1; AC_SUBST([HAVE_WCSTOK])
  89678. + HAVE_WCSWIDTH=1; AC_SUBST([HAVE_WCSWIDTH])
  89679. + HAVE_DECL_WCTOB=1; AC_SUBST([HAVE_DECL_WCTOB])
  89680. + HAVE_DECL_WCWIDTH=1; AC_SUBST([HAVE_DECL_WCWIDTH])
  89681. + REPLACE_MBSTATE_T=0; AC_SUBST([REPLACE_MBSTATE_T])
  89682. + REPLACE_BTOWC=0; AC_SUBST([REPLACE_BTOWC])
  89683. + REPLACE_WCTOB=0; AC_SUBST([REPLACE_WCTOB])
  89684. + REPLACE_MBSINIT=0; AC_SUBST([REPLACE_MBSINIT])
  89685. + REPLACE_MBRTOWC=0; AC_SUBST([REPLACE_MBRTOWC])
  89686. + REPLACE_MBRLEN=0; AC_SUBST([REPLACE_MBRLEN])
  89687. + REPLACE_MBSRTOWCS=0; AC_SUBST([REPLACE_MBSRTOWCS])
  89688. + REPLACE_MBSNRTOWCS=0; AC_SUBST([REPLACE_MBSNRTOWCS])
  89689. + REPLACE_WCRTOMB=0; AC_SUBST([REPLACE_WCRTOMB])
  89690. + REPLACE_WCSRTOMBS=0; AC_SUBST([REPLACE_WCSRTOMBS])
  89691. + REPLACE_WCSNRTOMBS=0; AC_SUBST([REPLACE_WCSNRTOMBS])
  89692. + REPLACE_WCWIDTH=0; AC_SUBST([REPLACE_WCWIDTH])
  89693. + REPLACE_WCSWIDTH=0; AC_SUBST([REPLACE_WCSWIDTH])
  89694. +])
  89695. +m4trace:m4/wchar_t.m4:11: -1- AC_DEFUN([gt_TYPE_WCHAR_T], [
  89696. + AC_CACHE_CHECK([for wchar_t], [gt_cv_c_wchar_t],
  89697. + [AC_COMPILE_IFELSE(
  89698. + [AC_LANG_PROGRAM(
  89699. + [[#include <stddef.h>
  89700. + wchar_t foo = (wchar_t)'\0';]],
  89701. + [[]])],
  89702. + [gt_cv_c_wchar_t=yes],
  89703. + [gt_cv_c_wchar_t=no])])
  89704. + if test $gt_cv_c_wchar_t = yes; then
  89705. + AC_DEFINE([HAVE_WCHAR_T], [1], [Define if you have the 'wchar_t' type.])
  89706. + fi
  89707. +])
  89708. +m4trace:m4/wcrtomb.m4:7: -1- AC_DEFUN([gl_FUNC_WCRTOMB], [
  89709. + AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
  89710. +
  89711. + AC_REQUIRE([AC_TYPE_MBSTATE_T])
  89712. + gl_MBSTATE_T_BROKEN
  89713. +
  89714. + AC_CHECK_FUNCS_ONCE([wcrtomb])
  89715. + if test $ac_cv_func_wcrtomb = no; then
  89716. + HAVE_WCRTOMB=0
  89717. + else
  89718. + if test $REPLACE_MBSTATE_T = 1; then
  89719. + REPLACE_WCRTOMB=1
  89720. + else
  89721. + dnl On AIX 4.3, OSF/1 5.1 and Solaris 10, wcrtomb (NULL, 0, NULL) sometimes
  89722. + dnl returns 0 instead of 1.
  89723. + AC_REQUIRE([AC_PROG_CC])
  89724. + AC_REQUIRE([gt_LOCALE_FR])
  89725. + AC_REQUIRE([gt_LOCALE_FR_UTF8])
  89726. + AC_REQUIRE([gt_LOCALE_JA])
  89727. + AC_REQUIRE([gt_LOCALE_ZH_CN])
  89728. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  89729. + AC_CACHE_CHECK([whether wcrtomb return value is correct],
  89730. + [gl_cv_func_wcrtomb_retval],
  89731. + [
  89732. + dnl Initial guess, used when cross-compiling or when no suitable locale
  89733. + dnl is present.
  89734. +changequote(,)dnl
  89735. + case "$host_os" in
  89736. + # Guess no on AIX 4, OSF/1 and Solaris.
  89737. + aix4* | osf* | solaris*) gl_cv_func_wcrtomb_retval="guessing no" ;;
  89738. + # Guess yes otherwise.
  89739. + *) gl_cv_func_wcrtomb_retval="guessing yes" ;;
  89740. + esac
  89741. +changequote([,])dnl
  89742. + if test $LOCALE_FR != none || test $LOCALE_FR_UTF8 != none || test $LOCALE_JA != none || test $LOCALE_ZH_CN != none; then
  89743. + AC_RUN_IFELSE(
  89744. + [AC_LANG_SOURCE([[
  89745. +#include <locale.h>
  89746. +#include <string.h>
  89747. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  89748. + <wchar.h>.
  89749. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  89750. + included before <wchar.h>. */
  89751. +#include <stddef.h>
  89752. +#include <stdio.h>
  89753. +#include <time.h>
  89754. +#include <wchar.h>
  89755. +int main ()
  89756. +{
  89757. + int result = 0;
  89758. + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
  89759. + {
  89760. + if (wcrtomb (NULL, 0, NULL) != 1)
  89761. + result |= 1;
  89762. + }
  89763. + if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
  89764. + {
  89765. + if (wcrtomb (NULL, 0, NULL) != 1)
  89766. + result |= 2;
  89767. + }
  89768. + if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
  89769. + {
  89770. + if (wcrtomb (NULL, 0, NULL) != 1)
  89771. + result |= 4;
  89772. + }
  89773. + if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
  89774. + {
  89775. + if (wcrtomb (NULL, 0, NULL) != 1)
  89776. + result |= 8;
  89777. + }
  89778. + return result;
  89779. +}]])],
  89780. + [gl_cv_func_wcrtomb_retval=yes],
  89781. + [gl_cv_func_wcrtomb_retval=no],
  89782. + [:])
  89783. + fi
  89784. + ])
  89785. + case "$gl_cv_func_wcrtomb_retval" in
  89786. + *yes) ;;
  89787. + *) REPLACE_WCRTOMB=1 ;;
  89788. + esac
  89789. + fi
  89790. + fi
  89791. + if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
  89792. + gl_REPLACE_WCHAR_H
  89793. + AC_LIBOBJ([wcrtomb])
  89794. + gl_PREREQ_WCRTOMB
  89795. + fi
  89796. +])
  89797. +m4trace:m4/wcrtomb.m4:99: -1- AC_DEFUN([gl_PREREQ_WCRTOMB], [
  89798. + :
  89799. +])
  89800. +m4trace:m4/wctob.m4:7: -1- AC_DEFUN([gl_FUNC_WCTOB], [
  89801. + AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
  89802. +
  89803. + AC_CHECK_FUNCS_ONCE([wctob])
  89804. + if test $ac_cv_func_wctob = no; then
  89805. + HAVE_DECL_WCTOB=0
  89806. + gl_REPLACE_WCHAR_H
  89807. + AC_LIBOBJ([wctob])
  89808. + gl_PREREQ_WCTOB
  89809. + else
  89810. +
  89811. + dnl Solaris 9 has the wctob() function but it does not work.
  89812. + dnl Cygwin 1.7.2 has the wctob() function but it clobbers caller-owned
  89813. + dnl registers, see <http://cygwin.com/ml/cygwin/2010-05/msg00015.html>.
  89814. + AC_REQUIRE([AC_PROG_CC])
  89815. + AC_REQUIRE([gt_LOCALE_FR])
  89816. + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
  89817. + AC_CACHE_CHECK([whether wctob works],
  89818. + [gl_cv_func_wctob_works],
  89819. + [
  89820. + dnl Initial guess, used when cross-compiling or when no suitable locale
  89821. + dnl is present.
  89822. +changequote(,)dnl
  89823. + case "$host_os" in
  89824. + # Guess no on Solaris <= 9 and Cygwin.
  89825. + solaris2.[1-9] | solaris2.[1-9].* | cygwin*)
  89826. + gl_cv_func_wctob_works="guessing no" ;;
  89827. + # Guess yes otherwise.
  89828. + *) gl_cv_func_wctob_works="guessing yes" ;;
  89829. + esac
  89830. +changequote([,])dnl
  89831. + case "$host_os" in
  89832. + cygwin*)
  89833. + AC_RUN_IFELSE(
  89834. + [AC_LANG_SOURCE([[
  89835. +#include <locale.h>
  89836. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  89837. + <wchar.h>.
  89838. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  89839. + included before <wchar.h>. */
  89840. +#include <stddef.h>
  89841. +#include <stdio.h>
  89842. +#include <time.h>
  89843. +#include <wchar.h>
  89844. +
  89845. +register long global __asm__ ("%ebx");
  89846. +
  89847. +int main ()
  89848. +{
  89849. + setlocale (LC_ALL, "en_US.UTF-8");
  89850. +
  89851. + global = 0x12345678;
  89852. + if (wctob (0x00FC) != -1)
  89853. + return 1;
  89854. + if (global != 0x12345678)
  89855. + return 2;
  89856. + return 0;
  89857. +}]])],
  89858. + [:],
  89859. + [gl_cv_func_wctob_works=no],
  89860. + [:])
  89861. + ;;
  89862. + esac
  89863. + if test "$gl_cv_func_wctob_works" != no && test $LOCALE_FR != none; then
  89864. + AC_RUN_IFELSE(
  89865. + [AC_LANG_SOURCE([[
  89866. +#include <locale.h>
  89867. +#include <string.h>
  89868. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  89869. + <wchar.h>.
  89870. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  89871. + included before <wchar.h>. */
  89872. +#include <stddef.h>
  89873. +#include <stdio.h>
  89874. +#include <time.h>
  89875. +#include <wchar.h>
  89876. +int main ()
  89877. +{
  89878. + if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
  89879. + {
  89880. + wchar_t wc;
  89881. +
  89882. + if (mbtowc (&wc, "\374", 1) == 1)
  89883. + if (wctob (wc) != (unsigned char) '\374')
  89884. + return 1;
  89885. + }
  89886. + return 0;
  89887. +}]])],
  89888. + [gl_cv_func_wctob_works=yes],
  89889. + [gl_cv_func_wctob_works=no],
  89890. + [:])
  89891. + fi
  89892. + ])
  89893. + case "$gl_cv_func_wctob_works" in
  89894. + *yes) ;;
  89895. + *) REPLACE_WCTOB=1 ;;
  89896. + esac
  89897. + if test $REPLACE_WCTOB = 1; then
  89898. + gl_REPLACE_WCHAR_H
  89899. + AC_LIBOBJ([wctob])
  89900. + gl_PREREQ_WCTOB
  89901. + else
  89902. +
  89903. + dnl IRIX 6.5 has the wctob() function but does not declare it.
  89904. + AC_CHECK_DECLS([wctob], [], [], [
  89905. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  89906. + <wchar.h>.
  89907. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
  89908. + before <wchar.h>. */
  89909. +#include <stddef.h>
  89910. +#include <stdio.h>
  89911. +#include <time.h>
  89912. +#include <wchar.h>
  89913. +])
  89914. + if test $ac_cv_have_decl_wctob != yes; then
  89915. + HAVE_DECL_WCTOB=0
  89916. + gl_REPLACE_WCHAR_H
  89917. + fi
  89918. + fi
  89919. + fi
  89920. +])
  89921. +m4trace:m4/wctob.m4:131: -1- AC_DEFUN([gl_PREREQ_WCTOB], [
  89922. + :
  89923. +])
  89924. +m4trace:m4/wctomb.m4:7: -1- AC_DEFUN([gl_FUNC_WCTOMB], [
  89925. + AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
  89926. +
  89927. + if false; then
  89928. + REPLACE_WCTOMB=1
  89929. + fi
  89930. + if test $REPLACE_WCTOMB = 1; then
  89931. + AC_LIBOBJ([wctomb])
  89932. + gl_PREREQ_WCTOMB
  89933. + fi
  89934. +])
  89935. +m4trace:m4/wctomb.m4:21: -1- AC_DEFUN([gl_PREREQ_WCTOMB], [
  89936. + :
  89937. +])
  89938. +m4trace:m4/wctype_h.m4:12: -1- AC_DEFUN([gl_WCTYPE_H], [
  89939. + AC_REQUIRE([gl_WCTYPE_H_DEFAULTS])
  89940. + AC_REQUIRE([AC_PROG_CC])
  89941. + AC_REQUIRE([AC_CANONICAL_HOST])
  89942. + AC_CHECK_FUNCS_ONCE([iswcntrl])
  89943. + if test $ac_cv_func_iswcntrl = yes; then
  89944. + HAVE_ISWCNTRL=1
  89945. + else
  89946. + HAVE_ISWCNTRL=0
  89947. + fi
  89948. + AC_SUBST([HAVE_ISWCNTRL])
  89949. +
  89950. + AC_REQUIRE([AC_C_INLINE])
  89951. +
  89952. + AC_REQUIRE([gt_TYPE_WINT_T])
  89953. + if test $gt_cv_c_wint_t = yes; then
  89954. + HAVE_WINT_T=1
  89955. + else
  89956. + HAVE_WINT_T=0
  89957. + fi
  89958. + AC_SUBST([HAVE_WINT_T])
  89959. +
  89960. + gl_CHECK_NEXT_HEADERS([wctype.h])
  89961. + if test $ac_cv_header_wctype_h = yes; then
  89962. + if test $ac_cv_func_iswcntrl = yes; then
  89963. + dnl Linux libc5 has an iswprint function that returns 0 for all arguments.
  89964. + dnl The other functions are likely broken in the same way.
  89965. + AC_CACHE_CHECK([whether iswcntrl works], [gl_cv_func_iswcntrl_works],
  89966. + [
  89967. + AC_RUN_IFELSE(
  89968. + [AC_LANG_SOURCE([[
  89969. + /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
  89970. + included before <wchar.h>.
  89971. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
  89972. + must be included before <wchar.h>. */
  89973. + #include <stddef.h>
  89974. + #include <stdio.h>
  89975. + #include <time.h>
  89976. + #include <wchar.h>
  89977. + #include <wctype.h>
  89978. + int main () { return iswprint ('x') == 0; }
  89979. + ]])],
  89980. + [gl_cv_func_iswcntrl_works=yes], [gl_cv_func_iswcntrl_works=no],
  89981. + [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>
  89982. + #if __GNU_LIBRARY__ == 1
  89983. + Linux libc5 i18n is broken.
  89984. + #endif]], [])],
  89985. + [gl_cv_func_iswcntrl_works=yes], [gl_cv_func_iswcntrl_works=no])
  89986. + ])
  89987. + ])
  89988. + fi
  89989. + HAVE_WCTYPE_H=1
  89990. + else
  89991. + HAVE_WCTYPE_H=0
  89992. + fi
  89993. + AC_SUBST([HAVE_WCTYPE_H])
  89994. +
  89995. + if test "$gl_cv_func_iswcntrl_works" = no; then
  89996. + REPLACE_ISWCNTRL=1
  89997. + else
  89998. + REPLACE_ISWCNTRL=0
  89999. + fi
  90000. + AC_SUBST([REPLACE_ISWCNTRL])
  90001. +
  90002. + if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
  90003. + dnl Redefine all of iswcntrl, ..., towupper in <wctype.h>.
  90004. + :
  90005. + fi
  90006. +
  90007. + dnl We assume that the wctype() and iswctype() functions exist if and only
  90008. + dnl if the type wctype_t is defined in <wchar.h> or in <wctype.h> if that
  90009. + dnl exists.
  90010. + dnl HP-UX 11.00 declares all these in <wchar.h> and lacks <wctype.h>.
  90011. + AC_CACHE_CHECK([for wctype_t], [gl_cv_type_wctype_t],
  90012. + [AC_COMPILE_IFELSE(
  90013. + [AC_LANG_PROGRAM(
  90014. + [[/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
  90015. + included before <wchar.h>.
  90016. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
  90017. + must be included before <wchar.h>. */
  90018. + #include <stddef.h>
  90019. + #include <stdio.h>
  90020. + #include <time.h>
  90021. + #include <wchar.h>
  90022. + #if HAVE_WCTYPE_H
  90023. + # include <wctype.h>
  90024. + #endif
  90025. + wctype_t a;
  90026. + ]],
  90027. + [[]])],
  90028. + [gl_cv_type_wctype_t=yes],
  90029. + [gl_cv_type_wctype_t=no])
  90030. + ])
  90031. + if test $gl_cv_type_wctype_t = no; then
  90032. + HAVE_WCTYPE_T=0
  90033. + fi
  90034. +
  90035. + dnl We assume that the wctrans() and towctrans() functions exist if and only
  90036. + dnl if the type wctrans_t is defined in <wctype.h>.
  90037. + AC_CACHE_CHECK([for wctrans_t], [gl_cv_type_wctrans_t],
  90038. + [AC_COMPILE_IFELSE(
  90039. + [AC_LANG_PROGRAM(
  90040. + [[/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be
  90041. + included before <wchar.h>.
  90042. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h>
  90043. + must be included before <wchar.h>. */
  90044. + #include <stddef.h>
  90045. + #include <stdio.h>
  90046. + #include <time.h>
  90047. + #include <wchar.h>
  90048. + #include <wctype.h>
  90049. + wctrans_t a;
  90050. + ]],
  90051. + [[]])],
  90052. + [gl_cv_type_wctrans_t=yes],
  90053. + [gl_cv_type_wctrans_t=no])
  90054. + ])
  90055. + if test $gl_cv_type_wctrans_t = no; then
  90056. + HAVE_WCTRANS_T=0
  90057. + fi
  90058. +
  90059. + dnl Check for declarations of anything we want to poison if the
  90060. + dnl corresponding gnulib module is not in use.
  90061. + gl_WARN_ON_USE_PREPARE([[
  90062. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  90063. + <wchar.h>.
  90064. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  90065. + included before <wchar.h>. */
  90066. +#if !(defined __GLIBC__ && !defined __UCLIBC__)
  90067. +# include <stddef.h>
  90068. +# include <stdio.h>
  90069. +# include <time.h>
  90070. +# include <wchar.h>
  90071. +#endif
  90072. +#include <wctype.h>
  90073. + ]],
  90074. + [wctype iswctype wctrans towctrans
  90075. + ])
  90076. +])
  90077. +m4trace:m4/wctype_h.m4:153: -1- AC_DEFUN([gl_WCTYPE_MODULE_INDICATOR], [
  90078. + dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
  90079. + AC_REQUIRE([gl_WCTYPE_H_DEFAULTS])
  90080. + gl_MODULE_INDICATOR_SET_VARIABLE([$1])
  90081. + dnl Define it also as a C macro, for the benefit of the unit tests.
  90082. + gl_MODULE_INDICATOR_FOR_TESTS([$1])
  90083. +])
  90084. +m4trace:m4/wctype_h.m4:162: -1- AC_DEFUN([gl_WCTYPE_H_DEFAULTS], [
  90085. + GNULIB_ISWBLANK=0; AC_SUBST([GNULIB_ISWBLANK])
  90086. + GNULIB_WCTYPE=0; AC_SUBST([GNULIB_WCTYPE])
  90087. + GNULIB_ISWCTYPE=0; AC_SUBST([GNULIB_ISWCTYPE])
  90088. + GNULIB_WCTRANS=0; AC_SUBST([GNULIB_WCTRANS])
  90089. + GNULIB_TOWCTRANS=0; AC_SUBST([GNULIB_TOWCTRANS])
  90090. + dnl Assume proper GNU behavior unless another module says otherwise.
  90091. + HAVE_ISWBLANK=1; AC_SUBST([HAVE_ISWBLANK])
  90092. + HAVE_WCTYPE_T=1; AC_SUBST([HAVE_WCTYPE_T])
  90093. + HAVE_WCTRANS_T=1; AC_SUBST([HAVE_WCTRANS_T])
  90094. + REPLACE_ISWBLANK=0; AC_SUBST([REPLACE_ISWBLANK])
  90095. +])
  90096. +m4trace:m4/wint_t.m4:11: -1- AC_DEFUN([gt_TYPE_WINT_T], [
  90097. + AC_CACHE_CHECK([for wint_t], [gt_cv_c_wint_t],
  90098. + [AC_COMPILE_IFELSE(
  90099. + [AC_LANG_PROGRAM(
  90100. + [[
  90101. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  90102. + <wchar.h>.
  90103. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
  90104. + before <wchar.h>. */
  90105. +#include <stddef.h>
  90106. +#include <stdio.h>
  90107. +#include <time.h>
  90108. +#include <wchar.h>
  90109. + wint_t foo = (wchar_t)'\0';]],
  90110. + [[]])],
  90111. + [gt_cv_c_wint_t=yes],
  90112. + [gt_cv_c_wint_t=no])])
  90113. + if test $gt_cv_c_wint_t = yes; then
  90114. + AC_DEFINE([HAVE_WINT_T], [1], [Define if you have the 'wint_t' type.])
  90115. + fi
  90116. +])
  90117. +m4trace:m4/xalloc.m4:7: -1- AC_DEFUN([gl_XALLOC], [
  90118. + AC_LIBOBJ([xmalloc])
  90119. +
  90120. + gl_PREREQ_XALLOC
  90121. + gl_PREREQ_XMALLOC
  90122. +])
  90123. +m4trace:m4/xalloc.m4:16: -1- AC_DEFUN([gl_PREREQ_XALLOC], [
  90124. + AC_REQUIRE([gl_INLINE])
  90125. + :
  90126. +])
  90127. +m4trace:m4/xalloc.m4:22: -1- AC_DEFUN([gl_PREREQ_XMALLOC], [
  90128. + :
  90129. +])
  90130. +m4trace:m4/xsize.m4:7: -1- AC_DEFUN([gl_XSIZE], [
  90131. + dnl Prerequisites of lib/xsize.h.
  90132. + AC_REQUIRE([gl_SIZE_MAX])
  90133. + AC_REQUIRE([AC_C_INLINE])
  90134. + AC_CHECK_HEADERS([stdint.h])
  90135. +])
  90136. +m4trace:m4/xstrndup.m4:7: -1- AC_DEFUN([gl_XSTRNDUP], [
  90137. + gl_PREREQ_XSTRNDUP
  90138. +])
  90139. +m4trace:m4/xstrndup.m4:13: -1- AC_DEFUN([gl_PREREQ_XSTRNDUP], [
  90140. + :
  90141. +])
  90142. +m4trace:m4/xvasprintf.m4:7: -1- AC_DEFUN([gl_XVASPRINTF], [
  90143. + dnl Prerequisites of lib/xvasprintf.c.
  90144. + AC_REQUIRE([AC_C_INLINE])
  90145. +])
  90146. +m4trace:acinclude.m4:12: -1- AC_DEFUN([M4_WITH_DMALLOC], [AC_MSG_CHECKING([if malloc debugging is wanted])
  90147. +AC_ARG_WITH([dmalloc],
  90148. +[AS_HELP_STRING([--with-dmalloc],
  90149. + [use dmalloc, as in dmalloc.tar.gz from
  90150. + @/ftp.antaire.com:antaire/src/dmalloc.])],
  90151. +[if test "$withval" = yes; then
  90152. + AC_MSG_RESULT([yes])
  90153. + AC_DEFINE([WITH_DMALLOC], [1], [Define to 1 if malloc debugging is enabled])
  90154. + LIBS="$LIBS -ldmalloc"
  90155. + LDFLAGS="$LDFLAGS -g"
  90156. +else
  90157. + AC_MSG_RESULT([no])
  90158. +fi], [AC_MSG_RESULT([no])])])
  90159. +m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?A[CHUM]_])
  90160. +m4trace:configure.ac:21: -1- m4_pattern_forbid([_AC_])
  90161. +m4trace:configure.ac:21: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
  90162. +m4trace:configure.ac:21: -1- m4_pattern_allow([^AS_FLAGS$])
  90163. +m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?m4_])
  90164. +m4trace:configure.ac:21: -1- m4_pattern_forbid([^dnl$])
  90165. +m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?AS_])
  90166. +m4trace:configure.ac:21: -1- m4_pattern_allow([^SHELL$])
  90167. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PATH_SEPARATOR$])
  90168. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_NAME$])
  90169. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  90170. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  90171. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_STRING$])
  90172. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  90173. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_URL$])
  90174. +m4trace:configure.ac:21: -1- m4_pattern_allow([^exec_prefix$])
  90175. +m4trace:configure.ac:21: -1- m4_pattern_allow([^prefix$])
  90176. +m4trace:configure.ac:21: -1- m4_pattern_allow([^program_transform_name$])
  90177. +m4trace:configure.ac:21: -1- m4_pattern_allow([^bindir$])
  90178. +m4trace:configure.ac:21: -1- m4_pattern_allow([^sbindir$])
  90179. +m4trace:configure.ac:21: -1- m4_pattern_allow([^libexecdir$])
  90180. +m4trace:configure.ac:21: -1- m4_pattern_allow([^datarootdir$])
  90181. +m4trace:configure.ac:21: -1- m4_pattern_allow([^datadir$])
  90182. +m4trace:configure.ac:21: -1- m4_pattern_allow([^sysconfdir$])
  90183. +m4trace:configure.ac:21: -1- m4_pattern_allow([^sharedstatedir$])
  90184. +m4trace:configure.ac:21: -1- m4_pattern_allow([^localstatedir$])
  90185. +m4trace:configure.ac:21: -1- m4_pattern_allow([^includedir$])
  90186. +m4trace:configure.ac:21: -1- m4_pattern_allow([^oldincludedir$])
  90187. +m4trace:configure.ac:21: -1- m4_pattern_allow([^docdir$])
  90188. +m4trace:configure.ac:21: -1- m4_pattern_allow([^infodir$])
  90189. +m4trace:configure.ac:21: -1- m4_pattern_allow([^htmldir$])
  90190. +m4trace:configure.ac:21: -1- m4_pattern_allow([^dvidir$])
  90191. +m4trace:configure.ac:21: -1- m4_pattern_allow([^pdfdir$])
  90192. +m4trace:configure.ac:21: -1- m4_pattern_allow([^psdir$])
  90193. +m4trace:configure.ac:21: -1- m4_pattern_allow([^libdir$])
  90194. +m4trace:configure.ac:21: -1- m4_pattern_allow([^localedir$])
  90195. +m4trace:configure.ac:21: -1- m4_pattern_allow([^mandir$])
  90196. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_NAME$])
  90197. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  90198. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  90199. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_STRING$])
  90200. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  90201. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_URL$])
  90202. +m4trace:configure.ac:21: -1- m4_pattern_allow([^DEFS$])
  90203. +m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_C$])
  90204. +m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_N$])
  90205. +m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_T$])
  90206. +m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBS$])
  90207. +m4trace:configure.ac:21: -1- m4_pattern_allow([^build_alias$])
  90208. +m4trace:configure.ac:21: -1- m4_pattern_allow([^host_alias$])
  90209. +m4trace:configure.ac:21: -1- m4_pattern_allow([^target_alias$])
  90210. +m4trace:configure.ac:25: -1- AM_INIT_AUTOMAKE([1.11.1 dist-bzip2 dist-xz color-tests parallel-tests
  90211. +silent-rules gnu])
  90212. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
  90213. +m4trace:configure.ac:25: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
  90214. +m4trace:configure.ac:25: -1- AM_AUTOMAKE_VERSION([1.13.2])
  90215. +m4trace:configure.ac:25: -1- _AM_AUTOCONF_VERSION([2.69])
  90216. +m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
  90217. +m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
  90218. +m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_DATA$])
  90219. +m4trace:configure.ac:25: -1- m4_pattern_allow([^am__isrc$])
  90220. +m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([am__isrc])
  90221. +m4trace:configure.ac:25: -1- m4_pattern_allow([^CYGPATH_W$])
  90222. +m4trace:configure.ac:25: -1- _AM_SET_OPTIONS([1.11.1 dist-bzip2 dist-xz color-tests parallel-tests
  90223. +silent-rules gnu])
  90224. +m4trace:configure.ac:25: -1- _AM_SET_OPTION([1.11.1])
  90225. +m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([1.11.1])
  90226. +m4trace:configure.ac:25: -1- _AM_SET_OPTION([dist-bzip2])
  90227. +m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([dist-bzip2])
  90228. +m4trace:configure.ac:25: -1- _AM_SET_OPTION([dist-xz])
  90229. +m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([dist-xz])
  90230. +m4trace:configure.ac:25: -1- _AM_SET_OPTION([color-tests])
  90231. +m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([color-tests])
  90232. +m4trace:configure.ac:25: -1- _AM_SET_OPTION([parallel-tests])
  90233. +m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([parallel-tests])
  90234. +m4trace:configure.ac:25: -1- _AM_SET_OPTION([silent-rules])
  90235. +m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([silent-rules])
  90236. +m4trace:configure.ac:25: -1- _AM_SET_OPTION([gnu])
  90237. +m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([gnu])
  90238. +m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE$])
  90239. +m4trace:configure.ac:25: -1- m4_pattern_allow([^VERSION$])
  90240. +m4trace:configure.ac:25: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  90241. + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])
  90242. +m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([no-define])
  90243. +m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE$])
  90244. +m4trace:configure.ac:25: -1- m4_pattern_allow([^VERSION$])
  90245. +m4trace:configure.ac:25: -1- AM_SANITY_CHECK
  90246. +m4trace:configure.ac:25: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  90247. +m4trace:configure.ac:25: -1- AM_MISSING_HAS_RUN
  90248. +m4trace:configure.ac:25: -1- AM_AUX_DIR_EXPAND
  90249. +m4trace:configure.ac:25: -1- m4_pattern_allow([^ACLOCAL$])
  90250. +m4trace:configure.ac:25: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
  90251. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOCONF$])
  90252. +m4trace:configure.ac:25: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  90253. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOMAKE$])
  90254. +m4trace:configure.ac:25: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
  90255. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOHEADER$])
  90256. +m4trace:configure.ac:25: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
  90257. +m4trace:configure.ac:25: -1- m4_pattern_allow([^MAKEINFO$])
  90258. +m4trace:configure.ac:25: -1- AM_PROG_INSTALL_SH
  90259. +m4trace:configure.ac:25: -1- m4_pattern_allow([^install_sh$])
  90260. +m4trace:configure.ac:25: -1- AM_PROG_INSTALL_STRIP
  90261. +m4trace:configure.ac:25: -1- m4_pattern_allow([^STRIP$])
  90262. +m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
  90263. +m4trace:configure.ac:25: -1- AC_PROG_MKDIR_P
  90264. +m4trace:configure.ac:25: -1- m4_pattern_allow([^MKDIR_P$])
  90265. +m4trace:configure.ac:25: -1- m4_pattern_allow([^MKDIR_P$])
  90266. +m4trace:configure.ac:25: -1- m4_pattern_allow([^mkdir_p$])
  90267. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AWK$])
  90268. +m4trace:configure.ac:25: -1- m4_pattern_allow([^SET_MAKE$])
  90269. +m4trace:configure.ac:25: -1- AM_SET_LEADING_DOT
  90270. +m4trace:configure.ac:25: -1- m4_pattern_allow([^am__leading_dot$])
  90271. +m4trace:configure.ac:25: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  90272. + [_AM_PROG_TAR([v7])])])
  90273. +m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([tar-ustar])
  90274. +m4trace:configure.ac:25: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
  90275. +m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([tar-pax])
  90276. +m4trace:configure.ac:25: -1- _AM_PROG_TAR([v7])
  90277. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AMTAR$])
  90278. +m4trace:configure.ac:25: -1- m4_pattern_allow([^am__tar$])
  90279. +m4trace:configure.ac:25: -1- m4_pattern_allow([^am__untar$])
  90280. +m4trace:configure.ac:25: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
  90281. + [_AM_DEPENDENCIES([CC])],
  90282. + [m4_define([AC_PROG_CC],
  90283. + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  90284. +AC_PROVIDE_IFELSE([AC_PROG_CXX],
  90285. + [_AM_DEPENDENCIES([CXX])],
  90286. + [m4_define([AC_PROG_CXX],
  90287. + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  90288. +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  90289. + [_AM_DEPENDENCIES([OBJC])],
  90290. + [m4_define([AC_PROG_OBJC],
  90291. + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  90292. +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  90293. + [_AM_DEPENDENCIES([OBJCXX])],
  90294. + [m4_define([AC_PROG_OBJCXX],
  90295. + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  90296. +])
  90297. +m4trace:configure.ac:25: -2- _AM_MANGLE_OPTION([no-dependencies])
  90298. +m4trace:configure.ac:25: -1- AM_SILENT_RULES
  90299. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_V$])
  90300. +m4trace:configure.ac:25: -1- AM_SUBST_NOTMAKE([AM_V])
  90301. +m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_V])
  90302. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_DEFAULT_V$])
  90303. +m4trace:configure.ac:25: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  90304. +m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  90305. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
  90306. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_BACKSLASH$])
  90307. +m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
  90308. +m4trace:configure.ac:28: -1- m4_pattern_forbid([^M4_[A-Z]])
  90309. +m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$])
  90310. +m4trace:configure.ac:33: -1- m4_pattern_allow([^CFLAGS$])
  90311. +m4trace:configure.ac:33: -1- m4_pattern_allow([^LDFLAGS$])
  90312. +m4trace:configure.ac:33: -1- m4_pattern_allow([^LIBS$])
  90313. +m4trace:configure.ac:33: -1- m4_pattern_allow([^CPPFLAGS$])
  90314. +m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$])
  90315. +m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$])
  90316. +m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$])
  90317. +m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$])
  90318. +m4trace:configure.ac:33: -1- m4_pattern_allow([^ac_ct_CC$])
  90319. +m4trace:configure.ac:33: -1- m4_pattern_allow([^EXEEXT$])
  90320. +m4trace:configure.ac:33: -1- m4_pattern_allow([^OBJEXT$])
  90321. +m4trace:configure.ac:33: -1- _AM_DEPENDENCIES([CC])
  90322. +m4trace:configure.ac:33: -1- AM_SET_DEPDIR
  90323. +m4trace:configure.ac:33: -1- m4_pattern_allow([^DEPDIR$])
  90324. +m4trace:configure.ac:33: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
  90325. +m4trace:configure.ac:33: -1- AM_MAKE_INCLUDE
  90326. +m4trace:configure.ac:33: -1- m4_pattern_allow([^am__include$])
  90327. +m4trace:configure.ac:33: -1- m4_pattern_allow([^am__quote$])
  90328. +m4trace:configure.ac:33: -1- AM_DEP_TRACK
  90329. +m4trace:configure.ac:33: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  90330. +m4trace:configure.ac:33: -1- m4_pattern_allow([^AMDEP_TRUE$])
  90331. +m4trace:configure.ac:33: -1- m4_pattern_allow([^AMDEP_FALSE$])
  90332. +m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
  90333. +m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
  90334. +m4trace:configure.ac:33: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
  90335. +m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
  90336. +m4trace:configure.ac:33: -1- m4_pattern_allow([^am__nodep$])
  90337. +m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([am__nodep])
  90338. +m4trace:configure.ac:33: -1- m4_pattern_allow([^CCDEPMODE$])
  90339. +m4trace:configure.ac:33: -1- AM_CONDITIONAL([am__fastdepCC], [
  90340. + test "x$enable_dependency_tracking" != xno \
  90341. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  90342. +m4trace:configure.ac:33: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  90343. +m4trace:configure.ac:33: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  90344. +m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  90345. +m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  90346. +m4trace:configure.ac:34: -1- AC_DEFUN([gl_CXX_CHOICE_DEFAULT_NO])
  90347. +m4trace:configure.ac:35: -1- M4_EARLY
  90348. +m4trace:configure.ac:35: -1- m4_pattern_forbid([^gl_[A-Z]])
  90349. +m4trace:configure.ac:35: -1- m4_pattern_allow([^gl_ES$])
  90350. +m4trace:configure.ac:35: -1- m4_pattern_allow([^gl_LIBOBJS$])
  90351. +m4trace:configure.ac:35: -1- m4_pattern_allow([^gl_LTLIBOBJS$])
  90352. +m4trace:configure.ac:35: -1- m4_pattern_allow([^RANLIB$])
  90353. +m4trace:configure.ac:35: -1- AM_PROG_CC_C_O
  90354. +m4trace:configure.ac:35: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$])
  90355. +m4trace:configure.ac:35: -1- AB_INIT
  90356. +m4trace:configure.ac:35: -1- m4_pattern_allow([^build$])
  90357. +m4trace:configure.ac:35: -1- m4_pattern_allow([^build_cpu$])
  90358. +m4trace:configure.ac:35: -1- m4_pattern_allow([^build_vendor$])
  90359. +m4trace:configure.ac:35: -1- m4_pattern_allow([^build_os$])
  90360. +m4trace:configure.ac:35: -1- m4_pattern_allow([^host$])
  90361. +m4trace:configure.ac:35: -1- m4_pattern_allow([^host_cpu$])
  90362. +m4trace:configure.ac:35: -1- m4_pattern_allow([^host_vendor$])
  90363. +m4trace:configure.ac:35: -1- m4_pattern_allow([^host_os$])
  90364. +m4trace:configure.ac:35: -1- gl_USE_SYSTEM_EXTENSIONS
  90365. +m4trace:configure.ac:35: -1- _m4_warn([obsolete], [The macro `AC_GNU_SOURCE' is obsolete.
  90366. +You should run autoupdate.], [../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from...
  90367. +m4/gnulib-comp.m4:22: M4_EARLY is expanded from...
  90368. +configure.ac:35: the top level])
  90369. +m4trace:configure.ac:35: -1- AC_USE_SYSTEM_EXTENSIONS
  90370. +m4trace:configure.ac:35: -1- m4_pattern_allow([^CPP$])
  90371. +m4trace:configure.ac:35: -1- m4_pattern_allow([^CPPFLAGS$])
  90372. +m4trace:configure.ac:35: -1- m4_pattern_allow([^CPP$])
  90373. +m4trace:configure.ac:35: -1- m4_pattern_allow([^GREP$])
  90374. +m4trace:configure.ac:35: -1- m4_pattern_allow([^EGREP$])
  90375. +m4trace:configure.ac:35: -1- m4_pattern_allow([^STDC_HEADERS$])
  90376. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_POSIX_SOURCE$])
  90377. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_POSIX_1_SOURCE$])
  90378. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_MINIX$])
  90379. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_XOPEN_SOURCE$])
  90380. +m4trace:configure.ac:35: -1- m4_pattern_allow([^__EXTENSIONS__$])
  90381. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_ALL_SOURCE$])
  90382. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_GNU_SOURCE$])
  90383. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$])
  90384. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_TANDEM_SOURCE$])
  90385. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_LARGEFILE_SOURCE$])
  90386. +m4trace:configure.ac:35: -1- m4_pattern_allow([^HAVE_FSEEKO$])
  90387. +m4trace:configure.ac:35: -1- gl_FP_IEEE
  90388. +m4trace:configure.ac:35: -1- gl_THREADLIB_EARLY
  90389. +m4trace:configure.ac:35: -1- gl_THREADLIB_EARLY_BODY
  90390. +m4trace:configure.ac:35: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
  90391. +You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
  90392. +m4/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from...
  90393. +m4/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from...
  90394. +m4/gnulib-comp.m4:22: M4_EARLY is expanded from...
  90395. +configure.ac:35: the top level])
  90396. +m4trace:configure.ac:35: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
  90397. +You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
  90398. +m4/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from...
  90399. +m4/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from...
  90400. +m4/gnulib-comp.m4:22: M4_EARLY is expanded from...
  90401. +configure.ac:35: the top level])
  90402. +m4trace:configure.ac:40: -1- gl_ASSERT_NO_GNULIB_POSIXCHECK
  90403. +m4trace:configure.ac:40: -1- AC_DEFUN([gl_WARN_ON_USE_PREPARE], [])
  90404. +m4trace:configure.ac:43: -1- gl_DISABLE_THREADS
  90405. +m4trace:configure.ac:57: -1- gl_WARN_ADD([-Werror], [WERROR_CFLAGS])
  90406. +m4trace:configure.ac:57: -1- m4_pattern_allow([^WERROR_CFLAGS$])
  90407. +m4trace:configure.ac:58: -1- m4_pattern_allow([^WERROR_CFLAGS$])
  90408. +m4trace:configure.ac:77: -1- gl_MANYWARN_ALL_GCC([ws])
  90409. +m4trace:configure.ac:78: -1- gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw])
  90410. +m4trace:configure.ac:80: -1- gl_WARN_ADD([$w])
  90411. +m4trace:configure.ac:83: -1- gl_WARN_ADD([-fdiagnostics-show-option])
  90412. +m4trace:configure.ac:84: -1- gl_WARN_ADD([-funit-at-a-time])
  90413. +m4trace:configure.ac:86: -1- m4_pattern_allow([^WARN_CFLAGS$])
  90414. +m4trace:configure.ac:88: -1- m4_pattern_allow([^_FORTIFY_SOURCE$])
  90415. +m4trace:configure.ac:95: -1- AC_TYPE_LONG_LONG_INT
  90416. +m4trace:configure.ac:95: -1- AC_TYPE_UNSIGNED_LONG_LONG_INT
  90417. +m4trace:configure.ac:95: -1- _AC_TYPE_LONG_LONG_SNIPPET
  90418. +m4trace:configure.ac:95: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$])
  90419. +m4trace:configure.ac:95: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$])
  90420. +m4trace:configure.ac:96: -1- AC_TYPE_UNSIGNED_LONG_LONG_INT
  90421. +m4trace:configure.ac:96: -1- _AC_TYPE_LONG_LONG_SNIPPET
  90422. +m4trace:configure.ac:96: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$])
  90423. +m4trace:configure.ac:100: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$])
  90424. +m4trace:configure.ac:104: -1- M4_INIT
  90425. +m4trace:configure.ac:104: -1- AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
  90426. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GL_COND_LIBTOOL_TRUE$])
  90427. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GL_COND_LIBTOOL_FALSE$])
  90428. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_TRUE])
  90429. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_FALSE])
  90430. +m4trace:configure.ac:104: -1- gl_COMMON
  90431. +m4trace:configure.ac:104: -1- gl_00GNULIB
  90432. +m4trace:configure.ac:104: -1- gl_COMMON_BODY
  90433. +m4trace:configure.ac:104: -1- gl_FUNC_ALLOCA
  90434. +m4trace:configure.ac:104: -1- m4_pattern_allow([^size_t$])
  90435. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ALLOCA_H$])
  90436. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ALLOCA$])
  90437. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ALLOCA$])
  90438. +m4trace:configure.ac:104: -1- m4_pattern_allow([^C_ALLOCA$])
  90439. +m4trace:configure.ac:104: -1- m4_pattern_allow([^CRAY_STACKSEG_END$])
  90440. +m4trace:configure.ac:104: -1- m4_pattern_allow([^STACK_DIRECTION$])
  90441. +m4trace:configure.ac:104: -1- gl_PREREQ_ALLOCA
  90442. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ALLOCA$])
  90443. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ALLOCA_H$])
  90444. +m4trace:configure.ac:104: -1- gl_ASSERT
  90445. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NDEBUG$])
  90446. +m4trace:configure.ac:104: -1- gl_FUNC_BTOWC
  90447. +m4trace:configure.ac:104: -1- gl_WCHAR_H_DEFAULTS
  90448. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_BTOWC$])
  90449. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCTOB$])
  90450. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSINIT$])
  90451. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBRTOWC$])
  90452. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBRLEN$])
  90453. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSRTOWCS$])
  90454. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSNRTOWCS$])
  90455. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCRTOMB$])
  90456. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSRTOMBS$])
  90457. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNRTOMBS$])
  90458. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCWIDTH$])
  90459. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMCHR$])
  90460. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMCMP$])
  90461. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMCPY$])
  90462. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMMOVE$])
  90463. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMSET$])
  90464. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSLEN$])
  90465. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNLEN$])
  90466. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCPY$])
  90467. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCPCPY$])
  90468. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNCPY$])
  90469. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCPNCPY$])
  90470. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCAT$])
  90471. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNCAT$])
  90472. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCMP$])
  90473. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNCMP$])
  90474. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCASECMP$])
  90475. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNCASECMP$])
  90476. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCOLL$])
  90477. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSXFRM$])
  90478. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSDUP$])
  90479. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCHR$])
  90480. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSRCHR$])
  90481. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCSPN$])
  90482. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSSPN$])
  90483. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSPBRK$])
  90484. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSSTR$])
  90485. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSTOK$])
  90486. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSWIDTH$])
  90487. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_BTOWC$])
  90488. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSINIT$])
  90489. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBRTOWC$])
  90490. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBRLEN$])
  90491. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSRTOWCS$])
  90492. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSNRTOWCS$])
  90493. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCRTOMB$])
  90494. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSRTOMBS$])
  90495. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNRTOMBS$])
  90496. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMCHR$])
  90497. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMCMP$])
  90498. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMCPY$])
  90499. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMMOVE$])
  90500. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMSET$])
  90501. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSLEN$])
  90502. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNLEN$])
  90503. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCPY$])
  90504. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCPCPY$])
  90505. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNCPY$])
  90506. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCPNCPY$])
  90507. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCAT$])
  90508. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNCAT$])
  90509. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCMP$])
  90510. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNCMP$])
  90511. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCASECMP$])
  90512. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNCASECMP$])
  90513. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCOLL$])
  90514. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSXFRM$])
  90515. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSDUP$])
  90516. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCHR$])
  90517. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSRCHR$])
  90518. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCSPN$])
  90519. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSSPN$])
  90520. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSPBRK$])
  90521. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSSTR$])
  90522. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSTOK$])
  90523. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSWIDTH$])
  90524. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_WCTOB$])
  90525. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_WCWIDTH$])
  90526. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBSTATE_T$])
  90527. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_BTOWC$])
  90528. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCTOB$])
  90529. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBSINIT$])
  90530. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBRTOWC$])
  90531. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBRLEN$])
  90532. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBSRTOWCS$])
  90533. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBSNRTOWCS$])
  90534. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCRTOMB$])
  90535. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCSRTOMBS$])
  90536. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCSNRTOMBS$])
  90537. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCWIDTH$])
  90538. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCSWIDTH$])
  90539. +m4trace:configure.ac:104: -1- gl_WCHAR_H_INLINE_OK
  90540. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_btowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" btowc"])])
  90541. +_AC_FUNCS_EXPANSION])
  90542. +m4trace:configure.ac:104: -1- gt_LOCALE_FR
  90543. +m4trace:configure.ac:104: -1- AM_LANGINFO_CODESET
  90544. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$])
  90545. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$])
  90546. +m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H
  90547. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([btowc.c])
  90548. +m4trace:configure.ac:104: -1- gl_PREREQ_BTOWC
  90549. +m4trace:configure.ac:104: -1- gl_WCHAR_MODULE_INDICATOR([btowc])
  90550. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([btowc])
  90551. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  90552. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([btowc])
  90553. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_BTOWC$])
  90554. +m4trace:configure.ac:104: -1- gl_C_STACK
  90555. +m4trace:configure.ac:104: -1- gl_PREREQ_C_STACK
  90556. +m4trace:configure.ac:104: -1- AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC
  90557. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_setrlimit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" setrlimit"])])
  90558. +_AC_FUNCS_EXPANSION])
  90559. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_ucontext_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" ucontext.h"])])
  90560. +_AC_HEADERS_EXPANSION])
  90561. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FAULT_YIELDS_SIGBUS$])
  90562. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STACK_OVERFLOW_HANDLING$])
  90563. +m4trace:configure.ac:104: -1- m4_pattern_allow([^SIGALTSTACK_SS_REVERSED$])
  90564. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_XSI_STACK_OVERFLOW_HEURISTIC$])
  90565. +m4trace:configure.ac:104: -1- gl_LIBSIGSEGV
  90566. +m4trace:configure.ac:104: -1- AC_LIB_HAVE_LINKFLAGS([sigsegv], [], [#include <sigsegv.h>], [sigsegv_deinstall_handler();], [no, consider installing GNU libsigsegv])
  90567. +m4trace:configure.ac:104: -1- AC_LIB_PREPARE_PREFIX
  90568. +m4trace:configure.ac:104: -1- AC_LIB_RPATH
  90569. +m4trace:configure.ac:104: -1- AC_LIB_PROG_LD
  90570. +m4trace:configure.ac:104: -1- AC_LIB_PROG_LD_GNU
  90571. +m4trace:configure.ac:104: -1- AC_LIB_LINKFLAGS_BODY([sigsegv], [])
  90572. +m4trace:configure.ac:104: -1- AC_LIB_PREPARE_MULTILIB
  90573. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([
  90574. + eval additional_includedir=\"$includedir\"
  90575. + eval additional_libdir=\"$libdir\"
  90576. + ])
  90577. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([
  90578. + eval additional_includedir=\"$includedir\"
  90579. + eval additional_libdir=\"$libdir\"
  90580. + ])
  90581. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  90582. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  90583. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  90584. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  90585. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  90586. +m4trace:configure.ac:104: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCSIGSEGV])
  90587. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  90588. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBSIGSEGV$])
  90589. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBSIGSEGV$])
  90590. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBSIGSEGV$])
  90591. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBSIGSEGV$])
  90592. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBSIGSEGV_PREFIX$])
  90593. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_sigaltstack], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" sigaltstack"])])
  90594. +_AC_FUNCS_EXPANSION])
  90595. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SIGALTSTACK$])
  90596. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])])
  90597. +_AC_HEADERS_EXPANSION])
  90598. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_ucontext_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" ucontext.h"])])
  90599. +_AC_HEADERS_EXPANSION])
  90600. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STACK_T$])
  90601. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBCSTACK$])
  90602. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBCSTACK$])
  90603. +m4trace:configure.ac:104: -1- gl_CANONICALIZE_LGPL
  90604. +m4trace:configure.ac:104: -1- gl_CANONICALIZE_LGPL_SEPARATE
  90605. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_canonicalize_file_name], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" canonicalize_file_name"])])
  90606. +_AC_FUNCS_EXPANSION])
  90607. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_getcwd], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" getcwd"])])
  90608. +_AC_FUNCS_EXPANSION])
  90609. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_readlink], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" readlink"])])
  90610. +_AC_FUNCS_EXPANSION])
  90611. +m4trace:configure.ac:104: -1- gl_DOUBLE_SLASH_ROOT
  90612. +m4trace:configure.ac:104: -1- m4_pattern_allow([^DOUBLE_SLASH_IS_DISTINCT_ROOT$])
  90613. +m4trace:configure.ac:104: -1- gl_FUNC_REALPATH_WORKS
  90614. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_realpath], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" realpath"])])
  90615. +_AC_FUNCS_EXPANSION])
  90616. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FUNC_REALPATH_WORKS$])
  90617. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])])
  90618. +_AC_HEADERS_EXPANSION])
  90619. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([canonicalize-lgpl.c])
  90620. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([canonicalize-lgpl.c])
  90621. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([canonicalize-lgpl])
  90622. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CANONICALIZE_LGPL$])
  90623. +m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION
  90624. +m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
  90625. +m4trace:configure.ac:104: -1- gl_STDLIB_H_DEFAULTS
  90626. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB__EXIT$])
  90627. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ATOLL$])
  90628. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CALLOC_POSIX$])
  90629. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CANONICALIZE_FILE_NAME$])
  90630. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETLOADAVG$])
  90631. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETSUBOPT$])
  90632. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GRANTPT$])
  90633. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MALLOC_POSIX$])
  90634. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBTOWC$])
  90635. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKDTEMP$])
  90636. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKOSTEMP$])
  90637. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKOSTEMPS$])
  90638. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKSTEMP$])
  90639. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKSTEMPS$])
  90640. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PTSNAME$])
  90641. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PUTENV$])
  90642. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RANDOM_R$])
  90643. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_REALLOC_POSIX$])
  90644. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_REALPATH$])
  90645. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RPMATCH$])
  90646. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SETENV$])
  90647. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRTOD$])
  90648. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRTOLL$])
  90649. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRTOULL$])
  90650. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SYSTEM_POSIX$])
  90651. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNLOCKPT$])
  90652. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNSETENV$])
  90653. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCTOMB$])
  90654. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__EXIT$])
  90655. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ATOLL$])
  90656. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_CANONICALIZE_FILE_NAME$])
  90657. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETLOADAVG$])
  90658. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETSUBOPT$])
  90659. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GRANTPT$])
  90660. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKDTEMP$])
  90661. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKOSTEMP$])
  90662. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKOSTEMPS$])
  90663. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKSTEMP$])
  90664. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKSTEMPS$])
  90665. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PTSNAME$])
  90666. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RANDOM_H$])
  90667. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RANDOM_R$])
  90668. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_REALPATH$])
  90669. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RPMATCH$])
  90670. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SETENV$])
  90671. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SETENV$])
  90672. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRTOD$])
  90673. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRTOLL$])
  90674. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRTOULL$])
  90675. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_RANDOM_DATA$])
  90676. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_LOADAVG_H$])
  90677. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNLOCKPT$])
  90678. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_UNSETENV$])
  90679. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CALLOC$])
  90680. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CANONICALIZE_FILE_NAME$])
  90681. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MALLOC$])
  90682. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBTOWC$])
  90683. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKSTEMP$])
  90684. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PUTENV$])
  90685. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_REALLOC$])
  90686. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_REALPATH$])
  90687. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SETENV$])
  90688. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRTOD$])
  90689. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_UNSETENV$])
  90690. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCTOMB$])
  90691. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([canonicalize_file_name])
  90692. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  90693. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([canonicalize_file_name])
  90694. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_CANONICALIZE_FILE_NAME$])
  90695. +m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([realpath])
  90696. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([realpath])
  90697. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  90698. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([realpath])
  90699. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_REALPATH$])
  90700. +m4trace:configure.ac:104: -1- m4_pattern_allow([^SIGNAL_SAFE_LIST$])
  90701. +m4trace:configure.ac:104: -1- gl_CLOEXEC
  90702. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([cloexec.c])
  90703. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
  90704. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_CLOEXEC$])
  90705. +m4trace:configure.ac:104: -1- gl_FUNC_CLOSE
  90706. +m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([close])
  90707. +m4trace:configure.ac:104: -1- gl_UNISTD_H_DEFAULTS
  90708. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CHOWN$])
  90709. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CLOSE$])
  90710. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DUP2$])
  90711. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DUP3$])
  90712. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ENVIRON$])
  90713. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_EUIDACCESS$])
  90714. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FACCESSAT$])
  90715. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCHDIR$])
  90716. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCHOWNAT$])
  90717. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FSYNC$])
  90718. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FTRUNCATE$])
  90719. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETCWD$])
  90720. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETDOMAINNAME$])
  90721. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETDTABLESIZE$])
  90722. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETGROUPS$])
  90723. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETHOSTNAME$])
  90724. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETLOGIN$])
  90725. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETLOGIN_R$])
  90726. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETPAGESIZE$])
  90727. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETUSERSHELL$])
  90728. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LCHOWN$])
  90729. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LINK$])
  90730. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LINKAT$])
  90731. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LSEEK$])
  90732. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PIPE$])
  90733. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PIPE2$])
  90734. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PREAD$])
  90735. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PWRITE$])
  90736. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_READLINK$])
  90737. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_READLINKAT$])
  90738. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RMDIR$])
  90739. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SLEEP$])
  90740. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SYMLINK$])
  90741. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SYMLINKAT$])
  90742. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TTYNAME_R$])
  90743. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNISTD_H_GETOPT$])
  90744. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNISTD_H_SIGPIPE$])
  90745. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNLINK$])
  90746. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNLINKAT$])
  90747. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_USLEEP$])
  90748. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WRITE$])
  90749. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_CHOWN$])
  90750. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DUP2$])
  90751. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DUP3$])
  90752. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_EUIDACCESS$])
  90753. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FACCESSAT$])
  90754. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FCHDIR$])
  90755. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FCHOWNAT$])
  90756. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FSYNC$])
  90757. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FTRUNCATE$])
  90758. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETDTABLESIZE$])
  90759. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETGROUPS$])
  90760. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$])
  90761. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETLOGIN$])
  90762. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$])
  90763. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LCHOWN$])
  90764. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LINK$])
  90765. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LINKAT$])
  90766. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PIPE$])
  90767. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PIPE2$])
  90768. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PREAD$])
  90769. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PWRITE$])
  90770. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_READLINK$])
  90771. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_READLINKAT$])
  90772. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SLEEP$])
  90773. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYMLINK$])
  90774. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYMLINKAT$])
  90775. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNLINKAT$])
  90776. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_USLEEP$])
  90777. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ENVIRON$])
  90778. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FCHDIR$])
  90779. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETDOMAINNAME$])
  90780. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETLOGIN_R$])
  90781. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETPAGESIZE$])
  90782. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETUSERSHELL$])
  90783. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TTYNAME_R$])
  90784. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_OS_H$])
  90785. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$])
  90786. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CHOWN$])
  90787. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CLOSE$])
  90788. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_DUP$])
  90789. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_DUP2$])
  90790. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FCHOWNAT$])
  90791. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETCWD$])
  90792. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETDOMAINNAME$])
  90793. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETLOGIN_R$])
  90794. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETGROUPS$])
  90795. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETPAGESIZE$])
  90796. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LCHOWN$])
  90797. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LINK$])
  90798. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LINKAT$])
  90799. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LSEEK$])
  90800. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PREAD$])
  90801. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PWRITE$])
  90802. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_READLINK$])
  90803. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_RMDIR$])
  90804. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SLEEP$])
  90805. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SYMLINK$])
  90806. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TTYNAME_R$])
  90807. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_UNLINK$])
  90808. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_UNLINKAT$])
  90809. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_USLEEP$])
  90810. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WRITE$])
  90811. +m4trace:configure.ac:104: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H$])
  90812. +m4trace:configure.ac:104: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS$])
  90813. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([close])
  90814. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  90815. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([close])
  90816. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_CLOSE$])
  90817. +m4trace:configure.ac:104: -1- gl_CLOSE_STREAM
  90818. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([close-stream.c])
  90819. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([close-stream])
  90820. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CLOSE_STREAM$])
  90821. +m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION
  90822. +m4trace:configure.ac:104: -1- gl_CLOSEIN
  90823. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([closein.c])
  90824. +m4trace:configure.ac:104: -1- gl_CLOSEOUT
  90825. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([closeout.c])
  90826. +m4trace:configure.ac:104: -1- gl_CONFIG_H
  90827. +m4trace:configure.ac:104: -1- gl_CONFIGMAKE_PREP
  90828. +m4trace:configure.ac:104: -1- m4_pattern_allow([^datarootdir$])
  90829. +m4trace:configure.ac:104: -1- m4_pattern_allow([^docdir$])
  90830. +m4trace:configure.ac:104: -1- m4_pattern_allow([^htmldir$])
  90831. +m4trace:configure.ac:104: -1- m4_pattern_allow([^dvidir$])
  90832. +m4trace:configure.ac:104: -1- m4_pattern_allow([^pdfdir$])
  90833. +m4trace:configure.ac:104: -1- m4_pattern_allow([^psdir$])
  90834. +m4trace:configure.ac:104: -1- m4_pattern_allow([^lispdir$])
  90835. +m4trace:configure.ac:104: -1- m4_pattern_allow([^localedir$])
  90836. +m4trace:configure.ac:104: -1- m4_pattern_allow([^pkglibexecdir$])
  90837. +m4trace:configure.ac:104: -1- gl_DIRNAME
  90838. +m4trace:configure.ac:104: -1- gl_DIRNAME_LGPL
  90839. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([basename-lgpl.c])
  90840. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([dirname-lgpl.c])
  90841. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([stripslash.c])
  90842. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([basename.c])
  90843. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([dirname.c])
  90844. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([dirname])
  90845. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DIRNAME$])
  90846. +m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION
  90847. +m4trace:configure.ac:104: -1- gl_DIRNAME_LGPL
  90848. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([basename-lgpl.c])
  90849. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([dirname-lgpl.c])
  90850. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([stripslash.c])
  90851. +m4trace:configure.ac:104: -1- gl_DOUBLE_SLASH_ROOT
  90852. +m4trace:configure.ac:104: -1- m4_pattern_allow([^DOUBLE_SLASH_IS_DISTINCT_ROOT$])
  90853. +m4trace:configure.ac:104: -1- gl_FUNC_DUP2
  90854. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_dup2], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" dup2"])])
  90855. +_AC_FUNCS_EXPANSION])
  90856. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_fcntl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fcntl"])])
  90857. +_AC_FUNCS_EXPANSION])
  90858. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([dup2.c])
  90859. +m4trace:configure.ac:104: -1- gl_REPLACE_DUP2
  90860. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([dup2.c])
  90861. +m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([dup2])
  90862. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([dup2])
  90863. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  90864. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([dup2])
  90865. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_DUP2$])
  90866. +m4trace:configure.ac:104: -1- gl_ENVIRON
  90867. +m4trace:configure.ac:104: -1- gt_CHECK_VAR_DECL([#include <unistd.h>], [environ])
  90868. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ENVIRON_DECL$])
  90869. +m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([environ])
  90870. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([environ])
  90871. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  90872. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([environ])
  90873. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_ENVIRON$])
  90874. +m4trace:configure.ac:104: -1- gl_HEADER_ERRNO_H
  90875. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([errno.h])
  90876. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([errno.h], [assume])
  90877. +m4trace:configure.ac:104: -1- gl_INCLUDE_NEXT
  90878. +m4trace:configure.ac:104: -1- m4_pattern_allow([^INCLUDE_NEXT$])
  90879. +m4trace:configure.ac:104: -1- m4_pattern_allow([^INCLUDE_NEXT_AS_FIRST_DIRECTIVE$])
  90880. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PRAGMA_SYSTEM_HEADER$])
  90881. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PRAGMA_COLUMNS$])
  90882. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_ERRNO_H$])
  90883. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_ERRNO_H$])
  90884. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ERRNO_H$])
  90885. +m4trace:configure.ac:104: -1- gl_REPLACE_ERRNO_VALUE([EMULTIHOP])
  90886. +m4trace:configure.ac:104: -1- AC_COMPUTE_INT([gl_cv_header_errno_h_EMULTIHOP], [EMULTIHOP], [
  90887. +#define _XOPEN_SOURCE_EXTENDED 1
  90888. +#include <errno.h>
  90889. +/* The following two lines are a workaround against an autoconf-2.52 bug. */
  90890. +#include <stdio.h>
  90891. +#include <stdlib.h>
  90892. +])
  90893. +m4trace:configure.ac:104: -1- m4_pattern_allow([^EMULTIHOP_HIDDEN$])
  90894. +m4trace:configure.ac:104: -1- m4_pattern_allow([^EMULTIHOP_VALUE$])
  90895. +m4trace:configure.ac:104: -1- gl_REPLACE_ERRNO_VALUE([ENOLINK])
  90896. +m4trace:configure.ac:104: -1- AC_COMPUTE_INT([gl_cv_header_errno_h_ENOLINK], [ENOLINK], [
  90897. +#define _XOPEN_SOURCE_EXTENDED 1
  90898. +#include <errno.h>
  90899. +/* The following two lines are a workaround against an autoconf-2.52 bug. */
  90900. +#include <stdio.h>
  90901. +#include <stdlib.h>
  90902. +])
  90903. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ENOLINK_HIDDEN$])
  90904. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ENOLINK_VALUE$])
  90905. +m4trace:configure.ac:104: -1- gl_REPLACE_ERRNO_VALUE([EOVERFLOW])
  90906. +m4trace:configure.ac:104: -1- AC_COMPUTE_INT([gl_cv_header_errno_h_EOVERFLOW], [EOVERFLOW], [
  90907. +#define _XOPEN_SOURCE_EXTENDED 1
  90908. +#include <errno.h>
  90909. +/* The following two lines are a workaround against an autoconf-2.52 bug. */
  90910. +#include <stdio.h>
  90911. +#include <stdlib.h>
  90912. +])
  90913. +m4trace:configure.ac:104: -1- m4_pattern_allow([^EOVERFLOW_HIDDEN$])
  90914. +m4trace:configure.ac:104: -1- m4_pattern_allow([^EOVERFLOW_VALUE$])
  90915. +m4trace:configure.ac:104: -1- gl_ERROR
  90916. +m4trace:configure.ac:104: -1- AC_FUNC_ERROR_AT_LINE
  90917. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([error.c])
  90918. +m4trace:configure.ac:104: -1- gl_PREREQ_ERROR
  90919. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$])
  90920. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRERROR_R$])
  90921. +m4trace:configure.ac:104: -1- m4_pattern_allow([^STRERROR_R_CHAR_P$])
  90922. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=error:3:c-format])
  90923. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION_INIT
  90924. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format])
  90925. +m4trace:configure.ac:104: -1- gl_EXECUTE
  90926. +m4trace:configure.ac:104: -1- m4_pattern_allow([^mode_t$])
  90927. +m4trace:configure.ac:104: -1- gl_FATAL_SIGNAL
  90928. +m4trace:configure.ac:104: -1- gt_TYPE_SIG_ATOMIC_T
  90929. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIG_ATOMIC_T$])
  90930. +m4trace:configure.ac:104: -1- m4_pattern_allow([^sig_atomic_t$])
  90931. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])])
  90932. +_AC_HEADERS_EXPANSION])
  90933. +m4trace:configure.ac:104: -1- gl_PREREQ_SIG_HANDLER_H
  90934. +m4trace:configure.ac:104: -1- gl_FUNC_FCLOSE
  90935. +m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([fclose])
  90936. +m4trace:configure.ac:104: -1- gl_STDIO_H_DEFAULTS
  90937. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DPRINTF$])
  90938. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCLOSE$])
  90939. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FFLUSH$])
  90940. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FOPEN$])
  90941. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPRINTF$])
  90942. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPRINTF_POSIX$])
  90943. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPURGE$])
  90944. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPUTC$])
  90945. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPUTS$])
  90946. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FREOPEN$])
  90947. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FSEEK$])
  90948. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FSEEKO$])
  90949. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FTELL$])
  90950. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FTELLO$])
  90951. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FWRITE$])
  90952. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETDELIM$])
  90953. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETLINE$])
  90954. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF$])
  90955. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF_POSIX$])
  90956. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PERROR$])
  90957. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POPEN$])
  90958. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PRINTF$])
  90959. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PRINTF_POSIX$])
  90960. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PUTC$])
  90961. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PUTCHAR$])
  90962. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PUTS$])
  90963. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_REMOVE$])
  90964. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RENAME$])
  90965. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RENAMEAT$])
  90966. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SNPRINTF$])
  90967. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SPRINTF_POSIX$])
  90968. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STDIO_H_SIGPIPE$])
  90969. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TMPFILE$])
  90970. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VASPRINTF$])
  90971. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VDPRINTF$])
  90972. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VFPRINTF$])
  90973. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VFPRINTF_POSIX$])
  90974. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VPRINTF$])
  90975. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VPRINTF_POSIX$])
  90976. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VSNPRINTF$])
  90977. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VSPRINTF_POSIX$])
  90978. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FPURGE$])
  90979. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FSEEKO$])
  90980. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FTELLO$])
  90981. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETDELIM$])
  90982. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETLINE$])
  90983. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_OBSTACK_PRINTF$])
  90984. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$])
  90985. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_VSNPRINTF$])
  90986. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DPRINTF$])
  90987. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FSEEKO$])
  90988. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FTELLO$])
  90989. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RENAMEAT$])
  90990. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_VASPRINTF$])
  90991. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_VDPRINTF$])
  90992. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_DPRINTF$])
  90993. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FCLOSE$])
  90994. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FFLUSH$])
  90995. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FOPEN$])
  90996. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FPRINTF$])
  90997. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FPURGE$])
  90998. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FREOPEN$])
  90999. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FSEEK$])
  91000. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FSEEKO$])
  91001. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FTELL$])
  91002. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FTELLO$])
  91003. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETDELIM$])
  91004. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETLINE$])
  91005. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_OBSTACK_PRINTF$])
  91006. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PERROR$])
  91007. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_POPEN$])
  91008. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PRINTF$])
  91009. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_REMOVE$])
  91010. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_RENAME$])
  91011. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_RENAMEAT$])
  91012. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SNPRINTF$])
  91013. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SPRINTF$])
  91014. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STDIO_WRITE_FUNCS$])
  91015. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TMPFILE$])
  91016. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VASPRINTF$])
  91017. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VDPRINTF$])
  91018. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VFPRINTF$])
  91019. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VPRINTF$])
  91020. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VSNPRINTF$])
  91021. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VSPRINTF$])
  91022. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fclose])
  91023. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91024. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([fclose])
  91025. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FCLOSE$])
  91026. +m4trace:configure.ac:104: -1- gl_FUNC_FCNTL
  91027. +m4trace:configure.ac:104: -1- gl_FCNTL_H_DEFAULTS
  91028. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCNTL$])
  91029. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_OPEN$])
  91030. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_OPENAT$])
  91031. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FCNTL$])
  91032. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_OPENAT$])
  91033. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FCNTL$])
  91034. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_OPEN$])
  91035. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_OPENAT$])
  91036. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_fcntl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fcntl"])])
  91037. +_AC_FUNCS_EXPANSION])
  91038. +m4trace:configure.ac:104: -1- gl_REPLACE_FCNTL
  91039. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_fcntl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fcntl"])])
  91040. +_AC_FUNCS_EXPANSION])
  91041. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([fcntl.c])
  91042. +m4trace:configure.ac:104: -1- gl_REPLACE_FCNTL
  91043. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_fcntl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fcntl"])])
  91044. +_AC_FUNCS_EXPANSION])
  91045. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([fcntl.c])
  91046. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FCNTL_DUPFD_BUGGY$])
  91047. +m4trace:configure.ac:104: -1- gl_REPLACE_FCNTL
  91048. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_fcntl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fcntl"])])
  91049. +_AC_FUNCS_EXPANSION])
  91050. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([fcntl.c])
  91051. +m4trace:configure.ac:104: -1- gl_FCNTL_MODULE_INDICATOR([fcntl])
  91052. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fcntl])
  91053. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91054. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([fcntl])
  91055. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FCNTL$])
  91056. +m4trace:configure.ac:104: -1- gl_FCNTL_H
  91057. +m4trace:configure.ac:104: -1- gl_FCNTL_O_FLAGS
  91058. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WORKING_O_NOATIME$])
  91059. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WORKING_O_NOFOLLOW$])
  91060. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([fcntl.h])
  91061. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([fcntl.h], [assume])
  91062. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_FCNTL_H$])
  91063. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_FCNTL_H$])
  91064. +m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include <fcntl.h>
  91065. + ]], [fcntl openat])
  91066. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([fd-safer-flag])
  91067. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FD_SAFER_FLAG$])
  91068. +m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION
  91069. +m4trace:configure.ac:104: -1- gl_FUNC_FFLUSH
  91070. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FUNC_FFLUSH_STDIN$])
  91071. +m4trace:configure.ac:104: -1- gl_REPLACE_FFLUSH
  91072. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([fflush.c])
  91073. +m4trace:configure.ac:104: -1- gl_PREREQ_FFLUSH
  91074. +m4trace:configure.ac:104: -1- gl_REPLACE_FSEEKO
  91075. +m4trace:configure.ac:104: -1- gl_HAVE_FSEEKO
  91076. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([fseeko.c])
  91077. +m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([fflush])
  91078. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fflush])
  91079. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91080. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([fflush])
  91081. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FFLUSH$])
  91082. +m4trace:configure.ac:104: -1- gl_FILE_NAME_CONCAT
  91083. +m4trace:configure.ac:104: -1- gl_FILE_NAME_CONCAT_LGPL
  91084. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([filenamecat-lgpl.c])
  91085. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mempcpy], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mempcpy"])])
  91086. +_AC_FUNCS_EXPANSION])
  91087. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([filenamecat.c])
  91088. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([filenamecat])
  91089. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FILENAMECAT$])
  91090. +m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION
  91091. +m4trace:configure.ac:104: -1- gl_FILE_NAME_CONCAT_LGPL
  91092. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([filenamecat-lgpl.c])
  91093. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mempcpy], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mempcpy"])])
  91094. +_AC_FUNCS_EXPANSION])
  91095. +m4trace:configure.ac:104: -1- gl_FLOAT_H
  91096. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([float.h])
  91097. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([float.h], [assume])
  91098. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_FLOAT_H$])
  91099. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_FLOAT_H$])
  91100. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLOAT_H$])
  91101. +m4trace:configure.ac:104: -1- gl_FUNC_FOPEN
  91102. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FOPEN_TRAILING_SLASH_BUG$])
  91103. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([fopen.c])
  91104. +m4trace:configure.ac:104: -1- gl_PREREQ_FOPEN
  91105. +m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([fopen])
  91106. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fopen])
  91107. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91108. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([fopen])
  91109. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FOPEN$])
  91110. +m4trace:configure.ac:104: -1- gl_FOPEN_SAFER
  91111. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([fopen-safer.c])
  91112. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([fopen-safer])
  91113. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FOPEN_SAFER$])
  91114. +m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION
  91115. +m4trace:configure.ac:104: -1- gl_FUNC_FPENDING
  91116. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_stdio_ext_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" stdio_ext.h"])])
  91117. +_AC_HEADERS_EXPANSION])
  91118. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func___fpending], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" __fpending"])])
  91119. +_AC_FUNCS_EXPANSION])
  91120. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL___FPENDING$])
  91121. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PENDING_OUTPUT_N_BYTES$])
  91122. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([fpending.c])
  91123. +m4trace:configure.ac:104: -1- gl_FUNC_FPURGE
  91124. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_fpurge], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" fpurge"])])
  91125. +_AC_FUNCS_EXPANSION])
  91126. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func___fpurge], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" __fpurge"])])
  91127. +_AC_FUNCS_EXPANSION])
  91128. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FPURGE$])
  91129. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([fpurge.c])
  91130. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([fpurge.c])
  91131. +m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([fpurge])
  91132. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fpurge])
  91133. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91134. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([fpurge])
  91135. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FPURGE$])
  91136. +m4trace:configure.ac:104: -1- gl_FUNC_FREADING
  91137. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func___freading], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" __freading"])])
  91138. +_AC_FUNCS_EXPANSION])
  91139. +m4trace:configure.ac:104: -1- gl_FUNC_FREXP_NO_LIBM
  91140. +m4trace:configure.ac:104: -1- gl_MATH_H_DEFAULTS
  91141. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ACOSL$])
  91142. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ASINL$])
  91143. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ATANL$])
  91144. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CEIL$])
  91145. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CEILF$])
  91146. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CEILL$])
  91147. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_COSL$])
  91148. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_EXPL$])
  91149. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FLOOR$])
  91150. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FLOORF$])
  91151. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FLOORL$])
  91152. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FREXP$])
  91153. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FREXPL$])
  91154. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISFINITE$])
  91155. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISINF$])
  91156. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISNAN$])
  91157. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISNANF$])
  91158. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISNAND$])
  91159. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISNANL$])
  91160. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LDEXPL$])
  91161. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LOGB$])
  91162. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LOGL$])
  91163. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ROUND$])
  91164. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ROUNDF$])
  91165. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ROUNDL$])
  91166. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SIGNBIT$])
  91167. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SINL$])
  91168. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SQRTL$])
  91169. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TANL$])
  91170. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TRUNC$])
  91171. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TRUNCF$])
  91172. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TRUNCL$])
  91173. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ACOSL$])
  91174. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ASINL$])
  91175. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ATANL$])
  91176. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_COSL$])
  91177. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_EXPL$])
  91178. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNANF$])
  91179. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNAND$])
  91180. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNANL$])
  91181. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LOGL$])
  91182. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SINL$])
  91183. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SQRTL$])
  91184. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_TANL$])
  91185. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ACOSL$])
  91186. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ASINL$])
  91187. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ATANL$])
  91188. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_CEILF$])
  91189. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_CEILL$])
  91190. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_COSL$])
  91191. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_EXPL$])
  91192. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FLOORF$])
  91193. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FLOORL$])
  91194. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FREXPL$])
  91195. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_LDEXPL$])
  91196. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_LOGB$])
  91197. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_LOGL$])
  91198. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ROUND$])
  91199. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ROUNDF$])
  91200. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ROUNDL$])
  91201. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SINL$])
  91202. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SQRTL$])
  91203. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TANL$])
  91204. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TRUNC$])
  91205. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TRUNCF$])
  91206. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TRUNCL$])
  91207. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CEIL$])
  91208. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CEILF$])
  91209. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CEILL$])
  91210. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FLOOR$])
  91211. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FLOORF$])
  91212. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FLOORL$])
  91213. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FREXP$])
  91214. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FREXPL$])
  91215. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_HUGE_VAL$])
  91216. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISFINITE$])
  91217. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISINF$])
  91218. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISNAN$])
  91219. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LDEXPL$])
  91220. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NAN$])
  91221. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ROUND$])
  91222. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ROUNDF$])
  91223. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ROUNDL$])
  91224. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SIGNBIT$])
  91225. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SIGNBIT_USING_GCC$])
  91226. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TRUNC$])
  91227. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TRUNCF$])
  91228. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TRUNCL$])
  91229. +m4trace:configure.ac:104: -1- gl_CHECK_FREXP_NO_LIBM
  91230. +m4trace:configure.ac:104: -1- gl_FUNC_FREXP_WORKS
  91231. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FREXP_IN_LIBC$])
  91232. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([frexp.c])
  91233. +m4trace:configure.ac:104: -1- gl_MATH_MODULE_INDICATOR([frexp])
  91234. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([frexp])
  91235. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91236. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([frexp])
  91237. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FREXP$])
  91238. +m4trace:configure.ac:104: -1- gl_FUNC_FREXPL_NO_LIBM
  91239. +m4trace:configure.ac:104: -1- gl_CHECK_FREXPL_NO_LIBM
  91240. +m4trace:configure.ac:104: -1- gl_FUNC_FREXPL_WORKS
  91241. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FREXPL_IN_LIBC$])
  91242. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([frexpl.c])
  91243. +m4trace:configure.ac:104: -1- gl_MATH_MODULE_INDICATOR([frexpl])
  91244. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([frexpl])
  91245. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91246. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([frexpl])
  91247. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FREXPL$])
  91248. +m4trace:configure.ac:104: -1- gl_FUNC_FSEEKO
  91249. +m4trace:configure.ac:104: -1- gl_STDIN_LARGE_OFFSET
  91250. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_fseeko], [_AC_CHECK_DECLS([fseeko])])
  91251. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FSEEKO$])
  91252. +m4trace:configure.ac:104: -1- gl_REPLACE_FSEEKO
  91253. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([fseeko.c])
  91254. +m4trace:configure.ac:104: -1- gl_REPLACE_FSEEKO
  91255. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([fseeko.c])
  91256. +m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([fseeko])
  91257. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([fseeko])
  91258. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91259. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([fseeko])
  91260. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FSEEKO$])
  91261. +m4trace:configure.ac:104: -1- gl_FUNC_FTELLO
  91262. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_ftello], [_AC_CHECK_DECLS([ftello])])
  91263. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FTELLO$])
  91264. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE$])
  91265. +m4trace:configure.ac:104: -1- gl_REPLACE_FTELLO
  91266. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([ftello.c])
  91267. +m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([ftello])
  91268. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([ftello])
  91269. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91270. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([ftello])
  91271. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FTELLO$])
  91272. +m4trace:configure.ac:104: -1- gl_FUNC_GETDTABLESIZE
  91273. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_getdtablesize], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" getdtablesize"])])
  91274. +_AC_FUNCS_EXPANSION])
  91275. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([getdtablesize.c])
  91276. +m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([getdtablesize])
  91277. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([getdtablesize])
  91278. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91279. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([getdtablesize])
  91280. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_GETDTABLESIZE$])
  91281. +m4trace:configure.ac:104: -1- gl_FUNC_GETOPT_GNU
  91282. +m4trace:configure.ac:104: -1- gl_FUNC_GETOPT_POSIX
  91283. +m4trace:configure.ac:104: -1- gl_GETOPT_IFELSE([
  91284. + gl_REPLACE_GETOPT
  91285. + ], [])
  91286. +m4trace:configure.ac:104: -1- gl_GETOPT_CHECK_HEADERS
  91287. +m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([getopt.h])
  91288. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([getopt.h], [check])
  91289. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_getopt_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" getopt.h"])])
  91290. +_AC_HEADERS_EXPANSION])
  91291. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_GETOPT_H$])
  91292. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_GETOPT_H$])
  91293. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETOPT_H$])
  91294. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETOPT_H$])
  91295. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETOPT_LONG_ONLY$])
  91296. +m4trace:configure.ac:104: -1- gl_REPLACE_GETOPT
  91297. +m4trace:configure.ac:104: -1- gl_GETOPT_SUBSTITUTE_HEADER
  91298. +m4trace:configure.ac:104: -1- m4_pattern_allow([^__GETOPT_PREFIX$])
  91299. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GETOPT_H$])
  91300. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([getopt.c])
  91301. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([getopt1.c])
  91302. +m4trace:configure.ac:104: -1- gl_PREREQ_GETOPT
  91303. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_getenv], [_AC_CHECK_DECLS([getenv])])
  91304. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETENV$])
  91305. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu])
  91306. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_GETOPT_GNU$])
  91307. +m4trace:configure.ac:104: -1- gl_FUNC_GETOPT_POSIX
  91308. +m4trace:configure.ac:104: -1- gl_GETOPT_IFELSE([
  91309. + gl_REPLACE_GETOPT
  91310. + ], [])
  91311. +m4trace:configure.ac:104: -1- gl_REPLACE_GETOPT
  91312. +m4trace:configure.ac:104: -1- gl_GETOPT_SUBSTITUTE_HEADER
  91313. +m4trace:configure.ac:104: -1- m4_pattern_allow([^__GETOPT_PREFIX$])
  91314. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GETOPT_H$])
  91315. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([getopt.c])
  91316. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([getopt1.c])
  91317. +m4trace:configure.ac:104: -1- gl_PREREQ_GETOPT
  91318. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_getenv], [_AC_CHECK_DECLS([getenv])])
  91319. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBINTL$])
  91320. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBINTL$])
  91321. +m4trace:configure.ac:104: -1- gl_FUNC_GETTIMEOFDAY
  91322. +m4trace:configure.ac:104: -1- AC_C_RESTRICT
  91323. +m4trace:configure.ac:104: -1- m4_pattern_allow([^restrict$])
  91324. +m4trace:configure.ac:104: -1- m4_pattern_allow([^restrict$])
  91325. +m4trace:configure.ac:104: -1- gl_HEADER_SYS_TIME_H
  91326. +m4trace:configure.ac:104: -1- gl_HEADER_SYS_TIME_H_BODY
  91327. +m4trace:configure.ac:104: -1- gl_HEADER_SYS_TIME_H_DEFAULTS
  91328. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETTIMEOFDAY$])
  91329. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETTIMEOFDAY$])
  91330. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_TIMEVAL$])
  91331. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$])
  91332. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETTIMEOFDAY$])
  91333. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_time_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/time.h"])])
  91334. +_AC_HEADERS_EXPANSION])
  91335. +m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([sys/time.h])
  91336. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([sys/time.h], [check])
  91337. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_time_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/time.h"])])
  91338. +_AC_HEADERS_EXPANSION])
  91339. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SYS_TIME_H$])
  91340. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H$])
  91341. +m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[
  91342. +#if HAVE_SYS_TIME_H
  91343. +# include <sys/time.h>
  91344. +#endif
  91345. +#include <time.h>
  91346. + ]], [gettimeofday])
  91347. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_gettimeofday], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" gettimeofday"])])
  91348. +_AC_FUNCS_EXPANSION])
  91349. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([gettimeofday.c])
  91350. +m4trace:configure.ac:104: -1- gl_PREREQ_GETTIMEOFDAY
  91351. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$])
  91352. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__FTIME$])
  91353. +m4trace:configure.ac:104: -1- gl_FUNC_GETTIMEOFDAY_CLOBBER
  91354. +m4trace:configure.ac:104: -1- gl_GETTIMEOFDAY_REPLACE_LOCALTIME
  91355. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([gettimeofday.c])
  91356. +m4trace:configure.ac:104: -1- gl_PREREQ_GETTIMEOFDAY
  91357. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$])
  91358. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__FTIME$])
  91359. +m4trace:configure.ac:104: -1- m4_pattern_allow([^gmtime$])
  91360. +m4trace:configure.ac:104: -1- m4_pattern_allow([^localtime$])
  91361. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GETTIMEOFDAY_CLOBBERS_LOCALTIME$])
  91362. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([gettimeofday.c])
  91363. +m4trace:configure.ac:104: -1- gl_PREREQ_GETTIMEOFDAY
  91364. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$])
  91365. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__FTIME$])
  91366. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GETTIMEOFDAY_TIMEZONE$])
  91367. +m4trace:configure.ac:104: -1- gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
  91368. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([gettimeofday])
  91369. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91370. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([gettimeofday])
  91371. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_GETTIMEOFDAY$])
  91372. +m4trace:configure.ac:104: -1- gl_INLINE
  91373. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_INLINE$])
  91374. +m4trace:configure.ac:104: -1- gl_FUNC_ISNAND_NO_LIBM
  91375. +m4trace:configure.ac:104: -1- gl_HAVE_ISNAND_NO_LIBM
  91376. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNAND_IN_LIBC$])
  91377. +m4trace:configure.ac:104: -1- gl_BUILD_ISNAND
  91378. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([isnand.c])
  91379. +m4trace:configure.ac:104: -1- gl_DOUBLE_EXPONENT_LOCATION
  91380. +m4trace:configure.ac:104: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
  91381. +m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_EXPBIT0_WORD$])
  91382. +m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_EXPBIT0_BIT$])
  91383. +m4trace:configure.ac:104: -1- gl_FUNC_ISNANF_NO_LIBM
  91384. +m4trace:configure.ac:104: -1- gl_HAVE_ISNANF_NO_LIBM
  91385. +m4trace:configure.ac:104: -1- gl_ISNANF_WORKS
  91386. +m4trace:configure.ac:104: -1- gl_FLOAT_EXPONENT_LOCATION
  91387. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$])
  91388. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$])
  91389. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNANF_IN_LIBC$])
  91390. +m4trace:configure.ac:104: -1- gl_BUILD_ISNANF
  91391. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([isnanf.c])
  91392. +m4trace:configure.ac:104: -1- gl_FLOAT_EXPONENT_LOCATION
  91393. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$])
  91394. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$])
  91395. +m4trace:configure.ac:104: -1- gl_FUNC_ISNANL_NO_LIBM
  91396. +m4trace:configure.ac:104: -1- gl_HAVE_ISNANL_NO_LIBM
  91397. +m4trace:configure.ac:104: -1- gl_FUNC_ISNANL_WORKS
  91398. +m4trace:configure.ac:104: -1- gl_BIGENDIAN
  91399. +m4trace:configure.ac:104: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
  91400. +m4trace:configure.ac:104: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
  91401. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNANL_IN_LIBC$])
  91402. +m4trace:configure.ac:104: -1- gl_BUILD_ISNANL
  91403. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([isnanl.c])
  91404. +m4trace:configure.ac:104: -1- gl_LONG_DOUBLE_EXPONENT_LOCATION
  91405. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_EXPBIT0_WORD$])
  91406. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_EXPBIT0_BIT$])
  91407. +m4trace:configure.ac:104: -1- gl_LANGINFO_H
  91408. +m4trace:configure.ac:104: -1- gl_LANGINFO_H_DEFAULTS
  91409. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_NL_LANGINFO$])
  91410. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_NL_LANGINFO$])
  91411. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NL_LANGINFO$])
  91412. +m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([langinfo.h])
  91413. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([langinfo.h], [check])
  91414. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_langinfo_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" langinfo.h"])])
  91415. +_AC_HEADERS_EXPANSION])
  91416. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_LANGINFO_H$])
  91417. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H$])
  91418. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_langinfo_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" langinfo.h"])])
  91419. +_AC_HEADERS_EXPANSION])
  91420. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_H$])
  91421. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$])
  91422. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_T_FMT_AMPM$])
  91423. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_ERA$])
  91424. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_YESEXPR$])
  91425. +m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include <langinfo.h>
  91426. + ]], [nl_langinfo])
  91427. +m4trace:configure.ac:104: -1- gl_LIBSIGSEGV
  91428. +m4trace:configure.ac:104: -1- AC_LIB_HAVE_LINKFLAGS([sigsegv], [], [#include <sigsegv.h>], [sigsegv_deinstall_handler();], [no, consider installing GNU libsigsegv])
  91429. +m4trace:configure.ac:104: -1- AC_LIB_LINKFLAGS_BODY([sigsegv], [])
  91430. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([
  91431. + eval additional_includedir=\"$includedir\"
  91432. + eval additional_libdir=\"$libdir\"
  91433. + ])
  91434. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([
  91435. + eval additional_includedir=\"$includedir\"
  91436. + eval additional_libdir=\"$libdir\"
  91437. + ])
  91438. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  91439. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  91440. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  91441. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  91442. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  91443. +m4trace:configure.ac:104: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCSIGSEGV])
  91444. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  91445. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBSIGSEGV$])
  91446. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBSIGSEGV$])
  91447. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBSIGSEGV$])
  91448. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBSIGSEGV$])
  91449. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBSIGSEGV_PREFIX$])
  91450. +m4trace:configure.ac:104: -1- gl_LIST
  91451. +m4trace:configure.ac:104: -1- gl_LOCALCHARSET
  91452. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_getc_unlocked], [_AC_CHECK_DECLS([getc_unlocked])])
  91453. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$])
  91454. +m4trace:configure.ac:104: -1- gl_GLIBC21
  91455. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GLIBC21$])
  91456. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALCHARSET_TESTS_ENVIRONMENT$])
  91457. +m4trace:configure.ac:104: -1- gl_LOCK
  91458. +m4trace:configure.ac:104: -1- gl_THREADLIB
  91459. +m4trace:configure.ac:104: -1- gl_THREADLIB_BODY
  91460. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PTHREAD_IN_USE_DETECTION_HARD$])
  91461. +m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_POSIX_THREADS$])
  91462. +m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_POSIX_THREADS_WEAK$])
  91463. +m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_SOLARIS_THREADS$])
  91464. +m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_SOLARIS_THREADS_WEAK$])
  91465. +m4trace:configure.ac:104: -1- AC_LIB_LINKFLAGS([pth])
  91466. +m4trace:configure.ac:104: -1- AC_LIB_LINKFLAGS_BODY([pth], [])
  91467. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([
  91468. + eval additional_includedir=\"$includedir\"
  91469. + eval additional_libdir=\"$libdir\"
  91470. + ])
  91471. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([
  91472. + eval additional_includedir=\"$includedir\"
  91473. + eval additional_libdir=\"$libdir\"
  91474. + ])
  91475. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  91476. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  91477. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  91478. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  91479. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  91480. +m4trace:configure.ac:104: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCPTH])
  91481. +m4trace:configure.ac:104: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  91482. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBPTH$])
  91483. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBPTH$])
  91484. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBPTH_PREFIX$])
  91485. +m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_PTH_THREADS$])
  91486. +m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_PTH_THREADS_WEAK$])
  91487. +m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_WIN32_THREADS$])
  91488. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBTHREAD$])
  91489. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBTHREAD$])
  91490. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBMULTITHREAD$])
  91491. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBMULTITHREAD$])
  91492. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PTHREAD_RWLOCK$])
  91493. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PTHREAD_MUTEX_RECURSIVE$])
  91494. +m4trace:configure.ac:104: -1- gl_PREREQ_LOCK
  91495. +m4trace:configure.ac:104: -1- gl_FUNC_LSEEK
  91496. +m4trace:configure.ac:104: -1- gl_REPLACE_LSEEK
  91497. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([lseek.c])
  91498. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LSEEK_PIPE_BROKEN$])
  91499. +m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([lseek])
  91500. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([lseek])
  91501. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91502. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([lseek])
  91503. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_LSEEK$])
  91504. +m4trace:configure.ac:104: -1- gl_FUNC_LSTAT
  91505. +m4trace:configure.ac:104: -1- gl_SYS_STAT_H_DEFAULTS
  91506. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCHMODAT$])
  91507. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FSTATAT$])
  91508. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FUTIMENS$])
  91509. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LCHMOD$])
  91510. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LSTAT$])
  91511. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKDIRAT$])
  91512. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKFIFO$])
  91513. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKFIFOAT$])
  91514. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKNOD$])
  91515. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKNODAT$])
  91516. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STAT$])
  91517. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UTIMENSAT$])
  91518. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FCHMODAT$])
  91519. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FSTATAT$])
  91520. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FUTIMENS$])
  91521. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LCHMOD$])
  91522. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LSTAT$])
  91523. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKDIRAT$])
  91524. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKFIFO$])
  91525. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKFIFOAT$])
  91526. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKNOD$])
  91527. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKNODAT$])
  91528. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UTIMENSAT$])
  91529. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FSTAT$])
  91530. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FSTATAT$])
  91531. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FUTIMENS$])
  91532. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LSTAT$])
  91533. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKDIR$])
  91534. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKFIFO$])
  91535. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKNOD$])
  91536. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STAT$])
  91537. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_UTIMENSAT$])
  91538. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_lstat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lstat"])])
  91539. +_AC_FUNCS_EXPANSION])
  91540. +m4trace:configure.ac:104: -1- AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
  91541. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LSTAT_FOLLOWS_SLASHED_SYMLINK$])
  91542. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([lstat.c])
  91543. +m4trace:configure.ac:104: -1- gl_SYS_STAT_MODULE_INDICATOR([lstat])
  91544. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([lstat])
  91545. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91546. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([lstat])
  91547. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_LSTAT$])
  91548. +m4trace:configure.ac:104: -1- gl_FUNC_MALLOC_GNU
  91549. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
  91550. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MALLOC_GNU$])
  91551. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MALLOC_GNU$])
  91552. +m4trace:configure.ac:104: -1- gl_REPLACE_MALLOC
  91553. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([malloc.c])
  91554. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([malloc-gnu])
  91555. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MALLOC_GNU$])
  91556. +m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION
  91557. +m4trace:configure.ac:104: -1- gl_FUNC_MALLOC_POSIX
  91558. +m4trace:configure.ac:104: -1- gl_CHECK_MALLOC_POSIX
  91559. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MALLOC_POSIX$])
  91560. +m4trace:configure.ac:104: -1- gl_REPLACE_MALLOC
  91561. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([malloc.c])
  91562. +m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([malloc-posix])
  91563. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([malloc-posix])
  91564. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91565. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([malloc-posix])
  91566. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MALLOC_POSIX$])
  91567. +m4trace:configure.ac:104: -1- gl_MALLOCA
  91568. +m4trace:configure.ac:104: -1- gl_EEMALLOC
  91569. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
  91570. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MALLOC_0_IS_NONNULL$])
  91571. +m4trace:configure.ac:104: -1- gl_MATH_H
  91572. +m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([math.h])
  91573. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([math.h], [check])
  91574. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_math_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" math.h"])])
  91575. +_AC_HEADERS_EXPANSION])
  91576. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_MATH_H$])
  91577. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_MATH_H$])
  91578. +m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include <math.h>
  91579. + ]], [acosl asinl atanl ceilf ceill cosl expl floorf floorl frexpl
  91580. + ldexpl logb logl round roundf roundl sinl sqrtl tanl trunc truncf truncl])
  91581. +m4trace:configure.ac:104: -1- gl_FUNC_MBRTOWC
  91582. +m4trace:configure.ac:104: -1- AC_TYPE_MBSTATE_T
  91583. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSTATE_T$])
  91584. +m4trace:configure.ac:104: -1- m4_pattern_allow([^mbstate_t$])
  91585. +m4trace:configure.ac:104: -1- gl_MBSTATE_T_BROKEN
  91586. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])])
  91587. +_AC_FUNCS_EXPANSION])
  91588. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])])
  91589. +_AC_FUNCS_EXPANSION])
  91590. +m4trace:configure.ac:104: -1- gl_MBRTOWC_INCOMPLETE_STATE
  91591. +m4trace:configure.ac:104: -1- gt_LOCALE_JA
  91592. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_JA$])
  91593. +m4trace:configure.ac:104: -1- gl_MBRTOWC_SANITYCHECK
  91594. +m4trace:configure.ac:104: -1- gt_LOCALE_ZH_CN
  91595. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
  91596. +m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H
  91597. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])])
  91598. +_AC_FUNCS_EXPANSION])
  91599. +m4trace:configure.ac:104: -1- gl_MBRTOWC_NULL_ARG1
  91600. +m4trace:configure.ac:104: -1- gt_LOCALE_FR_UTF8
  91601. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
  91602. +m4trace:configure.ac:104: -1- gl_MBRTOWC_NULL_ARG2
  91603. +m4trace:configure.ac:104: -1- gl_MBRTOWC_RETVAL
  91604. +m4trace:configure.ac:104: -1- gl_MBRTOWC_NUL_RETVAL
  91605. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG1_BUG$])
  91606. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG2_BUG$])
  91607. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MBRTOWC_RETVAL_BUG$])
  91608. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MBRTOWC_NUL_RETVAL_BUG$])
  91609. +m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H
  91610. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([mbrtowc.c])
  91611. +m4trace:configure.ac:104: -1- gl_PREREQ_MBRTOWC
  91612. +m4trace:configure.ac:104: -1- gl_WCHAR_MODULE_INDICATOR([mbrtowc])
  91613. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mbrtowc])
  91614. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91615. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([mbrtowc])
  91616. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MBRTOWC$])
  91617. +m4trace:configure.ac:104: -1- gl_FUNC_MBSINIT
  91618. +m4trace:configure.ac:104: -1- gl_MBSTATE_T_BROKEN
  91619. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])])
  91620. +_AC_FUNCS_EXPANSION])
  91621. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])])
  91622. +_AC_FUNCS_EXPANSION])
  91623. +m4trace:configure.ac:104: -1- gl_MBRTOWC_INCOMPLETE_STATE
  91624. +m4trace:configure.ac:104: -1- gl_MBRTOWC_SANITYCHECK
  91625. +m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H
  91626. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])])
  91627. +_AC_FUNCS_EXPANSION])
  91628. +m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H
  91629. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([mbsinit.c])
  91630. +m4trace:configure.ac:104: -1- gl_PREREQ_MBSINIT
  91631. +m4trace:configure.ac:104: -1- gl_WCHAR_MODULE_INDICATOR([mbsinit])
  91632. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mbsinit])
  91633. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91634. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([mbsinit])
  91635. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MBSINIT$])
  91636. +m4trace:configure.ac:104: -1- gl_FUNC_MBTOWC
  91637. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([mbtowc.c])
  91638. +m4trace:configure.ac:104: -1- gl_PREREQ_MBTOWC
  91639. +m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([mbtowc])
  91640. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mbtowc])
  91641. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91642. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([mbtowc])
  91643. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MBTOWC$])
  91644. +m4trace:configure.ac:104: -1- gl_FUNC_MEMCHR
  91645. +m4trace:configure.ac:104: -1- gl_FUNC_MMAP_ANON
  91646. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
  91647. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
  91648. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])])
  91649. +_AC_HEADERS_EXPANSION])
  91650. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])])
  91651. +_AC_FUNCS_EXPANSION])
  91652. +m4trace:configure.ac:104: -1- gl_HEADER_STRING_H_DEFAULTS
  91653. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MEMCHR$])
  91654. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MEMMEM$])
  91655. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MEMPCPY$])
  91656. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MEMRCHR$])
  91657. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RAWMEMCHR$])
  91658. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STPCPY$])
  91659. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STPNCPY$])
  91660. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRCHRNUL$])
  91661. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRDUP$])
  91662. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRNCAT$])
  91663. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRNDUP$])
  91664. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRNLEN$])
  91665. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRPBRK$])
  91666. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRSEP$])
  91667. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRSTR$])
  91668. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRCASESTR$])
  91669. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRTOK_R$])
  91670. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSLEN$])
  91671. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSNLEN$])
  91672. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSCHR$])
  91673. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSRCHR$])
  91674. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSSTR$])
  91675. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSCASECMP$])
  91676. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSNCASECMP$])
  91677. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSPCASECMP$])
  91678. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSCASESTR$])
  91679. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSCSPN$])
  91680. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSPBRK$])
  91681. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSSPN$])
  91682. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSSEP$])
  91683. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSTOK_R$])
  91684. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRERROR$])
  91685. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRERROR_R$])
  91686. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRSIGNAL$])
  91687. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRVERSCMP$])
  91688. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSLEN$])
  91689. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MEMCHR$])
  91690. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_MEMMEM$])
  91691. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MEMPCPY$])
  91692. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_MEMRCHR$])
  91693. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RAWMEMCHR$])
  91694. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STPCPY$])
  91695. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STPNCPY$])
  91696. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRCHRNUL$])
  91697. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$])
  91698. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$])
  91699. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$])
  91700. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRPBRK$])
  91701. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRSEP$])
  91702. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRCASESTR$])
  91703. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRTOK_R$])
  91704. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$])
  91705. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$])
  91706. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRVERSCMP$])
  91707. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MEMCHR$])
  91708. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MEMMEM$])
  91709. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STPNCPY$])
  91710. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRDUP$])
  91711. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRSTR$])
  91712. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRCASESTR$])
  91713. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRERROR$])
  91714. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRERROR_R$])
  91715. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRNCAT$])
  91716. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRNDUP$])
  91717. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRNLEN$])
  91718. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRSIGNAL$])
  91719. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRTOK_R$])
  91720. +m4trace:configure.ac:104: -1- m4_pattern_allow([^UNDEFINE_STRTOK_R$])
  91721. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_memchr], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" memchr"])])
  91722. +_AC_FUNCS_EXPANSION])
  91723. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([memchr.c])
  91724. +m4trace:configure.ac:104: -1- gl_PREREQ_MEMCHR
  91725. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_BP_SYM_H$])
  91726. +m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([memchr])
  91727. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([memchr])
  91728. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91729. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([memchr])
  91730. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MEMCHR$])
  91731. +m4trace:configure.ac:104: -1- gt_FUNC_MKDTEMP
  91732. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKDTEMP$])
  91733. +m4trace:configure.ac:104: -1- M4_LIBOBJ([$ac_func])
  91734. +m4trace:configure.ac:104: -1- gl_PREREQ_MKDTEMP
  91735. +m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([mkdtemp])
  91736. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mkdtemp])
  91737. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91738. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([mkdtemp])
  91739. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MKDTEMP$])
  91740. +m4trace:configure.ac:104: -1- gl_FUNC_MKSTEMP
  91741. +m4trace:configure.ac:104: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$])
  91742. +m4trace:configure.ac:104: -1- m4_pattern_allow([^_LARGE_FILES$])
  91743. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mkstemp], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mkstemp"])])
  91744. +_AC_FUNCS_EXPANSION])
  91745. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([mkstemp.c])
  91746. +m4trace:configure.ac:104: -1- gl_PREREQ_MKSTEMP
  91747. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([mkstemp.c])
  91748. +m4trace:configure.ac:104: -1- gl_PREREQ_MKSTEMP
  91749. +m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([mkstemp])
  91750. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([mkstemp])
  91751. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91752. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([mkstemp])
  91753. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MKSTEMP$])
  91754. +m4trace:configure.ac:104: -1- gl_MULTIARCH
  91755. +m4trace:configure.ac:104: -1- m4_pattern_allow([^APPLE_UNIVERSAL_BUILD$])
  91756. +m4trace:configure.ac:104: -1- gl_FUNC_NL_LANGINFO
  91757. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_nl_langinfo], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" nl_langinfo"])])
  91758. +_AC_FUNCS_EXPANSION])
  91759. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FUNC_NL_LANGINFO_YESEXPR_WORKS$])
  91760. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NL_LANGINFO$])
  91761. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([nl_langinfo.c])
  91762. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([nl_langinfo.c])
  91763. +m4trace:configure.ac:104: -1- gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
  91764. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([nl_langinfo])
  91765. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91766. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([nl_langinfo])
  91767. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_NL_LANGINFO$])
  91768. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_OBSTACK$])
  91769. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([obstack.c])
  91770. +m4trace:configure.ac:104: -1- gl_FUNC_OPEN
  91771. +m4trace:configure.ac:104: -1- gl_REPLACE_OPEN
  91772. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([open.c])
  91773. +m4trace:configure.ac:104: -1- gl_PREREQ_OPEN
  91774. +m4trace:configure.ac:104: -1- gl_PROMOTED_TYPE_MODE_T
  91775. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PROMOTED_MODE_T$])
  91776. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_lstat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lstat"])])
  91777. +_AC_FUNCS_EXPANSION])
  91778. +m4trace:configure.ac:104: -1- m4_pattern_allow([^OPEN_TRAILING_SLASH_BUG$])
  91779. +m4trace:configure.ac:104: -1- gl_REPLACE_OPEN
  91780. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([open.c])
  91781. +m4trace:configure.ac:104: -1- gl_PREREQ_OPEN
  91782. +m4trace:configure.ac:104: -1- gl_FCNTL_MODULE_INDICATOR([open])
  91783. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([open])
  91784. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91785. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([open])
  91786. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_OPEN$])
  91787. +m4trace:configure.ac:104: -1- gl_LIST
  91788. +m4trace:configure.ac:104: -1- gl_PATHMAX
  91789. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_pathconf], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" pathconf"])])
  91790. +_AC_FUNCS_EXPANSION])
  91791. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])])
  91792. +_AC_HEADERS_EXPANSION])
  91793. +m4trace:configure.ac:104: -1- gl_FUNC_PIPE2
  91794. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_pipe2], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" pipe2"])])
  91795. +_AC_FUNCS_EXPANSION])
  91796. +m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([pipe2])
  91797. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([pipe2])
  91798. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91799. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([pipe2])
  91800. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_PIPE2$])
  91801. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([pipe2-safer])
  91802. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PIPE2_SAFER$])
  91803. +m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION
  91804. +m4trace:configure.ac:104: -1- gl_POSIX_SPAWN
  91805. +m4trace:configure.ac:104: -1- gl_POSIX_SPAWN_BODY
  91806. +m4trace:configure.ac:104: -1- gl_SPAWN_H_DEFAULTS
  91807. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN$])
  91808. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNP$])
  91809. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT$])
  91810. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE$])
  91811. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2$])
  91812. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN$])
  91813. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY$])
  91814. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_INIT$])
  91815. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETFLAGS$])
  91816. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETFLAGS$])
  91817. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETPGROUP$])
  91818. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETPGROUP$])
  91819. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM$])
  91820. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM$])
  91821. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY$])
  91822. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY$])
  91823. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT$])
  91824. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT$])
  91825. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETSIGMASK$])
  91826. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETSIGMASK$])
  91827. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_DESTROY$])
  91828. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWN$])
  91829. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWNATTR_T$])
  91830. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWN_FILE_ACTIONS_T$])
  91831. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_POSIX_SPAWN$])
  91832. +m4trace:configure.ac:104: -1- gl_HAVE_POSIX_SPAWN
  91833. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_posix_spawn], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" posix_spawn"])])
  91834. +_AC_FUNCS_EXPANSION])
  91835. +m4trace:configure.ac:104: -1- gl_POSIX_SPAWN_WORKS
  91836. +m4trace:configure.ac:104: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
  91837. +../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
  91838. +../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
  91839. +../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
  91840. +m4/posix_spawn.m4:84: gl_POSIX_SPAWN_WORKS is expanded from...
  91841. +m4/posix_spawn.m4:13: gl_POSIX_SPAWN_BODY is expanded from...
  91842. +m4/posix_spawn.m4:8: gl_POSIX_SPAWN is expanded from...
  91843. +m4/gnulib-comp.m4:377: M4_INIT is expanded from...
  91844. +configure.ac:104: the top level])
  91845. +m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H
  91846. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawn_faction_addclose.c])
  91847. +m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addclose])
  91848. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawn_file_actions_addclose])
  91849. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91850. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawn_file_actions_addclose])
  91851. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE$])
  91852. +m4trace:configure.ac:104: -1- gl_POSIX_SPAWN
  91853. +m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H
  91854. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawn_faction_adddup2.c])
  91855. +m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_adddup2])
  91856. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawn_file_actions_adddup2])
  91857. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91858. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawn_file_actions_adddup2])
  91859. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2$])
  91860. +m4trace:configure.ac:104: -1- gl_POSIX_SPAWN
  91861. +m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H
  91862. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawn_faction_addopen.c])
  91863. +m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addopen])
  91864. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawn_file_actions_addopen])
  91865. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91866. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawn_file_actions_addopen])
  91867. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN$])
  91868. +m4trace:configure.ac:104: -1- gl_POSIX_SPAWN
  91869. +m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H
  91870. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawn_faction_destroy.c])
  91871. +m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_destroy])
  91872. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawn_file_actions_destroy])
  91873. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91874. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawn_file_actions_destroy])
  91875. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY$])
  91876. +m4trace:configure.ac:104: -1- gl_POSIX_SPAWN
  91877. +m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H
  91878. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawn_faction_init.c])
  91879. +m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_init])
  91880. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawn_file_actions_init])
  91881. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91882. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawn_file_actions_init])
  91883. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT$])
  91884. +m4trace:configure.ac:104: -1- gl_POSIX_SPAWN
  91885. +m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H
  91886. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawnattr_destroy.c])
  91887. +m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_destroy])
  91888. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawnattr_destroy])
  91889. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91890. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawnattr_destroy])
  91891. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNATTR_DESTROY$])
  91892. +m4trace:configure.ac:104: -1- gl_POSIX_SPAWN
  91893. +m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H
  91894. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawnattr_init.c])
  91895. +m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_init])
  91896. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawnattr_init])
  91897. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91898. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawnattr_init])
  91899. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNATTR_INIT$])
  91900. +m4trace:configure.ac:104: -1- gl_POSIX_SPAWN
  91901. +m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H
  91902. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawnattr_setflags.c])
  91903. +m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setflags])
  91904. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawnattr_setflags])
  91905. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91906. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawnattr_setflags])
  91907. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS$])
  91908. +m4trace:configure.ac:104: -1- gl_POSIX_SPAWN
  91909. +m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H
  91910. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawnattr_setsigmask.c])
  91911. +m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setsigmask])
  91912. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawnattr_setsigmask])
  91913. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91914. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawnattr_setsigmask])
  91915. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK$])
  91916. +m4trace:configure.ac:104: -1- gl_POSIX_SPAWN
  91917. +m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H
  91918. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawnp.c])
  91919. +m4trace:configure.ac:104: -1- gl_POSIX_SPAWN_INTERNAL
  91920. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([spawni.c])
  91921. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PATHS_H$])
  91922. +m4trace:configure.ac:104: -1- gl_SPAWN_MODULE_INDICATOR([posix_spawnp])
  91923. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([posix_spawnp])
  91924. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91925. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([posix_spawnp])
  91926. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNP$])
  91927. +m4trace:configure.ac:104: -1- gl_FUNC_PRINTF_FREXP
  91928. +m4trace:configure.ac:104: -1- gl_FUNC_FREXP_WORKS
  91929. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FREXP_IN_LIBC$])
  91930. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LDEXP_IN_LIBC$])
  91931. +m4trace:configure.ac:104: -1- gl_FUNC_PRINTF_FREXPL
  91932. +m4trace:configure.ac:104: -1- gl_CHECK_FREXPL_NO_LIBM
  91933. +m4trace:configure.ac:104: -1- gl_FUNC_FREXPL_WORKS
  91934. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FREXPL_IN_LIBC$])
  91935. +m4trace:configure.ac:104: -1- gl_CHECK_LDEXPL_NO_LIBM
  91936. +m4trace:configure.ac:104: -1- gl_FUNC_LDEXPL_WORKS
  91937. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LDEXPL_IN_LIBC$])
  91938. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_NAME$])
  91939. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME$])
  91940. +m4trace:configure.ac:104: -1- gl_QUOTEARG
  91941. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([quotearg.c])
  91942. +m4trace:configure.ac:104: -1- gl_FUNC_RAWMEMCHR
  91943. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RAWMEMCHR$])
  91944. +m4trace:configure.ac:104: -1- M4_LIBOBJ([$ac_func])
  91945. +m4trace:configure.ac:104: -1- gl_PREREQ_RAWMEMCHR
  91946. +m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([rawmemchr])
  91947. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([rawmemchr])
  91948. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91949. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([rawmemchr])
  91950. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_RAWMEMCHR$])
  91951. +m4trace:configure.ac:104: -1- gl_FUNC_READLINK
  91952. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_readlink], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" readlink"])])
  91953. +_AC_FUNCS_EXPANSION])
  91954. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([readlink.c])
  91955. +m4trace:configure.ac:104: -1- gl_PREREQ_READLINK
  91956. +m4trace:configure.ac:104: -1- m4_pattern_allow([^READLINK_TRAILING_SLASH_BUG$])
  91957. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([readlink.c])
  91958. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([readlink.c])
  91959. +m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([readlink])
  91960. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([readlink])
  91961. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  91962. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([readlink])
  91963. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_READLINK$])
  91964. +m4trace:configure.ac:104: -1- gl_REGEX
  91965. +m4trace:configure.ac:104: -1- m4_pattern_allow([^_REGEX_LARGE_OFFSETS$])
  91966. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_syntax_options$])
  91967. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_set_syntax$])
  91968. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_compile_pattern$])
  91969. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_compile_fastmap$])
  91970. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_search$])
  91971. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_search_2$])
  91972. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_match$])
  91973. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_match_2$])
  91974. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_set_registers$])
  91975. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_comp$])
  91976. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_exec$])
  91977. +m4trace:configure.ac:104: -1- m4_pattern_allow([^regcomp$])
  91978. +m4trace:configure.ac:104: -1- m4_pattern_allow([^regexec$])
  91979. +m4trace:configure.ac:104: -1- m4_pattern_allow([^regerror$])
  91980. +m4trace:configure.ac:104: -1- m4_pattern_allow([^regfree$])
  91981. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([regex.c])
  91982. +m4trace:configure.ac:104: -1- gl_PREREQ_REGEX
  91983. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBINTL_H$])
  91984. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_isblank], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" isblank"])])
  91985. +_AC_FUNCS_EXPANSION])
  91986. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_iswctype], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" iswctype"])])
  91987. +_AC_FUNCS_EXPANSION])
  91988. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_wcscoll], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wcscoll"])])
  91989. +_AC_FUNCS_EXPANSION])
  91990. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ISBLANK$])
  91991. +m4trace:configure.ac:104: -1- gl_FUNC_RENAME
  91992. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_lstat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lstat"])])
  91993. +_AC_FUNCS_EXPANSION])
  91994. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([rename.c])
  91995. +m4trace:configure.ac:104: -1- m4_pattern_allow([^RENAME_TRAILING_SLASH_DEST_BUG$])
  91996. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([rename.c])
  91997. +m4trace:configure.ac:104: -1- m4_pattern_allow([^RENAME_TRAILING_SLASH_SOURCE_BUG$])
  91998. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([rename.c])
  91999. +m4trace:configure.ac:104: -1- m4_pattern_allow([^RENAME_HARD_LINK_BUG$])
  92000. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([rename.c])
  92001. +m4trace:configure.ac:104: -1- m4_pattern_allow([^RENAME_DEST_EXISTS_BUG$])
  92002. +m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([rename])
  92003. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([rename])
  92004. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92005. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([rename])
  92006. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_RENAME$])
  92007. +m4trace:configure.ac:104: -1- gl_FUNC_RMDIR
  92008. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([rmdir.c])
  92009. +m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([rmdir])
  92010. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([rmdir])
  92011. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92012. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([rmdir])
  92013. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_RMDIR$])
  92014. +m4trace:configure.ac:104: -1- gl_SCHED_H
  92015. +m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([sched.h])
  92016. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([sched.h], [check])
  92017. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sched_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sched.h"])])
  92018. +_AC_HEADERS_EXPANSION])
  92019. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SCHED_H$])
  92020. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SCHED_H$])
  92021. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SCHED_H$])
  92022. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_SCHED_PARAM$])
  92023. +m4trace:configure.ac:104: -1- m4_pattern_allow([^SCHED_H$])
  92024. +m4trace:configure.ac:104: -1- gl_SIGACTION
  92025. +m4trace:configure.ac:104: -1- gl_SIGNAL_H_DEFAULTS
  92026. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SIGNAL_H_SIGPIPE$])
  92027. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SIGPROCMASK$])
  92028. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SIGACTION$])
  92029. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SIGNALBLOCKING$])
  92030. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGSET_T$])
  92031. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGINFO_T$])
  92032. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGACTION$])
  92033. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_SIGACTION_SA_SIGACTION$])
  92034. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_TYPE_VOLATILE_SIG_ATOMIC_T$])
  92035. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_sigaction], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" sigaction"])])
  92036. +_AC_FUNCS_EXPANSION])
  92037. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_SIGACTION_SA_SIGACTION$])
  92038. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([sigaction.c])
  92039. +m4trace:configure.ac:104: -1- gl_PREREQ_SIGACTION
  92040. +m4trace:configure.ac:104: -1- m4_pattern_allow([^uid_t$])
  92041. +m4trace:configure.ac:104: -1- m4_pattern_allow([^gid_t$])
  92042. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_sigaltstack], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" sigaltstack"])])
  92043. +_AC_FUNCS_EXPANSION])
  92044. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_siginterrupt], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" siginterrupt"])])
  92045. +_AC_FUNCS_EXPANSION])
  92046. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGINFO_T$])
  92047. +m4trace:configure.ac:104: -1- gl_SIGNAL_MODULE_INDICATOR([sigaction])
  92048. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([sigaction])
  92049. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92050. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([sigaction])
  92051. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SIGACTION$])
  92052. +m4trace:configure.ac:104: -1- gl_SIGNAL_H
  92053. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([signal.h])
  92054. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([signal.h], [assume])
  92055. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SIGNAL_H$])
  92056. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H$])
  92057. +m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include <signal.h>
  92058. + ]], [sigaction sigaddset sigdelset sigemptyset sigfillset sigismember
  92059. + sigpending sigprocmask])
  92060. +m4trace:configure.ac:104: -1- gl_SIGNBIT
  92061. +m4trace:configure.ac:104: -1- gl_SIGNBIT_TEST_PROGRAM
  92062. +m4trace:configure.ac:104: -1- gl_SIGNBIT_TEST_PROGRAM
  92063. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([signbitf.c])
  92064. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([signbitd.c])
  92065. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([signbitl.c])
  92066. +m4trace:configure.ac:104: -1- gl_FLOAT_SIGN_LOCATION
  92067. +m4trace:configure.ac:104: -1- gl_FLOATTYPE_SIGN_LOCATION([float], [gl_cv_cc_float_signbit], [f], [FLT])
  92068. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_SIGNBIT_WORD$])
  92069. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_SIGNBIT_BIT$])
  92070. +m4trace:configure.ac:104: -1- gl_DOUBLE_SIGN_LOCATION
  92071. +m4trace:configure.ac:104: -1- gl_FLOATTYPE_SIGN_LOCATION([double], [gl_cv_cc_double_signbit], [], [DBL])
  92072. +m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_SIGNBIT_WORD$])
  92073. +m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_SIGNBIT_BIT$])
  92074. +m4trace:configure.ac:104: -1- gl_LONG_DOUBLE_SIGN_LOCATION
  92075. +m4trace:configure.ac:104: -1- gl_FLOATTYPE_SIGN_LOCATION([long double], [gl_cv_cc_long_double_signbit], [L], [LDBL])
  92076. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_SIGNBIT_WORD$])
  92077. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_SIGNBIT_BIT$])
  92078. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGNF$])
  92079. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_COPYSIGNF_IN_LIBC$])
  92080. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGN$])
  92081. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_COPYSIGN_IN_LIBC$])
  92082. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGNL$])
  92083. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_COPYSIGNL_IN_LIBC$])
  92084. +m4trace:configure.ac:104: -1- gl_MATH_MODULE_INDICATOR([signbit])
  92085. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([signbit])
  92086. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92087. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([signbit])
  92088. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SIGNBIT$])
  92089. +m4trace:configure.ac:104: -1- gl_SIGNALBLOCKING
  92090. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([sigprocmask.c])
  92091. +m4trace:configure.ac:104: -1- gl_PREREQ_SIGPROCMASK
  92092. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGSET_T$])
  92093. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGSET_T$])
  92094. +m4trace:configure.ac:104: -1- gl_SIGNAL_MODULE_INDICATOR([sigprocmask])
  92095. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([sigprocmask])
  92096. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92097. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([sigprocmask])
  92098. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SIGPROCMASK$])
  92099. +m4trace:configure.ac:104: -1- gl_SIZE_MAX
  92100. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDINT_H$])
  92101. +m4trace:configure.ac:104: -1- AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1], [#include <stddef.h>
  92102. +#include <limits.h>], [size_t_bits_minus_1=])
  92103. +m4trace:configure.ac:104: -1- AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)], [#include <stddef.h>], [fits_in_uint=])
  92104. +m4trace:configure.ac:104: -1- m4_pattern_allow([^SIZE_MAX$])
  92105. +m4trace:configure.ac:104: -1- gl_FUNC_SNPRINTF
  92106. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SNPRINTF$])
  92107. +m4trace:configure.ac:104: -1- gl_SNPRINTF_SIZE1
  92108. +m4trace:configure.ac:104: -1- gl_SNPRINTF_RETVAL_C99
  92109. +m4trace:configure.ac:104: -1- gl_REPLACE_SNPRINTF
  92110. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([snprintf.c])
  92111. +m4trace:configure.ac:104: -1- gl_PREREQ_SNPRINTF
  92112. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_snprintf], [_AC_CHECK_DECLS([snprintf])])
  92113. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$])
  92114. +m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([snprintf])
  92115. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([snprintf])
  92116. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92117. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([snprintf])
  92118. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SNPRINTF$])
  92119. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR([snprintf])
  92120. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SNPRINTF$])
  92121. +m4trace:configure.ac:104: -4- gl_MODULE_INDICATOR_CONDITION
  92122. +m4trace:configure.ac:104: -1- gl_SPAWN_H
  92123. +m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([spawn.h])
  92124. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([spawn.h], [check])
  92125. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_spawn_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" spawn.h"])])
  92126. +_AC_HEADERS_EXPANSION])
  92127. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SPAWN_H$])
  92128. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SPAWN_H$])
  92129. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWNATTR_T$])
  92130. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWN_FILE_ACTIONS_T$])
  92131. +m4trace:configure.ac:104: -1- gl_REPLACE_SPAWN_H
  92132. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SPAWN_H$])
  92133. +m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include <spawn.h>
  92134. + ]], [posix_spawn posix_spawnp posix_spawnattr_init posix_spawnattr_destroy
  92135. + posix_spawnattr_getsigdefault posix_spawnattr_setsigdefault
  92136. + posix_spawnattr_getsigmask posix_spawnattr_setsigmask
  92137. + posix_spawnattr_getflags posix_spawnattr_setflags
  92138. + posix_spawnattr_getpgroup posix_spawnattr_setpgroup
  92139. + posix_spawnattr_getschedpolicy posix_spawnattr_setschedpolicy
  92140. + posix_spawnattr_getschedparam posix_spawnattr_setschedparam
  92141. + posix_spawn_file_actions_init posix_spawn_file_actions_destroy
  92142. + posix_spawn_file_actions_addopen posix_spawn_file_actions_addclose
  92143. + posix_spawn_file_actions_adddup2])
  92144. +m4trace:configure.ac:104: -1- gl_SPAWN_PIPE
  92145. +m4trace:configure.ac:104: -1- gt_TYPE_SSIZE_T
  92146. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ssize_t$])
  92147. +m4trace:configure.ac:104: -1- gl_FUNC_STAT
  92148. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_lstat], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" lstat"])])
  92149. +_AC_FUNCS_EXPANSION])
  92150. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FUNC_STAT_DIR$])
  92151. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FUNC_STAT_FILE$])
  92152. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([stat.c])
  92153. +m4trace:configure.ac:104: -1- gl_SYS_STAT_MODULE_INDICATOR([stat])
  92154. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([stat])
  92155. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92156. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([stat])
  92157. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STAT$])
  92158. +m4trace:configure.ac:104: -1- gl_STDARG_H
  92159. +m4trace:configure.ac:104: -1- m4_pattern_allow([^STDARG_H$])
  92160. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDARG_H$])
  92161. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([stdarg.h])
  92162. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([stdarg.h], [assume])
  92163. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDARG_H$])
  92164. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDARG_H$])
  92165. +m4trace:configure.ac:104: -1- gl_CACHE_VAL_SILENT([gl_cv_func___va_copy], [
  92166. + AC_COMPILE_IFELSE(
  92167. + [AC_LANG_PROGRAM(
  92168. + [[#include <stdarg.h>]],
  92169. + [[
  92170. +#ifndef __va_copy
  92171. +error, bail out
  92172. +#endif
  92173. + ]])],
  92174. + [gl_cv_func___va_copy=yes],
  92175. + [gl_cv_func___va_copy=no])])
  92176. +m4trace:configure.ac:104: -1- m4_pattern_allow([^va_copy$])
  92177. +m4trace:configure.ac:104: -1- m4_pattern_allow([^va_copy$])
  92178. +m4trace:configure.ac:104: -1- AM_STDBOOL_H
  92179. +m4trace:configure.ac:104: -1- AC_CHECK_HEADER_STDBOOL
  92180. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__BOOL$])
  92181. +m4trace:configure.ac:104: -1- m4_pattern_allow([^STDBOOL_H$])
  92182. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__BOOL$])
  92183. +m4trace:configure.ac:104: -1- gl_STDDEF_H
  92184. +m4trace:configure.ac:104: -1- gl_STDDEF_H_DEFAULTS
  92185. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NULL$])
  92186. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_T$])
  92187. +m4trace:configure.ac:104: -1- m4_pattern_allow([^STDDEF_H$])
  92188. +m4trace:configure.ac:104: -1- gt_TYPE_WCHAR_T
  92189. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_T$])
  92190. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([stddef.h])
  92191. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([stddef.h], [assume])
  92192. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDDEF_H$])
  92193. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDDEF_H$])
  92194. +m4trace:configure.ac:104: -1- gl_STDINT_H
  92195. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$])
  92196. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$])
  92197. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_wchar_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wchar.h"])])
  92198. +_AC_HEADERS_EXPANSION])
  92199. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_H$])
  92200. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_INTTYPES_H$])
  92201. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$])
  92202. +m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([stdint.h])
  92203. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([stdint.h], [check])
  92204. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_stdint_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" stdint.h"])])
  92205. +_AC_HEADERS_EXPANSION])
  92206. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDINT_H$])
  92207. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDINT_H$])
  92208. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDINT_H$])
  92209. +m4trace:configure.ac:104: -1- gl_STDINT_INCLUDES
  92210. +m4trace:configure.ac:104: -1- gl_STDINT_INCLUDES
  92211. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_INTTYPES_H$])
  92212. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_BITYPES_H$])
  92213. +m4trace:configure.ac:104: -1- gl_STDINT_TYPE_PROPERTIES
  92214. +m4trace:configure.ac:104: -1- gl_STDINT_BITSIZEOF([ptrdiff_t size_t], [gl_STDINT_INCLUDES])
  92215. +m4trace:configure.ac:104: -1- AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT], [gl_STDINT_INCLUDES
  92216. +#include <limits.h>], [result=unknown])
  92217. +m4trace:configure.ac:104: -1- gl_STDINT_INCLUDES
  92218. +m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_PTRDIFF_T$])
  92219. +m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_SIZE_T$])
  92220. +m4trace:configure.ac:104: -1- gl_STDINT_BITSIZEOF([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES])
  92221. +m4trace:configure.ac:104: -1- AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT], [gl_STDINT_INCLUDES
  92222. +#include <limits.h>], [result=unknown])
  92223. +m4trace:configure.ac:104: -1- gl_STDINT_INCLUDES
  92224. +m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_SIG_ATOMIC_T$])
  92225. +m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_WCHAR_T$])
  92226. +m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_WINT_T$])
  92227. +m4trace:configure.ac:104: -1- gl_CHECK_TYPES_SIGNED([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES])
  92228. +m4trace:configure.ac:104: -1- gl_STDINT_INCLUDES
  92229. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGNED_SIG_ATOMIC_T$])
  92230. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGNED_WCHAR_T$])
  92231. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGNED_WINT_T$])
  92232. +m4trace:configure.ac:104: -1- gl_INTEGER_TYPE_SUFFIX([ptrdiff_t size_t], [gl_STDINT_INCLUDES])
  92233. +m4trace:configure.ac:104: -1- gl_STDINT_INCLUDES
  92234. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PTRDIFF_T_SUFFIX$])
  92235. +m4trace:configure.ac:104: -1- m4_pattern_allow([^SIZE_T_SUFFIX$])
  92236. +m4trace:configure.ac:104: -1- gl_INTEGER_TYPE_SUFFIX([sig_atomic_t wchar_t wint_t], [gl_STDINT_INCLUDES])
  92237. +m4trace:configure.ac:104: -1- gl_STDINT_INCLUDES
  92238. +m4trace:configure.ac:104: -1- m4_pattern_allow([^SIG_ATOMIC_T_SUFFIX$])
  92239. +m4trace:configure.ac:104: -1- m4_pattern_allow([^WCHAR_T_SUFFIX$])
  92240. +m4trace:configure.ac:104: -1- m4_pattern_allow([^WINT_T_SUFFIX$])
  92241. +m4trace:configure.ac:104: -1- m4_pattern_allow([^STDINT_H$])
  92242. +m4trace:configure.ac:104: -1- gl_STDIO_H
  92243. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([stdio.h])
  92244. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([stdio.h], [assume])
  92245. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDIO_H$])
  92246. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDIO_H$])
  92247. +m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include <stdio.h>
  92248. + ]], [dprintf fpurge fseeko ftello getdelim getline popen renameat
  92249. + snprintf tmpfile vdprintf vsnprintf])
  92250. +m4trace:configure.ac:104: -1- gl_STDLIB_H
  92251. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([stdlib.h])
  92252. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([stdlib.h], [assume])
  92253. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDLIB_H$])
  92254. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDLIB_H$])
  92255. +m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include <stdlib.h>
  92256. +#if HAVE_SYS_LOADAVG_H
  92257. +# include <sys/loadavg.h>
  92258. +#endif
  92259. +#if HAVE_RANDOM_H
  92260. +# include <random.h>
  92261. +#endif
  92262. + ]], [_Exit atoll canonicalize_file_name getloadavg getsubopt grantpt mkdtemp
  92263. + mkostemp mkostemps mkstemp mkstemps ptsname random_r initstat_r srandom_r
  92264. + setstate_r realpath rpmatch setenv strtod strtoll strtoull unlockpt
  92265. + unsetenv])
  92266. +m4trace:configure.ac:104: -1- gl_STDLIB_SAFER
  92267. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([mkstemp-safer.c])
  92268. +m4trace:configure.ac:104: -1- gl_FUNC_STRCHRNUL
  92269. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRCHRNUL$])
  92270. +m4trace:configure.ac:104: -1- M4_LIBOBJ([$ac_func])
  92271. +m4trace:configure.ac:104: -1- gl_PREREQ_STRCHRNUL
  92272. +m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([strchrnul])
  92273. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strchrnul])
  92274. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92275. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([strchrnul])
  92276. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRCHRNUL$])
  92277. +m4trace:configure.ac:104: -1- gl_FUNC_STRERROR
  92278. +m4trace:configure.ac:104: -1- gl_FUNC_STRERROR_SEPARATE
  92279. +m4trace:configure.ac:104: -1- gl_PREREQ_STRERROR
  92280. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRERROR$])
  92281. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_socket_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/socket.h"])])
  92282. +_AC_HEADERS_EXPANSION])
  92283. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
  92284. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([strerror.c])
  92285. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRERROR$])
  92286. +m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([strerror])
  92287. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strerror])
  92288. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92289. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([strerror])
  92290. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRERROR$])
  92291. +m4trace:configure.ac:104: -1- gl_HEADER_STRING_H
  92292. +m4trace:configure.ac:104: -1- gl_HEADER_STRING_H_BODY
  92293. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([string.h])
  92294. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([string.h], [assume])
  92295. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STRING_H$])
  92296. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STRING_H$])
  92297. +m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include <string.h>
  92298. + ]], [memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup
  92299. + strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r
  92300. + strsignal strverscmp])
  92301. +m4trace:configure.ac:104: -1- gl_FUNC_STRNDUP
  92302. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_strndup], [_AC_CHECK_DECLS([strndup])])
  92303. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$])
  92304. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_strndup], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" strndup"])])
  92305. +_AC_FUNCS_EXPANSION])
  92306. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([strndup.c])
  92307. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([strndup.c])
  92308. +m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([strndup])
  92309. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strndup])
  92310. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92311. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([strndup])
  92312. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRNDUP$])
  92313. +m4trace:configure.ac:104: -1- gl_FUNC_STRNLEN
  92314. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_strnlen], [_AC_CHECK_DECLS([strnlen])])
  92315. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$])
  92316. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([strnlen.c])
  92317. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([strnlen.c])
  92318. +m4trace:configure.ac:104: -1- gl_PREREQ_STRNLEN
  92319. +m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([strnlen])
  92320. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strnlen])
  92321. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92322. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([strnlen])
  92323. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRNLEN$])
  92324. +m4trace:configure.ac:104: -1- gl_FUNC_STRSIGNAL
  92325. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_strsignal], [_AC_CHECK_DECLS([strsignal])])
  92326. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$])
  92327. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRSIGNAL$])
  92328. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([strsignal.c])
  92329. +m4trace:configure.ac:104: -1- gl_PREREQ_STRSIGNAL
  92330. +m4trace:configure.ac:104: -1- _m4_warn([obsolete], [The macro `AC_DECL_SYS_SIGLIST' is obsolete.
  92331. +You should run autoupdate.], [../../lib/autoconf/specific.m4:39: AC_DECL_SYS_SIGLIST is expanded from...
  92332. +m4/strsignal.m4:59: gl_PREREQ_STRSIGNAL is expanded from...
  92333. +m4/strsignal.m4:7: gl_FUNC_STRSIGNAL is expanded from...
  92334. +m4/gnulib-comp.m4:377: M4_INIT is expanded from...
  92335. +configure.ac:104: the top level])
  92336. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SYS_SIGLIST$])
  92337. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL__SYS_SIGLIST$])
  92338. +m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([strsignal])
  92339. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strsignal])
  92340. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92341. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([strsignal])
  92342. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRSIGNAL$])
  92343. +m4trace:configure.ac:104: -1- gl_FUNC_STRSTR
  92344. +m4trace:configure.ac:104: -1- gl_FUNC_STRSTR_SIMPLE
  92345. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([strstr.c])
  92346. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([strstr.c])
  92347. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([strstr.c])
  92348. +m4trace:configure.ac:104: -1- gl_FUNC_STRSTR_SIMPLE
  92349. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([strstr.c])
  92350. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([strstr.c])
  92351. +m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([strstr])
  92352. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strstr])
  92353. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92354. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([strstr])
  92355. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRSTR$])
  92356. +m4trace:configure.ac:104: -1- gl_FUNC_STRTOD
  92357. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_strtod], [_AC_CHECK_DECLS([strtod])])
  92358. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRTOD$])
  92359. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([strtod.c])
  92360. +m4trace:configure.ac:104: -1- gl_PREREQ_STRTOD
  92361. +m4trace:configure.ac:104: -1- gl_CHECK_LDEXP_NO_LIBM
  92362. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LDEXP_IN_LIBC$])
  92363. +m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([strtod])
  92364. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strtod])
  92365. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92366. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([strtod])
  92367. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRTOD$])
  92368. +m4trace:configure.ac:104: -1- gl_FUNC_STRTOL
  92369. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRTOL$])
  92370. +m4trace:configure.ac:104: -1- M4_LIBOBJ([$ac_func])
  92371. +m4trace:configure.ac:104: -1- gl_HEADER_SYS_STAT_H
  92372. +m4trace:configure.ac:104: -1- m4_pattern_allow([^STAT_MACROS_BROKEN$])
  92373. +m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([sys/stat.h])
  92374. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([sys/stat.h], [check])
  92375. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_stat_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/stat.h"])])
  92376. +_AC_HEADERS_EXPANSION])
  92377. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SYS_STAT_H$])
  92378. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H$])
  92379. +m4trace:configure.ac:104: -1- m4_pattern_allow([^nlink_t$])
  92380. +m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include <sys/stat.h>
  92381. + ]], [fchmodat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat
  92382. + mknod mknodat stat utimensat])
  92383. +m4trace:configure.ac:104: -1- AC_PROG_MKDIR_P
  92384. +m4trace:configure.ac:104: -1- gl_HEADER_SYS_TIME_H
  92385. +m4trace:configure.ac:104: -1- AC_PROG_MKDIR_P
  92386. +m4trace:configure.ac:104: -1- gl_SYS_WAIT_H
  92387. +m4trace:configure.ac:104: -1- gl_SYS_WAIT_H_DEFAULTS
  92388. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WAITPID$])
  92389. +m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([sys/wait.h])
  92390. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([sys/wait.h], [check])
  92391. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_wait_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/wait.h"])])
  92392. +_AC_HEADERS_EXPANSION])
  92393. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SYS_WAIT_H$])
  92394. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H$])
  92395. +m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include <sys/wait.h>]], [waitpid])
  92396. +m4trace:configure.ac:104: -1- AC_PROG_MKDIR_P
  92397. +m4trace:configure.ac:104: -1- gl_FUNC_GEN_TEMPNAME
  92398. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([tempname.c])
  92399. +m4trace:configure.ac:104: -1- gl_PREREQ_TEMPNAME
  92400. +m4trace:configure.ac:104: -1- gl_THREADLIB
  92401. +m4trace:configure.ac:104: -1- gl_HEADER_TIME_H
  92402. +m4trace:configure.ac:104: -1- gl_HEADER_TIME_H_BODY
  92403. +m4trace:configure.ac:104: -1- gl_HEADER_TIME_H_DEFAULTS
  92404. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKTIME$])
  92405. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_NANOSLEEP$])
  92406. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRPTIME$])
  92407. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TIMEGM$])
  92408. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TIME_R$])
  92409. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_LOCALTIME_R$])
  92410. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_NANOSLEEP$])
  92411. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRPTIME$])
  92412. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_TIMEGM$])
  92413. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LOCALTIME_R$])
  92414. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKTIME$])
  92415. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NANOSLEEP$])
  92416. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TIMEGM$])
  92417. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([time.h])
  92418. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([time.h], [assume])
  92419. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_TIME_H$])
  92420. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_TIME_H$])
  92421. +m4trace:configure.ac:104: -1- gl_CHECK_TYPE_STRUCT_TIMESPEC
  92422. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_time_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/time.h"])])
  92423. +_AC_HEADERS_EXPANSION])
  92424. +m4trace:configure.ac:104: -1- m4_pattern_allow([^TIME_H_DEFINES_STRUCT_TIMESPEC$])
  92425. +m4trace:configure.ac:104: -1- m4_pattern_allow([^SYS_TIME_H_DEFINES_STRUCT_TIMESPEC$])
  92426. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PTHREAD_H_DEFINES_STRUCT_TIMESPEC$])
  92427. +m4trace:configure.ac:104: -1- gl_TLS
  92428. +m4trace:configure.ac:104: -1- gt_TMPDIR
  92429. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE___SECURE_GETENV$])
  92430. +m4trace:configure.ac:104: -1- gl_UNISTD_H
  92431. +m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([unistd.h])
  92432. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([unistd.h], [check])
  92433. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])])
  92434. +_AC_HEADERS_EXPANSION])
  92435. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_UNISTD_H$])
  92436. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_UNISTD_H$])
  92437. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNISTD_H$])
  92438. +m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include <unistd.h>
  92439. +/* Some systems declare various items in the wrong headers. */
  92440. +#if !(defined __GLIBC__ && !defined __UCLIBC__)
  92441. +# include <fcntl.h>
  92442. +# include <stdio.h>
  92443. +# include <stdlib.h>
  92444. +# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
  92445. +# include <io.h>
  92446. +# endif
  92447. +#endif
  92448. + ]], [chown dup2 dup3 environ euidaccess faccessat fchdir fchownat
  92449. + fsync ftruncate getcwd getdomainname getdtablesize getgroups
  92450. + gethostname getlogin getlogin_r getpagesize getusershell setusershell
  92451. + endusershell lchown link linkat lseek pipe pipe2 pread pwrite readlink
  92452. + readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat
  92453. + usleep])
  92454. +m4trace:configure.ac:104: -1- gl_UNISTD_SAFER
  92455. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_pipe], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" pipe"])])
  92456. +_AC_FUNCS_EXPANSION])
  92457. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([dup-safer.c])
  92458. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([fd-safer.c])
  92459. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([pipe-safer.c])
  92460. +m4trace:configure.ac:104: -1- gl_FUNC_GLIBC_UNLOCKED_IO
  92461. +m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_UNLOCKED_IO$])
  92462. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_clearerr_unlocked], [_AC_CHECK_DECLS([clearerr_unlocked])])
  92463. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_CLEARERR_UNLOCKED$])
  92464. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_feof_unlocked], [_AC_CHECK_DECLS([feof_unlocked])])
  92465. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FEOF_UNLOCKED$])
  92466. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_ferror_unlocked], [_AC_CHECK_DECLS([ferror_unlocked])])
  92467. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FERROR_UNLOCKED$])
  92468. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_fflush_unlocked], [_AC_CHECK_DECLS([fflush_unlocked])])
  92469. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FFLUSH_UNLOCKED$])
  92470. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_fgets_unlocked], [_AC_CHECK_DECLS([fgets_unlocked])])
  92471. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FGETS_UNLOCKED$])
  92472. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_fputc_unlocked], [_AC_CHECK_DECLS([fputc_unlocked])])
  92473. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FPUTC_UNLOCKED$])
  92474. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_fputs_unlocked], [_AC_CHECK_DECLS([fputs_unlocked])])
  92475. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FPUTS_UNLOCKED$])
  92476. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_fread_unlocked], [_AC_CHECK_DECLS([fread_unlocked])])
  92477. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FREAD_UNLOCKED$])
  92478. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_fwrite_unlocked], [_AC_CHECK_DECLS([fwrite_unlocked])])
  92479. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FWRITE_UNLOCKED$])
  92480. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_getc_unlocked], [_AC_CHECK_DECLS([getc_unlocked])])
  92481. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_getchar_unlocked], [_AC_CHECK_DECLS([getchar_unlocked])])
  92482. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETCHAR_UNLOCKED$])
  92483. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_putc_unlocked], [_AC_CHECK_DECLS([putc_unlocked])])
  92484. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_PUTC_UNLOCKED$])
  92485. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_putchar_unlocked], [_AC_CHECK_DECLS([putchar_unlocked])])
  92486. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_PUTCHAR_UNLOCKED$])
  92487. +m4trace:configure.ac:104: -1- gl_FUNC_VASNPRINTF
  92488. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_vasnprintf], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" vasnprintf"])])
  92489. +_AC_FUNCS_EXPANSION])
  92490. +m4trace:configure.ac:104: -1- gl_REPLACE_VASNPRINTF
  92491. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_vasnprintf], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" vasnprintf"])])
  92492. +_AC_FUNCS_EXPANSION])
  92493. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([vasnprintf.c])
  92494. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([printf-args.c])
  92495. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([printf-parse.c])
  92496. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([asnprintf.c])
  92497. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$])
  92498. +m4trace:configure.ac:104: -1- gl_PREREQ_PRINTF_ARGS
  92499. +m4trace:configure.ac:104: -1- gt_TYPE_WINT_T
  92500. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINT_T$])
  92501. +m4trace:configure.ac:104: -1- gl_PREREQ_PRINTF_PARSE
  92502. +m4trace:configure.ac:104: -1- gl_FEATURES_H
  92503. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_features_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" features.h"])])
  92504. +_AC_HEADERS_EXPANSION])
  92505. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FEATURES_H$])
  92506. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ptrdiff_t$])
  92507. +m4trace:configure.ac:104: -1- gt_AC_TYPE_INTMAX_T
  92508. +m4trace:configure.ac:104: -1- gl_AC_HEADER_INTTYPES_H
  92509. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_INTTYPES_H_WITH_UINTMAX$])
  92510. +m4trace:configure.ac:104: -1- gl_AC_HEADER_STDINT_H
  92511. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDINT_H_WITH_UINTMAX$])
  92512. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_INTMAX_T$])
  92513. +m4trace:configure.ac:104: -1- m4_pattern_allow([^intmax_t$])
  92514. +m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF
  92515. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL__SNPRINTF$])
  92516. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SNPRINTF_RETVAL_C99$])
  92517. +m4trace:configure.ac:104: -1- gl_PREREQ_ASNPRINTF
  92518. +m4trace:configure.ac:104: -1- gl_FUNC_VASPRINTF
  92519. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_VASPRINTF$])
  92520. +m4trace:configure.ac:104: -1- gl_REPLACE_VASPRINTF
  92521. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([vasprintf.c])
  92522. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([asprintf.c])
  92523. +m4trace:configure.ac:104: -1- gl_PREREQ_VASPRINTF_H
  92524. +m4trace:configure.ac:104: -1- gl_PREREQ_VASPRINTF
  92525. +m4trace:configure.ac:104: -1- gl_PREREQ_ASPRINTF
  92526. +m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([vasprintf])
  92527. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([vasprintf])
  92528. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92529. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([vasprintf])
  92530. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_VASPRINTF$])
  92531. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=asprintf:2:c-format])
  92532. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=vasprintf:2:c-format])
  92533. +m4trace:configure.ac:104: -1- gl_FUNC_VASPRINTF_POSIX
  92534. +m4trace:configure.ac:104: -1- gl_PRINTF_SIZES_C99
  92535. +m4trace:configure.ac:104: -1- gl_PRINTF_LONG_DOUBLE
  92536. +m4trace:configure.ac:104: -1- gl_PRINTF_INFINITE
  92537. +m4trace:configure.ac:104: -1- gl_PRINTF_INFINITE_LONG_DOUBLE
  92538. +m4trace:configure.ac:104: -1- m4_pattern_allow([^CHECK_PRINTF_SAFE$])
  92539. +m4trace:configure.ac:104: -1- GL_NOCRASH
  92540. +m4trace:configure.ac:104: -1- gl_PRINTF_DIRECTIVE_A
  92541. +m4trace:configure.ac:104: -1- gl_PRINTF_DIRECTIVE_F
  92542. +m4trace:configure.ac:104: -1- gl_PRINTF_DIRECTIVE_N
  92543. +m4trace:configure.ac:104: -1- gl_PRINTF_DIRECTIVE_LS
  92544. +m4trace:configure.ac:104: -1- gl_PRINTF_POSITIONS
  92545. +m4trace:configure.ac:104: -1- gl_PRINTF_FLAG_GROUPING
  92546. +m4trace:configure.ac:104: -1- gl_PRINTF_FLAG_LEFTADJUST
  92547. +m4trace:configure.ac:104: -1- gl_PRINTF_FLAG_ZERO
  92548. +m4trace:configure.ac:104: -1- gl_PRINTF_PRECISION
  92549. +m4trace:configure.ac:104: -1- gl_PRINTF_ENOMEM
  92550. +m4trace:configure.ac:104: -2- GL_NOCRASH
  92551. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_VASPRINTF$])
  92552. +m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_LONG_DOUBLE
  92553. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$])
  92554. +m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE
  92555. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_INFINITE_DOUBLE$])
  92556. +m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE
  92557. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_INFINITE_LONG_DOUBLE$])
  92558. +m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_DIRECTIVE_A
  92559. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_A$])
  92560. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_NL_LANGINFO$])
  92561. +m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_DIRECTIVE_F
  92562. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_F$])
  92563. +m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_DIRECTIVE_LS
  92564. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_LS$])
  92565. +m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_FLAG_GROUPING
  92566. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_GROUPING$])
  92567. +m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST
  92568. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_LEFTADJUST$])
  92569. +m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_FLAG_ZERO
  92570. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_ZERO$])
  92571. +m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_PRECISION
  92572. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_UNBOUNDED_PRECISION$])
  92573. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DOUBLE$])
  92574. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$])
  92575. +m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF_ENOMEM
  92576. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_ENOMEM$])
  92577. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DOUBLE$])
  92578. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$])
  92579. +m4trace:configure.ac:104: -1- gl_REPLACE_VASNPRINTF
  92580. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_vasnprintf], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" vasnprintf"])])
  92581. +_AC_FUNCS_EXPANSION])
  92582. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([vasnprintf.c])
  92583. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([printf-args.c])
  92584. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([printf-parse.c])
  92585. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([asnprintf.c])
  92586. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$])
  92587. +m4trace:configure.ac:104: -1- gl_PREREQ_PRINTF_ARGS
  92588. +m4trace:configure.ac:104: -1- gl_PREREQ_PRINTF_PARSE
  92589. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ptrdiff_t$])
  92590. +m4trace:configure.ac:104: -1- gl_PREREQ_VASNPRINTF
  92591. +m4trace:configure.ac:104: -1- gl_PREREQ_ASNPRINTF
  92592. +m4trace:configure.ac:104: -1- gl_REPLACE_VASPRINTF
  92593. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([vasprintf.c])
  92594. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([asprintf.c])
  92595. +m4trace:configure.ac:104: -1- gl_PREREQ_VASPRINTF_H
  92596. +m4trace:configure.ac:104: -1- gl_PREREQ_VASPRINTF
  92597. +m4trace:configure.ac:104: -1- gl_PREREQ_ASPRINTF
  92598. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=verror:3:c-format])
  92599. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=verror_at_line:5:c-format])
  92600. +m4trace:configure.ac:104: -1- gl_VERSION_ETC
  92601. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PACKAGE_PACKAGER$])
  92602. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PACKAGE_PACKAGER_VERSION$])
  92603. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PACKAGE_PACKAGER_BUG_REPORTS$])
  92604. +m4trace:configure.ac:104: -1- gl_WAIT_PROCESS
  92605. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WAITID$])
  92606. +m4trace:configure.ac:104: -1- gl_FUNC_WAITPID
  92607. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([waitpid.c])
  92608. +m4trace:configure.ac:104: -1- gl_SYS_WAIT_MODULE_INDICATOR([waitpid])
  92609. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([waitpid])
  92610. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92611. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([waitpid])
  92612. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_WAITPID$])
  92613. +m4trace:configure.ac:104: -1- m4_pattern_allow([^WARN_CFLAGS$])
  92614. +m4trace:configure.ac:104: -1- gl_WCHAR_H
  92615. +m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([wchar.h])
  92616. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([wchar.h], [check])
  92617. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_wchar_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wchar.h"])])
  92618. +_AC_HEADERS_EXPANSION])
  92619. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_WCHAR_H$])
  92620. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCHAR_H$])
  92621. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_H$])
  92622. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINT_T$])
  92623. +m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[
  92624. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  92625. + <wchar.h>.
  92626. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  92627. + included before <wchar.h>. */
  92628. +#if !(defined __GLIBC__ && !defined __UCLIBC__)
  92629. +# include <stddef.h>
  92630. +# include <stdio.h>
  92631. +# include <time.h>
  92632. +#endif
  92633. +#include <wchar.h>
  92634. + ]], [btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb
  92635. + wcsrtombs wcsnrtombs wcwidth wmemchr wmemcmp wmemcpy wmemmove wmemset
  92636. + wcslen wcsnlen wcscpy wcpcpy wcsncpy wcpncpy wcscat wcsncat wcscmp
  92637. + wcsncmp wcscasecmp wcsncasecmp wcscoll wcsxfrm wcsdup wcschr wcsrchr
  92638. + wcscspn wcsspn wcspbrk wcsstr wcstok wcswidth
  92639. + ])
  92640. +m4trace:configure.ac:104: -1- gl_FUNC_WCRTOMB
  92641. +m4trace:configure.ac:104: -1- gl_MBSTATE_T_BROKEN
  92642. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mbsinit], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbsinit"])])
  92643. +_AC_FUNCS_EXPANSION])
  92644. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mbrtowc], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mbrtowc"])])
  92645. +_AC_FUNCS_EXPANSION])
  92646. +m4trace:configure.ac:104: -1- gl_MBRTOWC_INCOMPLETE_STATE
  92647. +m4trace:configure.ac:104: -1- gl_MBRTOWC_SANITYCHECK
  92648. +m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H
  92649. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_wcrtomb], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wcrtomb"])])
  92650. +_AC_FUNCS_EXPANSION])
  92651. +m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H
  92652. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([wcrtomb.c])
  92653. +m4trace:configure.ac:104: -1- gl_PREREQ_WCRTOMB
  92654. +m4trace:configure.ac:104: -1- gl_WCHAR_MODULE_INDICATOR([wcrtomb])
  92655. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([wcrtomb])
  92656. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92657. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([wcrtomb])
  92658. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_WCRTOMB$])
  92659. +m4trace:configure.ac:104: -1- gl_WCTYPE_H
  92660. +m4trace:configure.ac:104: -1- gl_WCTYPE_H_DEFAULTS
  92661. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISWBLANK$])
  92662. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCTYPE$])
  92663. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISWCTYPE$])
  92664. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCTRANS$])
  92665. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TOWCTRANS$])
  92666. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISWBLANK$])
  92667. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCTYPE_T$])
  92668. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCTRANS_T$])
  92669. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISWBLANK$])
  92670. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_iswcntrl], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" iswcntrl"])])
  92671. +_AC_FUNCS_EXPANSION])
  92672. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISWCNTRL$])
  92673. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINT_T$])
  92674. +m4trace:configure.ac:104: -1- gl_CHECK_NEXT_HEADERS([wctype.h])
  92675. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([wctype.h], [check])
  92676. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_wctype_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" wctype.h"])])
  92677. +_AC_HEADERS_EXPANSION])
  92678. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_WCTYPE_H$])
  92679. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H$])
  92680. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCTYPE_H$])
  92681. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISWCNTRL$])
  92682. +m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[
  92683. +/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  92684. + <wchar.h>.
  92685. + BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
  92686. + included before <wchar.h>. */
  92687. +#if !(defined __GLIBC__ && !defined __UCLIBC__)
  92688. +# include <stddef.h>
  92689. +# include <stdio.h>
  92690. +# include <time.h>
  92691. +# include <wchar.h>
  92692. +#endif
  92693. +#include <wctype.h>
  92694. + ]], [wctype iswctype wctrans towctrans
  92695. + ])
  92696. +m4trace:configure.ac:104: -1- gl_XALLOC
  92697. +m4trace:configure.ac:104: -1- M4_LIBSOURCES([xmalloc.c])
  92698. +m4trace:configure.ac:104: -1- gl_PREREQ_XALLOC
  92699. +m4trace:configure.ac:104: -1- gl_PREREQ_XMALLOC
  92700. +m4trace:configure.ac:104: -1- gl_LIST
  92701. +m4trace:configure.ac:104: -1- gl_LIST
  92702. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xprintf:1:c-format])
  92703. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xvprintf:1:c-format])
  92704. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xfprintf:2:c-format])
  92705. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xvfprintf:2:c-format])
  92706. +m4trace:configure.ac:104: -1- gl_XSIZE
  92707. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDINT_H$])
  92708. +m4trace:configure.ac:104: -1- gl_XSTRNDUP
  92709. +m4trace:configure.ac:104: -1- gl_PREREQ_XSTRNDUP
  92710. +m4trace:configure.ac:104: -1- gl_XVASPRINTF
  92711. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xasprintf:1:c-format])
  92712. +m4trace:configure.ac:104: -1- gl_COMMON
  92713. +m4trace:configure.ac:104: -1- m4_pattern_allow([^M4tests_WITNESS$])
  92714. +m4trace:configure.ac:104: -1- gl_PROG_ANSI_CXX([CXX], [ANSICXX])
  92715. +m4trace:configure.ac:104: -1- gl_CXX_CHOICE
  92716. +m4trace:configure.ac:104: -1- m4_pattern_allow([^CXX_CHOICE$])
  92717. +m4trace:configure.ac:104: -1- m4_pattern_allow([^CXX$])
  92718. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ac_ct_CXX$])
  92719. +m4trace:configure.ac:104: -1- m4_pattern_allow([^CXX$])
  92720. +m4trace:configure.ac:104: -1- m4_pattern_allow([^CXXFLAGS$])
  92721. +m4trace:configure.ac:104: -1- m4_pattern_allow([^CXX$])
  92722. +m4trace:configure.ac:104: -1- AM_CONDITIONAL([ANSICXX], [test "$CXX" != ":"])
  92723. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ANSICXX_TRUE$])
  92724. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ANSICXX_FALSE$])
  92725. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([ANSICXX_TRUE])
  92726. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([ANSICXX_FALSE])
  92727. +m4trace:configure.ac:104: -1- _AM_DEPENDENCIES([CXX])
  92728. +m4trace:configure.ac:104: -1- m4_pattern_allow([^CXXDEPMODE$])
  92729. +m4trace:configure.ac:104: -1- AM_CONDITIONAL([am__fastdepCXX], [
  92730. + test "x$enable_dependency_tracking" != xno \
  92731. + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
  92732. +m4trace:configure.ac:104: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
  92733. +m4trace:configure.ac:104: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
  92734. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
  92735. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
  92736. +m4trace:configure.ac:104: -1- AM_CONDITIONAL([am__fastdepCXX], [false])
  92737. +m4trace:configure.ac:104: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
  92738. +m4trace:configure.ac:104: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
  92739. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
  92740. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
  92741. +m4trace:configure.ac:104: -1- gt_LOCALE_FR
  92742. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$])
  92743. +m4trace:configure.ac:104: -1- gt_LOCALE_FR_UTF8
  92744. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
  92745. +m4trace:configure.ac:104: -1- gt_LOCALE_FR
  92746. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$])
  92747. +m4trace:configure.ac:104: -1- gt_LOCALE_TR_UTF8
  92748. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_TR_UTF8$])
  92749. +m4trace:configure.ac:104: -1- gl_FUNC_UNGETC_WORKS
  92750. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FUNC_UNGETC_BROKEN$])
  92751. +m4trace:configure.ac:104: -1- gl_FUNC_FTELL
  92752. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([ftell.c])
  92753. +m4trace:configure.ac:104: -1- gl_STDIO_MODULE_INDICATOR([ftell])
  92754. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([ftell])
  92755. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92756. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([ftell])
  92757. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FTELL$])
  92758. +m4trace:configure.ac:104: -1- gl_FUNC_UNGETC_WORKS
  92759. +m4trace:configure.ac:104: -1- gl_FUNC_UNGETC_WORKS
  92760. +m4trace:configure.ac:104: -1- gl_FUNC_GETPAGESIZE
  92761. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$])
  92762. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_OS_H$])
  92763. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$])
  92764. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([getpagesize.c])
  92765. +m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([getpagesize])
  92766. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([getpagesize])
  92767. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92768. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([getpagesize])
  92769. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_GETPAGESIZE$])
  92770. +m4trace:configure.ac:104: -1- gl_DOUBLE_EXPONENT_LOCATION
  92771. +m4trace:configure.ac:104: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
  92772. +m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_EXPBIT0_WORD$])
  92773. +m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_EXPBIT0_BIT$])
  92774. +m4trace:configure.ac:104: -1- gl_FLOAT_EXPONENT_LOCATION
  92775. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$])
  92776. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$])
  92777. +m4trace:configure.ac:104: -1- gl_LONG_DOUBLE_EXPONENT_LOCATION
  92778. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_EXPBIT0_WORD$])
  92779. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_EXPBIT0_BIT$])
  92780. +m4trace:configure.ac:104: -1- gl_FUNC_LINK
  92781. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_link], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" link"])])
  92782. +_AC_FUNCS_EXPANSION])
  92783. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([link.c])
  92784. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([link.c])
  92785. +m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([link])
  92786. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([link])
  92787. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92788. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([link])
  92789. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_LINK$])
  92790. +m4trace:configure.ac:104: -1- gl_LOCALE_H
  92791. +m4trace:configure.ac:104: -1- gl_LOCALE_H_DEFAULTS
  92792. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SETLOCALE$])
  92793. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DUPLOCALE$])
  92794. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DUPLOCALE$])
  92795. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SETLOCALE$])
  92796. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_DUPLOCALE$])
  92797. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_xlocale_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" xlocale.h"])])
  92798. +_AC_HEADERS_EXPANSION])
  92799. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_XLOCALE_H$])
  92800. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS([locale.h])
  92801. +m4trace:configure.ac:104: -1- gl_NEXT_HEADERS_INTERNAL([locale.h], [assume])
  92802. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_LOCALE_H$])
  92803. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_LOCALE_H$])
  92804. +m4trace:configure.ac:104: -1- gl_REPLACE_LOCALE_H
  92805. +m4trace:configure.ac:104: -1- gl_WARN_ON_USE_PREPARE([[#include <locale.h>
  92806. +/* Some systems provide declarations in a non-standard header. */
  92807. +#if HAVE_XLOCALE_H
  92808. +# include <xlocale.h>
  92809. +#endif
  92810. + ]], [setlocale duplocale])
  92811. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_newlocale], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" newlocale"])])
  92812. +_AC_FUNCS_EXPANSION])
  92813. +m4trace:configure.ac:104: -1- gl_LOCALENAME
  92814. +m4trace:configure.ac:104: -1- gt_LC_MESSAGES
  92815. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LC_MESSAGES$])
  92816. +m4trace:configure.ac:104: -1- gt_INTL_MACOSX
  92817. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_CFPREFERENCESCOPYAPPVALUE$])
  92818. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_CFLOCALECOPYCURRENT$])
  92819. +m4trace:configure.ac:104: -1- m4_pattern_allow([^INTL_MACOSX_LIBS$])
  92820. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_newlocale], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" newlocale"])])
  92821. +_AC_FUNCS_EXPANSION])
  92822. +m4trace:configure.ac:104: -1- gt_LOCALE_FR
  92823. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$])
  92824. +m4trace:configure.ac:104: -1- gt_LOCALE_FR_UTF8
  92825. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
  92826. +m4trace:configure.ac:104: -1- gt_LOCALE_JA
  92827. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_JA$])
  92828. +m4trace:configure.ac:104: -1- gt_LOCALE_ZH_CN
  92829. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
  92830. +m4trace:configure.ac:104: -1- gt_LOCALE_FR_UTF8
  92831. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
  92832. +m4trace:configure.ac:104: -1- gl_FUNC_MMAP_ANON
  92833. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
  92834. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
  92835. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])])
  92836. +_AC_HEADERS_EXPANSION])
  92837. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])])
  92838. +_AC_FUNCS_EXPANSION])
  92839. +m4trace:configure.ac:104: -1- gl_FUNC_MMAP_ANON
  92840. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
  92841. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
  92842. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])])
  92843. +_AC_HEADERS_EXPANSION])
  92844. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])])
  92845. +_AC_FUNCS_EXPANSION])
  92846. +m4trace:configure.ac:104: -1- gt_LOCALE_FR
  92847. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$])
  92848. +m4trace:configure.ac:104: -1- gt_LOCALE_FR_UTF8
  92849. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
  92850. +m4trace:configure.ac:104: -1- AM_CONDITIONAL([POSIX_SPAWN_PORTED], [test $posix_spawn_ported = yes])
  92851. +m4trace:configure.ac:104: -1- m4_pattern_allow([^POSIX_SPAWN_PORTED_TRUE$])
  92852. +m4trace:configure.ac:104: -1- m4_pattern_allow([^POSIX_SPAWN_PORTED_FALSE$])
  92853. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([POSIX_SPAWN_PORTED_TRUE])
  92854. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([POSIX_SPAWN_PORTED_FALSE])
  92855. +m4trace:configure.ac:104: -1- gl_FUNC_PUTENV
  92856. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([putenv.c])
  92857. +m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([putenv])
  92858. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([putenv])
  92859. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92860. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([putenv])
  92861. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_PUTENV$])
  92862. +m4trace:configure.ac:104: -1- gl_FUNC_MMAP_ANON
  92863. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
  92864. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
  92865. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])])
  92866. +_AC_HEADERS_EXPANSION])
  92867. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])])
  92868. +_AC_FUNCS_EXPANSION])
  92869. +m4trace:configure.ac:104: -1- gl_FUNC_SETENV
  92870. +m4trace:configure.ac:104: -1- gl_FUNC_SETENV_SEPARATE
  92871. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_setenv], [_AC_CHECK_DECLS([setenv])])
  92872. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SETENV$])
  92873. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_setenv], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" setenv"])])
  92874. +_AC_FUNCS_EXPANSION])
  92875. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([setenv.c])
  92876. +m4trace:configure.ac:104: -1- gl_PREREQ_SETENV
  92877. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])])
  92878. +_AC_HEADERS_EXPANSION])
  92879. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SEARCH_H$])
  92880. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_TSEARCH$])
  92881. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([setenv.c])
  92882. +m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([setenv])
  92883. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([setenv])
  92884. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92885. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([setenv])
  92886. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SETENV$])
  92887. +m4trace:configure.ac:104: -1- gl_FUNC_SETLOCALE
  92888. +m4trace:configure.ac:104: -1- gl_REPLACE_LOCALE_H
  92889. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([setlocale.c])
  92890. +m4trace:configure.ac:104: -1- gl_PREREQ_SETLOCALE
  92891. +m4trace:configure.ac:104: -1- gl_LOCALE_MODULE_INDICATOR([setlocale])
  92892. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([setlocale])
  92893. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92894. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([setlocale])
  92895. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SETLOCALE$])
  92896. +m4trace:configure.ac:104: -1- gt_LOCALE_FR
  92897. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$])
  92898. +m4trace:configure.ac:104: -1- gt_LOCALE_FR_UTF8
  92899. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
  92900. +m4trace:configure.ac:104: -1- gt_LOCALE_JA
  92901. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_JA$])
  92902. +m4trace:configure.ac:104: -1- gt_LOCALE_ZH_CN
  92903. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
  92904. +m4trace:configure.ac:104: -1- gt_TYPE_WCHAR_T
  92905. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_T$])
  92906. +m4trace:configure.ac:104: -1- gt_TYPE_WINT_T
  92907. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINT_T$])
  92908. +m4trace:configure.ac:104: -1- gl_FUNC_STRDUP_POSIX
  92909. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_strdup], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" strdup"])])
  92910. +_AC_FUNCS_EXPANSION])
  92911. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([strdup.c])
  92912. +m4trace:configure.ac:104: -1- gl_PREREQ_STRDUP
  92913. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([strdup.c])
  92914. +m4trace:configure.ac:104: -1- gl_PREREQ_STRDUP
  92915. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_strdup], [_AC_CHECK_DECLS([strdup])])
  92916. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$])
  92917. +m4trace:configure.ac:104: -1- gl_STRING_MODULE_INDICATOR([strdup])
  92918. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([strdup])
  92919. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92920. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([strdup])
  92921. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRDUP$])
  92922. +m4trace:configure.ac:104: -1- gl_FUNC_MMAP_ANON
  92923. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
  92924. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
  92925. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])])
  92926. +_AC_HEADERS_EXPANSION])
  92927. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])])
  92928. +_AC_FUNCS_EXPANSION])
  92929. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_alarm], [_AC_CHECK_DECLS([alarm])])
  92930. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ALARM$])
  92931. +m4trace:configure.ac:104: -1- gl_FUNC_MMAP_ANON
  92932. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
  92933. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
  92934. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_sys_mman_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/mman.h"])])
  92935. +_AC_HEADERS_EXPANSION])
  92936. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_mprotect], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" mprotect"])])
  92937. +_AC_FUNCS_EXPANSION])
  92938. +m4trace:configure.ac:104: -1- gl_FUNC_SYMLINK
  92939. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_symlink], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" symlink"])])
  92940. +_AC_FUNCS_EXPANSION])
  92941. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([symlink.c])
  92942. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([symlink.c])
  92943. +m4trace:configure.ac:104: -1- gl_UNISTD_MODULE_INDICATOR([symlink])
  92944. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([symlink])
  92945. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92946. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([symlink])
  92947. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SYMLINK$])
  92948. +m4trace:configure.ac:104: -1- gl_FUNC_UNSETENV
  92949. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Check_Decl_unsetenv], [_AC_CHECK_DECLS([unsetenv])])
  92950. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_UNSETENV$])
  92951. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNSETENV$])
  92952. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([unsetenv.c])
  92953. +m4trace:configure.ac:104: -1- gl_PREREQ_UNSETENV
  92954. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])])
  92955. +_AC_HEADERS_EXPANSION])
  92956. +m4trace:configure.ac:104: -1- m4_pattern_allow([^VOID_UNSETENV$])
  92957. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([unsetenv.c])
  92958. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([unsetenv.c])
  92959. +m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([unsetenv])
  92960. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([unsetenv])
  92961. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92962. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([unsetenv])
  92963. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_UNSETENV$])
  92964. +m4trace:configure.ac:104: -1- m4_pattern_allow([^abs_aux_dir$])
  92965. +m4trace:configure.ac:104: -1- m4_pattern_allow([^abs_aux_dir$])
  92966. +m4trace:configure.ac:104: -1- gt_LOCALE_FR
  92967. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$])
  92968. +m4trace:configure.ac:104: -1- gt_LOCALE_FR_UTF8
  92969. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
  92970. +m4trace:configure.ac:104: -1- gt_LOCALE_JA
  92971. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_JA$])
  92972. +m4trace:configure.ac:104: -1- gt_LOCALE_ZH_CN
  92973. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
  92974. +m4trace:configure.ac:104: -1- gl_FUNC_WCTOB
  92975. +m4trace:configure.ac:104: -1- AC_DEFUN([_AC_Func_wctob], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" wctob"])])
  92976. +_AC_FUNCS_EXPANSION])
  92977. +m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H
  92978. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([wctob.c])
  92979. +m4trace:configure.ac:104: -1- gl_PREREQ_WCTOB
  92980. +m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H
  92981. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([wctob.c])
  92982. +m4trace:configure.ac:104: -1- gl_PREREQ_WCTOB
  92983. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_WCTOB$])
  92984. +m4trace:configure.ac:104: -1- gl_REPLACE_WCHAR_H
  92985. +m4trace:configure.ac:104: -1- gl_WCHAR_MODULE_INDICATOR([wctob])
  92986. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([wctob])
  92987. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92988. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([wctob])
  92989. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_WCTOB$])
  92990. +m4trace:configure.ac:104: -1- gl_FUNC_WCTOMB
  92991. +m4trace:configure.ac:104: -1- M4tests_LIBSOURCES([wctomb.c])
  92992. +m4trace:configure.ac:104: -1- gl_PREREQ_WCTOMB
  92993. +m4trace:configure.ac:104: -1- gl_STDLIB_MODULE_INDICATOR([wctomb])
  92994. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_SET_VARIABLE([wctomb])
  92995. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_CONDITION
  92996. +m4trace:configure.ac:104: -1- gl_MODULE_INDICATOR_FOR_TESTS([wctomb])
  92997. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_WCTOMB$])
  92998. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBM4_LIBDEPS$])
  92999. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBM4_LTLIBDEPS$])
  93000. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBTESTS_LIBDEPS$])
  93001. +m4trace:configure.ac:121: -1- m4_pattern_allow([^RENAME_OPEN_FILE_WORKS$])
  93002. +m4trace:configure.ac:129: -1- m4_pattern_allow([^ENABLE_CHANGEWORD$])
  93003. +m4trace:configure.ac:169: -1- m4_pattern_allow([^SYSCMD_SHELL$])
  93004. +m4trace:configure.ac:172: -1- M4_WITH_DMALLOC
  93005. +m4trace:configure.ac:172: -1- m4_pattern_allow([^WITH_DMALLOC$])
  93006. +m4trace:configure.ac:185: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  93007. +m4trace:configure.ac:185: -1- m4_pattern_allow([^LTLIBOBJS$])
  93008. +m4trace:configure.ac:185: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  93009. +m4trace:configure.ac:185: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  93010. +m4trace:configure.ac:185: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  93011. +m4trace:configure.ac:185: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  93012. +m4trace:configure.ac:185: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  93013. +m4trace:configure.ac:185: -1- m4_pattern_allow([^CONFIG_INCLUDE$])
  93014. +m4trace:configure.ac:185: -1- m4_pattern_allow([^M4_LIBOBJS$])
  93015. +m4trace:configure.ac:185: -1- m4_pattern_allow([^M4_LTLIBOBJS$])
  93016. +m4trace:configure.ac:185: -1- m4_pattern_allow([^M4tests_LIBOBJS$])
  93017. +m4trace:configure.ac:185: -1- m4_pattern_allow([^M4tests_LTLIBOBJS$])
  93018. +m4trace:configure.ac:185: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
  93019. +m4trace:configure.ac:185: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
  93020. diff -Nur m4-1.4.16.orig/autom4te.cache/traces.1 m4-1.4.16/autom4te.cache/traces.1
  93021. --- m4-1.4.16.orig/autom4te.cache/traces.1 1970-01-01 01:00:00.000000000 +0100
  93022. +++ m4-1.4.16/autom4te.cache/traces.1 2013-09-04 14:47:46.000000000 +0200
  93023. @@ -0,0 +1,5088 @@
  93024. +m4trace:aclocal.m4:1525: -1- m4_include([m4/00gnulib.m4])
  93025. +m4trace:aclocal.m4:1526: -1- m4_include([m4/alloca.m4])
  93026. +m4trace:aclocal.m4:1527: -1- m4_include([m4/ansi-c++.m4])
  93027. +m4trace:aclocal.m4:1528: -1- m4_include([m4/assert.m4])
  93028. +m4trace:aclocal.m4:1529: -1- m4_include([m4/autobuild.m4])
  93029. +m4trace:aclocal.m4:1530: -1- m4_include([m4/btowc.m4])
  93030. +m4trace:aclocal.m4:1531: -1- m4_include([m4/c-stack.m4])
  93031. +m4trace:aclocal.m4:1532: -1- m4_include([m4/canonicalize.m4])
  93032. +m4trace:aclocal.m4:1533: -1- m4_include([m4/cloexec.m4])
  93033. +m4trace:aclocal.m4:1534: -1- m4_include([m4/close-stream.m4])
  93034. +m4trace:aclocal.m4:1535: -1- m4_include([m4/close.m4])
  93035. +m4trace:aclocal.m4:1536: -1- m4_include([m4/closein.m4])
  93036. +m4trace:aclocal.m4:1537: -1- m4_include([m4/closeout.m4])
  93037. +m4trace:aclocal.m4:1538: -1- m4_include([m4/codeset.m4])
  93038. +m4trace:aclocal.m4:1539: -1- m4_include([m4/config-h.m4])
  93039. +m4trace:aclocal.m4:1540: -1- m4_include([m4/configmake.m4])
  93040. +m4trace:aclocal.m4:1541: -1- m4_include([m4/dirname.m4])
  93041. +m4trace:aclocal.m4:1542: -1- m4_include([m4/double-slash-root.m4])
  93042. +m4trace:aclocal.m4:1543: -1- m4_include([m4/dup2.m4])
  93043. +m4trace:aclocal.m4:1544: -1- m4_include([m4/eealloc.m4])
  93044. +m4trace:aclocal.m4:1545: -1- m4_include([m4/environ.m4])
  93045. +m4trace:aclocal.m4:1546: -1- m4_include([m4/errno_h.m4])
  93046. +m4trace:aclocal.m4:1547: -1- m4_include([m4/error.m4])
  93047. +m4trace:aclocal.m4:1548: -1- m4_include([m4/execute.m4])
  93048. +m4trace:aclocal.m4:1549: -1- m4_include([m4/exponentd.m4])
  93049. +m4trace:aclocal.m4:1550: -1- m4_include([m4/exponentf.m4])
  93050. +m4trace:aclocal.m4:1551: -1- m4_include([m4/exponentl.m4])
  93051. +m4trace:aclocal.m4:1552: -1- m4_include([m4/extensions.m4])
  93052. +m4trace:aclocal.m4:1553: -1- m4_include([m4/fatal-signal.m4])
  93053. +m4trace:aclocal.m4:1554: -1- m4_include([m4/fclose.m4])
  93054. +m4trace:aclocal.m4:1555: -1- m4_include([m4/fcntl-o.m4])
  93055. +m4trace:aclocal.m4:1556: -1- m4_include([m4/fcntl.m4])
  93056. +m4trace:aclocal.m4:1557: -1- m4_include([m4/fcntl_h.m4])
  93057. +m4trace:aclocal.m4:1558: -1- m4_include([m4/fflush.m4])
  93058. +m4trace:aclocal.m4:1559: -1- m4_include([m4/filenamecat.m4])
  93059. +m4trace:aclocal.m4:1560: -1- m4_include([m4/float_h.m4])
  93060. +m4trace:aclocal.m4:1561: -1- m4_include([m4/fopen.m4])
  93061. +m4trace:aclocal.m4:1562: -1- m4_include([m4/fpending.m4])
  93062. +m4trace:aclocal.m4:1563: -1- m4_include([m4/fpieee.m4])
  93063. +m4trace:aclocal.m4:1564: -1- m4_include([m4/fpurge.m4])
  93064. +m4trace:aclocal.m4:1565: -1- m4_include([m4/freading.m4])
  93065. +m4trace:aclocal.m4:1566: -1- m4_include([m4/frexp.m4])
  93066. +m4trace:aclocal.m4:1567: -1- m4_include([m4/frexpl.m4])
  93067. +m4trace:aclocal.m4:1568: -1- m4_include([m4/fseeko.m4])
  93068. +m4trace:aclocal.m4:1569: -1- m4_include([m4/ftell.m4])
  93069. +m4trace:aclocal.m4:1570: -1- m4_include([m4/ftello.m4])
  93070. +m4trace:aclocal.m4:1571: -1- m4_include([m4/getdtablesize.m4])
  93071. +m4trace:aclocal.m4:1572: -1- m4_include([m4/getopt.m4])
  93072. +m4trace:aclocal.m4:1573: -1- m4_include([m4/getpagesize.m4])
  93073. +m4trace:aclocal.m4:1574: -1- m4_include([m4/gettimeofday.m4])
  93074. +m4trace:aclocal.m4:1575: -1- m4_include([m4/gl_list.m4])
  93075. +m4trace:aclocal.m4:1576: -1- m4_include([m4/glibc21.m4])
  93076. +m4trace:aclocal.m4:1577: -1- m4_include([m4/gnulib-common.m4])
  93077. +m4trace:aclocal.m4:1578: -1- m4_include([m4/gnulib-comp.m4])
  93078. +m4trace:aclocal.m4:1579: -1- m4_include([m4/include_next.m4])
  93079. +m4trace:aclocal.m4:1580: -1- m4_include([m4/inline.m4])
  93080. +m4trace:aclocal.m4:1581: -1- m4_include([m4/intlmacosx.m4])
  93081. +m4trace:aclocal.m4:1582: -1- m4_include([m4/intmax_t.m4])
  93082. +m4trace:aclocal.m4:1583: -1- m4_include([m4/inttypes_h.m4])
  93083. +m4trace:aclocal.m4:1584: -1- m4_include([m4/isnand.m4])
  93084. +m4trace:aclocal.m4:1585: -1- m4_include([m4/isnanf.m4])
  93085. +m4trace:aclocal.m4:1586: -1- m4_include([m4/isnanl.m4])
  93086. +m4trace:aclocal.m4:1587: -1- m4_include([m4/langinfo_h.m4])
  93087. +m4trace:aclocal.m4:1588: -1- m4_include([m4/lcmessage.m4])
  93088. +m4trace:aclocal.m4:1589: -1- m4_include([m4/ldexp.m4])
  93089. +m4trace:aclocal.m4:1590: -1- m4_include([m4/ldexpl.m4])
  93090. +m4trace:aclocal.m4:1591: -1- m4_include([m4/lib-ld.m4])
  93091. +m4trace:aclocal.m4:1592: -1- m4_include([m4/lib-link.m4])
  93092. +m4trace:aclocal.m4:1593: -1- m4_include([m4/lib-prefix.m4])
  93093. +m4trace:aclocal.m4:1594: -1- m4_include([m4/libsigsegv.m4])
  93094. +m4trace:aclocal.m4:1595: -1- m4_include([m4/link.m4])
  93095. +m4trace:aclocal.m4:1596: -1- m4_include([m4/localcharset.m4])
  93096. +m4trace:aclocal.m4:1597: -1- m4_include([m4/locale-fr.m4])
  93097. +m4trace:aclocal.m4:1598: -1- m4_include([m4/locale-ja.m4])
  93098. +m4trace:aclocal.m4:1599: -1- m4_include([m4/locale-tr.m4])
  93099. +m4trace:aclocal.m4:1600: -1- m4_include([m4/locale-zh.m4])
  93100. +m4trace:aclocal.m4:1601: -1- m4_include([m4/locale_h.m4])
  93101. +m4trace:aclocal.m4:1602: -1- m4_include([m4/localename.m4])
  93102. +m4trace:aclocal.m4:1603: -1- m4_include([m4/lock.m4])
  93103. +m4trace:aclocal.m4:1604: -1- m4_include([m4/longlong.m4])
  93104. +m4trace:aclocal.m4:1605: -1- m4_include([m4/lseek.m4])
  93105. +m4trace:aclocal.m4:1606: -1- m4_include([m4/lstat.m4])
  93106. +m4trace:aclocal.m4:1607: -1- m4_include([m4/malloc.m4])
  93107. +m4trace:aclocal.m4:1608: -1- m4_include([m4/malloca.m4])
  93108. +m4trace:aclocal.m4:1609: -1- m4_include([m4/manywarnings.m4])
  93109. +m4trace:aclocal.m4:1610: -1- m4_include([m4/math_h.m4])
  93110. +m4trace:aclocal.m4:1611: -1- m4_include([m4/mbrtowc.m4])
  93111. +m4trace:aclocal.m4:1612: -1- m4_include([m4/mbsinit.m4])
  93112. +m4trace:aclocal.m4:1613: -1- m4_include([m4/mbstate_t.m4])
  93113. +m4trace:aclocal.m4:1614: -1- m4_include([m4/mbtowc.m4])
  93114. +m4trace:aclocal.m4:1615: -1- m4_include([m4/memchr.m4])
  93115. +m4trace:aclocal.m4:1616: -1- m4_include([m4/mkdtemp.m4])
  93116. +m4trace:aclocal.m4:1617: -1- m4_include([m4/mkstemp.m4])
  93117. +m4trace:aclocal.m4:1618: -1- m4_include([m4/mmap-anon.m4])
  93118. +m4trace:aclocal.m4:1619: -1- m4_include([m4/mode_t.m4])
  93119. +m4trace:aclocal.m4:1620: -1- m4_include([m4/multiarch.m4])
  93120. +m4trace:aclocal.m4:1621: -1- m4_include([m4/nl_langinfo.m4])
  93121. +m4trace:aclocal.m4:1622: -1- m4_include([m4/nocrash.m4])
  93122. +m4trace:aclocal.m4:1623: -1- m4_include([m4/open.m4])
  93123. +m4trace:aclocal.m4:1624: -1- m4_include([m4/pathmax.m4])
  93124. +m4trace:aclocal.m4:1625: -1- m4_include([m4/pipe2.m4])
  93125. +m4trace:aclocal.m4:1626: -1- m4_include([m4/posix_spawn.m4])
  93126. +m4trace:aclocal.m4:1627: -1- m4_include([m4/printf-frexp.m4])
  93127. +m4trace:aclocal.m4:1628: -1- m4_include([m4/printf-frexpl.m4])
  93128. +m4trace:aclocal.m4:1629: -1- m4_include([m4/printf.m4])
  93129. +m4trace:aclocal.m4:1630: -1- m4_include([m4/putenv.m4])
  93130. +m4trace:aclocal.m4:1631: -1- m4_include([m4/quotearg.m4])
  93131. +m4trace:aclocal.m4:1632: -1- m4_include([m4/rawmemchr.m4])
  93132. +m4trace:aclocal.m4:1633: -1- m4_include([m4/readlink.m4])
  93133. +m4trace:aclocal.m4:1634: -1- m4_include([m4/regex.m4])
  93134. +m4trace:aclocal.m4:1635: -1- m4_include([m4/rename.m4])
  93135. +m4trace:aclocal.m4:1636: -1- m4_include([m4/rmdir.m4])
  93136. +m4trace:aclocal.m4:1637: -1- m4_include([m4/sched_h.m4])
  93137. +m4trace:aclocal.m4:1638: -1- m4_include([m4/setenv.m4])
  93138. +m4trace:aclocal.m4:1639: -1- m4_include([m4/setlocale.m4])
  93139. +m4trace:aclocal.m4:1640: -1- m4_include([m4/sig_atomic_t.m4])
  93140. +m4trace:aclocal.m4:1641: -1- m4_include([m4/sigaction.m4])
  93141. +m4trace:aclocal.m4:1642: -1- m4_include([m4/signal_h.m4])
  93142. +m4trace:aclocal.m4:1643: -1- m4_include([m4/signalblocking.m4])
  93143. +m4trace:aclocal.m4:1644: -1- m4_include([m4/signbit.m4])
  93144. +m4trace:aclocal.m4:1645: -1- m4_include([m4/size_max.m4])
  93145. +m4trace:aclocal.m4:1646: -1- m4_include([m4/snprintf.m4])
  93146. +m4trace:aclocal.m4:1647: -1- m4_include([m4/spawn-pipe.m4])
  93147. +m4trace:aclocal.m4:1648: -1- m4_include([m4/spawn_h.m4])
  93148. +m4trace:aclocal.m4:1649: -1- m4_include([m4/ssize_t.m4])
  93149. +m4trace:aclocal.m4:1650: -1- m4_include([m4/stat.m4])
  93150. +m4trace:aclocal.m4:1651: -1- m4_include([m4/stdarg.m4])
  93151. +m4trace:aclocal.m4:1652: -1- m4_include([m4/stdbool.m4])
  93152. +m4trace:aclocal.m4:1653: -1- m4_include([m4/stddef_h.m4])
  93153. +m4trace:aclocal.m4:1654: -1- m4_include([m4/stdint.m4])
  93154. +m4trace:aclocal.m4:1655: -1- m4_include([m4/stdint_h.m4])
  93155. +m4trace:aclocal.m4:1656: -1- m4_include([m4/stdio-safer.m4])
  93156. +m4trace:aclocal.m4:1657: -1- m4_include([m4/stdio_h.m4])
  93157. +m4trace:aclocal.m4:1658: -1- m4_include([m4/stdlib-safer.m4])
  93158. +m4trace:aclocal.m4:1659: -1- m4_include([m4/stdlib_h.m4])
  93159. +m4trace:aclocal.m4:1660: -1- m4_include([m4/strchrnul.m4])
  93160. +m4trace:aclocal.m4:1661: -1- m4_include([m4/strdup.m4])
  93161. +m4trace:aclocal.m4:1662: -1- m4_include([m4/strerror.m4])
  93162. +m4trace:aclocal.m4:1663: -1- m4_include([m4/string_h.m4])
  93163. +m4trace:aclocal.m4:1664: -1- m4_include([m4/strndup.m4])
  93164. +m4trace:aclocal.m4:1665: -1- m4_include([m4/strnlen.m4])
  93165. +m4trace:aclocal.m4:1666: -1- m4_include([m4/strsignal.m4])
  93166. +m4trace:aclocal.m4:1667: -1- m4_include([m4/strstr.m4])
  93167. +m4trace:aclocal.m4:1668: -1- m4_include([m4/strtod.m4])
  93168. +m4trace:aclocal.m4:1669: -1- m4_include([m4/strtol.m4])
  93169. +m4trace:aclocal.m4:1670: -1- m4_include([m4/symlink.m4])
  93170. +m4trace:aclocal.m4:1671: -1- m4_include([m4/sys_stat_h.m4])
  93171. +m4trace:aclocal.m4:1672: -1- m4_include([m4/sys_time_h.m4])
  93172. +m4trace:aclocal.m4:1673: -1- m4_include([m4/sys_wait_h.m4])
  93173. +m4trace:aclocal.m4:1674: -1- m4_include([m4/tempname.m4])
  93174. +m4trace:aclocal.m4:1675: -1- m4_include([m4/threadlib.m4])
  93175. +m4trace:aclocal.m4:1676: -1- m4_include([m4/time_h.m4])
  93176. +m4trace:aclocal.m4:1677: -1- m4_include([m4/tls.m4])
  93177. +m4trace:aclocal.m4:1678: -1- m4_include([m4/tmpdir.m4])
  93178. +m4trace:aclocal.m4:1679: -1- m4_include([m4/ungetc.m4])
  93179. +m4trace:aclocal.m4:1680: -1- m4_include([m4/unistd-safer.m4])
  93180. +m4trace:aclocal.m4:1681: -1- m4_include([m4/unistd_h.m4])
  93181. +m4trace:aclocal.m4:1682: -1- m4_include([m4/unlocked-io.m4])
  93182. +m4trace:aclocal.m4:1683: -1- m4_include([m4/vasnprintf.m4])
  93183. +m4trace:aclocal.m4:1684: -1- m4_include([m4/vasprintf-posix.m4])
  93184. +m4trace:aclocal.m4:1685: -1- m4_include([m4/vasprintf.m4])
  93185. +m4trace:aclocal.m4:1686: -1- m4_include([m4/version-etc.m4])
  93186. +m4trace:aclocal.m4:1687: -1- m4_include([m4/wait-process.m4])
  93187. +m4trace:aclocal.m4:1688: -1- m4_include([m4/waitpid.m4])
  93188. +m4trace:aclocal.m4:1689: -1- m4_include([m4/warnings.m4])
  93189. +m4trace:aclocal.m4:1690: -1- m4_include([m4/wchar_h.m4])
  93190. +m4trace:aclocal.m4:1691: -1- m4_include([m4/wchar_t.m4])
  93191. +m4trace:aclocal.m4:1692: -1- m4_include([m4/wcrtomb.m4])
  93192. +m4trace:aclocal.m4:1693: -1- m4_include([m4/wctob.m4])
  93193. +m4trace:aclocal.m4:1694: -1- m4_include([m4/wctomb.m4])
  93194. +m4trace:aclocal.m4:1695: -1- m4_include([m4/wctype_h.m4])
  93195. +m4trace:aclocal.m4:1696: -1- m4_include([m4/wint_t.m4])
  93196. +m4trace:aclocal.m4:1697: -1- m4_include([m4/xalloc.m4])
  93197. +m4trace:aclocal.m4:1698: -1- m4_include([m4/xsize.m4])
  93198. +m4trace:aclocal.m4:1699: -1- m4_include([m4/xstrndup.m4])
  93199. +m4trace:aclocal.m4:1700: -1- m4_include([m4/xvasprintf.m4])
  93200. +m4trace:aclocal.m4:1701: -1- m4_include([acinclude.m4])
  93201. +m4trace:configure.ac:21: -1- AC_INIT([GNU M4], [1.4.16], [bug-m4@gnu.org])
  93202. +m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?A[CHUM]_])
  93203. +m4trace:configure.ac:21: -1- m4_pattern_forbid([_AC_])
  93204. +m4trace:configure.ac:21: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
  93205. +m4trace:configure.ac:21: -1- m4_pattern_allow([^AS_FLAGS$])
  93206. +m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?m4_])
  93207. +m4trace:configure.ac:21: -1- m4_pattern_forbid([^dnl$])
  93208. +m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?AS_])
  93209. +m4trace:configure.ac:21: -1- AC_SUBST([SHELL])
  93210. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([SHELL])
  93211. +m4trace:configure.ac:21: -1- m4_pattern_allow([^SHELL$])
  93212. +m4trace:configure.ac:21: -1- AC_SUBST([PATH_SEPARATOR])
  93213. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
  93214. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PATH_SEPARATOR$])
  93215. +m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
  93216. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_NAME])
  93217. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_NAME$])
  93218. +m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
  93219. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
  93220. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  93221. +m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
  93222. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
  93223. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  93224. +m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
  93225. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_STRING])
  93226. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_STRING$])
  93227. +m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
  93228. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
  93229. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  93230. +m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
  93231. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_URL])
  93232. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_URL$])
  93233. +m4trace:configure.ac:21: -1- AC_SUBST([exec_prefix], [NONE])
  93234. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([exec_prefix])
  93235. +m4trace:configure.ac:21: -1- m4_pattern_allow([^exec_prefix$])
  93236. +m4trace:configure.ac:21: -1- AC_SUBST([prefix], [NONE])
  93237. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([prefix])
  93238. +m4trace:configure.ac:21: -1- m4_pattern_allow([^prefix$])
  93239. +m4trace:configure.ac:21: -1- AC_SUBST([program_transform_name], [s,x,x,])
  93240. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([program_transform_name])
  93241. +m4trace:configure.ac:21: -1- m4_pattern_allow([^program_transform_name$])
  93242. +m4trace:configure.ac:21: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
  93243. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([bindir])
  93244. +m4trace:configure.ac:21: -1- m4_pattern_allow([^bindir$])
  93245. +m4trace:configure.ac:21: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
  93246. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([sbindir])
  93247. +m4trace:configure.ac:21: -1- m4_pattern_allow([^sbindir$])
  93248. +m4trace:configure.ac:21: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
  93249. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([libexecdir])
  93250. +m4trace:configure.ac:21: -1- m4_pattern_allow([^libexecdir$])
  93251. +m4trace:configure.ac:21: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
  93252. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([datarootdir])
  93253. +m4trace:configure.ac:21: -1- m4_pattern_allow([^datarootdir$])
  93254. +m4trace:configure.ac:21: -1- AC_SUBST([datadir], ['${datarootdir}'])
  93255. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([datadir])
  93256. +m4trace:configure.ac:21: -1- m4_pattern_allow([^datadir$])
  93257. +m4trace:configure.ac:21: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
  93258. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([sysconfdir])
  93259. +m4trace:configure.ac:21: -1- m4_pattern_allow([^sysconfdir$])
  93260. +m4trace:configure.ac:21: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
  93261. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([sharedstatedir])
  93262. +m4trace:configure.ac:21: -1- m4_pattern_allow([^sharedstatedir$])
  93263. +m4trace:configure.ac:21: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
  93264. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([localstatedir])
  93265. +m4trace:configure.ac:21: -1- m4_pattern_allow([^localstatedir$])
  93266. +m4trace:configure.ac:21: -1- AC_SUBST([includedir], ['${prefix}/include'])
  93267. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([includedir])
  93268. +m4trace:configure.ac:21: -1- m4_pattern_allow([^includedir$])
  93269. +m4trace:configure.ac:21: -1- AC_SUBST([oldincludedir], ['/usr/include'])
  93270. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([oldincludedir])
  93271. +m4trace:configure.ac:21: -1- m4_pattern_allow([^oldincludedir$])
  93272. +m4trace:configure.ac:21: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
  93273. + ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
  93274. + ['${datarootdir}/doc/${PACKAGE}'])])
  93275. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([docdir])
  93276. +m4trace:configure.ac:21: -1- m4_pattern_allow([^docdir$])
  93277. +m4trace:configure.ac:21: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
  93278. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([infodir])
  93279. +m4trace:configure.ac:21: -1- m4_pattern_allow([^infodir$])
  93280. +m4trace:configure.ac:21: -1- AC_SUBST([htmldir], ['${docdir}'])
  93281. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([htmldir])
  93282. +m4trace:configure.ac:21: -1- m4_pattern_allow([^htmldir$])
  93283. +m4trace:configure.ac:21: -1- AC_SUBST([dvidir], ['${docdir}'])
  93284. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([dvidir])
  93285. +m4trace:configure.ac:21: -1- m4_pattern_allow([^dvidir$])
  93286. +m4trace:configure.ac:21: -1- AC_SUBST([pdfdir], ['${docdir}'])
  93287. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([pdfdir])
  93288. +m4trace:configure.ac:21: -1- m4_pattern_allow([^pdfdir$])
  93289. +m4trace:configure.ac:21: -1- AC_SUBST([psdir], ['${docdir}'])
  93290. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([psdir])
  93291. +m4trace:configure.ac:21: -1- m4_pattern_allow([^psdir$])
  93292. +m4trace:configure.ac:21: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
  93293. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([libdir])
  93294. +m4trace:configure.ac:21: -1- m4_pattern_allow([^libdir$])
  93295. +m4trace:configure.ac:21: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
  93296. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([localedir])
  93297. +m4trace:configure.ac:21: -1- m4_pattern_allow([^localedir$])
  93298. +m4trace:configure.ac:21: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
  93299. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([mandir])
  93300. +m4trace:configure.ac:21: -1- m4_pattern_allow([^mandir$])
  93301. +m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
  93302. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_NAME$])
  93303. +m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
  93304. +@%:@undef PACKAGE_NAME])
  93305. +m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
  93306. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  93307. +m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
  93308. +@%:@undef PACKAGE_TARNAME])
  93309. +m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
  93310. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  93311. +m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
  93312. +@%:@undef PACKAGE_VERSION])
  93313. +m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
  93314. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_STRING$])
  93315. +m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
  93316. +@%:@undef PACKAGE_STRING])
  93317. +m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
  93318. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  93319. +m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
  93320. +@%:@undef PACKAGE_BUGREPORT])
  93321. +m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
  93322. +m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_URL$])
  93323. +m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
  93324. +@%:@undef PACKAGE_URL])
  93325. +m4trace:configure.ac:21: -1- AC_SUBST([DEFS])
  93326. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([DEFS])
  93327. +m4trace:configure.ac:21: -1- m4_pattern_allow([^DEFS$])
  93328. +m4trace:configure.ac:21: -1- AC_SUBST([ECHO_C])
  93329. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([ECHO_C])
  93330. +m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_C$])
  93331. +m4trace:configure.ac:21: -1- AC_SUBST([ECHO_N])
  93332. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([ECHO_N])
  93333. +m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_N$])
  93334. +m4trace:configure.ac:21: -1- AC_SUBST([ECHO_T])
  93335. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([ECHO_T])
  93336. +m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_T$])
  93337. +m4trace:configure.ac:21: -1- AC_SUBST([LIBS])
  93338. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([LIBS])
  93339. +m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBS$])
  93340. +m4trace:configure.ac:21: -1- AC_SUBST([build_alias])
  93341. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([build_alias])
  93342. +m4trace:configure.ac:21: -1- m4_pattern_allow([^build_alias$])
  93343. +m4trace:configure.ac:21: -1- AC_SUBST([host_alias])
  93344. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([host_alias])
  93345. +m4trace:configure.ac:21: -1- m4_pattern_allow([^host_alias$])
  93346. +m4trace:configure.ac:21: -1- AC_SUBST([target_alias])
  93347. +m4trace:configure.ac:21: -1- AC_SUBST_TRACE([target_alias])
  93348. +m4trace:configure.ac:21: -1- m4_pattern_allow([^target_alias$])
  93349. +m4trace:configure.ac:23: -1- AC_CONFIG_AUX_DIR([build-aux])
  93350. +m4trace:configure.ac:25: -1- AM_INIT_AUTOMAKE([1.11.1 dist-bzip2 dist-xz color-tests parallel-tests
  93351. +silent-rules gnu])
  93352. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
  93353. +m4trace:configure.ac:25: -1- AM_AUTOMAKE_VERSION([1.13.2])
  93354. +m4trace:configure.ac:25: -1- AC_REQUIRE_AUX_FILE([install-sh])
  93355. +m4trace:configure.ac:25: -1- AC_SUBST([INSTALL_PROGRAM])
  93356. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
  93357. +m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
  93358. +m4trace:configure.ac:25: -1- AC_SUBST([INSTALL_SCRIPT])
  93359. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
  93360. +m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
  93361. +m4trace:configure.ac:25: -1- AC_SUBST([INSTALL_DATA])
  93362. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([INSTALL_DATA])
  93363. +m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_DATA$])
  93364. +m4trace:configure.ac:25: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
  93365. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__isrc])
  93366. +m4trace:configure.ac:25: -1- m4_pattern_allow([^am__isrc$])
  93367. +m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([am__isrc])
  93368. +m4trace:configure.ac:25: -1- AC_SUBST([CYGPATH_W])
  93369. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([CYGPATH_W])
  93370. +m4trace:configure.ac:25: -1- m4_pattern_allow([^CYGPATH_W$])
  93371. +m4trace:configure.ac:25: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
  93372. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([PACKAGE])
  93373. +m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE$])
  93374. +m4trace:configure.ac:25: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
  93375. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([VERSION])
  93376. +m4trace:configure.ac:25: -1- m4_pattern_allow([^VERSION$])
  93377. +m4trace:configure.ac:25: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
  93378. +m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE$])
  93379. +m4trace:configure.ac:25: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
  93380. +@%:@undef PACKAGE])
  93381. +m4trace:configure.ac:25: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
  93382. +m4trace:configure.ac:25: -1- m4_pattern_allow([^VERSION$])
  93383. +m4trace:configure.ac:25: -1- AH_OUTPUT([VERSION], [/* Version number of package */
  93384. +@%:@undef VERSION])
  93385. +m4trace:configure.ac:25: -1- AC_REQUIRE_AUX_FILE([missing])
  93386. +m4trace:configure.ac:25: -1- AC_SUBST([ACLOCAL])
  93387. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([ACLOCAL])
  93388. +m4trace:configure.ac:25: -1- m4_pattern_allow([^ACLOCAL$])
  93389. +m4trace:configure.ac:25: -1- AC_SUBST([AUTOCONF])
  93390. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AUTOCONF])
  93391. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOCONF$])
  93392. +m4trace:configure.ac:25: -1- AC_SUBST([AUTOMAKE])
  93393. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AUTOMAKE])
  93394. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOMAKE$])
  93395. +m4trace:configure.ac:25: -1- AC_SUBST([AUTOHEADER])
  93396. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AUTOHEADER])
  93397. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AUTOHEADER$])
  93398. +m4trace:configure.ac:25: -1- AC_SUBST([MAKEINFO])
  93399. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([MAKEINFO])
  93400. +m4trace:configure.ac:25: -1- m4_pattern_allow([^MAKEINFO$])
  93401. +m4trace:configure.ac:25: -1- AC_SUBST([install_sh])
  93402. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([install_sh])
  93403. +m4trace:configure.ac:25: -1- m4_pattern_allow([^install_sh$])
  93404. +m4trace:configure.ac:25: -1- AC_SUBST([STRIP])
  93405. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([STRIP])
  93406. +m4trace:configure.ac:25: -1- m4_pattern_allow([^STRIP$])
  93407. +m4trace:configure.ac:25: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
  93408. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
  93409. +m4trace:configure.ac:25: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
  93410. +m4trace:configure.ac:25: -1- AC_REQUIRE_AUX_FILE([install-sh])
  93411. +m4trace:configure.ac:25: -1- AC_SUBST([MKDIR_P])
  93412. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([MKDIR_P])
  93413. +m4trace:configure.ac:25: -1- m4_pattern_allow([^MKDIR_P$])
  93414. +m4trace:configure.ac:25: -1- AC_SUBST([MKDIR_P])
  93415. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([MKDIR_P])
  93416. +m4trace:configure.ac:25: -1- m4_pattern_allow([^MKDIR_P$])
  93417. +m4trace:configure.ac:25: -1- AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  93418. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([mkdir_p])
  93419. +m4trace:configure.ac:25: -1- m4_pattern_allow([^mkdir_p$])
  93420. +m4trace:configure.ac:25: -1- AC_SUBST([AWK])
  93421. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AWK])
  93422. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AWK$])
  93423. +m4trace:configure.ac:25: -1- AC_SUBST([SET_MAKE])
  93424. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([SET_MAKE])
  93425. +m4trace:configure.ac:25: -1- m4_pattern_allow([^SET_MAKE$])
  93426. +m4trace:configure.ac:25: -1- AC_SUBST([am__leading_dot])
  93427. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__leading_dot])
  93428. +m4trace:configure.ac:25: -1- m4_pattern_allow([^am__leading_dot$])
  93429. +m4trace:configure.ac:25: -1- AC_SUBST([AMTAR], ['$${TAR-tar}'])
  93430. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AMTAR])
  93431. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AMTAR$])
  93432. +m4trace:configure.ac:25: -1- AC_SUBST([am__tar])
  93433. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__tar])
  93434. +m4trace:configure.ac:25: -1- m4_pattern_allow([^am__tar$])
  93435. +m4trace:configure.ac:25: -1- AC_SUBST([am__untar])
  93436. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([am__untar])
  93437. +m4trace:configure.ac:25: -1- m4_pattern_allow([^am__untar$])
  93438. +m4trace:configure.ac:25: -1- AM_SILENT_RULES
  93439. +m4trace:configure.ac:25: -1- AC_SUBST([AM_V])
  93440. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AM_V])
  93441. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_V$])
  93442. +m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_V])
  93443. +m4trace:configure.ac:25: -1- AC_SUBST([AM_DEFAULT_V])
  93444. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AM_DEFAULT_V])
  93445. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_DEFAULT_V$])
  93446. +m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  93447. +m4trace:configure.ac:25: -1- AC_SUBST([AM_DEFAULT_VERBOSITY])
  93448. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AM_DEFAULT_VERBOSITY])
  93449. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
  93450. +m4trace:configure.ac:25: -1- AC_SUBST([AM_BACKSLASH])
  93451. +m4trace:configure.ac:25: -1- AC_SUBST_TRACE([AM_BACKSLASH])
  93452. +m4trace:configure.ac:25: -1- m4_pattern_allow([^AM_BACKSLASH$])
  93453. +m4trace:configure.ac:25: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
  93454. +m4trace:configure.ac:28: -1- m4_pattern_forbid([^M4_[A-Z]])
  93455. +m4trace:configure.ac:31: -1- AC_CONFIG_HEADERS([lib/config.h:lib/config.hin])
  93456. +m4trace:configure.ac:33: -1- AC_SUBST([CC])
  93457. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([CC])
  93458. +m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$])
  93459. +m4trace:configure.ac:33: -1- AC_SUBST([CFLAGS])
  93460. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([CFLAGS])
  93461. +m4trace:configure.ac:33: -1- m4_pattern_allow([^CFLAGS$])
  93462. +m4trace:configure.ac:33: -1- AC_SUBST([LDFLAGS])
  93463. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([LDFLAGS])
  93464. +m4trace:configure.ac:33: -1- m4_pattern_allow([^LDFLAGS$])
  93465. +m4trace:configure.ac:33: -1- AC_SUBST([LIBS])
  93466. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([LIBS])
  93467. +m4trace:configure.ac:33: -1- m4_pattern_allow([^LIBS$])
  93468. +m4trace:configure.ac:33: -1- AC_SUBST([CPPFLAGS])
  93469. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([CPPFLAGS])
  93470. +m4trace:configure.ac:33: -1- m4_pattern_allow([^CPPFLAGS$])
  93471. +m4trace:configure.ac:33: -1- AC_SUBST([CC])
  93472. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([CC])
  93473. +m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$])
  93474. +m4trace:configure.ac:33: -1- AC_SUBST([CC])
  93475. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([CC])
  93476. +m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$])
  93477. +m4trace:configure.ac:33: -1- AC_SUBST([CC])
  93478. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([CC])
  93479. +m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$])
  93480. +m4trace:configure.ac:33: -1- AC_SUBST([CC])
  93481. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([CC])
  93482. +m4trace:configure.ac:33: -1- m4_pattern_allow([^CC$])
  93483. +m4trace:configure.ac:33: -1- AC_SUBST([ac_ct_CC])
  93484. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([ac_ct_CC])
  93485. +m4trace:configure.ac:33: -1- m4_pattern_allow([^ac_ct_CC$])
  93486. +m4trace:configure.ac:33: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
  93487. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([EXEEXT])
  93488. +m4trace:configure.ac:33: -1- m4_pattern_allow([^EXEEXT$])
  93489. +m4trace:configure.ac:33: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
  93490. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([OBJEXT])
  93491. +m4trace:configure.ac:33: -1- m4_pattern_allow([^OBJEXT$])
  93492. +m4trace:configure.ac:33: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
  93493. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([DEPDIR])
  93494. +m4trace:configure.ac:33: -1- m4_pattern_allow([^DEPDIR$])
  93495. +m4trace:configure.ac:33: -1- AC_SUBST([am__include])
  93496. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([am__include])
  93497. +m4trace:configure.ac:33: -1- m4_pattern_allow([^am__include$])
  93498. +m4trace:configure.ac:33: -1- AC_SUBST([am__quote])
  93499. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([am__quote])
  93500. +m4trace:configure.ac:33: -1- m4_pattern_allow([^am__quote$])
  93501. +m4trace:configure.ac:33: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  93502. +m4trace:configure.ac:33: -1- AC_SUBST([AMDEP_TRUE])
  93503. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([AMDEP_TRUE])
  93504. +m4trace:configure.ac:33: -1- m4_pattern_allow([^AMDEP_TRUE$])
  93505. +m4trace:configure.ac:33: -1- AC_SUBST([AMDEP_FALSE])
  93506. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([AMDEP_FALSE])
  93507. +m4trace:configure.ac:33: -1- m4_pattern_allow([^AMDEP_FALSE$])
  93508. +m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
  93509. +m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
  93510. +m4trace:configure.ac:33: -1- AC_SUBST([AMDEPBACKSLASH])
  93511. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
  93512. +m4trace:configure.ac:33: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
  93513. +m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
  93514. +m4trace:configure.ac:33: -1- AC_SUBST([am__nodep])
  93515. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([am__nodep])
  93516. +m4trace:configure.ac:33: -1- m4_pattern_allow([^am__nodep$])
  93517. +m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([am__nodep])
  93518. +m4trace:configure.ac:33: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
  93519. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([CCDEPMODE])
  93520. +m4trace:configure.ac:33: -1- m4_pattern_allow([^CCDEPMODE$])
  93521. +m4trace:configure.ac:33: -1- AM_CONDITIONAL([am__fastdepCC], [
  93522. + test "x$enable_dependency_tracking" != xno \
  93523. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  93524. +m4trace:configure.ac:33: -1- AC_SUBST([am__fastdepCC_TRUE])
  93525. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
  93526. +m4trace:configure.ac:33: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  93527. +m4trace:configure.ac:33: -1- AC_SUBST([am__fastdepCC_FALSE])
  93528. +m4trace:configure.ac:33: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
  93529. +m4trace:configure.ac:33: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  93530. +m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  93531. +m4trace:configure.ac:33: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  93532. +m4trace:configure.ac:35: -1- m4_pattern_forbid([^gl_[A-Z]])
  93533. +m4trace:configure.ac:35: -1- m4_pattern_allow([^gl_ES$])
  93534. +m4trace:configure.ac:35: -1- m4_pattern_allow([^gl_LIBOBJS$])
  93535. +m4trace:configure.ac:35: -1- m4_pattern_allow([^gl_LTLIBOBJS$])
  93536. +m4trace:configure.ac:35: -1- AC_SUBST([RANLIB])
  93537. +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([RANLIB])
  93538. +m4trace:configure.ac:35: -1- m4_pattern_allow([^RANLIB$])
  93539. +m4trace:configure.ac:35: -1- AM_PROG_CC_C_O
  93540. +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([NO_MINUS_C_MINUS_O])
  93541. +m4trace:configure.ac:35: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$])
  93542. +m4trace:configure.ac:35: -1- AH_OUTPUT([NO_MINUS_C_MINUS_O], [/* Define to 1 if your C compiler doesn\'t accept -c and -o together. */
  93543. +@%:@undef NO_MINUS_C_MINUS_O])
  93544. +m4trace:configure.ac:35: -1- AC_REQUIRE_AUX_FILE([compile])
  93545. +m4trace:configure.ac:35: -1- AC_CANONICAL_BUILD
  93546. +m4trace:configure.ac:35: -1- AC_REQUIRE_AUX_FILE([config.sub])
  93547. +m4trace:configure.ac:35: -1- AC_REQUIRE_AUX_FILE([config.guess])
  93548. +m4trace:configure.ac:35: -1- AC_SUBST([build], [$ac_cv_build])
  93549. +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([build])
  93550. +m4trace:configure.ac:35: -1- m4_pattern_allow([^build$])
  93551. +m4trace:configure.ac:35: -1- AC_SUBST([build_cpu], [$[1]])
  93552. +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([build_cpu])
  93553. +m4trace:configure.ac:35: -1- m4_pattern_allow([^build_cpu$])
  93554. +m4trace:configure.ac:35: -1- AC_SUBST([build_vendor], [$[2]])
  93555. +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([build_vendor])
  93556. +m4trace:configure.ac:35: -1- m4_pattern_allow([^build_vendor$])
  93557. +m4trace:configure.ac:35: -1- AC_SUBST([build_os])
  93558. +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([build_os])
  93559. +m4trace:configure.ac:35: -1- m4_pattern_allow([^build_os$])
  93560. +m4trace:configure.ac:35: -1- AC_CANONICAL_HOST
  93561. +m4trace:configure.ac:35: -1- AC_SUBST([host], [$ac_cv_host])
  93562. +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([host])
  93563. +m4trace:configure.ac:35: -1- m4_pattern_allow([^host$])
  93564. +m4trace:configure.ac:35: -1- AC_SUBST([host_cpu], [$[1]])
  93565. +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([host_cpu])
  93566. +m4trace:configure.ac:35: -1- m4_pattern_allow([^host_cpu$])
  93567. +m4trace:configure.ac:35: -1- AC_SUBST([host_vendor], [$[2]])
  93568. +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([host_vendor])
  93569. +m4trace:configure.ac:35: -1- m4_pattern_allow([^host_vendor$])
  93570. +m4trace:configure.ac:35: -1- AC_SUBST([host_os])
  93571. +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([host_os])
  93572. +m4trace:configure.ac:35: -1- m4_pattern_allow([^host_os$])
  93573. +m4trace:configure.ac:35: -1- _m4_warn([obsolete], [The macro `AC_GNU_SOURCE' is obsolete.
  93574. +You should run autoupdate.], [../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from...
  93575. +m4/gnulib-comp.m4:22: M4_EARLY is expanded from...
  93576. +configure.ac:35: the top level])
  93577. +m4trace:configure.ac:35: -1- AC_SUBST([CPP])
  93578. +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([CPP])
  93579. +m4trace:configure.ac:35: -1- m4_pattern_allow([^CPP$])
  93580. +m4trace:configure.ac:35: -1- AC_SUBST([CPPFLAGS])
  93581. +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([CPPFLAGS])
  93582. +m4trace:configure.ac:35: -1- m4_pattern_allow([^CPPFLAGS$])
  93583. +m4trace:configure.ac:35: -1- AC_SUBST([CPP])
  93584. +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([CPP])
  93585. +m4trace:configure.ac:35: -1- m4_pattern_allow([^CPP$])
  93586. +m4trace:configure.ac:35: -1- AC_SUBST([GREP])
  93587. +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([GREP])
  93588. +m4trace:configure.ac:35: -1- m4_pattern_allow([^GREP$])
  93589. +m4trace:configure.ac:35: -1- AC_SUBST([EGREP])
  93590. +m4trace:configure.ac:35: -1- AC_SUBST_TRACE([EGREP])
  93591. +m4trace:configure.ac:35: -1- m4_pattern_allow([^EGREP$])
  93592. +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
  93593. +m4trace:configure.ac:35: -1- m4_pattern_allow([^STDC_HEADERS$])
  93594. +m4trace:configure.ac:35: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
  93595. +@%:@undef STDC_HEADERS])
  93596. +m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
  93597. +@%:@undef HAVE_SYS_TYPES_H])
  93598. +m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
  93599. +@%:@undef HAVE_SYS_STAT_H])
  93600. +m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
  93601. +@%:@undef HAVE_STDLIB_H])
  93602. +m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
  93603. +@%:@undef HAVE_STRING_H])
  93604. +m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
  93605. +@%:@undef HAVE_MEMORY_H])
  93606. +m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
  93607. +@%:@undef HAVE_STRINGS_H])
  93608. +m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
  93609. +@%:@undef HAVE_INTTYPES_H])
  93610. +m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
  93611. +@%:@undef HAVE_STDINT_H])
  93612. +m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  93613. +@%:@undef HAVE_UNISTD_H])
  93614. +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_SOURCE])
  93615. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_POSIX_SOURCE$])
  93616. +m4trace:configure.ac:35: -1- AH_OUTPUT([_POSIX_SOURCE], [/* Define to 1 if you need to in order for `stat\' and other things to work. */
  93617. +@%:@undef _POSIX_SOURCE])
  93618. +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_1_SOURCE])
  93619. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_POSIX_1_SOURCE$])
  93620. +m4trace:configure.ac:35: -1- AH_OUTPUT([_POSIX_1_SOURCE], [/* Define to 2 if the system does not provide POSIX.1 features except with
  93621. + this defined. */
  93622. +@%:@undef _POSIX_1_SOURCE])
  93623. +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_MINIX])
  93624. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_MINIX$])
  93625. +m4trace:configure.ac:35: -1- AH_OUTPUT([_MINIX], [/* Define to 1 if on MINIX. */
  93626. +@%:@undef _MINIX])
  93627. +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_XOPEN_SOURCE])
  93628. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_XOPEN_SOURCE$])
  93629. +m4trace:configure.ac:35: -1- AH_OUTPUT([_XOPEN_SOURCE], [/* Define to 500 only on HP-UX. */
  93630. +@%:@undef _XOPEN_SOURCE])
  93631. +m4trace:configure.ac:35: -1- AH_OUTPUT([__EXTENSIONS__], [/* Enable extensions on AIX 3, Interix. */
  93632. +#ifndef _ALL_SOURCE
  93633. +# undef _ALL_SOURCE
  93634. +#endif
  93635. +/* Enable GNU extensions on systems that have them. */
  93636. +#ifndef _GNU_SOURCE
  93637. +# undef _GNU_SOURCE
  93638. +#endif
  93639. +/* Enable threading extensions on Solaris. */
  93640. +#ifndef _POSIX_PTHREAD_SEMANTICS
  93641. +# undef _POSIX_PTHREAD_SEMANTICS
  93642. +#endif
  93643. +/* Enable extensions on HP NonStop. */
  93644. +#ifndef _TANDEM_SOURCE
  93645. +# undef _TANDEM_SOURCE
  93646. +#endif
  93647. +/* Enable general extensions on Solaris. */
  93648. +#ifndef __EXTENSIONS__
  93649. +# undef __EXTENSIONS__
  93650. +#endif
  93651. +])
  93652. +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([__EXTENSIONS__])
  93653. +m4trace:configure.ac:35: -1- m4_pattern_allow([^__EXTENSIONS__$])
  93654. +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_ALL_SOURCE])
  93655. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_ALL_SOURCE$])
  93656. +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_GNU_SOURCE])
  93657. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_GNU_SOURCE$])
  93658. +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_PTHREAD_SEMANTICS])
  93659. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$])
  93660. +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_TANDEM_SOURCE])
  93661. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_TANDEM_SOURCE$])
  93662. +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([_LARGEFILE_SOURCE])
  93663. +m4trace:configure.ac:35: -1- m4_pattern_allow([^_LARGEFILE_SOURCE$])
  93664. +m4trace:configure.ac:35: -1- AH_OUTPUT([_LARGEFILE_SOURCE], [/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
  93665. +@%:@undef _LARGEFILE_SOURCE])
  93666. +m4trace:configure.ac:35: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSEEKO])
  93667. +m4trace:configure.ac:35: -1- m4_pattern_allow([^HAVE_FSEEKO$])
  93668. +m4trace:configure.ac:35: -1- AH_OUTPUT([HAVE_FSEEKO], [/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
  93669. +@%:@undef HAVE_FSEEKO])
  93670. +m4trace:configure.ac:35: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
  93671. +You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
  93672. +m4/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from...
  93673. +m4/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from...
  93674. +m4/gnulib-comp.m4:22: M4_EARLY is expanded from...
  93675. +configure.ac:35: the top level])
  93676. +m4trace:configure.ac:35: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
  93677. +You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
  93678. +m4/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from...
  93679. +m4/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from...
  93680. +m4/gnulib-comp.m4:22: M4_EARLY is expanded from...
  93681. +configure.ac:35: the top level])
  93682. +m4trace:configure.ac:57: -1- AC_SUBST([WERROR_CFLAGS])
  93683. +m4trace:configure.ac:57: -1- AC_SUBST_TRACE([WERROR_CFLAGS])
  93684. +m4trace:configure.ac:57: -1- m4_pattern_allow([^WERROR_CFLAGS$])
  93685. +m4trace:configure.ac:58: -1- AC_SUBST([WERROR_CFLAGS])
  93686. +m4trace:configure.ac:58: -1- AC_SUBST_TRACE([WERROR_CFLAGS])
  93687. +m4trace:configure.ac:58: -1- m4_pattern_allow([^WERROR_CFLAGS$])
  93688. +m4trace:configure.ac:86: -1- AC_SUBST([WARN_CFLAGS])
  93689. +m4trace:configure.ac:86: -1- AC_SUBST_TRACE([WARN_CFLAGS])
  93690. +m4trace:configure.ac:86: -1- m4_pattern_allow([^WARN_CFLAGS$])
  93691. +m4trace:configure.ac:88: -1- AC_DEFINE_TRACE_LITERAL([_FORTIFY_SOURCE])
  93692. +m4trace:configure.ac:88: -1- m4_pattern_allow([^_FORTIFY_SOURCE$])
  93693. +m4trace:configure.ac:88: -1- AH_OUTPUT([_FORTIFY_SOURCE], [/* enable compile-time and run-time bounds-checking, and some warnings */
  93694. +@%:@undef _FORTIFY_SOURCE])
  93695. +m4trace:configure.ac:95: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNSIGNED_LONG_LONG_INT])
  93696. +m4trace:configure.ac:95: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$])
  93697. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_UNSIGNED_LONG_LONG_INT], [/* Define to 1 if the system has the type `unsigned long long int\'. */
  93698. +@%:@undef HAVE_UNSIGNED_LONG_LONG_INT])
  93699. +m4trace:configure.ac:95: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_LONG_INT])
  93700. +m4trace:configure.ac:95: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$])
  93701. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_LONG_LONG_INT], [/* Define to 1 if the system has the type `long long int\'. */
  93702. +@%:@undef HAVE_LONG_LONG_INT])
  93703. +m4trace:configure.ac:96: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNSIGNED_LONG_LONG_INT])
  93704. +m4trace:configure.ac:96: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$])
  93705. +m4trace:configure.ac:96: -1- AH_OUTPUT([HAVE_UNSIGNED_LONG_LONG_INT], [/* Define to 1 if the system has the type `unsigned long long int\'. */
  93706. +@%:@undef HAVE_UNSIGNED_LONG_LONG_INT])
  93707. +m4trace:configure.ac:100: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LONG_LONG_INT])
  93708. +m4trace:configure.ac:100: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$])
  93709. +m4trace:configure.ac:100: -1- AH_OUTPUT([HAVE_LONG_LONG_INT], [/* Define to 1 if the system has the type `long long int\'. */
  93710. +@%:@undef HAVE_LONG_LONG_INT])
  93711. +m4trace:configure.ac:104: -1- AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
  93712. +m4trace:configure.ac:104: -1- AC_SUBST([GL_COND_LIBTOOL_TRUE])
  93713. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GL_COND_LIBTOOL_TRUE])
  93714. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GL_COND_LIBTOOL_TRUE$])
  93715. +m4trace:configure.ac:104: -1- AC_SUBST([GL_COND_LIBTOOL_FALSE])
  93716. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GL_COND_LIBTOOL_FALSE])
  93717. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GL_COND_LIBTOOL_FALSE$])
  93718. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_TRUE])
  93719. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([GL_COND_LIBTOOL_FALSE])
  93720. +m4trace:configure.ac:104: -1- AH_OUTPUT([isoc99_inline], [/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
  93721. + the ISO C 99 semantics of \'extern inline\' (unlike the GNU C semantics of
  93722. + earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
  93723. + __APPLE__ && __MACH__ test for MacOS X.
  93724. + __APPLE_CC__ tests for the Apple compiler and its version.
  93725. + __STDC_VERSION__ tests for the C99 mode. */
  93726. +#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
  93727. +# define __GNUC_STDC_INLINE__ 1
  93728. +#endif])
  93729. +m4trace:configure.ac:104: -1- AH_OUTPUT([unused_parameter], [/* Define as a marker that can be attached to declarations that might not
  93730. + be used. This helps to reduce warnings, such as from
  93731. + GCC -Wunused-parameter. */
  93732. +#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
  93733. +# define _GL_UNUSED __attribute__ ((__unused__))
  93734. +#else
  93735. +# define _GL_UNUSED
  93736. +#endif
  93737. +/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
  93738. + is a misnomer outside of parameter lists. */
  93739. +#define _UNUSED_PARAMETER_ _GL_UNUSED
  93740. +])
  93741. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([size_t])
  93742. +m4trace:configure.ac:104: -1- m4_pattern_allow([^size_t$])
  93743. +m4trace:configure.ac:104: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
  93744. +@%:@undef size_t])
  93745. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA_H])
  93746. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ALLOCA_H$])
  93747. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ALLOCA_H], [/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
  93748. + */
  93749. +@%:@undef HAVE_ALLOCA_H])
  93750. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA])
  93751. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ALLOCA$])
  93752. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ALLOCA], [/* Define to 1 if you have `alloca\', as a function or macro. */
  93753. +@%:@undef HAVE_ALLOCA])
  93754. +m4trace:configure.ac:104: -1- AC_SUBST([ALLOCA], [\${LIBOBJDIR}alloca.$ac_objext])
  93755. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([ALLOCA])
  93756. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ALLOCA$])
  93757. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([C_ALLOCA])
  93758. +m4trace:configure.ac:104: -1- m4_pattern_allow([^C_ALLOCA$])
  93759. +m4trace:configure.ac:104: -1- AH_OUTPUT([C_ALLOCA], [/* Define to 1 if using `alloca.c\'. */
  93760. +@%:@undef C_ALLOCA])
  93761. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([CRAY_STACKSEG_END])
  93762. +m4trace:configure.ac:104: -1- m4_pattern_allow([^CRAY_STACKSEG_END$])
  93763. +m4trace:configure.ac:104: -1- AH_OUTPUT([CRAY_STACKSEG_END], [/* Define to one of `_getb67\', `GETB67\', `getb67\' for Cray-2 and Cray-YMP
  93764. + systems. This function is required for `alloca.c\' support on those systems.
  93765. + */
  93766. +@%:@undef CRAY_STACKSEG_END])
  93767. +m4trace:configure.ac:104: -1- AH_OUTPUT([STACK_DIRECTION], [/* If using the C implementation of alloca, define if you know the
  93768. + direction of stack growth for your system; otherwise it will be
  93769. + automatically deduced at runtime.
  93770. + STACK_DIRECTION > 0 => grows toward higher addresses
  93771. + STACK_DIRECTION < 0 => grows toward lower addresses
  93772. + STACK_DIRECTION = 0 => direction of growth unknown */
  93773. +@%:@undef STACK_DIRECTION])
  93774. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([STACK_DIRECTION])
  93775. +m4trace:configure.ac:104: -1- m4_pattern_allow([^STACK_DIRECTION$])
  93776. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA])
  93777. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ALLOCA$])
  93778. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ALLOCA], [/* Define to 1 if you have \'alloca\' after including <alloca.h>, a header that
  93779. + may be supplied by this distribution. */
  93780. +@%:@undef HAVE_ALLOCA])
  93781. +m4trace:configure.ac:104: -1- AC_SUBST([ALLOCA_H])
  93782. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([ALLOCA_H])
  93783. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ALLOCA_H$])
  93784. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NDEBUG])
  93785. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NDEBUG$])
  93786. +m4trace:configure.ac:104: -1- AH_OUTPUT([NDEBUG], [/* Define to 1 if assertions should be disabled. */
  93787. +@%:@undef NDEBUG])
  93788. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_BTOWC])
  93789. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_BTOWC])
  93790. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_BTOWC$])
  93791. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCTOB])
  93792. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCTOB])
  93793. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCTOB$])
  93794. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSINIT])
  93795. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSINIT])
  93796. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSINIT$])
  93797. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBRTOWC])
  93798. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBRTOWC])
  93799. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBRTOWC$])
  93800. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBRLEN])
  93801. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBRLEN])
  93802. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBRLEN$])
  93803. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSRTOWCS])
  93804. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSRTOWCS])
  93805. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSRTOWCS$])
  93806. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSNRTOWCS])
  93807. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSNRTOWCS])
  93808. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSNRTOWCS$])
  93809. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCRTOMB])
  93810. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCRTOMB])
  93811. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCRTOMB$])
  93812. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSRTOMBS])
  93813. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSRTOMBS])
  93814. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSRTOMBS$])
  93815. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSNRTOMBS])
  93816. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSNRTOMBS])
  93817. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNRTOMBS$])
  93818. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCWIDTH])
  93819. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCWIDTH])
  93820. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCWIDTH$])
  93821. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WMEMCHR])
  93822. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WMEMCHR])
  93823. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMCHR$])
  93824. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WMEMCMP])
  93825. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WMEMCMP])
  93826. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMCMP$])
  93827. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WMEMCPY])
  93828. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WMEMCPY])
  93829. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMCPY$])
  93830. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WMEMMOVE])
  93831. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WMEMMOVE])
  93832. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMMOVE$])
  93833. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WMEMSET])
  93834. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WMEMSET])
  93835. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WMEMSET$])
  93836. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSLEN])
  93837. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSLEN])
  93838. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSLEN$])
  93839. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSNLEN])
  93840. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSNLEN])
  93841. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNLEN$])
  93842. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSCPY])
  93843. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSCPY])
  93844. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCPY$])
  93845. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCPCPY])
  93846. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCPCPY])
  93847. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCPCPY$])
  93848. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSNCPY])
  93849. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSNCPY])
  93850. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNCPY$])
  93851. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCPNCPY])
  93852. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCPNCPY])
  93853. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCPNCPY$])
  93854. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSCAT])
  93855. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSCAT])
  93856. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCAT$])
  93857. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSNCAT])
  93858. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSNCAT])
  93859. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNCAT$])
  93860. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSCMP])
  93861. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSCMP])
  93862. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCMP$])
  93863. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSNCMP])
  93864. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSNCMP])
  93865. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNCMP$])
  93866. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSCASECMP])
  93867. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSCASECMP])
  93868. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCASECMP$])
  93869. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSNCASECMP])
  93870. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSNCASECMP])
  93871. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSNCASECMP$])
  93872. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSCOLL])
  93873. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSCOLL])
  93874. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCOLL$])
  93875. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSXFRM])
  93876. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSXFRM])
  93877. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSXFRM$])
  93878. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSDUP])
  93879. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSDUP])
  93880. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSDUP$])
  93881. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSCHR])
  93882. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSCHR])
  93883. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCHR$])
  93884. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSRCHR])
  93885. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSRCHR])
  93886. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSRCHR$])
  93887. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSCSPN])
  93888. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSCSPN])
  93889. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSCSPN$])
  93890. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSSPN])
  93891. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSSPN])
  93892. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSSPN$])
  93893. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSPBRK])
  93894. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSPBRK])
  93895. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSPBRK$])
  93896. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSSTR])
  93897. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSSTR])
  93898. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSSTR$])
  93899. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSTOK])
  93900. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSTOK])
  93901. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSTOK$])
  93902. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCSWIDTH])
  93903. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCSWIDTH])
  93904. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCSWIDTH$])
  93905. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_BTOWC])
  93906. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_BTOWC])
  93907. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_BTOWC$])
  93908. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MBSINIT])
  93909. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MBSINIT])
  93910. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSINIT$])
  93911. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MBRTOWC])
  93912. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MBRTOWC])
  93913. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBRTOWC$])
  93914. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MBRLEN])
  93915. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MBRLEN])
  93916. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBRLEN$])
  93917. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MBSRTOWCS])
  93918. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MBSRTOWCS])
  93919. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSRTOWCS$])
  93920. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MBSNRTOWCS])
  93921. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MBSNRTOWCS])
  93922. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSNRTOWCS$])
  93923. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCRTOMB])
  93924. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCRTOMB])
  93925. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCRTOMB$])
  93926. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSRTOMBS])
  93927. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSRTOMBS])
  93928. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSRTOMBS$])
  93929. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSNRTOMBS])
  93930. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSNRTOMBS])
  93931. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNRTOMBS$])
  93932. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WMEMCHR])
  93933. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WMEMCHR])
  93934. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMCHR$])
  93935. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WMEMCMP])
  93936. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WMEMCMP])
  93937. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMCMP$])
  93938. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WMEMCPY])
  93939. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WMEMCPY])
  93940. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMCPY$])
  93941. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WMEMMOVE])
  93942. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WMEMMOVE])
  93943. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMMOVE$])
  93944. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WMEMSET])
  93945. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WMEMSET])
  93946. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WMEMSET$])
  93947. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSLEN])
  93948. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSLEN])
  93949. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSLEN$])
  93950. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSNLEN])
  93951. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSNLEN])
  93952. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNLEN$])
  93953. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSCPY])
  93954. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSCPY])
  93955. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCPY$])
  93956. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCPCPY])
  93957. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCPCPY])
  93958. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCPCPY$])
  93959. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSNCPY])
  93960. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSNCPY])
  93961. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNCPY$])
  93962. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCPNCPY])
  93963. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCPNCPY])
  93964. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCPNCPY$])
  93965. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSCAT])
  93966. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSCAT])
  93967. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCAT$])
  93968. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSNCAT])
  93969. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSNCAT])
  93970. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNCAT$])
  93971. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSCMP])
  93972. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSCMP])
  93973. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCMP$])
  93974. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSNCMP])
  93975. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSNCMP])
  93976. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNCMP$])
  93977. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSCASECMP])
  93978. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSCASECMP])
  93979. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCASECMP$])
  93980. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSNCASECMP])
  93981. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSNCASECMP])
  93982. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSNCASECMP$])
  93983. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSCOLL])
  93984. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSCOLL])
  93985. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCOLL$])
  93986. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSXFRM])
  93987. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSXFRM])
  93988. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSXFRM$])
  93989. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSDUP])
  93990. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSDUP])
  93991. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSDUP$])
  93992. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSCHR])
  93993. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSCHR])
  93994. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCHR$])
  93995. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSRCHR])
  93996. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSRCHR])
  93997. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSRCHR$])
  93998. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSCSPN])
  93999. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSCSPN])
  94000. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSCSPN$])
  94001. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSSPN])
  94002. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSSPN])
  94003. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSSPN$])
  94004. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSPBRK])
  94005. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSPBRK])
  94006. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSPBRK$])
  94007. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSSTR])
  94008. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSSTR])
  94009. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSSTR$])
  94010. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSTOK])
  94011. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSTOK])
  94012. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSTOK$])
  94013. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCSWIDTH])
  94014. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCSWIDTH])
  94015. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCSWIDTH$])
  94016. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_WCTOB])
  94017. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_WCTOB])
  94018. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_WCTOB$])
  94019. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_WCWIDTH])
  94020. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_WCWIDTH])
  94021. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_WCWIDTH$])
  94022. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MBSTATE_T])
  94023. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MBSTATE_T])
  94024. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBSTATE_T$])
  94025. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_BTOWC])
  94026. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_BTOWC])
  94027. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_BTOWC$])
  94028. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_WCTOB])
  94029. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_WCTOB])
  94030. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCTOB$])
  94031. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MBSINIT])
  94032. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MBSINIT])
  94033. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBSINIT$])
  94034. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MBRTOWC])
  94035. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MBRTOWC])
  94036. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBRTOWC$])
  94037. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MBRLEN])
  94038. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MBRLEN])
  94039. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBRLEN$])
  94040. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MBSRTOWCS])
  94041. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MBSRTOWCS])
  94042. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBSRTOWCS$])
  94043. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MBSNRTOWCS])
  94044. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MBSNRTOWCS])
  94045. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBSNRTOWCS$])
  94046. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_WCRTOMB])
  94047. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_WCRTOMB])
  94048. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCRTOMB$])
  94049. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_WCSRTOMBS])
  94050. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_WCSRTOMBS])
  94051. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCSRTOMBS$])
  94052. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_WCSNRTOMBS])
  94053. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_WCSNRTOMBS])
  94054. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCSNRTOMBS$])
  94055. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_WCWIDTH])
  94056. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_WCWIDTH])
  94057. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCWIDTH$])
  94058. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_WCSWIDTH])
  94059. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_WCSWIDTH])
  94060. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCSWIDTH$])
  94061. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_BTOWC], [/* Define to 1 if you have the `btowc\' function. */
  94062. +@%:@undef HAVE_BTOWC])
  94063. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LANGINFO_CODESET])
  94064. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$])
  94065. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LANGINFO_CODESET], [/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
  94066. +@%:@undef HAVE_LANGINFO_CODESET])
  94067. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR])
  94068. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR])
  94069. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$])
  94070. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_BTOWC])
  94071. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_BTOWC$])
  94072. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_BTOWC], [/* Define to 1 when the gnulib module btowc should be tested. */
  94073. +@%:@undef GNULIB_TEST_BTOWC])
  94074. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SETRLIMIT], [/* Define to 1 if you have the `setrlimit\' function. */
  94075. +@%:@undef HAVE_SETRLIMIT])
  94076. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_UCONTEXT_H], [/* Define to 1 if you have the <ucontext.h> header file. */
  94077. +@%:@undef HAVE_UCONTEXT_H])
  94078. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FAULT_YIELDS_SIGBUS])
  94079. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FAULT_YIELDS_SIGBUS$])
  94080. +m4trace:configure.ac:104: -1- AH_OUTPUT([FAULT_YIELDS_SIGBUS], [/* Define to 1 if an invalid memory address access may yield a SIGBUS. */
  94081. +@%:@undef FAULT_YIELDS_SIGBUS])
  94082. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STACK_OVERFLOW_HANDLING])
  94083. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STACK_OVERFLOW_HANDLING$])
  94084. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STACK_OVERFLOW_HANDLING], [/* Define to 1 if extending the stack slightly past the limit causes a SIGSEGV
  94085. + which can be handled on an alternate stack established with sigaltstack. */
  94086. +@%:@undef HAVE_STACK_OVERFLOW_HANDLING])
  94087. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([SIGALTSTACK_SS_REVERSED])
  94088. +m4trace:configure.ac:104: -1- m4_pattern_allow([^SIGALTSTACK_SS_REVERSED$])
  94089. +m4trace:configure.ac:104: -1- AH_OUTPUT([SIGALTSTACK_SS_REVERSED], [/* Define if sigaltstack() interprets the stack_t.ss_sp field incorrectly, as
  94090. + the highest address of the alternate stack range rather than as the lowest
  94091. + address. */
  94092. +@%:@undef SIGALTSTACK_SS_REVERSED])
  94093. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_XSI_STACK_OVERFLOW_HEURISTIC])
  94094. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_XSI_STACK_OVERFLOW_HEURISTIC$])
  94095. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_XSI_STACK_OVERFLOW_HEURISTIC], [/* Define to 1 if extending the stack slightly past the limit causes a
  94096. + SIGSEGV, and an alternate stack can be established with sigaltstack, and
  94097. + the signal handler is passed a context that specifies the run time stack.
  94098. + This behavior is defined by POSIX 1003.1-2001 with the X/Open System
  94099. + Interface (XSI) option and is a standardized way to implement a SEGV-based
  94100. + stack overflow detection heuristic. */
  94101. +@%:@undef HAVE_XSI_STACK_OVERFLOW_HEURISTIC])
  94102. +m4trace:configure.ac:104: -1- AC_REQUIRE_AUX_FILE([config.rpath])
  94103. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSIGSEGV])
  94104. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBSIGSEGV$])
  94105. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LIBSIGSEGV], [/* Define if you have the libsigsegv library. */
  94106. +@%:@undef HAVE_LIBSIGSEGV])
  94107. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LIBSIGSEGV])
  94108. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LIBSIGSEGV])
  94109. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBSIGSEGV$])
  94110. +m4trace:configure.ac:104: -1- AC_SUBST([LIBSIGSEGV])
  94111. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBSIGSEGV])
  94112. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBSIGSEGV$])
  94113. +m4trace:configure.ac:104: -1- AC_SUBST([LTLIBSIGSEGV])
  94114. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LTLIBSIGSEGV])
  94115. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBSIGSEGV$])
  94116. +m4trace:configure.ac:104: -1- AC_SUBST([LIBSIGSEGV_PREFIX])
  94117. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBSIGSEGV_PREFIX])
  94118. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBSIGSEGV_PREFIX$])
  94119. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGALTSTACK], [/* Define to 1 if you have the `sigaltstack\' function. */
  94120. +@%:@undef HAVE_SIGALTSTACK])
  94121. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_SIGALTSTACK])
  94122. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SIGALTSTACK$])
  94123. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_SIGALTSTACK], [/* Define to 1 if you have the declaration of `sigaltstack\', and to 0 if you
  94124. + don\'t. */
  94125. +@%:@undef HAVE_DECL_SIGALTSTACK])
  94126. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  94127. +@%:@undef HAVE_UNISTD_H])
  94128. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_UCONTEXT_H], [/* Define to 1 if you have the <ucontext.h> header file. */
  94129. +@%:@undef HAVE_UCONTEXT_H])
  94130. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STACK_T])
  94131. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STACK_T$])
  94132. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STACK_T], [/* Define to 1 if the system has the type `stack_t\'. */
  94133. +@%:@undef HAVE_STACK_T])
  94134. +m4trace:configure.ac:104: -1- AC_SUBST([LIBCSTACK], [$LIBSIGSEGV])
  94135. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBCSTACK])
  94136. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBCSTACK$])
  94137. +m4trace:configure.ac:104: -1- AC_SUBST([LTLIBCSTACK], [$LTLIBSIGSEGV])
  94138. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LTLIBCSTACK])
  94139. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBCSTACK$])
  94140. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_CANONICALIZE_FILE_NAME], [/* Define to 1 if you have the `canonicalize_file_name\' function. */
  94141. +@%:@undef HAVE_CANONICALIZE_FILE_NAME])
  94142. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_GETCWD], [/* Define to 1 if you have the `getcwd\' function. */
  94143. +@%:@undef HAVE_GETCWD])
  94144. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_READLINK], [/* Define to 1 if you have the `readlink\' function. */
  94145. +@%:@undef HAVE_READLINK])
  94146. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([DOUBLE_SLASH_IS_DISTINCT_ROOT])
  94147. +m4trace:configure.ac:104: -1- m4_pattern_allow([^DOUBLE_SLASH_IS_DISTINCT_ROOT$])
  94148. +m4trace:configure.ac:104: -1- AH_OUTPUT([DOUBLE_SLASH_IS_DISTINCT_ROOT], [/* Define to 1 if // is a file system root distinct from /. */
  94149. +@%:@undef DOUBLE_SLASH_IS_DISTINCT_ROOT])
  94150. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_REALPATH], [/* Define to 1 if you have the `realpath\' function. */
  94151. +@%:@undef HAVE_REALPATH])
  94152. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FUNC_REALPATH_WORKS])
  94153. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FUNC_REALPATH_WORKS$])
  94154. +m4trace:configure.ac:104: -1- AH_OUTPUT([FUNC_REALPATH_WORKS], [/* Define to 1 if realpath() can malloc memory, always gives an absolute path,
  94155. + and handles trailing slash correctly. */
  94156. +@%:@undef FUNC_REALPATH_WORKS])
  94157. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
  94158. +@%:@undef HAVE_SYS_PARAM_H])
  94159. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_CANONICALIZE_LGPL])
  94160. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CANONICALIZE_LGPL$])
  94161. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_CANONICALIZE_LGPL], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  94162. + whether the gnulib module canonicalize-lgpl shall be considered present. */
  94163. +@%:@undef GNULIB_CANONICALIZE_LGPL])
  94164. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB__EXIT])
  94165. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB__EXIT])
  94166. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB__EXIT$])
  94167. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ATOLL])
  94168. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ATOLL])
  94169. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ATOLL$])
  94170. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_CALLOC_POSIX])
  94171. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_CALLOC_POSIX])
  94172. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CALLOC_POSIX$])
  94173. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_CANONICALIZE_FILE_NAME])
  94174. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_CANONICALIZE_FILE_NAME])
  94175. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CANONICALIZE_FILE_NAME$])
  94176. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETLOADAVG])
  94177. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETLOADAVG])
  94178. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETLOADAVG$])
  94179. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETSUBOPT])
  94180. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETSUBOPT])
  94181. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETSUBOPT$])
  94182. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GRANTPT])
  94183. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GRANTPT])
  94184. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GRANTPT$])
  94185. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MALLOC_POSIX])
  94186. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MALLOC_POSIX])
  94187. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MALLOC_POSIX$])
  94188. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBTOWC])
  94189. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBTOWC])
  94190. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBTOWC$])
  94191. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKDTEMP])
  94192. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKDTEMP])
  94193. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKDTEMP$])
  94194. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKOSTEMP])
  94195. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKOSTEMP])
  94196. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKOSTEMP$])
  94197. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKOSTEMPS])
  94198. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKOSTEMPS])
  94199. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKOSTEMPS$])
  94200. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKSTEMP])
  94201. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKSTEMP])
  94202. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKSTEMP$])
  94203. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKSTEMPS])
  94204. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKSTEMPS])
  94205. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKSTEMPS$])
  94206. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PTSNAME])
  94207. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PTSNAME])
  94208. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PTSNAME$])
  94209. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PUTENV])
  94210. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PUTENV])
  94211. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PUTENV$])
  94212. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_RANDOM_R])
  94213. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_RANDOM_R])
  94214. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RANDOM_R$])
  94215. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_REALLOC_POSIX])
  94216. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_REALLOC_POSIX])
  94217. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_REALLOC_POSIX$])
  94218. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_REALPATH])
  94219. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_REALPATH])
  94220. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_REALPATH$])
  94221. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_RPMATCH])
  94222. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_RPMATCH])
  94223. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RPMATCH$])
  94224. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SETENV])
  94225. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SETENV])
  94226. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SETENV$])
  94227. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRTOD])
  94228. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRTOD])
  94229. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRTOD$])
  94230. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRTOLL])
  94231. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRTOLL])
  94232. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRTOLL$])
  94233. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRTOULL])
  94234. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRTOULL])
  94235. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRTOULL$])
  94236. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SYSTEM_POSIX])
  94237. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SYSTEM_POSIX])
  94238. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SYSTEM_POSIX$])
  94239. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_UNLOCKPT])
  94240. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_UNLOCKPT])
  94241. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNLOCKPT$])
  94242. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_UNSETENV])
  94243. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_UNSETENV])
  94244. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNSETENV$])
  94245. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCTOMB])
  94246. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCTOMB])
  94247. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCTOMB$])
  94248. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE__EXIT])
  94249. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE__EXIT])
  94250. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__EXIT$])
  94251. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ATOLL])
  94252. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ATOLL])
  94253. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ATOLL$])
  94254. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_CANONICALIZE_FILE_NAME])
  94255. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_CANONICALIZE_FILE_NAME])
  94256. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_CANONICALIZE_FILE_NAME$])
  94257. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_GETLOADAVG])
  94258. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_GETLOADAVG])
  94259. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETLOADAVG$])
  94260. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GETSUBOPT])
  94261. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GETSUBOPT])
  94262. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETSUBOPT$])
  94263. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GRANTPT])
  94264. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GRANTPT])
  94265. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GRANTPT$])
  94266. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKDTEMP])
  94267. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKDTEMP])
  94268. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKDTEMP$])
  94269. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKOSTEMP])
  94270. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKOSTEMP])
  94271. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKOSTEMP$])
  94272. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKOSTEMPS])
  94273. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKOSTEMPS])
  94274. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKOSTEMPS$])
  94275. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKSTEMP])
  94276. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKSTEMP])
  94277. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKSTEMP$])
  94278. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKSTEMPS])
  94279. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKSTEMPS])
  94280. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKSTEMPS$])
  94281. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_PTSNAME])
  94282. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_PTSNAME])
  94283. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PTSNAME$])
  94284. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_RANDOM_H])
  94285. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_RANDOM_H])
  94286. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RANDOM_H$])
  94287. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_RANDOM_R])
  94288. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_RANDOM_R])
  94289. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RANDOM_R$])
  94290. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_REALPATH])
  94291. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_REALPATH])
  94292. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_REALPATH$])
  94293. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_RPMATCH])
  94294. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_RPMATCH])
  94295. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RPMATCH$])
  94296. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SETENV])
  94297. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SETENV])
  94298. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SETENV$])
  94299. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_SETENV])
  94300. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_SETENV])
  94301. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SETENV$])
  94302. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRTOD])
  94303. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRTOD])
  94304. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRTOD$])
  94305. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRTOLL])
  94306. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRTOLL])
  94307. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRTOLL$])
  94308. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRTOULL])
  94309. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRTOULL])
  94310. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRTOULL$])
  94311. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRUCT_RANDOM_DATA])
  94312. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRUCT_RANDOM_DATA])
  94313. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_RANDOM_DATA$])
  94314. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SYS_LOADAVG_H])
  94315. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SYS_LOADAVG_H])
  94316. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_LOADAVG_H$])
  94317. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_UNLOCKPT])
  94318. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_UNLOCKPT])
  94319. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNLOCKPT$])
  94320. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_UNSETENV])
  94321. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_UNSETENV])
  94322. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_UNSETENV$])
  94323. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_CALLOC])
  94324. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_CALLOC])
  94325. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CALLOC$])
  94326. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_CANONICALIZE_FILE_NAME])
  94327. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_CANONICALIZE_FILE_NAME])
  94328. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CANONICALIZE_FILE_NAME$])
  94329. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MALLOC])
  94330. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MALLOC])
  94331. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MALLOC$])
  94332. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MBTOWC])
  94333. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MBTOWC])
  94334. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MBTOWC$])
  94335. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MKSTEMP])
  94336. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MKSTEMP])
  94337. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKSTEMP$])
  94338. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_PUTENV])
  94339. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_PUTENV])
  94340. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PUTENV$])
  94341. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_REALLOC])
  94342. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_REALLOC])
  94343. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_REALLOC$])
  94344. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_REALPATH])
  94345. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_REALPATH])
  94346. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_REALPATH$])
  94347. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_SETENV])
  94348. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_SETENV])
  94349. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SETENV$])
  94350. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRTOD])
  94351. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRTOD])
  94352. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRTOD$])
  94353. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_UNSETENV])
  94354. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_UNSETENV])
  94355. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_UNSETENV$])
  94356. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_WCTOMB])
  94357. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_WCTOMB])
  94358. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WCTOMB$])
  94359. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_CANONICALIZE_FILE_NAME])
  94360. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_CANONICALIZE_FILE_NAME$])
  94361. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_CANONICALIZE_FILE_NAME], [/* Define to 1 when the gnulib module canonicalize_file_name should be tested.
  94362. + */
  94363. +@%:@undef GNULIB_TEST_CANONICALIZE_FILE_NAME])
  94364. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_REALPATH])
  94365. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_REALPATH$])
  94366. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_REALPATH], [/* Define to 1 when the gnulib module realpath should be tested. */
  94367. +@%:@undef GNULIB_TEST_REALPATH])
  94368. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([SIGNAL_SAFE_LIST])
  94369. +m4trace:configure.ac:104: -1- m4_pattern_allow([^SIGNAL_SAFE_LIST$])
  94370. +m4trace:configure.ac:104: -1- AH_OUTPUT([SIGNAL_SAFE_LIST], [/* Define if lists must be signal-safe. */
  94371. +@%:@undef SIGNAL_SAFE_LIST])
  94372. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_CLOEXEC])
  94373. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_CLOEXEC$])
  94374. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_CLOEXEC], [/* Define to 1 when the gnulib module cloexec should be tested. */
  94375. +@%:@undef GNULIB_TEST_CLOEXEC])
  94376. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_CHOWN])
  94377. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_CHOWN])
  94378. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CHOWN$])
  94379. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_CLOSE])
  94380. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_CLOSE])
  94381. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CLOSE$])
  94382. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_DUP2])
  94383. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_DUP2])
  94384. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DUP2$])
  94385. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_DUP3])
  94386. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_DUP3])
  94387. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DUP3$])
  94388. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ENVIRON])
  94389. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ENVIRON])
  94390. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ENVIRON$])
  94391. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_EUIDACCESS])
  94392. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_EUIDACCESS])
  94393. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_EUIDACCESS$])
  94394. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FACCESSAT])
  94395. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FACCESSAT])
  94396. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FACCESSAT$])
  94397. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FCHDIR])
  94398. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FCHDIR])
  94399. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCHDIR$])
  94400. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FCHOWNAT])
  94401. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FCHOWNAT])
  94402. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCHOWNAT$])
  94403. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FSYNC])
  94404. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FSYNC])
  94405. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FSYNC$])
  94406. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FTRUNCATE])
  94407. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FTRUNCATE])
  94408. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FTRUNCATE$])
  94409. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETCWD])
  94410. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETCWD])
  94411. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETCWD$])
  94412. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETDOMAINNAME])
  94413. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETDOMAINNAME])
  94414. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETDOMAINNAME$])
  94415. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETDTABLESIZE])
  94416. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETDTABLESIZE])
  94417. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETDTABLESIZE$])
  94418. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETGROUPS])
  94419. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETGROUPS])
  94420. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETGROUPS$])
  94421. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETHOSTNAME])
  94422. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETHOSTNAME])
  94423. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETHOSTNAME$])
  94424. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETLOGIN])
  94425. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETLOGIN])
  94426. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETLOGIN$])
  94427. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETLOGIN_R])
  94428. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETLOGIN_R])
  94429. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETLOGIN_R$])
  94430. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETPAGESIZE])
  94431. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETPAGESIZE])
  94432. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETPAGESIZE$])
  94433. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETUSERSHELL])
  94434. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETUSERSHELL])
  94435. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETUSERSHELL$])
  94436. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LCHOWN])
  94437. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LCHOWN])
  94438. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LCHOWN$])
  94439. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LINK])
  94440. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LINK])
  94441. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LINK$])
  94442. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LINKAT])
  94443. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LINKAT])
  94444. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LINKAT$])
  94445. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LSEEK])
  94446. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LSEEK])
  94447. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LSEEK$])
  94448. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PIPE])
  94449. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PIPE])
  94450. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PIPE$])
  94451. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PIPE2])
  94452. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PIPE2])
  94453. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PIPE2$])
  94454. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PREAD])
  94455. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PREAD])
  94456. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PREAD$])
  94457. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PWRITE])
  94458. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PWRITE])
  94459. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PWRITE$])
  94460. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_READLINK])
  94461. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_READLINK])
  94462. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_READLINK$])
  94463. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_READLINKAT])
  94464. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_READLINKAT])
  94465. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_READLINKAT$])
  94466. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_RMDIR])
  94467. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_RMDIR])
  94468. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RMDIR$])
  94469. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SLEEP])
  94470. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SLEEP])
  94471. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SLEEP$])
  94472. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SYMLINK])
  94473. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SYMLINK])
  94474. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SYMLINK$])
  94475. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SYMLINKAT])
  94476. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SYMLINKAT])
  94477. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SYMLINKAT$])
  94478. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TTYNAME_R])
  94479. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TTYNAME_R])
  94480. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TTYNAME_R$])
  94481. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_UNISTD_H_GETOPT])
  94482. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_UNISTD_H_GETOPT])
  94483. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNISTD_H_GETOPT$])
  94484. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_UNISTD_H_SIGPIPE])
  94485. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_UNISTD_H_SIGPIPE])
  94486. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNISTD_H_SIGPIPE$])
  94487. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_UNLINK])
  94488. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_UNLINK])
  94489. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNLINK$])
  94490. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_UNLINKAT])
  94491. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_UNLINKAT])
  94492. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UNLINKAT$])
  94493. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_USLEEP])
  94494. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_USLEEP])
  94495. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_USLEEP$])
  94496. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WRITE])
  94497. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WRITE])
  94498. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WRITE$])
  94499. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_CHOWN])
  94500. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_CHOWN])
  94501. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_CHOWN$])
  94502. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DUP2])
  94503. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DUP2])
  94504. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DUP2$])
  94505. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DUP3])
  94506. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DUP3])
  94507. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DUP3$])
  94508. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_EUIDACCESS])
  94509. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_EUIDACCESS])
  94510. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_EUIDACCESS$])
  94511. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FACCESSAT])
  94512. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FACCESSAT])
  94513. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FACCESSAT$])
  94514. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FCHDIR])
  94515. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FCHDIR])
  94516. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FCHDIR$])
  94517. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FCHOWNAT])
  94518. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FCHOWNAT])
  94519. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FCHOWNAT$])
  94520. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FSYNC])
  94521. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FSYNC])
  94522. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FSYNC$])
  94523. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FTRUNCATE])
  94524. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FTRUNCATE])
  94525. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FTRUNCATE$])
  94526. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GETDTABLESIZE])
  94527. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GETDTABLESIZE])
  94528. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETDTABLESIZE$])
  94529. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GETGROUPS])
  94530. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GETGROUPS])
  94531. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETGROUPS$])
  94532. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GETHOSTNAME])
  94533. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GETHOSTNAME])
  94534. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$])
  94535. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GETLOGIN])
  94536. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GETLOGIN])
  94537. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETLOGIN$])
  94538. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GETPAGESIZE])
  94539. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GETPAGESIZE])
  94540. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$])
  94541. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LCHOWN])
  94542. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LCHOWN])
  94543. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LCHOWN$])
  94544. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LINK])
  94545. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LINK])
  94546. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LINK$])
  94547. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LINKAT])
  94548. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LINKAT])
  94549. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LINKAT$])
  94550. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_PIPE])
  94551. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_PIPE])
  94552. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PIPE$])
  94553. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_PIPE2])
  94554. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_PIPE2])
  94555. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PIPE2$])
  94556. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_PREAD])
  94557. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_PREAD])
  94558. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PREAD$])
  94559. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_PWRITE])
  94560. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_PWRITE])
  94561. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PWRITE$])
  94562. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_READLINK])
  94563. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_READLINK])
  94564. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_READLINK$])
  94565. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_READLINKAT])
  94566. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_READLINKAT])
  94567. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_READLINKAT$])
  94568. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SLEEP])
  94569. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SLEEP])
  94570. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SLEEP$])
  94571. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SYMLINK])
  94572. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SYMLINK])
  94573. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYMLINK$])
  94574. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SYMLINKAT])
  94575. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SYMLINKAT])
  94576. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYMLINKAT$])
  94577. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_UNLINKAT])
  94578. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_UNLINKAT])
  94579. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNLINKAT$])
  94580. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_USLEEP])
  94581. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_USLEEP])
  94582. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_USLEEP$])
  94583. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_ENVIRON])
  94584. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_ENVIRON])
  94585. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ENVIRON$])
  94586. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_FCHDIR])
  94587. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_FCHDIR])
  94588. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FCHDIR$])
  94589. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_GETDOMAINNAME])
  94590. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_GETDOMAINNAME])
  94591. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETDOMAINNAME$])
  94592. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_GETLOGIN_R])
  94593. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_GETLOGIN_R])
  94594. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETLOGIN_R$])
  94595. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_GETPAGESIZE])
  94596. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_GETPAGESIZE])
  94597. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETPAGESIZE$])
  94598. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_GETUSERSHELL])
  94599. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_GETUSERSHELL])
  94600. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETUSERSHELL$])
  94601. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_TTYNAME_R])
  94602. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_TTYNAME_R])
  94603. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TTYNAME_R$])
  94604. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_OS_H])
  94605. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_OS_H])
  94606. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_OS_H$])
  94607. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SYS_PARAM_H])
  94608. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SYS_PARAM_H])
  94609. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$])
  94610. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_CHOWN])
  94611. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_CHOWN])
  94612. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CHOWN$])
  94613. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_CLOSE])
  94614. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_CLOSE])
  94615. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CLOSE$])
  94616. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_DUP])
  94617. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_DUP])
  94618. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_DUP$])
  94619. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_DUP2])
  94620. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_DUP2])
  94621. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_DUP2$])
  94622. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FCHOWNAT])
  94623. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FCHOWNAT])
  94624. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FCHOWNAT$])
  94625. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_GETCWD])
  94626. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_GETCWD])
  94627. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETCWD$])
  94628. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_GETDOMAINNAME])
  94629. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_GETDOMAINNAME])
  94630. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETDOMAINNAME$])
  94631. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_GETLOGIN_R])
  94632. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_GETLOGIN_R])
  94633. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETLOGIN_R$])
  94634. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_GETGROUPS])
  94635. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_GETGROUPS])
  94636. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETGROUPS$])
  94637. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_GETPAGESIZE])
  94638. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_GETPAGESIZE])
  94639. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETPAGESIZE$])
  94640. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_LCHOWN])
  94641. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_LCHOWN])
  94642. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LCHOWN$])
  94643. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_LINK])
  94644. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_LINK])
  94645. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LINK$])
  94646. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_LINKAT])
  94647. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_LINKAT])
  94648. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LINKAT$])
  94649. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_LSEEK])
  94650. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_LSEEK])
  94651. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LSEEK$])
  94652. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_PREAD])
  94653. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_PREAD])
  94654. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PREAD$])
  94655. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_PWRITE])
  94656. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_PWRITE])
  94657. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PWRITE$])
  94658. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_READLINK])
  94659. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_READLINK])
  94660. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_READLINK$])
  94661. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_RMDIR])
  94662. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_RMDIR])
  94663. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_RMDIR$])
  94664. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_SLEEP])
  94665. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_SLEEP])
  94666. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SLEEP$])
  94667. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_SYMLINK])
  94668. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_SYMLINK])
  94669. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SYMLINK$])
  94670. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_TTYNAME_R])
  94671. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_TTYNAME_R])
  94672. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TTYNAME_R$])
  94673. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_UNLINK])
  94674. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_UNLINK])
  94675. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_UNLINK$])
  94676. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_UNLINKAT])
  94677. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_UNLINKAT])
  94678. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_UNLINKAT$])
  94679. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_USLEEP])
  94680. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_USLEEP])
  94681. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_USLEEP$])
  94682. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_WRITE])
  94683. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_WRITE])
  94684. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_WRITE$])
  94685. +m4trace:configure.ac:104: -1- AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H])
  94686. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([UNISTD_H_HAVE_WINSOCK2_H])
  94687. +m4trace:configure.ac:104: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H$])
  94688. +m4trace:configure.ac:104: -1- AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS])
  94689. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS])
  94690. +m4trace:configure.ac:104: -1- m4_pattern_allow([^UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS$])
  94691. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_CLOSE])
  94692. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_CLOSE$])
  94693. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_CLOSE], [/* Define to 1 when the gnulib module close should be tested. */
  94694. +@%:@undef GNULIB_TEST_CLOSE])
  94695. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_CLOSE_STREAM])
  94696. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CLOSE_STREAM$])
  94697. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_CLOSE_STREAM], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  94698. + whether the gnulib module close-stream shall be considered present. */
  94699. +@%:@undef GNULIB_CLOSE_STREAM])
  94700. +m4trace:configure.ac:104: -1- AC_SUBST([datarootdir], ['${datadir}'])
  94701. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([datarootdir])
  94702. +m4trace:configure.ac:104: -1- m4_pattern_allow([^datarootdir$])
  94703. +m4trace:configure.ac:104: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
  94704. + ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
  94705. + ['${datarootdir}/doc/${PACKAGE}'])])
  94706. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([docdir])
  94707. +m4trace:configure.ac:104: -1- m4_pattern_allow([^docdir$])
  94708. +m4trace:configure.ac:104: -1- AC_SUBST([htmldir], ['${docdir}'])
  94709. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([htmldir])
  94710. +m4trace:configure.ac:104: -1- m4_pattern_allow([^htmldir$])
  94711. +m4trace:configure.ac:104: -1- AC_SUBST([dvidir], ['${docdir}'])
  94712. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([dvidir])
  94713. +m4trace:configure.ac:104: -1- m4_pattern_allow([^dvidir$])
  94714. +m4trace:configure.ac:104: -1- AC_SUBST([pdfdir], ['${docdir}'])
  94715. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([pdfdir])
  94716. +m4trace:configure.ac:104: -1- m4_pattern_allow([^pdfdir$])
  94717. +m4trace:configure.ac:104: -1- AC_SUBST([psdir], ['${docdir}'])
  94718. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([psdir])
  94719. +m4trace:configure.ac:104: -1- m4_pattern_allow([^psdir$])
  94720. +m4trace:configure.ac:104: -1- AC_SUBST([lispdir], ['${datarootdir}/emacs/site-lisp'])
  94721. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([lispdir])
  94722. +m4trace:configure.ac:104: -1- m4_pattern_allow([^lispdir$])
  94723. +m4trace:configure.ac:104: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
  94724. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([localedir])
  94725. +m4trace:configure.ac:104: -1- m4_pattern_allow([^localedir$])
  94726. +m4trace:configure.ac:104: -1- AC_SUBST([pkglibexecdir], ['${libexecdir}/${PACKAGE}'])
  94727. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([pkglibexecdir])
  94728. +m4trace:configure.ac:104: -1- m4_pattern_allow([^pkglibexecdir$])
  94729. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_DIRNAME])
  94730. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DIRNAME$])
  94731. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_DIRNAME], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  94732. + whether the gnulib module dirname shall be considered present. */
  94733. +@%:@undef GNULIB_DIRNAME])
  94734. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([DOUBLE_SLASH_IS_DISTINCT_ROOT])
  94735. +m4trace:configure.ac:104: -1- m4_pattern_allow([^DOUBLE_SLASH_IS_DISTINCT_ROOT$])
  94736. +m4trace:configure.ac:104: -1- AH_OUTPUT([DOUBLE_SLASH_IS_DISTINCT_ROOT], [/* Define to 1 if // is a file system root distinct from /. */
  94737. +@%:@undef DOUBLE_SLASH_IS_DISTINCT_ROOT])
  94738. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DUP2], [/* Define to 1 if you have the `dup2\' function. */
  94739. +@%:@undef HAVE_DUP2])
  94740. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */
  94741. +@%:@undef HAVE_FCNTL])
  94742. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_DUP2])
  94743. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_DUP2$])
  94744. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_DUP2], [/* Define to 1 when the gnulib module dup2 should be tested. */
  94745. +@%:@undef GNULIB_TEST_DUP2])
  94746. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ENVIRON_DECL])
  94747. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ENVIRON_DECL$])
  94748. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ENVIRON_DECL], [/* Define if you have the declaration of environ. */
  94749. +@%:@undef HAVE_ENVIRON_DECL])
  94750. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_ENVIRON])
  94751. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_ENVIRON$])
  94752. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_ENVIRON], [/* Define to 1 when the gnulib module environ should be tested. */
  94753. +@%:@undef GNULIB_TEST_ENVIRON])
  94754. +m4trace:configure.ac:104: -1- AC_SUBST([INCLUDE_NEXT])
  94755. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([INCLUDE_NEXT])
  94756. +m4trace:configure.ac:104: -1- m4_pattern_allow([^INCLUDE_NEXT$])
  94757. +m4trace:configure.ac:104: -1- AC_SUBST([INCLUDE_NEXT_AS_FIRST_DIRECTIVE])
  94758. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([INCLUDE_NEXT_AS_FIRST_DIRECTIVE])
  94759. +m4trace:configure.ac:104: -1- m4_pattern_allow([^INCLUDE_NEXT_AS_FIRST_DIRECTIVE$])
  94760. +m4trace:configure.ac:104: -1- AC_SUBST([PRAGMA_SYSTEM_HEADER])
  94761. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([PRAGMA_SYSTEM_HEADER])
  94762. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PRAGMA_SYSTEM_HEADER$])
  94763. +m4trace:configure.ac:104: -1- AC_SUBST([PRAGMA_COLUMNS])
  94764. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([PRAGMA_COLUMNS])
  94765. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PRAGMA_COLUMNS$])
  94766. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_ERRNO_H], [AS_VAR_GET([gl_next_header])])
  94767. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_ERRNO_H])
  94768. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_ERRNO_H$])
  94769. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_ERRNO_H], [$gl_next_as_first_directive])
  94770. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_ERRNO_H])
  94771. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_ERRNO_H$])
  94772. +m4trace:configure.ac:104: -1- AC_SUBST([ERRNO_H])
  94773. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([ERRNO_H])
  94774. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ERRNO_H$])
  94775. +m4trace:configure.ac:104: -1- AC_SUBST([EMULTIHOP_HIDDEN])
  94776. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([EMULTIHOP_HIDDEN])
  94777. +m4trace:configure.ac:104: -1- m4_pattern_allow([^EMULTIHOP_HIDDEN$])
  94778. +m4trace:configure.ac:104: -1- AC_SUBST([EMULTIHOP_VALUE])
  94779. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([EMULTIHOP_VALUE])
  94780. +m4trace:configure.ac:104: -1- m4_pattern_allow([^EMULTIHOP_VALUE$])
  94781. +m4trace:configure.ac:104: -1- AC_SUBST([ENOLINK_HIDDEN])
  94782. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([ENOLINK_HIDDEN])
  94783. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ENOLINK_HIDDEN$])
  94784. +m4trace:configure.ac:104: -1- AC_SUBST([ENOLINK_VALUE])
  94785. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([ENOLINK_VALUE])
  94786. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ENOLINK_VALUE$])
  94787. +m4trace:configure.ac:104: -1- AC_SUBST([EOVERFLOW_HIDDEN])
  94788. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([EOVERFLOW_HIDDEN])
  94789. +m4trace:configure.ac:104: -1- m4_pattern_allow([^EOVERFLOW_HIDDEN$])
  94790. +m4trace:configure.ac:104: -1- AC_SUBST([EOVERFLOW_VALUE])
  94791. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([EOVERFLOW_VALUE])
  94792. +m4trace:configure.ac:104: -1- m4_pattern_allow([^EOVERFLOW_VALUE$])
  94793. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRERROR_R])
  94794. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$])
  94795. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_STRERROR_R], [/* Define to 1 if you have the declaration of `strerror_r\', and to 0 if you
  94796. + don\'t. */
  94797. +@%:@undef HAVE_DECL_STRERROR_R])
  94798. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STRERROR_R], [/* Define to 1 if you have the `strerror_r\' function. */
  94799. +@%:@undef HAVE_STRERROR_R])
  94800. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRERROR_R])
  94801. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRERROR_R$])
  94802. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([STRERROR_R_CHAR_P])
  94803. +m4trace:configure.ac:104: -1- m4_pattern_allow([^STRERROR_R_CHAR_P$])
  94804. +m4trace:configure.ac:104: -1- AH_OUTPUT([STRERROR_R_CHAR_P], [/* Define to 1 if strerror_r returns char *. */
  94805. +@%:@undef STRERROR_R_CHAR_P])
  94806. +m4trace:configure.ac:104: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
  94807. + calls it, or to nothing if \'inline\' is not supported under any name. */
  94808. +#ifndef __cplusplus
  94809. +#undef inline
  94810. +#endif])
  94811. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=error:3:c-format])
  94812. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format])
  94813. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([mode_t])
  94814. +m4trace:configure.ac:104: -1- m4_pattern_allow([^mode_t$])
  94815. +m4trace:configure.ac:104: -1- AH_OUTPUT([mode_t], [/* Define to `int\' if <sys/types.h> does not define. */
  94816. +@%:@undef mode_t])
  94817. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIG_ATOMIC_T])
  94818. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIG_ATOMIC_T$])
  94819. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIG_ATOMIC_T], [/* Define to 1 if the system has the type `sig_atomic_t\'. */
  94820. +@%:@undef HAVE_SIG_ATOMIC_T])
  94821. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([sig_atomic_t])
  94822. +m4trace:configure.ac:104: -1- m4_pattern_allow([^sig_atomic_t$])
  94823. +m4trace:configure.ac:104: -1- AH_OUTPUT([sig_atomic_t], [/* Define as an integer type suitable for memory locations that can be
  94824. + accessed atomically even in the presence of asynchnonous signals. */
  94825. +@%:@undef sig_atomic_t])
  94826. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  94827. +@%:@undef HAVE_UNISTD_H])
  94828. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_DPRINTF])
  94829. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_DPRINTF])
  94830. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DPRINTF$])
  94831. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FCLOSE])
  94832. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FCLOSE])
  94833. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCLOSE$])
  94834. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FFLUSH])
  94835. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FFLUSH])
  94836. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FFLUSH$])
  94837. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FOPEN])
  94838. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FOPEN])
  94839. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FOPEN$])
  94840. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FPRINTF])
  94841. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FPRINTF])
  94842. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPRINTF$])
  94843. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FPRINTF_POSIX])
  94844. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FPRINTF_POSIX])
  94845. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPRINTF_POSIX$])
  94846. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FPURGE])
  94847. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FPURGE])
  94848. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPURGE$])
  94849. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FPUTC])
  94850. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FPUTC])
  94851. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPUTC$])
  94852. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FPUTS])
  94853. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FPUTS])
  94854. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FPUTS$])
  94855. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FREOPEN])
  94856. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FREOPEN])
  94857. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FREOPEN$])
  94858. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FSEEK])
  94859. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FSEEK])
  94860. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FSEEK$])
  94861. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FSEEKO])
  94862. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FSEEKO])
  94863. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FSEEKO$])
  94864. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FTELL])
  94865. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FTELL])
  94866. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FTELL$])
  94867. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FTELLO])
  94868. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FTELLO])
  94869. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FTELLO$])
  94870. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FWRITE])
  94871. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FWRITE])
  94872. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FWRITE$])
  94873. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETDELIM])
  94874. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETDELIM])
  94875. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETDELIM$])
  94876. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETLINE])
  94877. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETLINE])
  94878. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETLINE$])
  94879. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_OBSTACK_PRINTF])
  94880. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_OBSTACK_PRINTF])
  94881. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF$])
  94882. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX])
  94883. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_OBSTACK_PRINTF_POSIX])
  94884. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_OBSTACK_PRINTF_POSIX$])
  94885. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PERROR])
  94886. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PERROR])
  94887. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PERROR$])
  94888. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POPEN])
  94889. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POPEN])
  94890. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POPEN$])
  94891. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PRINTF])
  94892. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PRINTF])
  94893. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PRINTF$])
  94894. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PRINTF_POSIX])
  94895. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PRINTF_POSIX])
  94896. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PRINTF_POSIX$])
  94897. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PUTC])
  94898. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PUTC])
  94899. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PUTC$])
  94900. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PUTCHAR])
  94901. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PUTCHAR])
  94902. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PUTCHAR$])
  94903. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_PUTS])
  94904. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_PUTS])
  94905. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PUTS$])
  94906. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_REMOVE])
  94907. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_REMOVE])
  94908. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_REMOVE$])
  94909. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_RENAME])
  94910. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_RENAME])
  94911. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RENAME$])
  94912. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_RENAMEAT])
  94913. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_RENAMEAT])
  94914. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RENAMEAT$])
  94915. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SNPRINTF])
  94916. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SNPRINTF])
  94917. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SNPRINTF$])
  94918. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SPRINTF_POSIX])
  94919. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SPRINTF_POSIX])
  94920. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SPRINTF_POSIX$])
  94921. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STDIO_H_SIGPIPE])
  94922. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STDIO_H_SIGPIPE])
  94923. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STDIO_H_SIGPIPE$])
  94924. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TMPFILE])
  94925. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TMPFILE])
  94926. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TMPFILE$])
  94927. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_VASPRINTF])
  94928. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_VASPRINTF])
  94929. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VASPRINTF$])
  94930. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_VDPRINTF])
  94931. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_VDPRINTF])
  94932. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VDPRINTF$])
  94933. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_VFPRINTF])
  94934. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_VFPRINTF])
  94935. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VFPRINTF$])
  94936. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_VFPRINTF_POSIX])
  94937. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_VFPRINTF_POSIX])
  94938. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VFPRINTF_POSIX$])
  94939. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_VPRINTF])
  94940. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_VPRINTF])
  94941. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VPRINTF$])
  94942. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_VPRINTF_POSIX])
  94943. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_VPRINTF_POSIX])
  94944. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VPRINTF_POSIX$])
  94945. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_VSNPRINTF])
  94946. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_VSNPRINTF])
  94947. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VSNPRINTF$])
  94948. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_VSPRINTF_POSIX])
  94949. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_VSPRINTF_POSIX])
  94950. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_VSPRINTF_POSIX$])
  94951. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_FPURGE])
  94952. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_FPURGE])
  94953. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FPURGE$])
  94954. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_FSEEKO])
  94955. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_FSEEKO])
  94956. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FSEEKO$])
  94957. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_FTELLO])
  94958. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_FTELLO])
  94959. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FTELLO$])
  94960. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_GETDELIM])
  94961. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_GETDELIM])
  94962. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETDELIM$])
  94963. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_GETLINE])
  94964. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_GETLINE])
  94965. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETLINE$])
  94966. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_OBSTACK_PRINTF])
  94967. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_OBSTACK_PRINTF])
  94968. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_OBSTACK_PRINTF$])
  94969. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_SNPRINTF])
  94970. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_SNPRINTF])
  94971. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$])
  94972. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_VSNPRINTF])
  94973. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_VSNPRINTF])
  94974. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_VSNPRINTF$])
  94975. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DPRINTF])
  94976. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DPRINTF])
  94977. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DPRINTF$])
  94978. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FSEEKO])
  94979. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FSEEKO])
  94980. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FSEEKO$])
  94981. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FTELLO])
  94982. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FTELLO])
  94983. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FTELLO$])
  94984. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_RENAMEAT])
  94985. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_RENAMEAT])
  94986. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RENAMEAT$])
  94987. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_VASPRINTF])
  94988. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_VASPRINTF])
  94989. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_VASPRINTF$])
  94990. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_VDPRINTF])
  94991. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_VDPRINTF])
  94992. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_VDPRINTF$])
  94993. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_DPRINTF])
  94994. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_DPRINTF])
  94995. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_DPRINTF$])
  94996. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FCLOSE])
  94997. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FCLOSE])
  94998. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FCLOSE$])
  94999. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FFLUSH])
  95000. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FFLUSH])
  95001. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FFLUSH$])
  95002. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FOPEN])
  95003. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FOPEN])
  95004. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FOPEN$])
  95005. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FPRINTF])
  95006. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FPRINTF])
  95007. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FPRINTF$])
  95008. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FPURGE])
  95009. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FPURGE])
  95010. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FPURGE$])
  95011. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FREOPEN])
  95012. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FREOPEN])
  95013. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FREOPEN$])
  95014. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FSEEK])
  95015. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FSEEK])
  95016. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FSEEK$])
  95017. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FSEEKO])
  95018. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FSEEKO])
  95019. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FSEEKO$])
  95020. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FTELL])
  95021. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FTELL])
  95022. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FTELL$])
  95023. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FTELLO])
  95024. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FTELLO])
  95025. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FTELLO$])
  95026. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_GETDELIM])
  95027. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_GETDELIM])
  95028. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETDELIM$])
  95029. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_GETLINE])
  95030. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_GETLINE])
  95031. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETLINE$])
  95032. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_OBSTACK_PRINTF])
  95033. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_OBSTACK_PRINTF])
  95034. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_OBSTACK_PRINTF$])
  95035. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_PERROR])
  95036. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_PERROR])
  95037. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PERROR$])
  95038. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_POPEN])
  95039. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_POPEN])
  95040. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_POPEN$])
  95041. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_PRINTF])
  95042. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_PRINTF])
  95043. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_PRINTF$])
  95044. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_REMOVE])
  95045. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_REMOVE])
  95046. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_REMOVE$])
  95047. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_RENAME])
  95048. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_RENAME])
  95049. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_RENAME$])
  95050. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_RENAMEAT])
  95051. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_RENAMEAT])
  95052. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_RENAMEAT$])
  95053. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_SNPRINTF])
  95054. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_SNPRINTF])
  95055. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SNPRINTF$])
  95056. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_SPRINTF])
  95057. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_SPRINTF])
  95058. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SPRINTF$])
  95059. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STDIO_WRITE_FUNCS])
  95060. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STDIO_WRITE_FUNCS])
  95061. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STDIO_WRITE_FUNCS$])
  95062. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_TMPFILE])
  95063. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_TMPFILE])
  95064. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TMPFILE$])
  95065. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_VASPRINTF])
  95066. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_VASPRINTF])
  95067. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VASPRINTF$])
  95068. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_VDPRINTF])
  95069. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_VDPRINTF])
  95070. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VDPRINTF$])
  95071. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_VFPRINTF])
  95072. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_VFPRINTF])
  95073. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VFPRINTF$])
  95074. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_VPRINTF])
  95075. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_VPRINTF])
  95076. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VPRINTF$])
  95077. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_VSNPRINTF])
  95078. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_VSNPRINTF])
  95079. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VSNPRINTF$])
  95080. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_VSPRINTF])
  95081. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_VSPRINTF])
  95082. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VSPRINTF$])
  95083. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FCLOSE])
  95084. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FCLOSE$])
  95085. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FCLOSE], [/* Define to 1 when the gnulib module fclose should be tested. */
  95086. +@%:@undef GNULIB_TEST_FCLOSE])
  95087. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FCNTL])
  95088. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FCNTL])
  95089. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCNTL$])
  95090. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_OPEN])
  95091. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_OPEN])
  95092. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_OPEN$])
  95093. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_OPENAT])
  95094. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_OPENAT])
  95095. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_OPENAT$])
  95096. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FCNTL])
  95097. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FCNTL])
  95098. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FCNTL$])
  95099. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_OPENAT])
  95100. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_OPENAT])
  95101. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_OPENAT$])
  95102. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FCNTL])
  95103. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FCNTL])
  95104. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FCNTL$])
  95105. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_OPEN])
  95106. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_OPEN])
  95107. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_OPEN$])
  95108. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_OPENAT])
  95109. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_OPENAT])
  95110. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_OPENAT$])
  95111. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */
  95112. +@%:@undef HAVE_FCNTL])
  95113. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */
  95114. +@%:@undef HAVE_FCNTL])
  95115. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */
  95116. +@%:@undef HAVE_FCNTL])
  95117. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FCNTL_DUPFD_BUGGY])
  95118. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FCNTL_DUPFD_BUGGY$])
  95119. +m4trace:configure.ac:104: -1- AH_OUTPUT([FCNTL_DUPFD_BUGGY], [/* Define this to 1 if F_DUPFD behavior does not match POSIX */
  95120. +@%:@undef FCNTL_DUPFD_BUGGY])
  95121. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FCNTL], [/* Define to 1 if you have the `fcntl\' function. */
  95122. +@%:@undef HAVE_FCNTL])
  95123. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FCNTL])
  95124. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FCNTL$])
  95125. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FCNTL], [/* Define to 1 when the gnulib module fcntl should be tested. */
  95126. +@%:@undef GNULIB_TEST_FCNTL])
  95127. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_O_NOATIME])
  95128. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WORKING_O_NOATIME$])
  95129. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WORKING_O_NOATIME], [/* Define to 1 if O_NOATIME works. */
  95130. +@%:@undef HAVE_WORKING_O_NOATIME])
  95131. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_O_NOFOLLOW])
  95132. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WORKING_O_NOFOLLOW$])
  95133. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WORKING_O_NOFOLLOW], [/* Define to 1 if O_NOFOLLOW works. */
  95134. +@%:@undef HAVE_WORKING_O_NOFOLLOW])
  95135. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_FCNTL_H], [AS_VAR_GET([gl_next_header])])
  95136. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_FCNTL_H])
  95137. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_FCNTL_H$])
  95138. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_FCNTL_H], [$gl_next_as_first_directive])
  95139. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_FCNTL_H])
  95140. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_FCNTL_H$])
  95141. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_FD_SAFER_FLAG])
  95142. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FD_SAFER_FLAG$])
  95143. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_FD_SAFER_FLAG], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  95144. + whether the gnulib module fd-safer-flag shall be considered present. */
  95145. +@%:@undef GNULIB_FD_SAFER_FLAG])
  95146. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FUNC_FFLUSH_STDIN])
  95147. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FUNC_FFLUSH_STDIN$])
  95148. +m4trace:configure.ac:104: -1- AH_OUTPUT([FUNC_FFLUSH_STDIN], [/* Define to 1 if fflush is known to work on stdin as per POSIX.1-2008, 0 if
  95149. + fflush is known to not work, -1 if unknown. */
  95150. +@%:@undef FUNC_FFLUSH_STDIN])
  95151. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FFLUSH])
  95152. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FFLUSH$])
  95153. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FFLUSH], [/* Define to 1 when the gnulib module fflush should be tested. */
  95154. +@%:@undef GNULIB_TEST_FFLUSH])
  95155. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MEMPCPY], [/* Define to 1 if you have the `mempcpy\' function. */
  95156. +@%:@undef HAVE_MEMPCPY])
  95157. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_FILENAMECAT])
  95158. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FILENAMECAT$])
  95159. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_FILENAMECAT], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  95160. + whether the gnulib module filenamecat shall be considered present. */
  95161. +@%:@undef GNULIB_FILENAMECAT])
  95162. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MEMPCPY], [/* Define to 1 if you have the `mempcpy\' function. */
  95163. +@%:@undef HAVE_MEMPCPY])
  95164. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_FLOAT_H], [AS_VAR_GET([gl_next_header])])
  95165. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_FLOAT_H])
  95166. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_FLOAT_H$])
  95167. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_FLOAT_H], [$gl_next_as_first_directive])
  95168. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_FLOAT_H])
  95169. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_FLOAT_H$])
  95170. +m4trace:configure.ac:104: -1- AC_SUBST([FLOAT_H])
  95171. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([FLOAT_H])
  95172. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLOAT_H$])
  95173. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FOPEN_TRAILING_SLASH_BUG])
  95174. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FOPEN_TRAILING_SLASH_BUG$])
  95175. +m4trace:configure.ac:104: -1- AH_OUTPUT([FOPEN_TRAILING_SLASH_BUG], [/* Define to 1 if fopen() fails to recognize a trailing slash. */
  95176. +@%:@undef FOPEN_TRAILING_SLASH_BUG])
  95177. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FOPEN])
  95178. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FOPEN$])
  95179. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FOPEN], [/* Define to 1 when the gnulib module fopen should be tested. */
  95180. +@%:@undef GNULIB_TEST_FOPEN])
  95181. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_FOPEN_SAFER])
  95182. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FOPEN_SAFER$])
  95183. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_FOPEN_SAFER], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  95184. + whether the gnulib module fopen-safer shall be considered present. */
  95185. +@%:@undef GNULIB_FOPEN_SAFER])
  95186. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STDIO_EXT_H], [/* Define to 1 if you have the <stdio_ext.h> header file. */
  95187. +@%:@undef HAVE_STDIO_EXT_H])
  95188. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE___FPENDING], [/* Define to 1 if you have the `__fpending\' function. */
  95189. +@%:@undef HAVE___FPENDING])
  95190. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL___FPENDING])
  95191. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL___FPENDING$])
  95192. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL___FPENDING], [/* Define to 1 if you have the declaration of `__fpending\', and to 0 if you
  95193. + don\'t. */
  95194. +@%:@undef HAVE_DECL___FPENDING])
  95195. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([PENDING_OUTPUT_N_BYTES])
  95196. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PENDING_OUTPUT_N_BYTES$])
  95197. +m4trace:configure.ac:104: -1- AH_OUTPUT([PENDING_OUTPUT_N_BYTES], [/* the number of pending output bytes on stream `fp\' */
  95198. +@%:@undef PENDING_OUTPUT_N_BYTES])
  95199. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FPURGE], [/* Define to 1 if you have the `fpurge\' function. */
  95200. +@%:@undef HAVE_FPURGE])
  95201. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE___FPURGE], [/* Define to 1 if you have the `__fpurge\' function. */
  95202. +@%:@undef HAVE___FPURGE])
  95203. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FPURGE])
  95204. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FPURGE$])
  95205. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FPURGE], [/* Define to 1 if you have the declaration of `fpurge\', and to 0 if you don\'t.
  95206. + */
  95207. +@%:@undef HAVE_DECL_FPURGE])
  95208. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FPURGE])
  95209. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FPURGE$])
  95210. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FPURGE], [/* Define to 1 when the gnulib module fpurge should be tested. */
  95211. +@%:@undef GNULIB_TEST_FPURGE])
  95212. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE___FREADING], [/* Define to 1 if you have the `__freading\' function. */
  95213. +@%:@undef HAVE___FREADING])
  95214. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ACOSL])
  95215. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ACOSL])
  95216. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ACOSL$])
  95217. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ASINL])
  95218. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ASINL])
  95219. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ASINL$])
  95220. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ATANL])
  95221. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ATANL])
  95222. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ATANL$])
  95223. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_CEIL])
  95224. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_CEIL])
  95225. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CEIL$])
  95226. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_CEILF])
  95227. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_CEILF])
  95228. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CEILF$])
  95229. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_CEILL])
  95230. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_CEILL])
  95231. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_CEILL$])
  95232. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_COSL])
  95233. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_COSL])
  95234. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_COSL$])
  95235. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_EXPL])
  95236. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_EXPL])
  95237. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_EXPL$])
  95238. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FLOOR])
  95239. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FLOOR])
  95240. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FLOOR$])
  95241. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FLOORF])
  95242. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FLOORF])
  95243. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FLOORF$])
  95244. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FLOORL])
  95245. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FLOORL])
  95246. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FLOORL$])
  95247. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FREXP])
  95248. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FREXP])
  95249. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FREXP$])
  95250. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FREXPL])
  95251. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FREXPL])
  95252. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FREXPL$])
  95253. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ISFINITE])
  95254. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ISFINITE])
  95255. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISFINITE$])
  95256. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ISINF])
  95257. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ISINF])
  95258. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISINF$])
  95259. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ISNAN])
  95260. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ISNAN])
  95261. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISNAN$])
  95262. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ISNANF])
  95263. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ISNANF])
  95264. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISNANF$])
  95265. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ISNAND])
  95266. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ISNAND])
  95267. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISNAND$])
  95268. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ISNANL])
  95269. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ISNANL])
  95270. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISNANL$])
  95271. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LDEXPL])
  95272. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LDEXPL])
  95273. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LDEXPL$])
  95274. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LOGB])
  95275. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LOGB])
  95276. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LOGB$])
  95277. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LOGL])
  95278. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LOGL])
  95279. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LOGL$])
  95280. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ROUND])
  95281. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ROUND])
  95282. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ROUND$])
  95283. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ROUNDF])
  95284. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ROUNDF])
  95285. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ROUNDF$])
  95286. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ROUNDL])
  95287. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ROUNDL])
  95288. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ROUNDL$])
  95289. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SIGNBIT])
  95290. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SIGNBIT])
  95291. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SIGNBIT$])
  95292. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SINL])
  95293. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SINL])
  95294. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SINL$])
  95295. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SQRTL])
  95296. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SQRTL])
  95297. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SQRTL$])
  95298. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TANL])
  95299. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TANL])
  95300. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TANL$])
  95301. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TRUNC])
  95302. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TRUNC])
  95303. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TRUNC$])
  95304. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TRUNCF])
  95305. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TRUNCF])
  95306. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TRUNCF$])
  95307. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TRUNCL])
  95308. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TRUNCL])
  95309. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TRUNCL$])
  95310. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ACOSL])
  95311. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ACOSL])
  95312. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ACOSL$])
  95313. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ASINL])
  95314. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ASINL])
  95315. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ASINL$])
  95316. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ATANL])
  95317. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ATANL])
  95318. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ATANL$])
  95319. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_COSL])
  95320. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_COSL])
  95321. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_COSL$])
  95322. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_EXPL])
  95323. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_EXPL])
  95324. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_EXPL$])
  95325. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ISNANF])
  95326. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ISNANF])
  95327. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNANF$])
  95328. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ISNAND])
  95329. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ISNAND])
  95330. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNAND$])
  95331. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ISNANL])
  95332. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ISNANL])
  95333. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNANL$])
  95334. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LOGL])
  95335. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LOGL])
  95336. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LOGL$])
  95337. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SINL])
  95338. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SINL])
  95339. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SINL$])
  95340. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SQRTL])
  95341. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SQRTL])
  95342. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SQRTL$])
  95343. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_TANL])
  95344. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_TANL])
  95345. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_TANL$])
  95346. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_ACOSL])
  95347. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_ACOSL])
  95348. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ACOSL$])
  95349. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_ASINL])
  95350. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_ASINL])
  95351. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ASINL$])
  95352. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_ATANL])
  95353. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_ATANL])
  95354. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ATANL$])
  95355. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_CEILF])
  95356. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_CEILF])
  95357. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_CEILF$])
  95358. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_CEILL])
  95359. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_CEILL])
  95360. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_CEILL$])
  95361. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_COSL])
  95362. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_COSL])
  95363. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_COSL$])
  95364. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_EXPL])
  95365. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_EXPL])
  95366. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_EXPL$])
  95367. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_FLOORF])
  95368. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_FLOORF])
  95369. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FLOORF$])
  95370. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_FLOORL])
  95371. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_FLOORL])
  95372. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FLOORL$])
  95373. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_FREXPL])
  95374. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_FREXPL])
  95375. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FREXPL$])
  95376. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_LDEXPL])
  95377. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_LDEXPL])
  95378. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_LDEXPL$])
  95379. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_LOGB])
  95380. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_LOGB])
  95381. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_LOGB$])
  95382. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_LOGL])
  95383. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_LOGL])
  95384. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_LOGL$])
  95385. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_ROUND])
  95386. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_ROUND])
  95387. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ROUND$])
  95388. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_ROUNDF])
  95389. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_ROUNDF])
  95390. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ROUNDF$])
  95391. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_ROUNDL])
  95392. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_ROUNDL])
  95393. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ROUNDL$])
  95394. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_SINL])
  95395. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_SINL])
  95396. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SINL$])
  95397. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_SQRTL])
  95398. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_SQRTL])
  95399. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SQRTL$])
  95400. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_TANL])
  95401. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_TANL])
  95402. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TANL$])
  95403. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_TRUNC])
  95404. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_TRUNC])
  95405. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TRUNC$])
  95406. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_TRUNCF])
  95407. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_TRUNCF])
  95408. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TRUNCF$])
  95409. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_TRUNCL])
  95410. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_TRUNCL])
  95411. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_TRUNCL$])
  95412. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_CEIL])
  95413. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_CEIL])
  95414. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CEIL$])
  95415. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_CEILF])
  95416. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_CEILF])
  95417. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CEILF$])
  95418. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_CEILL])
  95419. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_CEILL])
  95420. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_CEILL$])
  95421. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FLOOR])
  95422. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FLOOR])
  95423. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FLOOR$])
  95424. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FLOORF])
  95425. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FLOORF])
  95426. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FLOORF$])
  95427. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FLOORL])
  95428. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FLOORL])
  95429. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FLOORL$])
  95430. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FREXP])
  95431. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FREXP])
  95432. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FREXP$])
  95433. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FREXPL])
  95434. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FREXPL])
  95435. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FREXPL$])
  95436. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_HUGE_VAL])
  95437. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_HUGE_VAL])
  95438. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_HUGE_VAL$])
  95439. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_ISFINITE])
  95440. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_ISFINITE])
  95441. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISFINITE$])
  95442. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_ISINF])
  95443. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_ISINF])
  95444. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISINF$])
  95445. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_ISNAN])
  95446. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_ISNAN])
  95447. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISNAN$])
  95448. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_LDEXPL])
  95449. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_LDEXPL])
  95450. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LDEXPL$])
  95451. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_NAN])
  95452. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_NAN])
  95453. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NAN$])
  95454. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_ROUND])
  95455. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_ROUND])
  95456. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ROUND$])
  95457. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_ROUNDF])
  95458. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_ROUNDF])
  95459. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ROUNDF$])
  95460. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_ROUNDL])
  95461. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_ROUNDL])
  95462. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ROUNDL$])
  95463. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_SIGNBIT])
  95464. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_SIGNBIT])
  95465. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SIGNBIT$])
  95466. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_SIGNBIT_USING_GCC])
  95467. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_SIGNBIT_USING_GCC])
  95468. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SIGNBIT_USING_GCC$])
  95469. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_TRUNC])
  95470. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_TRUNC])
  95471. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TRUNC$])
  95472. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_TRUNCF])
  95473. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_TRUNCF])
  95474. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TRUNCF$])
  95475. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_TRUNCL])
  95476. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_TRUNCL])
  95477. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TRUNCL$])
  95478. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREXP_IN_LIBC])
  95479. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FREXP_IN_LIBC$])
  95480. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FREXP_IN_LIBC], [/* Define if the frexp() function is available in libc. */
  95481. +@%:@undef HAVE_FREXP_IN_LIBC])
  95482. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FREXP])
  95483. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FREXP$])
  95484. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FREXP], [/* Define to 1 when the gnulib module frexp should be tested. */
  95485. +@%:@undef GNULIB_TEST_FREXP])
  95486. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREXPL_IN_LIBC])
  95487. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FREXPL_IN_LIBC$])
  95488. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FREXPL_IN_LIBC], [/* Define if the frexpl() function is available in libc. */
  95489. +@%:@undef HAVE_FREXPL_IN_LIBC])
  95490. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FREXPL])
  95491. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FREXPL$])
  95492. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FREXPL], [/* Define to 1 when the gnulib module frexpl should be tested. */
  95493. +@%:@undef GNULIB_TEST_FREXPL])
  95494. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FSEEKO])
  95495. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FSEEKO$])
  95496. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FSEEKO], [/* Define to 1 if you have the declaration of `fseeko\', and to 0 if you don\'t.
  95497. + */
  95498. +@%:@undef HAVE_DECL_FSEEKO])
  95499. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FSEEKO])
  95500. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FSEEKO$])
  95501. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FSEEKO], [/* Define to 1 when the gnulib module fseeko should be tested. */
  95502. +@%:@undef GNULIB_TEST_FSEEKO])
  95503. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FTELLO])
  95504. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FTELLO$])
  95505. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FTELLO], [/* Define to 1 if you have the declaration of `ftello\', and to 0 if you don\'t.
  95506. + */
  95507. +@%:@undef HAVE_DECL_FTELLO])
  95508. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE])
  95509. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE$])
  95510. +m4trace:configure.ac:104: -1- AH_OUTPUT([FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE], [/* Define to 1 if the system\'s ftello function has the Solaris bug. */
  95511. +@%:@undef FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE])
  95512. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FTELLO])
  95513. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FTELLO$])
  95514. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FTELLO], [/* Define to 1 when the gnulib module ftello should be tested. */
  95515. +@%:@undef GNULIB_TEST_FTELLO])
  95516. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_GETDTABLESIZE], [/* Define to 1 if you have the `getdtablesize\' function. */
  95517. +@%:@undef HAVE_GETDTABLESIZE])
  95518. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETDTABLESIZE])
  95519. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_GETDTABLESIZE$])
  95520. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_GETDTABLESIZE], [/* Define to 1 when the gnulib module getdtablesize should be tested. */
  95521. +@%:@undef GNULIB_TEST_GETDTABLESIZE])
  95522. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_GETOPT_H], [/* Define to 1 if you have the <getopt.h> header file. */
  95523. +@%:@undef HAVE_GETOPT_H])
  95524. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_GETOPT_H], [AS_VAR_GET([gl_next_header])])
  95525. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_GETOPT_H])
  95526. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_GETOPT_H$])
  95527. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_GETOPT_H], [$gl_next_as_first_directive])
  95528. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_GETOPT_H])
  95529. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_GETOPT_H$])
  95530. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GETOPT_H])
  95531. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GETOPT_H])
  95532. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETOPT_H$])
  95533. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_GETOPT_H], [/* Define to 1 if you have the <getopt.h> header file. */
  95534. +@%:@undef HAVE_GETOPT_H])
  95535. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETOPT_H])
  95536. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETOPT_H$])
  95537. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_GETOPT_LONG_ONLY], [/* Define to 1 if you have the `getopt_long_only\' function. */
  95538. +@%:@undef HAVE_GETOPT_LONG_ONLY])
  95539. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETOPT_LONG_ONLY])
  95540. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETOPT_LONG_ONLY$])
  95541. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([__GETOPT_PREFIX])
  95542. +m4trace:configure.ac:104: -1- m4_pattern_allow([^__GETOPT_PREFIX$])
  95543. +m4trace:configure.ac:104: -1- AH_OUTPUT([__GETOPT_PREFIX], [/* Define to rpl_ if the getopt replacement functions and variables should be
  95544. + used. */
  95545. +@%:@undef __GETOPT_PREFIX])
  95546. +m4trace:configure.ac:104: -1- AC_SUBST([GETOPT_H])
  95547. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GETOPT_H])
  95548. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GETOPT_H$])
  95549. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETENV])
  95550. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETENV$])
  95551. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_GETENV], [/* Define to 1 if you have the declaration of `getenv\', and to 0 if you don\'t.
  95552. + */
  95553. +@%:@undef HAVE_DECL_GETENV])
  95554. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETOPT_GNU])
  95555. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_GETOPT_GNU$])
  95556. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_GETOPT_GNU], [/* Define to 1 when the gnulib module getopt-gnu should be tested. */
  95557. +@%:@undef GNULIB_TEST_GETOPT_GNU])
  95558. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([__GETOPT_PREFIX])
  95559. +m4trace:configure.ac:104: -1- m4_pattern_allow([^__GETOPT_PREFIX$])
  95560. +m4trace:configure.ac:104: -1- AH_OUTPUT([__GETOPT_PREFIX], [/* Define to rpl_ if the getopt replacement functions and variables should be
  95561. + used. */
  95562. +@%:@undef __GETOPT_PREFIX])
  95563. +m4trace:configure.ac:104: -1- AC_SUBST([GETOPT_H])
  95564. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GETOPT_H])
  95565. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GETOPT_H$])
  95566. +m4trace:configure.ac:104: -1- AC_SUBST([LIBINTL])
  95567. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBINTL])
  95568. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBINTL$])
  95569. +m4trace:configure.ac:104: -1- AC_SUBST([LTLIBINTL])
  95570. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LTLIBINTL])
  95571. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBINTL$])
  95572. +m4trace:configure.ac:104: -1- AH_OUTPUT([restrict], [/* Define to the equivalent of the C99 \'restrict\' keyword, or to
  95573. + nothing if this is not supported. Do not define if restrict is
  95574. + supported directly. */
  95575. +#undef restrict
  95576. +/* Work around a bug in Sun C++: it does not support _Restrict or
  95577. + __restrict__, even though the corresponding Sun C compiler ends up with
  95578. + "#define restrict _Restrict" or "#define restrict __restrict__" in the
  95579. + previous line. Perhaps some future version of Sun C++ will work with
  95580. + restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
  95581. +#if defined __SUNPRO_CC && !defined __RESTRICT
  95582. +# define _Restrict
  95583. +# define __restrict__
  95584. +#endif])
  95585. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([restrict])
  95586. +m4trace:configure.ac:104: -1- m4_pattern_allow([^restrict$])
  95587. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([restrict])
  95588. +m4trace:configure.ac:104: -1- m4_pattern_allow([^restrict$])
  95589. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_GETTIMEOFDAY])
  95590. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_GETTIMEOFDAY])
  95591. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_GETTIMEOFDAY$])
  95592. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_GETTIMEOFDAY])
  95593. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_GETTIMEOFDAY])
  95594. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETTIMEOFDAY$])
  95595. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRUCT_TIMEVAL])
  95596. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRUCT_TIMEVAL])
  95597. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_TIMEVAL$])
  95598. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SYS_TIME_H])
  95599. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SYS_TIME_H])
  95600. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$])
  95601. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_GETTIMEOFDAY])
  95602. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_GETTIMEOFDAY])
  95603. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_GETTIMEOFDAY$])
  95604. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
  95605. +@%:@undef HAVE_SYS_TIME_H])
  95606. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
  95607. +@%:@undef HAVE_SYS_TIME_H])
  95608. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_SYS_TIME_H], [AS_VAR_GET([gl_next_header])])
  95609. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_SYS_TIME_H])
  95610. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SYS_TIME_H$])
  95611. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H], [$gl_next_as_first_directive])
  95612. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H])
  95613. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H$])
  95614. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the `gettimeofday\' function. */
  95615. +@%:@undef HAVE_GETTIMEOFDAY])
  95616. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_TIMEB_H], [/* Define to 1 if you have the <sys/timeb.h> header file. */
  95617. +@%:@undef HAVE_SYS_TIMEB_H])
  95618. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIMEB_H])
  95619. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$])
  95620. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE__FTIME], [/* Define to 1 if you have the `_ftime\' function. */
  95621. +@%:@undef HAVE__FTIME])
  95622. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE__FTIME])
  95623. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__FTIME$])
  95624. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_TIMEB_H], [/* Define to 1 if you have the <sys/timeb.h> header file. */
  95625. +@%:@undef HAVE_SYS_TIMEB_H])
  95626. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIMEB_H])
  95627. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$])
  95628. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE__FTIME], [/* Define to 1 if you have the `_ftime\' function. */
  95629. +@%:@undef HAVE__FTIME])
  95630. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE__FTIME])
  95631. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__FTIME$])
  95632. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([gmtime])
  95633. +m4trace:configure.ac:104: -1- m4_pattern_allow([^gmtime$])
  95634. +m4trace:configure.ac:104: -1- AH_OUTPUT([gmtime], [/* Define to rpl_gmtime if the replacement function should be used. */
  95635. +@%:@undef gmtime])
  95636. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([localtime])
  95637. +m4trace:configure.ac:104: -1- m4_pattern_allow([^localtime$])
  95638. +m4trace:configure.ac:104: -1- AH_OUTPUT([localtime], [/* Define to rpl_localtime if the replacement function should be used. */
  95639. +@%:@undef localtime])
  95640. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GETTIMEOFDAY_CLOBBERS_LOCALTIME])
  95641. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GETTIMEOFDAY_CLOBBERS_LOCALTIME$])
  95642. +m4trace:configure.ac:104: -1- AH_OUTPUT([GETTIMEOFDAY_CLOBBERS_LOCALTIME], [/* Define if gettimeofday clobbers the localtime buffer. */
  95643. +@%:@undef GETTIMEOFDAY_CLOBBERS_LOCALTIME])
  95644. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_TIMEB_H], [/* Define to 1 if you have the <sys/timeb.h> header file. */
  95645. +@%:@undef HAVE_SYS_TIMEB_H])
  95646. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_TIMEB_H])
  95647. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TIMEB_H$])
  95648. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE__FTIME], [/* Define to 1 if you have the `_ftime\' function. */
  95649. +@%:@undef HAVE__FTIME])
  95650. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE__FTIME])
  95651. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__FTIME$])
  95652. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GETTIMEOFDAY_TIMEZONE])
  95653. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GETTIMEOFDAY_TIMEZONE$])
  95654. +m4trace:configure.ac:104: -1- AH_OUTPUT([GETTIMEOFDAY_TIMEZONE], [/* Define this to \'void\' or \'struct timezone\' to match the system\'s
  95655. + declaration of the second argument to gettimeofday. */
  95656. +@%:@undef GETTIMEOFDAY_TIMEZONE])
  95657. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETTIMEOFDAY])
  95658. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_GETTIMEOFDAY$])
  95659. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_GETTIMEOFDAY], [/* Define to 1 when the gnulib module gettimeofday should be tested. */
  95660. +@%:@undef GNULIB_TEST_GETTIMEOFDAY])
  95661. +m4trace:configure.ac:104: -1- AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [], [GNUmakefile=$GNUmakefile])
  95662. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INLINE])
  95663. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_INLINE$])
  95664. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_INLINE], [/* Define to 1 if the compiler supports one of the keywords \'inline\',
  95665. + \'__inline__\', \'__inline\' and effectively inlines functions marked as such.
  95666. + */
  95667. +@%:@undef HAVE_INLINE])
  95668. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ISNAND_IN_LIBC])
  95669. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNAND_IN_LIBC$])
  95670. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ISNAND_IN_LIBC], [/* Define if the isnan(double) function is available in libc. */
  95671. +@%:@undef HAVE_ISNAND_IN_LIBC])
  95672. +m4trace:configure.ac:104: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  95673. + significant byte first (like Motorola and SPARC, unlike Intel). */
  95674. +#if defined AC_APPLE_UNIVERSAL_BUILD
  95675. +# if defined __BIG_ENDIAN__
  95676. +# define WORDS_BIGENDIAN 1
  95677. +# endif
  95678. +#else
  95679. +# ifndef WORDS_BIGENDIAN
  95680. +# undef WORDS_BIGENDIAN
  95681. +# endif
  95682. +#endif])
  95683. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD])
  95684. +m4trace:configure.ac:104: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
  95685. +m4trace:configure.ac:104: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */
  95686. +@%:@undef AC_APPLE_UNIVERSAL_BUILD])
  95687. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([DBL_EXPBIT0_WORD])
  95688. +m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_EXPBIT0_WORD$])
  95689. +m4trace:configure.ac:104: -1- AH_OUTPUT([DBL_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'double\'. */
  95690. +@%:@undef DBL_EXPBIT0_WORD])
  95691. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([DBL_EXPBIT0_BIT])
  95692. +m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_EXPBIT0_BIT$])
  95693. +m4trace:configure.ac:104: -1- AH_OUTPUT([DBL_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of
  95694. + \'double\'. */
  95695. +@%:@undef DBL_EXPBIT0_BIT])
  95696. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_WORD])
  95697. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$])
  95698. +m4trace:configure.ac:104: -1- AH_OUTPUT([FLT_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'float\'. */
  95699. +@%:@undef FLT_EXPBIT0_WORD])
  95700. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_BIT])
  95701. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$])
  95702. +m4trace:configure.ac:104: -1- AH_OUTPUT([FLT_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of
  95703. + \'float\'. */
  95704. +@%:@undef FLT_EXPBIT0_BIT])
  95705. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ISNANF_IN_LIBC])
  95706. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNANF_IN_LIBC$])
  95707. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ISNANF_IN_LIBC], [/* Define if the isnan(float) function is available in libc. */
  95708. +@%:@undef HAVE_ISNANF_IN_LIBC])
  95709. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_WORD])
  95710. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$])
  95711. +m4trace:configure.ac:104: -1- AH_OUTPUT([FLT_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'float\'. */
  95712. +@%:@undef FLT_EXPBIT0_WORD])
  95713. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_BIT])
  95714. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$])
  95715. +m4trace:configure.ac:104: -1- AH_OUTPUT([FLT_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of
  95716. + \'float\'. */
  95717. +@%:@undef FLT_EXPBIT0_BIT])
  95718. +m4trace:configure.ac:104: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  95719. + significant byte first (like Motorola and SPARC, unlike Intel). */
  95720. +#if defined AC_APPLE_UNIVERSAL_BUILD
  95721. +# if defined __BIG_ENDIAN__
  95722. +# define WORDS_BIGENDIAN 1
  95723. +# endif
  95724. +#else
  95725. +# ifndef WORDS_BIGENDIAN
  95726. +# undef WORDS_BIGENDIAN
  95727. +# endif
  95728. +#endif])
  95729. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
  95730. +m4trace:configure.ac:104: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
  95731. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD])
  95732. +m4trace:configure.ac:104: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
  95733. +m4trace:configure.ac:104: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */
  95734. +@%:@undef AC_APPLE_UNIVERSAL_BUILD])
  95735. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ISNANL_IN_LIBC])
  95736. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISNANL_IN_LIBC$])
  95737. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ISNANL_IN_LIBC], [/* Define if the isnan(long double) function is available in libc. */
  95738. +@%:@undef HAVE_ISNANL_IN_LIBC])
  95739. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([LDBL_EXPBIT0_WORD])
  95740. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_EXPBIT0_WORD$])
  95741. +m4trace:configure.ac:104: -1- AH_OUTPUT([LDBL_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'long double\'. */
  95742. +@%:@undef LDBL_EXPBIT0_WORD])
  95743. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([LDBL_EXPBIT0_BIT])
  95744. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_EXPBIT0_BIT$])
  95745. +m4trace:configure.ac:104: -1- AH_OUTPUT([LDBL_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of
  95746. + \'long double\'. */
  95747. +@%:@undef LDBL_EXPBIT0_BIT])
  95748. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_NL_LANGINFO])
  95749. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_NL_LANGINFO])
  95750. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_NL_LANGINFO$])
  95751. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_NL_LANGINFO])
  95752. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_NL_LANGINFO])
  95753. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_NL_LANGINFO$])
  95754. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_NL_LANGINFO])
  95755. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_NL_LANGINFO])
  95756. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NL_LANGINFO$])
  95757. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LANGINFO_H], [/* Define to 1 if you have the <langinfo.h> header file. */
  95758. +@%:@undef HAVE_LANGINFO_H])
  95759. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_LANGINFO_H], [AS_VAR_GET([gl_next_header])])
  95760. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_LANGINFO_H])
  95761. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_LANGINFO_H$])
  95762. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H], [$gl_next_as_first_directive])
  95763. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H])
  95764. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_LANGINFO_H$])
  95765. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LANGINFO_H], [/* Define to 1 if you have the <langinfo.h> header file. */
  95766. +@%:@undef HAVE_LANGINFO_H])
  95767. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LANGINFO_H])
  95768. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LANGINFO_H])
  95769. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_H$])
  95770. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LANGINFO_CODESET])
  95771. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LANGINFO_CODESET])
  95772. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$])
  95773. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LANGINFO_T_FMT_AMPM])
  95774. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LANGINFO_T_FMT_AMPM])
  95775. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_T_FMT_AMPM$])
  95776. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LANGINFO_ERA])
  95777. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LANGINFO_ERA])
  95778. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_ERA$])
  95779. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LANGINFO_YESEXPR])
  95780. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LANGINFO_YESEXPR])
  95781. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LANGINFO_YESEXPR$])
  95782. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSIGSEGV])
  95783. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBSIGSEGV$])
  95784. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LIBSIGSEGV], [/* Define if you have the libsigsegv library. */
  95785. +@%:@undef HAVE_LIBSIGSEGV])
  95786. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LIBSIGSEGV])
  95787. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LIBSIGSEGV])
  95788. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBSIGSEGV$])
  95789. +m4trace:configure.ac:104: -1- AC_SUBST([LIBSIGSEGV])
  95790. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBSIGSEGV])
  95791. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBSIGSEGV$])
  95792. +m4trace:configure.ac:104: -1- AC_SUBST([LTLIBSIGSEGV])
  95793. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LTLIBSIGSEGV])
  95794. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBSIGSEGV$])
  95795. +m4trace:configure.ac:104: -1- AC_SUBST([LIBSIGSEGV_PREFIX])
  95796. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBSIGSEGV_PREFIX])
  95797. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBSIGSEGV_PREFIX$])
  95798. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETC_UNLOCKED])
  95799. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$])
  95800. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_GETC_UNLOCKED], [/* Define to 1 if you have the declaration of `getc_unlocked\', and to 0 if you
  95801. + don\'t. */
  95802. +@%:@undef HAVE_DECL_GETC_UNLOCKED])
  95803. +m4trace:configure.ac:104: -1- AC_SUBST([GLIBC21])
  95804. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GLIBC21])
  95805. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GLIBC21$])
  95806. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
  95807. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALCHARSET_TESTS_ENVIRONMENT])
  95808. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALCHARSET_TESTS_ENVIRONMENT$])
  95809. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([PTHREAD_IN_USE_DETECTION_HARD])
  95810. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PTHREAD_IN_USE_DETECTION_HARD$])
  95811. +m4trace:configure.ac:104: -1- AH_OUTPUT([PTHREAD_IN_USE_DETECTION_HARD], [/* Define if the pthread_in_use() detection is hard. */
  95812. +@%:@undef PTHREAD_IN_USE_DETECTION_HARD])
  95813. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([USE_POSIX_THREADS])
  95814. +m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_POSIX_THREADS$])
  95815. +m4trace:configure.ac:104: -1- AH_OUTPUT([USE_POSIX_THREADS], [/* Define if the POSIX multithreading library can be used. */
  95816. +@%:@undef USE_POSIX_THREADS])
  95817. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([USE_POSIX_THREADS_WEAK])
  95818. +m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_POSIX_THREADS_WEAK$])
  95819. +m4trace:configure.ac:104: -1- AH_OUTPUT([USE_POSIX_THREADS_WEAK], [/* Define if references to the POSIX multithreading library should be made
  95820. + weak. */
  95821. +@%:@undef USE_POSIX_THREADS_WEAK])
  95822. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([USE_SOLARIS_THREADS])
  95823. +m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_SOLARIS_THREADS$])
  95824. +m4trace:configure.ac:104: -1- AH_OUTPUT([USE_SOLARIS_THREADS], [/* Define if the old Solaris multithreading library can be used. */
  95825. +@%:@undef USE_SOLARIS_THREADS])
  95826. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([USE_SOLARIS_THREADS_WEAK])
  95827. +m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_SOLARIS_THREADS_WEAK$])
  95828. +m4trace:configure.ac:104: -1- AH_OUTPUT([USE_SOLARIS_THREADS_WEAK], [/* Define if references to the old Solaris multithreading library should be
  95829. + made weak. */
  95830. +@%:@undef USE_SOLARIS_THREADS_WEAK])
  95831. +m4trace:configure.ac:104: -1- AC_SUBST([LIBPTH])
  95832. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBPTH])
  95833. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBPTH$])
  95834. +m4trace:configure.ac:104: -1- AC_SUBST([LTLIBPTH])
  95835. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LTLIBPTH])
  95836. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBPTH$])
  95837. +m4trace:configure.ac:104: -1- AC_SUBST([LIBPTH_PREFIX])
  95838. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBPTH_PREFIX])
  95839. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBPTH_PREFIX$])
  95840. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([USE_PTH_THREADS])
  95841. +m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_PTH_THREADS$])
  95842. +m4trace:configure.ac:104: -1- AH_OUTPUT([USE_PTH_THREADS], [/* Define if the GNU Pth multithreading library can be used. */
  95843. +@%:@undef USE_PTH_THREADS])
  95844. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([USE_PTH_THREADS_WEAK])
  95845. +m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_PTH_THREADS_WEAK$])
  95846. +m4trace:configure.ac:104: -1- AH_OUTPUT([USE_PTH_THREADS_WEAK], [/* Define if references to the GNU Pth multithreading library should be made
  95847. + weak. */
  95848. +@%:@undef USE_PTH_THREADS_WEAK])
  95849. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([USE_WIN32_THREADS])
  95850. +m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_WIN32_THREADS$])
  95851. +m4trace:configure.ac:104: -1- AH_OUTPUT([USE_WIN32_THREADS], [/* Define if the Win32 multithreading API can be used. */
  95852. +@%:@undef USE_WIN32_THREADS])
  95853. +m4trace:configure.ac:104: -1- AC_SUBST([LIBTHREAD])
  95854. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBTHREAD])
  95855. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBTHREAD$])
  95856. +m4trace:configure.ac:104: -1- AC_SUBST([LTLIBTHREAD])
  95857. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LTLIBTHREAD])
  95858. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBTHREAD$])
  95859. +m4trace:configure.ac:104: -1- AC_SUBST([LIBMULTITHREAD])
  95860. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBMULTITHREAD])
  95861. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBMULTITHREAD$])
  95862. +m4trace:configure.ac:104: -1- AC_SUBST([LTLIBMULTITHREAD])
  95863. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LTLIBMULTITHREAD])
  95864. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LTLIBMULTITHREAD$])
  95865. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD_RWLOCK])
  95866. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PTHREAD_RWLOCK$])
  95867. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_PTHREAD_RWLOCK], [/* Define if the POSIX multithreading library has read/write locks. */
  95868. +@%:@undef HAVE_PTHREAD_RWLOCK])
  95869. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREAD_MUTEX_RECURSIVE])
  95870. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PTHREAD_MUTEX_RECURSIVE$])
  95871. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_PTHREAD_MUTEX_RECURSIVE], [/* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */
  95872. +@%:@undef HAVE_PTHREAD_MUTEX_RECURSIVE])
  95873. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([LSEEK_PIPE_BROKEN])
  95874. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LSEEK_PIPE_BROKEN$])
  95875. +m4trace:configure.ac:104: -1- AH_OUTPUT([LSEEK_PIPE_BROKEN], [/* Define to 1 if lseek does not detect pipes. */
  95876. +@%:@undef LSEEK_PIPE_BROKEN])
  95877. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_LSEEK])
  95878. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_LSEEK$])
  95879. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_LSEEK], [/* Define to 1 when the gnulib module lseek should be tested. */
  95880. +@%:@undef GNULIB_TEST_LSEEK])
  95881. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FCHMODAT])
  95882. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FCHMODAT])
  95883. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FCHMODAT$])
  95884. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FSTATAT])
  95885. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FSTATAT])
  95886. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FSTATAT$])
  95887. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_FUTIMENS])
  95888. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_FUTIMENS])
  95889. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_FUTIMENS$])
  95890. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LCHMOD])
  95891. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LCHMOD])
  95892. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LCHMOD$])
  95893. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_LSTAT])
  95894. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_LSTAT])
  95895. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_LSTAT$])
  95896. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKDIRAT])
  95897. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKDIRAT])
  95898. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKDIRAT$])
  95899. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKFIFO])
  95900. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKFIFO])
  95901. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKFIFO$])
  95902. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKFIFOAT])
  95903. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKFIFOAT])
  95904. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKFIFOAT$])
  95905. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKNOD])
  95906. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKNOD])
  95907. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKNOD$])
  95908. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKNODAT])
  95909. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKNODAT])
  95910. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKNODAT$])
  95911. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STAT])
  95912. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STAT])
  95913. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STAT$])
  95914. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_UTIMENSAT])
  95915. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_UTIMENSAT])
  95916. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_UTIMENSAT$])
  95917. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FCHMODAT])
  95918. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FCHMODAT])
  95919. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FCHMODAT$])
  95920. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FSTATAT])
  95921. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FSTATAT])
  95922. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FSTATAT$])
  95923. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FUTIMENS])
  95924. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FUTIMENS])
  95925. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FUTIMENS$])
  95926. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LCHMOD])
  95927. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LCHMOD])
  95928. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LCHMOD$])
  95929. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LSTAT])
  95930. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LSTAT])
  95931. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LSTAT$])
  95932. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKDIRAT])
  95933. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKDIRAT])
  95934. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKDIRAT$])
  95935. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKFIFO])
  95936. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKFIFO])
  95937. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKFIFO$])
  95938. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKFIFOAT])
  95939. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKFIFOAT])
  95940. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKFIFOAT$])
  95941. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKNOD])
  95942. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKNOD])
  95943. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKNOD$])
  95944. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MKNODAT])
  95945. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MKNODAT])
  95946. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKNODAT$])
  95947. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_UTIMENSAT])
  95948. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_UTIMENSAT])
  95949. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UTIMENSAT$])
  95950. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FSTAT])
  95951. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FSTAT])
  95952. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FSTAT$])
  95953. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FSTATAT])
  95954. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FSTATAT])
  95955. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FSTATAT$])
  95956. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_FUTIMENS])
  95957. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_FUTIMENS])
  95958. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FUTIMENS$])
  95959. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_LSTAT])
  95960. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_LSTAT])
  95961. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LSTAT$])
  95962. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MKDIR])
  95963. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MKDIR])
  95964. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKDIR$])
  95965. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MKFIFO])
  95966. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MKFIFO])
  95967. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKFIFO$])
  95968. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MKNOD])
  95969. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MKNOD])
  95970. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKNOD$])
  95971. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STAT])
  95972. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STAT])
  95973. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STAT$])
  95974. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_UTIMENSAT])
  95975. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_UTIMENSAT])
  95976. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_UTIMENSAT$])
  95977. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define to 1 if you have the `lstat\' function. */
  95978. +@%:@undef HAVE_LSTAT])
  95979. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([LSTAT_FOLLOWS_SLASHED_SYMLINK])
  95980. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LSTAT_FOLLOWS_SLASHED_SYMLINK$])
  95981. +m4trace:configure.ac:104: -1- AH_OUTPUT([LSTAT_FOLLOWS_SLASHED_SYMLINK], [/* Define to 1 if `lstat\' dereferences a symlink specified with a trailing
  95982. + slash. */
  95983. +@%:@undef LSTAT_FOLLOWS_SLASHED_SYMLINK])
  95984. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_LSTAT])
  95985. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_LSTAT$])
  95986. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_LSTAT], [/* Define to 1 when the gnulib module lstat should be tested. */
  95987. +@%:@undef GNULIB_TEST_LSTAT])
  95988. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
  95989. +@%:@undef HAVE_STDLIB_H])
  95990. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
  95991. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
  95992. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_GNU])
  95993. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MALLOC_GNU$])
  95994. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MALLOC_GNU], [/* Define to 1 if your system has a GNU libc compatible \'malloc\' function, and
  95995. + to 0 otherwise. */
  95996. +@%:@undef HAVE_MALLOC_GNU])
  95997. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_GNU])
  95998. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MALLOC_GNU$])
  95999. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_MALLOC_GNU])
  96000. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MALLOC_GNU$])
  96001. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_MALLOC_GNU], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  96002. + whether the gnulib module malloc-gnu shall be considered present. */
  96003. +@%:@undef GNULIB_MALLOC_GNU])
  96004. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC_POSIX])
  96005. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MALLOC_POSIX$])
  96006. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MALLOC_POSIX], [/* Define if the \'malloc\' function is POSIX compliant. */
  96007. +@%:@undef HAVE_MALLOC_POSIX])
  96008. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MALLOC_POSIX])
  96009. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MALLOC_POSIX$])
  96010. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_MALLOC_POSIX], [/* Define to 1 when the gnulib module malloc-posix should be tested. */
  96011. +@%:@undef GNULIB_TEST_MALLOC_POSIX])
  96012. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
  96013. +@%:@undef HAVE_STDLIB_H])
  96014. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
  96015. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
  96016. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MALLOC_0_IS_NONNULL])
  96017. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MALLOC_0_IS_NONNULL$])
  96018. +m4trace:configure.ac:104: -1- AH_OUTPUT([MALLOC_0_IS_NONNULL], [/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
  96019. +@%:@undef MALLOC_0_IS_NONNULL])
  96020. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MATH_H], [/* Define to 1 if you have the <math.h> header file. */
  96021. +@%:@undef HAVE_MATH_H])
  96022. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_MATH_H], [AS_VAR_GET([gl_next_header])])
  96023. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_MATH_H])
  96024. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_MATH_H$])
  96025. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_MATH_H], [$gl_next_as_first_directive])
  96026. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_MATH_H])
  96027. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_MATH_H$])
  96028. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MBSTATE_T])
  96029. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSTATE_T$])
  96030. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBSTATE_T], [/* Define to 1 if <wchar.h> declares mbstate_t. */
  96031. +@%:@undef HAVE_MBSTATE_T])
  96032. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([mbstate_t])
  96033. +m4trace:configure.ac:104: -1- m4_pattern_allow([^mbstate_t$])
  96034. +m4trace:configure.ac:104: -1- AH_OUTPUT([mbstate_t], [/* Define to a type if <wchar.h> does not define. */
  96035. +@%:@undef mbstate_t])
  96036. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */
  96037. +@%:@undef HAVE_MBSINIT])
  96038. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */
  96039. +@%:@undef HAVE_MBRTOWC])
  96040. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_JA])
  96041. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_JA])
  96042. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_JA$])
  96043. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_ZH_CN])
  96044. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_ZH_CN])
  96045. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
  96046. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */
  96047. +@%:@undef HAVE_MBRTOWC])
  96048. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR_UTF8])
  96049. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8])
  96050. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
  96051. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_NULL_ARG1_BUG])
  96052. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG1_BUG$])
  96053. +m4trace:configure.ac:104: -1- AH_OUTPUT([MBRTOWC_NULL_ARG1_BUG], [/* Define if the mbrtowc function has the NULL pwc argument bug. */
  96054. +@%:@undef MBRTOWC_NULL_ARG1_BUG])
  96055. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_NULL_ARG2_BUG])
  96056. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MBRTOWC_NULL_ARG2_BUG$])
  96057. +m4trace:configure.ac:104: -1- AH_OUTPUT([MBRTOWC_NULL_ARG2_BUG], [/* Define if the mbrtowc function has the NULL string argument bug. */
  96058. +@%:@undef MBRTOWC_NULL_ARG2_BUG])
  96059. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_RETVAL_BUG])
  96060. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MBRTOWC_RETVAL_BUG$])
  96061. +m4trace:configure.ac:104: -1- AH_OUTPUT([MBRTOWC_RETVAL_BUG], [/* Define if the mbrtowc function returns a wrong return value. */
  96062. +@%:@undef MBRTOWC_RETVAL_BUG])
  96063. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MBRTOWC_NUL_RETVAL_BUG])
  96064. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MBRTOWC_NUL_RETVAL_BUG$])
  96065. +m4trace:configure.ac:104: -1- AH_OUTPUT([MBRTOWC_NUL_RETVAL_BUG], [/* Define if the mbrtowc function does not return 0 for a NUL character. */
  96066. +@%:@undef MBRTOWC_NUL_RETVAL_BUG])
  96067. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MBRTOWC])
  96068. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MBRTOWC$])
  96069. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_MBRTOWC], [/* Define to 1 when the gnulib module mbrtowc should be tested. */
  96070. +@%:@undef GNULIB_TEST_MBRTOWC])
  96071. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */
  96072. +@%:@undef HAVE_MBSINIT])
  96073. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */
  96074. +@%:@undef HAVE_MBRTOWC])
  96075. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */
  96076. +@%:@undef HAVE_MBSINIT])
  96077. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MBSINIT])
  96078. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MBSINIT$])
  96079. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_MBSINIT], [/* Define to 1 when the gnulib module mbsinit should be tested. */
  96080. +@%:@undef GNULIB_TEST_MBSINIT])
  96081. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MBTOWC])
  96082. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MBTOWC$])
  96083. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_MBTOWC], [/* Define to 1 when the gnulib module mbtowc should be tested. */
  96084. +@%:@undef GNULIB_TEST_MBTOWC])
  96085. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS])
  96086. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
  96087. +m4trace:configure.ac:104: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */
  96088. +@%:@undef MAP_ANONYMOUS])
  96089. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS])
  96090. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
  96091. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including
  96092. + config.h and <sys/mman.h>. */
  96093. +@%:@undef HAVE_MAP_ANONYMOUS])
  96094. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
  96095. +@%:@undef HAVE_SYS_MMAN_H])
  96096. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */
  96097. +@%:@undef HAVE_MPROTECT])
  96098. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MEMCHR])
  96099. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MEMCHR])
  96100. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MEMCHR$])
  96101. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MEMMEM])
  96102. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MEMMEM])
  96103. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MEMMEM$])
  96104. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MEMPCPY])
  96105. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MEMPCPY])
  96106. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MEMPCPY$])
  96107. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MEMRCHR])
  96108. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MEMRCHR])
  96109. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MEMRCHR$])
  96110. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_RAWMEMCHR])
  96111. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_RAWMEMCHR])
  96112. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_RAWMEMCHR$])
  96113. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STPCPY])
  96114. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STPCPY])
  96115. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STPCPY$])
  96116. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STPNCPY])
  96117. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STPNCPY])
  96118. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STPNCPY$])
  96119. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRCHRNUL])
  96120. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRCHRNUL])
  96121. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRCHRNUL$])
  96122. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRDUP])
  96123. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRDUP])
  96124. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRDUP$])
  96125. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRNCAT])
  96126. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRNCAT])
  96127. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRNCAT$])
  96128. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRNDUP])
  96129. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRNDUP])
  96130. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRNDUP$])
  96131. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRNLEN])
  96132. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRNLEN])
  96133. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRNLEN$])
  96134. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRPBRK])
  96135. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRPBRK])
  96136. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRPBRK$])
  96137. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRSEP])
  96138. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRSEP])
  96139. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRSEP$])
  96140. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRSTR])
  96141. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRSTR])
  96142. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRSTR$])
  96143. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRCASESTR])
  96144. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRCASESTR])
  96145. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRCASESTR$])
  96146. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRTOK_R])
  96147. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRTOK_R])
  96148. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRTOK_R$])
  96149. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSLEN])
  96150. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSLEN])
  96151. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSLEN$])
  96152. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSNLEN])
  96153. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSNLEN])
  96154. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSNLEN$])
  96155. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSCHR])
  96156. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSCHR])
  96157. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSCHR$])
  96158. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSRCHR])
  96159. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSRCHR])
  96160. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSRCHR$])
  96161. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSSTR])
  96162. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSSTR])
  96163. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSSTR$])
  96164. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSCASECMP])
  96165. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSCASECMP])
  96166. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSCASECMP$])
  96167. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSNCASECMP])
  96168. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSNCASECMP])
  96169. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSNCASECMP$])
  96170. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSPCASECMP])
  96171. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSPCASECMP])
  96172. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSPCASECMP$])
  96173. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSCASESTR])
  96174. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSCASESTR])
  96175. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSCASESTR$])
  96176. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSCSPN])
  96177. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSCSPN])
  96178. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSCSPN$])
  96179. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSPBRK])
  96180. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSPBRK])
  96181. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSPBRK$])
  96182. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSSPN])
  96183. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSSPN])
  96184. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSSPN$])
  96185. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSSEP])
  96186. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSSEP])
  96187. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSSEP$])
  96188. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MBSTOK_R])
  96189. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MBSTOK_R])
  96190. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MBSTOK_R$])
  96191. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRERROR])
  96192. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRERROR])
  96193. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRERROR$])
  96194. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRERROR_R])
  96195. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRERROR_R])
  96196. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRERROR_R$])
  96197. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRSIGNAL])
  96198. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRSIGNAL])
  96199. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRSIGNAL$])
  96200. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRVERSCMP])
  96201. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRVERSCMP])
  96202. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRVERSCMP$])
  96203. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MBSLEN])
  96204. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MBSLEN])
  96205. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MBSLEN$])
  96206. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MEMCHR])
  96207. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MEMCHR])
  96208. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MEMCHR$])
  96209. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_MEMMEM])
  96210. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_MEMMEM])
  96211. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_MEMMEM$])
  96212. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_MEMPCPY])
  96213. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_MEMPCPY])
  96214. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MEMPCPY$])
  96215. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_MEMRCHR])
  96216. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_MEMRCHR])
  96217. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_MEMRCHR$])
  96218. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_RAWMEMCHR])
  96219. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_RAWMEMCHR])
  96220. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RAWMEMCHR$])
  96221. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STPCPY])
  96222. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STPCPY])
  96223. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STPCPY$])
  96224. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STPNCPY])
  96225. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STPNCPY])
  96226. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STPNCPY$])
  96227. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRCHRNUL])
  96228. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRCHRNUL])
  96229. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRCHRNUL$])
  96230. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_STRDUP])
  96231. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_STRDUP])
  96232. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$])
  96233. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_STRNDUP])
  96234. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_STRNDUP])
  96235. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$])
  96236. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_STRNLEN])
  96237. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_STRNLEN])
  96238. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$])
  96239. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRPBRK])
  96240. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRPBRK])
  96241. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRPBRK$])
  96242. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRSEP])
  96243. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRSEP])
  96244. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRSEP$])
  96245. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRCASESTR])
  96246. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRCASESTR])
  96247. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRCASESTR$])
  96248. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_STRTOK_R])
  96249. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_STRTOK_R])
  96250. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRTOK_R$])
  96251. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_STRERROR_R])
  96252. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_STRERROR_R])
  96253. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$])
  96254. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_STRSIGNAL])
  96255. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_STRSIGNAL])
  96256. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$])
  96257. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRVERSCMP])
  96258. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRVERSCMP])
  96259. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRVERSCMP$])
  96260. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MEMCHR])
  96261. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MEMCHR])
  96262. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MEMCHR$])
  96263. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MEMMEM])
  96264. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MEMMEM])
  96265. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MEMMEM$])
  96266. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STPNCPY])
  96267. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STPNCPY])
  96268. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STPNCPY$])
  96269. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRDUP])
  96270. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRDUP])
  96271. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRDUP$])
  96272. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRSTR])
  96273. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRSTR])
  96274. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRSTR$])
  96275. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRCASESTR])
  96276. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRCASESTR])
  96277. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRCASESTR$])
  96278. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRERROR])
  96279. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRERROR])
  96280. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRERROR$])
  96281. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRERROR_R])
  96282. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRERROR_R])
  96283. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRERROR_R$])
  96284. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRNCAT])
  96285. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRNCAT])
  96286. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRNCAT$])
  96287. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRNDUP])
  96288. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRNDUP])
  96289. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRNDUP$])
  96290. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRNLEN])
  96291. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRNLEN])
  96292. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRNLEN$])
  96293. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRSIGNAL])
  96294. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRSIGNAL])
  96295. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRSIGNAL$])
  96296. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_STRTOK_R])
  96297. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_STRTOK_R])
  96298. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRTOK_R$])
  96299. +m4trace:configure.ac:104: -1- AC_SUBST([UNDEFINE_STRTOK_R])
  96300. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([UNDEFINE_STRTOK_R])
  96301. +m4trace:configure.ac:104: -1- m4_pattern_allow([^UNDEFINE_STRTOK_R$])
  96302. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MEMCHR], [/* Define to 1 if you have the `memchr\' function. */
  96303. +@%:@undef HAVE_MEMCHR])
  96304. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_BP_SYM_H], [/* Define to 1 if you have the <bp-sym.h> header file. */
  96305. +@%:@undef HAVE_BP_SYM_H])
  96306. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_BP_SYM_H])
  96307. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_BP_SYM_H$])
  96308. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MEMCHR])
  96309. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MEMCHR$])
  96310. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_MEMCHR], [/* Define to 1 when the gnulib module memchr should be tested. */
  96311. +@%:@undef GNULIB_TEST_MEMCHR])
  96312. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MKDTEMP], [/* Define to 1 if you have the `mkdtemp\' function. */
  96313. +@%:@undef HAVE_MKDTEMP])
  96314. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MKDTEMP])
  96315. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MKDTEMP$])
  96316. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MKDTEMP])
  96317. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MKDTEMP$])
  96318. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_MKDTEMP], [/* Define to 1 when the gnulib module mkdtemp should be tested. */
  96319. +@%:@undef GNULIB_TEST_MKDTEMP])
  96320. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS])
  96321. +m4trace:configure.ac:104: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$])
  96322. +m4trace:configure.ac:104: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */
  96323. +@%:@undef _FILE_OFFSET_BITS])
  96324. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES])
  96325. +m4trace:configure.ac:104: -1- m4_pattern_allow([^_LARGE_FILES$])
  96326. +m4trace:configure.ac:104: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */
  96327. +@%:@undef _LARGE_FILES])
  96328. +m4trace:configure.ac:104: -1- AH_OUTPUT([_DARWIN_USE_64_BIT_INODE], [/* Enable large inode numbers on Mac OS X 10.5. */
  96329. +#ifndef _DARWIN_USE_64_BIT_INODE
  96330. +# define _DARWIN_USE_64_BIT_INODE 1
  96331. +#endif])
  96332. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MKSTEMP], [/* Define to 1 if you have the `mkstemp\' function. */
  96333. +@%:@undef HAVE_MKSTEMP])
  96334. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_MKSTEMP])
  96335. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_MKSTEMP$])
  96336. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_MKSTEMP], [/* Define to 1 when the gnulib module mkstemp should be tested. */
  96337. +@%:@undef GNULIB_TEST_MKSTEMP])
  96338. +m4trace:configure.ac:104: -1- AC_SUBST([APPLE_UNIVERSAL_BUILD])
  96339. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([APPLE_UNIVERSAL_BUILD])
  96340. +m4trace:configure.ac:104: -1- m4_pattern_allow([^APPLE_UNIVERSAL_BUILD$])
  96341. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_NL_LANGINFO], [/* Define to 1 if you have the `nl_langinfo\' function. */
  96342. +@%:@undef HAVE_NL_LANGINFO])
  96343. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FUNC_NL_LANGINFO_YESEXPR_WORKS])
  96344. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FUNC_NL_LANGINFO_YESEXPR_WORKS$])
  96345. +m4trace:configure.ac:104: -1- AH_OUTPUT([FUNC_NL_LANGINFO_YESEXPR_WORKS], [/* Define to 1 if nl_langinfo (YESEXPR) returns a non-empty string. */
  96346. +@%:@undef FUNC_NL_LANGINFO_YESEXPR_WORKS])
  96347. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_NL_LANGINFO])
  96348. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NL_LANGINFO$])
  96349. +m4trace:configure.ac:104: -1- AH_OUTPUT([REPLACE_NL_LANGINFO], [/* Define if nl_langinfo exists but is overridden by gnulib. */
  96350. +@%:@undef REPLACE_NL_LANGINFO])
  96351. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_NL_LANGINFO])
  96352. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_NL_LANGINFO$])
  96353. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_NL_LANGINFO], [/* Define to 1 when the gnulib module nl_langinfo should be tested. */
  96354. +@%:@undef GNULIB_TEST_NL_LANGINFO])
  96355. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OBSTACK])
  96356. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_OBSTACK$])
  96357. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_OBSTACK], [/* Define to 1 if libc includes obstacks. */
  96358. +@%:@undef HAVE_OBSTACK])
  96359. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([PROMOTED_MODE_T])
  96360. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PROMOTED_MODE_T$])
  96361. +m4trace:configure.ac:104: -1- AH_OUTPUT([PROMOTED_MODE_T], [/* Define to the type that is the result of default argument promotions of
  96362. + type mode_t. */
  96363. +@%:@undef PROMOTED_MODE_T])
  96364. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define to 1 if you have the `lstat\' function. */
  96365. +@%:@undef HAVE_LSTAT])
  96366. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([OPEN_TRAILING_SLASH_BUG])
  96367. +m4trace:configure.ac:104: -1- m4_pattern_allow([^OPEN_TRAILING_SLASH_BUG$])
  96368. +m4trace:configure.ac:104: -1- AH_OUTPUT([OPEN_TRAILING_SLASH_BUG], [/* Define to 1 if open() fails to recognize a trailing slash. */
  96369. +@%:@undef OPEN_TRAILING_SLASH_BUG])
  96370. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_OPEN])
  96371. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_OPEN$])
  96372. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_OPEN], [/* Define to 1 when the gnulib module open should be tested. */
  96373. +@%:@undef GNULIB_TEST_OPEN])
  96374. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_PATHCONF], [/* Define to 1 if you have the `pathconf\' function. */
  96375. +@%:@undef HAVE_PATHCONF])
  96376. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
  96377. +@%:@undef HAVE_SYS_PARAM_H])
  96378. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_PIPE2], [/* Define to 1 if you have the `pipe2\' function. */
  96379. +@%:@undef HAVE_PIPE2])
  96380. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_PIPE2])
  96381. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_PIPE2$])
  96382. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_PIPE2], [/* Define to 1 when the gnulib module pipe2 should be tested. */
  96383. +@%:@undef GNULIB_TEST_PIPE2])
  96384. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_PIPE2_SAFER])
  96385. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_PIPE2_SAFER$])
  96386. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_PIPE2_SAFER], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  96387. + whether the gnulib module pipe2-safer shall be considered present. */
  96388. +@%:@undef GNULIB_PIPE2_SAFER])
  96389. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWN])
  96390. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWN])
  96391. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN$])
  96392. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNP])
  96393. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNP])
  96394. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNP$])
  96395. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT])
  96396. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT])
  96397. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT$])
  96398. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE])
  96399. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE])
  96400. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE$])
  96401. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2])
  96402. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2])
  96403. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2$])
  96404. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN])
  96405. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN])
  96406. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN$])
  96407. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY])
  96408. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY])
  96409. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY$])
  96410. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_INIT])
  96411. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_INIT])
  96412. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_INIT$])
  96413. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETFLAGS])
  96414. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_GETFLAGS])
  96415. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETFLAGS$])
  96416. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETFLAGS])
  96417. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_SETFLAGS])
  96418. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETFLAGS$])
  96419. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETPGROUP])
  96420. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_GETPGROUP])
  96421. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETPGROUP$])
  96422. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETPGROUP])
  96423. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_SETPGROUP])
  96424. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETPGROUP$])
  96425. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM])
  96426. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM])
  96427. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM$])
  96428. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM])
  96429. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM])
  96430. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM$])
  96431. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY])
  96432. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY])
  96433. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY$])
  96434. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY])
  96435. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY])
  96436. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY$])
  96437. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT])
  96438. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT])
  96439. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT$])
  96440. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT])
  96441. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT])
  96442. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT$])
  96443. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_GETSIGMASK])
  96444. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_GETSIGMASK])
  96445. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_GETSIGMASK$])
  96446. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_SETSIGMASK])
  96447. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_SETSIGMASK])
  96448. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_SETSIGMASK$])
  96449. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_POSIX_SPAWNATTR_DESTROY])
  96450. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_POSIX_SPAWNATTR_DESTROY])
  96451. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_POSIX_SPAWNATTR_DESTROY$])
  96452. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_POSIX_SPAWN])
  96453. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_POSIX_SPAWN])
  96454. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWN$])
  96455. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_POSIX_SPAWNATTR_T])
  96456. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_POSIX_SPAWNATTR_T])
  96457. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWNATTR_T$])
  96458. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_POSIX_SPAWN_FILE_ACTIONS_T])
  96459. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_POSIX_SPAWN_FILE_ACTIONS_T])
  96460. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWN_FILE_ACTIONS_T$])
  96461. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_POSIX_SPAWN])
  96462. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_POSIX_SPAWN])
  96463. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_POSIX_SPAWN$])
  96464. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_POSIX_SPAWN], [/* Define to 1 if you have the `posix_spawn\' function. */
  96465. +@%:@undef HAVE_POSIX_SPAWN])
  96466. +m4trace:configure.ac:104: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
  96467. +../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
  96468. +../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
  96469. +../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
  96470. +m4/posix_spawn.m4:84: gl_POSIX_SPAWN_WORKS is expanded from...
  96471. +m4/posix_spawn.m4:13: gl_POSIX_SPAWN_BODY is expanded from...
  96472. +m4/posix_spawn.m4:8: gl_POSIX_SPAWN is expanded from...
  96473. +m4/gnulib-comp.m4:377: M4_INIT is expanded from...
  96474. +configure.ac:104: the top level])
  96475. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE])
  96476. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE$])
  96477. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE], [/* Define to 1 when the gnulib module posix_spawn_file_actions_addclose should
  96478. + be tested. */
  96479. +@%:@undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE])
  96480. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2])
  96481. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2$])
  96482. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2], [/* Define to 1 when the gnulib module posix_spawn_file_actions_adddup2 should
  96483. + be tested. */
  96484. +@%:@undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2])
  96485. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN])
  96486. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN$])
  96487. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN], [/* Define to 1 when the gnulib module posix_spawn_file_actions_addopen should
  96488. + be tested. */
  96489. +@%:@undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN])
  96490. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY])
  96491. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY$])
  96492. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY], [/* Define to 1 when the gnulib module posix_spawn_file_actions_destroy should
  96493. + be tested. */
  96494. +@%:@undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY])
  96495. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT])
  96496. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT$])
  96497. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT], [/* Define to 1 when the gnulib module posix_spawn_file_actions_init should be
  96498. + tested. */
  96499. +@%:@undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT])
  96500. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWNATTR_DESTROY])
  96501. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNATTR_DESTROY$])
  96502. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWNATTR_DESTROY], [/* Define to 1 when the gnulib module posix_spawnattr_destroy should be
  96503. + tested. */
  96504. +@%:@undef GNULIB_TEST_POSIX_SPAWNATTR_DESTROY])
  96505. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWNATTR_INIT])
  96506. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNATTR_INIT$])
  96507. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWNATTR_INIT], [/* Define to 1 when the gnulib module posix_spawnattr_init should be tested.
  96508. + */
  96509. +@%:@undef GNULIB_TEST_POSIX_SPAWNATTR_INIT])
  96510. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS])
  96511. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS$])
  96512. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS], [/* Define to 1 when the gnulib module posix_spawnattr_setflags should be
  96513. + tested. */
  96514. +@%:@undef GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS])
  96515. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK])
  96516. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK$])
  96517. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK], [/* Define to 1 when the gnulib module posix_spawnattr_setsigmask should be
  96518. + tested. */
  96519. +@%:@undef GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK])
  96520. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_PATHS_H], [/* Define to 1 if you have the <paths.h> header file. */
  96521. +@%:@undef HAVE_PATHS_H])
  96522. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PATHS_H])
  96523. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_PATHS_H$])
  96524. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_CONFSTR], [/* Define to 1 if you have the `confstr\' function. */
  96525. +@%:@undef HAVE_CONFSTR])
  96526. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SCHED_SETPARAM], [/* Define to 1 if you have the `sched_setparam\' function. */
  96527. +@%:@undef HAVE_SCHED_SETPARAM])
  96528. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SCHED_SETSCHEDULER], [/* Define to 1 if you have the `sched_setscheduler\' function. */
  96529. +@%:@undef HAVE_SCHED_SETSCHEDULER])
  96530. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SETEGID], [/* Define to 1 if you have the `setegid\' function. */
  96531. +@%:@undef HAVE_SETEGID])
  96532. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SETEUID], [/* Define to 1 if you have the `seteuid\' function. */
  96533. +@%:@undef HAVE_SETEUID])
  96534. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_VFORK], [/* Define to 1 if you have the `vfork\' function. */
  96535. +@%:@undef HAVE_VFORK])
  96536. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_POSIX_SPAWNP])
  96537. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_POSIX_SPAWNP$])
  96538. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_POSIX_SPAWNP], [/* Define to 1 when the gnulib module posix_spawnp should be tested. */
  96539. +@%:@undef GNULIB_TEST_POSIX_SPAWNP])
  96540. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREXP_IN_LIBC])
  96541. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FREXP_IN_LIBC$])
  96542. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FREXP_IN_LIBC], [/* Define if the frexp function is available in libc. */
  96543. +@%:@undef HAVE_FREXP_IN_LIBC])
  96544. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDEXP_IN_LIBC])
  96545. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LDEXP_IN_LIBC$])
  96546. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LDEXP_IN_LIBC], [/* Define if the ldexp function is available in libc. */
  96547. +@%:@undef HAVE_LDEXP_IN_LIBC])
  96548. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FREXPL_IN_LIBC])
  96549. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FREXPL_IN_LIBC$])
  96550. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FREXPL_IN_LIBC], [/* Define if the frexpl function is available in libc. */
  96551. +@%:@undef HAVE_FREXPL_IN_LIBC])
  96552. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDEXPL_IN_LIBC])
  96553. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LDEXPL_IN_LIBC$])
  96554. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LDEXPL_IN_LIBC], [/* Define if the ldexpl function is available in libc. */
  96555. +@%:@undef HAVE_LDEXPL_IN_LIBC])
  96556. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PROGRAM_INVOCATION_NAME])
  96557. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_NAME$])
  96558. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_PROGRAM_INVOCATION_NAME], [/* Define to 1 if you have the declaration of `program_invocation_name\', and
  96559. + to 0 if you don\'t. */
  96560. +@%:@undef HAVE_DECL_PROGRAM_INVOCATION_NAME])
  96561. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME])
  96562. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME$])
  96563. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME], [/* Define to 1 if you have the declaration of `program_invocation_short_name\',
  96564. + and to 0 if you don\'t. */
  96565. +@%:@undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME])
  96566. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_RAWMEMCHR], [/* Define to 1 if you have the `rawmemchr\' function. */
  96567. +@%:@undef HAVE_RAWMEMCHR])
  96568. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_RAWMEMCHR])
  96569. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_RAWMEMCHR$])
  96570. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_RAWMEMCHR])
  96571. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_RAWMEMCHR$])
  96572. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_RAWMEMCHR], [/* Define to 1 when the gnulib module rawmemchr should be tested. */
  96573. +@%:@undef GNULIB_TEST_RAWMEMCHR])
  96574. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_READLINK], [/* Define to 1 if you have the `readlink\' function. */
  96575. +@%:@undef HAVE_READLINK])
  96576. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([READLINK_TRAILING_SLASH_BUG])
  96577. +m4trace:configure.ac:104: -1- m4_pattern_allow([^READLINK_TRAILING_SLASH_BUG$])
  96578. +m4trace:configure.ac:104: -1- AH_OUTPUT([READLINK_TRAILING_SLASH_BUG], [/* Define to 1 if readlink fails to recognize a trailing slash. */
  96579. +@%:@undef READLINK_TRAILING_SLASH_BUG])
  96580. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_READLINK])
  96581. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_READLINK$])
  96582. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_READLINK], [/* Define to 1 when the gnulib module readlink should be tested. */
  96583. +@%:@undef GNULIB_TEST_READLINK])
  96584. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([_REGEX_LARGE_OFFSETS])
  96585. +m4trace:configure.ac:104: -1- m4_pattern_allow([^_REGEX_LARGE_OFFSETS$])
  96586. +m4trace:configure.ac:104: -1- AH_OUTPUT([_REGEX_LARGE_OFFSETS], [/* Define if you want regoff_t to be at least as wide POSIX requires. */
  96587. +@%:@undef _REGEX_LARGE_OFFSETS])
  96588. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_syntax_options])
  96589. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_syntax_options$])
  96590. +m4trace:configure.ac:104: -1- AH_OUTPUT([re_syntax_options], [/* Define to rpl_re_syntax_options if the replacement should be used. */
  96591. +@%:@undef re_syntax_options])
  96592. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_set_syntax])
  96593. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_set_syntax$])
  96594. +m4trace:configure.ac:104: -1- AH_OUTPUT([re_set_syntax], [/* Define to rpl_re_set_syntax if the replacement should be used. */
  96595. +@%:@undef re_set_syntax])
  96596. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_compile_pattern])
  96597. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_compile_pattern$])
  96598. +m4trace:configure.ac:104: -1- AH_OUTPUT([re_compile_pattern], [/* Define to rpl_re_compile_pattern if the replacement should be used. */
  96599. +@%:@undef re_compile_pattern])
  96600. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_compile_fastmap])
  96601. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_compile_fastmap$])
  96602. +m4trace:configure.ac:104: -1- AH_OUTPUT([re_compile_fastmap], [/* Define to rpl_re_compile_fastmap if the replacement should be used. */
  96603. +@%:@undef re_compile_fastmap])
  96604. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_search])
  96605. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_search$])
  96606. +m4trace:configure.ac:104: -1- AH_OUTPUT([re_search], [/* Define to rpl_re_search if the replacement should be used. */
  96607. +@%:@undef re_search])
  96608. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_search_2])
  96609. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_search_2$])
  96610. +m4trace:configure.ac:104: -1- AH_OUTPUT([re_search_2], [/* Define to rpl_re_search_2 if the replacement should be used. */
  96611. +@%:@undef re_search_2])
  96612. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_match])
  96613. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_match$])
  96614. +m4trace:configure.ac:104: -1- AH_OUTPUT([re_match], [/* Define to rpl_re_match if the replacement should be used. */
  96615. +@%:@undef re_match])
  96616. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_match_2])
  96617. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_match_2$])
  96618. +m4trace:configure.ac:104: -1- AH_OUTPUT([re_match_2], [/* Define to rpl_re_match_2 if the replacement should be used. */
  96619. +@%:@undef re_match_2])
  96620. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_set_registers])
  96621. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_set_registers$])
  96622. +m4trace:configure.ac:104: -1- AH_OUTPUT([re_set_registers], [/* Define to rpl_re_set_registers if the replacement should be used. */
  96623. +@%:@undef re_set_registers])
  96624. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_comp])
  96625. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_comp$])
  96626. +m4trace:configure.ac:104: -1- AH_OUTPUT([re_comp], [/* Define to rpl_re_comp if the replacement should be used. */
  96627. +@%:@undef re_comp])
  96628. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([re_exec])
  96629. +m4trace:configure.ac:104: -1- m4_pattern_allow([^re_exec$])
  96630. +m4trace:configure.ac:104: -1- AH_OUTPUT([re_exec], [/* Define to rpl_re_exec if the replacement should be used. */
  96631. +@%:@undef re_exec])
  96632. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([regcomp])
  96633. +m4trace:configure.ac:104: -1- m4_pattern_allow([^regcomp$])
  96634. +m4trace:configure.ac:104: -1- AH_OUTPUT([regcomp], [/* Define to rpl_regcomp if the replacement should be used. */
  96635. +@%:@undef regcomp])
  96636. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([regexec])
  96637. +m4trace:configure.ac:104: -1- m4_pattern_allow([^regexec$])
  96638. +m4trace:configure.ac:104: -1- AH_OUTPUT([regexec], [/* Define to rpl_regexec if the replacement should be used. */
  96639. +@%:@undef regexec])
  96640. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([regerror])
  96641. +m4trace:configure.ac:104: -1- m4_pattern_allow([^regerror$])
  96642. +m4trace:configure.ac:104: -1- AH_OUTPUT([regerror], [/* Define to rpl_regerror if the replacement should be used. */
  96643. +@%:@undef regerror])
  96644. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([regfree])
  96645. +m4trace:configure.ac:104: -1- m4_pattern_allow([^regfree$])
  96646. +m4trace:configure.ac:104: -1- AH_OUTPUT([regfree], [/* Define to rpl_regfree if the replacement should be used. */
  96647. +@%:@undef regfree])
  96648. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LIBINTL_H], [/* Define to 1 if you have the <libintl.h> header file. */
  96649. +@%:@undef HAVE_LIBINTL_H])
  96650. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBINTL_H])
  96651. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LIBINTL_H$])
  96652. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ISBLANK], [/* Define to 1 if you have the `isblank\' function. */
  96653. +@%:@undef HAVE_ISBLANK])
  96654. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ISWCTYPE], [/* Define to 1 if you have the `iswctype\' function. */
  96655. +@%:@undef HAVE_ISWCTYPE])
  96656. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCSCOLL], [/* Define to 1 if you have the `wcscoll\' function. */
  96657. +@%:@undef HAVE_WCSCOLL])
  96658. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_ISBLANK])
  96659. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ISBLANK$])
  96660. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_ISBLANK], [/* Define to 1 if you have the declaration of `isblank\', and to 0 if you
  96661. + don\'t. */
  96662. +@%:@undef HAVE_DECL_ISBLANK])
  96663. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define to 1 if you have the `lstat\' function. */
  96664. +@%:@undef HAVE_LSTAT])
  96665. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([RENAME_TRAILING_SLASH_DEST_BUG])
  96666. +m4trace:configure.ac:104: -1- m4_pattern_allow([^RENAME_TRAILING_SLASH_DEST_BUG$])
  96667. +m4trace:configure.ac:104: -1- AH_OUTPUT([RENAME_TRAILING_SLASH_DEST_BUG], [/* Define if rename does not correctly handle slashes on the destination
  96668. + argument, such as on Solaris 10 or NetBSD 1.6. */
  96669. +@%:@undef RENAME_TRAILING_SLASH_DEST_BUG])
  96670. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([RENAME_TRAILING_SLASH_SOURCE_BUG])
  96671. +m4trace:configure.ac:104: -1- m4_pattern_allow([^RENAME_TRAILING_SLASH_SOURCE_BUG$])
  96672. +m4trace:configure.ac:104: -1- AH_OUTPUT([RENAME_TRAILING_SLASH_SOURCE_BUG], [/* Define if rename does not correctly handle slashes on the source argument,
  96673. + such as on Solaris 9 or cygwin 1.5. */
  96674. +@%:@undef RENAME_TRAILING_SLASH_SOURCE_BUG])
  96675. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([RENAME_HARD_LINK_BUG])
  96676. +m4trace:configure.ac:104: -1- m4_pattern_allow([^RENAME_HARD_LINK_BUG$])
  96677. +m4trace:configure.ac:104: -1- AH_OUTPUT([RENAME_HARD_LINK_BUG], [/* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or
  96678. + Cygwin 1.5. */
  96679. +@%:@undef RENAME_HARD_LINK_BUG])
  96680. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([RENAME_DEST_EXISTS_BUG])
  96681. +m4trace:configure.ac:104: -1- m4_pattern_allow([^RENAME_DEST_EXISTS_BUG$])
  96682. +m4trace:configure.ac:104: -1- AH_OUTPUT([RENAME_DEST_EXISTS_BUG], [/* Define if rename does not work when the destination file exists, as on
  96683. + Cygwin 1.5 or Windows. */
  96684. +@%:@undef RENAME_DEST_EXISTS_BUG])
  96685. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_RENAME])
  96686. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_RENAME$])
  96687. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_RENAME], [/* Define to 1 when the gnulib module rename should be tested. */
  96688. +@%:@undef GNULIB_TEST_RENAME])
  96689. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_RMDIR])
  96690. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_RMDIR$])
  96691. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_RMDIR], [/* Define to 1 when the gnulib module rmdir should be tested. */
  96692. +@%:@undef GNULIB_TEST_RMDIR])
  96693. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SCHED_H], [/* Define to 1 if you have the <sched.h> header file. */
  96694. +@%:@undef HAVE_SCHED_H])
  96695. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_SCHED_H], [AS_VAR_GET([gl_next_header])])
  96696. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_SCHED_H])
  96697. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SCHED_H$])
  96698. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SCHED_H], [$gl_next_as_first_directive])
  96699. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SCHED_H])
  96700. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SCHED_H$])
  96701. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SCHED_H])
  96702. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SCHED_H])
  96703. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SCHED_H$])
  96704. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRUCT_SCHED_PARAM])
  96705. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRUCT_SCHED_PARAM])
  96706. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_SCHED_PARAM$])
  96707. +m4trace:configure.ac:104: -1- AC_SUBST([SCHED_H])
  96708. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([SCHED_H])
  96709. +m4trace:configure.ac:104: -1- m4_pattern_allow([^SCHED_H$])
  96710. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SIGNAL_H_SIGPIPE])
  96711. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SIGNAL_H_SIGPIPE])
  96712. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SIGNAL_H_SIGPIPE$])
  96713. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SIGPROCMASK])
  96714. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SIGPROCMASK])
  96715. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SIGPROCMASK$])
  96716. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SIGACTION])
  96717. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SIGACTION])
  96718. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SIGACTION$])
  96719. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_POSIX_SIGNALBLOCKING])
  96720. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_POSIX_SIGNALBLOCKING])
  96721. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SIGNALBLOCKING$])
  96722. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SIGSET_T])
  96723. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SIGSET_T])
  96724. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGSET_T$])
  96725. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SIGINFO_T])
  96726. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SIGINFO_T])
  96727. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGINFO_T$])
  96728. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SIGACTION])
  96729. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SIGACTION])
  96730. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGACTION$])
  96731. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRUCT_SIGACTION_SA_SIGACTION])
  96732. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRUCT_SIGACTION_SA_SIGACTION])
  96733. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_SIGACTION_SA_SIGACTION$])
  96734. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_TYPE_VOLATILE_SIG_ATOMIC_T])
  96735. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_TYPE_VOLATILE_SIG_ATOMIC_T])
  96736. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_TYPE_VOLATILE_SIG_ATOMIC_T$])
  96737. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGACTION], [/* Define to 1 if you have the `sigaction\' function. */
  96738. +@%:@undef HAVE_SIGACTION])
  96739. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRUCT_SIGACTION_SA_SIGACTION])
  96740. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRUCT_SIGACTION_SA_SIGACTION$])
  96741. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STRUCT_SIGACTION_SA_SIGACTION], [/* Define to 1 if `sa_sigaction\' is a member of `struct sigaction\'. */
  96742. +@%:@undef HAVE_STRUCT_SIGACTION_SA_SIGACTION])
  96743. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([uid_t])
  96744. +m4trace:configure.ac:104: -1- m4_pattern_allow([^uid_t$])
  96745. +m4trace:configure.ac:104: -1- AH_OUTPUT([uid_t], [/* Define to `int\' if <sys/types.h> doesn\'t define. */
  96746. +@%:@undef uid_t])
  96747. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([gid_t])
  96748. +m4trace:configure.ac:104: -1- m4_pattern_allow([^gid_t$])
  96749. +m4trace:configure.ac:104: -1- AH_OUTPUT([gid_t], [/* Define to `int\' if <sys/types.h> doesn\'t define. */
  96750. +@%:@undef gid_t])
  96751. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGALTSTACK], [/* Define to 1 if you have the `sigaltstack\' function. */
  96752. +@%:@undef HAVE_SIGALTSTACK])
  96753. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGINTERRUPT], [/* Define to 1 if you have the `siginterrupt\' function. */
  96754. +@%:@undef HAVE_SIGINTERRUPT])
  96755. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGINFO_T])
  96756. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGINFO_T$])
  96757. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGINFO_T], [/* Define to 1 if the system has the type `siginfo_t\'. */
  96758. +@%:@undef HAVE_SIGINFO_T])
  96759. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SIGACTION])
  96760. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SIGACTION$])
  96761. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_SIGACTION], [/* Define to 1 when the gnulib module sigaction should be tested. */
  96762. +@%:@undef GNULIB_TEST_SIGACTION])
  96763. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_SIGNAL_H], [AS_VAR_GET([gl_next_header])])
  96764. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_SIGNAL_H])
  96765. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SIGNAL_H$])
  96766. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H], [$gl_next_as_first_directive])
  96767. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H])
  96768. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H$])
  96769. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FLT_SIGNBIT_WORD])
  96770. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_SIGNBIT_WORD$])
  96771. +m4trace:configure.ac:104: -1- AH_OUTPUT([FLT_SIGNBIT_WORD], [/* Define as the word index where to find the sign of \'float\'. */
  96772. +@%:@undef FLT_SIGNBIT_WORD])
  96773. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FLT_SIGNBIT_BIT])
  96774. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_SIGNBIT_BIT$])
  96775. +m4trace:configure.ac:104: -1- AH_OUTPUT([FLT_SIGNBIT_BIT], [/* Define as the bit index in the word where to find the sign of \'float\'. */
  96776. +@%:@undef FLT_SIGNBIT_BIT])
  96777. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([DBL_SIGNBIT_WORD])
  96778. +m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_SIGNBIT_WORD$])
  96779. +m4trace:configure.ac:104: -1- AH_OUTPUT([DBL_SIGNBIT_WORD], [/* Define as the word index where to find the sign of \'double\'. */
  96780. +@%:@undef DBL_SIGNBIT_WORD])
  96781. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([DBL_SIGNBIT_BIT])
  96782. +m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_SIGNBIT_BIT$])
  96783. +m4trace:configure.ac:104: -1- AH_OUTPUT([DBL_SIGNBIT_BIT], [/* Define as the bit index in the word where to find the sign of \'double\'. */
  96784. +@%:@undef DBL_SIGNBIT_BIT])
  96785. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([LDBL_SIGNBIT_WORD])
  96786. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_SIGNBIT_WORD$])
  96787. +m4trace:configure.ac:104: -1- AH_OUTPUT([LDBL_SIGNBIT_WORD], [/* Define as the word index where to find the sign of \'long double\'. */
  96788. +@%:@undef LDBL_SIGNBIT_WORD])
  96789. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([LDBL_SIGNBIT_BIT])
  96790. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_SIGNBIT_BIT$])
  96791. +m4trace:configure.ac:104: -1- AH_OUTPUT([LDBL_SIGNBIT_BIT], [/* Define as the bit index in the word where to find the sign of \'long
  96792. + double\'. */
  96793. +@%:@undef LDBL_SIGNBIT_BIT])
  96794. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_COPYSIGNF])
  96795. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGNF$])
  96796. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_COPYSIGNF], [/* Define to 1 if you have the declaration of `copysignf\', and to 0 if you
  96797. + don\'t. */
  96798. +@%:@undef HAVE_DECL_COPYSIGNF])
  96799. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_COPYSIGNF_IN_LIBC])
  96800. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_COPYSIGNF_IN_LIBC$])
  96801. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_COPYSIGNF_IN_LIBC], [/* Define if the copysignf function is declared in <math.h> and available in
  96802. + libc. */
  96803. +@%:@undef HAVE_COPYSIGNF_IN_LIBC])
  96804. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_COPYSIGN])
  96805. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGN$])
  96806. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_COPYSIGN], [/* Define to 1 if you have the declaration of `copysign\', and to 0 if you
  96807. + don\'t. */
  96808. +@%:@undef HAVE_DECL_COPYSIGN])
  96809. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_COPYSIGN_IN_LIBC])
  96810. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_COPYSIGN_IN_LIBC$])
  96811. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_COPYSIGN_IN_LIBC], [/* Define if the copysign function is declared in <math.h> and available in
  96812. + libc. */
  96813. +@%:@undef HAVE_COPYSIGN_IN_LIBC])
  96814. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_COPYSIGNL])
  96815. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_COPYSIGNL$])
  96816. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_COPYSIGNL], [/* Define to 1 if you have the declaration of `copysignl\', and to 0 if you
  96817. + don\'t. */
  96818. +@%:@undef HAVE_DECL_COPYSIGNL])
  96819. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_COPYSIGNL_IN_LIBC])
  96820. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_COPYSIGNL_IN_LIBC$])
  96821. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_COPYSIGNL_IN_LIBC], [/* Define if the copysignl function is declared in <math.h> and available in
  96822. + libc. */
  96823. +@%:@undef HAVE_COPYSIGNL_IN_LIBC])
  96824. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SIGNBIT])
  96825. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SIGNBIT$])
  96826. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_SIGNBIT], [/* Define to 1 when the gnulib module signbit should be tested. */
  96827. +@%:@undef GNULIB_TEST_SIGNBIT])
  96828. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SIGSET_T])
  96829. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGSET_T$])
  96830. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGSET_T], [/* Define to 1 if the system has the type `sigset_t\'. */
  96831. +@%:@undef HAVE_SIGSET_T])
  96832. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SIGSET_T])
  96833. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SIGSET_T])
  96834. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGSET_T$])
  96835. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SIGPROCMASK])
  96836. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SIGPROCMASK$])
  96837. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_SIGPROCMASK], [/* Define to 1 when the gnulib module sigprocmask should be tested. */
  96838. +@%:@undef GNULIB_TEST_SIGPROCMASK])
  96839. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
  96840. +@%:@undef HAVE_STDINT_H])
  96841. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H])
  96842. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDINT_H$])
  96843. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([SIZE_MAX])
  96844. +m4trace:configure.ac:104: -1- m4_pattern_allow([^SIZE_MAX$])
  96845. +m4trace:configure.ac:104: -1- AH_OUTPUT([SIZE_MAX], [/* Define as the maximum value of type \'size_t\', if the system doesn\'t define
  96846. + it. */
  96847. +@%:@undef SIZE_MAX])
  96848. +m4trace:configure.ac:104: -1- AH_OUTPUT([SIZE_MAX], [/* Define as the maximum value of type \'size_t\', if the system doesn\'t define
  96849. + it. */
  96850. +#ifndef SIZE_MAX
  96851. +# undef SIZE_MAX
  96852. +#endif])
  96853. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the `snprintf\' function. */
  96854. +@%:@undef HAVE_SNPRINTF])
  96855. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SNPRINTF])
  96856. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SNPRINTF$])
  96857. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_SNPRINTF])
  96858. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SNPRINTF$])
  96859. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_SNPRINTF], [/* Define to 1 if you have the declaration of `snprintf\', and to 0 if you
  96860. + don\'t. */
  96861. +@%:@undef HAVE_DECL_SNPRINTF])
  96862. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SNPRINTF])
  96863. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SNPRINTF$])
  96864. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_SNPRINTF], [/* Define to 1 when the gnulib module snprintf should be tested. */
  96865. +@%:@undef GNULIB_TEST_SNPRINTF])
  96866. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_SNPRINTF])
  96867. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SNPRINTF$])
  96868. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_SNPRINTF], [/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  96869. + whether the gnulib module snprintf shall be considered present. */
  96870. +@%:@undef GNULIB_SNPRINTF])
  96871. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SPAWN_H], [/* Define to 1 if you have the <spawn.h> header file. */
  96872. +@%:@undef HAVE_SPAWN_H])
  96873. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_SPAWN_H], [AS_VAR_GET([gl_next_header])])
  96874. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_SPAWN_H])
  96875. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SPAWN_H$])
  96876. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SPAWN_H], [$gl_next_as_first_directive])
  96877. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SPAWN_H])
  96878. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SPAWN_H$])
  96879. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POSIX_SPAWNATTR_T])
  96880. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWNATTR_T$])
  96881. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_POSIX_SPAWNATTR_T], [/* Define to 1 if the system has the type `posix_spawnattr_t\'. */
  96882. +@%:@undef HAVE_POSIX_SPAWNATTR_T])
  96883. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_POSIX_SPAWN_FILE_ACTIONS_T])
  96884. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_POSIX_SPAWN_FILE_ACTIONS_T$])
  96885. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_POSIX_SPAWN_FILE_ACTIONS_T], [/* Define to 1 if the system has the type `posix_spawn_file_actions_t\'. */
  96886. +@%:@undef HAVE_POSIX_SPAWN_FILE_ACTIONS_T])
  96887. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SPAWN_H])
  96888. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SPAWN_H])
  96889. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SPAWN_H$])
  96890. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([ssize_t])
  96891. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ssize_t$])
  96892. +m4trace:configure.ac:104: -1- AH_OUTPUT([ssize_t], [/* Define as a signed type of the same size as size_t. */
  96893. +@%:@undef ssize_t])
  96894. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LSTAT], [/* Define to 1 if you have the `lstat\' function. */
  96895. +@%:@undef HAVE_LSTAT])
  96896. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_FUNC_STAT_DIR])
  96897. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FUNC_STAT_DIR$])
  96898. +m4trace:configure.ac:104: -1- AH_OUTPUT([REPLACE_FUNC_STAT_DIR], [/* Define to 1 if stat needs help when passed a directory name with a trailing
  96899. + slash */
  96900. +@%:@undef REPLACE_FUNC_STAT_DIR])
  96901. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_FUNC_STAT_FILE])
  96902. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_FUNC_STAT_FILE$])
  96903. +m4trace:configure.ac:104: -1- AH_OUTPUT([REPLACE_FUNC_STAT_FILE], [/* Define to 1 if stat needs help when passed a file name with a trailing
  96904. + slash */
  96905. +@%:@undef REPLACE_FUNC_STAT_FILE])
  96906. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STAT])
  96907. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STAT$])
  96908. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STAT], [/* Define to 1 when the gnulib module stat should be tested. */
  96909. +@%:@undef GNULIB_TEST_STAT])
  96910. +m4trace:configure.ac:104: -1- AC_SUBST([STDARG_H])
  96911. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([STDARG_H])
  96912. +m4trace:configure.ac:104: -1- m4_pattern_allow([^STDARG_H$])
  96913. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_STDARG_H])
  96914. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_STDARG_H])
  96915. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDARG_H$])
  96916. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_STDARG_H], [AS_VAR_GET([gl_next_header])])
  96917. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_STDARG_H])
  96918. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDARG_H$])
  96919. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDARG_H], [$gl_next_as_first_directive])
  96920. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDARG_H])
  96921. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDARG_H$])
  96922. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([va_copy])
  96923. +m4trace:configure.ac:104: -1- m4_pattern_allow([^va_copy$])
  96924. +m4trace:configure.ac:104: -1- AH_OUTPUT([va_copy], [/* Define as a macro for copying va_list variables. */
  96925. +@%:@undef va_copy])
  96926. +m4trace:configure.ac:104: -1- AH_OUTPUT([gl_VA_COPY], [/* A replacement for va_copy, if needed. */
  96927. +#define gl_va_copy(a,b) ((a) = (b))])
  96928. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([va_copy])
  96929. +m4trace:configure.ac:104: -1- m4_pattern_allow([^va_copy$])
  96930. +m4trace:configure.ac:104: -1- AH_OUTPUT([va_copy], [/* Define as a macro for copying va_list variables. */
  96931. +@%:@undef va_copy])
  96932. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
  96933. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__BOOL$])
  96934. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
  96935. +@%:@undef HAVE__BOOL])
  96936. +m4trace:configure.ac:104: -1- AC_SUBST([STDBOOL_H])
  96937. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([STDBOOL_H])
  96938. +m4trace:configure.ac:104: -1- m4_pattern_allow([^STDBOOL_H$])
  96939. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE__BOOL])
  96940. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE__BOOL])
  96941. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE__BOOL$])
  96942. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_NULL])
  96943. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_NULL])
  96944. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NULL$])
  96945. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCHAR_T])
  96946. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCHAR_T])
  96947. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_T$])
  96948. +m4trace:configure.ac:104: -1- AC_SUBST([STDDEF_H])
  96949. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([STDDEF_H])
  96950. +m4trace:configure.ac:104: -1- m4_pattern_allow([^STDDEF_H$])
  96951. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WCHAR_T])
  96952. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_T$])
  96953. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCHAR_T], [/* Define if you have the \'wchar_t\' type. */
  96954. +@%:@undef HAVE_WCHAR_T])
  96955. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_STDDEF_H], [AS_VAR_GET([gl_next_header])])
  96956. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_STDDEF_H])
  96957. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDDEF_H$])
  96958. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDDEF_H], [$gl_next_as_first_directive])
  96959. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDDEF_H])
  96960. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDDEF_H$])
  96961. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_LONG_LONG_INT])
  96962. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_LONG_LONG_INT])
  96963. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$])
  96964. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_UNSIGNED_LONG_LONG_INT])
  96965. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_UNSIGNED_LONG_LONG_INT])
  96966. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$])
  96967. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCHAR_H], [/* Define to 1 if you have the <wchar.h> header file. */
  96968. +@%:@undef HAVE_WCHAR_H])
  96969. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCHAR_H])
  96970. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCHAR_H])
  96971. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_H$])
  96972. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_INTTYPES_H])
  96973. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_INTTYPES_H])
  96974. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_INTTYPES_H$])
  96975. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SYS_TYPES_H])
  96976. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SYS_TYPES_H])
  96977. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$])
  96978. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
  96979. +@%:@undef HAVE_STDINT_H])
  96980. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_STDINT_H], [AS_VAR_GET([gl_next_header])])
  96981. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_STDINT_H])
  96982. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDINT_H$])
  96983. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDINT_H], [$gl_next_as_first_directive])
  96984. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDINT_H])
  96985. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDINT_H$])
  96986. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STDINT_H])
  96987. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STDINT_H])
  96988. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDINT_H$])
  96989. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_INTTYPES_H], [/* Define to 1 if you have the <sys/inttypes.h> header file. */
  96990. +@%:@undef HAVE_SYS_INTTYPES_H])
  96991. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_BITYPES_H], [/* Define to 1 if you have the <sys/bitypes.h> header file. */
  96992. +@%:@undef HAVE_SYS_BITYPES_H])
  96993. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SYS_INTTYPES_H])
  96994. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SYS_INTTYPES_H])
  96995. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_INTTYPES_H$])
  96996. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SYS_BITYPES_H])
  96997. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SYS_BITYPES_H])
  96998. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_BITYPES_H$])
  96999. +m4trace:configure.ac:104: -1- AH_OUTPUT([BITSIZEOF_PTRDIFF_T], [/* Define to the number of bits in type \'ptrdiff_t\'. */
  97000. +@%:@undef BITSIZEOF_PTRDIFF_T])
  97001. +m4trace:configure.ac:104: -1- AH_OUTPUT([BITSIZEOF_SIZE_T], [/* Define to the number of bits in type \'size_t\'. */
  97002. +@%:@undef BITSIZEOF_SIZE_T])
  97003. +m4trace:configure.ac:104: -1- AC_SUBST([BITSIZEOF_PTRDIFF_T])
  97004. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([BITSIZEOF_PTRDIFF_T])
  97005. +m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_PTRDIFF_T$])
  97006. +m4trace:configure.ac:104: -1- AC_SUBST([BITSIZEOF_SIZE_T])
  97007. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([BITSIZEOF_SIZE_T])
  97008. +m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_SIZE_T$])
  97009. +m4trace:configure.ac:104: -1- AH_OUTPUT([BITSIZEOF_SIG_ATOMIC_T], [/* Define to the number of bits in type \'sig_atomic_t\'. */
  97010. +@%:@undef BITSIZEOF_SIG_ATOMIC_T])
  97011. +m4trace:configure.ac:104: -1- AH_OUTPUT([BITSIZEOF_WCHAR_T], [/* Define to the number of bits in type \'wchar_t\'. */
  97012. +@%:@undef BITSIZEOF_WCHAR_T])
  97013. +m4trace:configure.ac:104: -1- AH_OUTPUT([BITSIZEOF_WINT_T], [/* Define to the number of bits in type \'wint_t\'. */
  97014. +@%:@undef BITSIZEOF_WINT_T])
  97015. +m4trace:configure.ac:104: -1- AC_SUBST([BITSIZEOF_SIG_ATOMIC_T])
  97016. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([BITSIZEOF_SIG_ATOMIC_T])
  97017. +m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_SIG_ATOMIC_T$])
  97018. +m4trace:configure.ac:104: -1- AC_SUBST([BITSIZEOF_WCHAR_T])
  97019. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([BITSIZEOF_WCHAR_T])
  97020. +m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_WCHAR_T$])
  97021. +m4trace:configure.ac:104: -1- AC_SUBST([BITSIZEOF_WINT_T])
  97022. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([BITSIZEOF_WINT_T])
  97023. +m4trace:configure.ac:104: -1- m4_pattern_allow([^BITSIZEOF_WINT_T$])
  97024. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGNED_SIG_ATOMIC_T], [/* Define to 1 if \'sig_atomic_t\' is a signed integer type. */
  97025. +@%:@undef HAVE_SIGNED_SIG_ATOMIC_T])
  97026. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGNED_WCHAR_T], [/* Define to 1 if \'wchar_t\' is a signed integer type. */
  97027. +@%:@undef HAVE_SIGNED_WCHAR_T])
  97028. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SIGNED_WINT_T], [/* Define to 1 if \'wint_t\' is a signed integer type. */
  97029. +@%:@undef HAVE_SIGNED_WINT_T])
  97030. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SIGNED_SIG_ATOMIC_T])
  97031. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SIGNED_SIG_ATOMIC_T])
  97032. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGNED_SIG_ATOMIC_T$])
  97033. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SIGNED_WCHAR_T])
  97034. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SIGNED_WCHAR_T])
  97035. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGNED_WCHAR_T$])
  97036. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_SIGNED_WINT_T])
  97037. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_SIGNED_WINT_T])
  97038. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SIGNED_WINT_T$])
  97039. +m4trace:configure.ac:104: -1- AH_OUTPUT([PTRDIFF_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  97040. + \'ptrdiff_t\'. */
  97041. +@%:@undef PTRDIFF_T_SUFFIX])
  97042. +m4trace:configure.ac:104: -1- AH_OUTPUT([SIZE_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  97043. + \'size_t\'. */
  97044. +@%:@undef SIZE_T_SUFFIX])
  97045. +m4trace:configure.ac:104: -1- AC_SUBST([PTRDIFF_T_SUFFIX])
  97046. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([PTRDIFF_T_SUFFIX])
  97047. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PTRDIFF_T_SUFFIX$])
  97048. +m4trace:configure.ac:104: -1- AC_SUBST([SIZE_T_SUFFIX])
  97049. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([SIZE_T_SUFFIX])
  97050. +m4trace:configure.ac:104: -1- m4_pattern_allow([^SIZE_T_SUFFIX$])
  97051. +m4trace:configure.ac:104: -1- AH_OUTPUT([SIG_ATOMIC_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  97052. + \'sig_atomic_t\'. */
  97053. +@%:@undef SIG_ATOMIC_T_SUFFIX])
  97054. +m4trace:configure.ac:104: -1- AH_OUTPUT([WCHAR_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  97055. + \'wchar_t\'. */
  97056. +@%:@undef WCHAR_T_SUFFIX])
  97057. +m4trace:configure.ac:104: -1- AH_OUTPUT([WINT_T_SUFFIX], [/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  97058. + \'wint_t\'. */
  97059. +@%:@undef WINT_T_SUFFIX])
  97060. +m4trace:configure.ac:104: -1- AC_SUBST([SIG_ATOMIC_T_SUFFIX])
  97061. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([SIG_ATOMIC_T_SUFFIX])
  97062. +m4trace:configure.ac:104: -1- m4_pattern_allow([^SIG_ATOMIC_T_SUFFIX$])
  97063. +m4trace:configure.ac:104: -1- AC_SUBST([WCHAR_T_SUFFIX])
  97064. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([WCHAR_T_SUFFIX])
  97065. +m4trace:configure.ac:104: -1- m4_pattern_allow([^WCHAR_T_SUFFIX$])
  97066. +m4trace:configure.ac:104: -1- AC_SUBST([WINT_T_SUFFIX])
  97067. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([WINT_T_SUFFIX])
  97068. +m4trace:configure.ac:104: -1- m4_pattern_allow([^WINT_T_SUFFIX$])
  97069. +m4trace:configure.ac:104: -1- AC_SUBST([STDINT_H])
  97070. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([STDINT_H])
  97071. +m4trace:configure.ac:104: -1- m4_pattern_allow([^STDINT_H$])
  97072. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_STDIO_H], [AS_VAR_GET([gl_next_header])])
  97073. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_STDIO_H])
  97074. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDIO_H$])
  97075. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDIO_H], [$gl_next_as_first_directive])
  97076. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDIO_H])
  97077. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDIO_H$])
  97078. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_STDLIB_H], [AS_VAR_GET([gl_next_header])])
  97079. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_STDLIB_H])
  97080. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STDLIB_H$])
  97081. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STDLIB_H], [$gl_next_as_first_directive])
  97082. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STDLIB_H])
  97083. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STDLIB_H$])
  97084. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STRCHRNUL], [/* Define to 1 if you have the `strchrnul\' function. */
  97085. +@%:@undef HAVE_STRCHRNUL])
  97086. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRCHRNUL])
  97087. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRCHRNUL$])
  97088. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRCHRNUL])
  97089. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRCHRNUL$])
  97090. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STRCHRNUL], [/* Define to 1 when the gnulib module strchrnul should be tested. */
  97091. +@%:@undef GNULIB_TEST_STRCHRNUL])
  97092. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRERROR])
  97093. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRERROR$])
  97094. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_STRERROR], [/* Define to 1 if you have the declaration of `strerror\', and to 0 if you
  97095. + don\'t. */
  97096. +@%:@undef HAVE_DECL_STRERROR])
  97097. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
  97098. +@%:@undef HAVE_SYS_SOCKET_H])
  97099. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WINSOCK2_H], [/* Define to 1 if you have the <winsock2.h> header file. */
  97100. +@%:@undef HAVE_WINSOCK2_H])
  97101. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINSOCK2_H])
  97102. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINSOCK2_H$])
  97103. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_STRERROR])
  97104. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_STRERROR$])
  97105. +m4trace:configure.ac:104: -1- AH_OUTPUT([REPLACE_STRERROR], [/* Define this to 1 if strerror is broken. */
  97106. +@%:@undef REPLACE_STRERROR])
  97107. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRERROR])
  97108. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRERROR$])
  97109. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STRERROR], [/* Define to 1 when the gnulib module strerror should be tested. */
  97110. +@%:@undef GNULIB_TEST_STRERROR])
  97111. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_STRING_H], [AS_VAR_GET([gl_next_header])])
  97112. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_STRING_H])
  97113. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_STRING_H$])
  97114. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_STRING_H], [$gl_next_as_first_directive])
  97115. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_STRING_H])
  97116. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_STRING_H$])
  97117. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRNDUP])
  97118. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRNDUP$])
  97119. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_STRNDUP], [/* Define to 1 if you have the declaration of `strndup\', and to 0 if you
  97120. + don\'t. */
  97121. +@%:@undef HAVE_DECL_STRNDUP])
  97122. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STRNDUP], [/* Define to 1 if you have the `strndup\' function. */
  97123. +@%:@undef HAVE_STRNDUP])
  97124. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRNDUP])
  97125. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRNDUP$])
  97126. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STRNDUP], [/* Define to 1 when the gnulib module strndup should be tested. */
  97127. +@%:@undef GNULIB_TEST_STRNDUP])
  97128. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRNLEN])
  97129. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRNLEN$])
  97130. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_STRNLEN], [/* Define to 1 if you have the declaration of `strnlen\', and to 0 if you
  97131. + don\'t. */
  97132. +@%:@undef HAVE_DECL_STRNLEN])
  97133. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRNLEN])
  97134. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRNLEN$])
  97135. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STRNLEN], [/* Define to 1 when the gnulib module strnlen should be tested. */
  97136. +@%:@undef GNULIB_TEST_STRNLEN])
  97137. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRSIGNAL])
  97138. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRSIGNAL$])
  97139. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_STRSIGNAL], [/* Define to 1 if you have the declaration of `strsignal\', and to 0 if you
  97140. + don\'t. */
  97141. +@%:@undef HAVE_DECL_STRSIGNAL])
  97142. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STRSIGNAL], [/* Define to 1 if you have the `strsignal\' function. */
  97143. +@%:@undef HAVE_STRSIGNAL])
  97144. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRSIGNAL])
  97145. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRSIGNAL$])
  97146. +m4trace:configure.ac:104: -1- _m4_warn([obsolete], [The macro `AC_DECL_SYS_SIGLIST' is obsolete.
  97147. +You should run autoupdate.], [../../lib/autoconf/specific.m4:39: AC_DECL_SYS_SIGLIST is expanded from...
  97148. +m4/strsignal.m4:59: gl_PREREQ_STRSIGNAL is expanded from...
  97149. +m4/strsignal.m4:7: gl_FUNC_STRSIGNAL is expanded from...
  97150. +m4/gnulib-comp.m4:377: M4_INIT is expanded from...
  97151. +configure.ac:104: the top level])
  97152. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_SYS_SIGLIST])
  97153. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SYS_SIGLIST$])
  97154. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_SYS_SIGLIST], [/* Define to 1 if you have the declaration of `sys_siglist\', and to 0 if you
  97155. + don\'t. */
  97156. +@%:@undef HAVE_DECL_SYS_SIGLIST])
  97157. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL__SYS_SIGLIST])
  97158. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL__SYS_SIGLIST$])
  97159. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL__SYS_SIGLIST], [/* Define to 1 if you have the declaration of `_sys_siglist\', and to 0 if you
  97160. + don\'t. */
  97161. +@%:@undef HAVE_DECL__SYS_SIGLIST])
  97162. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRSIGNAL])
  97163. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRSIGNAL$])
  97164. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STRSIGNAL], [/* Define to 1 when the gnulib module strsignal should be tested. */
  97165. +@%:@undef GNULIB_TEST_STRSIGNAL])
  97166. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRSTR])
  97167. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRSTR$])
  97168. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STRSTR], [/* Define to 1 when the gnulib module strstr should be tested. */
  97169. +@%:@undef GNULIB_TEST_STRSTR])
  97170. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRTOD])
  97171. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRTOD$])
  97172. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_STRTOD], [/* Define to 1 if you have the declaration of `strtod\', and to 0 if you don\'t.
  97173. + */
  97174. +@%:@undef HAVE_DECL_STRTOD])
  97175. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LDEXP_IN_LIBC])
  97176. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LDEXP_IN_LIBC$])
  97177. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LDEXP_IN_LIBC], [/* Define if the ldexp function is available in libc. */
  97178. +@%:@undef HAVE_LDEXP_IN_LIBC])
  97179. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRTOD])
  97180. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRTOD$])
  97181. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STRTOD], [/* Define to 1 when the gnulib module strtod should be tested. */
  97182. +@%:@undef GNULIB_TEST_STRTOD])
  97183. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STRTOL], [/* Define to 1 if you have the `strtol\' function. */
  97184. +@%:@undef HAVE_STRTOL])
  97185. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRTOL])
  97186. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRTOL$])
  97187. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([STAT_MACROS_BROKEN])
  97188. +m4trace:configure.ac:104: -1- m4_pattern_allow([^STAT_MACROS_BROKEN$])
  97189. +m4trace:configure.ac:104: -1- AH_OUTPUT([STAT_MACROS_BROKEN], [/* Define to 1 if the `S_IS*\' macros in <sys/stat.h> do not work properly. */
  97190. +@%:@undef STAT_MACROS_BROKEN])
  97191. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
  97192. +@%:@undef HAVE_SYS_STAT_H])
  97193. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_SYS_STAT_H], [AS_VAR_GET([gl_next_header])])
  97194. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_SYS_STAT_H])
  97195. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SYS_STAT_H$])
  97196. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H], [$gl_next_as_first_directive])
  97197. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H])
  97198. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H$])
  97199. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([nlink_t])
  97200. +m4trace:configure.ac:104: -1- m4_pattern_allow([^nlink_t$])
  97201. +m4trace:configure.ac:104: -1- AH_OUTPUT([nlink_t], [/* Define to the type of st_nlink in struct stat, or a supertype. */
  97202. +@%:@undef nlink_t])
  97203. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WAITPID])
  97204. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WAITPID])
  97205. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WAITPID$])
  97206. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have the <sys/wait.h> header file. */
  97207. +@%:@undef HAVE_SYS_WAIT_H])
  97208. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_SYS_WAIT_H], [AS_VAR_GET([gl_next_header])])
  97209. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_SYS_WAIT_H])
  97210. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_SYS_WAIT_H$])
  97211. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H], [$gl_next_as_first_directive])
  97212. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H])
  97213. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_SYS_WAIT_H$])
  97214. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_MKTIME])
  97215. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_MKTIME])
  97216. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_MKTIME$])
  97217. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_NANOSLEEP])
  97218. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_NANOSLEEP])
  97219. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_NANOSLEEP$])
  97220. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_STRPTIME])
  97221. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_STRPTIME])
  97222. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_STRPTIME$])
  97223. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TIMEGM])
  97224. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TIMEGM])
  97225. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TIMEGM$])
  97226. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TIME_R])
  97227. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TIME_R])
  97228. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TIME_R$])
  97229. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DECL_LOCALTIME_R])
  97230. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DECL_LOCALTIME_R])
  97231. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_LOCALTIME_R$])
  97232. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_NANOSLEEP])
  97233. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_NANOSLEEP])
  97234. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_NANOSLEEP$])
  97235. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_STRPTIME])
  97236. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_STRPTIME])
  97237. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STRPTIME$])
  97238. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_TIMEGM])
  97239. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_TIMEGM])
  97240. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_TIMEGM$])
  97241. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_LOCALTIME_R])
  97242. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_LOCALTIME_R])
  97243. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_LOCALTIME_R$])
  97244. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_MKTIME])
  97245. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_MKTIME])
  97246. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_MKTIME$])
  97247. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_NANOSLEEP])
  97248. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_NANOSLEEP])
  97249. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_NANOSLEEP$])
  97250. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_TIMEGM])
  97251. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_TIMEGM])
  97252. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_TIMEGM$])
  97253. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_TIME_H], [AS_VAR_GET([gl_next_header])])
  97254. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_TIME_H])
  97255. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_TIME_H$])
  97256. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_TIME_H], [$gl_next_as_first_directive])
  97257. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_TIME_H])
  97258. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_TIME_H$])
  97259. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
  97260. +@%:@undef HAVE_SYS_TIME_H])
  97261. +m4trace:configure.ac:104: -1- AC_SUBST([TIME_H_DEFINES_STRUCT_TIMESPEC])
  97262. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([TIME_H_DEFINES_STRUCT_TIMESPEC])
  97263. +m4trace:configure.ac:104: -1- m4_pattern_allow([^TIME_H_DEFINES_STRUCT_TIMESPEC$])
  97264. +m4trace:configure.ac:104: -1- AC_SUBST([SYS_TIME_H_DEFINES_STRUCT_TIMESPEC])
  97265. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([SYS_TIME_H_DEFINES_STRUCT_TIMESPEC])
  97266. +m4trace:configure.ac:104: -1- m4_pattern_allow([^SYS_TIME_H_DEFINES_STRUCT_TIMESPEC$])
  97267. +m4trace:configure.ac:104: -1- AC_SUBST([PTHREAD_H_DEFINES_STRUCT_TIMESPEC])
  97268. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([PTHREAD_H_DEFINES_STRUCT_TIMESPEC])
  97269. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PTHREAD_H_DEFINES_STRUCT_TIMESPEC$])
  97270. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE___SECURE_GETENV], [/* Define to 1 if you have the `__secure_getenv\' function. */
  97271. +@%:@undef HAVE___SECURE_GETENV])
  97272. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE___SECURE_GETENV])
  97273. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE___SECURE_GETENV$])
  97274. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  97275. +@%:@undef HAVE_UNISTD_H])
  97276. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_UNISTD_H], [AS_VAR_GET([gl_next_header])])
  97277. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_UNISTD_H])
  97278. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_UNISTD_H$])
  97279. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_UNISTD_H], [$gl_next_as_first_directive])
  97280. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_UNISTD_H])
  97281. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_UNISTD_H$])
  97282. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_UNISTD_H])
  97283. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_UNISTD_H])
  97284. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNISTD_H$])
  97285. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_PIPE], [/* Define to 1 if you have the `pipe\' function. */
  97286. +@%:@undef HAVE_PIPE])
  97287. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([USE_UNLOCKED_IO])
  97288. +m4trace:configure.ac:104: -1- m4_pattern_allow([^USE_UNLOCKED_IO$])
  97289. +m4trace:configure.ac:104: -1- AH_OUTPUT([USE_UNLOCKED_IO], [/* Define to 1 if you want getc etc. to use unlocked I/O if available.
  97290. + Unlocked I/O can improve performance in unithreaded apps, but it is not
  97291. + safe for multithreaded apps. */
  97292. +@%:@undef USE_UNLOCKED_IO])
  97293. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_CLEARERR_UNLOCKED])
  97294. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_CLEARERR_UNLOCKED$])
  97295. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_CLEARERR_UNLOCKED], [/* Define to 1 if you have the declaration of `clearerr_unlocked\', and to 0 if
  97296. + you don\'t. */
  97297. +@%:@undef HAVE_DECL_CLEARERR_UNLOCKED])
  97298. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FEOF_UNLOCKED])
  97299. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FEOF_UNLOCKED$])
  97300. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FEOF_UNLOCKED], [/* Define to 1 if you have the declaration of `feof_unlocked\', and to 0 if you
  97301. + don\'t. */
  97302. +@%:@undef HAVE_DECL_FEOF_UNLOCKED])
  97303. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FERROR_UNLOCKED])
  97304. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FERROR_UNLOCKED$])
  97305. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FERROR_UNLOCKED], [/* Define to 1 if you have the declaration of `ferror_unlocked\', and to 0 if
  97306. + you don\'t. */
  97307. +@%:@undef HAVE_DECL_FERROR_UNLOCKED])
  97308. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FFLUSH_UNLOCKED])
  97309. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FFLUSH_UNLOCKED$])
  97310. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FFLUSH_UNLOCKED], [/* Define to 1 if you have the declaration of `fflush_unlocked\', and to 0 if
  97311. + you don\'t. */
  97312. +@%:@undef HAVE_DECL_FFLUSH_UNLOCKED])
  97313. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FGETS_UNLOCKED])
  97314. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FGETS_UNLOCKED$])
  97315. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FGETS_UNLOCKED], [/* Define to 1 if you have the declaration of `fgets_unlocked\', and to 0 if
  97316. + you don\'t. */
  97317. +@%:@undef HAVE_DECL_FGETS_UNLOCKED])
  97318. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FPUTC_UNLOCKED])
  97319. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FPUTC_UNLOCKED$])
  97320. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FPUTC_UNLOCKED], [/* Define to 1 if you have the declaration of `fputc_unlocked\', and to 0 if
  97321. + you don\'t. */
  97322. +@%:@undef HAVE_DECL_FPUTC_UNLOCKED])
  97323. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FPUTS_UNLOCKED])
  97324. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FPUTS_UNLOCKED$])
  97325. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FPUTS_UNLOCKED], [/* Define to 1 if you have the declaration of `fputs_unlocked\', and to 0 if
  97326. + you don\'t. */
  97327. +@%:@undef HAVE_DECL_FPUTS_UNLOCKED])
  97328. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FREAD_UNLOCKED])
  97329. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FREAD_UNLOCKED$])
  97330. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FREAD_UNLOCKED], [/* Define to 1 if you have the declaration of `fread_unlocked\', and to 0 if
  97331. + you don\'t. */
  97332. +@%:@undef HAVE_DECL_FREAD_UNLOCKED])
  97333. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FWRITE_UNLOCKED])
  97334. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_FWRITE_UNLOCKED$])
  97335. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_FWRITE_UNLOCKED], [/* Define to 1 if you have the declaration of `fwrite_unlocked\', and to 0 if
  97336. + you don\'t. */
  97337. +@%:@undef HAVE_DECL_FWRITE_UNLOCKED])
  97338. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETCHAR_UNLOCKED])
  97339. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_GETCHAR_UNLOCKED$])
  97340. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_GETCHAR_UNLOCKED], [/* Define to 1 if you have the declaration of `getchar_unlocked\', and to 0 if
  97341. + you don\'t. */
  97342. +@%:@undef HAVE_DECL_GETCHAR_UNLOCKED])
  97343. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PUTC_UNLOCKED])
  97344. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_PUTC_UNLOCKED$])
  97345. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_PUTC_UNLOCKED], [/* Define to 1 if you have the declaration of `putc_unlocked\', and to 0 if you
  97346. + don\'t. */
  97347. +@%:@undef HAVE_DECL_PUTC_UNLOCKED])
  97348. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_PUTCHAR_UNLOCKED])
  97349. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_PUTCHAR_UNLOCKED$])
  97350. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_PUTCHAR_UNLOCKED], [/* Define to 1 if you have the declaration of `putchar_unlocked\', and to 0 if
  97351. + you don\'t. */
  97352. +@%:@undef HAVE_DECL_PUTCHAR_UNLOCKED])
  97353. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the `vasnprintf\' function. */
  97354. +@%:@undef HAVE_VASNPRINTF])
  97355. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the `vasnprintf\' function. */
  97356. +@%:@undef HAVE_VASNPRINTF])
  97357. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_VASNPRINTF])
  97358. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$])
  97359. +m4trace:configure.ac:104: -1- AH_OUTPUT([REPLACE_VASNPRINTF], [/* Define if vasnprintf exists but is overridden by gnulib. */
  97360. +@%:@undef REPLACE_VASNPRINTF])
  97361. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINT_T])
  97362. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINT_T$])
  97363. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WINT_T], [/* Define if you have the \'wint_t\' type. */
  97364. +@%:@undef HAVE_WINT_T])
  97365. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_FEATURES_H], [/* Define to 1 if you have the <features.h> header file. */
  97366. +@%:@undef HAVE_FEATURES_H])
  97367. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_FEATURES_H])
  97368. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_FEATURES_H])
  97369. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_FEATURES_H$])
  97370. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([ptrdiff_t])
  97371. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ptrdiff_t$])
  97372. +m4trace:configure.ac:104: -1- AH_OUTPUT([ptrdiff_t], [/* Define as the type of the result of subtracting two pointers, if the system
  97373. + doesn\'t define it. */
  97374. +@%:@undef ptrdiff_t])
  97375. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTTYPES_H_WITH_UINTMAX])
  97376. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_INTTYPES_H_WITH_UINTMAX$])
  97377. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_INTTYPES_H_WITH_UINTMAX], [/* Define if <inttypes.h> exists, doesn\'t clash with <sys/types.h>, and
  97378. + declares uintmax_t. */
  97379. +@%:@undef HAVE_INTTYPES_H_WITH_UINTMAX])
  97380. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H_WITH_UINTMAX])
  97381. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDINT_H_WITH_UINTMAX$])
  97382. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STDINT_H_WITH_UINTMAX], [/* Define if <stdint.h> exists, doesn\'t clash with <sys/types.h>, and declares
  97383. + uintmax_t. */
  97384. +@%:@undef HAVE_STDINT_H_WITH_UINTMAX])
  97385. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_INTMAX_T])
  97386. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_INTMAX_T$])
  97387. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_INTMAX_T], [/* Define if you have the \'intmax_t\' type in <stdint.h> or <inttypes.h>. */
  97388. +@%:@undef HAVE_INTMAX_T])
  97389. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([intmax_t])
  97390. +m4trace:configure.ac:104: -1- m4_pattern_allow([^intmax_t$])
  97391. +m4trace:configure.ac:104: -1- AH_OUTPUT([intmax_t], [/* Define to long or long long if <stdint.h> and <inttypes.h> don\'t define. */
  97392. +@%:@undef intmax_t])
  97393. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SNPRINTF], [/* Define to 1 if you have the `snprintf\' function. */
  97394. +@%:@undef HAVE_SNPRINTF])
  97395. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STRNLEN], [/* Define to 1 if you have the `strnlen\' function. */
  97396. +@%:@undef HAVE_STRNLEN])
  97397. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCSLEN], [/* Define to 1 if you have the `wcslen\' function. */
  97398. +@%:@undef HAVE_WCSLEN])
  97399. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCSNLEN], [/* Define to 1 if you have the `wcsnlen\' function. */
  97400. +@%:@undef HAVE_WCSNLEN])
  97401. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */
  97402. +@%:@undef HAVE_MBRTOWC])
  97403. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCRTOMB], [/* Define to 1 if you have the `wcrtomb\' function. */
  97404. +@%:@undef HAVE_WCRTOMB])
  97405. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL__SNPRINTF])
  97406. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL__SNPRINTF$])
  97407. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL__SNPRINTF], [/* Define to 1 if you have the declaration of `_snprintf\', and to 0 if you
  97408. + don\'t. */
  97409. +@%:@undef HAVE_DECL__SNPRINTF])
  97410. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SNPRINTF_RETVAL_C99])
  97411. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SNPRINTF_RETVAL_C99$])
  97412. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SNPRINTF_RETVAL_C99], [/* Define if the return value of the snprintf function is the number of of
  97413. + bytes (excluding the terminating NUL) that would have been produced if the
  97414. + buffer had been large enough. */
  97415. +@%:@undef HAVE_SNPRINTF_RETVAL_C99])
  97416. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the `vasprintf\' function. */
  97417. +@%:@undef HAVE_VASPRINTF])
  97418. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VASPRINTF])
  97419. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_VASPRINTF$])
  97420. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_VASPRINTF])
  97421. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_VASPRINTF$])
  97422. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_VASPRINTF], [/* Define to 1 when the gnulib module vasprintf should be tested. */
  97423. +@%:@undef GNULIB_TEST_VASPRINTF])
  97424. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=asprintf:2:c-format])
  97425. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=vasprintf:2:c-format])
  97426. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([CHECK_PRINTF_SAFE])
  97427. +m4trace:configure.ac:104: -1- m4_pattern_allow([^CHECK_PRINTF_SAFE$])
  97428. +m4trace:configure.ac:104: -1- AH_OUTPUT([CHECK_PRINTF_SAFE], [/* Define if you wish *printf() functions that have a safe handling of
  97429. + non-IEEE-754 \'long double\' values. */
  97430. +@%:@undef CHECK_PRINTF_SAFE])
  97431. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_VASPRINTF], [/* Define to 1 if you have the `vasprintf\' function. */
  97432. +@%:@undef HAVE_VASPRINTF])
  97433. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VASPRINTF])
  97434. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_VASPRINTF$])
  97435. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_LONG_DOUBLE])
  97436. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$])
  97437. +m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_LONG_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'long
  97438. + double\' arguments. */
  97439. +@%:@undef NEED_PRINTF_LONG_DOUBLE])
  97440. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_INFINITE_DOUBLE])
  97441. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_INFINITE_DOUBLE$])
  97442. +m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_INFINITE_DOUBLE], [/* Define if the vasnprintf implementation needs special code for infinite
  97443. + \'double\' arguments. */
  97444. +@%:@undef NEED_PRINTF_INFINITE_DOUBLE])
  97445. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_INFINITE_LONG_DOUBLE])
  97446. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_INFINITE_LONG_DOUBLE$])
  97447. +m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_INFINITE_LONG_DOUBLE], [/* Define if the vasnprintf implementation needs special code for infinite
  97448. + \'long double\' arguments. */
  97449. +@%:@undef NEED_PRINTF_INFINITE_LONG_DOUBLE])
  97450. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DIRECTIVE_A])
  97451. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_A$])
  97452. +m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_DIRECTIVE_A], [/* Define if the vasnprintf implementation needs special code for the \'a\' and
  97453. + \'A\' directives. */
  97454. +@%:@undef NEED_PRINTF_DIRECTIVE_A])
  97455. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_NL_LANGINFO], [/* Define to 1 if you have the `nl_langinfo\' function. */
  97456. +@%:@undef HAVE_NL_LANGINFO])
  97457. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_NL_LANGINFO])
  97458. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_NL_LANGINFO$])
  97459. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DIRECTIVE_F])
  97460. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_F$])
  97461. +m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_DIRECTIVE_F], [/* Define if the vasnprintf implementation needs special code for the \'F\'
  97462. + directive. */
  97463. +@%:@undef NEED_PRINTF_DIRECTIVE_F])
  97464. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DIRECTIVE_LS])
  97465. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DIRECTIVE_LS$])
  97466. +m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_DIRECTIVE_LS], [/* Define if the vasnprintf implementation needs special code for the \'ls\'
  97467. + directive. */
  97468. +@%:@undef NEED_PRINTF_DIRECTIVE_LS])
  97469. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_FLAG_GROUPING])
  97470. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_GROUPING$])
  97471. +m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_FLAG_GROUPING], [/* Define if the vasnprintf implementation needs special code for the \' flag.
  97472. + */
  97473. +@%:@undef NEED_PRINTF_FLAG_GROUPING])
  97474. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_FLAG_LEFTADJUST])
  97475. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_LEFTADJUST$])
  97476. +m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_FLAG_LEFTADJUST], [/* Define if the vasnprintf implementation needs special code for the \'-\'
  97477. + flag. */
  97478. +@%:@undef NEED_PRINTF_FLAG_LEFTADJUST])
  97479. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_FLAG_ZERO])
  97480. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_FLAG_ZERO$])
  97481. +m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_FLAG_ZERO], [/* Define if the vasnprintf implementation needs special code for the 0 flag.
  97482. + */
  97483. +@%:@undef NEED_PRINTF_FLAG_ZERO])
  97484. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_UNBOUNDED_PRECISION])
  97485. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_UNBOUNDED_PRECISION$])
  97486. +m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_UNBOUNDED_PRECISION], [/* Define if the vasnprintf implementation needs special code for supporting
  97487. + large precisions without arbitrary bounds. */
  97488. +@%:@undef NEED_PRINTF_UNBOUNDED_PRECISION])
  97489. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DOUBLE])
  97490. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DOUBLE$])
  97491. +m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'double\'
  97492. + arguments. */
  97493. +@%:@undef NEED_PRINTF_DOUBLE])
  97494. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_LONG_DOUBLE])
  97495. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$])
  97496. +m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_LONG_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'long
  97497. + double\' arguments. */
  97498. +@%:@undef NEED_PRINTF_LONG_DOUBLE])
  97499. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_ENOMEM])
  97500. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_ENOMEM$])
  97501. +m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_ENOMEM], [/* Define if the vasnprintf implementation needs special code for surviving
  97502. + out-of-memory conditions. */
  97503. +@%:@undef NEED_PRINTF_ENOMEM])
  97504. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_DOUBLE])
  97505. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_DOUBLE$])
  97506. +m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'double\'
  97507. + arguments. */
  97508. +@%:@undef NEED_PRINTF_DOUBLE])
  97509. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([NEED_PRINTF_LONG_DOUBLE])
  97510. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEED_PRINTF_LONG_DOUBLE$])
  97511. +m4trace:configure.ac:104: -1- AH_OUTPUT([NEED_PRINTF_LONG_DOUBLE], [/* Define if the vasnprintf implementation needs special code for \'long
  97512. + double\' arguments. */
  97513. +@%:@undef NEED_PRINTF_LONG_DOUBLE])
  97514. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_VASNPRINTF], [/* Define to 1 if you have the `vasnprintf\' function. */
  97515. +@%:@undef HAVE_VASNPRINTF])
  97516. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([REPLACE_VASNPRINTF])
  97517. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_VASNPRINTF$])
  97518. +m4trace:configure.ac:104: -1- AH_OUTPUT([REPLACE_VASNPRINTF], [/* Define if vasnprintf exists but is overridden by gnulib. */
  97519. +@%:@undef REPLACE_VASNPRINTF])
  97520. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([ptrdiff_t])
  97521. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ptrdiff_t$])
  97522. +m4trace:configure.ac:104: -1- AH_OUTPUT([ptrdiff_t], [/* Define as the type of the result of subtracting two pointers, if the system
  97523. + doesn\'t define it. */
  97524. +@%:@undef ptrdiff_t])
  97525. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=verror:3:c-format])
  97526. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=verror_at_line:5:c-format])
  97527. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_PACKAGER])
  97528. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PACKAGE_PACKAGER$])
  97529. +m4trace:configure.ac:104: -1- AH_OUTPUT([PACKAGE_PACKAGER], [/* String identifying the packager of this software */
  97530. +@%:@undef PACKAGE_PACKAGER])
  97531. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_PACKAGER_VERSION])
  97532. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PACKAGE_PACKAGER_VERSION$])
  97533. +m4trace:configure.ac:104: -1- AH_OUTPUT([PACKAGE_PACKAGER_VERSION], [/* Packager-specific version information */
  97534. +@%:@undef PACKAGE_PACKAGER_VERSION])
  97535. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_PACKAGER_BUG_REPORTS])
  97536. +m4trace:configure.ac:104: -1- m4_pattern_allow([^PACKAGE_PACKAGER_BUG_REPORTS$])
  97537. +m4trace:configure.ac:104: -1- AH_OUTPUT([PACKAGE_PACKAGER_BUG_REPORTS], [/* Packager info for bug reports (URL/e-mail/...) */
  97538. +@%:@undef PACKAGE_PACKAGER_BUG_REPORTS])
  97539. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WAITID], [/* Define to 1 if you have the `waitid\' function. */
  97540. +@%:@undef HAVE_WAITID])
  97541. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WAITID])
  97542. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WAITID$])
  97543. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_WAITPID])
  97544. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_WAITPID$])
  97545. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_WAITPID], [/* Define to 1 when the gnulib module waitpid should be tested. */
  97546. +@%:@undef GNULIB_TEST_WAITPID])
  97547. +m4trace:configure.ac:104: -1- AC_SUBST([WARN_CFLAGS])
  97548. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([WARN_CFLAGS])
  97549. +m4trace:configure.ac:104: -1- m4_pattern_allow([^WARN_CFLAGS$])
  97550. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCHAR_H], [/* Define to 1 if you have the <wchar.h> header file. */
  97551. +@%:@undef HAVE_WCHAR_H])
  97552. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_WCHAR_H], [AS_VAR_GET([gl_next_header])])
  97553. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_WCHAR_H])
  97554. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_WCHAR_H$])
  97555. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_WCHAR_H], [$gl_next_as_first_directive])
  97556. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_WCHAR_H])
  97557. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCHAR_H$])
  97558. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCHAR_H])
  97559. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCHAR_H])
  97560. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_H$])
  97561. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WINT_T])
  97562. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WINT_T])
  97563. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINT_T$])
  97564. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBSINIT], [/* Define to 1 if you have the `mbsinit\' function. */
  97565. +@%:@undef HAVE_MBSINIT])
  97566. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MBRTOWC], [/* Define to 1 if you have the `mbrtowc\' function. */
  97567. +@%:@undef HAVE_MBRTOWC])
  97568. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCRTOMB], [/* Define to 1 if you have the `wcrtomb\' function. */
  97569. +@%:@undef HAVE_WCRTOMB])
  97570. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_WCRTOMB])
  97571. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_WCRTOMB$])
  97572. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_WCRTOMB], [/* Define to 1 when the gnulib module wcrtomb should be tested. */
  97573. +@%:@undef GNULIB_TEST_WCRTOMB])
  97574. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ISWBLANK])
  97575. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ISWBLANK])
  97576. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISWBLANK$])
  97577. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCTYPE])
  97578. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCTYPE])
  97579. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCTYPE$])
  97580. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_ISWCTYPE])
  97581. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_ISWCTYPE])
  97582. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_ISWCTYPE$])
  97583. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_WCTRANS])
  97584. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_WCTRANS])
  97585. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_WCTRANS$])
  97586. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_TOWCTRANS])
  97587. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_TOWCTRANS])
  97588. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TOWCTRANS$])
  97589. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ISWBLANK])
  97590. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ISWBLANK])
  97591. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISWBLANK$])
  97592. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCTYPE_T])
  97593. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCTYPE_T])
  97594. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCTYPE_T$])
  97595. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCTRANS_T])
  97596. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCTRANS_T])
  97597. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCTRANS_T$])
  97598. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_ISWBLANK])
  97599. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_ISWBLANK])
  97600. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISWBLANK$])
  97601. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_ISWCNTRL], [/* Define to 1 if you have the `iswcntrl\' function. */
  97602. +@%:@undef HAVE_ISWCNTRL])
  97603. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_ISWCNTRL])
  97604. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_ISWCNTRL])
  97605. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_ISWCNTRL$])
  97606. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WINT_T])
  97607. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WINT_T])
  97608. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINT_T$])
  97609. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCTYPE_H], [/* Define to 1 if you have the <wctype.h> header file. */
  97610. +@%:@undef HAVE_WCTYPE_H])
  97611. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_WCTYPE_H], [AS_VAR_GET([gl_next_header])])
  97612. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_WCTYPE_H])
  97613. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_WCTYPE_H$])
  97614. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H], [$gl_next_as_first_directive])
  97615. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H])
  97616. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H$])
  97617. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_WCTYPE_H])
  97618. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_WCTYPE_H])
  97619. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCTYPE_H$])
  97620. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_ISWCNTRL])
  97621. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_ISWCNTRL])
  97622. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_ISWCNTRL$])
  97623. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xprintf:1:c-format])
  97624. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xvprintf:1:c-format])
  97625. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xfprintf:2:c-format])
  97626. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xvfprintf:2:c-format])
  97627. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
  97628. +@%:@undef HAVE_STDINT_H])
  97629. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDINT_H])
  97630. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_STDINT_H$])
  97631. +m4trace:configure.ac:104: -1- AM_XGETTEXT_OPTION([--flag=xasprintf:1:c-format])
  97632. +m4trace:configure.ac:104: -1- AC_SUBST([M4tests_WITNESS])
  97633. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([M4tests_WITNESS])
  97634. +m4trace:configure.ac:104: -1- m4_pattern_allow([^M4tests_WITNESS$])
  97635. +m4trace:configure.ac:104: -1- AC_SUBST([CXX_CHOICE])
  97636. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([CXX_CHOICE])
  97637. +m4trace:configure.ac:104: -1- m4_pattern_allow([^CXX_CHOICE$])
  97638. +m4trace:configure.ac:104: -1- AC_SUBST([CXX])
  97639. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([CXX])
  97640. +m4trace:configure.ac:104: -1- m4_pattern_allow([^CXX$])
  97641. +m4trace:configure.ac:104: -1- AC_SUBST([ac_ct_CXX])
  97642. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([ac_ct_CXX])
  97643. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ac_ct_CXX$])
  97644. +m4trace:configure.ac:104: -1- AC_SUBST([CXX])
  97645. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([CXX])
  97646. +m4trace:configure.ac:104: -1- m4_pattern_allow([^CXX$])
  97647. +m4trace:configure.ac:104: -1- AC_SUBST([CXXFLAGS])
  97648. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([CXXFLAGS])
  97649. +m4trace:configure.ac:104: -1- m4_pattern_allow([^CXXFLAGS$])
  97650. +m4trace:configure.ac:104: -1- AC_SUBST([CXX])
  97651. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([CXX])
  97652. +m4trace:configure.ac:104: -1- m4_pattern_allow([^CXX$])
  97653. +m4trace:configure.ac:104: -1- AM_CONDITIONAL([ANSICXX], [test "$CXX" != ":"])
  97654. +m4trace:configure.ac:104: -1- AC_SUBST([ANSICXX_TRUE])
  97655. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([ANSICXX_TRUE])
  97656. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ANSICXX_TRUE$])
  97657. +m4trace:configure.ac:104: -1- AC_SUBST([ANSICXX_FALSE])
  97658. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([ANSICXX_FALSE])
  97659. +m4trace:configure.ac:104: -1- m4_pattern_allow([^ANSICXX_FALSE$])
  97660. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([ANSICXX_TRUE])
  97661. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([ANSICXX_FALSE])
  97662. +m4trace:configure.ac:104: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
  97663. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([CXXDEPMODE])
  97664. +m4trace:configure.ac:104: -1- m4_pattern_allow([^CXXDEPMODE$])
  97665. +m4trace:configure.ac:104: -1- AM_CONDITIONAL([am__fastdepCXX], [
  97666. + test "x$enable_dependency_tracking" != xno \
  97667. + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
  97668. +m4trace:configure.ac:104: -1- AC_SUBST([am__fastdepCXX_TRUE])
  97669. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
  97670. +m4trace:configure.ac:104: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
  97671. +m4trace:configure.ac:104: -1- AC_SUBST([am__fastdepCXX_FALSE])
  97672. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
  97673. +m4trace:configure.ac:104: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
  97674. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
  97675. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
  97676. +m4trace:configure.ac:104: -1- AM_CONDITIONAL([am__fastdepCXX], [false])
  97677. +m4trace:configure.ac:104: -1- AC_SUBST([am__fastdepCXX_TRUE])
  97678. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
  97679. +m4trace:configure.ac:104: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
  97680. +m4trace:configure.ac:104: -1- AC_SUBST([am__fastdepCXX_FALSE])
  97681. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
  97682. +m4trace:configure.ac:104: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
  97683. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
  97684. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
  97685. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR])
  97686. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR])
  97687. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$])
  97688. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR_UTF8])
  97689. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8])
  97690. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
  97691. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR])
  97692. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR])
  97693. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$])
  97694. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_TR_UTF8])
  97695. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_TR_UTF8])
  97696. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_TR_UTF8$])
  97697. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FUNC_UNGETC_BROKEN])
  97698. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FUNC_UNGETC_BROKEN$])
  97699. +m4trace:configure.ac:104: -1- AH_OUTPUT([FUNC_UNGETC_BROKEN], [/* Define to 1 if ungetc is broken when used on arbitrary bytes. */
  97700. +@%:@undef FUNC_UNGETC_BROKEN])
  97701. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_FTELL])
  97702. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_FTELL$])
  97703. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_FTELL], [/* Define to 1 when the gnulib module ftell should be tested. */
  97704. +@%:@undef GNULIB_TEST_FTELL])
  97705. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_GETPAGESIZE], [/* Define to 1 if you have the `getpagesize\' function. */
  97706. +@%:@undef HAVE_GETPAGESIZE])
  97707. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETPAGESIZE])
  97708. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$])
  97709. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_OS_H], [/* Define to 1 if you have the <OS.h> header file. */
  97710. +@%:@undef HAVE_OS_H])
  97711. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_OS_H])
  97712. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_OS_H$])
  97713. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
  97714. +@%:@undef HAVE_SYS_PARAM_H])
  97715. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_PARAM_H])
  97716. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$])
  97717. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_GETPAGESIZE])
  97718. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_GETPAGESIZE$])
  97719. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_GETPAGESIZE], [/* Define to 1 when the gnulib module getpagesize should be tested. */
  97720. +@%:@undef GNULIB_TEST_GETPAGESIZE])
  97721. +m4trace:configure.ac:104: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  97722. + significant byte first (like Motorola and SPARC, unlike Intel). */
  97723. +#if defined AC_APPLE_UNIVERSAL_BUILD
  97724. +# if defined __BIG_ENDIAN__
  97725. +# define WORDS_BIGENDIAN 1
  97726. +# endif
  97727. +#else
  97728. +# ifndef WORDS_BIGENDIAN
  97729. +# undef WORDS_BIGENDIAN
  97730. +# endif
  97731. +#endif])
  97732. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD])
  97733. +m4trace:configure.ac:104: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
  97734. +m4trace:configure.ac:104: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */
  97735. +@%:@undef AC_APPLE_UNIVERSAL_BUILD])
  97736. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([DBL_EXPBIT0_WORD])
  97737. +m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_EXPBIT0_WORD$])
  97738. +m4trace:configure.ac:104: -1- AH_OUTPUT([DBL_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'double\'. */
  97739. +@%:@undef DBL_EXPBIT0_WORD])
  97740. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([DBL_EXPBIT0_BIT])
  97741. +m4trace:configure.ac:104: -1- m4_pattern_allow([^DBL_EXPBIT0_BIT$])
  97742. +m4trace:configure.ac:104: -1- AH_OUTPUT([DBL_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of
  97743. + \'double\'. */
  97744. +@%:@undef DBL_EXPBIT0_BIT])
  97745. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_WORD])
  97746. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_WORD$])
  97747. +m4trace:configure.ac:104: -1- AH_OUTPUT([FLT_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'float\'. */
  97748. +@%:@undef FLT_EXPBIT0_WORD])
  97749. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([FLT_EXPBIT0_BIT])
  97750. +m4trace:configure.ac:104: -1- m4_pattern_allow([^FLT_EXPBIT0_BIT$])
  97751. +m4trace:configure.ac:104: -1- AH_OUTPUT([FLT_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of
  97752. + \'float\'. */
  97753. +@%:@undef FLT_EXPBIT0_BIT])
  97754. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([LDBL_EXPBIT0_WORD])
  97755. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_EXPBIT0_WORD$])
  97756. +m4trace:configure.ac:104: -1- AH_OUTPUT([LDBL_EXPBIT0_WORD], [/* Define as the word index where to find the exponent of \'long double\'. */
  97757. +@%:@undef LDBL_EXPBIT0_WORD])
  97758. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([LDBL_EXPBIT0_BIT])
  97759. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LDBL_EXPBIT0_BIT$])
  97760. +m4trace:configure.ac:104: -1- AH_OUTPUT([LDBL_EXPBIT0_BIT], [/* Define as the bit index in the word where to find bit 0 of the exponent of
  97761. + \'long double\'. */
  97762. +@%:@undef LDBL_EXPBIT0_BIT])
  97763. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LINK], [/* Define to 1 if you have the `link\' function. */
  97764. +@%:@undef HAVE_LINK])
  97765. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_LINK])
  97766. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_LINK$])
  97767. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_LINK], [/* Define to 1 when the gnulib module link should be tested. */
  97768. +@%:@undef GNULIB_TEST_LINK])
  97769. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_SETLOCALE])
  97770. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_SETLOCALE])
  97771. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_SETLOCALE$])
  97772. +m4trace:configure.ac:104: -1- AC_SUBST([GNULIB_DUPLOCALE])
  97773. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([GNULIB_DUPLOCALE])
  97774. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_DUPLOCALE$])
  97775. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_DUPLOCALE])
  97776. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_DUPLOCALE])
  97777. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DUPLOCALE$])
  97778. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_SETLOCALE])
  97779. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_SETLOCALE])
  97780. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_SETLOCALE$])
  97781. +m4trace:configure.ac:104: -1- AC_SUBST([REPLACE_DUPLOCALE])
  97782. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([REPLACE_DUPLOCALE])
  97783. +m4trace:configure.ac:104: -1- m4_pattern_allow([^REPLACE_DUPLOCALE$])
  97784. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_XLOCALE_H], [/* Define to 1 if you have the <xlocale.h> header file. */
  97785. +@%:@undef HAVE_XLOCALE_H])
  97786. +m4trace:configure.ac:104: -1- AC_SUBST([HAVE_XLOCALE_H])
  97787. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([HAVE_XLOCALE_H])
  97788. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_XLOCALE_H$])
  97789. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_LOCALE_H], [AS_VAR_GET([gl_next_header])])
  97790. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_LOCALE_H])
  97791. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_LOCALE_H$])
  97792. +m4trace:configure.ac:104: -1- AC_SUBST([NEXT_AS_FIRST_DIRECTIVE_LOCALE_H], [$gl_next_as_first_directive])
  97793. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([NEXT_AS_FIRST_DIRECTIVE_LOCALE_H])
  97794. +m4trace:configure.ac:104: -1- m4_pattern_allow([^NEXT_AS_FIRST_DIRECTIVE_LOCALE_H$])
  97795. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_NEWLOCALE], [/* Define to 1 if you have the `newlocale\' function. */
  97796. +@%:@undef HAVE_NEWLOCALE])
  97797. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LC_MESSAGES])
  97798. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_LC_MESSAGES$])
  97799. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_LC_MESSAGES], [/* Define if your <locale.h> file defines LC_MESSAGES. */
  97800. +@%:@undef HAVE_LC_MESSAGES])
  97801. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CFPREFERENCESCOPYAPPVALUE])
  97802. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_CFPREFERENCESCOPYAPPVALUE$])
  97803. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_CFPREFERENCESCOPYAPPVALUE], [/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
  97804. + the CoreFoundation framework. */
  97805. +@%:@undef HAVE_CFPREFERENCESCOPYAPPVALUE])
  97806. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CFLOCALECOPYCURRENT])
  97807. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_CFLOCALECOPYCURRENT$])
  97808. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_CFLOCALECOPYCURRENT], [/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
  97809. + CoreFoundation framework. */
  97810. +@%:@undef HAVE_CFLOCALECOPYCURRENT])
  97811. +m4trace:configure.ac:104: -1- AC_SUBST([INTL_MACOSX_LIBS])
  97812. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([INTL_MACOSX_LIBS])
  97813. +m4trace:configure.ac:104: -1- m4_pattern_allow([^INTL_MACOSX_LIBS$])
  97814. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SETLOCALE], [/* Define to 1 if you have the `setlocale\' function. */
  97815. +@%:@undef HAVE_SETLOCALE])
  97816. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_USELOCALE], [/* Define to 1 if you have the `uselocale\' function. */
  97817. +@%:@undef HAVE_USELOCALE])
  97818. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_NEWLOCALE], [/* Define to 1 if you have the `newlocale\' function. */
  97819. +@%:@undef HAVE_NEWLOCALE])
  97820. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR])
  97821. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR])
  97822. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$])
  97823. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR_UTF8])
  97824. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8])
  97825. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
  97826. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_JA])
  97827. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_JA])
  97828. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_JA$])
  97829. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_ZH_CN])
  97830. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_ZH_CN])
  97831. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
  97832. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR_UTF8])
  97833. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8])
  97834. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
  97835. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS])
  97836. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
  97837. +m4trace:configure.ac:104: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */
  97838. +@%:@undef MAP_ANONYMOUS])
  97839. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS])
  97840. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
  97841. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including
  97842. + config.h and <sys/mman.h>. */
  97843. +@%:@undef HAVE_MAP_ANONYMOUS])
  97844. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
  97845. +@%:@undef HAVE_SYS_MMAN_H])
  97846. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */
  97847. +@%:@undef HAVE_MPROTECT])
  97848. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS])
  97849. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
  97850. +m4trace:configure.ac:104: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */
  97851. +@%:@undef MAP_ANONYMOUS])
  97852. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS])
  97853. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
  97854. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including
  97855. + config.h and <sys/mman.h>. */
  97856. +@%:@undef HAVE_MAP_ANONYMOUS])
  97857. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
  97858. +@%:@undef HAVE_SYS_MMAN_H])
  97859. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */
  97860. +@%:@undef HAVE_MPROTECT])
  97861. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR])
  97862. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR])
  97863. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$])
  97864. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR_UTF8])
  97865. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8])
  97866. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
  97867. +m4trace:configure.ac:104: -1- AM_CONDITIONAL([POSIX_SPAWN_PORTED], [test $posix_spawn_ported = yes])
  97868. +m4trace:configure.ac:104: -1- AC_SUBST([POSIX_SPAWN_PORTED_TRUE])
  97869. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([POSIX_SPAWN_PORTED_TRUE])
  97870. +m4trace:configure.ac:104: -1- m4_pattern_allow([^POSIX_SPAWN_PORTED_TRUE$])
  97871. +m4trace:configure.ac:104: -1- AC_SUBST([POSIX_SPAWN_PORTED_FALSE])
  97872. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([POSIX_SPAWN_PORTED_FALSE])
  97873. +m4trace:configure.ac:104: -1- m4_pattern_allow([^POSIX_SPAWN_PORTED_FALSE$])
  97874. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([POSIX_SPAWN_PORTED_TRUE])
  97875. +m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([POSIX_SPAWN_PORTED_FALSE])
  97876. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_PUTENV])
  97877. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_PUTENV$])
  97878. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_PUTENV], [/* Define to 1 when the gnulib module putenv should be tested. */
  97879. +@%:@undef GNULIB_TEST_PUTENV])
  97880. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS])
  97881. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
  97882. +m4trace:configure.ac:104: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */
  97883. +@%:@undef MAP_ANONYMOUS])
  97884. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS])
  97885. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
  97886. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including
  97887. + config.h and <sys/mman.h>. */
  97888. +@%:@undef HAVE_MAP_ANONYMOUS])
  97889. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
  97890. +@%:@undef HAVE_SYS_MMAN_H])
  97891. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */
  97892. +@%:@undef HAVE_MPROTECT])
  97893. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_SETENV])
  97894. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_SETENV$])
  97895. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_SETENV], [/* Define to 1 if you have the declaration of `setenv\', and to 0 if you don\'t.
  97896. + */
  97897. +@%:@undef HAVE_DECL_SETENV])
  97898. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SETENV], [/* Define to 1 if you have the `setenv\' function. */
  97899. +@%:@undef HAVE_SETENV])
  97900. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  97901. +@%:@undef HAVE_UNISTD_H])
  97902. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SEARCH_H], [/* Define to 1 if you have the <search.h> header file. */
  97903. +@%:@undef HAVE_SEARCH_H])
  97904. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SEARCH_H])
  97905. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_SEARCH_H$])
  97906. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_TSEARCH], [/* Define to 1 if you have the `tsearch\' function. */
  97907. +@%:@undef HAVE_TSEARCH])
  97908. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TSEARCH])
  97909. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_TSEARCH$])
  97910. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SETENV])
  97911. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SETENV$])
  97912. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_SETENV], [/* Define to 1 when the gnulib module setenv should be tested. */
  97913. +@%:@undef GNULIB_TEST_SETENV])
  97914. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SETLOCALE])
  97915. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SETLOCALE$])
  97916. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_SETLOCALE], [/* Define to 1 when the gnulib module setlocale should be tested. */
  97917. +@%:@undef GNULIB_TEST_SETLOCALE])
  97918. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR])
  97919. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR])
  97920. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$])
  97921. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR_UTF8])
  97922. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8])
  97923. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
  97924. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_JA])
  97925. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_JA])
  97926. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_JA$])
  97927. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_ZH_CN])
  97928. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_ZH_CN])
  97929. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
  97930. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WCHAR_T])
  97931. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WCHAR_T$])
  97932. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCHAR_T], [/* Define if you have the \'wchar_t\' type. */
  97933. +@%:@undef HAVE_WCHAR_T])
  97934. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINT_T])
  97935. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_WINT_T$])
  97936. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WINT_T], [/* Define if you have the \'wint_t\' type. */
  97937. +@%:@undef HAVE_WINT_T])
  97938. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */
  97939. +@%:@undef HAVE_STRDUP])
  97940. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRDUP])
  97941. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_STRDUP$])
  97942. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_STRDUP], [/* Define to 1 if you have the declaration of `strdup\', and to 0 if you don\'t.
  97943. + */
  97944. +@%:@undef HAVE_DECL_STRDUP])
  97945. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_STRDUP])
  97946. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_STRDUP$])
  97947. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_STRDUP], [/* Define to 1 when the gnulib module strdup should be tested. */
  97948. +@%:@undef GNULIB_TEST_STRDUP])
  97949. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS])
  97950. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
  97951. +m4trace:configure.ac:104: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */
  97952. +@%:@undef MAP_ANONYMOUS])
  97953. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS])
  97954. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
  97955. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including
  97956. + config.h and <sys/mman.h>. */
  97957. +@%:@undef HAVE_MAP_ANONYMOUS])
  97958. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
  97959. +@%:@undef HAVE_SYS_MMAN_H])
  97960. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */
  97961. +@%:@undef HAVE_MPROTECT])
  97962. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_ALARM])
  97963. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_ALARM$])
  97964. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_ALARM], [/* Define to 1 if you have the declaration of `alarm\', and to 0 if you don\'t.
  97965. + */
  97966. +@%:@undef HAVE_DECL_ALARM])
  97967. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([MAP_ANONYMOUS])
  97968. +m4trace:configure.ac:104: -1- m4_pattern_allow([^MAP_ANONYMOUS$])
  97969. +m4trace:configure.ac:104: -1- AH_OUTPUT([MAP_ANONYMOUS], [/* Define to a substitute value for mmap()\'s MAP_ANONYMOUS flag. */
  97970. +@%:@undef MAP_ANONYMOUS])
  97971. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MAP_ANONYMOUS])
  97972. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_MAP_ANONYMOUS$])
  97973. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MAP_ANONYMOUS], [/* Define to 1 if mmap()\'s MAP_ANONYMOUS flag is available after including
  97974. + config.h and <sys/mman.h>. */
  97975. +@%:@undef HAVE_MAP_ANONYMOUS])
  97976. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
  97977. +@%:@undef HAVE_SYS_MMAN_H])
  97978. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_MPROTECT], [/* Define to 1 if you have the `mprotect\' function. */
  97979. +@%:@undef HAVE_MPROTECT])
  97980. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_SYMLINK], [/* Define to 1 if you have the `symlink\' function. */
  97981. +@%:@undef HAVE_SYMLINK])
  97982. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_SYMLINK])
  97983. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_SYMLINK$])
  97984. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_SYMLINK], [/* Define to 1 when the gnulib module symlink should be tested. */
  97985. +@%:@undef GNULIB_TEST_SYMLINK])
  97986. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_UNSETENV])
  97987. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_UNSETENV$])
  97988. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_UNSETENV], [/* Define to 1 if you have the declaration of `unsetenv\', and to 0 if you
  97989. + don\'t. */
  97990. +@%:@undef HAVE_DECL_UNSETENV])
  97991. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_UNSETENV], [/* Define to 1 if you have the `unsetenv\' function. */
  97992. +@%:@undef HAVE_UNSETENV])
  97993. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_UNSETENV])
  97994. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_UNSETENV$])
  97995. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  97996. +@%:@undef HAVE_UNISTD_H])
  97997. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([VOID_UNSETENV])
  97998. +m4trace:configure.ac:104: -1- m4_pattern_allow([^VOID_UNSETENV$])
  97999. +m4trace:configure.ac:104: -1- AH_OUTPUT([VOID_UNSETENV], [/* Define to 1 if unsetenv returns void instead of int. */
  98000. +@%:@undef VOID_UNSETENV])
  98001. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_UNSETENV])
  98002. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_UNSETENV$])
  98003. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_UNSETENV], [/* Define to 1 when the gnulib module unsetenv should be tested. */
  98004. +@%:@undef GNULIB_TEST_UNSETENV])
  98005. +m4trace:configure.ac:104: -1- AC_SUBST([abs_aux_dir])
  98006. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([abs_aux_dir])
  98007. +m4trace:configure.ac:104: -1- m4_pattern_allow([^abs_aux_dir$])
  98008. +m4trace:configure.ac:104: -1- AC_SUBST([abs_aux_dir])
  98009. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([abs_aux_dir])
  98010. +m4trace:configure.ac:104: -1- m4_pattern_allow([^abs_aux_dir$])
  98011. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR])
  98012. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR])
  98013. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR$])
  98014. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_FR_UTF8])
  98015. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_FR_UTF8])
  98016. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_FR_UTF8$])
  98017. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_JA])
  98018. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_JA])
  98019. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_JA$])
  98020. +m4trace:configure.ac:104: -1- AC_SUBST([LOCALE_ZH_CN])
  98021. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LOCALE_ZH_CN])
  98022. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LOCALE_ZH_CN$])
  98023. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_WCTOB], [/* Define to 1 if you have the `wctob\' function. */
  98024. +@%:@undef HAVE_WCTOB])
  98025. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_WCTOB])
  98026. +m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_DECL_WCTOB$])
  98027. +m4trace:configure.ac:104: -1- AH_OUTPUT([HAVE_DECL_WCTOB], [/* Define to 1 if you have the declaration of `wctob\', and to 0 if you don\'t.
  98028. + */
  98029. +@%:@undef HAVE_DECL_WCTOB])
  98030. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_WCTOB])
  98031. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_WCTOB$])
  98032. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_WCTOB], [/* Define to 1 when the gnulib module wctob should be tested. */
  98033. +@%:@undef GNULIB_TEST_WCTOB])
  98034. +m4trace:configure.ac:104: -1- AC_DEFINE_TRACE_LITERAL([GNULIB_TEST_WCTOMB])
  98035. +m4trace:configure.ac:104: -1- m4_pattern_allow([^GNULIB_TEST_WCTOMB$])
  98036. +m4trace:configure.ac:104: -1- AH_OUTPUT([GNULIB_TEST_WCTOMB], [/* Define to 1 when the gnulib module wctomb should be tested. */
  98037. +@%:@undef GNULIB_TEST_WCTOMB])
  98038. +m4trace:configure.ac:104: -1- AC_SUBST([LIBM4_LIBDEPS])
  98039. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBM4_LIBDEPS])
  98040. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBM4_LIBDEPS$])
  98041. +m4trace:configure.ac:104: -1- AC_SUBST([LIBM4_LTLIBDEPS])
  98042. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBM4_LTLIBDEPS])
  98043. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBM4_LTLIBDEPS$])
  98044. +m4trace:configure.ac:104: -1- AC_SUBST([LIBTESTS_LIBDEPS])
  98045. +m4trace:configure.ac:104: -1- AC_SUBST_TRACE([LIBTESTS_LIBDEPS])
  98046. +m4trace:configure.ac:104: -1- m4_pattern_allow([^LIBTESTS_LIBDEPS$])
  98047. +m4trace:configure.ac:121: -1- AC_DEFINE_TRACE_LITERAL([RENAME_OPEN_FILE_WORKS])
  98048. +m4trace:configure.ac:121: -1- m4_pattern_allow([^RENAME_OPEN_FILE_WORKS$])
  98049. +m4trace:configure.ac:121: -1- AH_OUTPUT([RENAME_OPEN_FILE_WORKS], [/* Define to 1 if a file can be renamed while open, or to 0 if not. */
  98050. +@%:@undef RENAME_OPEN_FILE_WORKS])
  98051. +m4trace:configure.ac:129: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_CHANGEWORD])
  98052. +m4trace:configure.ac:129: -1- m4_pattern_allow([^ENABLE_CHANGEWORD$])
  98053. +m4trace:configure.ac:129: -1- AH_OUTPUT([ENABLE_CHANGEWORD], [/* Define to 1 if the changeword(REGEXP) functionality is wanted */
  98054. +@%:@undef ENABLE_CHANGEWORD])
  98055. +m4trace:configure.ac:169: -1- AC_DEFINE_TRACE_LITERAL([SYSCMD_SHELL])
  98056. +m4trace:configure.ac:169: -1- m4_pattern_allow([^SYSCMD_SHELL$])
  98057. +m4trace:configure.ac:169: -1- AH_OUTPUT([SYSCMD_SHELL], [/* Shell used by syscmd and esyscmd, must accept -c argument. */
  98058. +@%:@undef SYSCMD_SHELL])
  98059. +m4trace:configure.ac:172: -1- AC_DEFINE_TRACE_LITERAL([WITH_DMALLOC])
  98060. +m4trace:configure.ac:172: -1- m4_pattern_allow([^WITH_DMALLOC$])
  98061. +m4trace:configure.ac:172: -1- AH_OUTPUT([WITH_DMALLOC], [/* Define to 1 if malloc debugging is enabled */
  98062. +@%:@undef WITH_DMALLOC])
  98063. +m4trace:configure.ac:176: -1- AC_CONFIG_FILES([Makefile
  98064. + doc/Makefile
  98065. + lib/Makefile
  98066. + src/Makefile
  98067. + tests/Makefile
  98068. + checks/Makefile
  98069. + examples/Makefile
  98070. +])
  98071. +m4trace:configure.ac:185: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
  98072. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
  98073. +m4trace:configure.ac:185: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  98074. +m4trace:configure.ac:185: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
  98075. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([LTLIBOBJS])
  98076. +m4trace:configure.ac:185: -1- m4_pattern_allow([^LTLIBOBJS$])
  98077. +m4trace:configure.ac:185: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  98078. +m4trace:configure.ac:185: -1- AC_SUBST([am__EXEEXT_TRUE])
  98079. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
  98080. +m4trace:configure.ac:185: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  98081. +m4trace:configure.ac:185: -1- AC_SUBST([am__EXEEXT_FALSE])
  98082. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
  98083. +m4trace:configure.ac:185: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  98084. +m4trace:configure.ac:185: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  98085. +m4trace:configure.ac:185: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  98086. +m4trace:configure.ac:185: -1- AC_SUBST([CONFIG_INCLUDE], [lib/config.h])
  98087. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([CONFIG_INCLUDE])
  98088. +m4trace:configure.ac:185: -1- m4_pattern_allow([^CONFIG_INCLUDE$])
  98089. +m4trace:configure.ac:185: -1- AC_SUBST([M4_LIBOBJS], [$M4_libobjs])
  98090. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([M4_LIBOBJS])
  98091. +m4trace:configure.ac:185: -1- m4_pattern_allow([^M4_LIBOBJS$])
  98092. +m4trace:configure.ac:185: -1- AC_SUBST([M4_LTLIBOBJS], [$M4_ltlibobjs])
  98093. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([M4_LTLIBOBJS])
  98094. +m4trace:configure.ac:185: -1- m4_pattern_allow([^M4_LTLIBOBJS$])
  98095. +m4trace:configure.ac:185: -1- AC_SUBST([M4tests_LIBOBJS], [$M4tests_libobjs])
  98096. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([M4tests_LIBOBJS])
  98097. +m4trace:configure.ac:185: -1- m4_pattern_allow([^M4tests_LIBOBJS$])
  98098. +m4trace:configure.ac:185: -1- AC_SUBST([M4tests_LTLIBOBJS], [$M4tests_ltlibobjs])
  98099. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([M4tests_LTLIBOBJS])
  98100. +m4trace:configure.ac:185: -1- m4_pattern_allow([^M4tests_LTLIBOBJS$])
  98101. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([top_builddir])
  98102. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([top_build_prefix])
  98103. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([srcdir])
  98104. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([abs_srcdir])
  98105. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([top_srcdir])
  98106. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([abs_top_srcdir])
  98107. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([builddir])
  98108. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([abs_builddir])
  98109. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([abs_top_builddir])
  98110. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([INSTALL])
  98111. +m4trace:configure.ac:185: -1- AC_SUBST_TRACE([MKDIR_P])
  98112. diff -Nur m4-1.4.16.orig/build-aux/test-driver m4-1.4.16/build-aux/test-driver
  98113. --- m4-1.4.16.orig/build-aux/test-driver 1970-01-01 01:00:00.000000000 +0100
  98114. +++ m4-1.4.16/build-aux/test-driver 2013-09-04 14:47:47.000000000 +0200
  98115. @@ -0,0 +1,127 @@
  98116. +#! /bin/sh
  98117. +# test-driver - basic testsuite driver script.
  98118. +
  98119. +scriptversion=2012-06-27.10; # UTC
  98120. +
  98121. +# Copyright (C) 2011-2013 Free Software Foundation, Inc.
  98122. +#
  98123. +# This program is free software; you can redistribute it and/or modify
  98124. +# it under the terms of the GNU General Public License as published by
  98125. +# the Free Software Foundation; either version 2, or (at your option)
  98126. +# any later version.
  98127. +#
  98128. +# This program is distributed in the hope that it will be useful,
  98129. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  98130. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  98131. +# GNU General Public License for more details.
  98132. +#
  98133. +# You should have received a copy of the GNU General Public License
  98134. +# along with this program. If not, see <http://www.gnu.org/licenses/>.
  98135. +
  98136. +# As a special exception to the GNU General Public License, if you
  98137. +# distribute this file as part of a program that contains a
  98138. +# configuration script generated by Autoconf, you may include it under
  98139. +# the same distribution terms that you use for the rest of that program.
  98140. +
  98141. +# This file is maintained in Automake, please report
  98142. +# bugs to <bug-automake@gnu.org> or send patches to
  98143. +# <automake-patches@gnu.org>.
  98144. +
  98145. +# Make unconditional expansion of undefined variables an error. This
  98146. +# helps a lot in preventing typo-related bugs.
  98147. +set -u
  98148. +
  98149. +usage_error ()
  98150. +{
  98151. + echo "$0: $*" >&2
  98152. + print_usage >&2
  98153. + exit 2
  98154. +}
  98155. +
  98156. +print_usage ()
  98157. +{
  98158. + cat <<END
  98159. +Usage:
  98160. + test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
  98161. + [--expect-failure={yes|no}] [--color-tests={yes|no}]
  98162. + [--enable-hard-errors={yes|no}] [--] TEST-SCRIPT
  98163. +The '--test-name', '--log-file' and '--trs-file' options are mandatory.
  98164. +END
  98165. +}
  98166. +
  98167. +# TODO: better error handling in option parsing (in particular, ensure
  98168. +# TODO: $log_file, $trs_file and $test_name are defined).
  98169. +test_name= # Used for reporting.
  98170. +log_file= # Where to save the output of the test script.
  98171. +trs_file= # Where to save the metadata of the test run.
  98172. +expect_failure=no
  98173. +color_tests=no
  98174. +enable_hard_errors=yes
  98175. +while test $# -gt 0; do
  98176. + case $1 in
  98177. + --help) print_usage; exit $?;;
  98178. + --version) echo "test-driver $scriptversion"; exit $?;;
  98179. + --test-name) test_name=$2; shift;;
  98180. + --log-file) log_file=$2; shift;;
  98181. + --trs-file) trs_file=$2; shift;;
  98182. + --color-tests) color_tests=$2; shift;;
  98183. + --expect-failure) expect_failure=$2; shift;;
  98184. + --enable-hard-errors) enable_hard_errors=$2; shift;;
  98185. + --) shift; break;;
  98186. + -*) usage_error "invalid option: '$1'";;
  98187. + esac
  98188. + shift
  98189. +done
  98190. +
  98191. +if test $color_tests = yes; then
  98192. + # Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'.
  98193. + red='' # Red.
  98194. + grn='' # Green.
  98195. + lgn='' # Light green.
  98196. + blu='' # Blue.
  98197. + mgn='' # Magenta.
  98198. + std='' # No color.
  98199. +else
  98200. + red= grn= lgn= blu= mgn= std=
  98201. +fi
  98202. +
  98203. +do_exit='rm -f $log_file $trs_file; (exit $st); exit $st'
  98204. +trap "st=129; $do_exit" 1
  98205. +trap "st=130; $do_exit" 2
  98206. +trap "st=141; $do_exit" 13
  98207. +trap "st=143; $do_exit" 15
  98208. +
  98209. +# Test script is run here.
  98210. +"$@" >$log_file 2>&1
  98211. +estatus=$?
  98212. +if test $enable_hard_errors = no && test $estatus -eq 99; then
  98213. + estatus=1
  98214. +fi
  98215. +
  98216. +case $estatus:$expect_failure in
  98217. + 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
  98218. + 0:*) col=$grn res=PASS recheck=no gcopy=no;;
  98219. + 77:*) col=$blu res=SKIP recheck=no gcopy=yes;;
  98220. + 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;;
  98221. + *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;;
  98222. + *:*) col=$red res=FAIL recheck=yes gcopy=yes;;
  98223. +esac
  98224. +
  98225. +# Report outcome to console.
  98226. +echo "${col}${res}${std}: $test_name"
  98227. +
  98228. +# Register the test result, and other relevant metadata.
  98229. +echo ":test-result: $res" > $trs_file
  98230. +echo ":global-test-result: $res" >> $trs_file
  98231. +echo ":recheck: $recheck" >> $trs_file
  98232. +echo ":copy-in-global-log: $gcopy" >> $trs_file
  98233. +
  98234. +# Local Variables:
  98235. +# mode: shell-script
  98236. +# sh-indentation: 2
  98237. +# eval: (add-hook 'write-file-hooks 'time-stamp)
  98238. +# time-stamp-start: "scriptversion="
  98239. +# time-stamp-format: "%:y-%02m-%02d.%02H"
  98240. +# time-stamp-time-zone: "UTC"
  98241. +# time-stamp-end: "; # UTC"
  98242. +# End:
  98243. diff -Nur m4-1.4.16.orig/configure m4-1.4.16/configure
  98244. --- m4-1.4.16.orig/configure 2011-03-01 18:36:39.000000000 +0100
  98245. +++ m4-1.4.16/configure 2013-09-04 14:47:44.000000000 +0200
  98246. @@ -1,13 +1,11 @@
  98247. #! /bin/sh
  98248. # Guess values for system-dependent variables and create Makefiles.
  98249. -# Generated by GNU Autoconf 2.66 for GNU M4 1.4.16.
  98250. +# Generated by GNU Autoconf 2.69 for GNU M4 1.4.16.
  98251. #
  98252. # Report bugs to <bug-m4@gnu.org>.
  98253. #
  98254. #
  98255. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  98256. -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
  98257. -# Foundation, Inc.
  98258. +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  98259. #
  98260. #
  98261. # This configure script is free software; the Free Software Foundation
  98262. @@ -91,6 +89,7 @@
  98263. IFS=" "" $as_nl"
  98264. # Find who we are. Look in the path if we contain no directory separator.
  98265. +as_myself=
  98266. case $0 in #((
  98267. *[\\/]* ) as_myself=$0 ;;
  98268. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  98269. @@ -135,6 +134,31 @@
  98270. # CDPATH.
  98271. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  98272. +# Use a proper internal environment variable to ensure we don't fall
  98273. + # into an infinite loop, continuously re-executing ourselves.
  98274. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  98275. + _as_can_reexec=no; export _as_can_reexec;
  98276. + # We cannot yet assume a decent shell, so we have to provide a
  98277. +# neutralization value for shells without unset; and this also
  98278. +# works around shells that cannot unset nonexistent variables.
  98279. +# Preserve -v and -x to the replacement shell.
  98280. +BASH_ENV=/dev/null
  98281. +ENV=/dev/null
  98282. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  98283. +case $- in # ((((
  98284. + *v*x* | *x*v* ) as_opts=-vx ;;
  98285. + *v* ) as_opts=-v ;;
  98286. + *x* ) as_opts=-x ;;
  98287. + * ) as_opts= ;;
  98288. +esac
  98289. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  98290. +# Admittedly, this is quite paranoid, since all the known shells bail
  98291. +# out after a failed `exec'.
  98292. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  98293. +as_fn_exit 255
  98294. + fi
  98295. + # We don't want this to propagate to other subprocesses.
  98296. + { _as_can_reexec=; unset _as_can_reexec;}
  98297. if test "x$CONFIG_SHELL" = x; then
  98298. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  98299. emulate sh
  98300. @@ -168,7 +192,8 @@
  98301. else
  98302. exitcode=1; echo positional parameters were not saved.
  98303. fi
  98304. -test x\$exitcode = x0 || exit 1"
  98305. +test x\$exitcode = x0 || exit 1
  98306. +test -x / || exit 1"
  98307. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  98308. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  98309. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  98310. @@ -213,14 +238,25 @@
  98311. if test "x$CONFIG_SHELL" != x; then :
  98312. - # We cannot yet assume a decent shell, so we have to provide a
  98313. - # neutralization value for shells without unset; and this also
  98314. - # works around shells that cannot unset nonexistent variables.
  98315. - BASH_ENV=/dev/null
  98316. - ENV=/dev/null
  98317. - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  98318. - export CONFIG_SHELL
  98319. - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  98320. + export CONFIG_SHELL
  98321. + # We cannot yet assume a decent shell, so we have to provide a
  98322. +# neutralization value for shells without unset; and this also
  98323. +# works around shells that cannot unset nonexistent variables.
  98324. +# Preserve -v and -x to the replacement shell.
  98325. +BASH_ENV=/dev/null
  98326. +ENV=/dev/null
  98327. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  98328. +case $- in # ((((
  98329. + *v*x* | *x*v* ) as_opts=-vx ;;
  98330. + *v* ) as_opts=-v ;;
  98331. + *x* ) as_opts=-x ;;
  98332. + * ) as_opts= ;;
  98333. +esac
  98334. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  98335. +# Admittedly, this is quite paranoid, since all the known shells bail
  98336. +# out after a failed `exec'.
  98337. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  98338. +exit 255
  98339. fi
  98340. if test x$as_have_required = xno; then :
  98341. @@ -323,6 +359,14 @@
  98342. } # as_fn_mkdir_p
  98343. +
  98344. +# as_fn_executable_p FILE
  98345. +# -----------------------
  98346. +# Test if FILE is an executable regular file.
  98347. +as_fn_executable_p ()
  98348. +{
  98349. + test -f "$1" && test -x "$1"
  98350. +} # as_fn_executable_p
  98351. # as_fn_append VAR VALUE
  98352. # ----------------------
  98353. # Append the text in VALUE to the end of the definition contained in VAR. Take
  98354. @@ -444,6 +488,10 @@
  98355. chmod +x "$as_me.lineno" ||
  98356. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  98357. + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  98358. + # already done that, so ensure we don't try to do so again and fall
  98359. + # in an infinite loop. This has already happened in practice.
  98360. + _as_can_reexec=no; export _as_can_reexec
  98361. # Don't try to exec as it changes $[0], causing all sort of problems
  98362. # (the dirname of $[0] is not the place where we might find the
  98363. # original and so on. Autoconf is especially sensitive to this).
  98364. @@ -478,16 +526,16 @@
  98365. # ... but there are two gotchas:
  98366. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  98367. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  98368. - # In both cases, we have to default to `cp -p'.
  98369. + # In both cases, we have to default to `cp -pR'.
  98370. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  98371. - as_ln_s='cp -p'
  98372. + as_ln_s='cp -pR'
  98373. elif ln conf$$.file conf$$ 2>/dev/null; then
  98374. as_ln_s=ln
  98375. else
  98376. - as_ln_s='cp -p'
  98377. + as_ln_s='cp -pR'
  98378. fi
  98379. else
  98380. - as_ln_s='cp -p'
  98381. + as_ln_s='cp -pR'
  98382. fi
  98383. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  98384. rmdir conf$$.dir 2>/dev/null
  98385. @@ -499,28 +547,8 @@
  98386. as_mkdir_p=false
  98387. fi
  98388. -if test -x / >/dev/null 2>&1; then
  98389. - as_test_x='test -x'
  98390. -else
  98391. - if ls -dL / >/dev/null 2>&1; then
  98392. - as_ls_L_option=L
  98393. - else
  98394. - as_ls_L_option=
  98395. - fi
  98396. - as_test_x='
  98397. - eval sh -c '\''
  98398. - if test -d "$1"; then
  98399. - test -d "$1/.";
  98400. - else
  98401. - case $1 in #(
  98402. - -*)set "./$1";;
  98403. - esac;
  98404. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  98405. - ???[sx]*):;;*)false;;esac;fi
  98406. - '\'' sh
  98407. - '
  98408. -fi
  98409. -as_executable_p=$as_test_x
  98410. +as_test_x='test -x'
  98411. +as_executable_p=as_fn_executable_p
  98412. # Sed expression to map a string onto a valid CPP name.
  98413. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  98414. @@ -1390,6 +1418,7 @@
  98415. am__fastdepCC_FALSE
  98416. am__fastdepCC_TRUE
  98417. CCDEPMODE
  98418. +am__nodep
  98419. AMDEPBACKSLASH
  98420. AMDEP_FALSE
  98421. AMDEP_TRUE
  98422. @@ -1405,6 +1434,8 @@
  98423. CC
  98424. AM_BACKSLASH
  98425. AM_DEFAULT_VERBOSITY
  98426. +AM_DEFAULT_V
  98427. +AM_V
  98428. am__untar
  98429. am__tar
  98430. AMTAR
  98431. @@ -1561,8 +1592,9 @@
  98432. fi
  98433. case $ac_option in
  98434. - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  98435. - *) ac_optarg=yes ;;
  98436. + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  98437. + *=) ac_optarg= ;;
  98438. + *) ac_optarg=yes ;;
  98439. esac
  98440. # Accept the important Cygnus configure options, so we can diagnose typos.
  98441. @@ -1902,7 +1934,7 @@
  98442. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  98443. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  98444. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  98445. - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  98446. + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  98447. ;;
  98448. esac
  98449. @@ -1953,8 +1985,6 @@
  98450. if test "x$host_alias" != x; then
  98451. if test "x$build_alias" = x; then
  98452. cross_compiling=maybe
  98453. - $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
  98454. - If a cross compiler is detected then cross compile mode will be used" >&2
  98455. elif test "x$build_alias" != "x$host_alias"; then
  98456. cross_compiling=yes
  98457. fi
  98458. @@ -2118,10 +2148,12 @@
  98459. --disable-option-checking ignore unrecognized --enable/--with options
  98460. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  98461. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  98462. - --enable-silent-rules less verbose build output (undo: `make V=1')
  98463. - --disable-silent-rules verbose build output (undo: `make V=0')
  98464. - --disable-dependency-tracking speeds up one-time build
  98465. - --enable-dependency-tracking do not reject slow dependency extractors
  98466. + --enable-silent-rules less verbose build output (undo: "make V=1")
  98467. + --disable-silent-rules verbose build output (undo: "make V=0")
  98468. + --enable-dependency-tracking
  98469. + do not reject slow dependency extractors
  98470. + --disable-dependency-tracking
  98471. + speeds up one-time build
  98472. --enable-threads={posix|solaris|pth|win32}
  98473. specify multithreading API
  98474. --disable-threads build without multithread safety
  98475. @@ -2233,9 +2265,9 @@
  98476. if $ac_init_version; then
  98477. cat <<\_ACEOF
  98478. GNU M4 configure 1.4.16
  98479. -generated by GNU Autoconf 2.66
  98480. +generated by GNU Autoconf 2.69
  98481. -Copyright (C) 2010 Free Software Foundation, Inc.
  98482. +Copyright (C) 2012 Free Software Foundation, Inc.
  98483. This configure script is free software; the Free Software Foundation
  98484. gives unlimited permission to copy, distribute and modify it.
  98485. _ACEOF
  98486. @@ -2279,7 +2311,7 @@
  98487. ac_retval=1
  98488. fi
  98489. - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  98490. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  98491. as_fn_set_status $ac_retval
  98492. } # ac_fn_c_try_compile
  98493. @@ -2305,7 +2337,7 @@
  98494. mv -f conftest.er1 conftest.err
  98495. fi
  98496. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  98497. - test $ac_status = 0; } >/dev/null && {
  98498. + test $ac_status = 0; } > conftest.i && {
  98499. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  98500. test ! -s conftest.err
  98501. }; then :
  98502. @@ -2316,7 +2348,7 @@
  98503. ac_retval=1
  98504. fi
  98505. - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  98506. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  98507. as_fn_set_status $ac_retval
  98508. } # ac_fn_c_try_cpp
  98509. @@ -2329,10 +2361,10 @@
  98510. ac_fn_c_check_header_mongrel ()
  98511. {
  98512. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  98513. - if eval "test \"\${$3+set}\"" = set; then :
  98514. + if eval \${$3+:} false; then :
  98515. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  98516. $as_echo_n "checking for $2... " >&6; }
  98517. -if eval "test \"\${$3+set}\"" = set; then :
  98518. +if eval \${$3+:} false; then :
  98519. $as_echo_n "(cached) " >&6
  98520. fi
  98521. eval ac_res=\$$3
  98522. @@ -2368,7 +2400,7 @@
  98523. else
  98524. ac_header_preproc=no
  98525. fi
  98526. -rm -f conftest.err conftest.$ac_ext
  98527. +rm -f conftest.err conftest.i conftest.$ac_ext
  98528. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  98529. $as_echo "$ac_header_preproc" >&6; }
  98530. @@ -2399,7 +2431,7 @@
  98531. esac
  98532. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  98533. $as_echo_n "checking for $2... " >&6; }
  98534. -if eval "test \"\${$3+set}\"" = set; then :
  98535. +if eval \${$3+:} false; then :
  98536. $as_echo_n "(cached) " >&6
  98537. else
  98538. eval "$3=\$ac_header_compiler"
  98539. @@ -2408,7 +2440,7 @@
  98540. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  98541. $as_echo "$ac_res" >&6; }
  98542. fi
  98543. - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  98544. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  98545. } # ac_fn_c_check_header_mongrel
  98546. @@ -2449,7 +2481,7 @@
  98547. ac_retval=$ac_status
  98548. fi
  98549. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  98550. - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  98551. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  98552. as_fn_set_status $ac_retval
  98553. } # ac_fn_c_try_run
  98554. @@ -2463,7 +2495,7 @@
  98555. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  98556. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  98557. $as_echo_n "checking for $2... " >&6; }
  98558. -if eval "test \"\${$3+set}\"" = set; then :
  98559. +if eval \${$3+:} false; then :
  98560. $as_echo_n "(cached) " >&6
  98561. else
  98562. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  98563. @@ -2481,7 +2513,7 @@
  98564. eval ac_res=\$$3
  98565. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  98566. $as_echo "$ac_res" >&6; }
  98567. - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  98568. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  98569. } # ac_fn_c_check_header_compile
  98570. @@ -2512,7 +2544,7 @@
  98571. test ! -s conftest.err
  98572. } && test -s conftest$ac_exeext && {
  98573. test "$cross_compiling" = yes ||
  98574. - $as_test_x conftest$ac_exeext
  98575. + test -x conftest$ac_exeext
  98576. }; then :
  98577. ac_retval=0
  98578. else
  98579. @@ -2526,11 +2558,65 @@
  98580. # interfere with the next link command; also delete a directory that is
  98581. # left behind by Apple's compiler. We do this before executing the actions.
  98582. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  98583. - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  98584. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  98585. as_fn_set_status $ac_retval
  98586. } # ac_fn_c_try_link
  98587. +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  98588. +# -------------------------------------------
  98589. +# Tests whether TYPE exists after having included INCLUDES, setting cache
  98590. +# variable VAR accordingly.
  98591. +ac_fn_c_check_type ()
  98592. +{
  98593. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  98594. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  98595. +$as_echo_n "checking for $2... " >&6; }
  98596. +if eval \${$3+:} false; then :
  98597. + $as_echo_n "(cached) " >&6
  98598. +else
  98599. + eval "$3=no"
  98600. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  98601. +/* end confdefs.h. */
  98602. +$4
  98603. +int
  98604. +main ()
  98605. +{
  98606. +if (sizeof ($2))
  98607. + return 0;
  98608. + ;
  98609. + return 0;
  98610. +}
  98611. +_ACEOF
  98612. +if ac_fn_c_try_compile "$LINENO"; then :
  98613. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  98614. +/* end confdefs.h. */
  98615. +$4
  98616. +int
  98617. +main ()
  98618. +{
  98619. +if (sizeof (($2)))
  98620. + return 0;
  98621. + ;
  98622. + return 0;
  98623. +}
  98624. +_ACEOF
  98625. +if ac_fn_c_try_compile "$LINENO"; then :
  98626. +
  98627. +else
  98628. + eval "$3=yes"
  98629. +fi
  98630. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  98631. +fi
  98632. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  98633. +fi
  98634. +eval ac_res=\$$3
  98635. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  98636. +$as_echo "$ac_res" >&6; }
  98637. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  98638. +
  98639. +} # ac_fn_c_check_type
  98640. +
  98641. # ac_fn_c_check_func LINENO FUNC VAR
  98642. # ----------------------------------
  98643. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  98644. @@ -2539,7 +2625,7 @@
  98645. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  98646. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  98647. $as_echo_n "checking for $2... " >&6; }
  98648. -if eval "test \"\${$3+set}\"" = set; then :
  98649. +if eval \${$3+:} false; then :
  98650. $as_echo_n "(cached) " >&6
  98651. else
  98652. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  98653. @@ -2594,7 +2680,7 @@
  98654. eval ac_res=\$$3
  98655. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  98656. $as_echo "$ac_res" >&6; }
  98657. - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  98658. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  98659. } # ac_fn_c_check_func
  98660. @@ -2609,7 +2695,7 @@
  98661. as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
  98662. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
  98663. $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
  98664. -if eval "test \"\${$3+set}\"" = set; then :
  98665. +if eval \${$3+:} false; then :
  98666. $as_echo_n "(cached) " >&6
  98667. else
  98668. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  98669. @@ -2640,64 +2726,10 @@
  98670. eval ac_res=\$$3
  98671. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  98672. $as_echo "$ac_res" >&6; }
  98673. - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  98674. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  98675. } # ac_fn_c_check_decl
  98676. -# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  98677. -# -------------------------------------------
  98678. -# Tests whether TYPE exists after having included INCLUDES, setting cache
  98679. -# variable VAR accordingly.
  98680. -ac_fn_c_check_type ()
  98681. -{
  98682. - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  98683. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  98684. -$as_echo_n "checking for $2... " >&6; }
  98685. -if eval "test \"\${$3+set}\"" = set; then :
  98686. - $as_echo_n "(cached) " >&6
  98687. -else
  98688. - eval "$3=no"
  98689. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  98690. -/* end confdefs.h. */
  98691. -$4
  98692. -int
  98693. -main ()
  98694. -{
  98695. -if (sizeof ($2))
  98696. - return 0;
  98697. - ;
  98698. - return 0;
  98699. -}
  98700. -_ACEOF
  98701. -if ac_fn_c_try_compile "$LINENO"; then :
  98702. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  98703. -/* end confdefs.h. */
  98704. -$4
  98705. -int
  98706. -main ()
  98707. -{
  98708. -if (sizeof (($2)))
  98709. - return 0;
  98710. - ;
  98711. - return 0;
  98712. -}
  98713. -_ACEOF
  98714. -if ac_fn_c_try_compile "$LINENO"; then :
  98715. -
  98716. -else
  98717. - eval "$3=yes"
  98718. -fi
  98719. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  98720. -fi
  98721. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  98722. -fi
  98723. -eval ac_res=\$$3
  98724. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  98725. -$as_echo "$ac_res" >&6; }
  98726. - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  98727. -
  98728. -} # ac_fn_c_check_type
  98729. -
  98730. # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  98731. # --------------------------------------------
  98732. # Tries to find the compile-time value of EXPR in a program that includes
  98733. @@ -2715,7 +2747,8 @@
  98734. main ()
  98735. {
  98736. static int test_array [1 - 2 * !(($2) >= 0)];
  98737. -test_array [0] = 0
  98738. +test_array [0] = 0;
  98739. +return test_array [0];
  98740. ;
  98741. return 0;
  98742. @@ -2731,7 +2764,8 @@
  98743. main ()
  98744. {
  98745. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  98746. -test_array [0] = 0
  98747. +test_array [0] = 0;
  98748. +return test_array [0];
  98749. ;
  98750. return 0;
  98751. @@ -2757,7 +2791,8 @@
  98752. main ()
  98753. {
  98754. static int test_array [1 - 2 * !(($2) < 0)];
  98755. -test_array [0] = 0
  98756. +test_array [0] = 0;
  98757. +return test_array [0];
  98758. ;
  98759. return 0;
  98760. @@ -2773,7 +2808,8 @@
  98761. main ()
  98762. {
  98763. static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  98764. -test_array [0] = 0
  98765. +test_array [0] = 0;
  98766. +return test_array [0];
  98767. ;
  98768. return 0;
  98769. @@ -2807,7 +2843,8 @@
  98770. main ()
  98771. {
  98772. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  98773. -test_array [0] = 0
  98774. +test_array [0] = 0;
  98775. +return test_array [0];
  98776. ;
  98777. return 0;
  98778. @@ -2871,7 +2908,7 @@
  98779. rm -f conftest.val
  98780. fi
  98781. - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  98782. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  98783. as_fn_set_status $ac_retval
  98784. } # ac_fn_c_compute_int
  98785. @@ -2885,7 +2922,7 @@
  98786. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  98787. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  98788. $as_echo_n "checking for $2.$3... " >&6; }
  98789. -if eval "test \"\${$4+set}\"" = set; then :
  98790. +if eval \${$4+:} false; then :
  98791. $as_echo_n "(cached) " >&6
  98792. else
  98793. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  98794. @@ -2929,7 +2966,7 @@
  98795. eval ac_res=\$$4
  98796. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  98797. $as_echo "$ac_res" >&6; }
  98798. - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  98799. + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  98800. } # ac_fn_c_check_member
  98801. cat >config.log <<_ACEOF
  98802. @@ -2937,7 +2974,7 @@
  98803. running configure, to aid debugging if configure makes a mistake.
  98804. It was created by GNU M4 $as_me 1.4.16, which was
  98805. -generated by GNU Autoconf 2.66. Invocation command line was
  98806. +generated by GNU Autoconf 2.69. Invocation command line was
  98807. $ $0 $@
  98808. @@ -3378,7 +3415,7 @@
  98809. -am__api_version='1.11'
  98810. +am__api_version='1.13'
  98811. # Find a good install program. We prefer a C program (faster),
  98812. # so one script is as good as another. But avoid the broken or
  98813. @@ -3397,7 +3434,7 @@
  98814. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  98815. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  98816. if test -z "$INSTALL"; then
  98817. -if test "${ac_cv_path_install+set}" = set; then :
  98818. +if ${ac_cv_path_install+:} false; then :
  98819. $as_echo_n "(cached) " >&6
  98820. else
  98821. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  98822. @@ -3417,7 +3454,7 @@
  98823. # by default.
  98824. for ac_prog in ginstall scoinst install; do
  98825. for ac_exec_ext in '' $ac_executable_extensions; do
  98826. - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  98827. + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  98828. if test $ac_prog = install &&
  98829. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  98830. # AIX install. It has an incompatible calling convention.
  98831. @@ -3475,9 +3512,6 @@
  98832. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  98833. $as_echo_n "checking whether build environment is sane... " >&6; }
  98834. -# Just in case
  98835. -sleep 1
  98836. -echo timestamp > conftest.file
  98837. # Reject unsafe characters in $srcdir or the absolute working directory
  98838. # name. Accept space and tab only in the latter.
  98839. am_lf='
  98840. @@ -3488,32 +3522,40 @@
  98841. esac
  98842. case $srcdir in
  98843. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  98844. - as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  98845. + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  98846. esac
  98847. -# Do `set' in a subshell so we don't clobber the current shell's
  98848. +# Do 'set' in a subshell so we don't clobber the current shell's
  98849. # arguments. Must try -L first in case configure is actually a
  98850. # symlink; some systems play weird games with the mod time of symlinks
  98851. # (eg FreeBSD returns the mod time of the symlink's containing
  98852. # directory).
  98853. if (
  98854. - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  98855. - if test "$*" = "X"; then
  98856. - # -L didn't work.
  98857. - set X `ls -t "$srcdir/configure" conftest.file`
  98858. - fi
  98859. - rm -f conftest.file
  98860. - if test "$*" != "X $srcdir/configure conftest.file" \
  98861. - && test "$*" != "X conftest.file $srcdir/configure"; then
  98862. -
  98863. - # If neither matched, then we have a broken ls. This can happen
  98864. - # if, for instance, CONFIG_SHELL is bash and it inherits a
  98865. - # broken ls alias from the environment. This has actually
  98866. - # happened. Such a system could not be considered "sane".
  98867. - as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  98868. -alias in your environment" "$LINENO" 5
  98869. - fi
  98870. + am_has_slept=no
  98871. + for am_try in 1 2; do
  98872. + echo "timestamp, slept: $am_has_slept" > conftest.file
  98873. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  98874. + if test "$*" = "X"; then
  98875. + # -L didn't work.
  98876. + set X `ls -t "$srcdir/configure" conftest.file`
  98877. + fi
  98878. + if test "$*" != "X $srcdir/configure conftest.file" \
  98879. + && test "$*" != "X conftest.file $srcdir/configure"; then
  98880. + # If neither matched, then we have a broken ls. This can happen
  98881. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  98882. + # broken ls alias from the environment. This has actually
  98883. + # happened. Such a system could not be considered "sane".
  98884. + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  98885. + alias in your environment" "$LINENO" 5
  98886. + fi
  98887. + if test "$2" = conftest.file || test $am_try -eq 2; then
  98888. + break
  98889. + fi
  98890. + # Just in case.
  98891. + sleep 1
  98892. + am_has_slept=yes
  98893. + done
  98894. test "$2" = conftest.file
  98895. )
  98896. then
  98897. @@ -3525,6 +3567,16 @@
  98898. fi
  98899. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  98900. $as_echo "yes" >&6; }
  98901. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  98902. +# generated files are strictly newer.
  98903. +am_sleep_pid=
  98904. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  98905. + ( sleep 1 ) &
  98906. + am_sleep_pid=$!
  98907. +fi
  98908. +
  98909. +rm -f conftest.file
  98910. +
  98911. test "$program_prefix" != NONE &&
  98912. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  98913. # Use a double $ so make ignores it.
  98914. @@ -3547,12 +3599,12 @@
  98915. esac
  98916. fi
  98917. # Use eval to expand $SHELL
  98918. -if eval "$MISSING --run true"; then
  98919. - am_missing_run="$MISSING --run "
  98920. +if eval "$MISSING --is-lightweight"; then
  98921. + am_missing_run="$MISSING "
  98922. else
  98923. am_missing_run=
  98924. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  98925. -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  98926. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  98927. +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  98928. fi
  98929. if test x"${install_sh}" != xset; then
  98930. @@ -3564,17 +3616,17 @@
  98931. esac
  98932. fi
  98933. -# Installed binaries are usually stripped using `strip' when the user
  98934. -# run `make install-strip'. However `strip' might not be the right
  98935. +# Installed binaries are usually stripped using 'strip' when the user
  98936. +# run "make install-strip". However 'strip' might not be the right
  98937. # tool to use in cross-compilation environments, therefore Automake
  98938. -# will honor the `STRIP' environment variable to overrule this program.
  98939. +# will honor the 'STRIP' environment variable to overrule this program.
  98940. if test "$cross_compiling" != no; then
  98941. if test -n "$ac_tool_prefix"; then
  98942. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  98943. set dummy ${ac_tool_prefix}strip; ac_word=$2
  98944. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  98945. $as_echo_n "checking for $ac_word... " >&6; }
  98946. -if test "${ac_cv_prog_STRIP+set}" = set; then :
  98947. +if ${ac_cv_prog_STRIP+:} false; then :
  98948. $as_echo_n "(cached) " >&6
  98949. else
  98950. if test -n "$STRIP"; then
  98951. @@ -3586,7 +3638,7 @@
  98952. IFS=$as_save_IFS
  98953. test -z "$as_dir" && as_dir=.
  98954. for ac_exec_ext in '' $ac_executable_extensions; do
  98955. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  98956. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  98957. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  98958. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  98959. break 2
  98960. @@ -3614,7 +3666,7 @@
  98961. set dummy strip; ac_word=$2
  98962. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  98963. $as_echo_n "checking for $ac_word... " >&6; }
  98964. -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  98965. +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  98966. $as_echo_n "(cached) " >&6
  98967. else
  98968. if test -n "$ac_ct_STRIP"; then
  98969. @@ -3626,7 +3678,7 @@
  98970. IFS=$as_save_IFS
  98971. test -z "$as_dir" && as_dir=.
  98972. for ac_exec_ext in '' $ac_executable_extensions; do
  98973. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  98974. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  98975. ac_cv_prog_ac_ct_STRIP="strip"
  98976. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  98977. break 2
  98978. @@ -3667,7 +3719,7 @@
  98979. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  98980. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  98981. if test -z "$MKDIR_P"; then
  98982. - if test "${ac_cv_path_mkdir+set}" = set; then :
  98983. + if ${ac_cv_path_mkdir+:} false; then :
  98984. $as_echo_n "(cached) " >&6
  98985. else
  98986. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  98987. @@ -3677,7 +3729,7 @@
  98988. test -z "$as_dir" && as_dir=.
  98989. for ac_prog in mkdir gmkdir; do
  98990. for ac_exec_ext in '' $ac_executable_extensions; do
  98991. - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  98992. + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  98993. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  98994. 'mkdir (GNU coreutils) '* | \
  98995. 'mkdir (coreutils) '* | \
  98996. @@ -3707,19 +3759,13 @@
  98997. $as_echo "$MKDIR_P" >&6; }
  98998. -mkdir_p="$MKDIR_P"
  98999. -case $mkdir_p in
  99000. - [\\/$]* | ?:[\\/]*) ;;
  99001. - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  99002. -esac
  99003. -
  99004. for ac_prog in gawk mawk nawk awk
  99005. do
  99006. # Extract the first word of "$ac_prog", so it can be a program name with args.
  99007. set dummy $ac_prog; ac_word=$2
  99008. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  99009. $as_echo_n "checking for $ac_word... " >&6; }
  99010. -if test "${ac_cv_prog_AWK+set}" = set; then :
  99011. +if ${ac_cv_prog_AWK+:} false; then :
  99012. $as_echo_n "(cached) " >&6
  99013. else
  99014. if test -n "$AWK"; then
  99015. @@ -3731,7 +3777,7 @@
  99016. IFS=$as_save_IFS
  99017. test -z "$as_dir" && as_dir=.
  99018. for ac_exec_ext in '' $ac_executable_extensions; do
  99019. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  99020. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  99021. ac_cv_prog_AWK="$ac_prog"
  99022. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  99023. break 2
  99024. @@ -3759,7 +3805,7 @@
  99025. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  99026. set x ${MAKE-make}
  99027. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  99028. -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
  99029. +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  99030. $as_echo_n "(cached) " >&6
  99031. else
  99032. cat >conftest.make <<\_ACEOF
  99033. @@ -3800,11 +3846,38 @@
  99034. enableval=$enable_silent_rules;
  99035. fi
  99036. -case $enable_silent_rules in
  99037. -yes) AM_DEFAULT_VERBOSITY=0;;
  99038. -no) AM_DEFAULT_VERBOSITY=1;;
  99039. -*) AM_DEFAULT_VERBOSITY=1;;
  99040. +case $enable_silent_rules in # (((
  99041. + yes) AM_DEFAULT_VERBOSITY=0;;
  99042. + no) AM_DEFAULT_VERBOSITY=1;;
  99043. + *) AM_DEFAULT_VERBOSITY=1;;
  99044. esac
  99045. +am_make=${MAKE-make}
  99046. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  99047. +$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  99048. +if ${am_cv_make_support_nested_variables+:} false; then :
  99049. + $as_echo_n "(cached) " >&6
  99050. +else
  99051. + if $as_echo 'TRUE=$(BAR$(V))
  99052. +BAR0=false
  99053. +BAR1=true
  99054. +V=1
  99055. +am__doit:
  99056. + @$(TRUE)
  99057. +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  99058. + am_cv_make_support_nested_variables=yes
  99059. +else
  99060. + am_cv_make_support_nested_variables=no
  99061. +fi
  99062. +fi
  99063. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  99064. +$as_echo "$am_cv_make_support_nested_variables" >&6; }
  99065. +if test $am_cv_make_support_nested_variables = yes; then
  99066. + AM_V='$(V)'
  99067. + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  99068. +else
  99069. + AM_V=$AM_DEFAULT_VERBOSITY
  99070. + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  99071. +fi
  99072. AM_BACKSLASH='\'
  99073. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  99074. @@ -3857,13 +3930,24 @@
  99075. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  99076. +# For better backward compatibility. To be removed once Automake 1.9.x
  99077. +# dies out for good. For more background, see:
  99078. +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  99079. +# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  99080. +mkdir_p='$(MKDIR_P)'
  99081. +
  99082. # We need awk for the "check" target. The system "awk" is bad on
  99083. # some platforms.
  99084. -# Always define AMTAR for backward compatibility.
  99085. +# Always define AMTAR for backward compatibility. Yes, it's still used
  99086. +# in the wild :-( We should find a proper way to deprecate it ...
  99087. +AMTAR='$${TAR-tar}'
  99088. +
  99089. -AMTAR=${AMTAR-"${am_missing_run}tar"}
  99090. +# We'll loop over all known methods to create a tar archive until one works.
  99091. +_am_tools='gnutar pax cpio none'
  99092. +
  99093. +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  99094. -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  99095. @@ -3886,7 +3970,7 @@
  99096. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  99097. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  99098. $as_echo_n "checking for $ac_word... " >&6; }
  99099. -if test "${ac_cv_prog_CC+set}" = set; then :
  99100. +if ${ac_cv_prog_CC+:} false; then :
  99101. $as_echo_n "(cached) " >&6
  99102. else
  99103. if test -n "$CC"; then
  99104. @@ -3898,7 +3982,7 @@
  99105. IFS=$as_save_IFS
  99106. test -z "$as_dir" && as_dir=.
  99107. for ac_exec_ext in '' $ac_executable_extensions; do
  99108. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  99109. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  99110. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  99111. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  99112. break 2
  99113. @@ -3926,7 +4010,7 @@
  99114. set dummy gcc; ac_word=$2
  99115. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  99116. $as_echo_n "checking for $ac_word... " >&6; }
  99117. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  99118. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  99119. $as_echo_n "(cached) " >&6
  99120. else
  99121. if test -n "$ac_ct_CC"; then
  99122. @@ -3938,7 +4022,7 @@
  99123. IFS=$as_save_IFS
  99124. test -z "$as_dir" && as_dir=.
  99125. for ac_exec_ext in '' $ac_executable_extensions; do
  99126. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  99127. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  99128. ac_cv_prog_ac_ct_CC="gcc"
  99129. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  99130. break 2
  99131. @@ -3979,7 +4063,7 @@
  99132. set dummy ${ac_tool_prefix}cc; ac_word=$2
  99133. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  99134. $as_echo_n "checking for $ac_word... " >&6; }
  99135. -if test "${ac_cv_prog_CC+set}" = set; then :
  99136. +if ${ac_cv_prog_CC+:} false; then :
  99137. $as_echo_n "(cached) " >&6
  99138. else
  99139. if test -n "$CC"; then
  99140. @@ -3991,7 +4075,7 @@
  99141. IFS=$as_save_IFS
  99142. test -z "$as_dir" && as_dir=.
  99143. for ac_exec_ext in '' $ac_executable_extensions; do
  99144. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  99145. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  99146. ac_cv_prog_CC="${ac_tool_prefix}cc"
  99147. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  99148. break 2
  99149. @@ -4019,7 +4103,7 @@
  99150. set dummy cc; ac_word=$2
  99151. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  99152. $as_echo_n "checking for $ac_word... " >&6; }
  99153. -if test "${ac_cv_prog_CC+set}" = set; then :
  99154. +if ${ac_cv_prog_CC+:} false; then :
  99155. $as_echo_n "(cached) " >&6
  99156. else
  99157. if test -n "$CC"; then
  99158. @@ -4032,7 +4116,7 @@
  99159. IFS=$as_save_IFS
  99160. test -z "$as_dir" && as_dir=.
  99161. for ac_exec_ext in '' $ac_executable_extensions; do
  99162. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  99163. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  99164. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  99165. ac_prog_rejected=yes
  99166. continue
  99167. @@ -4078,7 +4162,7 @@
  99168. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  99169. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  99170. $as_echo_n "checking for $ac_word... " >&6; }
  99171. -if test "${ac_cv_prog_CC+set}" = set; then :
  99172. +if ${ac_cv_prog_CC+:} false; then :
  99173. $as_echo_n "(cached) " >&6
  99174. else
  99175. if test -n "$CC"; then
  99176. @@ -4090,7 +4174,7 @@
  99177. IFS=$as_save_IFS
  99178. test -z "$as_dir" && as_dir=.
  99179. for ac_exec_ext in '' $ac_executable_extensions; do
  99180. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  99181. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  99182. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  99183. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  99184. break 2
  99185. @@ -4122,7 +4206,7 @@
  99186. set dummy $ac_prog; ac_word=$2
  99187. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  99188. $as_echo_n "checking for $ac_word... " >&6; }
  99189. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  99190. +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  99191. $as_echo_n "(cached) " >&6
  99192. else
  99193. if test -n "$ac_ct_CC"; then
  99194. @@ -4134,7 +4218,7 @@
  99195. IFS=$as_save_IFS
  99196. test -z "$as_dir" && as_dir=.
  99197. for ac_exec_ext in '' $ac_executable_extensions; do
  99198. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  99199. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  99200. ac_cv_prog_ac_ct_CC="$ac_prog"
  99201. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  99202. break 2
  99203. @@ -4405,7 +4489,7 @@
  99204. ac_clean_files=$ac_clean_files_save
  99205. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  99206. $as_echo_n "checking for suffix of object files... " >&6; }
  99207. -if test "${ac_cv_objext+set}" = set; then :
  99208. +if ${ac_cv_objext+:} false; then :
  99209. $as_echo_n "(cached) " >&6
  99210. else
  99211. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  99212. @@ -4456,7 +4540,7 @@
  99213. ac_objext=$OBJEXT
  99214. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  99215. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  99216. -if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  99217. +if ${ac_cv_c_compiler_gnu+:} false; then :
  99218. $as_echo_n "(cached) " >&6
  99219. else
  99220. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  99221. @@ -4493,7 +4577,7 @@
  99222. ac_save_CFLAGS=$CFLAGS
  99223. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  99224. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  99225. -if test "${ac_cv_prog_cc_g+set}" = set; then :
  99226. +if ${ac_cv_prog_cc_g+:} false; then :
  99227. $as_echo_n "(cached) " >&6
  99228. else
  99229. ac_save_c_werror_flag=$ac_c_werror_flag
  99230. @@ -4571,7 +4655,7 @@
  99231. fi
  99232. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  99233. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  99234. -if test "${ac_cv_prog_cc_c89+set}" = set; then :
  99235. +if ${ac_cv_prog_cc_c89+:} false; then :
  99236. $as_echo_n "(cached) " >&6
  99237. else
  99238. ac_cv_prog_cc_c89=no
  99239. @@ -4580,8 +4664,7 @@
  99240. /* end confdefs.h. */
  99241. #include <stdarg.h>
  99242. #include <stdio.h>
  99243. -#include <sys/types.h>
  99244. -#include <sys/stat.h>
  99245. +struct stat;
  99246. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  99247. struct buf { int x; };
  99248. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  99249. @@ -4684,7 +4767,7 @@
  99250. _am_result=none
  99251. # First try GNU make style include.
  99252. echo "include confinc" > confmf
  99253. -# Ignore all kinds of additional output from `make'.
  99254. +# Ignore all kinds of additional output from 'make'.
  99255. case `$am_make -s -f confmf 2> /dev/null` in #(
  99256. *the\ am__doit\ target*)
  99257. am__include=include
  99258. @@ -4717,6 +4800,7 @@
  99259. if test "x$enable_dependency_tracking" != xno; then
  99260. am_depcomp="$ac_aux_dir/depcomp"
  99261. AMDEPBACKSLASH='\'
  99262. + am__nodep='_no'
  99263. fi
  99264. if test "x$enable_dependency_tracking" != xno; then
  99265. AMDEP_TRUE=
  99266. @@ -4732,15 +4816,16 @@
  99267. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  99268. $as_echo_n "checking dependency style of $depcc... " >&6; }
  99269. -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  99270. +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  99271. $as_echo_n "(cached) " >&6
  99272. else
  99273. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  99274. # We make a subdir and do the tests there. Otherwise we can end up
  99275. # making bogus files that we don't know about and never remove. For
  99276. # instance it was reported that on HP-UX the gcc test will end up
  99277. - # making a dummy file named `D' -- because `-MD' means `put the output
  99278. - # in D'.
  99279. + # making a dummy file named 'D' -- because '-MD' means "put the output
  99280. + # in D".
  99281. + rm -rf conftest.dir
  99282. mkdir conftest.dir
  99283. # Copy depcomp to subdir because otherwise we won't find it if we're
  99284. # using a relative directory.
  99285. @@ -4774,16 +4859,16 @@
  99286. : > sub/conftest.c
  99287. for i in 1 2 3 4 5 6; do
  99288. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  99289. - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  99290. - # Solaris 8's {/usr,}/bin/sh.
  99291. - touch sub/conftst$i.h
  99292. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  99293. + # Solaris 10 /bin/sh.
  99294. + echo '/* dummy */' > sub/conftst$i.h
  99295. done
  99296. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  99297. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  99298. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  99299. # mode. It turns out that the SunPro C++ compiler does not properly
  99300. - # handle `-M -o', and we need to detect this. Also, some Intel
  99301. - # versions had trouble with output in subdirs
  99302. + # handle '-M -o', and we need to detect this. Also, some Intel
  99303. + # versions had trouble with output in subdirs.
  99304. am__obj=sub/conftest.${OBJEXT-o}
  99305. am__minus_obj="-o $am__obj"
  99306. case $depmode in
  99307. @@ -4792,16 +4877,16 @@
  99308. test "$am__universal" = false || continue
  99309. ;;
  99310. nosideeffect)
  99311. - # after this tag, mechanisms are not by side-effect, so they'll
  99312. - # only be used when explicitly requested
  99313. + # After this tag, mechanisms are not by side-effect, so they'll
  99314. + # only be used when explicitly requested.
  99315. if test "x$enable_dependency_tracking" = xyes; then
  99316. continue
  99317. else
  99318. break
  99319. fi
  99320. ;;
  99321. - msvisualcpp | msvcmsys)
  99322. - # This compiler won't grok `-c -o', but also, the minuso test has
  99323. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  99324. + # This compiler won't grok '-c -o', but also, the minuso test has
  99325. # not run yet. These depmodes are late enough in the game, and
  99326. # so weak that their functioning should not be impacted.
  99327. am__obj=conftest.${OBJEXT-o}
  99328. @@ -4861,7 +4946,7 @@
  99329. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  99330. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  99331. $as_echo_n "checking for $ac_word... " >&6; }
  99332. -if test "${ac_cv_prog_RANLIB+set}" = set; then :
  99333. +if ${ac_cv_prog_RANLIB+:} false; then :
  99334. $as_echo_n "(cached) " >&6
  99335. else
  99336. if test -n "$RANLIB"; then
  99337. @@ -4873,7 +4958,7 @@
  99338. IFS=$as_save_IFS
  99339. test -z "$as_dir" && as_dir=.
  99340. for ac_exec_ext in '' $ac_executable_extensions; do
  99341. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  99342. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  99343. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  99344. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  99345. break 2
  99346. @@ -4901,7 +4986,7 @@
  99347. set dummy ranlib; ac_word=$2
  99348. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  99349. $as_echo_n "checking for $ac_word... " >&6; }
  99350. -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  99351. +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  99352. $as_echo_n "(cached) " >&6
  99353. else
  99354. if test -n "$ac_ct_RANLIB"; then
  99355. @@ -4913,7 +4998,7 @@
  99356. IFS=$as_save_IFS
  99357. test -z "$as_dir" && as_dir=.
  99358. for ac_exec_ext in '' $ac_executable_extensions; do
  99359. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  99360. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  99361. ac_cv_prog_ac_ct_RANLIB="ranlib"
  99362. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  99363. break 2
  99364. @@ -4957,7 +5042,7 @@
  99365. fi
  99366. set dummy $CC; ac_cc=`$as_echo "$2" |
  99367. sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
  99368. -if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
  99369. +if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
  99370. $as_echo_n "(cached) " >&6
  99371. else
  99372. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  99373. @@ -5080,7 +5165,7 @@
  99374. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  99375. $as_echo_n "checking build system type... " >&6; }
  99376. -if test "${ac_cv_build+set}" = set; then :
  99377. +if ${ac_cv_build+:} false; then :
  99378. $as_echo_n "(cached) " >&6
  99379. else
  99380. ac_build_alias=$build_alias
  99381. @@ -5114,7 +5199,7 @@
  99382. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  99383. $as_echo_n "checking host system type... " >&6; }
  99384. -if test "${ac_cv_host+set}" = set; then :
  99385. +if ${ac_cv_host+:} false; then :
  99386. $as_echo_n "(cached) " >&6
  99387. else
  99388. if test "x$host_alias" = x; then
  99389. @@ -5158,7 +5243,7 @@
  99390. CPP=
  99391. fi
  99392. if test -z "$CPP"; then
  99393. - if test "${ac_cv_prog_CPP+set}" = set; then :
  99394. + if ${ac_cv_prog_CPP+:} false; then :
  99395. $as_echo_n "(cached) " >&6
  99396. else
  99397. # Double quotes because CPP needs to be expanded
  99398. @@ -5188,7 +5273,7 @@
  99399. # Broken: fails on valid input.
  99400. continue
  99401. fi
  99402. -rm -f conftest.err conftest.$ac_ext
  99403. +rm -f conftest.err conftest.i conftest.$ac_ext
  99404. # OK, works on sane cases. Now check whether nonexistent headers
  99405. # can be detected and how.
  99406. @@ -5204,11 +5289,11 @@
  99407. ac_preproc_ok=:
  99408. break
  99409. fi
  99410. -rm -f conftest.err conftest.$ac_ext
  99411. +rm -f conftest.err conftest.i conftest.$ac_ext
  99412. done
  99413. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  99414. -rm -f conftest.err conftest.$ac_ext
  99415. +rm -f conftest.i conftest.err conftest.$ac_ext
  99416. if $ac_preproc_ok; then :
  99417. break
  99418. fi
  99419. @@ -5247,7 +5332,7 @@
  99420. # Broken: fails on valid input.
  99421. continue
  99422. fi
  99423. -rm -f conftest.err conftest.$ac_ext
  99424. +rm -f conftest.err conftest.i conftest.$ac_ext
  99425. # OK, works on sane cases. Now check whether nonexistent headers
  99426. # can be detected and how.
  99427. @@ -5263,11 +5348,11 @@
  99428. ac_preproc_ok=:
  99429. break
  99430. fi
  99431. -rm -f conftest.err conftest.$ac_ext
  99432. +rm -f conftest.err conftest.i conftest.$ac_ext
  99433. done
  99434. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  99435. -rm -f conftest.err conftest.$ac_ext
  99436. +rm -f conftest.i conftest.err conftest.$ac_ext
  99437. if $ac_preproc_ok; then :
  99438. else
  99439. @@ -5286,7 +5371,7 @@
  99440. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  99441. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  99442. -if test "${ac_cv_path_GREP+set}" = set; then :
  99443. +if ${ac_cv_path_GREP+:} false; then :
  99444. $as_echo_n "(cached) " >&6
  99445. else
  99446. if test -z "$GREP"; then
  99447. @@ -5300,7 +5385,7 @@
  99448. for ac_prog in grep ggrep; do
  99449. for ac_exec_ext in '' $ac_executable_extensions; do
  99450. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  99451. - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  99452. + as_fn_executable_p "$ac_path_GREP" || continue
  99453. # Check for GNU ac_path_GREP and select it if it is found.
  99454. # Check for GNU $ac_path_GREP
  99455. case `"$ac_path_GREP" --version 2>&1` in
  99456. @@ -5349,7 +5434,7 @@
  99457. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  99458. $as_echo_n "checking for egrep... " >&6; }
  99459. -if test "${ac_cv_path_EGREP+set}" = set; then :
  99460. +if ${ac_cv_path_EGREP+:} false; then :
  99461. $as_echo_n "(cached) " >&6
  99462. else
  99463. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  99464. @@ -5366,7 +5451,7 @@
  99465. for ac_prog in egrep; do
  99466. for ac_exec_ext in '' $ac_executable_extensions; do
  99467. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  99468. - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  99469. + as_fn_executable_p "$ac_path_EGREP" || continue
  99470. # Check for GNU ac_path_EGREP and select it if it is found.
  99471. # Check for GNU $ac_path_EGREP
  99472. case `"$ac_path_EGREP" --version 2>&1` in
  99473. @@ -5416,7 +5501,7 @@
  99474. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  99475. $as_echo_n "checking for ANSI C header files... " >&6; }
  99476. -if test "${ac_cv_header_stdc+set}" = set; then :
  99477. +if ${ac_cv_header_stdc+:} false; then :
  99478. $as_echo_n "(cached) " >&6
  99479. else
  99480. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  99481. @@ -5547,7 +5632,7 @@
  99482. ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
  99483. -if test "x$ac_cv_header_minix_config_h" = x""yes; then :
  99484. +if test "x$ac_cv_header_minix_config_h" = xyes; then :
  99485. MINIX=yes
  99486. else
  99487. MINIX=
  99488. @@ -5577,7 +5662,7 @@
  99489. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
  99490. $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
  99491. -if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
  99492. +if ${ac_cv_safe_to_define___extensions__+:} false; then :
  99493. $as_echo_n "(cached) " >&6
  99494. else
  99495. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  99496. @@ -5622,7 +5707,7 @@
  99497. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
  99498. $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
  99499. -if test "${ac_cv_sys_largefile_source+set}" = set; then :
  99500. +if ${ac_cv_sys_largefile_source+:} false; then :
  99501. $as_echo_n "(cached) " >&6
  99502. else
  99503. while :; do
  99504. @@ -5721,7 +5806,7 @@
  99505. *) :
  99506. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
  99507. $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
  99508. -if test "${ac_cv_prog_cc_c99+set}" = set; then :
  99509. +if ${ac_cv_prog_cc_c99+:} false; then :
  99510. $as_echo_n "(cached) " >&6
  99511. else
  99512. ac_cv_prog_cc_c99=no
  99513. @@ -5865,7 +5950,7 @@
  99514. return 0;
  99515. }
  99516. _ACEOF
  99517. -for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
  99518. +for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
  99519. do
  99520. CC="$ac_save_CC $ac_arg"
  99521. if ac_fn_c_try_compile "$LINENO"; then :
  99522. @@ -5896,7 +5981,7 @@
  99523. else
  99524. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  99525. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  99526. -if test "${ac_cv_prog_cc_c89+set}" = set; then :
  99527. +if ${ac_cv_prog_cc_c89+:} false; then :
  99528. $as_echo_n "(cached) " >&6
  99529. else
  99530. ac_cv_prog_cc_c89=no
  99531. @@ -5905,8 +5990,7 @@
  99532. /* end confdefs.h. */
  99533. #include <stdarg.h>
  99534. #include <stdio.h>
  99535. -#include <sys/types.h>
  99536. -#include <sys/stat.h>
  99537. +struct stat;
  99538. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  99539. struct buf { int x; };
  99540. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  99541. @@ -5992,7 +6076,7 @@
  99542. esac
  99543. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
  99544. $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
  99545. - if test "${ac_cv_prog_cc_stdc+set}" = set; then :
  99546. + if ${ac_cv_prog_cc_stdc+:} false; then :
  99547. $as_echo_n "(cached) " >&6
  99548. fi
  99549. @@ -6462,7 +6546,7 @@
  99550. if test "$gl_gcc_warnings" = yes; then
  99551. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Werror" >&5
  99552. $as_echo_n "checking whether compiler handles -Werror... " >&6; }
  99553. -if test "${gl_cv_warn__Werror+set}" = set; then :
  99554. +if ${gl_cv_warn__Werror+:} false; then :
  99555. $as_echo_n "(cached) " >&6
  99556. else
  99557. @@ -6484,13 +6568,13 @@
  99558. else
  99559. gl_cv_warn__Werror=no
  99560. fi
  99561. -rm -f conftest.err conftest.$ac_ext
  99562. +rm -f conftest.err conftest.i conftest.$ac_ext
  99563. CPPFLAGS="$save_CPPFLAGS"
  99564. fi
  99565. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Werror" >&5
  99566. $as_echo "$gl_cv_warn__Werror" >&6; }
  99567. -if test "x$gl_cv_warn__Werror" = x""yes; then :
  99568. +if test "x$gl_cv_warn__Werror" = xyes; then :
  99569. as_fn_append WERROR_CFLAGS " -Werror"
  99570. fi
  99571. @@ -6604,7 +6688,7 @@
  99572. as_gl_Warn=`$as_echo "gl_cv_warn_$w" | $as_tr_sh`
  99573. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles $w" >&5
  99574. $as_echo_n "checking whether compiler handles $w... " >&6; }
  99575. -if eval "test \"\${$as_gl_Warn+set}\"" = set; then :
  99576. +if eval \${$as_gl_Warn+:} false; then :
  99577. $as_echo_n "(cached) " >&6
  99578. else
  99579. @@ -6626,7 +6710,7 @@
  99580. else
  99581. eval "$as_gl_Warn=no"
  99582. fi
  99583. -rm -f conftest.err conftest.$ac_ext
  99584. +rm -f conftest.err conftest.i conftest.$ac_ext
  99585. CPPFLAGS="$save_CPPFLAGS"
  99586. fi
  99587. @@ -6641,7 +6725,7 @@
  99588. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fdiagnostics-show-option" >&5
  99589. $as_echo_n "checking whether compiler handles -fdiagnostics-show-option... " >&6; }
  99590. -if test "${gl_cv_warn__fdiagnostics_show_option+set}" = set; then :
  99591. +if ${gl_cv_warn__fdiagnostics_show_option+:} false; then :
  99592. $as_echo_n "(cached) " >&6
  99593. else
  99594. @@ -6663,19 +6747,19 @@
  99595. else
  99596. gl_cv_warn__fdiagnostics_show_option=no
  99597. fi
  99598. -rm -f conftest.err conftest.$ac_ext
  99599. +rm -f conftest.err conftest.i conftest.$ac_ext
  99600. CPPFLAGS="$save_CPPFLAGS"
  99601. fi
  99602. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fdiagnostics_show_option" >&5
  99603. $as_echo "$gl_cv_warn__fdiagnostics_show_option" >&6; }
  99604. -if test "x$gl_cv_warn__fdiagnostics_show_option" = x""yes; then :
  99605. +if test "x$gl_cv_warn__fdiagnostics_show_option" = xyes; then :
  99606. as_fn_append WARN_CFLAGS " -fdiagnostics-show-option"
  99607. fi
  99608. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -funit-at-a-time" >&5
  99609. $as_echo_n "checking whether compiler handles -funit-at-a-time... " >&6; }
  99610. -if test "${gl_cv_warn__funit_at_a_time+set}" = set; then :
  99611. +if ${gl_cv_warn__funit_at_a_time+:} false; then :
  99612. $as_echo_n "(cached) " >&6
  99613. else
  99614. @@ -6697,13 +6781,13 @@
  99615. else
  99616. gl_cv_warn__funit_at_a_time=no
  99617. fi
  99618. -rm -f conftest.err conftest.$ac_ext
  99619. +rm -f conftest.err conftest.i conftest.$ac_ext
  99620. CPPFLAGS="$save_CPPFLAGS"
  99621. fi
  99622. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__funit_at_a_time" >&5
  99623. $as_echo "$gl_cv_warn__funit_at_a_time" >&6; }
  99624. -if test "x$gl_cv_warn__funit_at_a_time" = x""yes; then :
  99625. +if test "x$gl_cv_warn__funit_at_a_time" = xyes; then :
  99626. as_fn_append WARN_CFLAGS " -funit-at-a-time"
  99627. fi
  99628. @@ -6721,7 +6805,7 @@
  99629. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
  99630. $as_echo_n "checking for unsigned long long int... " >&6; }
  99631. -if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :
  99632. +if ${ac_cv_type_unsigned_long_long_int+:} false; then :
  99633. $as_echo_n "(cached) " >&6
  99634. else
  99635. ac_cv_type_unsigned_long_long_int=yes
  99636. @@ -6779,7 +6863,7 @@
  99637. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
  99638. $as_echo_n "checking for long long int... " >&6; }
  99639. -if test "${ac_cv_type_long_long_int+set}" = set; then :
  99640. +if ${ac_cv_type_long_long_int+:} false; then :
  99641. $as_echo_n "(cached) " >&6
  99642. else
  99643. ac_cv_type_long_long_int=yes
  99644. @@ -6838,7 +6922,7 @@
  99645. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
  99646. $as_echo_n "checking for unsigned long long int... " >&6; }
  99647. -if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :
  99648. +if ${ac_cv_type_unsigned_long_long_int+:} false; then :
  99649. $as_echo_n "(cached) " >&6
  99650. else
  99651. ac_cv_type_unsigned_long_long_int=yes
  99652. @@ -6907,11 +6991,22 @@
  99653. LIBC_FATAL_STDERR_=1
  99654. export LIBC_FATAL_STDERR_
  99655. +ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  99656. +if test "x$ac_cv_type_size_t" = xyes; then :
  99657. +
  99658. +else
  99659. +
  99660. +cat >>confdefs.h <<_ACEOF
  99661. +#define size_t unsigned int
  99662. +_ACEOF
  99663. +
  99664. +fi
  99665. +
  99666. # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  99667. # for constant arguments. Useless!
  99668. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
  99669. $as_echo_n "checking for working alloca.h... " >&6; }
  99670. -if test "${ac_cv_working_alloca_h+set}" = set; then :
  99671. +if ${ac_cv_working_alloca_h+:} false; then :
  99672. $as_echo_n "(cached) " >&6
  99673. else
  99674. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  99675. @@ -6944,7 +7039,7 @@
  99676. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
  99677. $as_echo_n "checking for alloca... " >&6; }
  99678. -if test "${ac_cv_func_alloca_works+set}" = set; then :
  99679. +if ${ac_cv_func_alloca_works+:} false; then :
  99680. $as_echo_n "(cached) " >&6
  99681. else
  99682. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  99683. @@ -6963,7 +7058,7 @@
  99684. #pragma alloca
  99685. # else
  99686. # ifndef alloca /* predefined by HP cc +Olibcalls */
  99687. -char *alloca ();
  99688. +void *alloca (size_t);
  99689. # endif
  99690. # endif
  99691. # endif
  99692. @@ -7011,7 +7106,7 @@
  99693. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
  99694. $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
  99695. -if test "${ac_cv_os_cray+set}" = set; then :
  99696. +if ${ac_cv_os_cray+:} false; then :
  99697. $as_echo_n "(cached) " >&6
  99698. else
  99699. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  99700. @@ -7052,7 +7147,7 @@
  99701. { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
  99702. $as_echo_n "checking stack direction for C alloca... " >&6; }
  99703. -if test "${ac_cv_c_stack_direction+set}" = set; then :
  99704. +if ${ac_cv_c_stack_direction+:} false; then :
  99705. $as_echo_n "(cached) " >&6
  99706. else
  99707. if test "$cross_compiling" = yes; then :
  99708. @@ -7062,23 +7157,20 @@
  99709. /* end confdefs.h. */
  99710. $ac_includes_default
  99711. int
  99712. -find_stack_direction ()
  99713. +find_stack_direction (int *addr, int depth)
  99714. {
  99715. - static char *addr = 0;
  99716. - auto char dummy;
  99717. - if (addr == 0)
  99718. - {
  99719. - addr = &dummy;
  99720. - return find_stack_direction ();
  99721. - }
  99722. - else
  99723. - return (&dummy > addr) ? 1 : -1;
  99724. + int dir, dummy = 0;
  99725. + if (! addr)
  99726. + addr = &dummy;
  99727. + *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
  99728. + dir = depth ? find_stack_direction (addr, depth - 1) : 0;
  99729. + return dir + dummy;
  99730. }
  99731. int
  99732. -main ()
  99733. +main (int argc, char **argv)
  99734. {
  99735. - return find_stack_direction () < 0;
  99736. + return find_stack_direction (0, argc + !argv + 20) < 0;
  99737. }
  99738. _ACEOF
  99739. if ac_fn_c_try_run "$LINENO"; then :
  99740. @@ -7196,7 +7288,7 @@
  99741. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <wchar.h> uses 'inline' correctly" >&5
  99742. $as_echo_n "checking whether <wchar.h> uses 'inline' correctly... " >&6; }
  99743. -if test "${gl_cv_header_wchar_h_correct_inline+set}" = set; then :
  99744. +if ${gl_cv_header_wchar_h_correct_inline+:} false; then :
  99745. $as_echo_n "(cached) " >&6
  99746. else
  99747. gl_cv_header_wchar_h_correct_inline=yes
  99748. @@ -7287,7 +7379,7 @@
  99749. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
  99750. $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
  99751. -if test "${am_cv_langinfo_codeset+set}" = set; then :
  99752. +if ${am_cv_langinfo_codeset+:} false; then :
  99753. $as_echo_n "(cached) " >&6
  99754. else
  99755. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  99756. @@ -7323,7 +7415,7 @@
  99757. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  99758. $as_echo_n "checking for a traditional french locale... " >&6; }
  99759. -if test "${gt_cv_locale_fr+set}" = set; then :
  99760. +if ${gt_cv_locale_fr+:} false; then :
  99761. $as_echo_n "(cached) " >&6
  99762. else
  99763. @@ -7498,7 +7590,7 @@
  99764. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working C stack overflow detection" >&5
  99765. $as_echo_n "checking for working C stack overflow detection... " >&6; }
  99766. -if test "${ac_cv_sys_stack_overflow_works+set}" = set; then :
  99767. +if ${ac_cv_sys_stack_overflow_works+:} false; then :
  99768. $as_echo_n "(cached) " >&6
  99769. else
  99770. if test "$cross_compiling" = yes; then :
  99771. @@ -7612,7 +7704,7 @@
  99772. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct stack_t interpretation" >&5
  99773. $as_echo_n "checking for correct stack_t interpretation... " >&6; }
  99774. -if test "${gl_cv_sigaltstack_low_base+set}" = set; then :
  99775. +if ${gl_cv_sigaltstack_low_base+:} false; then :
  99776. $as_echo_n "(cached) " >&6
  99777. else
  99778. @@ -7689,7 +7781,7 @@
  99779. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for precise C stack overflow detection" >&5
  99780. $as_echo_n "checking for precise C stack overflow detection... " >&6; }
  99781. -if test "${ac_cv_sys_xsi_stack_overflow_heuristic+set}" = set; then :
  99782. +if ${ac_cv_sys_xsi_stack_overflow_heuristic+:} false; then :
  99783. $as_echo_n "(cached) " >&6
  99784. else
  99785. if test "$cross_compiling" = yes; then :
  99786. @@ -7909,7 +8001,7 @@
  99787. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  99788. $as_echo_n "checking for non-GNU ld... " >&6; }
  99789. fi
  99790. -if test "${acl_cv_path_LD+set}" = set; then :
  99791. +if ${acl_cv_path_LD+:} false; then :
  99792. $as_echo_n "(cached) " >&6
  99793. else
  99794. if test -z "$LD"; then
  99795. @@ -7946,7 +8038,7 @@
  99796. test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  99797. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  99798. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  99799. -if test "${acl_cv_prog_gnu_ld+set}" = set; then :
  99800. +if ${acl_cv_prog_gnu_ld+:} false; then :
  99801. $as_echo_n "(cached) " >&6
  99802. else
  99803. # I'd rather use --version here, but apparently some GNU ld's only accept -v.
  99804. @@ -7966,7 +8058,7 @@
  99805. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
  99806. $as_echo_n "checking for shared library run path origin... " >&6; }
  99807. -if test "${acl_cv_rpath+set}" = set; then :
  99808. +if ${acl_cv_rpath+:} false; then :
  99809. $as_echo_n "(cached) " >&6
  99810. else
  99811. @@ -8004,7 +8096,7 @@
  99812. solaris*)
  99813. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
  99814. $as_echo_n "checking for 64-bit host... " >&6; }
  99815. -if test "${gl_cv_solaris_64bit+set}" = set; then :
  99816. +if ${gl_cv_solaris_64bit+:} false; then :
  99817. $as_echo_n "(cached) " >&6
  99818. else
  99819. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  99820. @@ -8555,7 +8647,7 @@
  99821. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigsegv" >&5
  99822. $as_echo_n "checking for libsigsegv... " >&6; }
  99823. -if test "${ac_cv_libsigsegv+set}" = set; then :
  99824. +if ${ac_cv_libsigsegv+:} false; then :
  99825. $as_echo_n "(cached) " >&6
  99826. else
  99827. @@ -8626,7 +8718,7 @@
  99828. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
  99829. $as_echo_n "checking whether // is distinct from /... " >&6; }
  99830. -if test "${gl_cv_double_slash_root+set}" = set; then :
  99831. +if ${gl_cv_double_slash_root+:} false; then :
  99832. $as_echo_n "(cached) " >&6
  99833. else
  99834. if test x"$cross_compiling" = xyes ; then
  99835. @@ -8667,7 +8759,7 @@
  99836. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether realpath works" >&5
  99837. $as_echo_n "checking whether realpath works... " >&6; }
  99838. -if test "${gl_cv_func_realpath_works+set}" = set; then :
  99839. +if ${gl_cv_func_realpath_works+:} false; then :
  99840. $as_echo_n "(cached) " >&6
  99841. else
  99842. @@ -8957,7 +9049,7 @@
  99843. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5
  99844. $as_echo_n "checking if environ is properly declared... " >&6; }
  99845. - if test "${gt_cv_var_environ_declaration+set}" = set; then :
  99846. + if ${gt_cv_var_environ_declaration+:} false; then :
  99847. $as_echo_n "(cached) " >&6
  99848. else
  99849. @@ -8998,7 +9090,7 @@
  99850. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
  99851. $as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
  99852. -if test "${gl_cv_have_include_next+set}" = set; then :
  99853. +if ${gl_cv_have_include_next+:} false; then :
  99854. $as_echo_n "(cached) " >&6
  99855. else
  99856. rm -rf conftestd1a conftestd1b conftestd2
  99857. @@ -9078,7 +9170,7 @@
  99858. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5
  99859. $as_echo_n "checking whether system header files limit the line length... " >&6; }
  99860. -if test "${gl_cv_pragma_columns+set}" = set; then :
  99861. +if ${gl_cv_pragma_columns+:} false; then :
  99862. $as_echo_n "(cached) " >&6
  99863. else
  99864. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  99865. @@ -9112,7 +9204,7 @@
  99866. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5
  99867. $as_echo_n "checking for complete errno.h... " >&6; }
  99868. -if test "${gl_cv_header_errno_h_complete+set}" = set; then :
  99869. +if ${gl_cv_header_errno_h_complete+:} false; then :
  99870. $as_echo_n "(cached) " >&6
  99871. else
  99872. @@ -9183,7 +9275,7 @@
  99873. else
  99874. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <errno.h>" >&5
  99875. $as_echo_n "checking absolute name of <errno.h>... " >&6; }
  99876. -if test "${gl_cv_next_errno_h+set}" = set; then :
  99877. +if ${gl_cv_next_errno_h+:} false; then :
  99878. $as_echo_n "(cached) " >&6
  99879. else
  99880. @@ -9230,7 +9322,7 @@
  99881. if test -n "$ERRNO_H"; then
  99882. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5
  99883. $as_echo_n "checking for EMULTIHOP value... " >&6; }
  99884. -if test "${gl_cv_header_errno_h_EMULTIHOP+set}" = set; then :
  99885. +if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then :
  99886. $as_echo_n "(cached) " >&6
  99887. else
  99888. @@ -9301,7 +9393,7 @@
  99889. if test -n "$ERRNO_H"; then
  99890. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5
  99891. $as_echo_n "checking for ENOLINK value... " >&6; }
  99892. -if test "${gl_cv_header_errno_h_ENOLINK+set}" = set; then :
  99893. +if ${gl_cv_header_errno_h_ENOLINK+:} false; then :
  99894. $as_echo_n "(cached) " >&6
  99895. else
  99896. @@ -9372,7 +9464,7 @@
  99897. if test -n "$ERRNO_H"; then
  99898. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5
  99899. $as_echo_n "checking for EOVERFLOW value... " >&6; }
  99900. -if test "${gl_cv_header_errno_h_EOVERFLOW+set}" = set; then :
  99901. +if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then :
  99902. $as_echo_n "(cached) " >&6
  99903. else
  99904. @@ -9441,7 +9533,7 @@
  99905. ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
  99906. -if test "x$ac_cv_have_decl_strerror_r" = x""yes; then :
  99907. +if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
  99908. ac_have_decl=1
  99909. else
  99910. ac_have_decl=0
  99911. @@ -9454,7 +9546,7 @@
  99912. for ac_func in strerror_r
  99913. do :
  99914. ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
  99915. -if test "x$ac_cv_func_strerror_r" = x""yes; then :
  99916. +if test "x$ac_cv_func_strerror_r" = xyes; then :
  99917. cat >>confdefs.h <<_ACEOF
  99918. #define HAVE_STRERROR_R 1
  99919. _ACEOF
  99920. @@ -9464,7 +9556,7 @@
  99921. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
  99922. $as_echo_n "checking whether strerror_r returns char *... " >&6; }
  99923. -if test "${ac_cv_func_strerror_r_char_p+set}" = set; then :
  99924. +if ${ac_cv_func_strerror_r_char_p+:} false; then :
  99925. $as_echo_n "(cached) " >&6
  99926. else
  99927. @@ -9534,7 +9626,7 @@
  99928. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  99929. $as_echo_n "checking for inline... " >&6; }
  99930. -if test "${ac_cv_c_inline+set}" = set; then :
  99931. +if ${ac_cv_c_inline+:} false; then :
  99932. $as_echo_n "(cached) " >&6
  99933. else
  99934. ac_cv_c_inline=no
  99935. @@ -9578,7 +9670,7 @@
  99936. XGETTEXT_EXTRA_OPTIONS=
  99937. ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
  99938. -if test "x$ac_cv_type_mode_t" = x""yes; then :
  99939. +if test "x$ac_cv_type_mode_t" = xyes; then :
  99940. else
  99941. @@ -9591,7 +9683,7 @@
  99942. ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include <signal.h>
  99943. "
  99944. -if test "x$ac_cv_type_sig_atomic_t" = x""yes; then :
  99945. +if test "x$ac_cv_type_sig_atomic_t" = xyes; then :
  99946. cat >>confdefs.h <<_ACEOF
  99947. #define HAVE_SIG_ATOMIC_T 1
  99948. @@ -9706,7 +9798,7 @@
  99949. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5
  99950. $as_echo_n "checking for working fcntl.h... " >&6; }
  99951. -if test "${gl_cv_header_working_fcntl_h+set}" = set; then :
  99952. +if ${gl_cv_header_working_fcntl_h+:} false; then :
  99953. $as_echo_n "(cached) " >&6
  99954. else
  99955. if test "$cross_compiling" = yes; then :
  99956. @@ -9833,7 +9925,7 @@
  99957. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5
  99958. $as_echo_n "checking for fseeko... " >&6; }
  99959. -if test "${gl_cv_func_fseeko+set}" = set; then :
  99960. +if ${gl_cv_func_fseeko+:} false; then :
  99961. $as_echo_n "(cached) " >&6
  99962. else
  99963. @@ -9980,7 +10072,7 @@
  99964. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp() can be used without linking with libm" >&5
  99965. $as_echo_n "checking whether frexp() can be used without linking with libm... " >&6; }
  99966. -if test "${gl_cv_func_frexp_no_libm+set}" = set; then :
  99967. +if ${gl_cv_func_frexp_no_libm+:} false; then :
  99968. $as_echo_n "(cached) " >&6
  99969. else
  99970. @@ -10011,7 +10103,7 @@
  99971. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdin defaults to large file offsets" >&5
  99972. $as_echo_n "checking whether stdin defaults to large file offsets... " >&6; }
  99973. -if test "${gl_cv_var_stdin_large_offset+set}" = set; then :
  99974. +if ${gl_cv_var_stdin_large_offset+:} false; then :
  99975. $as_echo_n "(cached) " >&6
  99976. else
  99977. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  99978. @@ -10045,7 +10137,7 @@
  99979. $as_echo "$gl_cv_var_stdin_large_offset" >&6; }
  99980. ac_fn_c_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default"
  99981. -if test "x$ac_cv_have_decl_fseeko" = x""yes; then :
  99982. +if test "x$ac_cv_have_decl_fseeko" = xyes; then :
  99983. ac_have_decl=1
  99984. else
  99985. ac_have_decl=0
  99986. @@ -10056,7 +10148,7 @@
  99987. _ACEOF
  99988. ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default"
  99989. -if test "x$ac_cv_have_decl_ftello" = x""yes; then :
  99990. +if test "x$ac_cv_have_decl_ftello" = xyes; then :
  99991. ac_have_decl=1
  99992. else
  99993. ac_have_decl=0
  99994. @@ -10088,7 +10180,7 @@
  99995. else
  99996. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <getopt.h>" >&5
  99997. $as_echo_n "checking absolute name of <getopt.h>... " >&6; }
  99998. -if test "${gl_cv_next_getopt_h+set}" = set; then :
  99999. +if ${gl_cv_next_getopt_h+:} false; then :
  100000. $as_echo_n "(cached) " >&6
  100001. else
  100002. @@ -10147,7 +10239,7 @@
  100003. for ac_header in getopt.h
  100004. do :
  100005. ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
  100006. -if test "x$ac_cv_header_getopt_h" = x""yes; then :
  100007. +if test "x$ac_cv_header_getopt_h" = xyes; then :
  100008. cat >>confdefs.h <<_ACEOF
  100009. #define HAVE_GETOPT_H 1
  100010. _ACEOF
  100011. @@ -10164,7 +10256,7 @@
  100012. for ac_func in getopt_long_only
  100013. do :
  100014. ac_fn_c_check_func "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only"
  100015. -if test "x$ac_cv_func_getopt_long_only" = x""yes; then :
  100016. +if test "x$ac_cv_func_getopt_long_only" = xyes; then :
  100017. cat >>confdefs.h <<_ACEOF
  100018. #define HAVE_GETOPT_LONG_ONLY 1
  100019. _ACEOF
  100020. @@ -10179,7 +10271,7 @@
  100021. if test -z "$gl_replace_getopt"; then
  100022. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5
  100023. $as_echo_n "checking whether getopt is POSIX compatible... " >&6; }
  100024. -if test "${gl_cv_func_getopt_posix+set}" = set; then :
  100025. +if ${gl_cv_func_getopt_posix+:} false; then :
  100026. $as_echo_n "(cached) " >&6
  100027. else
  100028. @@ -10337,7 +10429,7 @@
  100029. if test -z "$gl_replace_getopt" && test $gl_getopt_required = GNU; then
  100030. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5
  100031. $as_echo_n "checking for working GNU getopt function... " >&6; }
  100032. -if test "${gl_cv_func_getopt_gnu+set}" = set; then :
  100033. +if ${gl_cv_func_getopt_gnu+:} false; then :
  100034. $as_echo_n "(cached) " >&6
  100035. else
  100036. # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the
  100037. @@ -10449,7 +10541,7 @@
  100038. fi
  100039. ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
  100040. -if test "x$ac_cv_have_decl_getenv" = x""yes; then :
  100041. +if test "x$ac_cv_have_decl_getenv" = xyes; then :
  100042. ac_have_decl=1
  100043. else
  100044. ac_have_decl=0
  100045. @@ -10505,7 +10597,7 @@
  100046. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
  100047. $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
  100048. -if test "${ac_cv_c_restrict+set}" = set; then :
  100049. +if ${ac_cv_c_restrict+:} false; then :
  100050. $as_echo_n "(cached) " >&6
  100051. else
  100052. ac_cv_c_restrict=no
  100053. @@ -10576,7 +10668,7 @@
  100054. else
  100055. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/time.h>" >&5
  100056. $as_echo_n "checking absolute name of <sys/time.h>... " >&6; }
  100057. -if test "${gl_cv_next_sys_time_h+set}" = set; then :
  100058. +if ${gl_cv_next_sys_time_h+:} false; then :
  100059. $as_echo_n "(cached) " >&6
  100060. else
  100061. @@ -10629,7 +10721,7 @@
  100062. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
  100063. $as_echo_n "checking for struct timeval... " >&6; }
  100064. -if test "${gl_cv_sys_struct_timeval+set}" = set; then :
  100065. +if ${gl_cv_sys_struct_timeval+:} false; then :
  100066. $as_echo_n "(cached) " >&6
  100067. else
  100068. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100069. @@ -10670,7 +10762,7 @@
  100070. { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
  100071. $as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
  100072. -if test "${gl_cv_cc_float_expbit0+set}" = set; then :
  100073. +if ${gl_cv_cc_float_expbit0+:} false; then :
  100074. $as_echo_n "(cached) " >&6
  100075. else
  100076. @@ -10779,7 +10871,7 @@
  100077. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  100078. $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  100079. -if test "${ac_cv_c_bigendian+set}" = set; then :
  100080. +if ${ac_cv_c_bigendian+:} false; then :
  100081. $as_echo_n "(cached) " >&6
  100082. else
  100083. ac_cv_c_bigendian=unknown
  100084. @@ -11010,7 +11102,7 @@
  100085. ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
  100086. -if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then :
  100087. +if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
  100088. ac_have_decl=1
  100089. else
  100090. ac_have_decl=0
  100091. @@ -11023,7 +11115,7 @@
  100092. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library >= 2.1 or uClibc" >&5
  100093. $as_echo_n "checking whether we are using the GNU C Library >= 2.1 or uClibc... " >&6; }
  100094. -if test "${ac_cv_gnu_library_2_1+set}" = set; then :
  100095. +if ${ac_cv_gnu_library_2_1+:} false; then :
  100096. $as_echo_n "(cached) " >&6
  100097. else
  100098. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100099. @@ -11067,7 +11159,7 @@
  100100. if test "$gl_use_threads" != no; then
  100101. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5
  100102. $as_echo_n "checking whether imported symbols can be declared weak... " >&6; }
  100103. -if test "${gl_cv_have_weak+set}" = set; then :
  100104. +if ${gl_cv_have_weak+:} false; then :
  100105. $as_echo_n "(cached) " >&6
  100106. else
  100107. gl_cv_have_weak=no
  100108. @@ -11135,7 +11227,7 @@
  100109. # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
  100110. # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY.
  100111. ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
  100112. -if test "x$ac_cv_header_pthread_h" = x""yes; then :
  100113. +if test "x$ac_cv_header_pthread_h" = xyes; then :
  100114. gl_have_pthread_h=yes
  100115. else
  100116. gl_have_pthread_h=no
  100117. @@ -11174,7 +11266,7 @@
  100118. # need to link with libpthread in order to create multiple threads.
  100119. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
  100120. $as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
  100121. -if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then :
  100122. +if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
  100123. $as_echo_n "(cached) " >&6
  100124. else
  100125. ac_check_lib_save_LIBS=$LIBS
  100126. @@ -11208,7 +11300,7 @@
  100127. fi
  100128. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
  100129. $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
  100130. -if test "x$ac_cv_lib_pthread_pthread_kill" = x""yes; then :
  100131. +if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
  100132. LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
  100133. # On Solaris and HP-UX, most pthread functions exist also in libc.
  100134. # Therefore pthread_in_use() needs to actually try to create a
  100135. @@ -11227,7 +11319,7 @@
  100136. # Some library is needed. Try libpthread and libc_r.
  100137. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
  100138. $as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
  100139. -if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then :
  100140. +if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
  100141. $as_echo_n "(cached) " >&6
  100142. else
  100143. ac_check_lib_save_LIBS=$LIBS
  100144. @@ -11261,7 +11353,7 @@
  100145. fi
  100146. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
  100147. $as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
  100148. -if test "x$ac_cv_lib_pthread_pthread_kill" = x""yes; then :
  100149. +if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
  100150. gl_have_pthread=yes
  100151. LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
  100152. LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
  100153. @@ -11271,7 +11363,7 @@
  100154. # For FreeBSD 4.
  100155. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5
  100156. $as_echo_n "checking for pthread_kill in -lc_r... " >&6; }
  100157. -if test "${ac_cv_lib_c_r_pthread_kill+set}" = set; then :
  100158. +if ${ac_cv_lib_c_r_pthread_kill+:} false; then :
  100159. $as_echo_n "(cached) " >&6
  100160. else
  100161. ac_check_lib_save_LIBS=$LIBS
  100162. @@ -11305,7 +11397,7 @@
  100163. fi
  100164. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5
  100165. $as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; }
  100166. -if test "x$ac_cv_lib_c_r_pthread_kill" = x""yes; then :
  100167. +if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then :
  100168. gl_have_pthread=yes
  100169. LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
  100170. LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r
  100171. @@ -11383,7 +11475,7 @@
  100172. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5
  100173. $as_echo_n "checking how to link with libpth... " >&6; }
  100174. -if test "${ac_cv_libpth_libs+set}" = set; then :
  100175. +if ${ac_cv_libpth_libs+:} false; then :
  100176. $as_echo_n "(cached) " >&6
  100177. else
  100178. @@ -11999,7 +12091,7 @@
  100179. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
  100180. $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
  100181. -if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
  100182. +if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
  100183. $as_echo_n "(cached) " >&6
  100184. else
  100185. rm -f conftest.sym conftest.file
  100186. @@ -12069,7 +12161,7 @@
  100187. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5
  100188. $as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; }
  100189. -if test "${gl_cv_func_malloc_posix+set}" = set; then :
  100190. +if ${gl_cv_func_malloc_posix+:} false; then :
  100191. $as_echo_n "(cached) " >&6
  100192. else
  100193. @@ -12102,7 +12194,7 @@
  100194. for ac_header in stdlib.h
  100195. do :
  100196. ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  100197. -if test "x$ac_cv_header_stdlib_h" = x""yes; then :
  100198. +if test "x$ac_cv_header_stdlib_h" = xyes; then :
  100199. cat >>confdefs.h <<_ACEOF
  100200. #define HAVE_STDLIB_H 1
  100201. _ACEOF
  100202. @@ -12113,7 +12205,7 @@
  100203. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
  100204. $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
  100205. -if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
  100206. +if ${ac_cv_func_malloc_0_nonnull+:} false; then :
  100207. $as_echo_n "(cached) " >&6
  100208. else
  100209. if test "$cross_compiling" = yes; then :
  100210. @@ -12165,7 +12257,7 @@
  100211. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
  100212. $as_echo_n "checking for mbstate_t... " >&6; }
  100213. -if test "${ac_cv_type_mbstate_t+set}" = set; then :
  100214. +if ${ac_cv_type_mbstate_t+:} false; then :
  100215. $as_echo_n "(cached) " >&6
  100216. else
  100217. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100218. @@ -12215,7 +12307,7 @@
  100219. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
  100220. $as_echo_n "checking for a traditional japanese locale... " >&6; }
  100221. -if test "${gt_cv_locale_ja+set}" = set; then :
  100222. +if ${gt_cv_locale_ja+:} false; then :
  100223. $as_echo_n "(cached) " >&6
  100224. else
  100225. @@ -12353,7 +12445,7 @@
  100226. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
  100227. $as_echo_n "checking for a transitional chinese locale... " >&6; }
  100228. -if test "${gt_cv_locale_zh_CN+set}" = set; then :
  100229. +if ${gt_cv_locale_zh_CN+:} false; then :
  100230. $as_echo_n "(cached) " >&6
  100231. else
  100232. @@ -12479,7 +12571,7 @@
  100233. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  100234. $as_echo_n "checking for a french Unicode locale... " >&6; }
  100235. -if test "${gt_cv_locale_fr_utf8+set}" = set; then :
  100236. +if ${gt_cv_locale_fr_utf8+:} false; then :
  100237. $as_echo_n "(cached) " >&6
  100238. else
  100239. @@ -12685,7 +12777,7 @@
  100240. # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  100241. # irrelevant for anonymous mappings.
  100242. ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  100243. -if test "x$ac_cv_func_mmap" = x""yes; then :
  100244. +if test "x$ac_cv_func_mmap" = xyes; then :
  100245. gl_have_mmap=yes
  100246. else
  100247. gl_have_mmap=no
  100248. @@ -12756,7 +12848,7 @@
  100249. # Assume that memchr works on platforms that lack mprotect.
  100250. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5
  100251. $as_echo_n "checking whether memchr works... " >&6; }
  100252. -if test "${gl_cv_func_memchr_works+set}" = set; then :
  100253. +if ${gl_cv_func_memchr_works+:} false; then :
  100254. $as_echo_n "(cached) " >&6
  100255. else
  100256. if test "$cross_compiling" = yes; then :
  100257. @@ -12850,7 +12942,7 @@
  100258. for ac_header in bp-sym.h
  100259. do :
  100260. ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default"
  100261. -if test "x$ac_cv_header_bp_sym_h" = x""yes; then :
  100262. +if test "x$ac_cv_header_bp_sym_h" = xyes; then :
  100263. cat >>confdefs.h <<_ACEOF
  100264. #define HAVE_BP_SYM_H 1
  100265. _ACEOF
  100266. @@ -12871,7 +12963,7 @@
  100267. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  100268. $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  100269. -if test "${ac_cv_sys_largefile_CC+set}" = set; then :
  100270. +if ${ac_cv_sys_largefile_CC+:} false; then :
  100271. $as_echo_n "(cached) " >&6
  100272. else
  100273. ac_cv_sys_largefile_CC=no
  100274. @@ -12922,7 +13014,7 @@
  100275. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  100276. $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  100277. -if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
  100278. +if ${ac_cv_sys_file_offset_bits+:} false; then :
  100279. $as_echo_n "(cached) " >&6
  100280. else
  100281. while :; do
  100282. @@ -12991,7 +13083,7 @@
  100283. if test $ac_cv_sys_file_offset_bits = unknown; then
  100284. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  100285. $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  100286. -if test "${ac_cv_sys_large_files+set}" = set; then :
  100287. +if ${ac_cv_sys_large_files+:} false; then :
  100288. $as_echo_n "(cached) " >&6
  100289. else
  100290. while :; do
  100291. @@ -13058,6 +13150,8 @@
  100292. esac
  100293. rm -rf conftest*
  100294. fi
  100295. +
  100296. +
  100297. fi
  100298. @@ -13110,7 +13204,7 @@
  100299. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for promoted mode_t type" >&5
  100300. $as_echo_n "checking for promoted mode_t type... " >&6; }
  100301. -if test "${gl_cv_promoted_mode_t+set}" = set; then :
  100302. +if ${gl_cv_promoted_mode_t+:} false; then :
  100303. $as_echo_n "(cached) " >&6
  100304. else
  100305. @@ -13191,7 +13285,7 @@
  100306. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawn works" >&5
  100307. $as_echo_n "checking whether posix_spawn works... " >&6; }
  100308. -if test "${gl_cv_func_posix_spawn_works+set}" = set; then :
  100309. +if ${gl_cv_func_posix_spawn_works+:} false; then :
  100310. $as_echo_n "(cached) " >&6
  100311. else
  100312. if test $cross_compiling = no; then
  100313. @@ -13529,7 +13623,7 @@
  100314. *yes)
  100315. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawnattr_setschedpolicy is supported" >&5
  100316. $as_echo_n "checking whether posix_spawnattr_setschedpolicy is supported... " >&6; }
  100317. -if test "${gl_cv_func_spawnattr_setschedpolicy+set}" = set; then :
  100318. +if ${gl_cv_func_spawnattr_setschedpolicy+:} false; then :
  100319. $as_echo_n "(cached) " >&6
  100320. else
  100321. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100322. @@ -13555,7 +13649,7 @@
  100323. $as_echo "$gl_cv_func_spawnattr_setschedpolicy" >&6; }
  100324. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawnattr_setschedparam is supported" >&5
  100325. $as_echo_n "checking whether posix_spawnattr_setschedparam is supported... " >&6; }
  100326. -if test "${gl_cv_func_spawnattr_setschedparam+set}" = set; then :
  100327. +if ${gl_cv_func_spawnattr_setschedparam+:} false; then :
  100328. $as_echo_n "(cached) " >&6
  100329. else
  100330. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100331. @@ -13609,7 +13703,7 @@
  100332. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
  100333. $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
  100334. -if test "${ac_cv_type_uid_t+set}" = set; then :
  100335. +if ${ac_cv_type_uid_t+:} false; then :
  100336. $as_echo_n "(cached) " >&6
  100337. else
  100338. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100339. @@ -13643,7 +13737,7 @@
  100340. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5
  100341. $as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; }
  100342. -if test "${gl_cv_func_snprintf_retval_c99+set}" = set; then :
  100343. +if ${gl_cv_func_snprintf_retval_c99+:} false; then :
  100344. $as_echo_n "(cached) " >&6
  100345. else
  100346. @@ -13712,7 +13806,7 @@
  100347. $as_echo "$gl_cv_func_snprintf_retval_c99" >&6; }
  100348. ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
  100349. -if test "x$ac_cv_have_decl_snprintf" = x""yes; then :
  100350. +if test "x$ac_cv_have_decl_snprintf" = xyes; then :
  100351. ac_have_decl=1
  100352. else
  100353. ac_have_decl=0
  100354. @@ -13726,7 +13820,7 @@
  100355. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
  100356. $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
  100357. -if test "${ac_cv_header_stdbool_h+set}" = set; then :
  100358. +if ${ac_cv_header_stdbool_h+:} false; then :
  100359. $as_echo_n "(cached) " >&6
  100360. else
  100361. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100362. @@ -13801,7 +13895,7 @@
  100363. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
  100364. $as_echo "$ac_cv_header_stdbool_h" >&6; }
  100365. ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
  100366. -if test "x$ac_cv_type__Bool" = x""yes; then :
  100367. +if test "x$ac_cv_type__Bool" = xyes; then :
  100368. cat >>confdefs.h <<_ACEOF
  100369. #define HAVE__BOOL 1
  100370. @@ -13819,7 +13913,7 @@
  100371. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
  100372. $as_echo_n "checking for wchar_t... " >&6; }
  100373. -if test "${gt_cv_c_wchar_t+set}" = set; then :
  100374. +if ${gt_cv_c_wchar_t+:} false; then :
  100375. $as_echo_n "(cached) " >&6
  100376. else
  100377. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100378. @@ -13861,7 +13955,7 @@
  100379. if test -z "$ERRNO_H"; then
  100380. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5
  100381. $as_echo_n "checking for working strerror function... " >&6; }
  100382. -if test "${gl_cv_func_working_strerror+set}" = set; then :
  100383. +if ${gl_cv_func_working_strerror+:} false; then :
  100384. $as_echo_n "(cached) " >&6
  100385. else
  100386. if test "$cross_compiling" = yes; then :
  100387. @@ -13919,7 +14013,7 @@
  100388. if test $REPLACE_STRERROR = 1; then
  100389. ac_fn_c_check_decl "$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default"
  100390. -if test "x$ac_cv_have_decl_strerror" = x""yes; then :
  100391. +if test "x$ac_cv_have_decl_strerror" = xyes; then :
  100392. ac_have_decl=1
  100393. else
  100394. ac_have_decl=0
  100395. @@ -13934,7 +14028,7 @@
  100396. for ac_header in winsock2.h
  100397. do :
  100398. ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
  100399. -if test "x$ac_cv_header_winsock2_h" = x""yes; then :
  100400. +if test "x$ac_cv_header_winsock2_h" = xyes; then :
  100401. cat >>confdefs.h <<_ACEOF
  100402. #define HAVE_WINSOCK2_H 1
  100403. _ACEOF
  100404. @@ -13963,7 +14057,7 @@
  100405. else
  100406. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
  100407. $as_echo_n "checking absolute name of <string.h>... " >&6; }
  100408. -if test "${gl_cv_next_string_h+set}" = set; then :
  100409. +if ${gl_cv_next_string_h+:} false; then :
  100410. $as_echo_n "(cached) " >&6
  100411. else
  100412. @@ -14007,7 +14101,7 @@
  100413. ac_fn_c_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
  100414. -if test "x$ac_cv_have_decl_strndup" = x""yes; then :
  100415. +if test "x$ac_cv_have_decl_strndup" = xyes; then :
  100416. ac_have_decl=1
  100417. else
  100418. ac_have_decl=0
  100419. @@ -14020,7 +14114,7 @@
  100420. ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
  100421. -if test "x$ac_cv_have_decl_strnlen" = x""yes; then :
  100422. +if test "x$ac_cv_have_decl_strnlen" = xyes; then :
  100423. ac_have_decl=1
  100424. else
  100425. ac_have_decl=0
  100426. @@ -14031,7 +14125,7 @@
  100427. _ACEOF
  100428. ac_fn_c_check_decl "$LINENO" "strsignal" "ac_cv_have_decl_strsignal" "$ac_includes_default"
  100429. -if test "x$ac_cv_have_decl_strsignal" = x""yes; then :
  100430. +if test "x$ac_cv_have_decl_strsignal" = xyes; then :
  100431. ac_have_decl=1
  100432. else
  100433. ac_have_decl=0
  100434. @@ -14048,7 +14142,7 @@
  100435. #endif
  100436. "
  100437. -if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then :
  100438. +if test "x$ac_cv_have_decl_sys_siglist" = xyes; then :
  100439. ac_have_decl=1
  100440. else
  100441. ac_have_decl=0
  100442. @@ -14077,7 +14171,7 @@
  100443. else
  100444. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5
  100445. $as_echo_n "checking whether strstr works... " >&6; }
  100446. -if test "${gl_cv_func_strstr_works_always+set}" = set; then :
  100447. +if ${gl_cv_func_strstr_works_always+:} false; then :
  100448. $as_echo_n "(cached) " >&6
  100449. else
  100450. if test "$cross_compiling" = yes; then :
  100451. @@ -14156,7 +14250,7 @@
  100452. fi
  100453. ac_fn_c_check_decl "$LINENO" "strtod" "ac_cv_have_decl_strtod" "$ac_includes_default"
  100454. -if test "x$ac_cv_have_decl_strtod" = x""yes; then :
  100455. +if test "x$ac_cv_have_decl_strtod" = xyes; then :
  100456. ac_have_decl=1
  100457. else
  100458. ac_have_decl=0
  100459. @@ -14169,7 +14263,7 @@
  100460. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexp() can be used without linking with libm" >&5
  100461. $as_echo_n "checking whether ldexp() can be used without linking with libm... " >&6; }
  100462. -if test "${gl_cv_func_ldexp_no_libm+set}" = set; then :
  100463. +if ${gl_cv_func_ldexp_no_libm+:} false; then :
  100464. $as_echo_n "(cached) " >&6
  100465. else
  100466. @@ -14203,7 +14297,7 @@
  100467. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
  100468. $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
  100469. -if test "${ac_cv_header_stat_broken+set}" = set; then :
  100470. +if ${ac_cv_header_stat_broken+:} false; then :
  100471. $as_echo_n "(cached) " >&6
  100472. else
  100473. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100474. @@ -14269,7 +14363,7 @@
  100475. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5
  100476. $as_echo_n "checking for struct timespec in <time.h>... " >&6; }
  100477. -if test "${gl_cv_sys_struct_timespec_in_time_h+set}" = set; then :
  100478. +if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then :
  100479. $as_echo_n "(cached) " >&6
  100480. else
  100481. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100482. @@ -14302,7 +14396,7 @@
  100483. else
  100484. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5
  100485. $as_echo_n "checking for struct timespec in <sys/time.h>... " >&6; }
  100486. -if test "${gl_cv_sys_struct_timespec_in_sys_time_h+set}" = set; then :
  100487. +if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then :
  100488. $as_echo_n "(cached) " >&6
  100489. else
  100490. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100491. @@ -14331,7 +14425,7 @@
  100492. else
  100493. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5
  100494. $as_echo_n "checking for struct timespec in <pthread.h>... " >&6; }
  100495. -if test "${gl_cv_sys_struct_timespec_in_pthread_h+set}" = set; then :
  100496. +if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then :
  100497. $as_echo_n "(cached) " >&6
  100498. else
  100499. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100500. @@ -14380,7 +14474,7 @@
  100501. else
  100502. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5
  100503. $as_echo_n "checking absolute name of <time.h>... " >&6; }
  100504. -if test "${gl_cv_next_time_h+set}" = set; then :
  100505. +if ${gl_cv_next_time_h+:} false; then :
  100506. $as_echo_n "(cached) " >&6
  100507. else
  100508. @@ -14425,7 +14519,7 @@
  100509. ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
  100510. -if test "x$ac_cv_have_decl_clearerr_unlocked" = x""yes; then :
  100511. +if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then :
  100512. ac_have_decl=1
  100513. else
  100514. ac_have_decl=0
  100515. @@ -14436,7 +14530,7 @@
  100516. _ACEOF
  100517. ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
  100518. -if test "x$ac_cv_have_decl_feof_unlocked" = x""yes; then :
  100519. +if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then :
  100520. ac_have_decl=1
  100521. else
  100522. ac_have_decl=0
  100523. @@ -14447,7 +14541,7 @@
  100524. _ACEOF
  100525. ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
  100526. -if test "x$ac_cv_have_decl_ferror_unlocked" = x""yes; then :
  100527. +if test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then :
  100528. ac_have_decl=1
  100529. else
  100530. ac_have_decl=0
  100531. @@ -14458,7 +14552,7 @@
  100532. _ACEOF
  100533. ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
  100534. -if test "x$ac_cv_have_decl_fflush_unlocked" = x""yes; then :
  100535. +if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then :
  100536. ac_have_decl=1
  100537. else
  100538. ac_have_decl=0
  100539. @@ -14469,7 +14563,7 @@
  100540. _ACEOF
  100541. ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
  100542. -if test "x$ac_cv_have_decl_fgets_unlocked" = x""yes; then :
  100543. +if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then :
  100544. ac_have_decl=1
  100545. else
  100546. ac_have_decl=0
  100547. @@ -14480,7 +14574,7 @@
  100548. _ACEOF
  100549. ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
  100550. -if test "x$ac_cv_have_decl_fputc_unlocked" = x""yes; then :
  100551. +if test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then :
  100552. ac_have_decl=1
  100553. else
  100554. ac_have_decl=0
  100555. @@ -14491,7 +14585,7 @@
  100556. _ACEOF
  100557. ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
  100558. -if test "x$ac_cv_have_decl_fputs_unlocked" = x""yes; then :
  100559. +if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then :
  100560. ac_have_decl=1
  100561. else
  100562. ac_have_decl=0
  100563. @@ -14502,7 +14596,7 @@
  100564. _ACEOF
  100565. ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
  100566. -if test "x$ac_cv_have_decl_fread_unlocked" = x""yes; then :
  100567. +if test "x$ac_cv_have_decl_fread_unlocked" = xyes; then :
  100568. ac_have_decl=1
  100569. else
  100570. ac_have_decl=0
  100571. @@ -14513,7 +14607,7 @@
  100572. _ACEOF
  100573. ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
  100574. -if test "x$ac_cv_have_decl_fwrite_unlocked" = x""yes; then :
  100575. +if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then :
  100576. ac_have_decl=1
  100577. else
  100578. ac_have_decl=0
  100579. @@ -14524,7 +14618,7 @@
  100580. _ACEOF
  100581. ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
  100582. -if test "x$ac_cv_have_decl_getchar_unlocked" = x""yes; then :
  100583. +if test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then :
  100584. ac_have_decl=1
  100585. else
  100586. ac_have_decl=0
  100587. @@ -14535,7 +14629,7 @@
  100588. _ACEOF
  100589. ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
  100590. -if test "x$ac_cv_have_decl_putc_unlocked" = x""yes; then :
  100591. +if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then :
  100592. ac_have_decl=1
  100593. else
  100594. ac_have_decl=0
  100595. @@ -14546,7 +14640,7 @@
  100596. _ACEOF
  100597. ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
  100598. -if test "x$ac_cv_have_decl_putchar_unlocked" = x""yes; then :
  100599. +if test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then :
  100600. ac_have_decl=1
  100601. else
  100602. ac_have_decl=0
  100603. @@ -14561,7 +14655,7 @@
  100604. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
  100605. $as_echo_n "checking for wint_t... " >&6; }
  100606. -if test "${gt_cv_c_wint_t+set}" = set; then :
  100607. +if ${gt_cv_c_wint_t+:} false; then :
  100608. $as_echo_n "(cached) " >&6
  100609. else
  100610. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100611. @@ -14610,21 +14704,10 @@
  100612. fi
  100613. -ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  100614. -if test "x$ac_cv_type_size_t" = x""yes; then :
  100615. -
  100616. -else
  100617. -
  100618. -cat >>confdefs.h <<_ACEOF
  100619. -#define size_t unsigned int
  100620. -_ACEOF
  100621. -
  100622. -fi
  100623. -
  100624. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
  100625. $as_echo_n "checking for inttypes.h... " >&6; }
  100626. -if test "${gl_cv_header_inttypes_h+set}" = set; then :
  100627. +if ${gl_cv_header_inttypes_h+:} false; then :
  100628. $as_echo_n "(cached) " >&6
  100629. else
  100630. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100631. @@ -14661,7 +14744,7 @@
  100632. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
  100633. $as_echo_n "checking for stdint.h... " >&6; }
  100634. -if test "${gl_cv_header_stdint_h+set}" = set; then :
  100635. +if ${gl_cv_header_stdint_h+:} false; then :
  100636. $as_echo_n "(cached) " >&6
  100637. else
  100638. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100639. @@ -14698,7 +14781,7 @@
  100640. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
  100641. $as_echo_n "checking for intmax_t... " >&6; }
  100642. -if test "${gt_cv_c_intmax_t+set}" = set; then :
  100643. +if ${gt_cv_c_intmax_t+:} false; then :
  100644. $as_echo_n "(cached) " >&6
  100645. else
  100646. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100647. @@ -14766,7 +14849,7 @@
  100648. ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include <stdio.h>
  100649. "
  100650. -if test "x$ac_cv_have_decl__snprintf" = x""yes; then :
  100651. +if test "x$ac_cv_have_decl__snprintf" = xyes; then :
  100652. ac_have_decl=1
  100653. else
  100654. ac_have_decl=0
  100655. @@ -14791,7 +14874,7 @@
  100656. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports size specifiers as in C99" >&5
  100657. $as_echo_n "checking whether printf supports size specifiers as in C99... " >&6; }
  100658. -if test "${gl_cv_func_printf_sizes_c99+set}" = set; then :
  100659. +if ${gl_cv_func_printf_sizes_c99+:} false; then :
  100660. $as_echo_n "(cached) " >&6
  100661. else
  100662. @@ -14878,7 +14961,7 @@
  100663. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports 'long double' arguments" >&5
  100664. $as_echo_n "checking whether printf supports 'long double' arguments... " >&6; }
  100665. -if test "${gl_cv_func_printf_long_double+set}" = set; then :
  100666. +if ${gl_cv_func_printf_long_double+:} false; then :
  100667. $as_echo_n "(cached) " >&6
  100668. else
  100669. @@ -14933,7 +15016,7 @@
  100670. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'double' arguments" >&5
  100671. $as_echo_n "checking whether printf supports infinite 'double' arguments... " >&6; }
  100672. -if test "${gl_cv_func_printf_infinite+set}" = set; then :
  100673. +if ${gl_cv_func_printf_infinite+:} false; then :
  100674. $as_echo_n "(cached) " >&6
  100675. else
  100676. @@ -15059,7 +15142,7 @@
  100677. *yes)
  100678. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports infinite 'long double' arguments" >&5
  100679. $as_echo_n "checking whether printf supports infinite 'long double' arguments... " >&6; }
  100680. -if test "${gl_cv_func_printf_infinite_long_double+set}" = set; then :
  100681. +if ${gl_cv_func_printf_infinite_long_double+:} false; then :
  100682. $as_echo_n "(cached) " >&6
  100683. else
  100684. @@ -15359,7 +15442,7 @@
  100685. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'a' and 'A' directives" >&5
  100686. $as_echo_n "checking whether printf supports the 'a' and 'A' directives... " >&6; }
  100687. -if test "${gl_cv_func_printf_directive_a+set}" = set; then :
  100688. +if ${gl_cv_func_printf_directive_a+:} false; then :
  100689. $as_echo_n "(cached) " >&6
  100690. else
  100691. @@ -15462,7 +15545,7 @@
  100692. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'F' directive" >&5
  100693. $as_echo_n "checking whether printf supports the 'F' directive... " >&6; }
  100694. -if test "${gl_cv_func_printf_directive_f+set}" = set; then :
  100695. +if ${gl_cv_func_printf_directive_f+:} false; then :
  100696. $as_echo_n "(cached) " >&6
  100697. else
  100698. @@ -15525,7 +15608,7 @@
  100699. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'n' directive" >&5
  100700. $as_echo_n "checking whether printf supports the 'n' directive... " >&6; }
  100701. -if test "${gl_cv_func_printf_directive_n+set}" = set; then :
  100702. +if ${gl_cv_func_printf_directive_n+:} false; then :
  100703. $as_echo_n "(cached) " >&6
  100704. else
  100705. @@ -15575,7 +15658,7 @@
  100706. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the 'ls' directive" >&5
  100707. $as_echo_n "checking whether printf supports the 'ls' directive... " >&6; }
  100708. -if test "${gl_cv_func_printf_directive_ls+set}" = set; then :
  100709. +if ${gl_cv_func_printf_directive_ls+:} false; then :
  100710. $as_echo_n "(cached) " >&6
  100711. else
  100712. @@ -15662,7 +15745,7 @@
  100713. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports POSIX/XSI format strings with positions" >&5
  100714. $as_echo_n "checking whether printf supports POSIX/XSI format strings with positions... " >&6; }
  100715. -if test "${gl_cv_func_printf_positions+set}" = set; then :
  100716. +if ${gl_cv_func_printf_positions+:} false; then :
  100717. $as_echo_n "(cached) " >&6
  100718. else
  100719. @@ -15710,7 +15793,7 @@
  100720. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the grouping flag" >&5
  100721. $as_echo_n "checking whether printf supports the grouping flag... " >&6; }
  100722. -if test "${gl_cv_func_printf_flag_grouping+set}" = set; then :
  100723. +if ${gl_cv_func_printf_flag_grouping+:} false; then :
  100724. $as_echo_n "(cached) " >&6
  100725. else
  100726. @@ -15756,7 +15839,7 @@
  100727. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the left-adjust flag correctly" >&5
  100728. $as_echo_n "checking whether printf supports the left-adjust flag correctly... " >&6; }
  100729. -if test "${gl_cv_func_printf_flag_leftadjust+set}" = set; then :
  100730. +if ${gl_cv_func_printf_flag_leftadjust+:} false; then :
  100731. $as_echo_n "(cached) " >&6
  100732. else
  100733. @@ -15805,7 +15888,7 @@
  100734. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the zero flag correctly" >&5
  100735. $as_echo_n "checking whether printf supports the zero flag correctly... " >&6; }
  100736. -if test "${gl_cv_func_printf_flag_zero+set}" = set; then :
  100737. +if ${gl_cv_func_printf_flag_zero+:} false; then :
  100738. $as_echo_n "(cached) " >&6
  100739. else
  100740. @@ -15854,7 +15937,7 @@
  100741. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports large precisions" >&5
  100742. $as_echo_n "checking whether printf supports large precisions... " >&6; }
  100743. -if test "${gl_cv_func_printf_precision+set}" = set; then :
  100744. +if ${gl_cv_func_printf_precision+:} false; then :
  100745. $as_echo_n "(cached) " >&6
  100746. else
  100747. @@ -15911,7 +15994,7 @@
  100748. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf survives out-of-memory conditions" >&5
  100749. $as_echo_n "checking whether printf survives out-of-memory conditions... " >&6; }
  100750. -if test "${gl_cv_func_printf_enomem+set}" = set; then :
  100751. +if ${gl_cv_func_printf_enomem+:} false; then :
  100752. $as_echo_n "(cached) " >&6
  100753. else
  100754. @@ -16154,7 +16237,7 @@
  100755. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ungetc works on arbitrary bytes" >&5
  100756. $as_echo_n "checking whether ungetc works on arbitrary bytes... " >&6; }
  100757. -if test "${gl_cv_func_ungetc_works+set}" = set; then :
  100758. +if ${gl_cv_func_ungetc_works+:} false; then :
  100759. $as_echo_n "(cached) " >&6
  100760. else
  100761. if test "$cross_compiling" = yes; then :
  100762. @@ -16221,7 +16304,7 @@
  100763. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
  100764. $as_echo_n "checking for LC_MESSAGES... " >&6; }
  100765. -if test "${gt_cv_val_LC_MESSAGES+set}" = set; then :
  100766. +if ${gt_cv_val_LC_MESSAGES+:} false; then :
  100767. $as_echo_n "(cached) " >&6
  100768. else
  100769. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100770. @@ -16254,7 +16337,7 @@
  100771. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
  100772. $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
  100773. -if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
  100774. +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
  100775. $as_echo_n "(cached) " >&6
  100776. else
  100777. gt_save_LIBS="$LIBS"
  100778. @@ -16288,7 +16371,7 @@
  100779. fi
  100780. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
  100781. $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
  100782. -if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
  100783. +if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
  100784. $as_echo_n "(cached) " >&6
  100785. else
  100786. gt_save_LIBS="$LIBS"
  100787. @@ -16327,7 +16410,7 @@
  100788. ac_fn_c_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default"
  100789. -if test "x$ac_cv_have_decl_setenv" = x""yes; then :
  100790. +if test "x$ac_cv_have_decl_setenv" = xyes; then :
  100791. ac_have_decl=1
  100792. else
  100793. ac_have_decl=0
  100794. @@ -16351,7 +16434,7 @@
  100795. else
  100796. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setenv validates arguments" >&5
  100797. $as_echo_n "checking whether setenv validates arguments... " >&6; }
  100798. -if test "${gl_cv_func_setenv_works+set}" = set; then :
  100799. +if ${gl_cv_func_setenv_works+:} false; then :
  100800. $as_echo_n "(cached) " >&6
  100801. else
  100802. if test "$cross_compiling" = yes; then :
  100803. @@ -16420,7 +16503,7 @@
  100804. for ac_header in search.h
  100805. do :
  100806. ac_fn_c_check_header_mongrel "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default"
  100807. -if test "x$ac_cv_header_search_h" = x""yes; then :
  100808. +if test "x$ac_cv_header_search_h" = xyes; then :
  100809. cat >>confdefs.h <<_ACEOF
  100810. #define HAVE_SEARCH_H 1
  100811. _ACEOF
  100812. @@ -16432,7 +16515,7 @@
  100813. for ac_func in tsearch
  100814. do :
  100815. ac_fn_c_check_func "$LINENO" "tsearch" "ac_cv_func_tsearch"
  100816. -if test "x$ac_cv_func_tsearch" = x""yes; then :
  100817. +if test "x$ac_cv_func_tsearch" = xyes; then :
  100818. cat >>confdefs.h <<_ACEOF
  100819. #define HAVE_TSEARCH 1
  100820. _ACEOF
  100821. @@ -16445,7 +16528,7 @@
  100822. ac_fn_c_check_decl "$LINENO" "strdup" "ac_cv_have_decl_strdup" "$ac_includes_default"
  100823. -if test "x$ac_cv_have_decl_strdup" = x""yes; then :
  100824. +if test "x$ac_cv_have_decl_strdup" = xyes; then :
  100825. ac_have_decl=1
  100826. else
  100827. ac_have_decl=0
  100828. @@ -16456,7 +16539,7 @@
  100829. _ACEOF
  100830. ac_fn_c_check_decl "$LINENO" "alarm" "ac_cv_have_decl_alarm" "$ac_includes_default"
  100831. -if test "x$ac_cv_have_decl_alarm" = x""yes; then :
  100832. +if test "x$ac_cv_have_decl_alarm" = xyes; then :
  100833. ac_have_decl=1
  100834. else
  100835. ac_have_decl=0
  100836. @@ -16469,7 +16552,7 @@
  100837. ac_fn_c_check_decl "$LINENO" "unsetenv" "ac_cv_have_decl_unsetenv" "$ac_includes_default"
  100838. -if test "x$ac_cv_have_decl_unsetenv" = x""yes; then :
  100839. +if test "x$ac_cv_have_decl_unsetenv" = xyes; then :
  100840. ac_have_decl=1
  100841. else
  100842. ac_have_decl=0
  100843. @@ -16515,7 +16598,7 @@
  100844. if test $ac_cv_working_alloca_h = yes; then
  100845. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5
  100846. $as_echo_n "checking for alloca as a compiler built-in... " >&6; }
  100847. -if test "${gl_cv_rpl_alloca+set}" = set; then :
  100848. +if ${gl_cv_rpl_alloca+:} false; then :
  100849. $as_echo_n "(cached) " >&6
  100850. else
  100851. @@ -16595,7 +16678,7 @@
  100852. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(0) is correct" >&5
  100853. $as_echo_n "checking whether btowc(0) is correct... " >&6; }
  100854. -if test "${gl_cv_func_btowc_nul+set}" = set; then :
  100855. +if ${gl_cv_func_btowc_nul+:} false; then :
  100856. $as_echo_n "(cached) " >&6
  100857. else
  100858. @@ -16644,7 +16727,7 @@
  100859. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether btowc(EOF) is correct" >&5
  100860. $as_echo_n "checking whether btowc(EOF) is correct... " >&6; }
  100861. -if test "${gl_cv_func_btowc_eof+set}" = set; then :
  100862. +if ${gl_cv_func_btowc_eof+:} false; then :
  100863. $as_echo_n "(cached) " >&6
  100864. else
  100865. @@ -16748,7 +16831,7 @@
  100866. ac_fn_c_check_decl "$LINENO" "sigaltstack" "ac_cv_have_decl_sigaltstack" "#include <signal.h>
  100867. "
  100868. -if test "x$ac_cv_have_decl_sigaltstack" = x""yes; then :
  100869. +if test "x$ac_cv_have_decl_sigaltstack" = xyes; then :
  100870. ac_have_decl=1
  100871. else
  100872. ac_have_decl=0
  100873. @@ -16763,7 +16846,7 @@
  100874. ac_fn_c_check_type "$LINENO" "stack_t" "ac_cv_type_stack_t" "#include <signal.h>
  100875. "
  100876. -if test "x$ac_cv_type_stack_t" = x""yes; then :
  100877. +if test "x$ac_cv_type_stack_t" = xyes; then :
  100878. cat >>confdefs.h <<_ACEOF
  100879. #define HAVE_STACK_T 1
  100880. @@ -17049,7 +17132,7 @@
  100881. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5
  100882. $as_echo_n "checking whether // is distinct from /... " >&6; }
  100883. -if test "${gl_cv_double_slash_root+set}" = set; then :
  100884. +if ${gl_cv_double_slash_root+:} false; then :
  100885. $as_echo_n "(cached) " >&6
  100886. else
  100887. if test x"$cross_compiling" = xyes ; then
  100888. @@ -17104,7 +17187,7 @@
  100889. else
  100890. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dup2 works" >&5
  100891. $as_echo_n "checking whether dup2 works... " >&6; }
  100892. -if test "${gl_cv_func_dup2_works+set}" = set; then :
  100893. +if ${gl_cv_func_dup2_works+:} false; then :
  100894. $as_echo_n "(cached) " >&6
  100895. else
  100896. if test "$cross_compiling" = yes; then :
  100897. @@ -17232,7 +17315,7 @@
  100898. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
  100899. $as_echo_n "checking for error_at_line... " >&6; }
  100900. -if test "${ac_cv_lib_error_at_line+set}" = set; then :
  100901. +if ${ac_cv_lib_error_at_line+:} false; then :
  100902. $as_echo_n "(cached) " >&6
  100903. else
  100904. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100905. @@ -17342,7 +17425,7 @@
  100906. else
  100907. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl handles F_DUPFD correctly" >&5
  100908. $as_echo_n "checking whether fcntl handles F_DUPFD correctly... " >&6; }
  100909. -if test "${gl_cv_func_fcntl_f_dupfd_works+set}" = set; then :
  100910. +if ${gl_cv_func_fcntl_f_dupfd_works+:} false; then :
  100911. $as_echo_n "(cached) " >&6
  100912. else
  100913. if test "$cross_compiling" = yes; then :
  100914. @@ -17410,7 +17493,7 @@
  100915. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fcntl understands F_DUPFD_CLOEXEC" >&5
  100916. $as_echo_n "checking whether fcntl understands F_DUPFD_CLOEXEC... " >&6; }
  100917. -if test "${gl_cv_func_fcntl_f_dupfd_cloexec+set}" = set; then :
  100918. +if ${gl_cv_func_fcntl_f_dupfd_cloexec+:} false; then :
  100919. $as_echo_n "(cached) " >&6
  100920. else
  100921. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100922. @@ -17511,7 +17594,7 @@
  100923. else
  100924. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <fcntl.h>" >&5
  100925. $as_echo_n "checking absolute name of <fcntl.h>... " >&6; }
  100926. -if test "${gl_cv_next_fcntl_h+set}" = set; then :
  100927. +if ${gl_cv_next_fcntl_h+:} false; then :
  100928. $as_echo_n "(cached) " >&6
  100929. else
  100930. @@ -17567,12 +17650,12 @@
  100931. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fflush works on input streams" >&5
  100932. $as_echo_n "checking whether fflush works on input streams... " >&6; }
  100933. -if test "${gl_cv_func_fflush_stdin+set}" = set; then :
  100934. +if ${gl_cv_func_fflush_stdin+:} false; then :
  100935. $as_echo_n "(cached) " >&6
  100936. else
  100937. echo hello world > conftest.txt
  100938. if test "$cross_compiling" = yes; then :
  100939. - gl_cv_func_fflush_stdin=no
  100940. + gl_cv_func_fflush_stdin=cross
  100941. else
  100942. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  100943. /* end confdefs.h. */
  100944. @@ -17637,7 +17720,17 @@
  100945. fi
  100946. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_fflush_stdin" >&5
  100947. $as_echo "$gl_cv_func_fflush_stdin" >&6; }
  100948. - if test $gl_cv_func_fflush_stdin = no; then
  100949. + case $gl_cv_func_fflush_stdin in
  100950. + yes) gl_func_fflush_stdin=1 ;;
  100951. + no) gl_func_fflush_stdin=0 ;;
  100952. + *) gl_func_fflush_stdin='(-1)' ;;
  100953. + esac
  100954. +
  100955. +cat >>confdefs.h <<_ACEOF
  100956. +#define FUNC_FFLUSH_STDIN $gl_func_fflush_stdin
  100957. +_ACEOF
  100958. +
  100959. + if test $gl_cv_func_fflush_stdin != yes; then
  100960. @@ -17744,7 +17837,7 @@
  100961. else
  100962. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <float.h>" >&5
  100963. $as_echo_n "checking absolute name of <float.h>... " >&6; }
  100964. -if test "${gl_cv_next_float_h+set}" = set; then :
  100965. +if ${gl_cv_next_float_h+:} false; then :
  100966. $as_echo_n "(cached) " >&6
  100967. else
  100968. @@ -17800,7 +17893,7 @@
  100969. *)
  100970. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fopen recognizes a trailing slash" >&5
  100971. $as_echo_n "checking whether fopen recognizes a trailing slash... " >&6; }
  100972. -if test "${gl_cv_func_fopen_slash+set}" = set; then :
  100973. +if ${gl_cv_func_fopen_slash+:} false; then :
  100974. $as_echo_n "(cached) " >&6
  100975. else
  100976. @@ -17907,7 +18000,7 @@
  100977. '
  100978. ac_fn_c_check_decl "$LINENO" "__fpending" "ac_cv_have_decl___fpending" "$fp_headers
  100979. "
  100980. -if test "x$ac_cv_have_decl___fpending" = x""yes; then :
  100981. +if test "x$ac_cv_have_decl___fpending" = xyes; then :
  100982. ac_have_decl=1
  100983. else
  100984. ac_have_decl=0
  100985. @@ -17920,7 +18013,7 @@
  100986. if test $ac_cv_func___fpending = no; then
  100987. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to determine the number of pending output bytes on a stream" >&5
  100988. $as_echo_n "checking how to determine the number of pending output bytes on a stream... " >&6; }
  100989. -if test "${ac_cv_sys_pending_output_n_bytes+set}" = set; then :
  100990. +if ${ac_cv_sys_pending_output_n_bytes+:} false; then :
  100991. $as_echo_n "(cached) " >&6
  100992. else
  100993. @@ -18011,7 +18104,7 @@
  100994. ac_fn_c_check_decl "$LINENO" "fpurge" "ac_cv_have_decl_fpurge" "#include <stdio.h>
  100995. "
  100996. -if test "x$ac_cv_have_decl_fpurge" = x""yes; then :
  100997. +if test "x$ac_cv_have_decl_fpurge" = xyes; then :
  100998. ac_have_decl=1
  100999. else
  101000. ac_have_decl=0
  101001. @@ -18025,7 +18118,7 @@
  101002. # Detect BSD bug. Only cygwin 1.7 is known to be immune.
  101003. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpurge works" >&5
  101004. $as_echo_n "checking whether fpurge works... " >&6; }
  101005. -if test "${gl_cv_func_fpurge_works+set}" = set; then :
  101006. +if ${gl_cv_func_fpurge_works+:} false; then :
  101007. $as_echo_n "(cached) " >&6
  101008. else
  101009. if test "$cross_compiling" = yes; then :
  101010. @@ -18124,7 +18217,7 @@
  101011. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5
  101012. $as_echo_n "checking whether frexp works... " >&6; }
  101013. -if test "${gl_cv_func_frexp_works+set}" = set; then :
  101014. +if ${gl_cv_func_frexp_works+:} false; then :
  101015. $as_echo_n "(cached) " >&6
  101016. else
  101017. @@ -18247,7 +18340,7 @@
  101018. ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include <math.h>
  101019. "
  101020. -if test "x$ac_cv_have_decl_frexpl" = x""yes; then :
  101021. +if test "x$ac_cv_have_decl_frexpl" = xyes; then :
  101022. else
  101023. HAVE_DECL_FREXPL=0
  101024. @@ -18257,7 +18350,7 @@
  101025. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5
  101026. $as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; }
  101027. -if test "${gl_cv_func_frexpl_no_libm+set}" = set; then :
  101028. +if ${gl_cv_func_frexpl_no_libm+:} false; then :
  101029. $as_echo_n "(cached) " >&6
  101030. else
  101031. @@ -18290,7 +18383,7 @@
  101032. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5
  101033. $as_echo_n "checking whether frexpl works... " >&6; }
  101034. -if test "${gl_cv_func_frexpl_works+set}" = set; then :
  101035. +if ${gl_cv_func_frexpl_works+:} false; then :
  101036. $as_echo_n "(cached) " >&6
  101037. else
  101038. @@ -18513,7 +18606,7 @@
  101039. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftello" >&5
  101040. $as_echo_n "checking for ftello... " >&6; }
  101041. -if test "${gl_cv_func_ftello+set}" = set; then :
  101042. +if ${gl_cv_func_ftello+:} false; then :
  101043. $as_echo_n "(cached) " >&6
  101044. else
  101045. @@ -18548,7 +18641,7 @@
  101046. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ftello works" >&5
  101047. $as_echo_n "checking whether ftello works... " >&6; }
  101048. -if test "${gl_cv_func_ftello_works+set}" = set; then :
  101049. +if ${gl_cv_func_ftello_works+:} false; then :
  101050. $as_echo_n "(cached) " >&6
  101051. else
  101052. @@ -18785,7 +18878,7 @@
  101053. for ac_header in sys/timeb.h
  101054. do :
  101055. ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
  101056. -if test "x$ac_cv_header_sys_timeb_h" = x""yes; then :
  101057. +if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
  101058. cat >>confdefs.h <<_ACEOF
  101059. #define HAVE_SYS_TIMEB_H 1
  101060. _ACEOF
  101061. @@ -18797,7 +18890,7 @@
  101062. for ac_func in _ftime
  101063. do :
  101064. ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime"
  101065. -if test "x$ac_cv_func__ftime" = x""yes; then :
  101066. +if test "x$ac_cv_func__ftime" = xyes; then :
  101067. cat >>confdefs.h <<_ACEOF
  101068. #define HAVE__FTIME 1
  101069. _ACEOF
  101070. @@ -18812,7 +18905,7 @@
  101071. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday clobbers localtime buffer" >&5
  101072. $as_echo_n "checking whether gettimeofday clobbers localtime buffer... " >&6; }
  101073. -if test "${gl_cv_func_gettimeofday_clobber+set}" = set; then :
  101074. +if ${gl_cv_func_gettimeofday_clobber+:} false; then :
  101075. $as_echo_n "(cached) " >&6
  101076. else
  101077. if test "$cross_compiling" = yes; then :
  101078. @@ -18872,7 +18965,7 @@
  101079. for ac_header in sys/timeb.h
  101080. do :
  101081. ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
  101082. -if test "x$ac_cv_header_sys_timeb_h" = x""yes; then :
  101083. +if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
  101084. cat >>confdefs.h <<_ACEOF
  101085. #define HAVE_SYS_TIMEB_H 1
  101086. _ACEOF
  101087. @@ -18884,7 +18977,7 @@
  101088. for ac_func in _ftime
  101089. do :
  101090. ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime"
  101091. -if test "x$ac_cv_func__ftime" = x""yes; then :
  101092. +if test "x$ac_cv_func__ftime" = xyes; then :
  101093. cat >>confdefs.h <<_ACEOF
  101094. #define HAVE__FTIME 1
  101095. _ACEOF
  101096. @@ -18907,7 +19000,7 @@
  101097. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday with POSIX signature" >&5
  101098. $as_echo_n "checking for gettimeofday with POSIX signature... " >&6; }
  101099. -if test "${gl_cv_func_gettimeofday_posix_signature+set}" = set; then :
  101100. +if ${gl_cv_func_gettimeofday_posix_signature+:} false; then :
  101101. $as_echo_n "(cached) " >&6
  101102. else
  101103. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  101104. @@ -18978,7 +19071,7 @@
  101105. for ac_header in sys/timeb.h
  101106. do :
  101107. ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
  101108. -if test "x$ac_cv_header_sys_timeb_h" = x""yes; then :
  101109. +if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
  101110. cat >>confdefs.h <<_ACEOF
  101111. #define HAVE_SYS_TIMEB_H 1
  101112. _ACEOF
  101113. @@ -18990,7 +19083,7 @@
  101114. for ac_func in _ftime
  101115. do :
  101116. ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime"
  101117. -if test "x$ac_cv_func__ftime" = x""yes; then :
  101118. +if test "x$ac_cv_func__ftime" = xyes; then :
  101119. cat >>confdefs.h <<_ACEOF
  101120. #define HAVE__FTIME 1
  101121. _ACEOF
  101122. @@ -19040,7 +19133,7 @@
  101123. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler generally respects inline" >&5
  101124. $as_echo_n "checking whether the compiler generally respects inline... " >&6; }
  101125. -if test "${gl_cv_c_inline_effective+set}" = set; then :
  101126. +if ${gl_cv_c_inline_effective+:} false; then :
  101127. $as_echo_n "(cached) " >&6
  101128. else
  101129. if test $ac_cv_c_inline = no; then
  101130. @@ -19082,7 +19175,7 @@
  101131. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(double) can be used without linking with libm" >&5
  101132. $as_echo_n "checking whether isnan(double) can be used without linking with libm... " >&6; }
  101133. -if test "${gl_cv_func_isnand_no_libm+set}" = set; then :
  101134. +if ${gl_cv_func_isnand_no_libm+:} false; then :
  101135. $as_echo_n "(cached) " >&6
  101136. else
  101137. @@ -19136,7 +19229,7 @@
  101138. { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5
  101139. $as_echo_n "checking where to find the exponent in a 'double'... " >&6; }
  101140. -if test "${gl_cv_cc_double_expbit0+set}" = set; then :
  101141. +if ${gl_cv_cc_double_expbit0+:} false; then :
  101142. $as_echo_n "(cached) " >&6
  101143. else
  101144. @@ -19156,7 +19249,7 @@
  101145. else
  101146. :
  101147. -if test "${ac_cv_c_bigendian+set}" = set; then :
  101148. +if ${ac_cv_c_bigendian+:} false; then :
  101149. $as_echo_n "(cached) " >&6
  101150. else
  101151. ac_cv_c_bigendian=unknown
  101152. @@ -19487,7 +19580,7 @@
  101153. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) can be used without linking with libm" >&5
  101154. $as_echo_n "checking whether isnan(float) can be used without linking with libm... " >&6; }
  101155. -if test "${gl_cv_func_isnanf_no_libm+set}" = set; then :
  101156. +if ${gl_cv_func_isnanf_no_libm+:} false; then :
  101157. $as_echo_n "(cached) " >&6
  101158. else
  101159. @@ -19528,7 +19621,7 @@
  101160. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(float) works" >&5
  101161. $as_echo_n "checking whether isnan(float) works... " >&6; }
  101162. -if test "${gl_cv_func_isnanf_works+set}" = set; then :
  101163. +if ${gl_cv_func_isnanf_works+:} false; then :
  101164. $as_echo_n "(cached) " >&6
  101165. else
  101166. @@ -19633,7 +19726,7 @@
  101167. { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
  101168. $as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
  101169. -if test "${gl_cv_cc_float_expbit0+set}" = set; then :
  101170. +if ${gl_cv_cc_float_expbit0+:} false; then :
  101171. $as_echo_n "(cached) " >&6
  101172. else
  101173. @@ -19747,7 +19840,7 @@
  101174. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan(long double) can be used without linking with libm" >&5
  101175. $as_echo_n "checking whether isnan(long double) can be used without linking with libm... " >&6; }
  101176. -if test "${gl_cv_func_isnanl_no_libm+set}" = set; then :
  101177. +if ${gl_cv_func_isnanl_no_libm+:} false; then :
  101178. $as_echo_n "(cached) " >&6
  101179. else
  101180. @@ -19789,7 +19882,7 @@
  101181. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnanl works" >&5
  101182. $as_echo_n "checking whether isnanl works... " >&6; }
  101183. -if test "${gl_cv_func_isnanl_works+set}" = set; then :
  101184. +if ${gl_cv_func_isnanl_works+:} false; then :
  101185. $as_echo_n "(cached) " >&6
  101186. else
  101187. @@ -19964,7 +20057,7 @@
  101188. { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5
  101189. $as_echo_n "checking where to find the exponent in a 'long double'... " >&6; }
  101190. -if test "${gl_cv_cc_long_double_expbit0+set}" = set; then :
  101191. +if ${gl_cv_cc_long_double_expbit0+:} false; then :
  101192. $as_echo_n "(cached) " >&6
  101193. else
  101194. @@ -20096,7 +20189,7 @@
  101195. else
  101196. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <langinfo.h>" >&5
  101197. $as_echo_n "checking absolute name of <langinfo.h>... " >&6; }
  101198. -if test "${gl_cv_next_langinfo_h+set}" = set; then :
  101199. +if ${gl_cv_next_langinfo_h+:} false; then :
  101200. $as_echo_n "(cached) " >&6
  101201. else
  101202. @@ -20152,7 +20245,7 @@
  101203. HAVE_LANGINFO_H=1
  101204. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines CODESET" >&5
  101205. $as_echo_n "checking whether langinfo.h defines CODESET... " >&6; }
  101206. -if test "${gl_cv_header_langinfo_codeset+set}" = set; then :
  101207. +if ${gl_cv_header_langinfo_codeset+:} false; then :
  101208. $as_echo_n "(cached) " >&6
  101209. else
  101210. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  101211. @@ -20183,7 +20276,7 @@
  101212. fi
  101213. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines T_FMT_AMPM" >&5
  101214. $as_echo_n "checking whether langinfo.h defines T_FMT_AMPM... " >&6; }
  101215. -if test "${gl_cv_header_langinfo_t_fmt_ampm+set}" = set; then :
  101216. +if ${gl_cv_header_langinfo_t_fmt_ampm+:} false; then :
  101217. $as_echo_n "(cached) " >&6
  101218. else
  101219. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  101220. @@ -20214,7 +20307,7 @@
  101221. fi
  101222. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines ERA" >&5
  101223. $as_echo_n "checking whether langinfo.h defines ERA... " >&6; }
  101224. -if test "${gl_cv_header_langinfo_era+set}" = set; then :
  101225. +if ${gl_cv_header_langinfo_era+:} false; then :
  101226. $as_echo_n "(cached) " >&6
  101227. else
  101228. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  101229. @@ -20245,7 +20338,7 @@
  101230. fi
  101231. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether langinfo.h defines YESEXPR" >&5
  101232. $as_echo_n "checking whether langinfo.h defines YESEXPR... " >&6; }
  101233. -if test "${gl_cv_header_langinfo_yesexpr+set}" = set; then :
  101234. +if ${gl_cv_header_langinfo_yesexpr+:} false; then :
  101235. $as_echo_n "(cached) " >&6
  101236. else
  101237. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  101238. @@ -20782,7 +20875,7 @@
  101239. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigsegv" >&5
  101240. $as_echo_n "checking for libsigsegv... " >&6; }
  101241. -if test "${ac_cv_libsigsegv+set}" = set; then :
  101242. +if ${ac_cv_libsigsegv+:} false; then :
  101243. $as_echo_n "(cached) " >&6
  101244. else
  101245. @@ -20863,7 +20956,7 @@
  101246. # pthread_rwlock_* functions.
  101247. ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h>
  101248. "
  101249. -if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
  101250. +if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
  101251. $as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
  101252. @@ -20906,7 +20999,7 @@
  101253. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lseek detects pipes" >&5
  101254. $as_echo_n "checking whether lseek detects pipes... " >&6; }
  101255. -if test "${gl_cv_func_lseek_pipe+set}" = set; then :
  101256. +if ${gl_cv_func_lseek_pipe+:} false; then :
  101257. $as_echo_n "(cached) " >&6
  101258. else
  101259. if test $cross_compiling = no; then
  101260. @@ -21025,7 +21118,7 @@
  101261. for ac_header in stdlib.h
  101262. do :
  101263. ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  101264. -if test "x$ac_cv_header_stdlib_h" = x""yes; then :
  101265. +if test "x$ac_cv_header_stdlib_h" = xyes; then :
  101266. cat >>confdefs.h <<_ACEOF
  101267. #define HAVE_STDLIB_H 1
  101268. _ACEOF
  101269. @@ -21036,7 +21129,7 @@
  101270. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
  101271. $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
  101272. -if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
  101273. +if ${ac_cv_func_malloc_0_nonnull+:} false; then :
  101274. $as_echo_n "(cached) " >&6
  101275. else
  101276. if test "$cross_compiling" = yes; then :
  101277. @@ -21159,7 +21252,7 @@
  101278. else
  101279. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <math.h>" >&5
  101280. $as_echo_n "checking absolute name of <math.h>... " >&6; }
  101281. -if test "${gl_cv_next_math_h+set}" = set; then :
  101282. +if ${gl_cv_next_math_h+:} false; then :
  101283. $as_echo_n "(cached) " >&6
  101284. else
  101285. @@ -21209,7 +21302,7 @@
  101286. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NAN macro works" >&5
  101287. $as_echo_n "checking whether NAN macro works... " >&6; }
  101288. -if test "${gl_cv_header_math_nan_works+set}" = set; then :
  101289. +if ${gl_cv_header_math_nan_works+:} false; then :
  101290. $as_echo_n "(cached) " >&6
  101291. else
  101292. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  101293. @@ -21244,7 +21337,7 @@
  101294. fi
  101295. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether HUGE_VAL works" >&5
  101296. $as_echo_n "checking whether HUGE_VAL works... " >&6; }
  101297. -if test "${gl_cv_header_math_huge_val_works+set}" = set; then :
  101298. +if ${gl_cv_header_math_huge_val_works+:} false; then :
  101299. $as_echo_n "(cached) " >&6
  101300. else
  101301. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  101302. @@ -21292,7 +21385,7 @@
  101303. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
  101304. $as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
  101305. -if test "${gl_cv_func_mbrtowc_incomplete_state+set}" = set; then :
  101306. +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
  101307. $as_echo_n "(cached) " >&6
  101308. else
  101309. @@ -21355,7 +21448,7 @@
  101310. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
  101311. $as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
  101312. -if test "${gl_cv_func_mbrtowc_sanitycheck+set}" = set; then :
  101313. +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
  101314. $as_echo_n "(cached) " >&6
  101315. else
  101316. @@ -21448,7 +21541,7 @@
  101317. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5
  101318. $as_echo_n "checking whether mbrtowc handles a NULL pwc argument... " >&6; }
  101319. -if test "${gl_cv_func_mbrtowc_null_arg1+set}" = set; then :
  101320. +if ${gl_cv_func_mbrtowc_null_arg1+:} false; then :
  101321. $as_echo_n "(cached) " >&6
  101322. else
  101323. @@ -21525,7 +21618,7 @@
  101324. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5
  101325. $as_echo_n "checking whether mbrtowc handles a NULL string argument... " >&6; }
  101326. -if test "${gl_cv_func_mbrtowc_null_arg2+set}" = set; then :
  101327. +if ${gl_cv_func_mbrtowc_null_arg2+:} false; then :
  101328. $as_echo_n "(cached) " >&6
  101329. else
  101330. @@ -21592,7 +21685,7 @@
  101331. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5
  101332. $as_echo_n "checking whether mbrtowc has a correct return value... " >&6; }
  101333. -if test "${gl_cv_func_mbrtowc_retval+set}" = set; then :
  101334. +if ${gl_cv_func_mbrtowc_retval+:} false; then :
  101335. $as_echo_n "(cached) " >&6
  101336. else
  101337. @@ -21728,7 +21821,7 @@
  101338. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5
  101339. $as_echo_n "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; }
  101340. -if test "${gl_cv_func_mbrtowc_nul_retval+set}" = set; then :
  101341. +if ${gl_cv_func_mbrtowc_nul_retval+:} false; then :
  101342. $as_echo_n "(cached) " >&6
  101343. else
  101344. @@ -21867,7 +21960,7 @@
  101345. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
  101346. $as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
  101347. -if test "${gl_cv_func_mbrtowc_incomplete_state+set}" = set; then :
  101348. +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
  101349. $as_echo_n "(cached) " >&6
  101350. else
  101351. @@ -21930,7 +22023,7 @@
  101352. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
  101353. $as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
  101354. -if test "${gl_cv_func_mbrtowc_sanitycheck+set}" = set; then :
  101355. +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
  101356. $as_echo_n "(cached) " >&6
  101357. else
  101358. @@ -22115,7 +22208,7 @@
  101359. for ac_func in mkdtemp
  101360. do :
  101361. ac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp"
  101362. -if test "x$ac_cv_func_mkdtemp" = x""yes; then :
  101363. +if test "x$ac_cv_func_mkdtemp" = xyes; then :
  101364. cat >>confdefs.h <<_ACEOF
  101365. #define HAVE_MKDTEMP 1
  101366. _ACEOF
  101367. @@ -22154,7 +22247,7 @@
  101368. if test $ac_cv_func_mkstemp = yes; then
  101369. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mkstemp" >&5
  101370. $as_echo_n "checking for working mkstemp... " >&6; }
  101371. -if test "${gl_cv_func_working_mkstemp+set}" = set; then :
  101372. +if ${gl_cv_func_working_mkstemp+:} false; then :
  101373. $as_echo_n "(cached) " >&6
  101374. else
  101375. @@ -22259,7 +22352,7 @@
  101376. # On Irix 6.5, YESEXPR is defined, but nl_langinfo(YESEXPR) is broken.
  101377. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether YESEXPR works" >&5
  101378. $as_echo_n "checking whether YESEXPR works... " >&6; }
  101379. -if test "${gl_cv_func_nl_langinfo_yesexpr_works+set}" = set; then :
  101380. +if ${gl_cv_func_nl_langinfo_yesexpr_works+:} false; then :
  101381. $as_echo_n "(cached) " >&6
  101382. else
  101383. if test "$cross_compiling" = yes; then :
  101384. @@ -22367,7 +22460,7 @@
  101385. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5
  101386. $as_echo_n "checking for obstacks... " >&6; }
  101387. -if test "${ac_cv_func_obstack+set}" = set; then :
  101388. +if ${ac_cv_func_obstack+:} false; then :
  101389. $as_echo_n "(cached) " >&6
  101390. else
  101391. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  101392. @@ -22442,7 +22535,7 @@
  101393. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether open recognizes a trailing slash" >&5
  101394. $as_echo_n "checking whether open recognizes a trailing slash... " >&6; }
  101395. -if test "${gl_cv_func_open_slash+set}" = set; then :
  101396. +if ${gl_cv_func_open_slash+:} false; then :
  101397. $as_echo_n "(cached) " >&6
  101398. else
  101399. # Assume that if we have lstat, we can also check symlinks.
  101400. @@ -22875,7 +22968,7 @@
  101401. for ac_header in paths.h
  101402. do :
  101403. ac_fn_c_check_header_mongrel "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default"
  101404. -if test "x$ac_cv_header_paths_h" = x""yes; then :
  101405. +if test "x$ac_cv_header_paths_h" = xyes; then :
  101406. cat >>confdefs.h <<_ACEOF
  101407. #define HAVE_PATHS_H 1
  101408. _ACEOF
  101409. @@ -22917,7 +23010,7 @@
  101410. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexp works" >&5
  101411. $as_echo_n "checking whether frexp works... " >&6; }
  101412. -if test "${gl_cv_func_frexp_works+set}" = set; then :
  101413. +if ${gl_cv_func_frexp_works+:} false; then :
  101414. $as_echo_n "(cached) " >&6
  101415. else
  101416. @@ -23010,7 +23103,7 @@
  101417. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexp can be used without linking with libm" >&5
  101418. $as_echo_n "checking whether ldexp can be used without linking with libm... " >&6; }
  101419. -if test "${gl_cv_func_ldexp_no_libm+set}" = set; then :
  101420. +if ${gl_cv_func_ldexp_no_libm+:} false; then :
  101421. $as_echo_n "(cached) " >&6
  101422. else
  101423. @@ -23050,7 +23143,7 @@
  101424. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl() can be used without linking with libm" >&5
  101425. $as_echo_n "checking whether frexpl() can be used without linking with libm... " >&6; }
  101426. -if test "${gl_cv_func_frexpl_no_libm+set}" = set; then :
  101427. +if ${gl_cv_func_frexpl_no_libm+:} false; then :
  101428. $as_echo_n "(cached) " >&6
  101429. else
  101430. @@ -23083,7 +23176,7 @@
  101431. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether frexpl works" >&5
  101432. $as_echo_n "checking whether frexpl works... " >&6; }
  101433. -if test "${gl_cv_func_frexpl_works+set}" = set; then :
  101434. +if ${gl_cv_func_frexpl_works+:} false; then :
  101435. $as_echo_n "(cached) " >&6
  101436. else
  101437. @@ -23202,7 +23295,7 @@
  101438. ac_fn_c_check_decl "$LINENO" "frexpl" "ac_cv_have_decl_frexpl" "#include <math.h>
  101439. "
  101440. -if test "x$ac_cv_have_decl_frexpl" = x""yes; then :
  101441. +if test "x$ac_cv_have_decl_frexpl" = xyes; then :
  101442. else
  101443. HAVE_DECL_FREXPL=0
  101444. @@ -23213,7 +23306,7 @@
  101445. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl() can be used without linking with libm" >&5
  101446. $as_echo_n "checking whether ldexpl() can be used without linking with libm... " >&6; }
  101447. -if test "${gl_cv_func_ldexpl_no_libm+set}" = set; then :
  101448. +if ${gl_cv_func_ldexpl_no_libm+:} false; then :
  101449. $as_echo_n "(cached) " >&6
  101450. else
  101451. @@ -23246,7 +23339,7 @@
  101452. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ldexpl works" >&5
  101453. $as_echo_n "checking whether ldexpl works... " >&6; }
  101454. -if test "${gl_cv_func_ldexpl_works+set}" = set; then :
  101455. +if ${gl_cv_func_ldexpl_works+:} false; then :
  101456. $as_echo_n "(cached) " >&6
  101457. else
  101458. @@ -23302,7 +23395,7 @@
  101459. ac_fn_c_check_decl "$LINENO" "ldexpl" "ac_cv_have_decl_ldexpl" "#include <math.h>
  101460. "
  101461. -if test "x$ac_cv_have_decl_ldexpl" = x""yes; then :
  101462. +if test "x$ac_cv_have_decl_ldexpl" = xyes; then :
  101463. else
  101464. HAVE_DECL_LDEXPL=0
  101465. @@ -23317,7 +23410,7 @@
  101466. # Code from module progname:
  101467. ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
  101468. "
  101469. -if test "x$ac_cv_have_decl_program_invocation_name" = x""yes; then :
  101470. +if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then :
  101471. ac_have_decl=1
  101472. else
  101473. ac_have_decl=0
  101474. @@ -23329,7 +23422,7 @@
  101475. ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
  101476. "
  101477. -if test "x$ac_cv_have_decl_program_invocation_short_name" = x""yes; then :
  101478. +if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then :
  101479. ac_have_decl=1
  101480. else
  101481. ac_have_decl=0
  101482. @@ -23369,7 +23462,7 @@
  101483. for ac_func in rawmemchr
  101484. do :
  101485. ac_fn_c_check_func "$LINENO" "rawmemchr" "ac_cv_func_rawmemchr"
  101486. -if test "x$ac_cv_func_rawmemchr" = x""yes; then :
  101487. +if test "x$ac_cv_func_rawmemchr" = xyes; then :
  101488. cat >>confdefs.h <<_ACEOF
  101489. #define HAVE_RAWMEMCHR 1
  101490. _ACEOF
  101491. @@ -23420,7 +23513,7 @@
  101492. else
  101493. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink signature is correct" >&5
  101494. $as_echo_n "checking whether readlink signature is correct... " >&6; }
  101495. -if test "${gl_cv_decl_readlink_works+set}" = set; then :
  101496. +if ${gl_cv_decl_readlink_works+:} false; then :
  101497. $as_echo_n "(cached) " >&6
  101498. else
  101499. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  101500. @@ -23447,7 +23540,7 @@
  101501. $as_echo "$gl_cv_decl_readlink_works" >&6; }
  101502. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink handles trailing slash correctly" >&5
  101503. $as_echo_n "checking whether readlink handles trailing slash correctly... " >&6; }
  101504. -if test "${gl_cv_func_readlink_works+set}" = set; then :
  101505. +if ${gl_cv_func_readlink_works+:} false; then :
  101506. $as_echo_n "(cached) " >&6
  101507. else
  101508. # We have readlink, so assume ln -s works.
  101509. @@ -23542,7 +23635,7 @@
  101510. # regex.c.
  101511. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working re_compile_pattern" >&5
  101512. $as_echo_n "checking for working re_compile_pattern... " >&6; }
  101513. -if test "${gl_cv_func_re_compile_pattern_working+set}" = set; then :
  101514. +if ${gl_cv_func_re_compile_pattern_working+:} false; then :
  101515. $as_echo_n "(cached) " >&6
  101516. else
  101517. if test "$cross_compiling" = yes; then :
  101518. @@ -23775,7 +23868,7 @@
  101519. for ac_header in libintl.h
  101520. do :
  101521. ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
  101522. -if test "x$ac_cv_header_libintl_h" = x""yes; then :
  101523. +if test "x$ac_cv_header_libintl_h" = xyes; then :
  101524. cat >>confdefs.h <<_ACEOF
  101525. #define HAVE_LIBINTL_H 1
  101526. _ACEOF
  101527. @@ -23787,7 +23880,7 @@
  101528. ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "#include <ctype.h>
  101529. "
  101530. -if test "x$ac_cv_have_decl_isblank" = x""yes; then :
  101531. +if test "x$ac_cv_have_decl_isblank" = xyes; then :
  101532. ac_have_decl=1
  101533. else
  101534. ac_have_decl=0
  101535. @@ -23808,7 +23901,7 @@
  101536. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on destination" >&5
  101537. $as_echo_n "checking whether rename honors trailing slash on destination... " >&6; }
  101538. -if test "${gl_cv_func_rename_slash_dst_works+set}" = set; then :
  101539. +if ${gl_cv_func_rename_slash_dst_works+:} false; then :
  101540. $as_echo_n "(cached) " >&6
  101541. else
  101542. rm -rf conftest.f conftest.f1 conftest.f2 conftest.d1 conftest.d2 conftest.lnk
  101543. @@ -23878,7 +23971,7 @@
  101544. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename honors trailing slash on source" >&5
  101545. $as_echo_n "checking whether rename honors trailing slash on source... " >&6; }
  101546. -if test "${gl_cv_func_rename_slash_src_works+set}" = set; then :
  101547. +if ${gl_cv_func_rename_slash_src_works+:} false; then :
  101548. $as_echo_n "(cached) " >&6
  101549. else
  101550. rm -rf conftest.f conftest.f1 conftest.d1 conftest.d2 conftest.d3 conftest.lnk
  101551. @@ -23948,7 +24041,7 @@
  101552. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages hard links correctly" >&5
  101553. $as_echo_n "checking whether rename manages hard links correctly... " >&6; }
  101554. -if test "${gl_cv_func_rename_link_works+set}" = set; then :
  101555. +if ${gl_cv_func_rename_link_works+:} false; then :
  101556. $as_echo_n "(cached) " >&6
  101557. else
  101558. rm -rf conftest.f conftest.f1
  101559. @@ -24018,7 +24111,7 @@
  101560. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rename manages existing destinations correctly" >&5
  101561. $as_echo_n "checking whether rename manages existing destinations correctly... " >&6; }
  101562. -if test "${gl_cv_func_rename_dest_works+set}" = set; then :
  101563. +if ${gl_cv_func_rename_dest_works+:} false; then :
  101564. $as_echo_n "(cached) " >&6
  101565. else
  101566. rm -rf conftest.f conftest.d1 conftest.d2
  101567. @@ -24094,7 +24187,7 @@
  101568. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether rmdir works" >&5
  101569. $as_echo_n "checking whether rmdir works... " >&6; }
  101570. -if test "${gl_cv_func_rmdir_works+set}" = set; then :
  101571. +if ${gl_cv_func_rmdir_works+:} false; then :
  101572. $as_echo_n "(cached) " >&6
  101573. else
  101574. mkdir conftest.dir
  101575. @@ -24199,7 +24292,7 @@
  101576. else
  101577. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sched.h>" >&5
  101578. $as_echo_n "checking absolute name of <sched.h>... " >&6; }
  101579. -if test "${gl_cv_next_sched_h+set}" = set; then :
  101580. +if ${gl_cv_next_sched_h+:} false; then :
  101581. $as_echo_n "(cached) " >&6
  101582. else
  101583. @@ -24255,7 +24348,7 @@
  101584. ac_fn_c_check_type "$LINENO" "struct sched_param" "ac_cv_type_struct_sched_param" "#include <sched.h>
  101585. "
  101586. -if test "x$ac_cv_type_struct_sched_param" = x""yes; then :
  101587. +if test "x$ac_cv_type_struct_sched_param" = xyes; then :
  101588. HAVE_STRUCT_SCHED_PARAM=1
  101589. else
  101590. HAVE_STRUCT_SCHED_PARAM=0
  101591. @@ -24274,7 +24367,7 @@
  101592. if test $ac_cv_func_sigaction = yes; then
  101593. ac_fn_c_check_member "$LINENO" "struct sigaction" "sa_sigaction" "ac_cv_member_struct_sigaction_sa_sigaction" "#include <signal.h>
  101594. "
  101595. -if test "x$ac_cv_member_struct_sigaction_sa_sigaction" = x""yes; then :
  101596. +if test "x$ac_cv_member_struct_sigaction_sa_sigaction" = xyes; then :
  101597. cat >>confdefs.h <<_ACEOF
  101598. #define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1
  101599. @@ -24308,7 +24401,7 @@
  101600. #include <signal.h>
  101601. "
  101602. -if test "x$ac_cv_type_siginfo_t" = x""yes; then :
  101603. +if test "x$ac_cv_type_siginfo_t" = xyes; then :
  101604. cat >>confdefs.h <<_ACEOF
  101605. #define HAVE_SIGINFO_T 1
  101606. @@ -24350,7 +24443,7 @@
  101607. else
  101608. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <signal.h>" >&5
  101609. $as_echo_n "checking absolute name of <signal.h>... " >&6; }
  101610. -if test "${gl_cv_next_signal_h+set}" = set; then :
  101611. +if ${gl_cv_next_signal_h+:} false; then :
  101612. $as_echo_n "(cached) " >&6
  101613. else
  101614. @@ -24396,7 +24489,7 @@
  101615. #include <signal.h>
  101616. "
  101617. -if test "x$ac_cv_type_volatile_sig_atomic_t" = x""yes; then :
  101618. +if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes; then :
  101619. else
  101620. HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0
  101621. @@ -24411,7 +24504,7 @@
  101622. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit macro" >&5
  101623. $as_echo_n "checking for signbit macro... " >&6; }
  101624. -if test "${gl_cv_func_signbit+set}" = set; then :
  101625. +if ${gl_cv_func_signbit+:} false; then :
  101626. $as_echo_n "(cached) " >&6
  101627. else
  101628. @@ -24523,7 +24616,7 @@
  101629. $as_echo "$gl_cv_func_signbit" >&6; }
  101630. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit compiler built-ins" >&5
  101631. $as_echo_n "checking for signbit compiler built-ins... " >&6; }
  101632. -if test "${gl_cv_func_signbit_gcc+set}" = set; then :
  101633. +if ${gl_cv_func_signbit_gcc+:} false; then :
  101634. $as_echo_n "(cached) " >&6
  101635. else
  101636. @@ -24669,7 +24762,7 @@
  101637. { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'float'" >&5
  101638. $as_echo_n "checking where to find the sign bit in a 'float'... " >&6; }
  101639. -if test "${gl_cv_cc_float_signbit+set}" = set; then :
  101640. +if ${gl_cv_cc_float_signbit+:} false; then :
  101641. $as_echo_n "(cached) " >&6
  101642. else
  101643. @@ -24773,7 +24866,7 @@
  101644. { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'double'" >&5
  101645. $as_echo_n "checking where to find the sign bit in a 'double'... " >&6; }
  101646. -if test "${gl_cv_cc_double_signbit+set}" = set; then :
  101647. +if ${gl_cv_cc_double_signbit+:} false; then :
  101648. $as_echo_n "(cached) " >&6
  101649. else
  101650. @@ -24877,7 +24970,7 @@
  101651. { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the sign bit in a 'long double'" >&5
  101652. $as_echo_n "checking where to find the sign bit in a 'long double'... " >&6; }
  101653. -if test "${gl_cv_cc_long_double_signbit+set}" = set; then :
  101654. +if ${gl_cv_cc_long_double_signbit+:} false; then :
  101655. $as_echo_n "(cached) " >&6
  101656. else
  101657. @@ -24980,7 +25073,7 @@
  101658. if test "$gl_cv_cc_float_signbit" = unknown; then
  101659. ac_fn_c_check_decl "$LINENO" "copysignf" "ac_cv_have_decl_copysignf" "#include <math.h>
  101660. "
  101661. -if test "x$ac_cv_have_decl_copysignf" = x""yes; then :
  101662. +if test "x$ac_cv_have_decl_copysignf" = xyes; then :
  101663. ac_have_decl=1
  101664. else
  101665. ac_have_decl=0
  101666. @@ -24993,7 +25086,7 @@
  101667. if test "$ac_cv_have_decl_copysignf" = yes; then
  101668. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignf can be used without linking with libm" >&5
  101669. $as_echo_n "checking whether copysignf can be used without linking with libm... " >&6; }
  101670. -if test "${gl_cv_func_copysignf_no_libm+set}" = set; then :
  101671. +if ${gl_cv_func_copysignf_no_libm+:} false; then :
  101672. $as_echo_n "(cached) " >&6
  101673. else
  101674. @@ -25030,7 +25123,7 @@
  101675. if test "$gl_cv_cc_double_signbit" = unknown; then
  101676. ac_fn_c_check_decl "$LINENO" "copysign" "ac_cv_have_decl_copysign" "#include <math.h>
  101677. "
  101678. -if test "x$ac_cv_have_decl_copysign" = x""yes; then :
  101679. +if test "x$ac_cv_have_decl_copysign" = xyes; then :
  101680. ac_have_decl=1
  101681. else
  101682. ac_have_decl=0
  101683. @@ -25043,7 +25136,7 @@
  101684. if test "$ac_cv_have_decl_copysign" = yes; then
  101685. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysign can be used without linking with libm" >&5
  101686. $as_echo_n "checking whether copysign can be used without linking with libm... " >&6; }
  101687. -if test "${gl_cv_func_copysign_no_libm+set}" = set; then :
  101688. +if ${gl_cv_func_copysign_no_libm+:} false; then :
  101689. $as_echo_n "(cached) " >&6
  101690. else
  101691. @@ -25080,7 +25173,7 @@
  101692. if test "$gl_cv_cc_long_double_signbit" = unknown; then
  101693. ac_fn_c_check_decl "$LINENO" "copysignl" "ac_cv_have_decl_copysignl" "#include <math.h>
  101694. "
  101695. -if test "x$ac_cv_have_decl_copysignl" = x""yes; then :
  101696. +if test "x$ac_cv_have_decl_copysignl" = xyes; then :
  101697. ac_have_decl=1
  101698. else
  101699. ac_have_decl=0
  101700. @@ -25093,7 +25186,7 @@
  101701. if test "$ac_cv_have_decl_copysignl" = yes; then
  101702. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether copysignl can be used without linking with libm" >&5
  101703. $as_echo_n "checking whether copysignl can be used without linking with libm... " >&6; }
  101704. -if test "${gl_cv_func_copysignl_no_libm+set}" = set; then :
  101705. +if ${gl_cv_func_copysignl_no_libm+:} false; then :
  101706. $as_echo_n "(cached) " >&6
  101707. else
  101708. @@ -25160,7 +25253,7 @@
  101709. if test -z "$signals_not_posix"; then
  101710. ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
  101711. -if test "x$ac_cv_func_sigprocmask" = x""yes; then :
  101712. +if test "x$ac_cv_func_sigprocmask" = xyes; then :
  101713. gl_cv_func_sigprocmask=1
  101714. fi
  101715. @@ -25183,7 +25276,7 @@
  101716. /* Mingw defines sigset_t not in <signal.h>, but in <sys/types.h>. */
  101717. #include <sys/types.h>
  101718. "
  101719. -if test "x$ac_cv_type_sigset_t" = x""yes; then :
  101720. +if test "x$ac_cv_type_sigset_t" = xyes; then :
  101721. cat >>confdefs.h <<_ACEOF
  101722. #define HAVE_SIGSET_T 1
  101723. @@ -25217,7 +25310,7 @@
  101724. for ac_header in stdint.h
  101725. do :
  101726. ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
  101727. -if test "x$ac_cv_header_stdint_h" = x""yes; then :
  101728. +if test "x$ac_cv_header_stdint_h" = xyes; then :
  101729. cat >>confdefs.h <<_ACEOF
  101730. #define HAVE_STDINT_H 1
  101731. _ACEOF
  101732. @@ -25228,7 +25321,7 @@
  101733. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
  101734. $as_echo_n "checking for SIZE_MAX... " >&6; }
  101735. -if test "${gl_cv_size_max+set}" = set; then :
  101736. +if ${gl_cv_size_max+:} false; then :
  101737. $as_echo_n "(cached) " >&6
  101738. else
  101739. @@ -25315,7 +25408,7 @@
  101740. for ac_func in snprintf
  101741. do :
  101742. ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
  101743. -if test "x$ac_cv_func_snprintf" = x""yes; then :
  101744. +if test "x$ac_cv_func_snprintf" = xyes; then :
  101745. cat >>confdefs.h <<_ACEOF
  101746. #define HAVE_SNPRINTF 1
  101747. _ACEOF
  101748. @@ -25328,7 +25421,7 @@
  101749. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5
  101750. $as_echo_n "checking whether snprintf respects a size of 1... " >&6; }
  101751. -if test "${gl_cv_func_snprintf_size1+set}" = set; then :
  101752. +if ${gl_cv_func_snprintf_size1+:} false; then :
  101753. $as_echo_n "(cached) " >&6
  101754. else
  101755. @@ -25431,7 +25524,7 @@
  101756. else
  101757. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <spawn.h>" >&5
  101758. $as_echo_n "checking absolute name of <spawn.h>... " >&6; }
  101759. -if test "${gl_cv_next_spawn_h+set}" = set; then :
  101760. +if ${gl_cv_next_spawn_h+:} false; then :
  101761. $as_echo_n "(cached) " >&6
  101762. else
  101763. @@ -25484,7 +25577,7 @@
  101764. #include <spawn.h>
  101765. "
  101766. -if test "x$ac_cv_type_posix_spawnattr_t" = x""yes; then :
  101767. +if test "x$ac_cv_type_posix_spawnattr_t" = xyes; then :
  101768. cat >>confdefs.h <<_ACEOF
  101769. #define HAVE_POSIX_SPAWNATTR_T 1
  101770. @@ -25499,7 +25592,7 @@
  101771. #include <spawn.h>
  101772. "
  101773. -if test "x$ac_cv_type_posix_spawn_file_actions_t" = x""yes; then :
  101774. +if test "x$ac_cv_type_posix_spawn_file_actions_t" = xyes; then :
  101775. cat >>confdefs.h <<_ACEOF
  101776. #define HAVE_POSIX_SPAWN_FILE_ACTIONS_T 1
  101777. @@ -25535,7 +25628,7 @@
  101778. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5
  101779. $as_echo_n "checking for ssize_t... " >&6; }
  101780. -if test "${gt_cv_ssize_t+set}" = set; then :
  101781. +if ${gt_cv_ssize_t+:} false; then :
  101782. $as_echo_n "(cached) " >&6
  101783. else
  101784. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  101785. @@ -25571,7 +25664,7 @@
  101786. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on directories" >&5
  101787. $as_echo_n "checking whether stat handles trailing slashes on directories... " >&6; }
  101788. -if test "${gl_cv_func_stat_dir_slash+set}" = set; then :
  101789. +if ${gl_cv_func_stat_dir_slash+:} false; then :
  101790. $as_echo_n "(cached) " >&6
  101791. else
  101792. if test "$cross_compiling" = yes; then :
  101793. @@ -25606,7 +25699,7 @@
  101794. $as_echo "$gl_cv_func_stat_dir_slash" >&6; }
  101795. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5
  101796. $as_echo_n "checking whether stat handles trailing slashes on files... " >&6; }
  101797. -if test "${gl_cv_func_stat_file_slash+set}" = set; then :
  101798. +if ${gl_cv_func_stat_file_slash+:} false; then :
  101799. $as_echo_n "(cached) " >&6
  101800. else
  101801. touch conftest.tmp
  101802. @@ -25694,7 +25787,7 @@
  101803. NEXT_STDARG_H='<stdarg.h>';
  101804. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
  101805. $as_echo_n "checking for va_copy... " >&6; }
  101806. - if test "${gl_cv_func_va_copy+set}" = set; then :
  101807. + if ${gl_cv_func_va_copy+:} false; then :
  101808. $as_echo_n "(cached) " >&6
  101809. else
  101810. @@ -25754,7 +25847,7 @@
  101811. else
  101812. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdarg.h>" >&5
  101813. $as_echo_n "checking absolute name of <stdarg.h>... " >&6; }
  101814. -if test "${gl_cv_next_stdarg_h+set}" = set; then :
  101815. +if ${gl_cv_next_stdarg_h+:} false; then :
  101816. $as_echo_n "(cached) " >&6
  101817. else
  101818. @@ -25802,7 +25895,7 @@
  101819. saved_as_echo_n="$as_echo_n"
  101820. as_echo_n=':'
  101821. - if test "${gl_cv_func___va_copy+set}" = set; then :
  101822. + if ${gl_cv_func___va_copy+:} false; then :
  101823. $as_echo_n "(cached) " >&6
  101824. else
  101825. @@ -25874,7 +25967,7 @@
  101826. fi
  101827. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
  101828. $as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
  101829. -if test "${gl_cv_decl_null_works+set}" = set; then :
  101830. +if ${gl_cv_decl_null_works+:} false; then :
  101831. $as_echo_n "(cached) " >&6
  101832. else
  101833. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  101834. @@ -25917,7 +26010,7 @@
  101835. else
  101836. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
  101837. $as_echo_n "checking absolute name of <stddef.h>... " >&6; }
  101838. -if test "${gl_cv_next_stddef_h+set}" = set; then :
  101839. +if ${gl_cv_next_stddef_h+:} false; then :
  101840. $as_echo_n "(cached) " >&6
  101841. else
  101842. @@ -26013,7 +26106,7 @@
  101843. else
  101844. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
  101845. $as_echo_n "checking absolute name of <stdint.h>... " >&6; }
  101846. -if test "${gl_cv_next_stdint_h+set}" = set; then :
  101847. +if ${gl_cv_next_stdint_h+:} false; then :
  101848. $as_echo_n "(cached) " >&6
  101849. else
  101850. @@ -26069,7 +26162,7 @@
  101851. if test $ac_cv_header_stdint_h = yes; then
  101852. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
  101853. $as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
  101854. -if test "${gl_cv_header_working_stdint_h+set}" = set; then :
  101855. +if ${gl_cv_header_working_stdint_h+:} false; then :
  101856. $as_echo_n "(cached) " >&6
  101857. else
  101858. gl_cv_header_working_stdint_h=no
  101859. @@ -26372,7 +26465,7 @@
  101860. for gltype in ptrdiff_t size_t ; do
  101861. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
  101862. $as_echo_n "checking for bit size of $gltype... " >&6; }
  101863. -if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\"" = set; then :
  101864. +if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
  101865. $as_echo_n "(cached) " >&6
  101866. else
  101867. if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
  101868. @@ -26417,7 +26510,7 @@
  101869. for gltype in sig_atomic_t wchar_t wint_t ; do
  101870. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
  101871. $as_echo_n "checking for bit size of $gltype... " >&6; }
  101872. -if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\"" = set; then :
  101873. +if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
  101874. $as_echo_n "(cached) " >&6
  101875. else
  101876. if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
  101877. @@ -26461,7 +26554,7 @@
  101878. for gltype in sig_atomic_t wchar_t wint_t ; do
  101879. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
  101880. $as_echo_n "checking whether $gltype is signed... " >&6; }
  101881. -if eval "test \"\${gl_cv_type_${gltype}_signed+set}\"" = set; then :
  101882. +if eval \${gl_cv_type_${gltype}_signed+:} false; then :
  101883. $as_echo_n "(cached) " >&6
  101884. else
  101885. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  101886. @@ -26520,7 +26613,7 @@
  101887. for gltype in ptrdiff_t size_t ; do
  101888. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
  101889. $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
  101890. -if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\"" = set; then :
  101891. +if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
  101892. $as_echo_n "(cached) " >&6
  101893. else
  101894. eval gl_cv_type_${gltype}_suffix=no
  101895. @@ -26592,7 +26685,7 @@
  101896. for gltype in sig_atomic_t wchar_t wint_t ; do
  101897. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
  101898. $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
  101899. -if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\"" = set; then :
  101900. +if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
  101901. $as_echo_n "(cached) " >&6
  101902. else
  101903. eval gl_cv_type_${gltype}_suffix=no
  101904. @@ -26680,7 +26773,7 @@
  101905. else
  101906. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdio.h>" >&5
  101907. $as_echo_n "checking absolute name of <stdio.h>... " >&6; }
  101908. -if test "${gl_cv_next_stdio_h+set}" = set; then :
  101909. +if ${gl_cv_next_stdio_h+:} false; then :
  101910. $as_echo_n "(cached) " >&6
  101911. else
  101912. @@ -26750,7 +26843,7 @@
  101913. else
  101914. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdlib.h>" >&5
  101915. $as_echo_n "checking absolute name of <stdlib.h>... " >&6; }
  101916. -if test "${gl_cv_next_stdlib_h+set}" = set; then :
  101917. +if ${gl_cv_next_stdlib_h+:} false; then :
  101918. $as_echo_n "(cached) " >&6
  101919. else
  101920. @@ -26822,7 +26915,7 @@
  101921. for ac_func in strchrnul
  101922. do :
  101923. ac_fn_c_check_func "$LINENO" "strchrnul" "ac_cv_func_strchrnul"
  101924. -if test "x$ac_cv_func_strchrnul" = x""yes; then :
  101925. +if test "x$ac_cv_func_strchrnul" = xyes; then :
  101926. cat >>confdefs.h <<_ACEOF
  101927. #define HAVE_STRCHRNUL 1
  101928. _ACEOF
  101929. @@ -26903,7 +26996,7 @@
  101930. # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'.
  101931. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strndup" >&5
  101932. $as_echo_n "checking for working strndup... " >&6; }
  101933. -if test "${gl_cv_func_strndup_works+set}" = set; then :
  101934. +if ${gl_cv_func_strndup_works+:} false; then :
  101935. $as_echo_n "(cached) " >&6
  101936. else
  101937. if test "$cross_compiling" = yes; then :
  101938. @@ -26996,13 +27089,17 @@
  101939. if test $ac_cv_have_decl_strnlen = no; then
  101940. HAVE_DECL_STRNLEN=0
  101941. else
  101942. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
  101943. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
  101944. $as_echo_n "checking for working strnlen... " >&6; }
  101945. -if test "${ac_cv_func_strnlen_working+set}" = set; then :
  101946. +if ${ac_cv_func_strnlen_working+:} false; then :
  101947. $as_echo_n "(cached) " >&6
  101948. else
  101949. if test "$cross_compiling" = yes; then :
  101950. - ac_cv_func_strnlen_working=no
  101951. + # Guess no on AIX systems, yes otherwise.
  101952. + case "$host_os" in
  101953. + aix*) ac_cv_func_strnlen_working=no;;
  101954. + *) ac_cv_func_strnlen_working=yes;;
  101955. + esac
  101956. else
  101957. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  101958. /* end confdefs.h. */
  101959. @@ -27096,7 +27193,7 @@
  101960. for ac_func in strsignal
  101961. do :
  101962. ac_fn_c_check_func "$LINENO" "strsignal" "ac_cv_func_strsignal"
  101963. -if test "x$ac_cv_func_strsignal" = x""yes; then :
  101964. +if test "x$ac_cv_func_strsignal" = xyes; then :
  101965. cat >>confdefs.h <<_ACEOF
  101966. #define HAVE_STRSIGNAL 1
  101967. _ACEOF
  101968. @@ -27107,7 +27204,7 @@
  101969. if test $ac_cv_func_strsignal = yes; then
  101970. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strsignal always returns a string" >&5
  101971. $as_echo_n "checking whether strsignal always returns a string... " >&6; }
  101972. -if test "${gl_cv_func_working_strsignal+set}" = set; then :
  101973. +if ${gl_cv_func_working_strsignal+:} false; then :
  101974. $as_echo_n "(cached) " >&6
  101975. else
  101976. if test "$cross_compiling" = yes; then :
  101977. @@ -27170,7 +27267,7 @@
  101978. ac_fn_c_check_decl "$LINENO" "_sys_siglist" "ac_cv_have_decl__sys_siglist" "#include <signal.h>
  101979. "
  101980. -if test "x$ac_cv_have_decl__sys_siglist" = x""yes; then :
  101981. +if test "x$ac_cv_have_decl__sys_siglist" = xyes; then :
  101982. ac_have_decl=1
  101983. else
  101984. ac_have_decl=0
  101985. @@ -27200,7 +27297,7 @@
  101986. if test $REPLACE_STRSTR = 0; then
  101987. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works in linear time" >&5
  101988. $as_echo_n "checking whether strstr works in linear time... " >&6; }
  101989. -if test "${gl_cv_func_strstr_linear+set}" = set; then :
  101990. +if ${gl_cv_func_strstr_linear+:} false; then :
  101991. $as_echo_n "(cached) " >&6
  101992. else
  101993. if test "$cross_compiling" = yes; then :
  101994. @@ -27320,7 +27417,7 @@
  101995. else
  101996. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strstr works" >&5
  101997. $as_echo_n "checking whether strstr works... " >&6; }
  101998. -if test "${gl_cv_func_strstr_works_always+set}" = set; then :
  101999. +if ${gl_cv_func_strstr_works_always+:} false; then :
  102000. $as_echo_n "(cached) " >&6
  102001. else
  102002. if test "$cross_compiling" = yes; then :
  102003. @@ -27418,7 +27515,7 @@
  102004. else
  102005. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strtod obeys C99" >&5
  102006. $as_echo_n "checking whether strtod obeys C99... " >&6; }
  102007. -if test "${gl_cv_func_strtod_works+set}" = set; then :
  102008. +if ${gl_cv_func_strtod_works+:} false; then :
  102009. $as_echo_n "(cached) " >&6
  102010. else
  102011. if test "$cross_compiling" = yes; then :
  102012. @@ -27592,7 +27689,7 @@
  102013. for ac_func in strtol
  102014. do :
  102015. ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
  102016. -if test "x$ac_cv_func_strtol" = x""yes; then :
  102017. +if test "x$ac_cv_func_strtol" = xyes; then :
  102018. cat >>confdefs.h <<_ACEOF
  102019. #define HAVE_STRTOL 1
  102020. _ACEOF
  102021. @@ -27628,7 +27725,7 @@
  102022. else
  102023. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5
  102024. $as_echo_n "checking absolute name of <sys/stat.h>... " >&6; }
  102025. -if test "${gl_cv_next_sys_stat_h+set}" = set; then :
  102026. +if ${gl_cv_next_sys_stat_h+:} false; then :
  102027. $as_echo_n "(cached) " >&6
  102028. else
  102029. @@ -27678,7 +27775,7 @@
  102030. ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
  102031. #include <sys/stat.h>
  102032. "
  102033. -if test "x$ac_cv_type_nlink_t" = x""yes; then :
  102034. +if test "x$ac_cv_type_nlink_t" = xyes; then :
  102035. else
  102036. @@ -27713,7 +27810,7 @@
  102037. else
  102038. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/wait.h>" >&5
  102039. $as_echo_n "checking absolute name of <sys/wait.h>... " >&6; }
  102040. -if test "${gl_cv_next_sys_wait_h+set}" = set; then :
  102041. +if ${gl_cv_next_sys_wait_h+:} false; then :
  102042. $as_echo_n "(cached) " >&6
  102043. else
  102044. @@ -27799,7 +27896,7 @@
  102045. for ac_func in __secure_getenv
  102046. do :
  102047. ac_fn_c_check_func "$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv"
  102048. -if test "x$ac_cv_func___secure_getenv" = x""yes; then :
  102049. +if test "x$ac_cv_func___secure_getenv" = xyes; then :
  102050. cat >>confdefs.h <<_ACEOF
  102051. #define HAVE___SECURE_GETENV 1
  102052. _ACEOF
  102053. @@ -27827,7 +27924,7 @@
  102054. else
  102055. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5
  102056. $as_echo_n "checking absolute name of <unistd.h>... " >&6; }
  102057. -if test "${gl_cv_next_unistd_h+set}" = set; then :
  102058. +if ${gl_cv_next_unistd_h+:} false; then :
  102059. $as_echo_n "(cached) " >&6
  102060. else
  102061. @@ -28003,7 +28100,7 @@
  102062. ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
  102063. -if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
  102064. +if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
  102065. else
  102066. @@ -28025,7 +28122,7 @@
  102067. for ac_func in vasprintf
  102068. do :
  102069. ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
  102070. -if test "x$ac_cv_func_vasprintf" = x""yes; then :
  102071. +if test "x$ac_cv_func_vasprintf" = xyes; then :
  102072. cat >>confdefs.h <<_ACEOF
  102073. #define HAVE_VASPRINTF 1
  102074. _ACEOF
  102075. @@ -28110,7 +28207,7 @@
  102076. for ac_func in vasprintf
  102077. do :
  102078. ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
  102079. -if test "x$ac_cv_func_vasprintf" = x""yes; then :
  102080. +if test "x$ac_cv_func_vasprintf" = xyes; then :
  102081. cat >>confdefs.h <<_ACEOF
  102082. #define HAVE_VASPRINTF 1
  102083. _ACEOF
  102084. @@ -28222,7 +28319,7 @@
  102085. for ac_func in nl_langinfo
  102086. do :
  102087. ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
  102088. -if test "x$ac_cv_func_nl_langinfo" = x""yes; then :
  102089. +if test "x$ac_cv_func_nl_langinfo" = xyes; then :
  102090. cat >>confdefs.h <<_ACEOF
  102091. #define HAVE_NL_LANGINFO 1
  102092. _ACEOF
  102093. @@ -28388,7 +28485,7 @@
  102094. ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
  102095. -if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
  102096. +if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
  102097. else
  102098. @@ -28511,7 +28608,7 @@
  102099. for ac_func in waitid
  102100. do :
  102101. ac_fn_c_check_func "$LINENO" "waitid" "ac_cv_func_waitid"
  102102. -if test "x$ac_cv_func_waitid" = x""yes; then :
  102103. +if test "x$ac_cv_func_waitid" = xyes; then :
  102104. cat >>confdefs.h <<_ACEOF
  102105. #define HAVE_WAITID 1
  102106. _ACEOF
  102107. @@ -28570,7 +28667,7 @@
  102108. else
  102109. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wchar.h>" >&5
  102110. $as_echo_n "checking absolute name of <wchar.h>... " >&6; }
  102111. -if test "${gl_cv_next_wchar_h+set}" = set; then :
  102112. +if ${gl_cv_next_wchar_h+:} false; then :
  102113. $as_echo_n "(cached) " >&6
  102114. else
  102115. @@ -28652,7 +28749,7 @@
  102116. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5
  102117. $as_echo_n "checking whether mbrtowc handles incomplete characters... " >&6; }
  102118. -if test "${gl_cv_func_mbrtowc_incomplete_state+set}" = set; then :
  102119. +if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then :
  102120. $as_echo_n "(cached) " >&6
  102121. else
  102122. @@ -28715,7 +28812,7 @@
  102123. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5
  102124. $as_echo_n "checking whether mbrtowc works as well as mbtowc... " >&6; }
  102125. -if test "${gl_cv_func_mbrtowc_sanitycheck+set}" = set; then :
  102126. +if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then :
  102127. $as_echo_n "(cached) " >&6
  102128. else
  102129. @@ -28810,7 +28907,7 @@
  102130. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wcrtomb return value is correct" >&5
  102131. $as_echo_n "checking whether wcrtomb return value is correct... " >&6; }
  102132. -if test "${gl_cv_func_wcrtomb_retval+set}" = set; then :
  102133. +if ${gl_cv_func_wcrtomb_retval+:} false; then :
  102134. $as_echo_n "(cached) " >&6
  102135. else
  102136. @@ -28950,7 +29047,7 @@
  102137. else
  102138. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wctype.h>" >&5
  102139. $as_echo_n "checking absolute name of <wctype.h>... " >&6; }
  102140. -if test "${gl_cv_next_wctype_h+set}" = set; then :
  102141. +if ${gl_cv_next_wctype_h+:} false; then :
  102142. $as_echo_n "(cached) " >&6
  102143. else
  102144. @@ -29000,7 +29097,7 @@
  102145. if test $ac_cv_func_iswcntrl = yes; then
  102146. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5
  102147. $as_echo_n "checking whether iswcntrl works... " >&6; }
  102148. -if test "${gl_cv_func_iswcntrl_works+set}" = set; then :
  102149. +if ${gl_cv_func_iswcntrl_works+:} false; then :
  102150. $as_echo_n "(cached) " >&6
  102151. else
  102152. @@ -29075,7 +29172,7 @@
  102153. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5
  102154. $as_echo_n "checking for wctype_t... " >&6; }
  102155. -if test "${gl_cv_type_wctype_t+set}" = set; then :
  102156. +if ${gl_cv_type_wctype_t+:} false; then :
  102157. $as_echo_n "(cached) " >&6
  102158. else
  102159. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  102160. @@ -29117,7 +29214,7 @@
  102161. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5
  102162. $as_echo_n "checking for wctrans_t... " >&6; }
  102163. -if test "${gl_cv_type_wctrans_t+set}" = set; then :
  102164. +if ${gl_cv_type_wctrans_t+:} false; then :
  102165. $as_echo_n "(cached) " >&6
  102166. else
  102167. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  102168. @@ -29212,7 +29309,7 @@
  102169. for ac_header in stdint.h
  102170. do :
  102171. ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
  102172. -if test "x$ac_cv_header_stdint_h" = x""yes; then :
  102173. +if test "x$ac_cv_header_stdint_h" = xyes; then :
  102174. cat >>confdefs.h <<_ACEOF
  102175. #define HAVE_STDINT_H 1
  102176. _ACEOF
  102177. @@ -29280,7 +29377,7 @@
  102178. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  102179. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  102180. $as_echo_n "checking for $ac_word... " >&6; }
  102181. -if test "${ac_cv_prog_CXX+set}" = set; then :
  102182. +if ${ac_cv_prog_CXX+:} false; then :
  102183. $as_echo_n "(cached) " >&6
  102184. else
  102185. if test -n "$CXX"; then
  102186. @@ -29292,7 +29389,7 @@
  102187. IFS=$as_save_IFS
  102188. test -z "$as_dir" && as_dir=.
  102189. for ac_exec_ext in '' $ac_executable_extensions; do
  102190. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  102191. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  102192. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  102193. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  102194. break 2
  102195. @@ -29324,7 +29421,7 @@
  102196. set dummy $ac_prog; ac_word=$2
  102197. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  102198. $as_echo_n "checking for $ac_word... " >&6; }
  102199. -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
  102200. +if ${ac_cv_prog_ac_ct_CXX+:} false; then :
  102201. $as_echo_n "(cached) " >&6
  102202. else
  102203. if test -n "$ac_ct_CXX"; then
  102204. @@ -29336,7 +29433,7 @@
  102205. IFS=$as_save_IFS
  102206. test -z "$as_dir" && as_dir=.
  102207. for ac_exec_ext in '' $ac_executable_extensions; do
  102208. - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  102209. + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  102210. ac_cv_prog_ac_ct_CXX="$ac_prog"
  102211. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  102212. break 2
  102213. @@ -29468,15 +29565,16 @@
  102214. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  102215. $as_echo_n "checking dependency style of $depcc... " >&6; }
  102216. -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
  102217. +if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
  102218. $as_echo_n "(cached) " >&6
  102219. else
  102220. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  102221. # We make a subdir and do the tests there. Otherwise we can end up
  102222. # making bogus files that we don't know about and never remove. For
  102223. # instance it was reported that on HP-UX the gcc test will end up
  102224. - # making a dummy file named `D' -- because `-MD' means `put the output
  102225. - # in D'.
  102226. + # making a dummy file named 'D' -- because '-MD' means "put the output
  102227. + # in D".
  102228. + rm -rf conftest.dir
  102229. mkdir conftest.dir
  102230. # Copy depcomp to subdir because otherwise we won't find it if we're
  102231. # using a relative directory.
  102232. @@ -29510,16 +29608,16 @@
  102233. : > sub/conftest.c
  102234. for i in 1 2 3 4 5 6; do
  102235. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  102236. - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  102237. - # Solaris 8's {/usr,}/bin/sh.
  102238. - touch sub/conftst$i.h
  102239. + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  102240. + # Solaris 10 /bin/sh.
  102241. + echo '/* dummy */' > sub/conftst$i.h
  102242. done
  102243. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  102244. - # We check with `-c' and `-o' for the sake of the "dashmstdout"
  102245. + # We check with '-c' and '-o' for the sake of the "dashmstdout"
  102246. # mode. It turns out that the SunPro C++ compiler does not properly
  102247. - # handle `-M -o', and we need to detect this. Also, some Intel
  102248. - # versions had trouble with output in subdirs
  102249. + # handle '-M -o', and we need to detect this. Also, some Intel
  102250. + # versions had trouble with output in subdirs.
  102251. am__obj=sub/conftest.${OBJEXT-o}
  102252. am__minus_obj="-o $am__obj"
  102253. case $depmode in
  102254. @@ -29528,16 +29626,16 @@
  102255. test "$am__universal" = false || continue
  102256. ;;
  102257. nosideeffect)
  102258. - # after this tag, mechanisms are not by side-effect, so they'll
  102259. - # only be used when explicitly requested
  102260. + # After this tag, mechanisms are not by side-effect, so they'll
  102261. + # only be used when explicitly requested.
  102262. if test "x$enable_dependency_tracking" = xyes; then
  102263. continue
  102264. else
  102265. break
  102266. fi
  102267. ;;
  102268. - msvisualcpp | msvcmsys)
  102269. - # This compiler won't grok `-c -o', but also, the minuso test has
  102270. + msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  102271. + # This compiler won't grok '-c -o', but also, the minuso test has
  102272. # not run yet. These depmodes are late enough in the game, and
  102273. # so weak that their functioning should not be impacted.
  102274. am__obj=conftest.${OBJEXT-o}
  102275. @@ -29607,7 +29705,7 @@
  102276. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  102277. $as_echo_n "checking for a traditional french locale... " >&6; }
  102278. -if test "${gt_cv_locale_fr+set}" = set; then :
  102279. +if ${gt_cv_locale_fr+:} false; then :
  102280. $as_echo_n "(cached) " >&6
  102281. else
  102282. @@ -29739,7 +29837,7 @@
  102283. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  102284. $as_echo_n "checking for a french Unicode locale... " >&6; }
  102285. -if test "${gt_cv_locale_fr_utf8+set}" = set; then :
  102286. +if ${gt_cv_locale_fr_utf8+:} false; then :
  102287. $as_echo_n "(cached) " >&6
  102288. else
  102289. @@ -29866,7 +29964,7 @@
  102290. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  102291. $as_echo_n "checking for a traditional french locale... " >&6; }
  102292. -if test "${gt_cv_locale_fr+set}" = set; then :
  102293. +if ${gt_cv_locale_fr+:} false; then :
  102294. $as_echo_n "(cached) " >&6
  102295. else
  102296. @@ -29999,7 +30097,7 @@
  102297. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a turkish Unicode locale" >&5
  102298. $as_echo_n "checking for a turkish Unicode locale... " >&6; }
  102299. -if test "${gt_cv_locale_tr_utf8+set}" = set; then :
  102300. +if ${gt_cv_locale_tr_utf8+:} false; then :
  102301. $as_echo_n "(cached) " >&6
  102302. else
  102303. @@ -30161,7 +30259,7 @@
  102304. for ac_func in getpagesize
  102305. do :
  102306. ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
  102307. -if test "x$ac_cv_func_getpagesize" = x""yes; then :
  102308. +if test "x$ac_cv_func_getpagesize" = xyes; then :
  102309. cat >>confdefs.h <<_ACEOF
  102310. #define HAVE_GETPAGESIZE 1
  102311. _ACEOF
  102312. @@ -30174,7 +30272,7 @@
  102313. for ac_header in OS.h
  102314. do :
  102315. ac_fn_c_check_header_mongrel "$LINENO" "OS.h" "ac_cv_header_OS_h" "$ac_includes_default"
  102316. -if test "x$ac_cv_header_OS_h" = x""yes; then :
  102317. +if test "x$ac_cv_header_OS_h" = xyes; then :
  102318. cat >>confdefs.h <<_ACEOF
  102319. #define HAVE_OS_H 1
  102320. _ACEOF
  102321. @@ -30189,7 +30287,7 @@
  102322. for ac_header in sys/param.h
  102323. do :
  102324. ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
  102325. -if test "x$ac_cv_header_sys_param_h" = x""yes; then :
  102326. +if test "x$ac_cv_header_sys_param_h" = xyes; then :
  102327. cat >>confdefs.h <<_ACEOF
  102328. #define HAVE_SYS_PARAM_H 1
  102329. _ACEOF
  102330. @@ -30218,7 +30316,7 @@
  102331. ;;
  102332. esac
  102333. ac_fn_c_check_decl "$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default"
  102334. -if test "x$ac_cv_have_decl_getpagesize" = x""yes; then :
  102335. +if test "x$ac_cv_have_decl_getpagesize" = xyes; then :
  102336. else
  102337. HAVE_DECL_GETPAGESIZE=0
  102338. @@ -30239,7 +30337,7 @@
  102339. { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'double'" >&5
  102340. $as_echo_n "checking where to find the exponent in a 'double'... " >&6; }
  102341. -if test "${gl_cv_cc_double_expbit0+set}" = set; then :
  102342. +if ${gl_cv_cc_double_expbit0+:} false; then :
  102343. $as_echo_n "(cached) " >&6
  102344. else
  102345. @@ -30259,7 +30357,7 @@
  102346. else
  102347. :
  102348. -if test "${ac_cv_c_bigendian+set}" = set; then :
  102349. +if ${ac_cv_c_bigendian+:} false; then :
  102350. $as_echo_n "(cached) " >&6
  102351. else
  102352. ac_cv_c_bigendian=unknown
  102353. @@ -30585,7 +30683,7 @@
  102354. { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'float'" >&5
  102355. $as_echo_n "checking where to find the exponent in a 'float'... " >&6; }
  102356. -if test "${gl_cv_cc_float_expbit0+set}" = set; then :
  102357. +if ${gl_cv_cc_float_expbit0+:} false; then :
  102358. $as_echo_n "(cached) " >&6
  102359. else
  102360. @@ -30695,7 +30793,7 @@
  102361. { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the exponent in a 'long double'" >&5
  102362. $as_echo_n "checking where to find the exponent in a 'long double'... " >&6; }
  102363. -if test "${gl_cv_cc_long_double_expbit0+set}" = set; then :
  102364. +if ${gl_cv_cc_long_double_expbit0+:} false; then :
  102365. $as_echo_n "(cached) " >&6
  102366. else
  102367. @@ -30822,7 +30920,7 @@
  102368. else
  102369. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether link handles trailing slash correctly" >&5
  102370. $as_echo_n "checking whether link handles trailing slash correctly... " >&6; }
  102371. -if test "${gl_cv_func_link_works+set}" = set; then :
  102372. +if ${gl_cv_func_link_works+:} false; then :
  102373. $as_echo_n "(cached) " >&6
  102374. else
  102375. touch conftest.a
  102376. @@ -30901,7 +30999,7 @@
  102377. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h conforms to POSIX:2001" >&5
  102378. $as_echo_n "checking whether locale.h conforms to POSIX:2001... " >&6; }
  102379. -if test "${gl_cv_header_locale_h_posix2001+set}" = set; then :
  102380. +if ${gl_cv_header_locale_h_posix2001+:} false; then :
  102381. $as_echo_n "(cached) " >&6
  102382. else
  102383. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  102384. @@ -30931,7 +31029,7 @@
  102385. HAVE_XLOCALE_H=1
  102386. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale.h defines locale_t" >&5
  102387. $as_echo_n "checking whether locale.h defines locale_t... " >&6; }
  102388. -if test "${gl_cv_header_locale_has_locale_t+set}" = set; then :
  102389. +if ${gl_cv_header_locale_has_locale_t+:} false; then :
  102390. $as_echo_n "(cached) " >&6
  102391. else
  102392. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  102393. @@ -30980,7 +31078,7 @@
  102394. else
  102395. { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <locale.h>" >&5
  102396. $as_echo_n "checking absolute name of <locale.h>... " >&6; }
  102397. -if test "${gl_cv_next_locale_h+set}" = set; then :
  102398. +if ${gl_cv_next_locale_h+:} false; then :
  102399. $as_echo_n "(cached) " >&6
  102400. else
  102401. @@ -31054,7 +31152,7 @@
  102402. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  102403. $as_echo_n "checking for a traditional french locale... " >&6; }
  102404. -if test "${gt_cv_locale_fr+set}" = set; then :
  102405. +if ${gt_cv_locale_fr+:} false; then :
  102406. $as_echo_n "(cached) " >&6
  102407. else
  102408. @@ -31186,7 +31284,7 @@
  102409. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  102410. $as_echo_n "checking for a french Unicode locale... " >&6; }
  102411. -if test "${gt_cv_locale_fr_utf8+set}" = set; then :
  102412. +if ${gt_cv_locale_fr_utf8+:} false; then :
  102413. $as_echo_n "(cached) " >&6
  102414. else
  102415. @@ -31313,7 +31411,7 @@
  102416. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
  102417. $as_echo_n "checking for a traditional japanese locale... " >&6; }
  102418. -if test "${gt_cv_locale_ja+set}" = set; then :
  102419. +if ${gt_cv_locale_ja+:} false; then :
  102420. $as_echo_n "(cached) " >&6
  102421. else
  102422. @@ -31451,7 +31549,7 @@
  102423. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
  102424. $as_echo_n "checking for a transitional chinese locale... " >&6; }
  102425. -if test "${gt_cv_locale_zh_CN+set}" = set; then :
  102426. +if ${gt_cv_locale_zh_CN+:} false; then :
  102427. $as_echo_n "(cached) " >&6
  102428. else
  102429. @@ -31577,7 +31675,7 @@
  102430. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  102431. $as_echo_n "checking for a french Unicode locale... " >&6; }
  102432. -if test "${gt_cv_locale_fr_utf8+set}" = set; then :
  102433. +if ${gt_cv_locale_fr_utf8+:} false; then :
  102434. $as_echo_n "(cached) " >&6
  102435. else
  102436. @@ -31706,7 +31804,7 @@
  102437. # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  102438. # irrelevant for anonymous mappings.
  102439. ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  102440. -if test "x$ac_cv_func_mmap" = x""yes; then :
  102441. +if test "x$ac_cv_func_mmap" = xyes; then :
  102442. gl_have_mmap=yes
  102443. else
  102444. gl_have_mmap=no
  102445. @@ -31771,7 +31869,7 @@
  102446. # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  102447. # irrelevant for anonymous mappings.
  102448. ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  102449. -if test "x$ac_cv_func_mmap" = x""yes; then :
  102450. +if test "x$ac_cv_func_mmap" = xyes; then :
  102451. gl_have_mmap=yes
  102452. else
  102453. gl_have_mmap=no
  102454. @@ -31834,7 +31932,7 @@
  102455. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  102456. $as_echo_n "checking for a traditional french locale... " >&6; }
  102457. -if test "${gt_cv_locale_fr+set}" = set; then :
  102458. +if ${gt_cv_locale_fr+:} false; then :
  102459. $as_echo_n "(cached) " >&6
  102460. else
  102461. @@ -31966,7 +32064,7 @@
  102462. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  102463. $as_echo_n "checking for a french Unicode locale... " >&6; }
  102464. -if test "${gt_cv_locale_fr_utf8+set}" = set; then :
  102465. +if ${gt_cv_locale_fr_utf8+:} false; then :
  102466. $as_echo_n "(cached) " >&6
  102467. else
  102468. @@ -32116,7 +32214,7 @@
  102469. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for putenv compatible with GNU and SVID" >&5
  102470. $as_echo_n "checking for putenv compatible with GNU and SVID... " >&6; }
  102471. -if test "${gl_cv_func_svid_putenv+set}" = set; then :
  102472. +if ${gl_cv_func_svid_putenv+:} false; then :
  102473. $as_echo_n "(cached) " >&6
  102474. else
  102475. if test "$cross_compiling" = yes; then :
  102476. @@ -32192,7 +32290,7 @@
  102477. # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  102478. # irrelevant for anonymous mappings.
  102479. ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  102480. -if test "x$ac_cv_func_mmap" = x""yes; then :
  102481. +if test "x$ac_cv_func_mmap" = xyes; then :
  102482. gl_have_mmap=yes
  102483. else
  102484. gl_have_mmap=no
  102485. @@ -32317,7 +32415,7 @@
  102486. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  102487. $as_echo_n "checking for a traditional french locale... " >&6; }
  102488. -if test "${gt_cv_locale_fr+set}" = set; then :
  102489. +if ${gt_cv_locale_fr+:} false; then :
  102490. $as_echo_n "(cached) " >&6
  102491. else
  102492. @@ -32449,7 +32547,7 @@
  102493. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  102494. $as_echo_n "checking for a french Unicode locale... " >&6; }
  102495. -if test "${gt_cv_locale_fr_utf8+set}" = set; then :
  102496. +if ${gt_cv_locale_fr_utf8+:} false; then :
  102497. $as_echo_n "(cached) " >&6
  102498. else
  102499. @@ -32576,7 +32674,7 @@
  102500. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
  102501. $as_echo_n "checking for a traditional japanese locale... " >&6; }
  102502. -if test "${gt_cv_locale_ja+set}" = set; then :
  102503. +if ${gt_cv_locale_ja+:} false; then :
  102504. $as_echo_n "(cached) " >&6
  102505. else
  102506. @@ -32714,7 +32812,7 @@
  102507. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
  102508. $as_echo_n "checking for a transitional chinese locale... " >&6; }
  102509. -if test "${gt_cv_locale_zh_CN+set}" = set; then :
  102510. +if ${gt_cv_locale_zh_CN+:} false; then :
  102511. $as_echo_n "(cached) " >&6
  102512. else
  102513. @@ -32842,7 +32940,7 @@
  102514. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
  102515. $as_echo_n "checking for wchar_t... " >&6; }
  102516. -if test "${gt_cv_c_wchar_t+set}" = set; then :
  102517. +if ${gt_cv_c_wchar_t+:} false; then :
  102518. $as_echo_n "(cached) " >&6
  102519. else
  102520. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  102521. @@ -32875,7 +32973,7 @@
  102522. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
  102523. $as_echo_n "checking for wint_t... " >&6; }
  102524. -if test "${gt_cv_c_wint_t+set}" = set; then :
  102525. +if ${gt_cv_c_wint_t+:} false; then :
  102526. $as_echo_n "(cached) " >&6
  102527. else
  102528. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  102529. @@ -32968,7 +33066,7 @@
  102530. # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  102531. # irrelevant for anonymous mappings.
  102532. ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  102533. -if test "x$ac_cv_func_mmap" = x""yes; then :
  102534. +if test "x$ac_cv_func_mmap" = xyes; then :
  102535. gl_have_mmap=yes
  102536. else
  102537. gl_have_mmap=no
  102538. @@ -33034,7 +33132,7 @@
  102539. # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
  102540. # irrelevant for anonymous mappings.
  102541. ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
  102542. -if test "x$ac_cv_func_mmap" = x""yes; then :
  102543. +if test "x$ac_cv_func_mmap" = xyes; then :
  102544. gl_have_mmap=yes
  102545. else
  102546. gl_have_mmap=no
  102547. @@ -33110,7 +33208,7 @@
  102548. else
  102549. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symlink handles trailing slash correctly" >&5
  102550. $as_echo_n "checking whether symlink handles trailing slash correctly... " >&6; }
  102551. -if test "${gl_cv_func_symlink_works+set}" = set; then :
  102552. +if ${gl_cv_func_symlink_works+:} false; then :
  102553. $as_echo_n "(cached) " >&6
  102554. else
  102555. if test "$cross_compiling" = yes; then :
  102556. @@ -33184,7 +33282,7 @@
  102557. for ac_func in unsetenv
  102558. do :
  102559. ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
  102560. -if test "x$ac_cv_func_unsetenv" = x""yes; then :
  102561. +if test "x$ac_cv_func_unsetenv" = xyes; then :
  102562. cat >>confdefs.h <<_ACEOF
  102563. #define HAVE_UNSETENV 1
  102564. _ACEOF
  102565. @@ -33210,7 +33308,7 @@
  102566. else
  102567. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsetenv() return type" >&5
  102568. $as_echo_n "checking for unsetenv() return type... " >&6; }
  102569. -if test "${gt_cv_func_unsetenv_ret+set}" = set; then :
  102570. +if ${gt_cv_func_unsetenv_ret+:} false; then :
  102571. $as_echo_n "(cached) " >&6
  102572. else
  102573. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  102574. @@ -33265,7 +33363,7 @@
  102575. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unsetenv obeys POSIX" >&5
  102576. $as_echo_n "checking whether unsetenv obeys POSIX... " >&6; }
  102577. -if test "${gl_cv_func_unsetenv_works+set}" = set; then :
  102578. +if ${gl_cv_func_unsetenv_works+:} false; then :
  102579. $as_echo_n "(cached) " >&6
  102580. else
  102581. if test "$cross_compiling" = yes; then :
  102582. @@ -33349,7 +33447,7 @@
  102583. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional french locale" >&5
  102584. $as_echo_n "checking for a traditional french locale... " >&6; }
  102585. -if test "${gt_cv_locale_fr+set}" = set; then :
  102586. +if ${gt_cv_locale_fr+:} false; then :
  102587. $as_echo_n "(cached) " >&6
  102588. else
  102589. @@ -33481,7 +33579,7 @@
  102590. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5
  102591. $as_echo_n "checking for a french Unicode locale... " >&6; }
  102592. -if test "${gt_cv_locale_fr_utf8+set}" = set; then :
  102593. +if ${gt_cv_locale_fr_utf8+:} false; then :
  102594. $as_echo_n "(cached) " >&6
  102595. else
  102596. @@ -33608,7 +33706,7 @@
  102597. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5
  102598. $as_echo_n "checking for a traditional japanese locale... " >&6; }
  102599. -if test "${gt_cv_locale_ja+set}" = set; then :
  102600. +if ${gt_cv_locale_ja+:} false; then :
  102601. $as_echo_n "(cached) " >&6
  102602. else
  102603. @@ -33746,7 +33844,7 @@
  102604. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5
  102605. $as_echo_n "checking for a transitional chinese locale... " >&6; }
  102606. -if test "${gt_cv_locale_zh_CN+set}" = set; then :
  102607. +if ${gt_cv_locale_zh_CN+:} false; then :
  102608. $as_echo_n "(cached) " >&6
  102609. else
  102610. @@ -33896,7 +33994,7 @@
  102611. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wctob works" >&5
  102612. $as_echo_n "checking whether wctob works... " >&6; }
  102613. -if test "${gl_cv_func_wctob_works+set}" = set; then :
  102614. +if ${gl_cv_func_wctob_works+:} false; then :
  102615. $as_echo_n "(cached) " >&6
  102616. else
  102617. @@ -34028,7 +34126,7 @@
  102618. #include <wchar.h>
  102619. "
  102620. -if test "x$ac_cv_have_decl_wctob" = x""yes; then :
  102621. +if test "x$ac_cv_have_decl_wctob" = xyes; then :
  102622. ac_have_decl=1
  102623. else
  102624. ac_have_decl=0
  102625. @@ -34111,7 +34209,7 @@
  102626. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether an open file can be renamed" >&5
  102627. $as_echo_n "checking whether an open file can be renamed... " >&6; }
  102628. -if test "${M4_cv_func_rename_open_file_works+set}" = set; then :
  102629. +if ${M4_cv_func_rename_open_file_works+:} false; then :
  102630. $as_echo_n "(cached) " >&6
  102631. else
  102632. if test "$cross_compiling" = yes; then :
  102633. @@ -34190,7 +34288,7 @@
  102634. if test "$with_syscmd_shell" = no ; then
  102635. with_syscmd_shell=/bin/sh
  102636. if test "$cross_compiling" != yes ; then
  102637. - if { test -f /bin/sh && $as_test_x /bin/sh; }; then :
  102638. + if as_fn_executable_p /bin/sh; then :
  102639. else
  102640. if (cmd /c) 2>/dev/null; then with_syscmd_shell=cmd; fi
  102641. @@ -34204,7 +34302,7 @@
  102642. do
  102643. IFS=$M4_save_IFS
  102644. test -z "$M4_dir" && continue
  102645. - { test -f "$M4_dir/sh" && $as_test_x "$M4_dir/sh"; } \
  102646. + as_fn_executable_p "$M4_dir/sh" \
  102647. && { with_syscmd_shell=$M4_dir/sh; break; }
  102648. done
  102649. IFS=$M4_save_IFS
  102650. @@ -34311,10 +34409,21 @@
  102651. :end' >>confcache
  102652. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  102653. if test -w "$cache_file"; then
  102654. - test "x$cache_file" != "x/dev/null" &&
  102655. + if test "x$cache_file" != "x/dev/null"; then
  102656. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  102657. $as_echo "$as_me: updating cache $cache_file" >&6;}
  102658. - cat confcache >$cache_file
  102659. + if test ! -f "$cache_file" || test -h "$cache_file"; then
  102660. + cat confcache >"$cache_file"
  102661. + else
  102662. + case $cache_file in #(
  102663. + */* | ?:*)
  102664. + mv -f confcache "$cache_file"$$ &&
  102665. + mv -f "$cache_file"$$ "$cache_file" ;; #(
  102666. + *)
  102667. + mv -f confcache "$cache_file" ;;
  102668. + esac
  102669. + fi
  102670. + fi
  102671. else
  102672. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  102673. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  102674. @@ -34345,6 +34454,14 @@
  102675. LTLIBOBJS=$ac_ltlibobjs
  102676. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  102677. +$as_echo_n "checking that generated files are newer than configure... " >&6; }
  102678. + if test -n "$am_sleep_pid"; then
  102679. + # Hide warnings about reused PIDs.
  102680. + wait $am_sleep_pid 2>/dev/null
  102681. + fi
  102682. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  102683. +$as_echo "done" >&6; }
  102684. if test -n "$EXEEXT"; then
  102685. am__EXEEXT_TRUE=
  102686. am__EXEEXT_FALSE='#'
  102687. @@ -34420,7 +34537,7 @@
  102688. -: ${CONFIG_STATUS=./config.status}
  102689. +: "${CONFIG_STATUS=./config.status}"
  102690. ac_write_fail=0
  102691. ac_clean_files_save=$ac_clean_files
  102692. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  102693. @@ -34521,6 +34638,7 @@
  102694. IFS=" "" $as_nl"
  102695. # Find who we are. Look in the path if we contain no directory separator.
  102696. +as_myself=
  102697. case $0 in #((
  102698. *[\\/]* ) as_myself=$0 ;;
  102699. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  102700. @@ -34716,16 +34834,16 @@
  102701. # ... but there are two gotchas:
  102702. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  102703. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  102704. - # In both cases, we have to default to `cp -p'.
  102705. + # In both cases, we have to default to `cp -pR'.
  102706. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  102707. - as_ln_s='cp -p'
  102708. + as_ln_s='cp -pR'
  102709. elif ln conf$$.file conf$$ 2>/dev/null; then
  102710. as_ln_s=ln
  102711. else
  102712. - as_ln_s='cp -p'
  102713. + as_ln_s='cp -pR'
  102714. fi
  102715. else
  102716. - as_ln_s='cp -p'
  102717. + as_ln_s='cp -pR'
  102718. fi
  102719. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  102720. rmdir conf$$.dir 2>/dev/null
  102721. @@ -34785,28 +34903,16 @@
  102722. as_mkdir_p=false
  102723. fi
  102724. -if test -x / >/dev/null 2>&1; then
  102725. - as_test_x='test -x'
  102726. -else
  102727. - if ls -dL / >/dev/null 2>&1; then
  102728. - as_ls_L_option=L
  102729. - else
  102730. - as_ls_L_option=
  102731. - fi
  102732. - as_test_x='
  102733. - eval sh -c '\''
  102734. - if test -d "$1"; then
  102735. - test -d "$1/.";
  102736. - else
  102737. - case $1 in #(
  102738. - -*)set "./$1";;
  102739. - esac;
  102740. - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  102741. - ???[sx]*):;;*)false;;esac;fi
  102742. - '\'' sh
  102743. - '
  102744. -fi
  102745. -as_executable_p=$as_test_x
  102746. +
  102747. +# as_fn_executable_p FILE
  102748. +# -----------------------
  102749. +# Test if FILE is an executable regular file.
  102750. +as_fn_executable_p ()
  102751. +{
  102752. + test -f "$1" && test -x "$1"
  102753. +} # as_fn_executable_p
  102754. +as_test_x='test -x'
  102755. +as_executable_p=as_fn_executable_p
  102756. # Sed expression to map a string onto a valid CPP name.
  102757. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  102758. @@ -34828,7 +34934,7 @@
  102759. # values after options handling.
  102760. ac_log="
  102761. This file was extended by GNU M4 $as_me 1.4.16, which was
  102762. -generated by GNU Autoconf 2.66. Invocation command line was
  102763. +generated by GNU Autoconf 2.69. Invocation command line was
  102764. CONFIG_FILES = $CONFIG_FILES
  102765. CONFIG_HEADERS = $CONFIG_HEADERS
  102766. @@ -34900,10 +35006,10 @@
  102767. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  102768. ac_cs_version="\\
  102769. GNU M4 config.status 1.4.16
  102770. -configured by $0, generated by GNU Autoconf 2.66,
  102771. +configured by $0, generated by GNU Autoconf 2.69,
  102772. with options \\"\$ac_cs_config\\"
  102773. -Copyright (C) 2010 Free Software Foundation, Inc.
  102774. +Copyright (C) 2012 Free Software Foundation, Inc.
  102775. This config.status script is free software; the Free Software Foundation
  102776. gives unlimited permission to copy, distribute and modify it."
  102777. @@ -34921,11 +35027,16 @@
  102778. while test $# != 0
  102779. do
  102780. case $1 in
  102781. - --*=*)
  102782. + --*=?*)
  102783. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  102784. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  102785. ac_shift=:
  102786. ;;
  102787. + --*=)
  102788. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  102789. + ac_optarg=
  102790. + ac_shift=:
  102791. + ;;
  102792. *)
  102793. ac_option=$1
  102794. ac_optarg=$2
  102795. @@ -34947,6 +35058,7 @@
  102796. $ac_shift
  102797. case $ac_optarg in
  102798. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  102799. + '') as_fn_error $? "missing file argument" ;;
  102800. esac
  102801. as_fn_append CONFIG_FILES " '$ac_optarg'"
  102802. ac_need_defaults=false;;
  102803. @@ -34988,7 +35100,7 @@
  102804. _ACEOF
  102805. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  102806. if \$ac_cs_recheck; then
  102807. - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  102808. + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  102809. shift
  102810. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  102811. CONFIG_SHELL='$SHELL'
  102812. @@ -35059,9 +35171,10 @@
  102813. # after its creation but before its name has been assigned to `$tmp'.
  102814. $debug ||
  102815. {
  102816. - tmp=
  102817. + tmp= ac_tmp=
  102818. trap 'exit_status=$?
  102819. - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  102820. + : "${ac_tmp:=$tmp}"
  102821. + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  102822. ' 0
  102823. trap 'as_fn_exit 1' 1 2 13 15
  102824. }
  102825. @@ -35069,12 +35182,13 @@
  102826. {
  102827. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  102828. - test -n "$tmp" && test -d "$tmp"
  102829. + test -d "$tmp"
  102830. } ||
  102831. {
  102832. tmp=./conf$$-$RANDOM
  102833. (umask 077 && mkdir "$tmp")
  102834. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  102835. +ac_tmp=$tmp
  102836. # Set up the scripts for CONFIG_FILES section.
  102837. # No need to generate them if there are no CONFIG_FILES.
  102838. @@ -35096,7 +35210,7 @@
  102839. ac_cs_awk_cr=$ac_cr
  102840. fi
  102841. -echo 'BEGIN {' >"$tmp/subs1.awk" &&
  102842. +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  102843. _ACEOF
  102844. @@ -35124,7 +35238,7 @@
  102845. rm -f conf$$subs.sh
  102846. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  102847. -cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  102848. +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  102849. _ACEOF
  102850. sed -n '
  102851. h
  102852. @@ -35172,7 +35286,7 @@
  102853. rm -f conf$$subs.awk
  102854. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  102855. _ACAWK
  102856. -cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  102857. +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  102858. for (key in S) S_is_set[key] = 1
  102859. FS = ""
  102860. @@ -35204,7 +35318,7 @@
  102861. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  102862. else
  102863. cat
  102864. -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  102865. +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  102866. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  102867. _ACEOF
  102868. @@ -35238,7 +35352,7 @@
  102869. # No need to generate them if there are no CONFIG_HEADERS.
  102870. # This happens for instance with `./config.status Makefile'.
  102871. if test -n "$CONFIG_HEADERS"; then
  102872. -cat >"$tmp/defines.awk" <<\_ACAWK ||
  102873. +cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  102874. BEGIN {
  102875. _ACEOF
  102876. @@ -35250,8 +35364,8 @@
  102877. # handling of long lines.
  102878. ac_delim='%!_!# '
  102879. for ac_last_try in false false :; do
  102880. - ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  102881. - if test -z "$ac_t"; then
  102882. + ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  102883. + if test -z "$ac_tt"; then
  102884. break
  102885. elif $ac_last_try; then
  102886. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  102887. @@ -35371,7 +35485,7 @@
  102888. for ac_f
  102889. do
  102890. case $ac_f in
  102891. - -) ac_f="$tmp/stdin";;
  102892. + -) ac_f="$ac_tmp/stdin";;
  102893. *) # Look for the file first in the build tree, then in the source tree
  102894. # (if the path is not absolute). The absolute path cannot be DOS-style,
  102895. # because $ac_f cannot contain `:'.
  102896. @@ -35406,7 +35520,7 @@
  102897. esac
  102898. case $ac_tag in
  102899. - *:-:* | *:-) cat >"$tmp/stdin" \
  102900. + *:-:* | *:-) cat >"$ac_tmp/stdin" \
  102901. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  102902. esac
  102903. ;;
  102904. @@ -35543,21 +35657,22 @@
  102905. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  102906. $ac_datarootdir_hack
  102907. "
  102908. -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  102909. - || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  102910. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  102911. + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  102912. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  102913. - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  102914. - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  102915. + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  102916. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  102917. + "$ac_tmp/out"`; test -z "$ac_out"; } &&
  102918. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  102919. which seems to be undefined. Please make sure it is defined" >&5
  102920. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  102921. which seems to be undefined. Please make sure it is defined" >&2;}
  102922. - rm -f "$tmp/stdin"
  102923. + rm -f "$ac_tmp/stdin"
  102924. case $ac_file in
  102925. - -) cat "$tmp/out" && rm -f "$tmp/out";;
  102926. - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  102927. + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  102928. + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  102929. esac \
  102930. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  102931. ;;
  102932. @@ -35568,20 +35683,20 @@
  102933. if test x"$ac_file" != x-; then
  102934. {
  102935. $as_echo "/* $configure_input */" \
  102936. - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  102937. - } >"$tmp/config.h" \
  102938. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  102939. + } >"$ac_tmp/config.h" \
  102940. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  102941. - if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  102942. + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  102943. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  102944. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  102945. else
  102946. rm -f "$ac_file"
  102947. - mv "$tmp/config.h" "$ac_file" \
  102948. + mv "$ac_tmp/config.h" "$ac_file" \
  102949. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  102950. fi
  102951. else
  102952. $as_echo "/* $configure_input */" \
  102953. - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  102954. + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  102955. || as_fn_error $? "could not create -" "$LINENO" 5
  102956. fi
  102957. # Compute "$ac_file"'s index in $config_headers.
  102958. @@ -35659,7 +35774,7 @@
  102959. case $ac_file$ac_mode in
  102960. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  102961. - # Autoconf 2.62 quotes --file arguments for eval, but not when files
  102962. + # Older Autoconf quotes --file arguments for eval, but not when files
  102963. # are listed without --file. Let's play safe and only enable the eval
  102964. # if we detect the quoting.
  102965. case $CONFIG_FILES in
  102966. @@ -35672,7 +35787,7 @@
  102967. # Strip MF so we end up with the name of the file.
  102968. mf=`echo "$mf" | sed -e 's/:.*$//'`
  102969. # Check whether this is an Automake generated Makefile or not.
  102970. - # We used to match only the files named `Makefile.in', but
  102971. + # We used to match only the files named 'Makefile.in', but
  102972. # some people rename them; so instead we look at the file content.
  102973. # Grep'ing the first line is not enough: some people post-process
  102974. # each Makefile.in and add a new line on top of each file to say so.
  102975. @@ -35706,21 +35821,19 @@
  102976. continue
  102977. fi
  102978. # Extract the definition of DEPDIR, am__include, and am__quote
  102979. - # from the Makefile without running `make'.
  102980. + # from the Makefile without running 'make'.
  102981. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  102982. test -z "$DEPDIR" && continue
  102983. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  102984. - test -z "am__include" && continue
  102985. + test -z "$am__include" && continue
  102986. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  102987. - # When using ansi2knr, U may be empty or an underscore; expand it
  102988. - U=`sed -n 's/^U = //p' < "$mf"`
  102989. # Find all dependency output files, they are included files with
  102990. # $(DEPDIR) in their names. We invoke sed twice because it is the
  102991. # simplest approach to changing $(DEPDIR) to its actual value in the
  102992. # expansion.
  102993. for file in `sed -n "
  102994. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  102995. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  102996. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  102997. # Make sure the directory exists.
  102998. test -f "$dirpart/$file" && continue
  102999. fdir=`$as_dirname -- "$file" ||
  103000. diff -Nur m4-1.4.16.orig/doc/Makefile.in m4-1.4.16/doc/Makefile.in
  103001. --- m4-1.4.16.orig/doc/Makefile.in 2011-03-01 17:57:32.000000000 +0100
  103002. +++ m4-1.4.16/doc/Makefile.in 2013-09-04 14:47:46.000000000 +0200
  103003. @@ -1,9 +1,8 @@
  103004. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  103005. +# Makefile.in generated by automake 1.13.2 from Makefile.am.
  103006. # @configure_input@
  103007. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  103008. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  103009. -# Inc.
  103010. +# Copyright (C) 1994-2013 Free Software Foundation, Inc.
  103011. +
  103012. # This Makefile.in is free software; the Free Software Foundation
  103013. # gives unlimited permission to copy and/or distribute it,
  103014. # with or without modifications, as long as this notice is preserved.
  103015. @@ -15,6 +14,51 @@
  103016. @SET_MAKE@
  103017. VPATH = @srcdir@
  103018. +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
  103019. +am__make_running_with_option = \
  103020. + case $${target_option-} in \
  103021. + ?) ;; \
  103022. + *) echo "am__make_running_with_option: internal error: invalid" \
  103023. + "target option '$${target_option-}' specified" >&2; \
  103024. + exit 1;; \
  103025. + esac; \
  103026. + has_opt=no; \
  103027. + sane_makeflags=$$MAKEFLAGS; \
  103028. + if $(am__is_gnu_make); then \
  103029. + sane_makeflags=$$MFLAGS; \
  103030. + else \
  103031. + case $$MAKEFLAGS in \
  103032. + *\\[\ \ ]*) \
  103033. + bs=\\; \
  103034. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  103035. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  103036. + esac; \
  103037. + fi; \
  103038. + skip_next=no; \
  103039. + strip_trailopt () \
  103040. + { \
  103041. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  103042. + }; \
  103043. + for flg in $$sane_makeflags; do \
  103044. + test $$skip_next = yes && { skip_next=no; continue; }; \
  103045. + case $$flg in \
  103046. + *=*|--*) continue;; \
  103047. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  103048. + -*I?*) strip_trailopt 'I';; \
  103049. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  103050. + -*O?*) strip_trailopt 'O';; \
  103051. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  103052. + -*l?*) strip_trailopt 'l';; \
  103053. + -[dEDm]) skip_next=yes;; \
  103054. + -[JT]) skip_next=yes;; \
  103055. + esac; \
  103056. + case $$flg in \
  103057. + *$$target_option*) has_opt=yes; break;; \
  103058. + esac; \
  103059. + done; \
  103060. + test $$has_opt = yes
  103061. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  103062. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  103063. pkgdatadir = $(datadir)/@PACKAGE@
  103064. pkgincludedir = $(includedir)/@PACKAGE@
  103065. pkglibdir = $(libdir)/@PACKAGE@
  103066. @@ -33,9 +77,10 @@
  103067. build_triplet = @build@
  103068. host_triplet = @host@
  103069. subdir = doc
  103070. -DIST_COMMON = $(m4_TEXINFOS) $(srcdir)/Makefile.am \
  103071. - $(srcdir)/Makefile.in $(srcdir)/stamp-vti \
  103072. - $(srcdir)/version.texi
  103073. +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
  103074. + $(m4_TEXINFOS) $(top_srcdir)/build-aux/mdate-sh \
  103075. + $(srcdir)/version.texi $(srcdir)/stamp-vti \
  103076. + $(top_srcdir)/build-aux/texinfo.tex
  103077. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  103078. am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
  103079. $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/ansi-c++.m4 \
  103080. @@ -136,14 +181,48 @@
  103081. CONFIG_HEADER = $(top_builddir)/lib/config.h
  103082. CONFIG_CLEAN_FILES =
  103083. CONFIG_CLEAN_VPATH_FILES =
  103084. -AM_V_GEN = $(am__v_GEN_$(V))
  103085. -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  103086. -am__v_GEN_0 = @echo " GEN " $@;
  103087. -AM_V_at = $(am__v_at_$(V))
  103088. -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  103089. +AM_V_P = $(am__v_P_@AM_V@)
  103090. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  103091. +am__v_P_0 = false
  103092. +am__v_P_1 = :
  103093. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  103094. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  103095. +am__v_GEN_0 = @echo " GEN " $@;
  103096. +am__v_GEN_1 =
  103097. +AM_V_at = $(am__v_at_@AM_V@)
  103098. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  103099. am__v_at_0 = @
  103100. +am__v_at_1 =
  103101. SOURCES =
  103102. DIST_SOURCES =
  103103. +AM_V_DVIPS = $(am__v_DVIPS_@AM_V@)
  103104. +am__v_DVIPS_ = $(am__v_DVIPS_@AM_DEFAULT_V@)
  103105. +am__v_DVIPS_0 = @echo " DVIPS " $@;
  103106. +am__v_DVIPS_1 =
  103107. +AM_V_MAKEINFO = $(am__v_MAKEINFO_@AM_V@)
  103108. +am__v_MAKEINFO_ = $(am__v_MAKEINFO_@AM_DEFAULT_V@)
  103109. +am__v_MAKEINFO_0 = @echo " MAKEINFO" $@;
  103110. +am__v_MAKEINFO_1 =
  103111. +AM_V_INFOHTML = $(am__v_INFOHTML_@AM_V@)
  103112. +am__v_INFOHTML_ = $(am__v_INFOHTML_@AM_DEFAULT_V@)
  103113. +am__v_INFOHTML_0 = @echo " INFOHTML" $@;
  103114. +am__v_INFOHTML_1 =
  103115. +AM_V_TEXI2DVI = $(am__v_TEXI2DVI_@AM_V@)
  103116. +am__v_TEXI2DVI_ = $(am__v_TEXI2DVI_@AM_DEFAULT_V@)
  103117. +am__v_TEXI2DVI_0 = @echo " TEXI2DVI" $@;
  103118. +am__v_TEXI2DVI_1 =
  103119. +AM_V_TEXI2PDF = $(am__v_TEXI2PDF_@AM_V@)
  103120. +am__v_TEXI2PDF_ = $(am__v_TEXI2PDF_@AM_DEFAULT_V@)
  103121. +am__v_TEXI2PDF_0 = @echo " TEXI2PDF" $@;
  103122. +am__v_TEXI2PDF_1 =
  103123. +AM_V_texinfo = $(am__v_texinfo_@AM_V@)
  103124. +am__v_texinfo_ = $(am__v_texinfo_@AM_DEFAULT_V@)
  103125. +am__v_texinfo_0 = -q
  103126. +am__v_texinfo_1 =
  103127. +AM_V_texidevnull = $(am__v_texidevnull_@AM_V@)
  103128. +am__v_texidevnull_ = $(am__v_texidevnull_@AM_DEFAULT_V@)
  103129. +am__v_texidevnull_0 = > /dev/null
  103130. +am__v_texidevnull_1 =
  103131. INFO_DEPS = $(srcdir)/m4.info
  103132. TEXINFO_TEX = $(top_srcdir)/build-aux/texinfo.tex
  103133. am__TEXINFO_TEX_DIR = $(top_srcdir)/build-aux
  103134. @@ -157,6 +236,11 @@
  103135. MAKEINFOHTML = $(MAKEINFO) --html
  103136. AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
  103137. DVIPS = dvips
  103138. +am__can_run_installinfo = \
  103139. + case $$AM_UPDATE_INFO_DIR in \
  103140. + n|no|NO) false;; \
  103141. + *) (install-info --version) >/dev/null 2>&1;; \
  103142. + esac
  103143. am__installdirs = "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)"
  103144. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  103145. am__vpath_adj = case $$p in \
  103146. @@ -179,9 +263,16 @@
  103147. am__base_list = \
  103148. sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  103149. sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  103150. +am__uninstall_files_from_dir = { \
  103151. + test -z "$$files" \
  103152. + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
  103153. + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
  103154. + $(am__cd) "$$dir" && rm -f $$files; }; \
  103155. + }
  103156. man1dir = $(mandir)/man1
  103157. NROFF = nroff
  103158. MANS = $(man_MANS)
  103159. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  103160. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  103161. pkglibexecdir = @pkglibexecdir@
  103162. ACLOCAL = @ACLOCAL@
  103163. @@ -1086,7 +1177,7 @@
  103164. $(am__aclocal_m4_deps):
  103165. .texinfo.info:
  103166. - restore=: && backupdir="$(am__leading_dot)am$$$$" && \
  103167. + $(AM_V_MAKEINFO)restore=: && backupdir="$(am__leading_dot)am$$$$" && \
  103168. am__cwd=`pwd` && $(am__cd) $(srcdir) && \
  103169. rm -rf $$backupdir && mkdir $$backupdir && \
  103170. if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
  103171. @@ -1108,18 +1199,20 @@
  103172. rm -rf $$backupdir; exit $$rc
  103173. .texinfo.dvi:
  103174. - TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
  103175. + $(AM_V_TEXI2DVI)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
  103176. MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
  103177. - $(TEXI2DVI) $<
  103178. + $(TEXI2DVI) $(AM_V_texinfo) --build-dir=$(@:.dvi=.t2d) -o $@ $(AM_V_texidevnull) \
  103179. + $<
  103180. .texinfo.pdf:
  103181. - TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
  103182. + $(AM_V_TEXI2PDF)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
  103183. MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
  103184. - $(TEXI2PDF) $<
  103185. + $(TEXI2PDF) $(AM_V_texinfo) --build-dir=$(@:.pdf=.t2p) -o $@ $(AM_V_texidevnull) \
  103186. + $<
  103187. .texinfo.html:
  103188. - rm -rf $(@:.html=.htp)
  103189. - if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
  103190. + $(AM_V_MAKEINFO)rm -rf $(@:.html=.htp)
  103191. + $(AM_V_at)if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
  103192. -o $(@:.html=.htp) $<; \
  103193. then \
  103194. rm -rf $@; \
  103195. @@ -1154,8 +1247,8 @@
  103196. maintainer-clean-vti:
  103197. -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
  103198. .dvi.ps:
  103199. - TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
  103200. - $(DVIPS) -o $@ $<
  103201. + $(AM_V_DVIPS)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
  103202. + $(DVIPS) $(AM_V_texinfo) -o $@ $<
  103203. uninstall-dvi-am:
  103204. @$(NORMAL_UNINSTALL)
  103205. @@ -1177,9 +1270,7 @@
  103206. uninstall-info-am:
  103207. @$(PRE_UNINSTALL)
  103208. - @if test -d '$(DESTDIR)$(infodir)' && \
  103209. - (install-info --version && \
  103210. - install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
  103211. + @if test -d '$(DESTDIR)$(infodir)' && $(am__can_run_installinfo); then \
  103212. list='$(INFO_DEPS)'; \
  103213. for file in $$list; do \
  103214. relfile=`echo "$$file" | sed 's|^.*/||'`; \
  103215. @@ -1236,8 +1327,7 @@
  103216. done
  103217. mostlyclean-aminfo:
  103218. - -rm -rf m4.aux m4.cp m4.cps m4.fn m4.fns m4.ky m4.kys m4.log m4.pg m4.pgs \
  103219. - m4.tmp m4.toc m4.tp m4.tps m4.vr m4.vrs
  103220. + -rm -rf m4.t2d m4.t2p
  103221. clean-aminfo:
  103222. -test -z "m4.dvi m4.pdf m4.ps m4.html" \
  103223. @@ -1251,11 +1341,18 @@
  103224. done
  103225. install-man1: $(man_MANS)
  103226. @$(NORMAL_INSTALL)
  103227. - test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
  103228. - @list=''; test -n "$(man1dir)" || exit 0; \
  103229. - { for i in $$list; do echo "$$i"; done; \
  103230. - l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  103231. - sed -n '/\.1[a-z]*$$/p'; \
  103232. + @list1=''; \
  103233. + list2='$(man_MANS)'; \
  103234. + test -n "$(man1dir)" \
  103235. + && test -n "`echo $$list1$$list2`" \
  103236. + || exit 0; \
  103237. + echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
  103238. + $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
  103239. + { for i in $$list1; do echo "$$i"; done; \
  103240. + if test -n "$$list2"; then \
  103241. + for i in $$list2; do echo "$$i"; done \
  103242. + | sed -n '/\.1[a-z]*$$/p'; \
  103243. + fi; \
  103244. } | while read p; do \
  103245. if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  103246. echo "$$d$$p"; echo "$$p"; \
  103247. @@ -1284,30 +1381,15 @@
  103248. sed -n '/\.1[a-z]*$$/p'; \
  103249. } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  103250. -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  103251. - test -z "$$files" || { \
  103252. - echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
  103253. - cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
  103254. -tags: TAGS
  103255. -TAGS:
  103256. + dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
  103257. +tags TAGS:
  103258. +
  103259. +ctags CTAGS:
  103260. -ctags: CTAGS
  103261. -CTAGS:
  103262. +cscope cscopelist:
  103263. distdir: $(DISTFILES)
  103264. - @list='$(MANS)'; if test -n "$$list"; then \
  103265. - list=`for p in $$list; do \
  103266. - if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  103267. - if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  103268. - if test -n "$$list" && \
  103269. - grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  103270. - echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  103271. - grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  103272. - echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  103273. - echo " typically \`make maintainer-clean' will remove them" >&2; \
  103274. - exit 1; \
  103275. - else :; fi; \
  103276. - else :; fi
  103277. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  103278. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  103279. list='$(DISTFILES)'; \
  103280. @@ -1357,10 +1439,15 @@
  103281. installcheck: installcheck-am
  103282. install-strip:
  103283. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  103284. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  103285. - `test -z '$(STRIP)' || \
  103286. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  103287. + if test -z '$(STRIP)'; then \
  103288. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  103289. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  103290. + install; \
  103291. + else \
  103292. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  103293. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  103294. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  103295. + fi
  103296. mostlyclean-generic:
  103297. clean-generic:
  103298. @@ -1399,8 +1486,11 @@
  103299. install-dvi-am: $(DVIS)
  103300. @$(NORMAL_INSTALL)
  103301. - test -z "$(dvidir)" || $(MKDIR_P) "$(DESTDIR)$(dvidir)"
  103302. @list='$(DVIS)'; test -n "$(dvidir)" || list=; \
  103303. + if test -n "$$list"; then \
  103304. + echo " $(MKDIR_P) '$(DESTDIR)$(dvidir)'"; \
  103305. + $(MKDIR_P) "$(DESTDIR)$(dvidir)" || exit 1; \
  103306. + fi; \
  103307. for p in $$list; do \
  103308. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  103309. echo "$$d$$p"; \
  103310. @@ -1415,18 +1505,22 @@
  103311. install-html-am: $(HTMLS)
  103312. @$(NORMAL_INSTALL)
  103313. - test -z "$(htmldir)" || $(MKDIR_P) "$(DESTDIR)$(htmldir)"
  103314. @list='$(HTMLS)'; list2=; test -n "$(htmldir)" || list=; \
  103315. + if test -n "$$list"; then \
  103316. + echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)'"; \
  103317. + $(MKDIR_P) "$(DESTDIR)$(htmldir)" || exit 1; \
  103318. + fi; \
  103319. for p in $$list; do \
  103320. if test -f "$$p" || test -d "$$p"; then d=; else d="$(srcdir)/"; fi; \
  103321. $(am__strip_dir) \
  103322. - if test -d "$$d$$p"; then \
  103323. + d2=$$d$$p; \
  103324. + if test -d "$$d2"; then \
  103325. echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)/$$f'"; \
  103326. $(MKDIR_P) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
  103327. - echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
  103328. - $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f" || exit $$?; \
  103329. + echo " $(INSTALL_DATA) '$$d2'/* '$(DESTDIR)$(htmldir)/$$f'"; \
  103330. + $(INSTALL_DATA) "$$d2"/* "$(DESTDIR)$(htmldir)/$$f" || exit $$?; \
  103331. else \
  103332. - list2="$$list2 $$d$$p"; \
  103333. + list2="$$list2 $$d2"; \
  103334. fi; \
  103335. done; \
  103336. test -z "$$list2" || { echo "$$list2" | $(am__base_list) | \
  103337. @@ -1438,9 +1532,12 @@
  103338. install-info-am: $(INFO_DEPS)
  103339. @$(NORMAL_INSTALL)
  103340. - test -z "$(infodir)" || $(MKDIR_P) "$(DESTDIR)$(infodir)"
  103341. @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
  103342. list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \
  103343. + if test -n "$$list"; then \
  103344. + echo " $(MKDIR_P) '$(DESTDIR)$(infodir)'"; \
  103345. + $(MKDIR_P) "$(DESTDIR)$(infodir)" || exit 1; \
  103346. + fi; \
  103347. for file in $$list; do \
  103348. case $$file in \
  103349. $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
  103350. @@ -1458,8 +1555,7 @@
  103351. echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(infodir)'"; \
  103352. $(INSTALL_DATA) $$files "$(DESTDIR)$(infodir)" || exit $$?; done
  103353. @$(POST_INSTALL)
  103354. - @if (install-info --version && \
  103355. - install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
  103356. + @if $(am__can_run_installinfo); then \
  103357. list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \
  103358. for file in $$list; do \
  103359. relfile=`echo "$$file" | sed 's|^.*/||'`; \
  103360. @@ -1473,8 +1569,11 @@
  103361. install-pdf-am: $(PDFS)
  103362. @$(NORMAL_INSTALL)
  103363. - test -z "$(pdfdir)" || $(MKDIR_P) "$(DESTDIR)$(pdfdir)"
  103364. @list='$(PDFS)'; test -n "$(pdfdir)" || list=; \
  103365. + if test -n "$$list"; then \
  103366. + echo " $(MKDIR_P) '$(DESTDIR)$(pdfdir)'"; \
  103367. + $(MKDIR_P) "$(DESTDIR)$(pdfdir)" || exit 1; \
  103368. + fi; \
  103369. for p in $$list; do \
  103370. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  103371. echo "$$d$$p"; \
  103372. @@ -1486,8 +1585,11 @@
  103373. install-ps-am: $(PSS)
  103374. @$(NORMAL_INSTALL)
  103375. - test -z "$(psdir)" || $(MKDIR_P) "$(DESTDIR)$(psdir)"
  103376. @list='$(PSS)'; test -n "$(psdir)" || list=; \
  103377. + if test -n "$$list"; then \
  103378. + echo " $(MKDIR_P) '$(DESTDIR)$(psdir)'"; \
  103379. + $(MKDIR_P) "$(DESTDIR)$(psdir)" || exit 1; \
  103380. + fi; \
  103381. for p in $$list; do \
  103382. if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  103383. echo "$$d$$p"; \
  103384. @@ -1522,19 +1624,19 @@
  103385. .MAKE: install-am install-strip
  103386. .PHONY: all all-am check check-am clean clean-aminfo clean-generic \
  103387. - dist-info distclean distclean-generic distdir dvi dvi-am html \
  103388. - html-am info info-am install install-am install-data \
  103389. - install-data-am install-dvi install-dvi-am install-exec \
  103390. - install-exec-am install-html install-html-am install-info \
  103391. - install-info-am install-man install-man1 install-pdf \
  103392. - install-pdf-am install-ps install-ps-am install-strip \
  103393. - installcheck installcheck-am installdirs maintainer-clean \
  103394. - maintainer-clean-aminfo maintainer-clean-generic \
  103395. - maintainer-clean-vti mostlyclean mostlyclean-aminfo \
  103396. - mostlyclean-generic mostlyclean-vti pdf pdf-am ps ps-am \
  103397. - uninstall uninstall-am uninstall-dvi-am uninstall-html-am \
  103398. - uninstall-info-am uninstall-man uninstall-man1 \
  103399. - uninstall-pdf-am uninstall-ps-am
  103400. + cscopelist-am ctags-am dist-info distclean distclean-generic \
  103401. + distdir dvi dvi-am html html-am info info-am install \
  103402. + install-am install-data install-data-am install-dvi \
  103403. + install-dvi-am install-exec install-exec-am install-html \
  103404. + install-html-am install-info install-info-am install-man \
  103405. + install-man1 install-pdf install-pdf-am install-ps \
  103406. + install-ps-am install-strip installcheck installcheck-am \
  103407. + installdirs maintainer-clean maintainer-clean-aminfo \
  103408. + maintainer-clean-generic maintainer-clean-vti mostlyclean \
  103409. + mostlyclean-aminfo mostlyclean-generic mostlyclean-vti pdf \
  103410. + pdf-am ps ps-am tags-am uninstall uninstall-am \
  103411. + uninstall-dvi-am uninstall-html-am uninstall-info-am \
  103412. + uninstall-man uninstall-man1 uninstall-pdf-am uninstall-ps-am
  103413. # Depend on ../.version for version, m4.c for usage text. Do not depend on
  103414. diff -Nur m4-1.4.16.orig/examples/Makefile.in m4-1.4.16/examples/Makefile.in
  103415. --- m4-1.4.16.orig/examples/Makefile.in 2011-03-01 17:57:32.000000000 +0100
  103416. +++ m4-1.4.16/examples/Makefile.in 2013-09-04 14:47:46.000000000 +0200
  103417. @@ -1,9 +1,8 @@
  103418. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  103419. +# Makefile.in generated by automake 1.13.2 from Makefile.am.
  103420. # @configure_input@
  103421. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  103422. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  103423. -# Inc.
  103424. +# Copyright (C) 1994-2013 Free Software Foundation, Inc.
  103425. +
  103426. # This Makefile.in is free software; the Free Software Foundation
  103427. # gives unlimited permission to copy and/or distribute it,
  103428. # with or without modifications, as long as this notice is preserved.
  103429. @@ -15,6 +14,51 @@
  103430. @SET_MAKE@
  103431. VPATH = @srcdir@
  103432. +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
  103433. +am__make_running_with_option = \
  103434. + case $${target_option-} in \
  103435. + ?) ;; \
  103436. + *) echo "am__make_running_with_option: internal error: invalid" \
  103437. + "target option '$${target_option-}' specified" >&2; \
  103438. + exit 1;; \
  103439. + esac; \
  103440. + has_opt=no; \
  103441. + sane_makeflags=$$MAKEFLAGS; \
  103442. + if $(am__is_gnu_make); then \
  103443. + sane_makeflags=$$MFLAGS; \
  103444. + else \
  103445. + case $$MAKEFLAGS in \
  103446. + *\\[\ \ ]*) \
  103447. + bs=\\; \
  103448. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  103449. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  103450. + esac; \
  103451. + fi; \
  103452. + skip_next=no; \
  103453. + strip_trailopt () \
  103454. + { \
  103455. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  103456. + }; \
  103457. + for flg in $$sane_makeflags; do \
  103458. + test $$skip_next = yes && { skip_next=no; continue; }; \
  103459. + case $$flg in \
  103460. + *=*|--*) continue;; \
  103461. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  103462. + -*I?*) strip_trailopt 'I';; \
  103463. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  103464. + -*O?*) strip_trailopt 'O';; \
  103465. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  103466. + -*l?*) strip_trailopt 'l';; \
  103467. + -[dEDm]) skip_next=yes;; \
  103468. + -[JT]) skip_next=yes;; \
  103469. + esac; \
  103470. + case $$flg in \
  103471. + *$$target_option*) has_opt=yes; break;; \
  103472. + esac; \
  103473. + done; \
  103474. + test $$has_opt = yes
  103475. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  103476. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  103477. pkgdatadir = $(datadir)/@PACKAGE@
  103478. pkgincludedir = $(includedir)/@PACKAGE@
  103479. pkglibdir = $(libdir)/@PACKAGE@
  103480. @@ -33,7 +77,7 @@
  103481. build_triplet = @build@
  103482. host_triplet = @host@
  103483. subdir = examples
  103484. -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in COPYING
  103485. +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am COPYING
  103486. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  103487. am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
  103488. $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/ansi-c++.m4 \
  103489. @@ -134,14 +178,26 @@
  103490. CONFIG_HEADER = $(top_builddir)/lib/config.h
  103491. CONFIG_CLEAN_FILES =
  103492. CONFIG_CLEAN_VPATH_FILES =
  103493. -AM_V_GEN = $(am__v_GEN_$(V))
  103494. -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  103495. -am__v_GEN_0 = @echo " GEN " $@;
  103496. -AM_V_at = $(am__v_at_$(V))
  103497. -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  103498. +AM_V_P = $(am__v_P_@AM_V@)
  103499. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  103500. +am__v_P_0 = false
  103501. +am__v_P_1 = :
  103502. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  103503. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  103504. +am__v_GEN_0 = @echo " GEN " $@;
  103505. +am__v_GEN_1 =
  103506. +AM_V_at = $(am__v_at_@AM_V@)
  103507. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  103508. am__v_at_0 = @
  103509. +am__v_at_1 =
  103510. SOURCES =
  103511. DIST_SOURCES =
  103512. +am__can_run_installinfo = \
  103513. + case $$AM_UPDATE_INFO_DIR in \
  103514. + n|no|NO) false;; \
  103515. + *) (install-info --version) >/dev/null 2>&1;; \
  103516. + esac
  103517. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  103518. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  103519. pkglibexecdir = @pkglibexecdir@
  103520. ACLOCAL = @ACLOCAL@
  103521. @@ -1084,11 +1140,11 @@
  103522. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  103523. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  103524. $(am__aclocal_m4_deps):
  103525. -tags: TAGS
  103526. -TAGS:
  103527. +tags TAGS:
  103528. +
  103529. +ctags CTAGS:
  103530. -ctags: CTAGS
  103531. -CTAGS:
  103532. +cscope cscopelist:
  103533. distdir: $(DISTFILES)
  103534. @@ -1135,10 +1191,15 @@
  103535. installcheck: installcheck-am
  103536. install-strip:
  103537. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  103538. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  103539. - `test -z '$(STRIP)' || \
  103540. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  103541. + if test -z '$(STRIP)'; then \
  103542. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  103543. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  103544. + install; \
  103545. + else \
  103546. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  103547. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  103548. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  103549. + fi
  103550. mostlyclean-generic:
  103551. clean-generic:
  103552. @@ -1218,15 +1279,16 @@
  103553. .MAKE: install-am install-strip
  103554. -.PHONY: all all-am check check-am clean clean-generic distclean \
  103555. - distclean-generic distdir dvi dvi-am html html-am info info-am \
  103556. - install install-am install-data install-data-am install-dvi \
  103557. - install-dvi-am install-exec install-exec-am install-html \
  103558. - install-html-am install-info install-info-am install-man \
  103559. - install-pdf install-pdf-am install-ps install-ps-am \
  103560. - install-strip installcheck installcheck-am installdirs \
  103561. - maintainer-clean maintainer-clean-generic mostlyclean \
  103562. - mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
  103563. +.PHONY: all all-am check check-am clean clean-generic cscopelist-am \
  103564. + ctags-am distclean distclean-generic distdir dvi dvi-am html \
  103565. + html-am info info-am install install-am install-data \
  103566. + install-data-am install-dvi install-dvi-am install-exec \
  103567. + install-exec-am install-html install-html-am install-info \
  103568. + install-info-am install-man install-pdf install-pdf-am \
  103569. + install-ps install-ps-am install-strip installcheck \
  103570. + installcheck-am installdirs maintainer-clean \
  103571. + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
  103572. + pdf-am ps ps-am tags-am uninstall uninstall-am
  103573. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  103574. diff -Nur m4-1.4.16.orig/lib/config.hin m4-1.4.16/lib/config.hin
  103575. --- m4-1.4.16.orig/lib/config.hin 2011-03-01 17:57:39.000000000 +0100
  103576. +++ m4-1.4.16/lib/config.hin 2013-09-04 14:47:45.000000000 +0200
  103577. @@ -74,6 +74,10 @@
  103578. /* Define to 1 if the system's ftello function has the Solaris bug. */
  103579. #undef FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE
  103580. +/* Define to 1 if fflush is known to work on stdin as per POSIX.1-2008, 0 if
  103581. + fflush is known to not work, -1 if unknown. */
  103582. +#undef FUNC_FFLUSH_STDIN
  103583. +
  103584. /* Define to 1 if nl_langinfo (YESEXPR) returns a non-empty string. */
  103585. #undef FUNC_NL_LANGINFO_YESEXPR_WORKS
  103586. @@ -1266,6 +1270,11 @@
  103587. # endif
  103588. #endif
  103589. +/* Enable large inode numbers on Mac OS X 10.5. */
  103590. +#ifndef _DARWIN_USE_64_BIT_INODE
  103591. +# define _DARWIN_USE_64_BIT_INODE 1
  103592. +#endif
  103593. +
  103594. /* Number of bits in a file offset, on hosts where this is settable. */
  103595. #undef _FILE_OFFSET_BITS
  103596. diff -Nur m4-1.4.16.orig/lib/config.hin~ m4-1.4.16/lib/config.hin~
  103597. --- m4-1.4.16.orig/lib/config.hin~ 1970-01-01 01:00:00.000000000 +0100
  103598. +++ m4-1.4.16/lib/config.hin~ 2011-03-01 17:57:39.000000000 +0100
  103599. @@ -0,0 +1,1453 @@
  103600. +/* lib/config.hin. Generated from configure.ac by autoheader. */
  103601. +
  103602. +/* Define if building universal (internal helper macro) */
  103603. +#undef AC_APPLE_UNIVERSAL_BUILD
  103604. +
  103605. +/* Define to the number of bits in type 'ptrdiff_t'. */
  103606. +#undef BITSIZEOF_PTRDIFF_T
  103607. +
  103608. +/* Define to the number of bits in type 'sig_atomic_t'. */
  103609. +#undef BITSIZEOF_SIG_ATOMIC_T
  103610. +
  103611. +/* Define to the number of bits in type 'size_t'. */
  103612. +#undef BITSIZEOF_SIZE_T
  103613. +
  103614. +/* Define to the number of bits in type 'wchar_t'. */
  103615. +#undef BITSIZEOF_WCHAR_T
  103616. +
  103617. +/* Define to the number of bits in type 'wint_t'. */
  103618. +#undef BITSIZEOF_WINT_T
  103619. +
  103620. +/* Define if you wish *printf() functions that have a safe handling of
  103621. + non-IEEE-754 'long double' values. */
  103622. +#undef CHECK_PRINTF_SAFE
  103623. +
  103624. +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
  103625. + systems. This function is required for `alloca.c' support on those systems.
  103626. + */
  103627. +#undef CRAY_STACKSEG_END
  103628. +
  103629. +/* Define to 1 if using `alloca.c'. */
  103630. +#undef C_ALLOCA
  103631. +
  103632. +/* Define as the bit index in the word where to find bit 0 of the exponent of
  103633. + 'double'. */
  103634. +#undef DBL_EXPBIT0_BIT
  103635. +
  103636. +/* Define as the word index where to find the exponent of 'double'. */
  103637. +#undef DBL_EXPBIT0_WORD
  103638. +
  103639. +/* Define as the bit index in the word where to find the sign of 'double'. */
  103640. +#undef DBL_SIGNBIT_BIT
  103641. +
  103642. +/* Define as the word index where to find the sign of 'double'. */
  103643. +#undef DBL_SIGNBIT_WORD
  103644. +
  103645. +/* Define to 1 if // is a file system root distinct from /. */
  103646. +#undef DOUBLE_SLASH_IS_DISTINCT_ROOT
  103647. +
  103648. +/* Define to 1 if the changeword(REGEXP) functionality is wanted */
  103649. +#undef ENABLE_CHANGEWORD
  103650. +
  103651. +/* Define to 1 if an invalid memory address access may yield a SIGBUS. */
  103652. +#undef FAULT_YIELDS_SIGBUS
  103653. +
  103654. +/* Define this to 1 if F_DUPFD behavior does not match POSIX */
  103655. +#undef FCNTL_DUPFD_BUGGY
  103656. +
  103657. +/* Define as the bit index in the word where to find bit 0 of the exponent of
  103658. + 'float'. */
  103659. +#undef FLT_EXPBIT0_BIT
  103660. +
  103661. +/* Define as the word index where to find the exponent of 'float'. */
  103662. +#undef FLT_EXPBIT0_WORD
  103663. +
  103664. +/* Define as the bit index in the word where to find the sign of 'float'. */
  103665. +#undef FLT_SIGNBIT_BIT
  103666. +
  103667. +/* Define as the word index where to find the sign of 'float'. */
  103668. +#undef FLT_SIGNBIT_WORD
  103669. +
  103670. +/* Define to 1 if fopen() fails to recognize a trailing slash. */
  103671. +#undef FOPEN_TRAILING_SLASH_BUG
  103672. +
  103673. +/* Define to 1 if the system's ftello function has the Solaris bug. */
  103674. +#undef FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE
  103675. +
  103676. +/* Define to 1 if nl_langinfo (YESEXPR) returns a non-empty string. */
  103677. +#undef FUNC_NL_LANGINFO_YESEXPR_WORKS
  103678. +
  103679. +/* Define to 1 if realpath() can malloc memory, always gives an absolute path,
  103680. + and handles trailing slash correctly. */
  103681. +#undef FUNC_REALPATH_WORKS
  103682. +
  103683. +/* Define to 1 if ungetc is broken when used on arbitrary bytes. */
  103684. +#undef FUNC_UNGETC_BROKEN
  103685. +
  103686. +/* Define if gettimeofday clobbers the localtime buffer. */
  103687. +#undef GETTIMEOFDAY_CLOBBERS_LOCALTIME
  103688. +
  103689. +/* Define this to 'void' or 'struct timezone' to match the system's
  103690. + declaration of the second argument to gettimeofday. */
  103691. +#undef GETTIMEOFDAY_TIMEZONE
  103692. +
  103693. +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  103694. + whether the gnulib module canonicalize-lgpl shall be considered present. */
  103695. +#undef GNULIB_CANONICALIZE_LGPL
  103696. +
  103697. +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  103698. + whether the gnulib module close-stream shall be considered present. */
  103699. +#undef GNULIB_CLOSE_STREAM
  103700. +
  103701. +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  103702. + whether the gnulib module dirname shall be considered present. */
  103703. +#undef GNULIB_DIRNAME
  103704. +
  103705. +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  103706. + whether the gnulib module fd-safer-flag shall be considered present. */
  103707. +#undef GNULIB_FD_SAFER_FLAG
  103708. +
  103709. +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  103710. + whether the gnulib module filenamecat shall be considered present. */
  103711. +#undef GNULIB_FILENAMECAT
  103712. +
  103713. +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  103714. + whether the gnulib module fopen-safer shall be considered present. */
  103715. +#undef GNULIB_FOPEN_SAFER
  103716. +
  103717. +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  103718. + whether the gnulib module malloc-gnu shall be considered present. */
  103719. +#undef GNULIB_MALLOC_GNU
  103720. +
  103721. +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  103722. + whether the gnulib module pipe2-safer shall be considered present. */
  103723. +#undef GNULIB_PIPE2_SAFER
  103724. +
  103725. +/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
  103726. + whether the gnulib module snprintf shall be considered present. */
  103727. +#undef GNULIB_SNPRINTF
  103728. +
  103729. +/* Define to 1 when the gnulib module btowc should be tested. */
  103730. +#undef GNULIB_TEST_BTOWC
  103731. +
  103732. +/* Define to 1 when the gnulib module canonicalize_file_name should be tested.
  103733. + */
  103734. +#undef GNULIB_TEST_CANONICALIZE_FILE_NAME
  103735. +
  103736. +/* Define to 1 when the gnulib module cloexec should be tested. */
  103737. +#undef GNULIB_TEST_CLOEXEC
  103738. +
  103739. +/* Define to 1 when the gnulib module close should be tested. */
  103740. +#undef GNULIB_TEST_CLOSE
  103741. +
  103742. +/* Define to 1 when the gnulib module dup2 should be tested. */
  103743. +#undef GNULIB_TEST_DUP2
  103744. +
  103745. +/* Define to 1 when the gnulib module environ should be tested. */
  103746. +#undef GNULIB_TEST_ENVIRON
  103747. +
  103748. +/* Define to 1 when the gnulib module fclose should be tested. */
  103749. +#undef GNULIB_TEST_FCLOSE
  103750. +
  103751. +/* Define to 1 when the gnulib module fcntl should be tested. */
  103752. +#undef GNULIB_TEST_FCNTL
  103753. +
  103754. +/* Define to 1 when the gnulib module fflush should be tested. */
  103755. +#undef GNULIB_TEST_FFLUSH
  103756. +
  103757. +/* Define to 1 when the gnulib module fopen should be tested. */
  103758. +#undef GNULIB_TEST_FOPEN
  103759. +
  103760. +/* Define to 1 when the gnulib module fpurge should be tested. */
  103761. +#undef GNULIB_TEST_FPURGE
  103762. +
  103763. +/* Define to 1 when the gnulib module frexp should be tested. */
  103764. +#undef GNULIB_TEST_FREXP
  103765. +
  103766. +/* Define to 1 when the gnulib module frexpl should be tested. */
  103767. +#undef GNULIB_TEST_FREXPL
  103768. +
  103769. +/* Define to 1 when the gnulib module fseeko should be tested. */
  103770. +#undef GNULIB_TEST_FSEEKO
  103771. +
  103772. +/* Define to 1 when the gnulib module ftell should be tested. */
  103773. +#undef GNULIB_TEST_FTELL
  103774. +
  103775. +/* Define to 1 when the gnulib module ftello should be tested. */
  103776. +#undef GNULIB_TEST_FTELLO
  103777. +
  103778. +/* Define to 1 when the gnulib module getdtablesize should be tested. */
  103779. +#undef GNULIB_TEST_GETDTABLESIZE
  103780. +
  103781. +/* Define to 1 when the gnulib module getopt-gnu should be tested. */
  103782. +#undef GNULIB_TEST_GETOPT_GNU
  103783. +
  103784. +/* Define to 1 when the gnulib module getpagesize should be tested. */
  103785. +#undef GNULIB_TEST_GETPAGESIZE
  103786. +
  103787. +/* Define to 1 when the gnulib module gettimeofday should be tested. */
  103788. +#undef GNULIB_TEST_GETTIMEOFDAY
  103789. +
  103790. +/* Define to 1 when the gnulib module link should be tested. */
  103791. +#undef GNULIB_TEST_LINK
  103792. +
  103793. +/* Define to 1 when the gnulib module lseek should be tested. */
  103794. +#undef GNULIB_TEST_LSEEK
  103795. +
  103796. +/* Define to 1 when the gnulib module lstat should be tested. */
  103797. +#undef GNULIB_TEST_LSTAT
  103798. +
  103799. +/* Define to 1 when the gnulib module malloc-posix should be tested. */
  103800. +#undef GNULIB_TEST_MALLOC_POSIX
  103801. +
  103802. +/* Define to 1 when the gnulib module mbrtowc should be tested. */
  103803. +#undef GNULIB_TEST_MBRTOWC
  103804. +
  103805. +/* Define to 1 when the gnulib module mbsinit should be tested. */
  103806. +#undef GNULIB_TEST_MBSINIT
  103807. +
  103808. +/* Define to 1 when the gnulib module mbtowc should be tested. */
  103809. +#undef GNULIB_TEST_MBTOWC
  103810. +
  103811. +/* Define to 1 when the gnulib module memchr should be tested. */
  103812. +#undef GNULIB_TEST_MEMCHR
  103813. +
  103814. +/* Define to 1 when the gnulib module mkdtemp should be tested. */
  103815. +#undef GNULIB_TEST_MKDTEMP
  103816. +
  103817. +/* Define to 1 when the gnulib module mkstemp should be tested. */
  103818. +#undef GNULIB_TEST_MKSTEMP
  103819. +
  103820. +/* Define to 1 when the gnulib module nl_langinfo should be tested. */
  103821. +#undef GNULIB_TEST_NL_LANGINFO
  103822. +
  103823. +/* Define to 1 when the gnulib module open should be tested. */
  103824. +#undef GNULIB_TEST_OPEN
  103825. +
  103826. +/* Define to 1 when the gnulib module pipe2 should be tested. */
  103827. +#undef GNULIB_TEST_PIPE2
  103828. +
  103829. +/* Define to 1 when the gnulib module posix_spawnattr_destroy should be
  103830. + tested. */
  103831. +#undef GNULIB_TEST_POSIX_SPAWNATTR_DESTROY
  103832. +
  103833. +/* Define to 1 when the gnulib module posix_spawnattr_init should be tested.
  103834. + */
  103835. +#undef GNULIB_TEST_POSIX_SPAWNATTR_INIT
  103836. +
  103837. +/* Define to 1 when the gnulib module posix_spawnattr_setflags should be
  103838. + tested. */
  103839. +#undef GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS
  103840. +
  103841. +/* Define to 1 when the gnulib module posix_spawnattr_setsigmask should be
  103842. + tested. */
  103843. +#undef GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK
  103844. +
  103845. +/* Define to 1 when the gnulib module posix_spawnp should be tested. */
  103846. +#undef GNULIB_TEST_POSIX_SPAWNP
  103847. +
  103848. +/* Define to 1 when the gnulib module posix_spawn_file_actions_addclose should
  103849. + be tested. */
  103850. +#undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE
  103851. +
  103852. +/* Define to 1 when the gnulib module posix_spawn_file_actions_adddup2 should
  103853. + be tested. */
  103854. +#undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2
  103855. +
  103856. +/* Define to 1 when the gnulib module posix_spawn_file_actions_addopen should
  103857. + be tested. */
  103858. +#undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN
  103859. +
  103860. +/* Define to 1 when the gnulib module posix_spawn_file_actions_destroy should
  103861. + be tested. */
  103862. +#undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY
  103863. +
  103864. +/* Define to 1 when the gnulib module posix_spawn_file_actions_init should be
  103865. + tested. */
  103866. +#undef GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT
  103867. +
  103868. +/* Define to 1 when the gnulib module putenv should be tested. */
  103869. +#undef GNULIB_TEST_PUTENV
  103870. +
  103871. +/* Define to 1 when the gnulib module rawmemchr should be tested. */
  103872. +#undef GNULIB_TEST_RAWMEMCHR
  103873. +
  103874. +/* Define to 1 when the gnulib module readlink should be tested. */
  103875. +#undef GNULIB_TEST_READLINK
  103876. +
  103877. +/* Define to 1 when the gnulib module realpath should be tested. */
  103878. +#undef GNULIB_TEST_REALPATH
  103879. +
  103880. +/* Define to 1 when the gnulib module rename should be tested. */
  103881. +#undef GNULIB_TEST_RENAME
  103882. +
  103883. +/* Define to 1 when the gnulib module rmdir should be tested. */
  103884. +#undef GNULIB_TEST_RMDIR
  103885. +
  103886. +/* Define to 1 when the gnulib module setenv should be tested. */
  103887. +#undef GNULIB_TEST_SETENV
  103888. +
  103889. +/* Define to 1 when the gnulib module setlocale should be tested. */
  103890. +#undef GNULIB_TEST_SETLOCALE
  103891. +
  103892. +/* Define to 1 when the gnulib module sigaction should be tested. */
  103893. +#undef GNULIB_TEST_SIGACTION
  103894. +
  103895. +/* Define to 1 when the gnulib module signbit should be tested. */
  103896. +#undef GNULIB_TEST_SIGNBIT
  103897. +
  103898. +/* Define to 1 when the gnulib module sigprocmask should be tested. */
  103899. +#undef GNULIB_TEST_SIGPROCMASK
  103900. +
  103901. +/* Define to 1 when the gnulib module snprintf should be tested. */
  103902. +#undef GNULIB_TEST_SNPRINTF
  103903. +
  103904. +/* Define to 1 when the gnulib module stat should be tested. */
  103905. +#undef GNULIB_TEST_STAT
  103906. +
  103907. +/* Define to 1 when the gnulib module strchrnul should be tested. */
  103908. +#undef GNULIB_TEST_STRCHRNUL
  103909. +
  103910. +/* Define to 1 when the gnulib module strdup should be tested. */
  103911. +#undef GNULIB_TEST_STRDUP
  103912. +
  103913. +/* Define to 1 when the gnulib module strerror should be tested. */
  103914. +#undef GNULIB_TEST_STRERROR
  103915. +
  103916. +/* Define to 1 when the gnulib module strndup should be tested. */
  103917. +#undef GNULIB_TEST_STRNDUP
  103918. +
  103919. +/* Define to 1 when the gnulib module strnlen should be tested. */
  103920. +#undef GNULIB_TEST_STRNLEN
  103921. +
  103922. +/* Define to 1 when the gnulib module strsignal should be tested. */
  103923. +#undef GNULIB_TEST_STRSIGNAL
  103924. +
  103925. +/* Define to 1 when the gnulib module strstr should be tested. */
  103926. +#undef GNULIB_TEST_STRSTR
  103927. +
  103928. +/* Define to 1 when the gnulib module strtod should be tested. */
  103929. +#undef GNULIB_TEST_STRTOD
  103930. +
  103931. +/* Define to 1 when the gnulib module symlink should be tested. */
  103932. +#undef GNULIB_TEST_SYMLINK
  103933. +
  103934. +/* Define to 1 when the gnulib module unsetenv should be tested. */
  103935. +#undef GNULIB_TEST_UNSETENV
  103936. +
  103937. +/* Define to 1 when the gnulib module vasprintf should be tested. */
  103938. +#undef GNULIB_TEST_VASPRINTF
  103939. +
  103940. +/* Define to 1 when the gnulib module waitpid should be tested. */
  103941. +#undef GNULIB_TEST_WAITPID
  103942. +
  103943. +/* Define to 1 when the gnulib module wcrtomb should be tested. */
  103944. +#undef GNULIB_TEST_WCRTOMB
  103945. +
  103946. +/* Define to 1 when the gnulib module wctob should be tested. */
  103947. +#undef GNULIB_TEST_WCTOB
  103948. +
  103949. +/* Define to 1 when the gnulib module wctomb should be tested. */
  103950. +#undef GNULIB_TEST_WCTOMB
  103951. +
  103952. +/* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
  103953. + may be supplied by this distribution. */
  103954. +#undef HAVE_ALLOCA
  103955. +
  103956. +/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
  103957. + */
  103958. +#undef HAVE_ALLOCA_H
  103959. +
  103960. +/* Define to 1 if you have the <bp-sym.h> header file. */
  103961. +#undef HAVE_BP_SYM_H
  103962. +
  103963. +/* Define to 1 if you have the `btowc' function. */
  103964. +#undef HAVE_BTOWC
  103965. +
  103966. +/* Define to 1 if you have the `canonicalize_file_name' function. */
  103967. +#undef HAVE_CANONICALIZE_FILE_NAME
  103968. +
  103969. +/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
  103970. + CoreFoundation framework. */
  103971. +#undef HAVE_CFLOCALECOPYCURRENT
  103972. +
  103973. +/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
  103974. + the CoreFoundation framework. */
  103975. +#undef HAVE_CFPREFERENCESCOPYAPPVALUE
  103976. +
  103977. +/* Define to 1 if you have the `confstr' function. */
  103978. +#undef HAVE_CONFSTR
  103979. +
  103980. +/* Define if the copysignf function is declared in <math.h> and available in
  103981. + libc. */
  103982. +#undef HAVE_COPYSIGNF_IN_LIBC
  103983. +
  103984. +/* Define if the copysignl function is declared in <math.h> and available in
  103985. + libc. */
  103986. +#undef HAVE_COPYSIGNL_IN_LIBC
  103987. +
  103988. +/* Define if the copysign function is declared in <math.h> and available in
  103989. + libc. */
  103990. +#undef HAVE_COPYSIGN_IN_LIBC
  103991. +
  103992. +/* Define to 1 if you have the declaration of `alarm', and to 0 if you don't.
  103993. + */
  103994. +#undef HAVE_DECL_ALARM
  103995. +
  103996. +/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if
  103997. + you don't. */
  103998. +#undef HAVE_DECL_CLEARERR_UNLOCKED
  103999. +
  104000. +/* Define to 1 if you have the declaration of `copysign', and to 0 if you
  104001. + don't. */
  104002. +#undef HAVE_DECL_COPYSIGN
  104003. +
  104004. +/* Define to 1 if you have the declaration of `copysignf', and to 0 if you
  104005. + don't. */
  104006. +#undef HAVE_DECL_COPYSIGNF
  104007. +
  104008. +/* Define to 1 if you have the declaration of `copysignl', and to 0 if you
  104009. + don't. */
  104010. +#undef HAVE_DECL_COPYSIGNL
  104011. +
  104012. +/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
  104013. + don't. */
  104014. +#undef HAVE_DECL_FEOF_UNLOCKED
  104015. +
  104016. +/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if
  104017. + you don't. */
  104018. +#undef HAVE_DECL_FERROR_UNLOCKED
  104019. +
  104020. +/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
  104021. + you don't. */
  104022. +#undef HAVE_DECL_FFLUSH_UNLOCKED
  104023. +
  104024. +/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
  104025. + you don't. */
  104026. +#undef HAVE_DECL_FGETS_UNLOCKED
  104027. +
  104028. +/* Define to 1 if you have the declaration of `fpurge', and to 0 if you don't.
  104029. + */
  104030. +#undef HAVE_DECL_FPURGE
  104031. +
  104032. +/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if
  104033. + you don't. */
  104034. +#undef HAVE_DECL_FPUTC_UNLOCKED
  104035. +
  104036. +/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
  104037. + you don't. */
  104038. +#undef HAVE_DECL_FPUTS_UNLOCKED
  104039. +
  104040. +/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if
  104041. + you don't. */
  104042. +#undef HAVE_DECL_FREAD_UNLOCKED
  104043. +
  104044. +/* Define to 1 if you have the declaration of `fseeko', and to 0 if you don't.
  104045. + */
  104046. +#undef HAVE_DECL_FSEEKO
  104047. +
  104048. +/* Define to 1 if you have the declaration of `ftello', and to 0 if you don't.
  104049. + */
  104050. +#undef HAVE_DECL_FTELLO
  104051. +
  104052. +/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if
  104053. + you don't. */
  104054. +#undef HAVE_DECL_FWRITE_UNLOCKED
  104055. +
  104056. +/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if
  104057. + you don't. */
  104058. +#undef HAVE_DECL_GETCHAR_UNLOCKED
  104059. +
  104060. +/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
  104061. + don't. */
  104062. +#undef HAVE_DECL_GETC_UNLOCKED
  104063. +
  104064. +/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
  104065. + */
  104066. +#undef HAVE_DECL_GETENV
  104067. +
  104068. +/* Define to 1 if you have the declaration of `isblank', and to 0 if you
  104069. + don't. */
  104070. +#undef HAVE_DECL_ISBLANK
  104071. +
  104072. +/* Define to 1 if you have the declaration of `program_invocation_name', and
  104073. + to 0 if you don't. */
  104074. +#undef HAVE_DECL_PROGRAM_INVOCATION_NAME
  104075. +
  104076. +/* Define to 1 if you have the declaration of `program_invocation_short_name',
  104077. + and to 0 if you don't. */
  104078. +#undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
  104079. +
  104080. +/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
  104081. + you don't. */
  104082. +#undef HAVE_DECL_PUTCHAR_UNLOCKED
  104083. +
  104084. +/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
  104085. + don't. */
  104086. +#undef HAVE_DECL_PUTC_UNLOCKED
  104087. +
  104088. +/* Define to 1 if you have the declaration of `setenv', and to 0 if you don't.
  104089. + */
  104090. +#undef HAVE_DECL_SETENV
  104091. +
  104092. +/* Define to 1 if you have the declaration of `sigaltstack', and to 0 if you
  104093. + don't. */
  104094. +#undef HAVE_DECL_SIGALTSTACK
  104095. +
  104096. +/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
  104097. + don't. */
  104098. +#undef HAVE_DECL_SNPRINTF
  104099. +
  104100. +/* Define to 1 if you have the declaration of `strdup', and to 0 if you don't.
  104101. + */
  104102. +#undef HAVE_DECL_STRDUP
  104103. +
  104104. +/* Define to 1 if you have the declaration of `strerror', and to 0 if you
  104105. + don't. */
  104106. +#undef HAVE_DECL_STRERROR
  104107. +
  104108. +/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
  104109. + don't. */
  104110. +#undef HAVE_DECL_STRERROR_R
  104111. +
  104112. +/* Define to 1 if you have the declaration of `strndup', and to 0 if you
  104113. + don't. */
  104114. +#undef HAVE_DECL_STRNDUP
  104115. +
  104116. +/* Define to 1 if you have the declaration of `strnlen', and to 0 if you
  104117. + don't. */
  104118. +#undef HAVE_DECL_STRNLEN
  104119. +
  104120. +/* Define to 1 if you have the declaration of `strsignal', and to 0 if you
  104121. + don't. */
  104122. +#undef HAVE_DECL_STRSIGNAL
  104123. +
  104124. +/* Define to 1 if you have the declaration of `strtod', and to 0 if you don't.
  104125. + */
  104126. +#undef HAVE_DECL_STRTOD
  104127. +
  104128. +/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
  104129. + don't. */
  104130. +#undef HAVE_DECL_SYS_SIGLIST
  104131. +
  104132. +/* Define to 1 if you have the declaration of `unsetenv', and to 0 if you
  104133. + don't. */
  104134. +#undef HAVE_DECL_UNSETENV
  104135. +
  104136. +/* Define to 1 if you have the declaration of `wctob', and to 0 if you don't.
  104137. + */
  104138. +#undef HAVE_DECL_WCTOB
  104139. +
  104140. +/* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
  104141. + don't. */
  104142. +#undef HAVE_DECL__SNPRINTF
  104143. +
  104144. +/* Define to 1 if you have the declaration of `_sys_siglist', and to 0 if you
  104145. + don't. */
  104146. +#undef HAVE_DECL__SYS_SIGLIST
  104147. +
  104148. +/* Define to 1 if you have the declaration of `__fpending', and to 0 if you
  104149. + don't. */
  104150. +#undef HAVE_DECL___FPENDING
  104151. +
  104152. +/* Define to 1 if you have the `dup2' function. */
  104153. +#undef HAVE_DUP2
  104154. +
  104155. +/* Define if you have the declaration of environ. */
  104156. +#undef HAVE_ENVIRON_DECL
  104157. +
  104158. +/* Define to 1 if you have the `fcntl' function. */
  104159. +#undef HAVE_FCNTL
  104160. +
  104161. +/* Define to 1 if you have the <features.h> header file. */
  104162. +#undef HAVE_FEATURES_H
  104163. +
  104164. +/* Define to 1 if you have the `fpurge' function. */
  104165. +#undef HAVE_FPURGE
  104166. +
  104167. +/* Define if the frexpl function is available in libc. */
  104168. +#undef HAVE_FREXPL_IN_LIBC
  104169. +
  104170. +/* Define if the frexp function is available in libc. */
  104171. +#undef HAVE_FREXP_IN_LIBC
  104172. +
  104173. +/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
  104174. +#undef HAVE_FSEEKO
  104175. +
  104176. +/* Define to 1 if you have the `getcwd' function. */
  104177. +#undef HAVE_GETCWD
  104178. +
  104179. +/* Define to 1 if you have the `getdtablesize' function. */
  104180. +#undef HAVE_GETDTABLESIZE
  104181. +
  104182. +/* Define to 1 if you have the <getopt.h> header file. */
  104183. +#undef HAVE_GETOPT_H
  104184. +
  104185. +/* Define to 1 if you have the `getopt_long_only' function. */
  104186. +#undef HAVE_GETOPT_LONG_ONLY
  104187. +
  104188. +/* Define to 1 if you have the `getpagesize' function. */
  104189. +#undef HAVE_GETPAGESIZE
  104190. +
  104191. +/* Define to 1 if you have the `gettimeofday' function. */
  104192. +#undef HAVE_GETTIMEOFDAY
  104193. +
  104194. +/* Define to 1 if the compiler supports one of the keywords 'inline',
  104195. + '__inline__', '__inline' and effectively inlines functions marked as such.
  104196. + */
  104197. +#undef HAVE_INLINE
  104198. +
  104199. +/* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
  104200. +#undef HAVE_INTMAX_T
  104201. +
  104202. +/* Define to 1 if you have the <inttypes.h> header file. */
  104203. +#undef HAVE_INTTYPES_H
  104204. +
  104205. +/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
  104206. + declares uintmax_t. */
  104207. +#undef HAVE_INTTYPES_H_WITH_UINTMAX
  104208. +
  104209. +/* Define to 1 if you have the `isblank' function. */
  104210. +#undef HAVE_ISBLANK
  104211. +
  104212. +/* Define if the isnan(double) function is available in libc. */
  104213. +#undef HAVE_ISNAND_IN_LIBC
  104214. +
  104215. +/* Define if the isnan(float) function is available in libc. */
  104216. +#undef HAVE_ISNANF_IN_LIBC
  104217. +
  104218. +/* Define if the isnan(long double) function is available in libc. */
  104219. +#undef HAVE_ISNANL_IN_LIBC
  104220. +
  104221. +/* Define to 1 if you have the `iswcntrl' function. */
  104222. +#undef HAVE_ISWCNTRL
  104223. +
  104224. +/* Define to 1 if you have the `iswctype' function. */
  104225. +#undef HAVE_ISWCTYPE
  104226. +
  104227. +/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
  104228. +#undef HAVE_LANGINFO_CODESET
  104229. +
  104230. +/* Define to 1 if you have the <langinfo.h> header file. */
  104231. +#undef HAVE_LANGINFO_H
  104232. +
  104233. +/* Define if your <locale.h> file defines LC_MESSAGES. */
  104234. +#undef HAVE_LC_MESSAGES
  104235. +
  104236. +/* Define if the ldexpl function is available in libc. */
  104237. +#undef HAVE_LDEXPL_IN_LIBC
  104238. +
  104239. +/* Define if the ldexp function is available in libc. */
  104240. +#undef HAVE_LDEXP_IN_LIBC
  104241. +
  104242. +/* Define to 1 if you have the <libintl.h> header file. */
  104243. +#undef HAVE_LIBINTL_H
  104244. +
  104245. +/* Define if you have the libsigsegv library. */
  104246. +#undef HAVE_LIBSIGSEGV
  104247. +
  104248. +/* Define to 1 if you have the `link' function. */
  104249. +#undef HAVE_LINK
  104250. +
  104251. +/* Define to 1 if the system has the type `long long int'. */
  104252. +#undef HAVE_LONG_LONG_INT
  104253. +
  104254. +/* Define to 1 if you have the `lstat' function. */
  104255. +#undef HAVE_LSTAT
  104256. +
  104257. +/* Define to 1 if your system has a GNU libc compatible 'malloc' function, and
  104258. + to 0 otherwise. */
  104259. +#undef HAVE_MALLOC_GNU
  104260. +
  104261. +/* Define if the 'malloc' function is POSIX compliant. */
  104262. +#undef HAVE_MALLOC_POSIX
  104263. +
  104264. +/* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
  104265. + config.h and <sys/mman.h>. */
  104266. +#undef HAVE_MAP_ANONYMOUS
  104267. +
  104268. +/* Define to 1 if you have the <math.h> header file. */
  104269. +#undef HAVE_MATH_H
  104270. +
  104271. +/* Define to 1 if you have the `mbrtowc' function. */
  104272. +#undef HAVE_MBRTOWC
  104273. +
  104274. +/* Define to 1 if you have the `mbsinit' function. */
  104275. +#undef HAVE_MBSINIT
  104276. +
  104277. +/* Define to 1 if <wchar.h> declares mbstate_t. */
  104278. +#undef HAVE_MBSTATE_T
  104279. +
  104280. +/* Define to 1 if you have the `memchr' function. */
  104281. +#undef HAVE_MEMCHR
  104282. +
  104283. +/* Define to 1 if you have the <memory.h> header file. */
  104284. +#undef HAVE_MEMORY_H
  104285. +
  104286. +/* Define to 1 if you have the `mempcpy' function. */
  104287. +#undef HAVE_MEMPCPY
  104288. +
  104289. +/* Define to 1 if you have the `mkdtemp' function. */
  104290. +#undef HAVE_MKDTEMP
  104291. +
  104292. +/* Define to 1 if you have the `mkstemp' function. */
  104293. +#undef HAVE_MKSTEMP
  104294. +
  104295. +/* Define to 1 if you have the `mprotect' function. */
  104296. +#undef HAVE_MPROTECT
  104297. +
  104298. +/* Define to 1 if you have the `newlocale' function. */
  104299. +#undef HAVE_NEWLOCALE
  104300. +
  104301. +/* Define to 1 if you have the `nl_langinfo' function. */
  104302. +#undef HAVE_NL_LANGINFO
  104303. +
  104304. +/* Define to 1 if libc includes obstacks. */
  104305. +#undef HAVE_OBSTACK
  104306. +
  104307. +/* Define to 1 if you have the <OS.h> header file. */
  104308. +#undef HAVE_OS_H
  104309. +
  104310. +/* Define to 1 if you have the `pathconf' function. */
  104311. +#undef HAVE_PATHCONF
  104312. +
  104313. +/* Define to 1 if you have the <paths.h> header file. */
  104314. +#undef HAVE_PATHS_H
  104315. +
  104316. +/* Define to 1 if you have the `pipe' function. */
  104317. +#undef HAVE_PIPE
  104318. +
  104319. +/* Define to 1 if you have the `pipe2' function. */
  104320. +#undef HAVE_PIPE2
  104321. +
  104322. +/* Define to 1 if you have the `posix_spawn' function. */
  104323. +#undef HAVE_POSIX_SPAWN
  104324. +
  104325. +/* Define to 1 if the system has the type `posix_spawnattr_t'. */
  104326. +#undef HAVE_POSIX_SPAWNATTR_T
  104327. +
  104328. +/* Define to 1 if the system has the type `posix_spawn_file_actions_t'. */
  104329. +#undef HAVE_POSIX_SPAWN_FILE_ACTIONS_T
  104330. +
  104331. +/* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */
  104332. +#undef HAVE_PTHREAD_MUTEX_RECURSIVE
  104333. +
  104334. +/* Define if the POSIX multithreading library has read/write locks. */
  104335. +#undef HAVE_PTHREAD_RWLOCK
  104336. +
  104337. +/* Define to 1 if you have the `rawmemchr' function. */
  104338. +#undef HAVE_RAWMEMCHR
  104339. +
  104340. +/* Define to 1 if you have the `readlink' function. */
  104341. +#undef HAVE_READLINK
  104342. +
  104343. +/* Define to 1 if you have the `realpath' function. */
  104344. +#undef HAVE_REALPATH
  104345. +
  104346. +/* Define to 1 if you have the <sched.h> header file. */
  104347. +#undef HAVE_SCHED_H
  104348. +
  104349. +/* Define to 1 if you have the `sched_setparam' function. */
  104350. +#undef HAVE_SCHED_SETPARAM
  104351. +
  104352. +/* Define to 1 if you have the `sched_setscheduler' function. */
  104353. +#undef HAVE_SCHED_SETSCHEDULER
  104354. +
  104355. +/* Define to 1 if you have the <search.h> header file. */
  104356. +#undef HAVE_SEARCH_H
  104357. +
  104358. +/* Define to 1 if you have the `setegid' function. */
  104359. +#undef HAVE_SETEGID
  104360. +
  104361. +/* Define to 1 if you have the `setenv' function. */
  104362. +#undef HAVE_SETENV
  104363. +
  104364. +/* Define to 1 if you have the `seteuid' function. */
  104365. +#undef HAVE_SETEUID
  104366. +
  104367. +/* Define to 1 if you have the `setlocale' function. */
  104368. +#undef HAVE_SETLOCALE
  104369. +
  104370. +/* Define to 1 if you have the `setrlimit' function. */
  104371. +#undef HAVE_SETRLIMIT
  104372. +
  104373. +/* Define to 1 if you have the `sigaction' function. */
  104374. +#undef HAVE_SIGACTION
  104375. +
  104376. +/* Define to 1 if you have the `sigaltstack' function. */
  104377. +#undef HAVE_SIGALTSTACK
  104378. +
  104379. +/* Define to 1 if the system has the type `siginfo_t'. */
  104380. +#undef HAVE_SIGINFO_T
  104381. +
  104382. +/* Define to 1 if you have the `siginterrupt' function. */
  104383. +#undef HAVE_SIGINTERRUPT
  104384. +
  104385. +/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
  104386. +#undef HAVE_SIGNED_SIG_ATOMIC_T
  104387. +
  104388. +/* Define to 1 if 'wchar_t' is a signed integer type. */
  104389. +#undef HAVE_SIGNED_WCHAR_T
  104390. +
  104391. +/* Define to 1 if 'wint_t' is a signed integer type. */
  104392. +#undef HAVE_SIGNED_WINT_T
  104393. +
  104394. +/* Define to 1 if the system has the type `sigset_t'. */
  104395. +#undef HAVE_SIGSET_T
  104396. +
  104397. +/* Define to 1 if the system has the type `sig_atomic_t'. */
  104398. +#undef HAVE_SIG_ATOMIC_T
  104399. +
  104400. +/* Define to 1 if you have the `snprintf' function. */
  104401. +#undef HAVE_SNPRINTF
  104402. +
  104403. +/* Define if the return value of the snprintf function is the number of of
  104404. + bytes (excluding the terminating NUL) that would have been produced if the
  104405. + buffer had been large enough. */
  104406. +#undef HAVE_SNPRINTF_RETVAL_C99
  104407. +
  104408. +/* Define to 1 if you have the <spawn.h> header file. */
  104409. +#undef HAVE_SPAWN_H
  104410. +
  104411. +/* Define to 1 if extending the stack slightly past the limit causes a SIGSEGV
  104412. + which can be handled on an alternate stack established with sigaltstack. */
  104413. +#undef HAVE_STACK_OVERFLOW_HANDLING
  104414. +
  104415. +/* Define to 1 if the system has the type `stack_t'. */
  104416. +#undef HAVE_STACK_T
  104417. +
  104418. +/* Define to 1 if you have the <stdint.h> header file. */
  104419. +#undef HAVE_STDINT_H
  104420. +
  104421. +/* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
  104422. + uintmax_t. */
  104423. +#undef HAVE_STDINT_H_WITH_UINTMAX
  104424. +
  104425. +/* Define to 1 if you have the <stdio_ext.h> header file. */
  104426. +#undef HAVE_STDIO_EXT_H
  104427. +
  104428. +/* Define to 1 if you have the <stdlib.h> header file. */
  104429. +#undef HAVE_STDLIB_H
  104430. +
  104431. +/* Define to 1 if you have the `strchrnul' function. */
  104432. +#undef HAVE_STRCHRNUL
  104433. +
  104434. +/* Define to 1 if you have the `strdup' function. */
  104435. +#undef HAVE_STRDUP
  104436. +
  104437. +/* Define to 1 if you have the `strerror_r' function. */
  104438. +#undef HAVE_STRERROR_R
  104439. +
  104440. +/* Define to 1 if you have the <strings.h> header file. */
  104441. +#undef HAVE_STRINGS_H
  104442. +
  104443. +/* Define to 1 if you have the <string.h> header file. */
  104444. +#undef HAVE_STRING_H
  104445. +
  104446. +/* Define to 1 if you have the `strndup' function. */
  104447. +#undef HAVE_STRNDUP
  104448. +
  104449. +/* Define to 1 if you have the `strnlen' function. */
  104450. +#undef HAVE_STRNLEN
  104451. +
  104452. +/* Define to 1 if you have the `strsignal' function. */
  104453. +#undef HAVE_STRSIGNAL
  104454. +
  104455. +/* Define to 1 if you have the `strtol' function. */
  104456. +#undef HAVE_STRTOL
  104457. +
  104458. +/* Define to 1 if `sa_sigaction' is a member of `struct sigaction'. */
  104459. +#undef HAVE_STRUCT_SIGACTION_SA_SIGACTION
  104460. +
  104461. +/* Define to 1 if you have the `symlink' function. */
  104462. +#undef HAVE_SYMLINK
  104463. +
  104464. +/* Define to 1 if you have the <sys/bitypes.h> header file. */
  104465. +#undef HAVE_SYS_BITYPES_H
  104466. +
  104467. +/* Define to 1 if you have the <sys/inttypes.h> header file. */
  104468. +#undef HAVE_SYS_INTTYPES_H
  104469. +
  104470. +/* Define to 1 if you have the <sys/mman.h> header file. */
  104471. +#undef HAVE_SYS_MMAN_H
  104472. +
  104473. +/* Define to 1 if you have the <sys/param.h> header file. */
  104474. +#undef HAVE_SYS_PARAM_H
  104475. +
  104476. +/* Define to 1 if you have the <sys/socket.h> header file. */
  104477. +#undef HAVE_SYS_SOCKET_H
  104478. +
  104479. +/* Define to 1 if you have the <sys/stat.h> header file. */
  104480. +#undef HAVE_SYS_STAT_H
  104481. +
  104482. +/* Define to 1 if you have the <sys/timeb.h> header file. */
  104483. +#undef HAVE_SYS_TIMEB_H
  104484. +
  104485. +/* Define to 1 if you have the <sys/time.h> header file. */
  104486. +#undef HAVE_SYS_TIME_H
  104487. +
  104488. +/* Define to 1 if you have the <sys/types.h> header file. */
  104489. +#undef HAVE_SYS_TYPES_H
  104490. +
  104491. +/* Define to 1 if you have the <sys/wait.h> header file. */
  104492. +#undef HAVE_SYS_WAIT_H
  104493. +
  104494. +/* Define to 1 if you have the `tsearch' function. */
  104495. +#undef HAVE_TSEARCH
  104496. +
  104497. +/* Define to 1 if you have the <ucontext.h> header file. */
  104498. +#undef HAVE_UCONTEXT_H
  104499. +
  104500. +/* Define to 1 if you have the <unistd.h> header file. */
  104501. +#undef HAVE_UNISTD_H
  104502. +
  104503. +/* Define to 1 if you have the `unsetenv' function. */
  104504. +#undef HAVE_UNSETENV
  104505. +
  104506. +/* Define to 1 if the system has the type `unsigned long long int'. */
  104507. +#undef HAVE_UNSIGNED_LONG_LONG_INT
  104508. +
  104509. +/* Define to 1 if you have the `uselocale' function. */
  104510. +#undef HAVE_USELOCALE
  104511. +
  104512. +/* Define to 1 if you have the `vasnprintf' function. */
  104513. +#undef HAVE_VASNPRINTF
  104514. +
  104515. +/* Define to 1 if you have the `vasprintf' function. */
  104516. +#undef HAVE_VASPRINTF
  104517. +
  104518. +/* Define to 1 if you have the `vfork' function. */
  104519. +#undef HAVE_VFORK
  104520. +
  104521. +/* Define to 1 if you have the `waitid' function. */
  104522. +#undef HAVE_WAITID
  104523. +
  104524. +/* Define to 1 if you have the <wchar.h> header file. */
  104525. +#undef HAVE_WCHAR_H
  104526. +
  104527. +/* Define if you have the 'wchar_t' type. */
  104528. +#undef HAVE_WCHAR_T
  104529. +
  104530. +/* Define to 1 if you have the `wcrtomb' function. */
  104531. +#undef HAVE_WCRTOMB
  104532. +
  104533. +/* Define to 1 if you have the `wcscoll' function. */
  104534. +#undef HAVE_WCSCOLL
  104535. +
  104536. +/* Define to 1 if you have the `wcslen' function. */
  104537. +#undef HAVE_WCSLEN
  104538. +
  104539. +/* Define to 1 if you have the `wcsnlen' function. */
  104540. +#undef HAVE_WCSNLEN
  104541. +
  104542. +/* Define to 1 if you have the `wctob' function. */
  104543. +#undef HAVE_WCTOB
  104544. +
  104545. +/* Define to 1 if you have the <wctype.h> header file. */
  104546. +#undef HAVE_WCTYPE_H
  104547. +
  104548. +/* Define to 1 if you have the <winsock2.h> header file. */
  104549. +#undef HAVE_WINSOCK2_H
  104550. +
  104551. +/* Define if you have the 'wint_t' type. */
  104552. +#undef HAVE_WINT_T
  104553. +
  104554. +/* Define to 1 if O_NOATIME works. */
  104555. +#undef HAVE_WORKING_O_NOATIME
  104556. +
  104557. +/* Define to 1 if O_NOFOLLOW works. */
  104558. +#undef HAVE_WORKING_O_NOFOLLOW
  104559. +
  104560. +/* Define to 1 if you have the <xlocale.h> header file. */
  104561. +#undef HAVE_XLOCALE_H
  104562. +
  104563. +/* Define to 1 if extending the stack slightly past the limit causes a
  104564. + SIGSEGV, and an alternate stack can be established with sigaltstack, and
  104565. + the signal handler is passed a context that specifies the run time stack.
  104566. + This behavior is defined by POSIX 1003.1-2001 with the X/Open System
  104567. + Interface (XSI) option and is a standardized way to implement a SEGV-based
  104568. + stack overflow detection heuristic. */
  104569. +#undef HAVE_XSI_STACK_OVERFLOW_HEURISTIC
  104570. +
  104571. +/* Define to 1 if the system has the type `_Bool'. */
  104572. +#undef HAVE__BOOL
  104573. +
  104574. +/* Define to 1 if you have the `_ftime' function. */
  104575. +#undef HAVE__FTIME
  104576. +
  104577. +/* Define to 1 if you have the `__fpending' function. */
  104578. +#undef HAVE___FPENDING
  104579. +
  104580. +/* Define to 1 if you have the `__fpurge' function. */
  104581. +#undef HAVE___FPURGE
  104582. +
  104583. +/* Define to 1 if you have the `__freading' function. */
  104584. +#undef HAVE___FREADING
  104585. +
  104586. +/* Define to 1 if you have the `__secure_getenv' function. */
  104587. +#undef HAVE___SECURE_GETENV
  104588. +
  104589. +/* Define as the bit index in the word where to find bit 0 of the exponent of
  104590. + 'long double'. */
  104591. +#undef LDBL_EXPBIT0_BIT
  104592. +
  104593. +/* Define as the word index where to find the exponent of 'long double'. */
  104594. +#undef LDBL_EXPBIT0_WORD
  104595. +
  104596. +/* Define as the bit index in the word where to find the sign of 'long
  104597. + double'. */
  104598. +#undef LDBL_SIGNBIT_BIT
  104599. +
  104600. +/* Define as the word index where to find the sign of 'long double'. */
  104601. +#undef LDBL_SIGNBIT_WORD
  104602. +
  104603. +/* Define to 1 if lseek does not detect pipes. */
  104604. +#undef LSEEK_PIPE_BROKEN
  104605. +
  104606. +/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
  104607. + slash. */
  104608. +#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
  104609. +
  104610. +/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
  104611. +#undef MALLOC_0_IS_NONNULL
  104612. +
  104613. +/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
  104614. +#undef MAP_ANONYMOUS
  104615. +
  104616. +/* Define if the mbrtowc function has the NULL pwc argument bug. */
  104617. +#undef MBRTOWC_NULL_ARG1_BUG
  104618. +
  104619. +/* Define if the mbrtowc function has the NULL string argument bug. */
  104620. +#undef MBRTOWC_NULL_ARG2_BUG
  104621. +
  104622. +/* Define if the mbrtowc function does not return 0 for a NUL character. */
  104623. +#undef MBRTOWC_NUL_RETVAL_BUG
  104624. +
  104625. +/* Define if the mbrtowc function returns a wrong return value. */
  104626. +#undef MBRTOWC_RETVAL_BUG
  104627. +
  104628. +/* Define to 1 if assertions should be disabled. */
  104629. +#undef NDEBUG
  104630. +
  104631. +/* Define if the vasnprintf implementation needs special code for the 'a' and
  104632. + 'A' directives. */
  104633. +#undef NEED_PRINTF_DIRECTIVE_A
  104634. +
  104635. +/* Define if the vasnprintf implementation needs special code for the 'F'
  104636. + directive. */
  104637. +#undef NEED_PRINTF_DIRECTIVE_F
  104638. +
  104639. +/* Define if the vasnprintf implementation needs special code for the 'ls'
  104640. + directive. */
  104641. +#undef NEED_PRINTF_DIRECTIVE_LS
  104642. +
  104643. +/* Define if the vasnprintf implementation needs special code for 'double'
  104644. + arguments. */
  104645. +#undef NEED_PRINTF_DOUBLE
  104646. +
  104647. +/* Define if the vasnprintf implementation needs special code for surviving
  104648. + out-of-memory conditions. */
  104649. +#undef NEED_PRINTF_ENOMEM
  104650. +
  104651. +/* Define if the vasnprintf implementation needs special code for the ' flag.
  104652. + */
  104653. +#undef NEED_PRINTF_FLAG_GROUPING
  104654. +
  104655. +/* Define if the vasnprintf implementation needs special code for the '-'
  104656. + flag. */
  104657. +#undef NEED_PRINTF_FLAG_LEFTADJUST
  104658. +
  104659. +/* Define if the vasnprintf implementation needs special code for the 0 flag.
  104660. + */
  104661. +#undef NEED_PRINTF_FLAG_ZERO
  104662. +
  104663. +/* Define if the vasnprintf implementation needs special code for infinite
  104664. + 'double' arguments. */
  104665. +#undef NEED_PRINTF_INFINITE_DOUBLE
  104666. +
  104667. +/* Define if the vasnprintf implementation needs special code for infinite
  104668. + 'long double' arguments. */
  104669. +#undef NEED_PRINTF_INFINITE_LONG_DOUBLE
  104670. +
  104671. +/* Define if the vasnprintf implementation needs special code for 'long
  104672. + double' arguments. */
  104673. +#undef NEED_PRINTF_LONG_DOUBLE
  104674. +
  104675. +/* Define if the vasnprintf implementation needs special code for supporting
  104676. + large precisions without arbitrary bounds. */
  104677. +#undef NEED_PRINTF_UNBOUNDED_PRECISION
  104678. +
  104679. +/* Define to 1 if your C compiler doesn't accept -c and -o together. */
  104680. +#undef NO_MINUS_C_MINUS_O
  104681. +
  104682. +/* Define to 1 if open() fails to recognize a trailing slash. */
  104683. +#undef OPEN_TRAILING_SLASH_BUG
  104684. +
  104685. +/* Name of package */
  104686. +#undef PACKAGE
  104687. +
  104688. +/* Define to the address where bug reports for this package should be sent. */
  104689. +#undef PACKAGE_BUGREPORT
  104690. +
  104691. +/* Define to the full name of this package. */
  104692. +#undef PACKAGE_NAME
  104693. +
  104694. +/* String identifying the packager of this software */
  104695. +#undef PACKAGE_PACKAGER
  104696. +
  104697. +/* Packager info for bug reports (URL/e-mail/...) */
  104698. +#undef PACKAGE_PACKAGER_BUG_REPORTS
  104699. +
  104700. +/* Packager-specific version information */
  104701. +#undef PACKAGE_PACKAGER_VERSION
  104702. +
  104703. +/* Define to the full name and version of this package. */
  104704. +#undef PACKAGE_STRING
  104705. +
  104706. +/* Define to the one symbol short name of this package. */
  104707. +#undef PACKAGE_TARNAME
  104708. +
  104709. +/* Define to the home page for this package. */
  104710. +#undef PACKAGE_URL
  104711. +
  104712. +/* Define to the version of this package. */
  104713. +#undef PACKAGE_VERSION
  104714. +
  104715. +/* the number of pending output bytes on stream `fp' */
  104716. +#undef PENDING_OUTPUT_N_BYTES
  104717. +
  104718. +/* Define to the type that is the result of default argument promotions of
  104719. + type mode_t. */
  104720. +#undef PROMOTED_MODE_T
  104721. +
  104722. +/* Define if the pthread_in_use() detection is hard. */
  104723. +#undef PTHREAD_IN_USE_DETECTION_HARD
  104724. +
  104725. +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  104726. + 'ptrdiff_t'. */
  104727. +#undef PTRDIFF_T_SUFFIX
  104728. +
  104729. +/* Define to 1 if readlink fails to recognize a trailing slash. */
  104730. +#undef READLINK_TRAILING_SLASH_BUG
  104731. +
  104732. +/* Define if rename does not work when the destination file exists, as on
  104733. + Cygwin 1.5 or Windows. */
  104734. +#undef RENAME_DEST_EXISTS_BUG
  104735. +
  104736. +/* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or
  104737. + Cygwin 1.5. */
  104738. +#undef RENAME_HARD_LINK_BUG
  104739. +
  104740. +/* Define to 1 if a file can be renamed while open, or to 0 if not. */
  104741. +#undef RENAME_OPEN_FILE_WORKS
  104742. +
  104743. +/* Define if rename does not correctly handle slashes on the destination
  104744. + argument, such as on Solaris 10 or NetBSD 1.6. */
  104745. +#undef RENAME_TRAILING_SLASH_DEST_BUG
  104746. +
  104747. +/* Define if rename does not correctly handle slashes on the source argument,
  104748. + such as on Solaris 9 or cygwin 1.5. */
  104749. +#undef RENAME_TRAILING_SLASH_SOURCE_BUG
  104750. +
  104751. +/* Define to 1 if stat needs help when passed a directory name with a trailing
  104752. + slash */
  104753. +#undef REPLACE_FUNC_STAT_DIR
  104754. +
  104755. +/* Define to 1 if stat needs help when passed a file name with a trailing
  104756. + slash */
  104757. +#undef REPLACE_FUNC_STAT_FILE
  104758. +
  104759. +/* Define if nl_langinfo exists but is overridden by gnulib. */
  104760. +#undef REPLACE_NL_LANGINFO
  104761. +
  104762. +/* Define this to 1 if strerror is broken. */
  104763. +#undef REPLACE_STRERROR
  104764. +
  104765. +/* Define if vasnprintf exists but is overridden by gnulib. */
  104766. +#undef REPLACE_VASNPRINTF
  104767. +
  104768. +/* Define if sigaltstack() interprets the stack_t.ss_sp field incorrectly, as
  104769. + the highest address of the alternate stack range rather than as the lowest
  104770. + address. */
  104771. +#undef SIGALTSTACK_SS_REVERSED
  104772. +
  104773. +/* Define if lists must be signal-safe. */
  104774. +#undef SIGNAL_SAFE_LIST
  104775. +
  104776. +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  104777. + 'sig_atomic_t'. */
  104778. +#undef SIG_ATOMIC_T_SUFFIX
  104779. +
  104780. +/* Define as the maximum value of type 'size_t', if the system doesn't define
  104781. + it. */
  104782. +#ifndef SIZE_MAX
  104783. +# undef SIZE_MAX
  104784. +#endif
  104785. +
  104786. +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  104787. + 'size_t'. */
  104788. +#undef SIZE_T_SUFFIX
  104789. +
  104790. +/* If using the C implementation of alloca, define if you know the
  104791. + direction of stack growth for your system; otherwise it will be
  104792. + automatically deduced at runtime.
  104793. + STACK_DIRECTION > 0 => grows toward higher addresses
  104794. + STACK_DIRECTION < 0 => grows toward lower addresses
  104795. + STACK_DIRECTION = 0 => direction of growth unknown */
  104796. +#undef STACK_DIRECTION
  104797. +
  104798. +/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
  104799. +#undef STAT_MACROS_BROKEN
  104800. +
  104801. +/* Define to 1 if you have the ANSI C header files. */
  104802. +#undef STDC_HEADERS
  104803. +
  104804. +/* Define to 1 if strerror_r returns char *. */
  104805. +#undef STRERROR_R_CHAR_P
  104806. +
  104807. +/* Shell used by syscmd and esyscmd, must accept -c argument. */
  104808. +#undef SYSCMD_SHELL
  104809. +
  104810. +/* Define if the POSIX multithreading library can be used. */
  104811. +#undef USE_POSIX_THREADS
  104812. +
  104813. +/* Define if references to the POSIX multithreading library should be made
  104814. + weak. */
  104815. +#undef USE_POSIX_THREADS_WEAK
  104816. +
  104817. +/* Define if the GNU Pth multithreading library can be used. */
  104818. +#undef USE_PTH_THREADS
  104819. +
  104820. +/* Define if references to the GNU Pth multithreading library should be made
  104821. + weak. */
  104822. +#undef USE_PTH_THREADS_WEAK
  104823. +
  104824. +/* Define if the old Solaris multithreading library can be used. */
  104825. +#undef USE_SOLARIS_THREADS
  104826. +
  104827. +/* Define if references to the old Solaris multithreading library should be
  104828. + made weak. */
  104829. +#undef USE_SOLARIS_THREADS_WEAK
  104830. +
  104831. +/* Define to 1 if you want getc etc. to use unlocked I/O if available.
  104832. + Unlocked I/O can improve performance in unithreaded apps, but it is not
  104833. + safe for multithreaded apps. */
  104834. +#undef USE_UNLOCKED_IO
  104835. +
  104836. +/* Define if the Win32 multithreading API can be used. */
  104837. +#undef USE_WIN32_THREADS
  104838. +
  104839. +/* Version number of package */
  104840. +#undef VERSION
  104841. +
  104842. +/* Define to 1 if unsetenv returns void instead of int. */
  104843. +#undef VOID_UNSETENV
  104844. +
  104845. +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  104846. + 'wchar_t'. */
  104847. +#undef WCHAR_T_SUFFIX
  104848. +
  104849. +/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
  104850. + 'wint_t'. */
  104851. +#undef WINT_T_SUFFIX
  104852. +
  104853. +/* Define to 1 if malloc debugging is enabled */
  104854. +#undef WITH_DMALLOC
  104855. +
  104856. +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  104857. + significant byte first (like Motorola and SPARC, unlike Intel). */
  104858. +#if defined AC_APPLE_UNIVERSAL_BUILD
  104859. +# if defined __BIG_ENDIAN__
  104860. +# define WORDS_BIGENDIAN 1
  104861. +# endif
  104862. +#else
  104863. +# ifndef WORDS_BIGENDIAN
  104864. +# undef WORDS_BIGENDIAN
  104865. +# endif
  104866. +#endif
  104867. +
  104868. +/* Number of bits in a file offset, on hosts where this is settable. */
  104869. +#undef _FILE_OFFSET_BITS
  104870. +
  104871. +/* enable compile-time and run-time bounds-checking, and some warnings */
  104872. +#undef _FORTIFY_SOURCE
  104873. +
  104874. +/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
  104875. +#undef _LARGEFILE_SOURCE
  104876. +
  104877. +/* Define for large files, on AIX-style hosts. */
  104878. +#undef _LARGE_FILES
  104879. +
  104880. +/* Define to 1 if on MINIX. */
  104881. +#undef _MINIX
  104882. +
  104883. +/* Define to 2 if the system does not provide POSIX.1 features except with
  104884. + this defined. */
  104885. +#undef _POSIX_1_SOURCE
  104886. +
  104887. +/* Define to 1 if you need to in order for `stat' and other things to work. */
  104888. +#undef _POSIX_SOURCE
  104889. +
  104890. +/* Define if you want regoff_t to be at least as wide POSIX requires. */
  104891. +#undef _REGEX_LARGE_OFFSETS
  104892. +
  104893. +/* Define to 500 only on HP-UX. */
  104894. +#undef _XOPEN_SOURCE
  104895. +
  104896. +/* Enable extensions on AIX 3, Interix. */
  104897. +#ifndef _ALL_SOURCE
  104898. +# undef _ALL_SOURCE
  104899. +#endif
  104900. +/* Enable GNU extensions on systems that have them. */
  104901. +#ifndef _GNU_SOURCE
  104902. +# undef _GNU_SOURCE
  104903. +#endif
  104904. +/* Enable threading extensions on Solaris. */
  104905. +#ifndef _POSIX_PTHREAD_SEMANTICS
  104906. +# undef _POSIX_PTHREAD_SEMANTICS
  104907. +#endif
  104908. +/* Enable extensions on HP NonStop. */
  104909. +#ifndef _TANDEM_SOURCE
  104910. +# undef _TANDEM_SOURCE
  104911. +#endif
  104912. +/* Enable general extensions on Solaris. */
  104913. +#ifndef __EXTENSIONS__
  104914. +# undef __EXTENSIONS__
  104915. +#endif
  104916. +
  104917. +
  104918. +/* Define to rpl_ if the getopt replacement functions and variables should be
  104919. + used. */
  104920. +#undef __GETOPT_PREFIX
  104921. +
  104922. +/* Define to `int' if <sys/types.h> doesn't define. */
  104923. +#undef gid_t
  104924. +
  104925. +/* A replacement for va_copy, if needed. */
  104926. +#define gl_va_copy(a,b) ((a) = (b))
  104927. +
  104928. +/* Define to rpl_gmtime if the replacement function should be used. */
  104929. +#undef gmtime
  104930. +
  104931. +/* Define to `__inline__' or `__inline' if that's what the C compiler
  104932. + calls it, or to nothing if 'inline' is not supported under any name. */
  104933. +#ifndef __cplusplus
  104934. +#undef inline
  104935. +#endif
  104936. +
  104937. +/* Define to long or long long if <stdint.h> and <inttypes.h> don't define. */
  104938. +#undef intmax_t
  104939. +
  104940. +/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
  104941. + the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
  104942. + earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
  104943. + __APPLE__ && __MACH__ test for MacOS X.
  104944. + __APPLE_CC__ tests for the Apple compiler and its version.
  104945. + __STDC_VERSION__ tests for the C99 mode. */
  104946. +#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
  104947. +# define __GNUC_STDC_INLINE__ 1
  104948. +#endif
  104949. +
  104950. +/* Define to rpl_localtime if the replacement function should be used. */
  104951. +#undef localtime
  104952. +
  104953. +/* Define to a type if <wchar.h> does not define. */
  104954. +#undef mbstate_t
  104955. +
  104956. +/* Define to `int' if <sys/types.h> does not define. */
  104957. +#undef mode_t
  104958. +
  104959. +/* Define to the type of st_nlink in struct stat, or a supertype. */
  104960. +#undef nlink_t
  104961. +
  104962. +/* Define as the type of the result of subtracting two pointers, if the system
  104963. + doesn't define it. */
  104964. +#undef ptrdiff_t
  104965. +
  104966. +/* Define to rpl_re_comp if the replacement should be used. */
  104967. +#undef re_comp
  104968. +
  104969. +/* Define to rpl_re_compile_fastmap if the replacement should be used. */
  104970. +#undef re_compile_fastmap
  104971. +
  104972. +/* Define to rpl_re_compile_pattern if the replacement should be used. */
  104973. +#undef re_compile_pattern
  104974. +
  104975. +/* Define to rpl_re_exec if the replacement should be used. */
  104976. +#undef re_exec
  104977. +
  104978. +/* Define to rpl_re_match if the replacement should be used. */
  104979. +#undef re_match
  104980. +
  104981. +/* Define to rpl_re_match_2 if the replacement should be used. */
  104982. +#undef re_match_2
  104983. +
  104984. +/* Define to rpl_re_search if the replacement should be used. */
  104985. +#undef re_search
  104986. +
  104987. +/* Define to rpl_re_search_2 if the replacement should be used. */
  104988. +#undef re_search_2
  104989. +
  104990. +/* Define to rpl_re_set_registers if the replacement should be used. */
  104991. +#undef re_set_registers
  104992. +
  104993. +/* Define to rpl_re_set_syntax if the replacement should be used. */
  104994. +#undef re_set_syntax
  104995. +
  104996. +/* Define to rpl_re_syntax_options if the replacement should be used. */
  104997. +#undef re_syntax_options
  104998. +
  104999. +/* Define to rpl_regcomp if the replacement should be used. */
  105000. +#undef regcomp
  105001. +
  105002. +/* Define to rpl_regerror if the replacement should be used. */
  105003. +#undef regerror
  105004. +
  105005. +/* Define to rpl_regexec if the replacement should be used. */
  105006. +#undef regexec
  105007. +
  105008. +/* Define to rpl_regfree if the replacement should be used. */
  105009. +#undef regfree
  105010. +
  105011. +/* Define to the equivalent of the C99 'restrict' keyword, or to
  105012. + nothing if this is not supported. Do not define if restrict is
  105013. + supported directly. */
  105014. +#undef restrict
  105015. +/* Work around a bug in Sun C++: it does not support _Restrict or
  105016. + __restrict__, even though the corresponding Sun C compiler ends up with
  105017. + "#define restrict _Restrict" or "#define restrict __restrict__" in the
  105018. + previous line. Perhaps some future version of Sun C++ will work with
  105019. + restrict; if so, hopefully it defines __RESTRICT like Sun C does. */
  105020. +#if defined __SUNPRO_CC && !defined __RESTRICT
  105021. +# define _Restrict
  105022. +# define __restrict__
  105023. +#endif
  105024. +
  105025. +/* Define as an integer type suitable for memory locations that can be
  105026. + accessed atomically even in the presence of asynchnonous signals. */
  105027. +#undef sig_atomic_t
  105028. +
  105029. +/* Define to `unsigned int' if <sys/types.h> does not define. */
  105030. +#undef size_t
  105031. +
  105032. +/* Define as a signed type of the same size as size_t. */
  105033. +#undef ssize_t
  105034. +
  105035. +/* Define to `int' if <sys/types.h> doesn't define. */
  105036. +#undef uid_t
  105037. +
  105038. +/* Define as a marker that can be attached to declarations that might not
  105039. + be used. This helps to reduce warnings, such as from
  105040. + GCC -Wunused-parameter. */
  105041. +#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
  105042. +# define _GL_UNUSED __attribute__ ((__unused__))
  105043. +#else
  105044. +# define _GL_UNUSED
  105045. +#endif
  105046. +/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name
  105047. + is a misnomer outside of parameter lists. */
  105048. +#define _UNUSED_PARAMETER_ _GL_UNUSED
  105049. +
  105050. +
  105051. +/* Define as a macro for copying va_list variables. */
  105052. +#undef va_copy
  105053. diff -Nur m4-1.4.16.orig/lib/fseeko.c m4-1.4.16/lib/fseeko.c
  105054. --- m4-1.4.16.orig/lib/fseeko.c 2011-03-01 17:39:28.000000000 +0100
  105055. +++ m4-1.4.16/lib/fseeko.c 2013-09-04 14:22:13.000000000 +0200
  105056. @@ -86,6 +86,12 @@
  105057. && fp->__get_limit == fp->__bufp
  105058. && fp->__put_limit == fp->__bufp
  105059. && !fp->__pushed_back)
  105060. +#elif FUNC_FFLUSH_STDIN < 0 && 200809 <= _POSIX_VERSION
  105061. + /* Cross-compiling to some other system advertising conformance to
  105062. + POSIX.1-2008 or later. Assume fseeko and fflush work as advertised.
  105063. + If this assumption is incorrect, please report the bug to
  105064. + bug-gnulib. */
  105065. + if (0)
  105066. #else
  105067. #error "Please port gnulib fseeko.c to your platform! Look at the code in fpurge.c, then report this to bug-gnulib."
  105068. #endif
  105069. diff -Nur m4-1.4.16.orig/lib/Makefile.in m4-1.4.16/lib/Makefile.in
  105070. --- m4-1.4.16.orig/lib/Makefile.in 2011-03-01 17:57:32.000000000 +0100
  105071. +++ m4-1.4.16/lib/Makefile.in 2013-09-04 14:47:46.000000000 +0200
  105072. @@ -1,9 +1,8 @@
  105073. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  105074. +# Makefile.in generated by automake 1.13.2 from Makefile.am.
  105075. # @configure_input@
  105076. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  105077. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  105078. -# Inc.
  105079. +# Copyright (C) 1994-2013 Free Software Foundation, Inc.
  105080. +
  105081. # This Makefile.in is free software; the Free Software Foundation
  105082. # gives unlimited permission to copy and/or distribute it,
  105083. # with or without modifications, as long as this notice is preserved.
  105084. @@ -27,6 +26,51 @@
  105085. # Reproduce by: gnulib-tool --import --dir=. --local-dir=local --lib=libm4 --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --with-tests --with-c++-tests --avoid=lock-tests --avoid=tls-tests --makefile-name=gnulib.mk --no-libtool --macro-prefix=M4 announce-gen assert autobuild avltree-oset binary-io c-stack clean-temp cloexec close-stream closein config-h dirname error execute fclose fdl-1.3 fflush filenamecat fopen fopen-safer fseeko gendocs getopt-gnu git-version-gen gnu-web-doc-update gnumakefile gnupload gpl-3.0 ignore-value intprops maintainer-makefile manywarnings memchr2 mkstemp obstack progname regex rename sigaction spawn-pipe stdbool stdint stdlib-safer strsignal strstr strtod strtol unlocked-io update-copyright vc-list-files verror version-etc version-etc-fsf wait-process xalloc xoset xprintf xvasprintf-posix
  105086. VPATH = @srcdir@
  105087. +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
  105088. +am__make_running_with_option = \
  105089. + case $${target_option-} in \
  105090. + ?) ;; \
  105091. + *) echo "am__make_running_with_option: internal error: invalid" \
  105092. + "target option '$${target_option-}' specified" >&2; \
  105093. + exit 1;; \
  105094. + esac; \
  105095. + has_opt=no; \
  105096. + sane_makeflags=$$MAKEFLAGS; \
  105097. + if $(am__is_gnu_make); then \
  105098. + sane_makeflags=$$MFLAGS; \
  105099. + else \
  105100. + case $$MAKEFLAGS in \
  105101. + *\\[\ \ ]*) \
  105102. + bs=\\; \
  105103. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  105104. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  105105. + esac; \
  105106. + fi; \
  105107. + skip_next=no; \
  105108. + strip_trailopt () \
  105109. + { \
  105110. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  105111. + }; \
  105112. + for flg in $$sane_makeflags; do \
  105113. + test $$skip_next = yes && { skip_next=no; continue; }; \
  105114. + case $$flg in \
  105115. + *=*|--*) continue;; \
  105116. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  105117. + -*I?*) strip_trailopt 'I';; \
  105118. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  105119. + -*O?*) strip_trailopt 'O';; \
  105120. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  105121. + -*l?*) strip_trailopt 'l';; \
  105122. + -[dEDm]) skip_next=yes;; \
  105123. + -[JT]) skip_next=yes;; \
  105124. + esac; \
  105125. + case $$flg in \
  105126. + *$$target_option*) has_opt=yes; break;; \
  105127. + esac; \
  105128. + done; \
  105129. + test $$has_opt = yes
  105130. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  105131. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  105132. pkgdatadir = $(datadir)/@PACKAGE@
  105133. pkgincludedir = $(includedir)/@PACKAGE@
  105134. pkglibdir = $(libdir)/@PACKAGE@
  105135. @@ -44,8 +88,9 @@
  105136. POST_UNINSTALL = :
  105137. build_triplet = @build@
  105138. host_triplet = @host@
  105139. -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
  105140. - $(srcdir)/config.hin $(srcdir)/gnulib.mk
  105141. +DIST_COMMON = $(srcdir)/gnulib.mk $(srcdir)/Makefile.in \
  105142. + $(srcdir)/Makefile.am $(srcdir)/config.hin \
  105143. + $(top_srcdir)/build-aux/depcomp
  105144. subdir = lib
  105145. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  105146. am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
  105147. @@ -150,12 +195,10 @@
  105148. LIBRARIES = $(noinst_LIBRARIES)
  105149. AR = ar
  105150. ARFLAGS = cru
  105151. -AM_V_AR = $(am__v_AR_$(V))
  105152. -am__v_AR_ = $(am__v_AR_$(AM_DEFAULT_VERBOSITY))
  105153. -am__v_AR_0 = @echo " AR " $@;
  105154. -AM_V_at = $(am__v_at_$(V))
  105155. -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  105156. -am__v_at_0 = @
  105157. +AM_V_AR = $(am__v_AR_@AM_V@)
  105158. +am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
  105159. +am__v_AR_0 = @echo " AR " $@;
  105160. +am__v_AR_1 =
  105161. libm4_a_AR = $(AR) $(ARFLAGS)
  105162. am__DEPENDENCIES_1 =
  105163. am_libm4_a_OBJECTS = gl_avltree_oset.$(OBJEXT) c-ctype.$(OBJEXT) \
  105164. @@ -175,28 +218,63 @@
  105165. gl_xoset.$(OBJEXT) xprintf.$(OBJEXT) xstrndup.$(OBJEXT) \
  105166. xvasprintf.$(OBJEXT) xasprintf.$(OBJEXT)
  105167. libm4_a_OBJECTS = $(am_libm4_a_OBJECTS)
  105168. +AM_V_P = $(am__v_P_@AM_V@)
  105169. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  105170. +am__v_P_0 = false
  105171. +am__v_P_1 = :
  105172. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  105173. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  105174. +am__v_GEN_0 = @echo " GEN " $@;
  105175. +am__v_GEN_1 =
  105176. +AM_V_at = $(am__v_at_@AM_V@)
  105177. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  105178. +am__v_at_0 = @
  105179. +am__v_at_1 =
  105180. DEFAULT_INCLUDES = -I.@am__isrc@
  105181. depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
  105182. am__depfiles_maybe = depfiles
  105183. am__mv = mv -f
  105184. -AM_V_lt = $(am__v_lt_$(V))
  105185. -am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
  105186. +AM_V_lt = $(am__v_lt_@AM_V@)
  105187. +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
  105188. am__v_lt_0 = --silent
  105189. +am__v_lt_1 =
  105190. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  105191. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  105192. -AM_V_CC = $(am__v_CC_$(V))
  105193. -am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  105194. -am__v_CC_0 = @echo " CC " $@;
  105195. +AM_V_CC = $(am__v_CC_@AM_V@)
  105196. +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  105197. +am__v_CC_0 = @echo " CC " $@;
  105198. +am__v_CC_1 =
  105199. CCLD = $(CC)
  105200. LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  105201. -AM_V_CCLD = $(am__v_CCLD_$(V))
  105202. -am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  105203. -am__v_CCLD_0 = @echo " CCLD " $@;
  105204. -AM_V_GEN = $(am__v_GEN_$(V))
  105205. -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  105206. -am__v_GEN_0 = @echo " GEN " $@;
  105207. +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  105208. +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  105209. +am__v_CCLD_0 = @echo " CCLD " $@;
  105210. +am__v_CCLD_1 =
  105211. SOURCES = $(libm4_a_SOURCES) $(EXTRA_libm4_a_SOURCES)
  105212. DIST_SOURCES = $(libm4_a_SOURCES) $(EXTRA_libm4_a_SOURCES)
  105213. +am__can_run_installinfo = \
  105214. + case $$AM_UPDATE_INFO_DIR in \
  105215. + n|no|NO) false;; \
  105216. + *) (install-info --version) >/dev/null 2>&1;; \
  105217. + esac
  105218. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
  105219. + $(LISP)config.hin
  105220. +# Read a list of newline-separated strings from the standard input,
  105221. +# and print each of them once, without duplicates. Input order is
  105222. +# *not* preserved.
  105223. +am__uniquify_input = $(AWK) '\
  105224. + BEGIN { nonempty = 0; } \
  105225. + { items[$$0] = 1; nonempty = 1; } \
  105226. + END { if (nonempty) { for (i in items) print i; }; } \
  105227. +'
  105228. +# Make sure the list of sources is unique. This is necessary because,
  105229. +# e.g., the same source file might be shared among _SOURCES variables
  105230. +# for different programs/libraries.
  105231. +am__define_uniq_tagged_files = \
  105232. + list='$(am__tagged_files)'; \
  105233. + unique=`for i in $$list; do \
  105234. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  105235. + done | $(am__uniquify_input)`
  105236. ETAGS = etags
  105237. CTAGS = ctags
  105238. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  105239. @@ -1218,6 +1296,7 @@
  105240. echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  105241. cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  105242. esac;
  105243. +$(srcdir)/gnulib.mk:
  105244. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  105245. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  105246. @@ -1229,10 +1308,8 @@
  105247. $(am__aclocal_m4_deps):
  105248. config.h: stamp-h1
  105249. - @if test ! -f $@; then \
  105250. - rm -f stamp-h1; \
  105251. - $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
  105252. - else :; fi
  105253. + @if test ! -f $@; then rm -f stamp-h1; else :; fi
  105254. + @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
  105255. stamp-h1: $(srcdir)/config.hin $(top_builddir)/config.status
  105256. @rm -f stamp-h1
  105257. @@ -1247,7 +1324,8 @@
  105258. clean-noinstLIBRARIES:
  105259. -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
  105260. -libm4.a: $(libm4_a_OBJECTS) $(libm4_a_DEPENDENCIES)
  105261. +
  105262. +libm4.a: $(libm4_a_OBJECTS) $(libm4_a_DEPENDENCIES) $(EXTRA_libm4_a_DEPENDENCIES)
  105263. $(AM_V_at)-rm -f libm4.a
  105264. $(AM_V_AR)$(libm4_a_AR) libm4.a $(libm4_a_OBJECTS) $(libm4_a_LIBADD)
  105265. $(AM_V_at)$(RANLIB) libm4.a
  105266. @@ -1398,87 +1476,68 @@
  105267. .c.o:
  105268. @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  105269. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  105270. -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  105271. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  105272. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  105273. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  105274. -@am__fastdepCC_FALSE@ $(COMPILE) -c $<
  105275. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
  105276. .c.obj:
  105277. @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  105278. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  105279. -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  105280. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  105281. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  105282. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  105283. -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  105284. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
  105285. lock.o: glthread/lock.c
  105286. @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lock.o -MD -MP -MF $(DEPDIR)/lock.Tpo -c -o lock.o `test -f 'glthread/lock.c' || echo '$(srcdir)/'`glthread/lock.c
  105287. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lock.Tpo $(DEPDIR)/lock.Po
  105288. -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  105289. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='glthread/lock.c' object='lock.o' libtool=no @AMDEPBACKSLASH@
  105290. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='glthread/lock.c' object='lock.o' libtool=no @AMDEPBACKSLASH@
  105291. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  105292. -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lock.o `test -f 'glthread/lock.c' || echo '$(srcdir)/'`glthread/lock.c
  105293. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lock.o `test -f 'glthread/lock.c' || echo '$(srcdir)/'`glthread/lock.c
  105294. lock.obj: glthread/lock.c
  105295. @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lock.obj -MD -MP -MF $(DEPDIR)/lock.Tpo -c -o lock.obj `if test -f 'glthread/lock.c'; then $(CYGPATH_W) 'glthread/lock.c'; else $(CYGPATH_W) '$(srcdir)/glthread/lock.c'; fi`
  105296. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lock.Tpo $(DEPDIR)/lock.Po
  105297. -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  105298. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='glthread/lock.c' object='lock.obj' libtool=no @AMDEPBACKSLASH@
  105299. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='glthread/lock.c' object='lock.obj' libtool=no @AMDEPBACKSLASH@
  105300. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  105301. -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lock.obj `if test -f 'glthread/lock.c'; then $(CYGPATH_W) 'glthread/lock.c'; else $(CYGPATH_W) '$(srcdir)/glthread/lock.c'; fi`
  105302. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lock.obj `if test -f 'glthread/lock.c'; then $(CYGPATH_W) 'glthread/lock.c'; else $(CYGPATH_W) '$(srcdir)/glthread/lock.c'; fi`
  105303. threadlib.o: glthread/threadlib.c
  105304. @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT threadlib.o -MD -MP -MF $(DEPDIR)/threadlib.Tpo -c -o threadlib.o `test -f 'glthread/threadlib.c' || echo '$(srcdir)/'`glthread/threadlib.c
  105305. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/threadlib.Tpo $(DEPDIR)/threadlib.Po
  105306. -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  105307. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='glthread/threadlib.c' object='threadlib.o' libtool=no @AMDEPBACKSLASH@
  105308. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='glthread/threadlib.c' object='threadlib.o' libtool=no @AMDEPBACKSLASH@
  105309. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  105310. -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o threadlib.o `test -f 'glthread/threadlib.c' || echo '$(srcdir)/'`glthread/threadlib.c
  105311. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o threadlib.o `test -f 'glthread/threadlib.c' || echo '$(srcdir)/'`glthread/threadlib.c
  105312. threadlib.obj: glthread/threadlib.c
  105313. @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT threadlib.obj -MD -MP -MF $(DEPDIR)/threadlib.Tpo -c -o threadlib.obj `if test -f 'glthread/threadlib.c'; then $(CYGPATH_W) 'glthread/threadlib.c'; else $(CYGPATH_W) '$(srcdir)/glthread/threadlib.c'; fi`
  105314. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/threadlib.Tpo $(DEPDIR)/threadlib.Po
  105315. -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  105316. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='glthread/threadlib.c' object='threadlib.obj' libtool=no @AMDEPBACKSLASH@
  105317. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='glthread/threadlib.c' object='threadlib.obj' libtool=no @AMDEPBACKSLASH@
  105318. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  105319. -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o threadlib.obj `if test -f 'glthread/threadlib.c'; then $(CYGPATH_W) 'glthread/threadlib.c'; else $(CYGPATH_W) '$(srcdir)/glthread/threadlib.c'; fi`
  105320. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o threadlib.obj `if test -f 'glthread/threadlib.c'; then $(CYGPATH_W) 'glthread/threadlib.c'; else $(CYGPATH_W) '$(srcdir)/glthread/threadlib.c'; fi`
  105321. tls.o: glthread/tls.c
  105322. @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tls.o -MD -MP -MF $(DEPDIR)/tls.Tpo -c -o tls.o `test -f 'glthread/tls.c' || echo '$(srcdir)/'`glthread/tls.c
  105323. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/tls.Tpo $(DEPDIR)/tls.Po
  105324. -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  105325. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='glthread/tls.c' object='tls.o' libtool=no @AMDEPBACKSLASH@
  105326. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='glthread/tls.c' object='tls.o' libtool=no @AMDEPBACKSLASH@
  105327. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  105328. -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tls.o `test -f 'glthread/tls.c' || echo '$(srcdir)/'`glthread/tls.c
  105329. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tls.o `test -f 'glthread/tls.c' || echo '$(srcdir)/'`glthread/tls.c
  105330. tls.obj: glthread/tls.c
  105331. @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tls.obj -MD -MP -MF $(DEPDIR)/tls.Tpo -c -o tls.obj `if test -f 'glthread/tls.c'; then $(CYGPATH_W) 'glthread/tls.c'; else $(CYGPATH_W) '$(srcdir)/glthread/tls.c'; fi`
  105332. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/tls.Tpo $(DEPDIR)/tls.Po
  105333. -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  105334. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='glthread/tls.c' object='tls.obj' libtool=no @AMDEPBACKSLASH@
  105335. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='glthread/tls.c' object='tls.obj' libtool=no @AMDEPBACKSLASH@
  105336. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  105337. -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tls.obj `if test -f 'glthread/tls.c'; then $(CYGPATH_W) 'glthread/tls.c'; else $(CYGPATH_W) '$(srcdir)/glthread/tls.c'; fi`
  105338. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tls.obj `if test -f 'glthread/tls.c'; then $(CYGPATH_W) 'glthread/tls.c'; else $(CYGPATH_W) '$(srcdir)/glthread/tls.c'; fi`
  105339. -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  105340. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  105341. - unique=`for i in $$list; do \
  105342. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  105343. - done | \
  105344. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  105345. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  105346. - mkid -fID $$unique
  105347. -tags: TAGS
  105348. +ID: $(am__tagged_files)
  105349. + $(am__define_uniq_tagged_files); mkid -fID $$unique
  105350. +tags: tags-am
  105351. +TAGS: tags
  105352. -TAGS: $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) \
  105353. - $(TAGS_FILES) $(LISP)
  105354. +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  105355. set x; \
  105356. here=`pwd`; \
  105357. - list='$(SOURCES) $(HEADERS) config.hin $(LISP) $(TAGS_FILES)'; \
  105358. - unique=`for i in $$list; do \
  105359. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  105360. - done | \
  105361. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  105362. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  105363. + $(am__define_uniq_tagged_files); \
  105364. shift; \
  105365. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  105366. test -n "$$unique" || unique=$$empty_fix; \
  105367. @@ -1490,15 +1549,11 @@
  105368. $$unique; \
  105369. fi; \
  105370. fi
  105371. -ctags: CTAGS
  105372. -CTAGS: $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) \
  105373. - $(TAGS_FILES) $(LISP)
  105374. - list='$(SOURCES) $(HEADERS) config.hin $(LISP) $(TAGS_FILES)'; \
  105375. - unique=`for i in $$list; do \
  105376. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  105377. - done | \
  105378. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  105379. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  105380. +ctags: ctags-am
  105381. +
  105382. +CTAGS: ctags
  105383. +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  105384. + $(am__define_uniq_tagged_files); \
  105385. test -z "$(CTAGS_ARGS)$$unique" \
  105386. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  105387. $$unique
  105388. @@ -1507,6 +1562,21 @@
  105389. here=`$(am__cd) $(top_builddir) && pwd` \
  105390. && $(am__cd) $(top_srcdir) \
  105391. && gtags -i $(GTAGS_ARGS) "$$here"
  105392. +cscopelist: cscopelist-am
  105393. +
  105394. +cscopelist-am: $(am__tagged_files)
  105395. + list='$(am__tagged_files)'; \
  105396. + case "$(srcdir)" in \
  105397. + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  105398. + *) sdir=$(subdir)/$(srcdir) ;; \
  105399. + esac; \
  105400. + for i in $$list; do \
  105401. + if test -f "$$i"; then \
  105402. + echo "$(subdir)/$$i"; \
  105403. + else \
  105404. + echo "$$sdir/$$i"; \
  105405. + fi; \
  105406. + done >> $(top_builddir)/cscope.files
  105407. distclean-tags:
  105408. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  105409. @@ -1557,10 +1627,15 @@
  105410. installcheck: installcheck-am
  105411. install-strip:
  105412. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  105413. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  105414. - `test -z '$(STRIP)' || \
  105415. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  105416. + if test -z '$(STRIP)'; then \
  105417. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  105418. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  105419. + install; \
  105420. + else \
  105421. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  105422. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  105423. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  105424. + fi
  105425. mostlyclean-generic:
  105426. -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
  105427. @@ -1647,19 +1722,20 @@
  105428. .MAKE: all check install install-am install-strip
  105429. -.PHONY: CTAGS GTAGS all all-am all-local check check-am clean \
  105430. - clean-generic clean-noinstLIBRARIES ctags distclean \
  105431. - distclean-compile distclean-generic distclean-hdr \
  105432. - distclean-local distclean-tags distdir dvi dvi-am html html-am \
  105433. - info info-am install install-am install-data install-data-am \
  105434. - install-dvi install-dvi-am install-exec install-exec-am \
  105435. - install-exec-local install-html install-html-am install-info \
  105436. - install-info-am install-man install-pdf install-pdf-am \
  105437. - install-ps install-ps-am install-strip installcheck \
  105438. - installcheck-am installdirs maintainer-clean \
  105439. - maintainer-clean-generic mostlyclean mostlyclean-compile \
  105440. - mostlyclean-generic mostlyclean-local pdf pdf-am ps ps-am tags \
  105441. - uninstall uninstall-am uninstall-local
  105442. +.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am clean \
  105443. + clean-generic clean-noinstLIBRARIES cscopelist-am ctags \
  105444. + ctags-am distclean distclean-compile distclean-generic \
  105445. + distclean-hdr distclean-local distclean-tags distdir dvi \
  105446. + dvi-am html html-am info info-am install install-am \
  105447. + install-data install-data-am install-dvi install-dvi-am \
  105448. + install-exec install-exec-am install-exec-local install-html \
  105449. + install-html-am install-info install-info-am install-man \
  105450. + install-pdf install-pdf-am install-ps install-ps-am \
  105451. + install-strip installcheck installcheck-am installdirs \
  105452. + maintainer-clean maintainer-clean-generic mostlyclean \
  105453. + mostlyclean-compile mostlyclean-generic mostlyclean-local pdf \
  105454. + pdf-am ps ps-am tags tags-am uninstall uninstall-am \
  105455. + uninstall-local
  105456. # We need the following in order to create <alloca.h> when the system
  105457. diff -Nur m4-1.4.16.orig/m4/.cvsignore m4-1.4.16/m4/.cvsignore
  105458. --- m4-1.4.16.orig/m4/.cvsignore 1970-01-01 01:00:00.000000000 +0100
  105459. +++ m4-1.4.16/m4/.cvsignore 2013-09-04 14:46:46.000000000 +0200
  105460. @@ -0,0 +1,6 @@
  105461. +# files created by gnulib, but that gnulib doesn't track
  105462. +*~
  105463. +.cvsignore
  105464. +.gitignore
  105465. +gnulib-comp.m4
  105466. +# gnulib-tool edits below here
  105467. diff -Nur m4-1.4.16.orig/m4/fflush.m4 m4-1.4.16/m4/fflush.m4
  105468. --- m4-1.4.16.orig/m4/fflush.m4 2011-03-01 17:39:30.000000000 +0100
  105469. +++ m4-1.4.16/m4/fflush.m4 2013-09-04 14:29:46.000000000 +0200
  105470. @@ -55,11 +55,18 @@
  105471. return 7;
  105472. return 0;
  105473. ]])], [gl_cv_func_fflush_stdin=yes], [gl_cv_func_fflush_stdin=no],
  105474. - [dnl Pessimistically assume fflush is broken.
  105475. - gl_cv_func_fflush_stdin=no])
  105476. + [gl_cv_func_fflush_stdin=cross])
  105477. rm conftest.txt
  105478. ])
  105479. - if test $gl_cv_func_fflush_stdin = no; then
  105480. + case $gl_cv_func_fflush_stdin in
  105481. + yes) gl_func_fflush_stdin=1 ;;
  105482. + no) gl_func_fflush_stdin=0 ;;
  105483. + *) gl_func_fflush_stdin='(-1)' ;;
  105484. + esac
  105485. + AC_DEFINE_UNQUOTED([FUNC_FFLUSH_STDIN], [$gl_func_fflush_stdin],
  105486. + [Define to 1 if fflush is known to work on stdin as per POSIX.1-2008,
  105487. + 0 if fflush is known to not work, -1 if unknown.])
  105488. + if test $gl_cv_func_fflush_stdin != yes; then
  105489. gl_REPLACE_FFLUSH
  105490. fi
  105491. ])
  105492. diff -Nur m4-1.4.16.orig/m4/.gitignore m4-1.4.16/m4/.gitignore
  105493. --- m4-1.4.16.orig/m4/.gitignore 1970-01-01 01:00:00.000000000 +0100
  105494. +++ m4-1.4.16/m4/.gitignore 2013-09-04 14:46:46.000000000 +0200
  105495. @@ -0,0 +1,6 @@
  105496. +# files created by gnulib, but that gnulib doesn't track
  105497. +*~
  105498. +.cvsignore
  105499. +.gitignore
  105500. +gnulib-comp.m4
  105501. +# gnulib-tool edits below here
  105502. diff -Nur m4-1.4.16.orig/Makefile.in m4-1.4.16/Makefile.in
  105503. --- m4-1.4.16.orig/Makefile.in 2011-03-01 17:57:33.000000000 +0100
  105504. +++ m4-1.4.16/Makefile.in 2013-09-04 14:47:46.000000000 +0200
  105505. @@ -1,9 +1,8 @@
  105506. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  105507. +# Makefile.in generated by automake 1.13.2 from Makefile.am.
  105508. # @configure_input@
  105509. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  105510. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  105511. -# Inc.
  105512. +# Copyright (C) 1994-2013 Free Software Foundation, Inc.
  105513. +
  105514. # This Makefile.in is free software; the Free Software Foundation
  105515. # gives unlimited permission to copy and/or distribute it,
  105516. # with or without modifications, as long as this notice is preserved.
  105517. @@ -15,6 +14,51 @@
  105518. @SET_MAKE@
  105519. VPATH = @srcdir@
  105520. +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
  105521. +am__make_running_with_option = \
  105522. + case $${target_option-} in \
  105523. + ?) ;; \
  105524. + *) echo "am__make_running_with_option: internal error: invalid" \
  105525. + "target option '$${target_option-}' specified" >&2; \
  105526. + exit 1;; \
  105527. + esac; \
  105528. + has_opt=no; \
  105529. + sane_makeflags=$$MAKEFLAGS; \
  105530. + if $(am__is_gnu_make); then \
  105531. + sane_makeflags=$$MFLAGS; \
  105532. + else \
  105533. + case $$MAKEFLAGS in \
  105534. + *\\[\ \ ]*) \
  105535. + bs=\\; \
  105536. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  105537. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  105538. + esac; \
  105539. + fi; \
  105540. + skip_next=no; \
  105541. + strip_trailopt () \
  105542. + { \
  105543. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  105544. + }; \
  105545. + for flg in $$sane_makeflags; do \
  105546. + test $$skip_next = yes && { skip_next=no; continue; }; \
  105547. + case $$flg in \
  105548. + *=*|--*) continue;; \
  105549. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  105550. + -*I?*) strip_trailopt 'I';; \
  105551. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  105552. + -*O?*) strip_trailopt 'O';; \
  105553. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  105554. + -*l?*) strip_trailopt 'l';; \
  105555. + -[dEDm]) skip_next=yes;; \
  105556. + -[JT]) skip_next=yes;; \
  105557. + esac; \
  105558. + case $$flg in \
  105559. + *$$target_option*) has_opt=yes; break;; \
  105560. + esac; \
  105561. + done; \
  105562. + test $$has_opt = yes
  105563. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  105564. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  105565. pkgdatadir = $(datadir)/@PACKAGE@
  105566. pkgincludedir = $(includedir)/@PACKAGE@
  105567. pkglibdir = $(libdir)/@PACKAGE@
  105568. @@ -33,13 +77,19 @@
  105569. build_triplet = @build@
  105570. host_triplet = @host@
  105571. subdir = .
  105572. -DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
  105573. - $(srcdir)/Makefile.in $(top_srcdir)/checks/Makefile.in \
  105574. - $(top_srcdir)/configure AUTHORS BACKLOG COPYING ChangeLog \
  105575. - INSTALL NEWS THANKS TODO build-aux/compile \
  105576. - build-aux/config.guess build-aux/config.rpath \
  105577. - build-aux/config.sub build-aux/depcomp build-aux/install-sh \
  105578. - build-aux/mdate-sh build-aux/missing build-aux/texinfo.tex
  105579. +DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
  105580. + $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
  105581. + $(top_srcdir)/configure $(am__configure_deps) \
  105582. + $(top_srcdir)/checks/Makefile.in BACKLOG COPYING THANKS TODO \
  105583. + build-aux/compile build-aux/config.guess \
  105584. + build-aux/config.rpath build-aux/config.sub build-aux/depcomp \
  105585. + build-aux/install-sh build-aux/mdate-sh build-aux/missing \
  105586. + build-aux/texinfo.tex $(top_srcdir)/build-aux/compile \
  105587. + $(top_srcdir)/build-aux/config.guess \
  105588. + $(top_srcdir)/build-aux/config.rpath \
  105589. + $(top_srcdir)/build-aux/config.sub \
  105590. + $(top_srcdir)/build-aux/install-sh \
  105591. + $(top_srcdir)/build-aux/missing
  105592. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  105593. am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
  105594. $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/ansi-c++.m4 \
  105595. @@ -142,36 +192,72 @@
  105596. CONFIG_HEADER = $(top_builddir)/lib/config.h
  105597. CONFIG_CLEAN_FILES = checks/Makefile
  105598. CONFIG_CLEAN_VPATH_FILES =
  105599. -AM_V_GEN = $(am__v_GEN_$(V))
  105600. -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  105601. -am__v_GEN_0 = @echo " GEN " $@;
  105602. -AM_V_at = $(am__v_at_$(V))
  105603. -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  105604. +AM_V_P = $(am__v_P_@AM_V@)
  105605. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  105606. +am__v_P_0 = false
  105607. +am__v_P_1 = :
  105608. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  105609. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  105610. +am__v_GEN_0 = @echo " GEN " $@;
  105611. +am__v_GEN_1 =
  105612. +AM_V_at = $(am__v_at_@AM_V@)
  105613. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  105614. am__v_at_0 = @
  105615. +am__v_at_1 =
  105616. SOURCES =
  105617. DIST_SOURCES =
  105618. -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  105619. - html-recursive info-recursive install-data-recursive \
  105620. - install-dvi-recursive install-exec-recursive \
  105621. - install-html-recursive install-info-recursive \
  105622. - install-pdf-recursive install-ps-recursive install-recursive \
  105623. - installcheck-recursive installdirs-recursive pdf-recursive \
  105624. - ps-recursive uninstall-recursive
  105625. +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
  105626. + ctags-recursive dvi-recursive html-recursive info-recursive \
  105627. + install-data-recursive install-dvi-recursive \
  105628. + install-exec-recursive install-html-recursive \
  105629. + install-info-recursive install-pdf-recursive \
  105630. + install-ps-recursive install-recursive installcheck-recursive \
  105631. + installdirs-recursive pdf-recursive ps-recursive \
  105632. + tags-recursive uninstall-recursive
  105633. +am__can_run_installinfo = \
  105634. + case $$AM_UPDATE_INFO_DIR in \
  105635. + n|no|NO) false;; \
  105636. + *) (install-info --version) >/dev/null 2>&1;; \
  105637. + esac
  105638. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  105639. distclean-recursive maintainer-clean-recursive
  105640. -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  105641. - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  105642. - distdir dist dist-all distcheck
  105643. +am__recursive_targets = \
  105644. + $(RECURSIVE_TARGETS) \
  105645. + $(RECURSIVE_CLEAN_TARGETS) \
  105646. + $(am__extra_recursive_targets)
  105647. +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
  105648. + cscope distdir dist dist-all distcheck
  105649. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  105650. +# Read a list of newline-separated strings from the standard input,
  105651. +# and print each of them once, without duplicates. Input order is
  105652. +# *not* preserved.
  105653. +am__uniquify_input = $(AWK) '\
  105654. + BEGIN { nonempty = 0; } \
  105655. + { items[$$0] = 1; nonempty = 1; } \
  105656. + END { if (nonempty) { for (i in items) print i; }; } \
  105657. +'
  105658. +# Make sure the list of sources is unique. This is necessary because,
  105659. +# e.g., the same source file might be shared among _SOURCES variables
  105660. +# for different programs/libraries.
  105661. +am__define_uniq_tagged_files = \
  105662. + list='$(am__tagged_files)'; \
  105663. + unique=`for i in $$list; do \
  105664. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  105665. + done | $(am__uniquify_input)`
  105666. ETAGS = etags
  105667. CTAGS = ctags
  105668. +CSCOPE = cscope
  105669. DIST_SUBDIRS = $(SUBDIRS)
  105670. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  105671. distdir = $(PACKAGE)-$(VERSION)
  105672. top_distdir = $(distdir)
  105673. am__remove_distdir = \
  105674. - { test ! -d "$(distdir)" \
  105675. - || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  105676. - && rm -fr "$(distdir)"; }; }
  105677. + if test -d "$(distdir)"; then \
  105678. + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  105679. + && rm -rf "$(distdir)" \
  105680. + || { sleep 5 && rm -rf "$(distdir)"; }; \
  105681. + else :; fi
  105682. +am__post_remove_distdir = $(am__remove_distdir)
  105683. am__relativize = \
  105684. dir0=`pwd`; \
  105685. sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  105686. @@ -199,7 +285,10 @@
  105687. reldir="$$dir2"
  105688. DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 $(distdir).tar.xz
  105689. GZIP_ENV = --best
  105690. +DIST_TARGETS = dist-xz dist-bzip2 dist-gzip
  105691. distuninstallcheck_listfiles = find . -type f -print
  105692. +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
  105693. + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
  105694. distcleancheck_listfiles = find . -type f -print
  105695. pkglibexecdir = @pkglibexecdir@
  105696. ACLOCAL = @ACLOCAL@
  105697. @@ -1084,7 +1173,7 @@
  105698. $(MAKE) $(AM_MAKEFLAGS) all-recursive
  105699. .SUFFIXES:
  105700. -am--refresh:
  105701. +am--refresh: Makefile
  105702. @:
  105703. $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
  105704. @for dep in $?; do \
  105705. @@ -1122,22 +1211,25 @@
  105706. cd $(top_builddir) && $(SHELL) ./config.status $@
  105707. # This directory's subdirectories are mostly independent; you can cd
  105708. -# into them and run `make' without going through this Makefile.
  105709. -# To change the values of `make' variables: instead of editing Makefiles,
  105710. -# (1) if the variable is set in `config.status', edit `config.status'
  105711. -# (which will cause the Makefiles to be regenerated when you run `make');
  105712. -# (2) otherwise, pass the desired values on the `make' command line.
  105713. -$(RECURSIVE_TARGETS):
  105714. - @fail= failcom='exit 1'; \
  105715. - for f in x $$MAKEFLAGS; do \
  105716. - case $$f in \
  105717. - *=* | --[!k]*);; \
  105718. - *k*) failcom='fail=yes';; \
  105719. - esac; \
  105720. - done; \
  105721. +# into them and run 'make' without going through this Makefile.
  105722. +# To change the values of 'make' variables: instead of editing Makefiles,
  105723. +# (1) if the variable is set in 'config.status', edit 'config.status'
  105724. +# (which will cause the Makefiles to be regenerated when you run 'make');
  105725. +# (2) otherwise, pass the desired values on the 'make' command line.
  105726. +$(am__recursive_targets):
  105727. + @fail=; \
  105728. + if $(am__make_keepgoing); then \
  105729. + failcom='fail=yes'; \
  105730. + else \
  105731. + failcom='exit 1'; \
  105732. + fi; \
  105733. dot_seen=no; \
  105734. target=`echo $@ | sed s/-recursive//`; \
  105735. - list='$(SUBDIRS)'; for subdir in $$list; do \
  105736. + case "$@" in \
  105737. + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  105738. + *) list='$(SUBDIRS)' ;; \
  105739. + esac; \
  105740. + for subdir in $$list; do \
  105741. echo "Making $$target in $$subdir"; \
  105742. if test "$$subdir" = "."; then \
  105743. dot_seen=yes; \
  105744. @@ -1152,57 +1244,12 @@
  105745. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  105746. fi; test -z "$$fail"
  105747. -$(RECURSIVE_CLEAN_TARGETS):
  105748. - @fail= failcom='exit 1'; \
  105749. - for f in x $$MAKEFLAGS; do \
  105750. - case $$f in \
  105751. - *=* | --[!k]*);; \
  105752. - *k*) failcom='fail=yes';; \
  105753. - esac; \
  105754. - done; \
  105755. - dot_seen=no; \
  105756. - case "$@" in \
  105757. - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  105758. - *) list='$(SUBDIRS)' ;; \
  105759. - esac; \
  105760. - rev=''; for subdir in $$list; do \
  105761. - if test "$$subdir" = "."; then :; else \
  105762. - rev="$$subdir $$rev"; \
  105763. - fi; \
  105764. - done; \
  105765. - rev="$$rev ."; \
  105766. - target=`echo $@ | sed s/-recursive//`; \
  105767. - for subdir in $$rev; do \
  105768. - echo "Making $$target in $$subdir"; \
  105769. - if test "$$subdir" = "."; then \
  105770. - local_target="$$target-am"; \
  105771. - else \
  105772. - local_target="$$target"; \
  105773. - fi; \
  105774. - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  105775. - || eval $$failcom; \
  105776. - done && test -z "$$fail"
  105777. -tags-recursive:
  105778. - list='$(SUBDIRS)'; for subdir in $$list; do \
  105779. - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  105780. - done
  105781. -ctags-recursive:
  105782. - list='$(SUBDIRS)'; for subdir in $$list; do \
  105783. - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  105784. - done
  105785. +ID: $(am__tagged_files)
  105786. + $(am__define_uniq_tagged_files); mkid -fID $$unique
  105787. +tags: tags-recursive
  105788. +TAGS: tags
  105789. -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  105790. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  105791. - unique=`for i in $$list; do \
  105792. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  105793. - done | \
  105794. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  105795. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  105796. - mkid -fID $$unique
  105797. -tags: TAGS
  105798. -
  105799. -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  105800. - $(TAGS_FILES) $(LISP)
  105801. +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  105802. set x; \
  105803. here=`pwd`; \
  105804. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  105805. @@ -1218,12 +1265,7 @@
  105806. set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  105807. fi; \
  105808. done; \
  105809. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  105810. - unique=`for i in $$list; do \
  105811. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  105812. - done | \
  105813. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  105814. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  105815. + $(am__define_uniq_tagged_files); \
  105816. shift; \
  105817. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  105818. test -n "$$unique" || unique=$$empty_fix; \
  105819. @@ -1235,15 +1277,11 @@
  105820. $$unique; \
  105821. fi; \
  105822. fi
  105823. -ctags: CTAGS
  105824. -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  105825. - $(TAGS_FILES) $(LISP)
  105826. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  105827. - unique=`for i in $$list; do \
  105828. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  105829. - done | \
  105830. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  105831. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  105832. +ctags: ctags-recursive
  105833. +
  105834. +CTAGS: ctags
  105835. +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  105836. + $(am__define_uniq_tagged_files); \
  105837. test -z "$(CTAGS_ARGS)$$unique" \
  105838. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  105839. $$unique
  105840. @@ -1252,9 +1290,31 @@
  105841. here=`$(am__cd) $(top_builddir) && pwd` \
  105842. && $(am__cd) $(top_srcdir) \
  105843. && gtags -i $(GTAGS_ARGS) "$$here"
  105844. +cscope: cscope.files
  105845. + test ! -s cscope.files \
  105846. + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
  105847. +clean-cscope:
  105848. + -rm -f cscope.files
  105849. +cscope.files: clean-cscope cscopelist
  105850. +cscopelist: cscopelist-recursive
  105851. +
  105852. +cscopelist-am: $(am__tagged_files)
  105853. + list='$(am__tagged_files)'; \
  105854. + case "$(srcdir)" in \
  105855. + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  105856. + *) sdir=$(subdir)/$(srcdir) ;; \
  105857. + esac; \
  105858. + for i in $$list; do \
  105859. + if test -f "$$i"; then \
  105860. + echo "$(subdir)/$$i"; \
  105861. + else \
  105862. + echo "$$sdir/$$i"; \
  105863. + fi; \
  105864. + done >> $(top_builddir)/cscope.files
  105865. distclean-tags:
  105866. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  105867. + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
  105868. distdir: $(DISTFILES)
  105869. $(am__remove_distdir)
  105870. @@ -1290,13 +1350,10 @@
  105871. done
  105872. @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  105873. if test "$$subdir" = .; then :; else \
  105874. - test -d "$(distdir)/$$subdir" \
  105875. - || $(MKDIR_P) "$(distdir)/$$subdir" \
  105876. - || exit 1; \
  105877. - fi; \
  105878. - done
  105879. - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  105880. - if test "$$subdir" = .; then :; else \
  105881. + $(am__make_dryrun) \
  105882. + || test -d "$(distdir)/$$subdir" \
  105883. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  105884. + || exit 1; \
  105885. dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  105886. $(am__relativize); \
  105887. new_distdir=$$reldir; \
  105888. @@ -1328,36 +1385,34 @@
  105889. || chmod -R a+r "$(distdir)"
  105890. dist-gzip: distdir
  105891. tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  105892. - $(am__remove_distdir)
  105893. + $(am__post_remove_distdir)
  105894. dist-bzip2: distdir
  105895. - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
  105896. - $(am__remove_distdir)
  105897. + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
  105898. + $(am__post_remove_distdir)
  105899. -dist-lzma: distdir
  105900. - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  105901. - $(am__remove_distdir)
  105902. +dist-lzip: distdir
  105903. + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
  105904. + $(am__post_remove_distdir)
  105905. dist-xz: distdir
  105906. - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
  105907. - $(am__remove_distdir)
  105908. + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
  105909. + $(am__post_remove_distdir)
  105910. dist-tarZ: distdir
  105911. tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  105912. - $(am__remove_distdir)
  105913. + $(am__post_remove_distdir)
  105914. dist-shar: distdir
  105915. shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
  105916. - $(am__remove_distdir)
  105917. + $(am__post_remove_distdir)
  105918. dist-zip: distdir
  105919. -rm -f $(distdir).zip
  105920. zip -rq $(distdir).zip $(distdir)
  105921. - $(am__remove_distdir)
  105922. + $(am__post_remove_distdir)
  105923. -dist dist-all: distdir
  105924. - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  105925. - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
  105926. - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
  105927. - $(am__remove_distdir)
  105928. +dist dist-all:
  105929. + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
  105930. + $(am__post_remove_distdir)
  105931. # This target untars the dist file and tries a VPATH configuration. Then
  105932. # it guarantees that the distribution is self-contained by making another
  105933. @@ -1368,8 +1423,8 @@
  105934. GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  105935. *.tar.bz2*) \
  105936. bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  105937. - *.tar.lzma*) \
  105938. - lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  105939. + *.tar.lz*) \
  105940. + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
  105941. *.tar.xz*) \
  105942. xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  105943. *.tar.Z*) \
  105944. @@ -1379,9 +1434,9 @@
  105945. *.zip*) \
  105946. unzip $(distdir).zip ;;\
  105947. esac
  105948. - chmod -R a-w $(distdir); chmod a+w $(distdir)
  105949. - mkdir $(distdir)/_build
  105950. - mkdir $(distdir)/_inst
  105951. + chmod -R a-w $(distdir)
  105952. + chmod u+w $(distdir)
  105953. + mkdir $(distdir)/_build $(distdir)/_inst
  105954. chmod a-w $(distdir)
  105955. test -d $(distdir)/_build || exit 0; \
  105956. dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  105957. @@ -1389,6 +1444,7 @@
  105958. && am__cwd=`pwd` \
  105959. && $(am__cd) $(distdir)/_build \
  105960. && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  105961. + $(AM_DISTCHECK_CONFIGURE_FLAGS) \
  105962. $(DISTCHECK_CONFIGURE_FLAGS) \
  105963. && $(MAKE) $(AM_MAKEFLAGS) \
  105964. && $(MAKE) $(AM_MAKEFLAGS) dvi \
  105965. @@ -1412,13 +1468,21 @@
  105966. && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  105967. && cd "$$am__cwd" \
  105968. || exit 1
  105969. - $(am__remove_distdir)
  105970. + $(am__post_remove_distdir)
  105971. @(echo "$(distdir) archives ready for distribution: "; \
  105972. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  105973. sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  105974. distuninstallcheck:
  105975. - @$(am__cd) '$(distuninstallcheck_dir)' \
  105976. - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
  105977. + @test -n '$(distuninstallcheck_dir)' || { \
  105978. + echo 'ERROR: trying to run $@ with an empty' \
  105979. + '$$(distuninstallcheck_dir)' >&2; \
  105980. + exit 1; \
  105981. + }; \
  105982. + $(am__cd) '$(distuninstallcheck_dir)' || { \
  105983. + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
  105984. + exit 1; \
  105985. + }; \
  105986. + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
  105987. || { echo "ERROR: files left after uninstall:" ; \
  105988. if test -n "$(DESTDIR)"; then \
  105989. echo " (check DESTDIR support)"; \
  105990. @@ -1451,10 +1515,15 @@
  105991. installcheck: installcheck-recursive
  105992. install-strip:
  105993. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  105994. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  105995. - `test -z '$(STRIP)' || \
  105996. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  105997. + if test -z '$(STRIP)'; then \
  105998. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  105999. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  106000. + install; \
  106001. + else \
  106002. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  106003. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  106004. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  106005. + fi
  106006. mostlyclean-generic:
  106007. clean-generic:
  106008. @@ -1538,15 +1607,14 @@
  106009. uninstall-am:
  106010. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
  106011. - ctags-recursive install install-am install-strip \
  106012. - tags-recursive
  106013. -
  106014. -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  106015. - all all-am am--refresh check check-am clean clean-generic \
  106016. - ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
  106017. - dist-hook dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
  106018. - distcheck distclean distclean-generic distclean-tags \
  106019. +.MAKE: $(am__recursive_targets) all check install install-am \
  106020. + install-strip
  106021. +
  106022. +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
  106023. + am--refresh check check-am clean clean-cscope clean-generic \
  106024. + cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
  106025. + dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
  106026. + dist-zip distcheck distclean distclean-generic distclean-tags \
  106027. distcleancheck distdir distuninstallcheck dvi dvi-am html \
  106028. html-am info info-am install install-am install-data \
  106029. install-data-am install-dvi install-dvi-am install-exec \
  106030. @@ -1555,7 +1623,7 @@
  106031. install-ps install-ps-am install-strip installcheck \
  106032. installcheck-am installdirs installdirs-am maintainer-clean \
  106033. maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
  106034. - pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
  106035. + pdf-am ps ps-am tags tags-am uninstall uninstall-am
  106036. $(top_srcdir)/.version:
  106037. echo $(VERSION) > $@-t && mv $@-t $@
  106038. diff -Nur m4-1.4.16.orig/src/Makefile.in m4-1.4.16/src/Makefile.in
  106039. --- m4-1.4.16.orig/src/Makefile.in 2011-03-01 17:57:32.000000000 +0100
  106040. +++ m4-1.4.16/src/Makefile.in 2013-09-04 14:47:47.000000000 +0200
  106041. @@ -1,9 +1,8 @@
  106042. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  106043. +# Makefile.in generated by automake 1.13.2 from Makefile.am.
  106044. # @configure_input@
  106045. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  106046. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  106047. -# Inc.
  106048. +# Copyright (C) 1994-2013 Free Software Foundation, Inc.
  106049. +
  106050. # This Makefile.in is free software; the Free Software Foundation
  106051. # gives unlimited permission to copy and/or distribute it,
  106052. # with or without modifications, as long as this notice is preserved.
  106053. @@ -16,6 +15,51 @@
  106054. @SET_MAKE@
  106055. VPATH = @srcdir@
  106056. +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
  106057. +am__make_running_with_option = \
  106058. + case $${target_option-} in \
  106059. + ?) ;; \
  106060. + *) echo "am__make_running_with_option: internal error: invalid" \
  106061. + "target option '$${target_option-}' specified" >&2; \
  106062. + exit 1;; \
  106063. + esac; \
  106064. + has_opt=no; \
  106065. + sane_makeflags=$$MAKEFLAGS; \
  106066. + if $(am__is_gnu_make); then \
  106067. + sane_makeflags=$$MFLAGS; \
  106068. + else \
  106069. + case $$MAKEFLAGS in \
  106070. + *\\[\ \ ]*) \
  106071. + bs=\\; \
  106072. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  106073. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  106074. + esac; \
  106075. + fi; \
  106076. + skip_next=no; \
  106077. + strip_trailopt () \
  106078. + { \
  106079. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  106080. + }; \
  106081. + for flg in $$sane_makeflags; do \
  106082. + test $$skip_next = yes && { skip_next=no; continue; }; \
  106083. + case $$flg in \
  106084. + *=*|--*) continue;; \
  106085. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  106086. + -*I?*) strip_trailopt 'I';; \
  106087. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  106088. + -*O?*) strip_trailopt 'O';; \
  106089. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  106090. + -*l?*) strip_trailopt 'l';; \
  106091. + -[dEDm]) skip_next=yes;; \
  106092. + -[JT]) skip_next=yes;; \
  106093. + esac; \
  106094. + case $$flg in \
  106095. + *$$target_option*) has_opt=yes; break;; \
  106096. + esac; \
  106097. + done; \
  106098. + test $$has_opt = yes
  106099. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  106100. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  106101. pkgdatadir = $(datadir)/@PACKAGE@
  106102. pkgincludedir = $(includedir)/@PACKAGE@
  106103. pkglibdir = $(libdir)/@PACKAGE@
  106104. @@ -35,7 +79,8 @@
  106105. host_triplet = @host@
  106106. bin_PROGRAMS = m4$(EXEEXT)
  106107. subdir = src
  106108. -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  106109. +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
  106110. + $(top_srcdir)/build-aux/depcomp
  106111. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  106112. am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
  106113. $(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/ansi-c++.m4 \
  106114. @@ -146,28 +191,58 @@
  106115. am__DEPENDENCIES_1 =
  106116. m4_DEPENDENCIES = ../lib/libm4.a $(am__DEPENDENCIES_1) \
  106117. $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
  106118. +AM_V_P = $(am__v_P_@AM_V@)
  106119. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  106120. +am__v_P_0 = false
  106121. +am__v_P_1 = :
  106122. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  106123. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  106124. +am__v_GEN_0 = @echo " GEN " $@;
  106125. +am__v_GEN_1 =
  106126. +AM_V_at = $(am__v_at_@AM_V@)
  106127. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  106128. +am__v_at_0 = @
  106129. +am__v_at_1 =
  106130. DEFAULT_INCLUDES =
  106131. depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
  106132. am__depfiles_maybe = depfiles
  106133. am__mv = mv -f
  106134. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  106135. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  106136. -AM_V_CC = $(am__v_CC_$(V))
  106137. -am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  106138. -am__v_CC_0 = @echo " CC " $@;
  106139. -AM_V_at = $(am__v_at_$(V))
  106140. -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  106141. -am__v_at_0 = @
  106142. +AM_V_CC = $(am__v_CC_@AM_V@)
  106143. +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  106144. +am__v_CC_0 = @echo " CC " $@;
  106145. +am__v_CC_1 =
  106146. CCLD = $(CC)
  106147. LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  106148. -AM_V_CCLD = $(am__v_CCLD_$(V))
  106149. -am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  106150. -am__v_CCLD_0 = @echo " CCLD " $@;
  106151. -AM_V_GEN = $(am__v_GEN_$(V))
  106152. -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  106153. -am__v_GEN_0 = @echo " GEN " $@;
  106154. +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  106155. +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  106156. +am__v_CCLD_0 = @echo " CCLD " $@;
  106157. +am__v_CCLD_1 =
  106158. SOURCES = $(m4_SOURCES)
  106159. DIST_SOURCES = $(m4_SOURCES)
  106160. +am__can_run_installinfo = \
  106161. + case $$AM_UPDATE_INFO_DIR in \
  106162. + n|no|NO) false;; \
  106163. + *) (install-info --version) >/dev/null 2>&1;; \
  106164. + esac
  106165. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  106166. +# Read a list of newline-separated strings from the standard input,
  106167. +# and print each of them once, without duplicates. Input order is
  106168. +# *not* preserved.
  106169. +am__uniquify_input = $(AWK) '\
  106170. + BEGIN { nonempty = 0; } \
  106171. + { items[$$0] = 1; nonempty = 1; } \
  106172. + END { if (nonempty) { for (i in items) print i; }; } \
  106173. +'
  106174. +# Make sure the list of sources is unique. This is necessary because,
  106175. +# e.g., the same source file might be shared among _SOURCES variables
  106176. +# for different programs/libraries.
  106177. +am__define_uniq_tagged_files = \
  106178. + list='$(am__tagged_files)'; \
  106179. + unique=`for i in $$list; do \
  106180. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  106181. + done | $(am__uniquify_input)`
  106182. ETAGS = etags
  106183. CTAGS = ctags
  106184. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  106185. @@ -1074,14 +1149,18 @@
  106186. $(am__aclocal_m4_deps):
  106187. install-binPROGRAMS: $(bin_PROGRAMS)
  106188. @$(NORMAL_INSTALL)
  106189. - test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  106190. @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  106191. + if test -n "$$list"; then \
  106192. + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
  106193. + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
  106194. + fi; \
  106195. for p in $$list; do echo "$$p $$p"; done | \
  106196. sed 's/$(EXEEXT)$$//' | \
  106197. - while read p p1; do if test -f $$p; \
  106198. - then echo "$$p"; echo "$$p"; else :; fi; \
  106199. + while read p p1; do if test -f $$p \
  106200. + ; then echo "$$p"; echo "$$p"; else :; fi; \
  106201. done | \
  106202. - sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
  106203. + sed -e 'p;s,.*/,,;n;h' \
  106204. + -e 's|.*|.|' \
  106205. -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  106206. sed 'N;N;N;s,\n, ,g' | \
  106207. $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  106208. @@ -1102,14 +1181,16 @@
  106209. @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  106210. files=`for p in $$list; do echo "$$p"; done | \
  106211. sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  106212. - -e 's/$$/$(EXEEXT)/' `; \
  106213. + -e 's/$$/$(EXEEXT)/' \
  106214. + `; \
  106215. test -n "$$list" || exit 0; \
  106216. echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  106217. cd "$(DESTDIR)$(bindir)" && rm -f $$files
  106218. clean-binPROGRAMS:
  106219. -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
  106220. -m4$(EXEEXT): $(m4_OBJECTS) $(m4_DEPENDENCIES)
  106221. +
  106222. +m4$(EXEEXT): $(m4_OBJECTS) $(m4_DEPENDENCIES) $(EXTRA_m4_DEPENDENCIES)
  106223. @rm -f m4$(EXEEXT)
  106224. $(AM_V_CCLD)$(LINK) $(m4_OBJECTS) $(m4_LDADD) $(LIBS)
  106225. @@ -1134,39 +1215,26 @@
  106226. .c.o:
  106227. @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  106228. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  106229. -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  106230. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  106231. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  106232. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  106233. -@am__fastdepCC_FALSE@ $(COMPILE) -c $<
  106234. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
  106235. .c.obj:
  106236. @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  106237. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  106238. -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  106239. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  106240. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  106241. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  106242. -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  106243. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
  106244. -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  106245. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  106246. - unique=`for i in $$list; do \
  106247. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  106248. - done | \
  106249. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  106250. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  106251. - mkid -fID $$unique
  106252. -tags: TAGS
  106253. +ID: $(am__tagged_files)
  106254. + $(am__define_uniq_tagged_files); mkid -fID $$unique
  106255. +tags: tags-am
  106256. +TAGS: tags
  106257. -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  106258. - $(TAGS_FILES) $(LISP)
  106259. +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  106260. set x; \
  106261. here=`pwd`; \
  106262. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  106263. - unique=`for i in $$list; do \
  106264. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  106265. - done | \
  106266. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  106267. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  106268. + $(am__define_uniq_tagged_files); \
  106269. shift; \
  106270. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  106271. test -n "$$unique" || unique=$$empty_fix; \
  106272. @@ -1178,15 +1246,11 @@
  106273. $$unique; \
  106274. fi; \
  106275. fi
  106276. -ctags: CTAGS
  106277. -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  106278. - $(TAGS_FILES) $(LISP)
  106279. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  106280. - unique=`for i in $$list; do \
  106281. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  106282. - done | \
  106283. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  106284. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  106285. +ctags: ctags-am
  106286. +
  106287. +CTAGS: ctags
  106288. +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  106289. + $(am__define_uniq_tagged_files); \
  106290. test -z "$(CTAGS_ARGS)$$unique" \
  106291. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  106292. $$unique
  106293. @@ -1195,6 +1259,21 @@
  106294. here=`$(am__cd) $(top_builddir) && pwd` \
  106295. && $(am__cd) $(top_srcdir) \
  106296. && gtags -i $(GTAGS_ARGS) "$$here"
  106297. +cscopelist: cscopelist-am
  106298. +
  106299. +cscopelist-am: $(am__tagged_files)
  106300. + list='$(am__tagged_files)'; \
  106301. + case "$(srcdir)" in \
  106302. + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  106303. + *) sdir=$(subdir)/$(srcdir) ;; \
  106304. + esac; \
  106305. + for i in $$list; do \
  106306. + if test -f "$$i"; then \
  106307. + echo "$(subdir)/$$i"; \
  106308. + else \
  106309. + echo "$$sdir/$$i"; \
  106310. + fi; \
  106311. + done >> $(top_builddir)/cscope.files
  106312. distclean-tags:
  106313. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  106314. @@ -1246,10 +1325,15 @@
  106315. installcheck: installcheck-am
  106316. install-strip:
  106317. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  106318. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  106319. - `test -z '$(STRIP)' || \
  106320. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  106321. + if test -z '$(STRIP)'; then \
  106322. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  106323. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  106324. + install; \
  106325. + else \
  106326. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  106327. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  106328. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  106329. + fi
  106330. mostlyclean-generic:
  106331. clean-generic:
  106332. @@ -1332,18 +1416,19 @@
  106333. .MAKE: install-am install-strip
  106334. -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
  106335. - clean-generic ctags distclean distclean-compile \
  106336. - distclean-generic distclean-tags distdir dvi dvi-am html \
  106337. - html-am info info-am install install-am install-binPROGRAMS \
  106338. - install-data install-data-am install-dvi install-dvi-am \
  106339. - install-exec install-exec-am install-html install-html-am \
  106340. - install-info install-info-am install-man install-pdf \
  106341. - install-pdf-am install-ps install-ps-am install-strip \
  106342. - installcheck installcheck-am installdirs maintainer-clean \
  106343. - maintainer-clean-generic mostlyclean mostlyclean-compile \
  106344. - mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
  106345. - uninstall-am uninstall-binPROGRAMS
  106346. +.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
  106347. + clean-binPROGRAMS clean-generic cscopelist-am ctags ctags-am \
  106348. + distclean distclean-compile distclean-generic distclean-tags \
  106349. + distdir dvi dvi-am html html-am info info-am install \
  106350. + install-am install-binPROGRAMS install-data install-data-am \
  106351. + install-dvi install-dvi-am install-exec install-exec-am \
  106352. + install-html install-html-am install-info install-info-am \
  106353. + install-man install-pdf install-pdf-am install-ps \
  106354. + install-ps-am install-strip installcheck installcheck-am \
  106355. + installdirs maintainer-clean maintainer-clean-generic \
  106356. + mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
  106357. + ps ps-am tags tags-am uninstall uninstall-am \
  106358. + uninstall-binPROGRAMS
  106359. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  106360. diff -Nur m4-1.4.16.orig/tests/Makefile.in m4-1.4.16/tests/Makefile.in
  106361. --- m4-1.4.16.orig/tests/Makefile.in 2011-03-01 17:57:33.000000000 +0100
  106362. +++ m4-1.4.16/tests/Makefile.in 2013-09-04 14:47:47.000000000 +0200
  106363. @@ -1,9 +1,8 @@
  106364. -# Makefile.in generated by automake 1.11.1 from Makefile.am.
  106365. +# Makefile.in generated by automake 1.13.2 from Makefile.am.
  106366. # @configure_input@
  106367. -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  106368. -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  106369. -# Inc.
  106370. +# Copyright (C) 1994-2013 Free Software Foundation, Inc.
  106371. +
  106372. # This Makefile.in is free software; the Free Software Foundation
  106373. # gives unlimited permission to copy and/or distribute it,
  106374. # with or without modifications, as long as this notice is preserved.
  106375. @@ -28,6 +27,51 @@
  106376. VPATH = @srcdir@
  106377. +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
  106378. +am__make_running_with_option = \
  106379. + case $${target_option-} in \
  106380. + ?) ;; \
  106381. + *) echo "am__make_running_with_option: internal error: invalid" \
  106382. + "target option '$${target_option-}' specified" >&2; \
  106383. + exit 1;; \
  106384. + esac; \
  106385. + has_opt=no; \
  106386. + sane_makeflags=$$MAKEFLAGS; \
  106387. + if $(am__is_gnu_make); then \
  106388. + sane_makeflags=$$MFLAGS; \
  106389. + else \
  106390. + case $$MAKEFLAGS in \
  106391. + *\\[\ \ ]*) \
  106392. + bs=\\; \
  106393. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  106394. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  106395. + esac; \
  106396. + fi; \
  106397. + skip_next=no; \
  106398. + strip_trailopt () \
  106399. + { \
  106400. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  106401. + }; \
  106402. + for flg in $$sane_makeflags; do \
  106403. + test $$skip_next = yes && { skip_next=no; continue; }; \
  106404. + case $$flg in \
  106405. + *=*|--*) continue;; \
  106406. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  106407. + -*I?*) strip_trailopt 'I';; \
  106408. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  106409. + -*O?*) strip_trailopt 'O';; \
  106410. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  106411. + -*l?*) strip_trailopt 'l';; \
  106412. + -[dEDm]) skip_next=yes;; \
  106413. + -[JT]) skip_next=yes;; \
  106414. + esac; \
  106415. + case $$flg in \
  106416. + *$$target_option*) has_opt=yes; break;; \
  106417. + esac; \
  106418. + done; \
  106419. + test $$has_opt = yes
  106420. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  106421. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  106422. pkgdatadir = $(datadir)/@PACKAGE@
  106423. pkgincludedir = $(includedir)/@PACKAGE@
  106424. pkglibdir = $(libdir)/@PACKAGE@
  106425. @@ -45,8 +89,9 @@
  106426. POST_UNINSTALL = :
  106427. build_triplet = @build@
  106428. host_triplet = @host@
  106429. -DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
  106430. - $(srcdir)/Makefile.in $(srcdir)/gnulib.mk
  106431. +DIST_COMMON = $(srcdir)/gnulib.mk $(srcdir)/Makefile.in \
  106432. + $(srcdir)/Makefile.am $(top_srcdir)/build-aux/depcomp \
  106433. + $(noinst_HEADERS) $(top_srcdir)/build-aux/test-driver
  106434. TESTS = test-alloca-opt$(EXEEXT) test-array_list$(EXEEXT) \
  106435. test-array_oset$(EXEEXT) test-avltree_oset$(EXEEXT) \
  106436. test-binary-io.sh test-btowc1.sh test-btowc2.sh \
  106437. @@ -303,12 +348,10 @@
  106438. LIBRARIES = $(noinst_LIBRARIES)
  106439. AR = ar
  106440. ARFLAGS = cru
  106441. -AM_V_AR = $(am__v_AR_$(V))
  106442. -am__v_AR_ = $(am__v_AR_$(AM_DEFAULT_VERBOSITY))
  106443. -am__v_AR_0 = @echo " AR " $@;
  106444. -AM_V_at = $(am__v_at_$(V))
  106445. -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  106446. -am__v_at_0 = @
  106447. +AM_V_AR = $(am__v_AR_@AM_V@)
  106448. +am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
  106449. +am__v_AR_0 = @echo " AR " $@;
  106450. +am__v_AR_1 =
  106451. libtests_a_AR = $(AR) $(ARFLAGS)
  106452. am__DEPENDENCIES_1 =
  106453. am_libtests_a_OBJECTS = gl_array_list.$(OBJEXT) \
  106454. @@ -968,34 +1011,47 @@
  106455. test_xvasprintf_SOURCES = test-xvasprintf.c
  106456. test_xvasprintf_OBJECTS = test-xvasprintf.$(OBJEXT)
  106457. test_xvasprintf_DEPENDENCIES = $(am__DEPENDENCIES_2)
  106458. +AM_V_P = $(am__v_P_@AM_V@)
  106459. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  106460. +am__v_P_0 = false
  106461. +am__v_P_1 = :
  106462. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  106463. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  106464. +am__v_GEN_0 = @echo " GEN " $@;
  106465. +am__v_GEN_1 =
  106466. +AM_V_at = $(am__v_at_@AM_V@)
  106467. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  106468. +am__v_at_0 = @
  106469. +am__v_at_1 =
  106470. DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/lib
  106471. depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
  106472. am__depfiles_maybe = depfiles
  106473. am__mv = mv -f
  106474. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  106475. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  106476. -AM_V_CC = $(am__v_CC_$(V))
  106477. -am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
  106478. -am__v_CC_0 = @echo " CC " $@;
  106479. +AM_V_CC = $(am__v_CC_@AM_V@)
  106480. +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  106481. +am__v_CC_0 = @echo " CC " $@;
  106482. +am__v_CC_1 =
  106483. CCLD = $(CC)
  106484. LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  106485. -AM_V_CCLD = $(am__v_CCLD_$(V))
  106486. -am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
  106487. -am__v_CCLD_0 = @echo " CCLD " $@;
  106488. +AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  106489. +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  106490. +am__v_CCLD_0 = @echo " CCLD " $@;
  106491. +am__v_CCLD_1 =
  106492. CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  106493. $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
  106494. -AM_V_CXX = $(am__v_CXX_$(V))
  106495. -am__v_CXX_ = $(am__v_CXX_$(AM_DEFAULT_VERBOSITY))
  106496. -am__v_CXX_0 = @echo " CXX " $@;
  106497. +AM_V_CXX = $(am__v_CXX_@AM_V@)
  106498. +am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
  106499. +am__v_CXX_0 = @echo " CXX " $@;
  106500. +am__v_CXX_1 =
  106501. CXXLD = $(CXX)
  106502. CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
  106503. -o $@
  106504. -AM_V_CXXLD = $(am__v_CXXLD_$(V))
  106505. -am__v_CXXLD_ = $(am__v_CXXLD_$(AM_DEFAULT_VERBOSITY))
  106506. -am__v_CXXLD_0 = @echo " CXXLD " $@;
  106507. -AM_V_GEN = $(am__v_GEN_$(V))
  106508. -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  106509. -am__v_GEN_0 = @echo " GEN " $@;
  106510. +AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
  106511. +am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
  106512. +am__v_CXXLD_0 = @echo " CXXLD " $@;
  106513. +am__v_CXXLD_1 =
  106514. SOURCES = $(libtests_a_SOURCES) $(EXTRA_libtests_a_SOURCES) \
  106515. test-alloca-opt.c test-array_list.c test-array_oset.c \
  106516. test-avltree_oset.c test-binary-io.c test-btowc.c \
  106517. @@ -1088,35 +1144,68 @@
  106518. test-wcrtomb-w32.c test-wctype-h.c \
  106519. $(am__test_wctype_h_c___SOURCES_DIST) test-xalloc-die.c \
  106520. test-xvasprintf.c
  106521. -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
  106522. - html-recursive info-recursive install-data-recursive \
  106523. - install-dvi-recursive install-exec-recursive \
  106524. - install-html-recursive install-info-recursive \
  106525. - install-pdf-recursive install-ps-recursive install-recursive \
  106526. - installcheck-recursive installdirs-recursive pdf-recursive \
  106527. - ps-recursive uninstall-recursive
  106528. +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
  106529. + ctags-recursive dvi-recursive html-recursive info-recursive \
  106530. + install-data-recursive install-dvi-recursive \
  106531. + install-exec-recursive install-html-recursive \
  106532. + install-info-recursive install-pdf-recursive \
  106533. + install-ps-recursive install-recursive installcheck-recursive \
  106534. + installdirs-recursive pdf-recursive ps-recursive \
  106535. + tags-recursive uninstall-recursive
  106536. +am__can_run_installinfo = \
  106537. + case $$AM_UPDATE_INFO_DIR in \
  106538. + n|no|NO) false;; \
  106539. + *) (install-info --version) >/dev/null 2>&1;; \
  106540. + esac
  106541. HEADERS = $(noinst_HEADERS)
  106542. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  106543. distclean-recursive maintainer-clean-recursive
  106544. -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  106545. - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  106546. - check check-html recheck recheck-html distdir
  106547. +am__recursive_targets = \
  106548. + $(RECURSIVE_TARGETS) \
  106549. + $(RECURSIVE_CLEAN_TARGETS) \
  106550. + $(am__extra_recursive_targets)
  106551. +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
  106552. + check recheck distdir
  106553. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  106554. +# Read a list of newline-separated strings from the standard input,
  106555. +# and print each of them once, without duplicates. Input order is
  106556. +# *not* preserved.
  106557. +am__uniquify_input = $(AWK) '\
  106558. + BEGIN { nonempty = 0; } \
  106559. + { items[$$0] = 1; nonempty = 1; } \
  106560. + END { if (nonempty) { for (i in items) print i; }; } \
  106561. +'
  106562. +# Make sure the list of sources is unique. This is necessary because,
  106563. +# e.g., the same source file might be shared among _SOURCES variables
  106564. +# for different programs/libraries.
  106565. +am__define_uniq_tagged_files = \
  106566. + list='$(am__tagged_files)'; \
  106567. + unique=`for i in $$list; do \
  106568. + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  106569. + done | $(am__uniquify_input)`
  106570. ETAGS = etags
  106571. CTAGS = ctags
  106572. -# If stdout is a non-dumb tty, use colors. If test -t is not supported,
  106573. -# then this fails; a conservative approach. Of course do not redirect
  106574. -# stdout here, just stderr.
  106575. -am__tty_colors = \
  106576. -red=; grn=; lgn=; blu=; std=; \
  106577. -test "X$(AM_COLOR_TESTS)" != Xno \
  106578. -&& test "X$$TERM" != Xdumb \
  106579. -&& { test "X$(AM_COLOR_TESTS)" = Xalways || test -t 1 2>/dev/null; } \
  106580. -&& { \
  106581. - red=''; \
  106582. - grn=''; \
  106583. - lgn=''; \
  106584. - blu=''; \
  106585. - std=''; \
  106586. +am__tty_colors_dummy = \
  106587. + mgn= red= grn= lgn= blu= brg= std=; \
  106588. + am__color_tests=no
  106589. +am__tty_colors = { \
  106590. + $(am__tty_colors_dummy); \
  106591. + if test "X$(AM_COLOR_TESTS)" = Xno; then \
  106592. + am__color_tests=no; \
  106593. + elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
  106594. + am__color_tests=yes; \
  106595. + elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
  106596. + am__color_tests=yes; \
  106597. + fi; \
  106598. + if test $$am__color_tests = yes; then \
  106599. + red=''; \
  106600. + grn=''; \
  106601. + lgn=''; \
  106602. + blu=''; \
  106603. + mgn=''; \
  106604. + brg=''; \
  106605. + std=''; \
  106606. + fi; \
  106607. }
  106608. am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  106609. am__vpath_adj = case $$p in \
  106610. @@ -1139,54 +1228,166 @@
  106611. am__base_list = \
  106612. sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  106613. sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  106614. -# Restructured Text title and section.
  106615. -am__rst_title = sed 's/.*/ & /;h;s/./=/g;p;x;p;g;p;s/.*//'
  106616. -am__rst_section = sed 'p;s/./=/g;p;g'
  106617. -# Put stdin (possibly several lines separated by ". ") in a box.
  106618. -am__text_box = $(AWK) '{ \
  106619. - n = split($$0, lines, "\\. "); max = 0; \
  106620. - for (i = 1; i <= n; ++i) \
  106621. - if (max < length(lines[i])) \
  106622. - max = length(lines[i]); \
  106623. - for (i = 0; i < max; ++i) line = line "="; \
  106624. - print line; \
  106625. - for (i = 1; i <= n; ++i) if (lines[i]) print lines[i];\
  106626. - print line; \
  106627. +am__uninstall_files_from_dir = { \
  106628. + test -z "$$files" \
  106629. + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
  106630. + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
  106631. + $(am__cd) "$$dir" && rm -f $$files; }; \
  106632. + }
  106633. +am__recheck_rx = ^[ ]*:recheck:[ ]*
  106634. +am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
  106635. +am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
  106636. +# A command that, given a newline-separated list of test names on the
  106637. +# standard input, print the name of the tests that are to be re-run
  106638. +# upon "make recheck".
  106639. +am__list_recheck_tests = $(AWK) '{ \
  106640. + recheck = 1; \
  106641. + while ((rc = (getline line < ($$0 ".trs"))) != 0) \
  106642. + { \
  106643. + if (rc < 0) \
  106644. + { \
  106645. + if ((getline line2 < ($$0 ".log")) < 0) \
  106646. + recheck = 0; \
  106647. + break; \
  106648. + } \
  106649. + else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
  106650. + { \
  106651. + recheck = 0; \
  106652. + break; \
  106653. + } \
  106654. + else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
  106655. + { \
  106656. + break; \
  106657. + } \
  106658. + }; \
  106659. + if (recheck) \
  106660. + print $$0; \
  106661. + close ($$0 ".trs"); \
  106662. + close ($$0 ".log"); \
  106663. }'
  106664. +# A command that, given a newline-separated list of test names on the
  106665. +# standard input, create the global log from their .trs and .log files.
  106666. +am__create_global_log = $(AWK) ' \
  106667. +function fatal(msg) \
  106668. +{ \
  106669. + print "fatal: making $@: " msg | "cat >&2"; \
  106670. + exit 1; \
  106671. +} \
  106672. +function rst_section(header) \
  106673. +{ \
  106674. + print header; \
  106675. + len = length(header); \
  106676. + for (i = 1; i <= len; i = i + 1) \
  106677. + printf "="; \
  106678. + printf "\n\n"; \
  106679. +} \
  106680. +{ \
  106681. + copy_in_global_log = 1; \
  106682. + global_test_result = "RUN"; \
  106683. + while ((rc = (getline line < ($$0 ".trs"))) != 0) \
  106684. + { \
  106685. + if (rc < 0) \
  106686. + fatal("failed to read from " $$0 ".trs"); \
  106687. + if (line ~ /$(am__global_test_result_rx)/) \
  106688. + { \
  106689. + sub("$(am__global_test_result_rx)", "", line); \
  106690. + sub("[ ]*$$", "", line); \
  106691. + global_test_result = line; \
  106692. + } \
  106693. + else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
  106694. + copy_in_global_log = 0; \
  106695. + }; \
  106696. + if (copy_in_global_log) \
  106697. + { \
  106698. + rst_section(global_test_result ": " $$0); \
  106699. + while ((rc = (getline line < ($$0 ".log"))) != 0) \
  106700. + { \
  106701. + if (rc < 0) \
  106702. + fatal("failed to read from " $$0 ".log"); \
  106703. + print line; \
  106704. + }; \
  106705. + printf "\n"; \
  106706. + }; \
  106707. + close ($$0 ".trs"); \
  106708. + close ($$0 ".log"); \
  106709. +}'
  106710. +# Restructured Text title.
  106711. +am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
  106712. # Solaris 10 'make', and several other traditional 'make' implementations,
  106713. -# pass "-e" to $(SHELL). This contradicts POSIX. Work around the problem
  106714. +# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
  106715. # by disabling -e (using the XSI extension "set +e") if it's set.
  106716. am__sh_e_setup = case $$- in *e*) set +e;; esac
  106717. +# Default flags passed to test drivers.
  106718. +am__common_driver_flags = \
  106719. + --color-tests "$$am__color_tests" \
  106720. + --enable-hard-errors "$$am__enable_hard_errors" \
  106721. + --expect-failure "$$am__expect_failure"
  106722. # To be inserted before the command running the test. Creates the
  106723. # directory for the log if needed. Stores in $dir the directory
  106724. -# containing $f, in $tst the test, in $log the log, and passes
  106725. -# TESTS_ENVIRONMENT. Save and restore TERM around use of
  106726. -# TESTS_ENVIRONMENT, in case that unsets it.
  106727. +# containing $f, in $tst the test, in $log the log. Executes the
  106728. +# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
  106729. +# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
  106730. +# will run the test scripts (or their associated LOG_COMPILER, if
  106731. +# thy have one).
  106732. am__check_pre = \
  106733. $(am__sh_e_setup); \
  106734. $(am__vpath_adj_setup) $(am__vpath_adj) \
  106735. +$(am__tty_colors); \
  106736. srcdir=$(srcdir); export srcdir; \
  106737. -rm -f $@-t; \
  106738. -trap 'st=$$?; rm -f '\''$(abs_builddir)/$@-t'\''; (exit $$st); exit $$st' \
  106739. - 1 2 13 15; \
  106740. -am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`; \
  106741. -test "x$$am__odir" = x. || $(MKDIR_P) "$$am__odir" || exit $$?; \
  106742. +case "$@" in \
  106743. + */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
  106744. + *) am__odir=.;; \
  106745. +esac; \
  106746. +test "x$$am__odir" = x"." || test -d "$$am__odir" \
  106747. + || $(MKDIR_P) "$$am__odir" || exit $$?; \
  106748. if test -f "./$$f"; then dir=./; \
  106749. elif test -f "$$f"; then dir=; \
  106750. else dir="$(srcdir)/"; fi; \
  106751. -tst=$$dir$$f; log='$@'; __SAVED_TERM=$$TERM; \
  106752. -$(TESTS_ENVIRONMENT)
  106753. +tst=$$dir$$f; log='$@'; \
  106754. +if test -n '$(DISABLE_HARD_ERRORS)'; then \
  106755. + am__enable_hard_errors=no; \
  106756. +else \
  106757. + am__enable_hard_errors=yes; \
  106758. +fi; \
  106759. +case " $(XFAIL_TESTS) " in \
  106760. + *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
  106761. + am__expect_failure=yes;; \
  106762. + *) \
  106763. + am__expect_failure=no;; \
  106764. +esac; \
  106765. +$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
  106766. +# A shell command to get the names of the tests scripts with any registered
  106767. +# extension removed (i.e., equivalently, the names of the test logs, with
  106768. +# the '.log' extension removed). The result is saved in the shell variable
  106769. +# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
  106770. +# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
  106771. +# since that might cause problem with VPATH rewrites for suffix-less tests.
  106772. +# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
  106773. +am__set_TESTS_bases = \
  106774. + bases='$(TEST_LOGS)'; \
  106775. + bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
  106776. + bases=`echo $$bases`
  106777. RECHECK_LOGS = $(TEST_LOGS)
  106778. TEST_SUITE_LOG = test-suite.log
  106779. -TEST_SUITE_HTML = $(TEST_SUITE_LOG:.log=.html)
  106780. TEST_EXTENSIONS = @EXEEXT@ .test
  106781. +LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
  106782. LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
  106783. +am__set_b = \
  106784. + case '$@' in \
  106785. + */*) \
  106786. + case '$*' in \
  106787. + */*) b='$*';; \
  106788. + *) b=`echo '$@' | sed 's/\.log$$//'`; \
  106789. + esac;; \
  106790. + *) \
  106791. + b='$*';; \
  106792. + esac
  106793. am__test_logs1 = $(TESTS:=.log)
  106794. am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
  106795. TEST_LOGS = $(am__test_logs2:.test.log=.log)
  106796. +TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
  106797. TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
  106798. $(TEST_LOG_FLAGS)
  106799. -TEST_LOGS_TMP = $(TEST_LOGS:.log=.log-t)
  106800. DIST_SUBDIRS = $(SUBDIRS)
  106801. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  106802. am__relativize = \
  106803. @@ -2273,7 +2474,7 @@
  106804. $(MAKE) $(AM_MAKEFLAGS) all-recursive
  106805. .SUFFIXES:
  106806. -.SUFFIXES: .c .cc .html .log .o .obj .test .test$(EXEEXT)
  106807. +.SUFFIXES: .c .cc .log .o .obj .test .test$(EXEEXT) .trs
  106808. $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/gnulib.mk $(am__configure_deps)
  106809. @for dep in $?; do \
  106810. case '$(am__configure_deps)' in \
  106811. @@ -2295,6 +2496,7 @@
  106812. echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  106813. cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  106814. esac;
  106815. +$(srcdir)/gnulib.mk:
  106816. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  106817. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  106818. @@ -2310,7 +2512,8 @@
  106819. clean-noinstLIBRARIES:
  106820. -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
  106821. -libtests.a: $(libtests_a_OBJECTS) $(libtests_a_DEPENDENCIES)
  106822. +
  106823. +libtests.a: $(libtests_a_OBJECTS) $(libtests_a_DEPENDENCIES) $(EXTRA_libtests_a_DEPENDENCIES)
  106824. $(AM_V_at)-rm -f libtests.a
  106825. $(AM_V_AR)$(libtests_a_AR) libtests.a $(libtests_a_OBJECTS) $(libtests_a_LIBADD)
  106826. $(AM_V_at)$(RANLIB) libtests.a
  106827. @@ -2320,385 +2523,512 @@
  106828. clean-noinstPROGRAMS:
  106829. -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
  106830. -test-alloca-opt$(EXEEXT): $(test_alloca_opt_OBJECTS) $(test_alloca_opt_DEPENDENCIES)
  106831. +
  106832. +test-alloca-opt$(EXEEXT): $(test_alloca_opt_OBJECTS) $(test_alloca_opt_DEPENDENCIES) $(EXTRA_test_alloca_opt_DEPENDENCIES)
  106833. @rm -f test-alloca-opt$(EXEEXT)
  106834. $(AM_V_CCLD)$(LINK) $(test_alloca_opt_OBJECTS) $(test_alloca_opt_LDADD) $(LIBS)
  106835. -test-array_list$(EXEEXT): $(test_array_list_OBJECTS) $(test_array_list_DEPENDENCIES)
  106836. +
  106837. +test-array_list$(EXEEXT): $(test_array_list_OBJECTS) $(test_array_list_DEPENDENCIES) $(EXTRA_test_array_list_DEPENDENCIES)
  106838. @rm -f test-array_list$(EXEEXT)
  106839. $(AM_V_CCLD)$(LINK) $(test_array_list_OBJECTS) $(test_array_list_LDADD) $(LIBS)
  106840. -test-array_oset$(EXEEXT): $(test_array_oset_OBJECTS) $(test_array_oset_DEPENDENCIES)
  106841. +
  106842. +test-array_oset$(EXEEXT): $(test_array_oset_OBJECTS) $(test_array_oset_DEPENDENCIES) $(EXTRA_test_array_oset_DEPENDENCIES)
  106843. @rm -f test-array_oset$(EXEEXT)
  106844. $(AM_V_CCLD)$(LINK) $(test_array_oset_OBJECTS) $(test_array_oset_LDADD) $(LIBS)
  106845. -test-avltree_oset$(EXEEXT): $(test_avltree_oset_OBJECTS) $(test_avltree_oset_DEPENDENCIES)
  106846. +
  106847. +test-avltree_oset$(EXEEXT): $(test_avltree_oset_OBJECTS) $(test_avltree_oset_DEPENDENCIES) $(EXTRA_test_avltree_oset_DEPENDENCIES)
  106848. @rm -f test-avltree_oset$(EXEEXT)
  106849. $(AM_V_CCLD)$(LINK) $(test_avltree_oset_OBJECTS) $(test_avltree_oset_LDADD) $(LIBS)
  106850. -test-binary-io$(EXEEXT): $(test_binary_io_OBJECTS) $(test_binary_io_DEPENDENCIES)
  106851. +
  106852. +test-binary-io$(EXEEXT): $(test_binary_io_OBJECTS) $(test_binary_io_DEPENDENCIES) $(EXTRA_test_binary_io_DEPENDENCIES)
  106853. @rm -f test-binary-io$(EXEEXT)
  106854. $(AM_V_CCLD)$(LINK) $(test_binary_io_OBJECTS) $(test_binary_io_LDADD) $(LIBS)
  106855. -test-btowc$(EXEEXT): $(test_btowc_OBJECTS) $(test_btowc_DEPENDENCIES)
  106856. +
  106857. +test-btowc$(EXEEXT): $(test_btowc_OBJECTS) $(test_btowc_DEPENDENCIES) $(EXTRA_test_btowc_DEPENDENCIES)
  106858. @rm -f test-btowc$(EXEEXT)
  106859. $(AM_V_CCLD)$(LINK) $(test_btowc_OBJECTS) $(test_btowc_LDADD) $(LIBS)
  106860. -test-c-ctype$(EXEEXT): $(test_c_ctype_OBJECTS) $(test_c_ctype_DEPENDENCIES)
  106861. +
  106862. +test-c-ctype$(EXEEXT): $(test_c_ctype_OBJECTS) $(test_c_ctype_DEPENDENCIES) $(EXTRA_test_c_ctype_DEPENDENCIES)
  106863. @rm -f test-c-ctype$(EXEEXT)
  106864. $(AM_V_CCLD)$(LINK) $(test_c_ctype_OBJECTS) $(test_c_ctype_LDADD) $(LIBS)
  106865. -test-c-stack$(EXEEXT): $(test_c_stack_OBJECTS) $(test_c_stack_DEPENDENCIES)
  106866. +
  106867. +test-c-stack$(EXEEXT): $(test_c_stack_OBJECTS) $(test_c_stack_DEPENDENCIES) $(EXTRA_test_c_stack_DEPENDENCIES)
  106868. @rm -f test-c-stack$(EXEEXT)
  106869. $(AM_V_CCLD)$(LINK) $(test_c_stack_OBJECTS) $(test_c_stack_LDADD) $(LIBS)
  106870. -test-c-strcasecmp$(EXEEXT): $(test_c_strcasecmp_OBJECTS) $(test_c_strcasecmp_DEPENDENCIES)
  106871. +
  106872. +test-c-strcasecmp$(EXEEXT): $(test_c_strcasecmp_OBJECTS) $(test_c_strcasecmp_DEPENDENCIES) $(EXTRA_test_c_strcasecmp_DEPENDENCIES)
  106873. @rm -f test-c-strcasecmp$(EXEEXT)
  106874. $(AM_V_CCLD)$(LINK) $(test_c_strcasecmp_OBJECTS) $(test_c_strcasecmp_LDADD) $(LIBS)
  106875. -test-c-strncasecmp$(EXEEXT): $(test_c_strncasecmp_OBJECTS) $(test_c_strncasecmp_DEPENDENCIES)
  106876. +
  106877. +test-c-strncasecmp$(EXEEXT): $(test_c_strncasecmp_OBJECTS) $(test_c_strncasecmp_DEPENDENCIES) $(EXTRA_test_c_strncasecmp_DEPENDENCIES)
  106878. @rm -f test-c-strncasecmp$(EXEEXT)
  106879. $(AM_V_CCLD)$(LINK) $(test_c_strncasecmp_OBJECTS) $(test_c_strncasecmp_LDADD) $(LIBS)
  106880. -test-canonicalize-lgpl$(EXEEXT): $(test_canonicalize_lgpl_OBJECTS) $(test_canonicalize_lgpl_DEPENDENCIES)
  106881. +
  106882. +test-canonicalize-lgpl$(EXEEXT): $(test_canonicalize_lgpl_OBJECTS) $(test_canonicalize_lgpl_DEPENDENCIES) $(EXTRA_test_canonicalize_lgpl_DEPENDENCIES)
  106883. @rm -f test-canonicalize-lgpl$(EXEEXT)
  106884. $(AM_V_CCLD)$(LINK) $(test_canonicalize_lgpl_OBJECTS) $(test_canonicalize_lgpl_LDADD) $(LIBS)
  106885. -test-cloexec$(EXEEXT): $(test_cloexec_OBJECTS) $(test_cloexec_DEPENDENCIES)
  106886. +
  106887. +test-cloexec$(EXEEXT): $(test_cloexec_OBJECTS) $(test_cloexec_DEPENDENCIES) $(EXTRA_test_cloexec_DEPENDENCIES)
  106888. @rm -f test-cloexec$(EXEEXT)
  106889. $(AM_V_CCLD)$(LINK) $(test_cloexec_OBJECTS) $(test_cloexec_LDADD) $(LIBS)
  106890. -test-closein$(EXEEXT): $(test_closein_OBJECTS) $(test_closein_DEPENDENCIES)
  106891. +
  106892. +test-closein$(EXEEXT): $(test_closein_OBJECTS) $(test_closein_DEPENDENCIES) $(EXTRA_test_closein_DEPENDENCIES)
  106893. @rm -f test-closein$(EXEEXT)
  106894. $(AM_V_CCLD)$(LINK) $(test_closein_OBJECTS) $(test_closein_LDADD) $(LIBS)
  106895. -test-dirname$(EXEEXT): $(test_dirname_OBJECTS) $(test_dirname_DEPENDENCIES)
  106896. +
  106897. +test-dirname$(EXEEXT): $(test_dirname_OBJECTS) $(test_dirname_DEPENDENCIES) $(EXTRA_test_dirname_DEPENDENCIES)
  106898. @rm -f test-dirname$(EXEEXT)
  106899. $(AM_V_CCLD)$(LINK) $(test_dirname_OBJECTS) $(test_dirname_LDADD) $(LIBS)
  106900. -test-dup-safer$(EXEEXT): $(test_dup_safer_OBJECTS) $(test_dup_safer_DEPENDENCIES)
  106901. +
  106902. +test-dup-safer$(EXEEXT): $(test_dup_safer_OBJECTS) $(test_dup_safer_DEPENDENCIES) $(EXTRA_test_dup_safer_DEPENDENCIES)
  106903. @rm -f test-dup-safer$(EXEEXT)
  106904. $(AM_V_CCLD)$(LINK) $(test_dup_safer_OBJECTS) $(test_dup_safer_LDADD) $(LIBS)
  106905. -test-dup2$(EXEEXT): $(test_dup2_OBJECTS) $(test_dup2_DEPENDENCIES)
  106906. +
  106907. +test-dup2$(EXEEXT): $(test_dup2_OBJECTS) $(test_dup2_DEPENDENCIES) $(EXTRA_test_dup2_DEPENDENCIES)
  106908. @rm -f test-dup2$(EXEEXT)
  106909. $(AM_V_CCLD)$(LINK) $(test_dup2_OBJECTS) $(test_dup2_LDADD) $(LIBS)
  106910. -test-environ$(EXEEXT): $(test_environ_OBJECTS) $(test_environ_DEPENDENCIES)
  106911. +
  106912. +test-environ$(EXEEXT): $(test_environ_OBJECTS) $(test_environ_DEPENDENCIES) $(EXTRA_test_environ_DEPENDENCIES)
  106913. @rm -f test-environ$(EXEEXT)
  106914. $(AM_V_CCLD)$(LINK) $(test_environ_OBJECTS) $(test_environ_LDADD) $(LIBS)
  106915. -test-errno$(EXEEXT): $(test_errno_OBJECTS) $(test_errno_DEPENDENCIES)
  106916. +
  106917. +test-errno$(EXEEXT): $(test_errno_OBJECTS) $(test_errno_DEPENDENCIES) $(EXTRA_test_errno_DEPENDENCIES)
  106918. @rm -f test-errno$(EXEEXT)
  106919. $(AM_V_CCLD)$(LINK) $(test_errno_OBJECTS) $(test_errno_LDADD) $(LIBS)
  106920. -test-fcntl$(EXEEXT): $(test_fcntl_OBJECTS) $(test_fcntl_DEPENDENCIES)
  106921. +
  106922. +test-fcntl$(EXEEXT): $(test_fcntl_OBJECTS) $(test_fcntl_DEPENDENCIES) $(EXTRA_test_fcntl_DEPENDENCIES)
  106923. @rm -f test-fcntl$(EXEEXT)
  106924. $(AM_V_CCLD)$(LINK) $(test_fcntl_OBJECTS) $(test_fcntl_LDADD) $(LIBS)
  106925. -test-fcntl-h$(EXEEXT): $(test_fcntl_h_OBJECTS) $(test_fcntl_h_DEPENDENCIES)
  106926. +
  106927. +test-fcntl-h$(EXEEXT): $(test_fcntl_h_OBJECTS) $(test_fcntl_h_DEPENDENCIES) $(EXTRA_test_fcntl_h_DEPENDENCIES)
  106928. @rm -f test-fcntl-h$(EXEEXT)
  106929. $(AM_V_CCLD)$(LINK) $(test_fcntl_h_OBJECTS) $(test_fcntl_h_LDADD) $(LIBS)
  106930. -test-fcntl-h-c++$(EXEEXT): $(test_fcntl_h_c___OBJECTS) $(test_fcntl_h_c___DEPENDENCIES)
  106931. +
  106932. +test-fcntl-h-c++$(EXEEXT): $(test_fcntl_h_c___OBJECTS) $(test_fcntl_h_c___DEPENDENCIES) $(EXTRA_test_fcntl_h_c___DEPENDENCIES)
  106933. @rm -f test-fcntl-h-c++$(EXEEXT)
  106934. $(AM_V_CXXLD)$(CXXLINK) $(test_fcntl_h_c___OBJECTS) $(test_fcntl_h_c___LDADD) $(LIBS)
  106935. -test-fflush$(EXEEXT): $(test_fflush_OBJECTS) $(test_fflush_DEPENDENCIES)
  106936. +
  106937. +test-fflush$(EXEEXT): $(test_fflush_OBJECTS) $(test_fflush_DEPENDENCIES) $(EXTRA_test_fflush_DEPENDENCIES)
  106938. @rm -f test-fflush$(EXEEXT)
  106939. $(AM_V_CCLD)$(LINK) $(test_fflush_OBJECTS) $(test_fflush_LDADD) $(LIBS)
  106940. -test-fflush2$(EXEEXT): $(test_fflush2_OBJECTS) $(test_fflush2_DEPENDENCIES)
  106941. +
  106942. +test-fflush2$(EXEEXT): $(test_fflush2_OBJECTS) $(test_fflush2_DEPENDENCIES) $(EXTRA_test_fflush2_DEPENDENCIES)
  106943. @rm -f test-fflush2$(EXEEXT)
  106944. $(AM_V_CCLD)$(LINK) $(test_fflush2_OBJECTS) $(test_fflush2_LDADD) $(LIBS)
  106945. -test-filenamecat$(EXEEXT): $(test_filenamecat_OBJECTS) $(test_filenamecat_DEPENDENCIES)
  106946. +
  106947. +test-filenamecat$(EXEEXT): $(test_filenamecat_OBJECTS) $(test_filenamecat_DEPENDENCIES) $(EXTRA_test_filenamecat_DEPENDENCIES)
  106948. @rm -f test-filenamecat$(EXEEXT)
  106949. $(AM_V_CCLD)$(LINK) $(test_filenamecat_OBJECTS) $(test_filenamecat_LDADD) $(LIBS)
  106950. -test-fopen$(EXEEXT): $(test_fopen_OBJECTS) $(test_fopen_DEPENDENCIES)
  106951. +
  106952. +test-fopen$(EXEEXT): $(test_fopen_OBJECTS) $(test_fopen_DEPENDENCIES) $(EXTRA_test_fopen_DEPENDENCIES)
  106953. @rm -f test-fopen$(EXEEXT)
  106954. $(AM_V_CCLD)$(LINK) $(test_fopen_OBJECTS) $(test_fopen_LDADD) $(LIBS)
  106955. -test-fopen-safer$(EXEEXT): $(test_fopen_safer_OBJECTS) $(test_fopen_safer_DEPENDENCIES)
  106956. +
  106957. +test-fopen-safer$(EXEEXT): $(test_fopen_safer_OBJECTS) $(test_fopen_safer_DEPENDENCIES) $(EXTRA_test_fopen_safer_DEPENDENCIES)
  106958. @rm -f test-fopen-safer$(EXEEXT)
  106959. $(AM_V_CCLD)$(LINK) $(test_fopen_safer_OBJECTS) $(test_fopen_safer_LDADD) $(LIBS)
  106960. -test-fpending$(EXEEXT): $(test_fpending_OBJECTS) $(test_fpending_DEPENDENCIES)
  106961. +
  106962. +test-fpending$(EXEEXT): $(test_fpending_OBJECTS) $(test_fpending_DEPENDENCIES) $(EXTRA_test_fpending_DEPENDENCIES)
  106963. @rm -f test-fpending$(EXEEXT)
  106964. $(AM_V_CCLD)$(LINK) $(test_fpending_OBJECTS) $(test_fpending_LDADD) $(LIBS)
  106965. -test-fpurge$(EXEEXT): $(test_fpurge_OBJECTS) $(test_fpurge_DEPENDENCIES)
  106966. +
  106967. +test-fpurge$(EXEEXT): $(test_fpurge_OBJECTS) $(test_fpurge_DEPENDENCIES) $(EXTRA_test_fpurge_DEPENDENCIES)
  106968. @rm -f test-fpurge$(EXEEXT)
  106969. $(AM_V_CCLD)$(LINK) $(test_fpurge_OBJECTS) $(test_fpurge_LDADD) $(LIBS)
  106970. -test-freadahead$(EXEEXT): $(test_freadahead_OBJECTS) $(test_freadahead_DEPENDENCIES)
  106971. +
  106972. +test-freadahead$(EXEEXT): $(test_freadahead_OBJECTS) $(test_freadahead_DEPENDENCIES) $(EXTRA_test_freadahead_DEPENDENCIES)
  106973. @rm -f test-freadahead$(EXEEXT)
  106974. $(AM_V_CCLD)$(LINK) $(test_freadahead_OBJECTS) $(test_freadahead_LDADD) $(LIBS)
  106975. -test-freading$(EXEEXT): $(test_freading_OBJECTS) $(test_freading_DEPENDENCIES)
  106976. +
  106977. +test-freading$(EXEEXT): $(test_freading_OBJECTS) $(test_freading_DEPENDENCIES) $(EXTRA_test_freading_DEPENDENCIES)
  106978. @rm -f test-freading$(EXEEXT)
  106979. $(AM_V_CCLD)$(LINK) $(test_freading_OBJECTS) $(test_freading_LDADD) $(LIBS)
  106980. -test-frexp-nolibm$(EXEEXT): $(test_frexp_nolibm_OBJECTS) $(test_frexp_nolibm_DEPENDENCIES)
  106981. +
  106982. +test-frexp-nolibm$(EXEEXT): $(test_frexp_nolibm_OBJECTS) $(test_frexp_nolibm_DEPENDENCIES) $(EXTRA_test_frexp_nolibm_DEPENDENCIES)
  106983. @rm -f test-frexp-nolibm$(EXEEXT)
  106984. $(AM_V_CCLD)$(LINK) $(test_frexp_nolibm_OBJECTS) $(test_frexp_nolibm_LDADD) $(LIBS)
  106985. -test-frexpl-nolibm$(EXEEXT): $(test_frexpl_nolibm_OBJECTS) $(test_frexpl_nolibm_DEPENDENCIES)
  106986. +
  106987. +test-frexpl-nolibm$(EXEEXT): $(test_frexpl_nolibm_OBJECTS) $(test_frexpl_nolibm_DEPENDENCIES) $(EXTRA_test_frexpl_nolibm_DEPENDENCIES)
  106988. @rm -f test-frexpl-nolibm$(EXEEXT)
  106989. $(AM_V_CCLD)$(LINK) $(test_frexpl_nolibm_OBJECTS) $(test_frexpl_nolibm_LDADD) $(LIBS)
  106990. -test-fseeko$(EXEEXT): $(test_fseeko_OBJECTS) $(test_fseeko_DEPENDENCIES)
  106991. +
  106992. +test-fseeko$(EXEEXT): $(test_fseeko_OBJECTS) $(test_fseeko_DEPENDENCIES) $(EXTRA_test_fseeko_DEPENDENCIES)
  106993. @rm -f test-fseeko$(EXEEXT)
  106994. $(AM_V_CCLD)$(LINK) $(test_fseeko_OBJECTS) $(test_fseeko_LDADD) $(LIBS)
  106995. -test-ftell$(EXEEXT): $(test_ftell_OBJECTS) $(test_ftell_DEPENDENCIES)
  106996. +
  106997. +test-ftell$(EXEEXT): $(test_ftell_OBJECTS) $(test_ftell_DEPENDENCIES) $(EXTRA_test_ftell_DEPENDENCIES)
  106998. @rm -f test-ftell$(EXEEXT)
  106999. $(AM_V_CCLD)$(LINK) $(test_ftell_OBJECTS) $(test_ftell_LDADD) $(LIBS)
  107000. -test-ftell3$(EXEEXT): $(test_ftell3_OBJECTS) $(test_ftell3_DEPENDENCIES)
  107001. +
  107002. +test-ftell3$(EXEEXT): $(test_ftell3_OBJECTS) $(test_ftell3_DEPENDENCIES) $(EXTRA_test_ftell3_DEPENDENCIES)
  107003. @rm -f test-ftell3$(EXEEXT)
  107004. $(AM_V_CCLD)$(LINK) $(test_ftell3_OBJECTS) $(test_ftell3_LDADD) $(LIBS)
  107005. -test-ftello$(EXEEXT): $(test_ftello_OBJECTS) $(test_ftello_DEPENDENCIES)
  107006. +
  107007. +test-ftello$(EXEEXT): $(test_ftello_OBJECTS) $(test_ftello_DEPENDENCIES) $(EXTRA_test_ftello_DEPENDENCIES)
  107008. @rm -f test-ftello$(EXEEXT)
  107009. $(AM_V_CCLD)$(LINK) $(test_ftello_OBJECTS) $(test_ftello_LDADD) $(LIBS)
  107010. -test-ftello3$(EXEEXT): $(test_ftello3_OBJECTS) $(test_ftello3_DEPENDENCIES)
  107011. +
  107012. +test-ftello3$(EXEEXT): $(test_ftello3_OBJECTS) $(test_ftello3_DEPENDENCIES) $(EXTRA_test_ftello3_DEPENDENCIES)
  107013. @rm -f test-ftello3$(EXEEXT)
  107014. $(AM_V_CCLD)$(LINK) $(test_ftello3_OBJECTS) $(test_ftello3_LDADD) $(LIBS)
  107015. -test-getdtablesize$(EXEEXT): $(test_getdtablesize_OBJECTS) $(test_getdtablesize_DEPENDENCIES)
  107016. +
  107017. +test-getdtablesize$(EXEEXT): $(test_getdtablesize_OBJECTS) $(test_getdtablesize_DEPENDENCIES) $(EXTRA_test_getdtablesize_DEPENDENCIES)
  107018. @rm -f test-getdtablesize$(EXEEXT)
  107019. $(AM_V_CCLD)$(LINK) $(test_getdtablesize_OBJECTS) $(test_getdtablesize_LDADD) $(LIBS)
  107020. -test-getopt$(EXEEXT): $(test_getopt_OBJECTS) $(test_getopt_DEPENDENCIES)
  107021. +
  107022. +test-getopt$(EXEEXT): $(test_getopt_OBJECTS) $(test_getopt_DEPENDENCIES) $(EXTRA_test_getopt_DEPENDENCIES)
  107023. @rm -f test-getopt$(EXEEXT)
  107024. $(AM_V_CCLD)$(LINK) $(test_getopt_OBJECTS) $(test_getopt_LDADD) $(LIBS)
  107025. -test-gettimeofday$(EXEEXT): $(test_gettimeofday_OBJECTS) $(test_gettimeofday_DEPENDENCIES)
  107026. +
  107027. +test-gettimeofday$(EXEEXT): $(test_gettimeofday_OBJECTS) $(test_gettimeofday_DEPENDENCIES) $(EXTRA_test_gettimeofday_DEPENDENCIES)
  107028. @rm -f test-gettimeofday$(EXEEXT)
  107029. $(AM_V_CCLD)$(LINK) $(test_gettimeofday_OBJECTS) $(test_gettimeofday_LDADD) $(LIBS)
  107030. -test-ignore-value$(EXEEXT): $(test_ignore_value_OBJECTS) $(test_ignore_value_DEPENDENCIES)
  107031. +
  107032. +test-ignore-value$(EXEEXT): $(test_ignore_value_OBJECTS) $(test_ignore_value_DEPENDENCIES) $(EXTRA_test_ignore_value_DEPENDENCIES)
  107033. @rm -f test-ignore-value$(EXEEXT)
  107034. $(AM_V_CCLD)$(LINK) $(test_ignore_value_OBJECTS) $(test_ignore_value_LDADD) $(LIBS)
  107035. -test-isnand-nolibm$(EXEEXT): $(test_isnand_nolibm_OBJECTS) $(test_isnand_nolibm_DEPENDENCIES)
  107036. +
  107037. +test-isnand-nolibm$(EXEEXT): $(test_isnand_nolibm_OBJECTS) $(test_isnand_nolibm_DEPENDENCIES) $(EXTRA_test_isnand_nolibm_DEPENDENCIES)
  107038. @rm -f test-isnand-nolibm$(EXEEXT)
  107039. $(AM_V_CCLD)$(LINK) $(test_isnand_nolibm_OBJECTS) $(test_isnand_nolibm_LDADD) $(LIBS)
  107040. -test-isnanf-nolibm$(EXEEXT): $(test_isnanf_nolibm_OBJECTS) $(test_isnanf_nolibm_DEPENDENCIES)
  107041. +
  107042. +test-isnanf-nolibm$(EXEEXT): $(test_isnanf_nolibm_OBJECTS) $(test_isnanf_nolibm_DEPENDENCIES) $(EXTRA_test_isnanf_nolibm_DEPENDENCIES)
  107043. @rm -f test-isnanf-nolibm$(EXEEXT)
  107044. $(AM_V_CCLD)$(LINK) $(test_isnanf_nolibm_OBJECTS) $(test_isnanf_nolibm_LDADD) $(LIBS)
  107045. -test-isnanl-nolibm$(EXEEXT): $(test_isnanl_nolibm_OBJECTS) $(test_isnanl_nolibm_DEPENDENCIES)
  107046. +
  107047. +test-isnanl-nolibm$(EXEEXT): $(test_isnanl_nolibm_OBJECTS) $(test_isnanl_nolibm_DEPENDENCIES) $(EXTRA_test_isnanl_nolibm_DEPENDENCIES)
  107048. @rm -f test-isnanl-nolibm$(EXEEXT)
  107049. $(AM_V_CCLD)$(LINK) $(test_isnanl_nolibm_OBJECTS) $(test_isnanl_nolibm_LDADD) $(LIBS)
  107050. -test-langinfo$(EXEEXT): $(test_langinfo_OBJECTS) $(test_langinfo_DEPENDENCIES)
  107051. +
  107052. +test-langinfo$(EXEEXT): $(test_langinfo_OBJECTS) $(test_langinfo_DEPENDENCIES) $(EXTRA_test_langinfo_DEPENDENCIES)
  107053. @rm -f test-langinfo$(EXEEXT)
  107054. $(AM_V_CCLD)$(LINK) $(test_langinfo_OBJECTS) $(test_langinfo_LDADD) $(LIBS)
  107055. -test-langinfo-c++$(EXEEXT): $(test_langinfo_c___OBJECTS) $(test_langinfo_c___DEPENDENCIES)
  107056. +
  107057. +test-langinfo-c++$(EXEEXT): $(test_langinfo_c___OBJECTS) $(test_langinfo_c___DEPENDENCIES) $(EXTRA_test_langinfo_c___DEPENDENCIES)
  107058. @rm -f test-langinfo-c++$(EXEEXT)
  107059. $(AM_V_CXXLD)$(CXXLINK) $(test_langinfo_c___OBJECTS) $(test_langinfo_c___LDADD) $(LIBS)
  107060. -test-link$(EXEEXT): $(test_link_OBJECTS) $(test_link_DEPENDENCIES)
  107061. +
  107062. +test-link$(EXEEXT): $(test_link_OBJECTS) $(test_link_DEPENDENCIES) $(EXTRA_test_link_DEPENDENCIES)
  107063. @rm -f test-link$(EXEEXT)
  107064. $(AM_V_CCLD)$(LINK) $(test_link_OBJECTS) $(test_link_LDADD) $(LIBS)
  107065. -test-linkedhash_list$(EXEEXT): $(test_linkedhash_list_OBJECTS) $(test_linkedhash_list_DEPENDENCIES)
  107066. +
  107067. +test-linkedhash_list$(EXEEXT): $(test_linkedhash_list_OBJECTS) $(test_linkedhash_list_DEPENDENCIES) $(EXTRA_test_linkedhash_list_DEPENDENCIES)
  107068. @rm -f test-linkedhash_list$(EXEEXT)
  107069. $(AM_V_CCLD)$(LINK) $(test_linkedhash_list_OBJECTS) $(test_linkedhash_list_LDADD) $(LIBS)
  107070. -test-locale$(EXEEXT): $(test_locale_OBJECTS) $(test_locale_DEPENDENCIES)
  107071. +
  107072. +test-locale$(EXEEXT): $(test_locale_OBJECTS) $(test_locale_DEPENDENCIES) $(EXTRA_test_locale_DEPENDENCIES)
  107073. @rm -f test-locale$(EXEEXT)
  107074. $(AM_V_CCLD)$(LINK) $(test_locale_OBJECTS) $(test_locale_LDADD) $(LIBS)
  107075. -test-locale-c++$(EXEEXT): $(test_locale_c___OBJECTS) $(test_locale_c___DEPENDENCIES)
  107076. +
  107077. +test-locale-c++$(EXEEXT): $(test_locale_c___OBJECTS) $(test_locale_c___DEPENDENCIES) $(EXTRA_test_locale_c___DEPENDENCIES)
  107078. @rm -f test-locale-c++$(EXEEXT)
  107079. $(AM_V_CXXLD)$(CXXLINK) $(test_locale_c___OBJECTS) $(test_locale_c___LDADD) $(LIBS)
  107080. -test-localename$(EXEEXT): $(test_localename_OBJECTS) $(test_localename_DEPENDENCIES)
  107081. +
  107082. +test-localename$(EXEEXT): $(test_localename_OBJECTS) $(test_localename_DEPENDENCIES) $(EXTRA_test_localename_DEPENDENCIES)
  107083. @rm -f test-localename$(EXEEXT)
  107084. $(AM_V_CCLD)$(LINK) $(test_localename_OBJECTS) $(test_localename_LDADD) $(LIBS)
  107085. -test-lseek$(EXEEXT): $(test_lseek_OBJECTS) $(test_lseek_DEPENDENCIES)
  107086. +
  107087. +test-lseek$(EXEEXT): $(test_lseek_OBJECTS) $(test_lseek_DEPENDENCIES) $(EXTRA_test_lseek_DEPENDENCIES)
  107088. @rm -f test-lseek$(EXEEXT)
  107089. $(AM_V_CCLD)$(LINK) $(test_lseek_OBJECTS) $(test_lseek_LDADD) $(LIBS)
  107090. -test-lstat$(EXEEXT): $(test_lstat_OBJECTS) $(test_lstat_DEPENDENCIES)
  107091. +
  107092. +test-lstat$(EXEEXT): $(test_lstat_OBJECTS) $(test_lstat_DEPENDENCIES) $(EXTRA_test_lstat_DEPENDENCIES)
  107093. @rm -f test-lstat$(EXEEXT)
  107094. $(AM_V_CCLD)$(LINK) $(test_lstat_OBJECTS) $(test_lstat_LDADD) $(LIBS)
  107095. -test-malloc-gnu$(EXEEXT): $(test_malloc_gnu_OBJECTS) $(test_malloc_gnu_DEPENDENCIES)
  107096. +
  107097. +test-malloc-gnu$(EXEEXT): $(test_malloc_gnu_OBJECTS) $(test_malloc_gnu_DEPENDENCIES) $(EXTRA_test_malloc_gnu_DEPENDENCIES)
  107098. @rm -f test-malloc-gnu$(EXEEXT)
  107099. $(AM_V_CCLD)$(LINK) $(test_malloc_gnu_OBJECTS) $(test_malloc_gnu_LDADD) $(LIBS)
  107100. -test-malloca$(EXEEXT): $(test_malloca_OBJECTS) $(test_malloca_DEPENDENCIES)
  107101. +
  107102. +test-malloca$(EXEEXT): $(test_malloca_OBJECTS) $(test_malloca_DEPENDENCIES) $(EXTRA_test_malloca_DEPENDENCIES)
  107103. @rm -f test-malloca$(EXEEXT)
  107104. $(AM_V_CCLD)$(LINK) $(test_malloca_OBJECTS) $(test_malloca_LDADD) $(LIBS)
  107105. -test-math$(EXEEXT): $(test_math_OBJECTS) $(test_math_DEPENDENCIES)
  107106. +
  107107. +test-math$(EXEEXT): $(test_math_OBJECTS) $(test_math_DEPENDENCIES) $(EXTRA_test_math_DEPENDENCIES)
  107108. @rm -f test-math$(EXEEXT)
  107109. $(AM_V_CCLD)$(LINK) $(test_math_OBJECTS) $(test_math_LDADD) $(LIBS)
  107110. -test-math-c++$(EXEEXT): $(test_math_c___OBJECTS) $(test_math_c___DEPENDENCIES)
  107111. +
  107112. +test-math-c++$(EXEEXT): $(test_math_c___OBJECTS) $(test_math_c___DEPENDENCIES) $(EXTRA_test_math_c___DEPENDENCIES)
  107113. @rm -f test-math-c++$(EXEEXT)
  107114. $(AM_V_CXXLD)$(CXXLINK) $(test_math_c___OBJECTS) $(test_math_c___LDADD) $(LIBS)
  107115. -test-mbrtowc$(EXEEXT): $(test_mbrtowc_OBJECTS) $(test_mbrtowc_DEPENDENCIES)
  107116. +
  107117. +test-mbrtowc$(EXEEXT): $(test_mbrtowc_OBJECTS) $(test_mbrtowc_DEPENDENCIES) $(EXTRA_test_mbrtowc_DEPENDENCIES)
  107118. @rm -f test-mbrtowc$(EXEEXT)
  107119. $(AM_V_CCLD)$(LINK) $(test_mbrtowc_OBJECTS) $(test_mbrtowc_LDADD) $(LIBS)
  107120. -test-mbrtowc-w32$(EXEEXT): $(test_mbrtowc_w32_OBJECTS) $(test_mbrtowc_w32_DEPENDENCIES)
  107121. +
  107122. +test-mbrtowc-w32$(EXEEXT): $(test_mbrtowc_w32_OBJECTS) $(test_mbrtowc_w32_DEPENDENCIES) $(EXTRA_test_mbrtowc_w32_DEPENDENCIES)
  107123. @rm -f test-mbrtowc-w32$(EXEEXT)
  107124. $(AM_V_CCLD)$(LINK) $(test_mbrtowc_w32_OBJECTS) $(test_mbrtowc_w32_LDADD) $(LIBS)
  107125. -test-mbsinit$(EXEEXT): $(test_mbsinit_OBJECTS) $(test_mbsinit_DEPENDENCIES)
  107126. +
  107127. +test-mbsinit$(EXEEXT): $(test_mbsinit_OBJECTS) $(test_mbsinit_DEPENDENCIES) $(EXTRA_test_mbsinit_DEPENDENCIES)
  107128. @rm -f test-mbsinit$(EXEEXT)
  107129. $(AM_V_CCLD)$(LINK) $(test_mbsinit_OBJECTS) $(test_mbsinit_LDADD) $(LIBS)
  107130. -test-memchr$(EXEEXT): $(test_memchr_OBJECTS) $(test_memchr_DEPENDENCIES)
  107131. +
  107132. +test-memchr$(EXEEXT): $(test_memchr_OBJECTS) $(test_memchr_DEPENDENCIES) $(EXTRA_test_memchr_DEPENDENCIES)
  107133. @rm -f test-memchr$(EXEEXT)
  107134. $(AM_V_CCLD)$(LINK) $(test_memchr_OBJECTS) $(test_memchr_LDADD) $(LIBS)
  107135. -test-memchr2$(EXEEXT): $(test_memchr2_OBJECTS) $(test_memchr2_DEPENDENCIES)
  107136. +
  107137. +test-memchr2$(EXEEXT): $(test_memchr2_OBJECTS) $(test_memchr2_DEPENDENCIES) $(EXTRA_test_memchr2_DEPENDENCIES)
  107138. @rm -f test-memchr2$(EXEEXT)
  107139. $(AM_V_CCLD)$(LINK) $(test_memchr2_OBJECTS) $(test_memchr2_LDADD) $(LIBS)
  107140. -test-nl_langinfo$(EXEEXT): $(test_nl_langinfo_OBJECTS) $(test_nl_langinfo_DEPENDENCIES)
  107141. +
  107142. +test-nl_langinfo$(EXEEXT): $(test_nl_langinfo_OBJECTS) $(test_nl_langinfo_DEPENDENCIES) $(EXTRA_test_nl_langinfo_DEPENDENCIES)
  107143. @rm -f test-nl_langinfo$(EXEEXT)
  107144. $(AM_V_CCLD)$(LINK) $(test_nl_langinfo_OBJECTS) $(test_nl_langinfo_LDADD) $(LIBS)
  107145. -test-open$(EXEEXT): $(test_open_OBJECTS) $(test_open_DEPENDENCIES)
  107146. +
  107147. +test-open$(EXEEXT): $(test_open_OBJECTS) $(test_open_DEPENDENCIES) $(EXTRA_test_open_DEPENDENCIES)
  107148. @rm -f test-open$(EXEEXT)
  107149. $(AM_V_CCLD)$(LINK) $(test_open_OBJECTS) $(test_open_LDADD) $(LIBS)
  107150. -test-pipe2$(EXEEXT): $(test_pipe2_OBJECTS) $(test_pipe2_DEPENDENCIES)
  107151. +
  107152. +test-pipe2$(EXEEXT): $(test_pipe2_OBJECTS) $(test_pipe2_DEPENDENCIES) $(EXTRA_test_pipe2_DEPENDENCIES)
  107153. @rm -f test-pipe2$(EXEEXT)
  107154. $(AM_V_CCLD)$(LINK) $(test_pipe2_OBJECTS) $(test_pipe2_LDADD) $(LIBS)
  107155. -test-posix_spawn1$(EXEEXT): $(test_posix_spawn1_OBJECTS) $(test_posix_spawn1_DEPENDENCIES)
  107156. +
  107157. +test-posix_spawn1$(EXEEXT): $(test_posix_spawn1_OBJECTS) $(test_posix_spawn1_DEPENDENCIES) $(EXTRA_test_posix_spawn1_DEPENDENCIES)
  107158. @rm -f test-posix_spawn1$(EXEEXT)
  107159. $(AM_V_CCLD)$(LINK) $(test_posix_spawn1_OBJECTS) $(test_posix_spawn1_LDADD) $(LIBS)
  107160. -test-posix_spawn2$(EXEEXT): $(test_posix_spawn2_OBJECTS) $(test_posix_spawn2_DEPENDENCIES)
  107161. +
  107162. +test-posix_spawn2$(EXEEXT): $(test_posix_spawn2_OBJECTS) $(test_posix_spawn2_DEPENDENCIES) $(EXTRA_test_posix_spawn2_DEPENDENCIES)
  107163. @rm -f test-posix_spawn2$(EXEEXT)
  107164. $(AM_V_CCLD)$(LINK) $(test_posix_spawn2_OBJECTS) $(test_posix_spawn2_LDADD) $(LIBS)
  107165. -test-printf-frexp$(EXEEXT): $(test_printf_frexp_OBJECTS) $(test_printf_frexp_DEPENDENCIES)
  107166. +
  107167. +test-printf-frexp$(EXEEXT): $(test_printf_frexp_OBJECTS) $(test_printf_frexp_DEPENDENCIES) $(EXTRA_test_printf_frexp_DEPENDENCIES)
  107168. @rm -f test-printf-frexp$(EXEEXT)
  107169. $(AM_V_CCLD)$(LINK) $(test_printf_frexp_OBJECTS) $(test_printf_frexp_LDADD) $(LIBS)
  107170. -test-printf-frexpl$(EXEEXT): $(test_printf_frexpl_OBJECTS) $(test_printf_frexpl_DEPENDENCIES)
  107171. +
  107172. +test-printf-frexpl$(EXEEXT): $(test_printf_frexpl_OBJECTS) $(test_printf_frexpl_DEPENDENCIES) $(EXTRA_test_printf_frexpl_DEPENDENCIES)
  107173. @rm -f test-printf-frexpl$(EXEEXT)
  107174. $(AM_V_CCLD)$(LINK) $(test_printf_frexpl_OBJECTS) $(test_printf_frexpl_LDADD) $(LIBS)
  107175. -test-quotearg-simple$(EXEEXT): $(test_quotearg_simple_OBJECTS) $(test_quotearg_simple_DEPENDENCIES)
  107176. +
  107177. +test-quotearg-simple$(EXEEXT): $(test_quotearg_simple_OBJECTS) $(test_quotearg_simple_DEPENDENCIES) $(EXTRA_test_quotearg_simple_DEPENDENCIES)
  107178. @rm -f test-quotearg-simple$(EXEEXT)
  107179. $(AM_V_CCLD)$(LINK) $(test_quotearg_simple_OBJECTS) $(test_quotearg_simple_LDADD) $(LIBS)
  107180. -test-rawmemchr$(EXEEXT): $(test_rawmemchr_OBJECTS) $(test_rawmemchr_DEPENDENCIES)
  107181. +
  107182. +test-rawmemchr$(EXEEXT): $(test_rawmemchr_OBJECTS) $(test_rawmemchr_DEPENDENCIES) $(EXTRA_test_rawmemchr_DEPENDENCIES)
  107183. @rm -f test-rawmemchr$(EXEEXT)
  107184. $(AM_V_CCLD)$(LINK) $(test_rawmemchr_OBJECTS) $(test_rawmemchr_LDADD) $(LIBS)
  107185. -test-readlink$(EXEEXT): $(test_readlink_OBJECTS) $(test_readlink_DEPENDENCIES)
  107186. +
  107187. +test-readlink$(EXEEXT): $(test_readlink_OBJECTS) $(test_readlink_DEPENDENCIES) $(EXTRA_test_readlink_DEPENDENCIES)
  107188. @rm -f test-readlink$(EXEEXT)
  107189. $(AM_V_CCLD)$(LINK) $(test_readlink_OBJECTS) $(test_readlink_LDADD) $(LIBS)
  107190. -test-rename$(EXEEXT): $(test_rename_OBJECTS) $(test_rename_DEPENDENCIES)
  107191. +
  107192. +test-rename$(EXEEXT): $(test_rename_OBJECTS) $(test_rename_DEPENDENCIES) $(EXTRA_test_rename_DEPENDENCIES)
  107193. @rm -f test-rename$(EXEEXT)
  107194. $(AM_V_CCLD)$(LINK) $(test_rename_OBJECTS) $(test_rename_LDADD) $(LIBS)
  107195. -test-rmdir$(EXEEXT): $(test_rmdir_OBJECTS) $(test_rmdir_DEPENDENCIES)
  107196. +
  107197. +test-rmdir$(EXEEXT): $(test_rmdir_OBJECTS) $(test_rmdir_DEPENDENCIES) $(EXTRA_test_rmdir_DEPENDENCIES)
  107198. @rm -f test-rmdir$(EXEEXT)
  107199. $(AM_V_CCLD)$(LINK) $(test_rmdir_OBJECTS) $(test_rmdir_LDADD) $(LIBS)
  107200. -test-sched$(EXEEXT): $(test_sched_OBJECTS) $(test_sched_DEPENDENCIES)
  107201. +
  107202. +test-sched$(EXEEXT): $(test_sched_OBJECTS) $(test_sched_DEPENDENCIES) $(EXTRA_test_sched_DEPENDENCIES)
  107203. @rm -f test-sched$(EXEEXT)
  107204. $(AM_V_CCLD)$(LINK) $(test_sched_OBJECTS) $(test_sched_LDADD) $(LIBS)
  107205. -test-setenv$(EXEEXT): $(test_setenv_OBJECTS) $(test_setenv_DEPENDENCIES)
  107206. +
  107207. +test-setenv$(EXEEXT): $(test_setenv_OBJECTS) $(test_setenv_DEPENDENCIES) $(EXTRA_test_setenv_DEPENDENCIES)
  107208. @rm -f test-setenv$(EXEEXT)
  107209. $(AM_V_CCLD)$(LINK) $(test_setenv_OBJECTS) $(test_setenv_LDADD) $(LIBS)
  107210. -test-setlocale1$(EXEEXT): $(test_setlocale1_OBJECTS) $(test_setlocale1_DEPENDENCIES)
  107211. +
  107212. +test-setlocale1$(EXEEXT): $(test_setlocale1_OBJECTS) $(test_setlocale1_DEPENDENCIES) $(EXTRA_test_setlocale1_DEPENDENCIES)
  107213. @rm -f test-setlocale1$(EXEEXT)
  107214. $(AM_V_CCLD)$(LINK) $(test_setlocale1_OBJECTS) $(test_setlocale1_LDADD) $(LIBS)
  107215. -test-setlocale2$(EXEEXT): $(test_setlocale2_OBJECTS) $(test_setlocale2_DEPENDENCIES)
  107216. +
  107217. +test-setlocale2$(EXEEXT): $(test_setlocale2_OBJECTS) $(test_setlocale2_DEPENDENCIES) $(EXTRA_test_setlocale2_DEPENDENCIES)
  107218. @rm -f test-setlocale2$(EXEEXT)
  107219. $(AM_V_CCLD)$(LINK) $(test_setlocale2_OBJECTS) $(test_setlocale2_LDADD) $(LIBS)
  107220. -test-sigaction$(EXEEXT): $(test_sigaction_OBJECTS) $(test_sigaction_DEPENDENCIES)
  107221. +
  107222. +test-sigaction$(EXEEXT): $(test_sigaction_OBJECTS) $(test_sigaction_DEPENDENCIES) $(EXTRA_test_sigaction_DEPENDENCIES)
  107223. @rm -f test-sigaction$(EXEEXT)
  107224. $(AM_V_CCLD)$(LINK) $(test_sigaction_OBJECTS) $(test_sigaction_LDADD) $(LIBS)
  107225. -test-signal$(EXEEXT): $(test_signal_OBJECTS) $(test_signal_DEPENDENCIES)
  107226. +
  107227. +test-signal$(EXEEXT): $(test_signal_OBJECTS) $(test_signal_DEPENDENCIES) $(EXTRA_test_signal_DEPENDENCIES)
  107228. @rm -f test-signal$(EXEEXT)
  107229. $(AM_V_CCLD)$(LINK) $(test_signal_OBJECTS) $(test_signal_LDADD) $(LIBS)
  107230. -test-signal-c++$(EXEEXT): $(test_signal_c___OBJECTS) $(test_signal_c___DEPENDENCIES)
  107231. +
  107232. +test-signal-c++$(EXEEXT): $(test_signal_c___OBJECTS) $(test_signal_c___DEPENDENCIES) $(EXTRA_test_signal_c___DEPENDENCIES)
  107233. @rm -f test-signal-c++$(EXEEXT)
  107234. $(AM_V_CXXLD)$(CXXLINK) $(test_signal_c___OBJECTS) $(test_signal_c___LDADD) $(LIBS)
  107235. -test-signbit$(EXEEXT): $(test_signbit_OBJECTS) $(test_signbit_DEPENDENCIES)
  107236. +
  107237. +test-signbit$(EXEEXT): $(test_signbit_OBJECTS) $(test_signbit_DEPENDENCIES) $(EXTRA_test_signbit_DEPENDENCIES)
  107238. @rm -f test-signbit$(EXEEXT)
  107239. $(AM_V_CCLD)$(LINK) $(test_signbit_OBJECTS) $(test_signbit_LDADD) $(LIBS)
  107240. -test-snprintf$(EXEEXT): $(test_snprintf_OBJECTS) $(test_snprintf_DEPENDENCIES)
  107241. +
  107242. +test-snprintf$(EXEEXT): $(test_snprintf_OBJECTS) $(test_snprintf_DEPENDENCIES) $(EXTRA_test_snprintf_DEPENDENCIES)
  107243. @rm -f test-snprintf$(EXEEXT)
  107244. $(AM_V_CCLD)$(LINK) $(test_snprintf_OBJECTS) $(test_snprintf_LDADD) $(LIBS)
  107245. -test-spawn$(EXEEXT): $(test_spawn_OBJECTS) $(test_spawn_DEPENDENCIES)
  107246. +
  107247. +test-spawn$(EXEEXT): $(test_spawn_OBJECTS) $(test_spawn_DEPENDENCIES) $(EXTRA_test_spawn_DEPENDENCIES)
  107248. @rm -f test-spawn$(EXEEXT)
  107249. $(AM_V_CCLD)$(LINK) $(test_spawn_OBJECTS) $(test_spawn_LDADD) $(LIBS)
  107250. -test-spawn-c++$(EXEEXT): $(test_spawn_c___OBJECTS) $(test_spawn_c___DEPENDENCIES)
  107251. +
  107252. +test-spawn-c++$(EXEEXT): $(test_spawn_c___OBJECTS) $(test_spawn_c___DEPENDENCIES) $(EXTRA_test_spawn_c___DEPENDENCIES)
  107253. @rm -f test-spawn-c++$(EXEEXT)
  107254. $(AM_V_CXXLD)$(CXXLINK) $(test_spawn_c___OBJECTS) $(test_spawn_c___LDADD) $(LIBS)
  107255. -test-spawn-pipe$(EXEEXT): $(test_spawn_pipe_OBJECTS) $(test_spawn_pipe_DEPENDENCIES)
  107256. +
  107257. +test-spawn-pipe$(EXEEXT): $(test_spawn_pipe_OBJECTS) $(test_spawn_pipe_DEPENDENCIES) $(EXTRA_test_spawn_pipe_DEPENDENCIES)
  107258. @rm -f test-spawn-pipe$(EXEEXT)
  107259. $(AM_V_CCLD)$(LINK) $(test_spawn_pipe_OBJECTS) $(test_spawn_pipe_LDADD) $(LIBS)
  107260. -test-stat$(EXEEXT): $(test_stat_OBJECTS) $(test_stat_DEPENDENCIES)
  107261. +
  107262. +test-stat$(EXEEXT): $(test_stat_OBJECTS) $(test_stat_DEPENDENCIES) $(EXTRA_test_stat_DEPENDENCIES)
  107263. @rm -f test-stat$(EXEEXT)
  107264. $(AM_V_CCLD)$(LINK) $(test_stat_OBJECTS) $(test_stat_LDADD) $(LIBS)
  107265. -test-stdbool$(EXEEXT): $(test_stdbool_OBJECTS) $(test_stdbool_DEPENDENCIES)
  107266. +
  107267. +test-stdbool$(EXEEXT): $(test_stdbool_OBJECTS) $(test_stdbool_DEPENDENCIES) $(EXTRA_test_stdbool_DEPENDENCIES)
  107268. @rm -f test-stdbool$(EXEEXT)
  107269. $(AM_V_CCLD)$(LINK) $(test_stdbool_OBJECTS) $(test_stdbool_LDADD) $(LIBS)
  107270. -test-stddef$(EXEEXT): $(test_stddef_OBJECTS) $(test_stddef_DEPENDENCIES)
  107271. +
  107272. +test-stddef$(EXEEXT): $(test_stddef_OBJECTS) $(test_stddef_DEPENDENCIES) $(EXTRA_test_stddef_DEPENDENCIES)
  107273. @rm -f test-stddef$(EXEEXT)
  107274. $(AM_V_CCLD)$(LINK) $(test_stddef_OBJECTS) $(test_stddef_LDADD) $(LIBS)
  107275. -test-stdint$(EXEEXT): $(test_stdint_OBJECTS) $(test_stdint_DEPENDENCIES)
  107276. +
  107277. +test-stdint$(EXEEXT): $(test_stdint_OBJECTS) $(test_stdint_DEPENDENCIES) $(EXTRA_test_stdint_DEPENDENCIES)
  107278. @rm -f test-stdint$(EXEEXT)
  107279. $(AM_V_CCLD)$(LINK) $(test_stdint_OBJECTS) $(test_stdint_LDADD) $(LIBS)
  107280. -test-stdio$(EXEEXT): $(test_stdio_OBJECTS) $(test_stdio_DEPENDENCIES)
  107281. +
  107282. +test-stdio$(EXEEXT): $(test_stdio_OBJECTS) $(test_stdio_DEPENDENCIES) $(EXTRA_test_stdio_DEPENDENCIES)
  107283. @rm -f test-stdio$(EXEEXT)
  107284. $(AM_V_CCLD)$(LINK) $(test_stdio_OBJECTS) $(test_stdio_LDADD) $(LIBS)
  107285. -test-stdio-c++$(EXEEXT): $(test_stdio_c___OBJECTS) $(test_stdio_c___DEPENDENCIES)
  107286. +
  107287. +test-stdio-c++$(EXEEXT): $(test_stdio_c___OBJECTS) $(test_stdio_c___DEPENDENCIES) $(EXTRA_test_stdio_c___DEPENDENCIES)
  107288. @rm -f test-stdio-c++$(EXEEXT)
  107289. $(AM_V_CXXLD)$(CXXLINK) $(test_stdio_c___OBJECTS) $(test_stdio_c___LDADD) $(LIBS)
  107290. -test-stdlib$(EXEEXT): $(test_stdlib_OBJECTS) $(test_stdlib_DEPENDENCIES)
  107291. +
  107292. +test-stdlib$(EXEEXT): $(test_stdlib_OBJECTS) $(test_stdlib_DEPENDENCIES) $(EXTRA_test_stdlib_DEPENDENCIES)
  107293. @rm -f test-stdlib$(EXEEXT)
  107294. $(AM_V_CCLD)$(LINK) $(test_stdlib_OBJECTS) $(test_stdlib_LDADD) $(LIBS)
  107295. -test-stdlib-c++$(EXEEXT): $(test_stdlib_c___OBJECTS) $(test_stdlib_c___DEPENDENCIES)
  107296. +
  107297. +test-stdlib-c++$(EXEEXT): $(test_stdlib_c___OBJECTS) $(test_stdlib_c___DEPENDENCIES) $(EXTRA_test_stdlib_c___DEPENDENCIES)
  107298. @rm -f test-stdlib-c++$(EXEEXT)
  107299. $(AM_V_CXXLD)$(CXXLINK) $(test_stdlib_c___OBJECTS) $(test_stdlib_c___LDADD) $(LIBS)
  107300. -test-strchrnul$(EXEEXT): $(test_strchrnul_OBJECTS) $(test_strchrnul_DEPENDENCIES)
  107301. +
  107302. +test-strchrnul$(EXEEXT): $(test_strchrnul_OBJECTS) $(test_strchrnul_DEPENDENCIES) $(EXTRA_test_strchrnul_DEPENDENCIES)
  107303. @rm -f test-strchrnul$(EXEEXT)
  107304. $(AM_V_CCLD)$(LINK) $(test_strchrnul_OBJECTS) $(test_strchrnul_LDADD) $(LIBS)
  107305. -test-strerror$(EXEEXT): $(test_strerror_OBJECTS) $(test_strerror_DEPENDENCIES)
  107306. +
  107307. +test-strerror$(EXEEXT): $(test_strerror_OBJECTS) $(test_strerror_DEPENDENCIES) $(EXTRA_test_strerror_DEPENDENCIES)
  107308. @rm -f test-strerror$(EXEEXT)
  107309. $(AM_V_CCLD)$(LINK) $(test_strerror_OBJECTS) $(test_strerror_LDADD) $(LIBS)
  107310. -test-string$(EXEEXT): $(test_string_OBJECTS) $(test_string_DEPENDENCIES)
  107311. +
  107312. +test-string$(EXEEXT): $(test_string_OBJECTS) $(test_string_DEPENDENCIES) $(EXTRA_test_string_DEPENDENCIES)
  107313. @rm -f test-string$(EXEEXT)
  107314. $(AM_V_CCLD)$(LINK) $(test_string_OBJECTS) $(test_string_LDADD) $(LIBS)
  107315. -test-string-c++$(EXEEXT): $(test_string_c___OBJECTS) $(test_string_c___DEPENDENCIES)
  107316. +
  107317. +test-string-c++$(EXEEXT): $(test_string_c___OBJECTS) $(test_string_c___DEPENDENCIES) $(EXTRA_test_string_c___DEPENDENCIES)
  107318. @rm -f test-string-c++$(EXEEXT)
  107319. $(AM_V_CXXLD)$(CXXLINK) $(test_string_c___OBJECTS) $(test_string_c___LDADD) $(LIBS)
  107320. -test-strnlen$(EXEEXT): $(test_strnlen_OBJECTS) $(test_strnlen_DEPENDENCIES)
  107321. +
  107322. +test-strnlen$(EXEEXT): $(test_strnlen_OBJECTS) $(test_strnlen_DEPENDENCIES) $(EXTRA_test_strnlen_DEPENDENCIES)
  107323. @rm -f test-strnlen$(EXEEXT)
  107324. $(AM_V_CCLD)$(LINK) $(test_strnlen_OBJECTS) $(test_strnlen_LDADD) $(LIBS)
  107325. -test-strsignal$(EXEEXT): $(test_strsignal_OBJECTS) $(test_strsignal_DEPENDENCIES)
  107326. +
  107327. +test-strsignal$(EXEEXT): $(test_strsignal_OBJECTS) $(test_strsignal_DEPENDENCIES) $(EXTRA_test_strsignal_DEPENDENCIES)
  107328. @rm -f test-strsignal$(EXEEXT)
  107329. $(AM_V_CCLD)$(LINK) $(test_strsignal_OBJECTS) $(test_strsignal_LDADD) $(LIBS)
  107330. -test-strstr$(EXEEXT): $(test_strstr_OBJECTS) $(test_strstr_DEPENDENCIES)
  107331. +
  107332. +test-strstr$(EXEEXT): $(test_strstr_OBJECTS) $(test_strstr_DEPENDENCIES) $(EXTRA_test_strstr_DEPENDENCIES)
  107333. @rm -f test-strstr$(EXEEXT)
  107334. $(AM_V_CCLD)$(LINK) $(test_strstr_OBJECTS) $(test_strstr_LDADD) $(LIBS)
  107335. -test-strtod$(EXEEXT): $(test_strtod_OBJECTS) $(test_strtod_DEPENDENCIES)
  107336. +
  107337. +test-strtod$(EXEEXT): $(test_strtod_OBJECTS) $(test_strtod_DEPENDENCIES) $(EXTRA_test_strtod_DEPENDENCIES)
  107338. @rm -f test-strtod$(EXEEXT)
  107339. $(AM_V_CCLD)$(LINK) $(test_strtod_OBJECTS) $(test_strtod_LDADD) $(LIBS)
  107340. -test-symlink$(EXEEXT): $(test_symlink_OBJECTS) $(test_symlink_DEPENDENCIES)
  107341. +
  107342. +test-symlink$(EXEEXT): $(test_symlink_OBJECTS) $(test_symlink_DEPENDENCIES) $(EXTRA_test_symlink_DEPENDENCIES)
  107343. @rm -f test-symlink$(EXEEXT)
  107344. $(AM_V_CCLD)$(LINK) $(test_symlink_OBJECTS) $(test_symlink_LDADD) $(LIBS)
  107345. -test-sys_stat$(EXEEXT): $(test_sys_stat_OBJECTS) $(test_sys_stat_DEPENDENCIES)
  107346. +
  107347. +test-sys_stat$(EXEEXT): $(test_sys_stat_OBJECTS) $(test_sys_stat_DEPENDENCIES) $(EXTRA_test_sys_stat_DEPENDENCIES)
  107348. @rm -f test-sys_stat$(EXEEXT)
  107349. $(AM_V_CCLD)$(LINK) $(test_sys_stat_OBJECTS) $(test_sys_stat_LDADD) $(LIBS)
  107350. -test-sys_stat-c++$(EXEEXT): $(test_sys_stat_c___OBJECTS) $(test_sys_stat_c___DEPENDENCIES)
  107351. +
  107352. +test-sys_stat-c++$(EXEEXT): $(test_sys_stat_c___OBJECTS) $(test_sys_stat_c___DEPENDENCIES) $(EXTRA_test_sys_stat_c___DEPENDENCIES)
  107353. @rm -f test-sys_stat-c++$(EXEEXT)
  107354. $(AM_V_CXXLD)$(CXXLINK) $(test_sys_stat_c___OBJECTS) $(test_sys_stat_c___LDADD) $(LIBS)
  107355. -test-sys_time$(EXEEXT): $(test_sys_time_OBJECTS) $(test_sys_time_DEPENDENCIES)
  107356. +
  107357. +test-sys_time$(EXEEXT): $(test_sys_time_OBJECTS) $(test_sys_time_DEPENDENCIES) $(EXTRA_test_sys_time_DEPENDENCIES)
  107358. @rm -f test-sys_time$(EXEEXT)
  107359. $(AM_V_CCLD)$(LINK) $(test_sys_time_OBJECTS) $(test_sys_time_LDADD) $(LIBS)
  107360. -test-sys_time-c++$(EXEEXT): $(test_sys_time_c___OBJECTS) $(test_sys_time_c___DEPENDENCIES)
  107361. +
  107362. +test-sys_time-c++$(EXEEXT): $(test_sys_time_c___OBJECTS) $(test_sys_time_c___DEPENDENCIES) $(EXTRA_test_sys_time_c___DEPENDENCIES)
  107363. @rm -f test-sys_time-c++$(EXEEXT)
  107364. $(AM_V_CXXLD)$(CXXLINK) $(test_sys_time_c___OBJECTS) $(test_sys_time_c___LDADD) $(LIBS)
  107365. -test-sys_wait$(EXEEXT): $(test_sys_wait_OBJECTS) $(test_sys_wait_DEPENDENCIES)
  107366. +
  107367. +test-sys_wait$(EXEEXT): $(test_sys_wait_OBJECTS) $(test_sys_wait_DEPENDENCIES) $(EXTRA_test_sys_wait_DEPENDENCIES)
  107368. @rm -f test-sys_wait$(EXEEXT)
  107369. $(AM_V_CCLD)$(LINK) $(test_sys_wait_OBJECTS) $(test_sys_wait_LDADD) $(LIBS)
  107370. -test-sys_wait-c++$(EXEEXT): $(test_sys_wait_c___OBJECTS) $(test_sys_wait_c___DEPENDENCIES)
  107371. +
  107372. +test-sys_wait-c++$(EXEEXT): $(test_sys_wait_c___OBJECTS) $(test_sys_wait_c___DEPENDENCIES) $(EXTRA_test_sys_wait_c___DEPENDENCIES)
  107373. @rm -f test-sys_wait-c++$(EXEEXT)
  107374. $(AM_V_CXXLD)$(CXXLINK) $(test_sys_wait_c___OBJECTS) $(test_sys_wait_c___LDADD) $(LIBS)
  107375. -test-time$(EXEEXT): $(test_time_OBJECTS) $(test_time_DEPENDENCIES)
  107376. +
  107377. +test-time$(EXEEXT): $(test_time_OBJECTS) $(test_time_DEPENDENCIES) $(EXTRA_test_time_DEPENDENCIES)
  107378. @rm -f test-time$(EXEEXT)
  107379. $(AM_V_CCLD)$(LINK) $(test_time_OBJECTS) $(test_time_LDADD) $(LIBS)
  107380. -test-time-c++$(EXEEXT): $(test_time_c___OBJECTS) $(test_time_c___DEPENDENCIES)
  107381. +
  107382. +test-time-c++$(EXEEXT): $(test_time_c___OBJECTS) $(test_time_c___DEPENDENCIES) $(EXTRA_test_time_c___DEPENDENCIES)
  107383. @rm -f test-time-c++$(EXEEXT)
  107384. $(AM_V_CXXLD)$(CXXLINK) $(test_time_c___OBJECTS) $(test_time_c___LDADD) $(LIBS)
  107385. -test-unistd$(EXEEXT): $(test_unistd_OBJECTS) $(test_unistd_DEPENDENCIES)
  107386. +
  107387. +test-unistd$(EXEEXT): $(test_unistd_OBJECTS) $(test_unistd_DEPENDENCIES) $(EXTRA_test_unistd_DEPENDENCIES)
  107388. @rm -f test-unistd$(EXEEXT)
  107389. $(AM_V_CCLD)$(LINK) $(test_unistd_OBJECTS) $(test_unistd_LDADD) $(LIBS)
  107390. -test-unistd-c++$(EXEEXT): $(test_unistd_c___OBJECTS) $(test_unistd_c___DEPENDENCIES)
  107391. +
  107392. +test-unistd-c++$(EXEEXT): $(test_unistd_c___OBJECTS) $(test_unistd_c___DEPENDENCIES) $(EXTRA_test_unistd_c___DEPENDENCIES)
  107393. @rm -f test-unistd-c++$(EXEEXT)
  107394. $(AM_V_CXXLD)$(CXXLINK) $(test_unistd_c___OBJECTS) $(test_unistd_c___LDADD) $(LIBS)
  107395. -test-unsetenv$(EXEEXT): $(test_unsetenv_OBJECTS) $(test_unsetenv_DEPENDENCIES)
  107396. +
  107397. +test-unsetenv$(EXEEXT): $(test_unsetenv_OBJECTS) $(test_unsetenv_DEPENDENCIES) $(EXTRA_test_unsetenv_DEPENDENCIES)
  107398. @rm -f test-unsetenv$(EXEEXT)
  107399. $(AM_V_CCLD)$(LINK) $(test_unsetenv_OBJECTS) $(test_unsetenv_LDADD) $(LIBS)
  107400. -test-vasnprintf$(EXEEXT): $(test_vasnprintf_OBJECTS) $(test_vasnprintf_DEPENDENCIES)
  107401. +
  107402. +test-vasnprintf$(EXEEXT): $(test_vasnprintf_OBJECTS) $(test_vasnprintf_DEPENDENCIES) $(EXTRA_test_vasnprintf_DEPENDENCIES)
  107403. @rm -f test-vasnprintf$(EXEEXT)
  107404. $(AM_V_CCLD)$(LINK) $(test_vasnprintf_OBJECTS) $(test_vasnprintf_LDADD) $(LIBS)
  107405. -test-vasprintf$(EXEEXT): $(test_vasprintf_OBJECTS) $(test_vasprintf_DEPENDENCIES)
  107406. +
  107407. +test-vasprintf$(EXEEXT): $(test_vasprintf_OBJECTS) $(test_vasprintf_DEPENDENCIES) $(EXTRA_test_vasprintf_DEPENDENCIES)
  107408. @rm -f test-vasprintf$(EXEEXT)
  107409. $(AM_V_CCLD)$(LINK) $(test_vasprintf_OBJECTS) $(test_vasprintf_LDADD) $(LIBS)
  107410. -test-vasprintf-posix$(EXEEXT): $(test_vasprintf_posix_OBJECTS) $(test_vasprintf_posix_DEPENDENCIES)
  107411. +
  107412. +test-vasprintf-posix$(EXEEXT): $(test_vasprintf_posix_OBJECTS) $(test_vasprintf_posix_DEPENDENCIES) $(EXTRA_test_vasprintf_posix_DEPENDENCIES)
  107413. @rm -f test-vasprintf-posix$(EXEEXT)
  107414. $(AM_V_CCLD)$(LINK) $(test_vasprintf_posix_OBJECTS) $(test_vasprintf_posix_LDADD) $(LIBS)
  107415. -test-verify$(EXEEXT): $(test_verify_OBJECTS) $(test_verify_DEPENDENCIES)
  107416. +
  107417. +test-verify$(EXEEXT): $(test_verify_OBJECTS) $(test_verify_DEPENDENCIES) $(EXTRA_test_verify_DEPENDENCIES)
  107418. @rm -f test-verify$(EXEEXT)
  107419. $(AM_V_CCLD)$(LINK) $(test_verify_OBJECTS) $(test_verify_LDADD) $(LIBS)
  107420. -test-version-etc$(EXEEXT): $(test_version_etc_OBJECTS) $(test_version_etc_DEPENDENCIES)
  107421. +
  107422. +test-version-etc$(EXEEXT): $(test_version_etc_OBJECTS) $(test_version_etc_DEPENDENCIES) $(EXTRA_test_version_etc_DEPENDENCIES)
  107423. @rm -f test-version-etc$(EXEEXT)
  107424. $(AM_V_CCLD)$(LINK) $(test_version_etc_OBJECTS) $(test_version_etc_LDADD) $(LIBS)
  107425. -test-wchar$(EXEEXT): $(test_wchar_OBJECTS) $(test_wchar_DEPENDENCIES)
  107426. +
  107427. +test-wchar$(EXEEXT): $(test_wchar_OBJECTS) $(test_wchar_DEPENDENCIES) $(EXTRA_test_wchar_DEPENDENCIES)
  107428. @rm -f test-wchar$(EXEEXT)
  107429. $(AM_V_CCLD)$(LINK) $(test_wchar_OBJECTS) $(test_wchar_LDADD) $(LIBS)
  107430. -test-wchar-c++$(EXEEXT): $(test_wchar_c___OBJECTS) $(test_wchar_c___DEPENDENCIES)
  107431. +
  107432. +test-wchar-c++$(EXEEXT): $(test_wchar_c___OBJECTS) $(test_wchar_c___DEPENDENCIES) $(EXTRA_test_wchar_c___DEPENDENCIES)
  107433. @rm -f test-wchar-c++$(EXEEXT)
  107434. $(AM_V_CXXLD)$(CXXLINK) $(test_wchar_c___OBJECTS) $(test_wchar_c___LDADD) $(LIBS)
  107435. -test-wcrtomb$(EXEEXT): $(test_wcrtomb_OBJECTS) $(test_wcrtomb_DEPENDENCIES)
  107436. +
  107437. +test-wcrtomb$(EXEEXT): $(test_wcrtomb_OBJECTS) $(test_wcrtomb_DEPENDENCIES) $(EXTRA_test_wcrtomb_DEPENDENCIES)
  107438. @rm -f test-wcrtomb$(EXEEXT)
  107439. $(AM_V_CCLD)$(LINK) $(test_wcrtomb_OBJECTS) $(test_wcrtomb_LDADD) $(LIBS)
  107440. -test-wcrtomb-w32$(EXEEXT): $(test_wcrtomb_w32_OBJECTS) $(test_wcrtomb_w32_DEPENDENCIES)
  107441. +
  107442. +test-wcrtomb-w32$(EXEEXT): $(test_wcrtomb_w32_OBJECTS) $(test_wcrtomb_w32_DEPENDENCIES) $(EXTRA_test_wcrtomb_w32_DEPENDENCIES)
  107443. @rm -f test-wcrtomb-w32$(EXEEXT)
  107444. $(AM_V_CCLD)$(LINK) $(test_wcrtomb_w32_OBJECTS) $(test_wcrtomb_w32_LDADD) $(LIBS)
  107445. -test-wctype-h$(EXEEXT): $(test_wctype_h_OBJECTS) $(test_wctype_h_DEPENDENCIES)
  107446. +
  107447. +test-wctype-h$(EXEEXT): $(test_wctype_h_OBJECTS) $(test_wctype_h_DEPENDENCIES) $(EXTRA_test_wctype_h_DEPENDENCIES)
  107448. @rm -f test-wctype-h$(EXEEXT)
  107449. $(AM_V_CCLD)$(LINK) $(test_wctype_h_OBJECTS) $(test_wctype_h_LDADD) $(LIBS)
  107450. -test-wctype-h-c++$(EXEEXT): $(test_wctype_h_c___OBJECTS) $(test_wctype_h_c___DEPENDENCIES)
  107451. +
  107452. +test-wctype-h-c++$(EXEEXT): $(test_wctype_h_c___OBJECTS) $(test_wctype_h_c___DEPENDENCIES) $(EXTRA_test_wctype_h_c___DEPENDENCIES)
  107453. @rm -f test-wctype-h-c++$(EXEEXT)
  107454. $(AM_V_CXXLD)$(CXXLINK) $(test_wctype_h_c___OBJECTS) $(test_wctype_h_c___LDADD) $(LIBS)
  107455. -test-xalloc-die$(EXEEXT): $(test_xalloc_die_OBJECTS) $(test_xalloc_die_DEPENDENCIES)
  107456. +
  107457. +test-xalloc-die$(EXEEXT): $(test_xalloc_die_OBJECTS) $(test_xalloc_die_DEPENDENCIES) $(EXTRA_test_xalloc_die_DEPENDENCIES)
  107458. @rm -f test-xalloc-die$(EXEEXT)
  107459. $(AM_V_CCLD)$(LINK) $(test_xalloc_die_OBJECTS) $(test_xalloc_die_LDADD) $(LIBS)
  107460. -test-xvasprintf$(EXEEXT): $(test_xvasprintf_OBJECTS) $(test_xvasprintf_DEPENDENCIES)
  107461. +
  107462. +test-xvasprintf$(EXEEXT): $(test_xvasprintf_OBJECTS) $(test_xvasprintf_DEPENDENCIES) $(EXTRA_test_xvasprintf_DEPENDENCIES)
  107463. @rm -f test-xvasprintf$(EXEEXT)
  107464. $(AM_V_CCLD)$(LINK) $(test_xvasprintf_OBJECTS) $(test_xvasprintf_LDADD) $(LIBS)
  107465. @@ -2862,52 +3192,51 @@
  107466. .c.o:
  107467. @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  107468. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  107469. -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  107470. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  107471. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  107472. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  107473. -@am__fastdepCC_FALSE@ $(COMPILE) -c $<
  107474. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
  107475. .c.obj:
  107476. @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  107477. @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  107478. -@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
  107479. -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  107480. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  107481. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  107482. -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
  107483. +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
  107484. .cc.o:
  107485. @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  107486. @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  107487. -@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
  107488. -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  107489. +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  107490. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  107491. -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
  107492. +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
  107493. .cc.obj:
  107494. @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  107495. @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  107496. -@am__fastdepCXX_FALSE@ $(AM_V_CXX) @AM_BACKSLASH@
  107497. -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  107498. +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  107499. @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  107500. -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  107501. +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  107502. # This directory's subdirectories are mostly independent; you can cd
  107503. -# into them and run `make' without going through this Makefile.
  107504. -# To change the values of `make' variables: instead of editing Makefiles,
  107505. -# (1) if the variable is set in `config.status', edit `config.status'
  107506. -# (which will cause the Makefiles to be regenerated when you run `make');
  107507. -# (2) otherwise, pass the desired values on the `make' command line.
  107508. -$(RECURSIVE_TARGETS):
  107509. - @fail= failcom='exit 1'; \
  107510. - for f in x $$MAKEFLAGS; do \
  107511. - case $$f in \
  107512. - *=* | --[!k]*);; \
  107513. - *k*) failcom='fail=yes';; \
  107514. - esac; \
  107515. - done; \
  107516. +# into them and run 'make' without going through this Makefile.
  107517. +# To change the values of 'make' variables: instead of editing Makefiles,
  107518. +# (1) if the variable is set in 'config.status', edit 'config.status'
  107519. +# (which will cause the Makefiles to be regenerated when you run 'make');
  107520. +# (2) otherwise, pass the desired values on the 'make' command line.
  107521. +$(am__recursive_targets):
  107522. + @fail=; \
  107523. + if $(am__make_keepgoing); then \
  107524. + failcom='fail=yes'; \
  107525. + else \
  107526. + failcom='exit 1'; \
  107527. + fi; \
  107528. dot_seen=no; \
  107529. target=`echo $@ | sed s/-recursive//`; \
  107530. - list='$(SUBDIRS)'; for subdir in $$list; do \
  107531. + case "$@" in \
  107532. + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  107533. + *) list='$(SUBDIRS)' ;; \
  107534. + esac; \
  107535. + for subdir in $$list; do \
  107536. echo "Making $$target in $$subdir"; \
  107537. if test "$$subdir" = "."; then \
  107538. dot_seen=yes; \
  107539. @@ -2922,57 +3251,12 @@
  107540. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  107541. fi; test -z "$$fail"
  107542. -$(RECURSIVE_CLEAN_TARGETS):
  107543. - @fail= failcom='exit 1'; \
  107544. - for f in x $$MAKEFLAGS; do \
  107545. - case $$f in \
  107546. - *=* | --[!k]*);; \
  107547. - *k*) failcom='fail=yes';; \
  107548. - esac; \
  107549. - done; \
  107550. - dot_seen=no; \
  107551. - case "$@" in \
  107552. - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  107553. - *) list='$(SUBDIRS)' ;; \
  107554. - esac; \
  107555. - rev=''; for subdir in $$list; do \
  107556. - if test "$$subdir" = "."; then :; else \
  107557. - rev="$$subdir $$rev"; \
  107558. - fi; \
  107559. - done; \
  107560. - rev="$$rev ."; \
  107561. - target=`echo $@ | sed s/-recursive//`; \
  107562. - for subdir in $$rev; do \
  107563. - echo "Making $$target in $$subdir"; \
  107564. - if test "$$subdir" = "."; then \
  107565. - local_target="$$target-am"; \
  107566. - else \
  107567. - local_target="$$target"; \
  107568. - fi; \
  107569. - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  107570. - || eval $$failcom; \
  107571. - done && test -z "$$fail"
  107572. -tags-recursive:
  107573. - list='$(SUBDIRS)'; for subdir in $$list; do \
  107574. - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  107575. - done
  107576. -ctags-recursive:
  107577. - list='$(SUBDIRS)'; for subdir in $$list; do \
  107578. - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  107579. - done
  107580. -
  107581. -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  107582. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  107583. - unique=`for i in $$list; do \
  107584. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  107585. - done | \
  107586. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  107587. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  107588. - mkid -fID $$unique
  107589. -tags: TAGS
  107590. +ID: $(am__tagged_files)
  107591. + $(am__define_uniq_tagged_files); mkid -fID $$unique
  107592. +tags: tags-recursive
  107593. +TAGS: tags
  107594. -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  107595. - $(TAGS_FILES) $(LISP)
  107596. +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  107597. set x; \
  107598. here=`pwd`; \
  107599. if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  107600. @@ -2988,12 +3272,7 @@
  107601. set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  107602. fi; \
  107603. done; \
  107604. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  107605. - unique=`for i in $$list; do \
  107606. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  107607. - done | \
  107608. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  107609. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  107610. + $(am__define_uniq_tagged_files); \
  107611. shift; \
  107612. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  107613. test -n "$$unique" || unique=$$empty_fix; \
  107614. @@ -3005,15 +3284,11 @@
  107615. $$unique; \
  107616. fi; \
  107617. fi
  107618. -ctags: CTAGS
  107619. -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  107620. - $(TAGS_FILES) $(LISP)
  107621. - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  107622. - unique=`for i in $$list; do \
  107623. - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  107624. - done | \
  107625. - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  107626. - END { if (nonempty) { for (i in files) print i; }; }'`; \
  107627. +ctags: ctags-recursive
  107628. +
  107629. +CTAGS: ctags
  107630. +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  107631. + $(am__define_uniq_tagged_files); \
  107632. test -z "$(CTAGS_ARGS)$$unique" \
  107633. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  107634. $$unique
  107635. @@ -3022,458 +3297,1202 @@
  107636. here=`$(am__cd) $(top_builddir) && pwd` \
  107637. && $(am__cd) $(top_srcdir) \
  107638. && gtags -i $(GTAGS_ARGS) "$$here"
  107639. +cscopelist: cscopelist-recursive
  107640. +
  107641. +cscopelist-am: $(am__tagged_files)
  107642. + list='$(am__tagged_files)'; \
  107643. + case "$(srcdir)" in \
  107644. + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  107645. + *) sdir=$(subdir)/$(srcdir) ;; \
  107646. + esac; \
  107647. + for i in $$list; do \
  107648. + if test -f "$$i"; then \
  107649. + echo "$(subdir)/$$i"; \
  107650. + else \
  107651. + echo "$$sdir/$$i"; \
  107652. + fi; \
  107653. + done >> $(top_builddir)/cscope.files
  107654. distclean-tags:
  107655. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  107656. -# To be appended to the command running the test. Handle the stdout
  107657. -# and stderr redirection, and catch the exit status.
  107658. -am__check_post = \
  107659. ->$@-t 2>&1; \
  107660. -estatus=$$?; \
  107661. -if test -n '$(DISABLE_HARD_ERRORS)' \
  107662. - && test $$estatus -eq 99; then \
  107663. - estatus=1; \
  107664. -fi; \
  107665. -TERM=$$__SAVED_TERM; export TERM; \
  107666. -$(am__tty_colors); \
  107667. -xfailed=PASS; \
  107668. -case " $(XFAIL_TESTS) " in \
  107669. - *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
  107670. - xfailed=XFAIL;; \
  107671. -esac; \
  107672. -case $$estatus:$$xfailed in \
  107673. - 0:XFAIL) col=$$red; res=XPASS;; \
  107674. - 0:*) col=$$grn; res=PASS ;; \
  107675. - 77:*) col=$$blu; res=SKIP ;; \
  107676. - 99:*) col=$$red; res=FAIL ;; \
  107677. - *:XFAIL) col=$$lgn; res=XFAIL;; \
  107678. - *:*) col=$$red; res=FAIL ;; \
  107679. -esac; \
  107680. -echo "$${col}$$res$${std}: $$f"; \
  107681. -echo "$$res: $$f (exit: $$estatus)" | \
  107682. - $(am__rst_section) >$@; \
  107683. -cat $@-t >>$@; \
  107684. -rm -f $@-t
  107685. +# Recover from deleted '.trs' file; this should ensure that
  107686. +# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
  107687. +# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
  107688. +# to avoid problems with "make -n".
  107689. +.log.trs:
  107690. + rm -f $< $@
  107691. + $(MAKE) $(AM_MAKEFLAGS) $<
  107692. +
  107693. +# Leading 'am--fnord' is there to ensure the list of targets does not
  107694. +# expand to empty, as could happen e.g. with make check TESTS=''.
  107695. +am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
  107696. +am--force-recheck:
  107697. + @:
  107698. $(TEST_SUITE_LOG): $(TEST_LOGS)
  107699. - @$(am__sh_e_setup); \
  107700. - list='$(TEST_LOGS)'; \
  107701. - results=`for f in $$list; do \
  107702. - read line < $$f && echo "$$line" || echo FAIL; \
  107703. - done`; \
  107704. - all=`echo "$$results" | sed '/^$$/d' | wc -l | sed -e 's/^[ ]*//'`; \
  107705. - fail=`echo "$$results" | grep -c '^FAIL'`; \
  107706. - pass=`echo "$$results" | grep -c '^PASS'`; \
  107707. - skip=`echo "$$results" | grep -c '^SKIP'`; \
  107708. - xfail=`echo "$$results" | grep -c '^XFAIL'`; \
  107709. - xpass=`echo "$$results" | grep -c '^XPASS'`; \
  107710. - failures=`expr $$fail + $$xpass`; \
  107711. - all=`expr $$all - $$skip`; \
  107712. - if test "$$all" -eq 1; then tests=test; All=; \
  107713. - else tests=tests; All="All "; fi; \
  107714. - case fail=$$fail:xpass=$$xpass:xfail=$$xfail in \
  107715. - fail=0:xpass=0:xfail=0) \
  107716. - msg="$$All$$all $$tests passed. "; \
  107717. - exit=true;; \
  107718. - fail=0:xpass=0:xfail=*) \
  107719. - msg="$$All$$all $$tests behaved as expected"; \
  107720. - if test "$$xfail" -eq 1; then xfailures=failure; \
  107721. - else xfailures=failures; fi; \
  107722. - msg="$$msg ($$xfail expected $$xfailures). "; \
  107723. - exit=true;; \
  107724. - fail=*:xpass=0:xfail=*) \
  107725. - msg="$$fail of $$all $$tests failed. "; \
  107726. - exit=false;; \
  107727. - fail=*:xpass=*:xfail=*) \
  107728. - msg="$$failures of $$all $$tests did not behave as expected"; \
  107729. - if test "$$xpass" -eq 1; then xpasses=pass; \
  107730. - else xpasses=passes; fi; \
  107731. - msg="$$msg ($$xpass unexpected $$xpasses). "; \
  107732. - exit=false;; \
  107733. - *) \
  107734. - echo >&2 "incorrect case"; exit 4;; \
  107735. - esac; \
  107736. - if test "$$skip" -ne 0; then \
  107737. - if test "$$skip" -eq 1; then \
  107738. - msg="$$msg($$skip test was not run). "; \
  107739. - else \
  107740. - msg="$$msg($$skip tests were not run). "; \
  107741. - fi; \
  107742. - fi; \
  107743. + @$(am__set_TESTS_bases); \
  107744. + am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
  107745. + redo_bases=`for i in $$bases; do \
  107746. + am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
  107747. + done`; \
  107748. + if test -n "$$redo_bases"; then \
  107749. + redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
  107750. + redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
  107751. + if $(am__make_dryrun); then :; else \
  107752. + rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
  107753. + fi; \
  107754. + fi; \
  107755. + if test -n "$$am__remaking_logs"; then \
  107756. + echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
  107757. + "recursion detected" >&2; \
  107758. + else \
  107759. + am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
  107760. + fi; \
  107761. + if $(am__make_dryrun); then :; else \
  107762. + st=0; \
  107763. + errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
  107764. + for i in $$redo_bases; do \
  107765. + test -f $$i.trs && test -r $$i.trs \
  107766. + || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
  107767. + test -f $$i.log && test -r $$i.log \
  107768. + || { echo "$$errmsg $$i.log" >&2; st=1; }; \
  107769. + done; \
  107770. + test $$st -eq 0 || exit 1; \
  107771. + fi
  107772. + @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
  107773. + ws='[ ]'; \
  107774. + results=`for b in $$bases; do echo $$b.trs; done`; \
  107775. + test -n "$$results" || results=/dev/null; \
  107776. + all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
  107777. + pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
  107778. + fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
  107779. + skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
  107780. + xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
  107781. + xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
  107782. + error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
  107783. + if test `expr $$fail + $$xpass + $$error` -eq 0; then \
  107784. + success=true; \
  107785. + else \
  107786. + success=false; \
  107787. + fi; \
  107788. + br='==================='; br=$$br$$br$$br$$br; \
  107789. + result_count () \
  107790. + { \
  107791. + if test x"$$1" = x"--maybe-color"; then \
  107792. + maybe_colorize=yes; \
  107793. + elif test x"$$1" = x"--no-color"; then \
  107794. + maybe_colorize=no; \
  107795. + else \
  107796. + echo "$@: invalid 'result_count' usage" >&2; exit 4; \
  107797. + fi; \
  107798. + shift; \
  107799. + desc=$$1 count=$$2; \
  107800. + if test $$maybe_colorize = yes && test $$count -gt 0; then \
  107801. + color_start=$$3 color_end=$$std; \
  107802. + else \
  107803. + color_start= color_end=; \
  107804. + fi; \
  107805. + echo "$${color_start}# $$desc $$count$${color_end}"; \
  107806. + }; \
  107807. + create_testsuite_report () \
  107808. + { \
  107809. + result_count $$1 "TOTAL:" $$all "$$brg"; \
  107810. + result_count $$1 "PASS: " $$pass "$$grn"; \
  107811. + result_count $$1 "SKIP: " $$skip "$$blu"; \
  107812. + result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
  107813. + result_count $$1 "FAIL: " $$fail "$$red"; \
  107814. + result_count $$1 "XPASS:" $$xpass "$$red"; \
  107815. + result_count $$1 "ERROR:" $$error "$$mgn"; \
  107816. + }; \
  107817. { \
  107818. echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
  107819. $(am__rst_title); \
  107820. - echo "$$msg"; \
  107821. + create_testsuite_report --no-color; \
  107822. echo; \
  107823. echo ".. contents:: :depth: 2"; \
  107824. echo; \
  107825. - for f in $$list; do \
  107826. - read line < $$f; \
  107827. - case $$line in \
  107828. - PASS:*|XFAIL:*);; \
  107829. - *) echo; cat $$f;; \
  107830. - esac; \
  107831. - done; \
  107832. - } >$(TEST_SUITE_LOG).tmp; \
  107833. + for b in $$bases; do echo $$b; done \
  107834. + | $(am__create_global_log); \
  107835. + } >$(TEST_SUITE_LOG).tmp || exit 1; \
  107836. mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
  107837. - if test "$$failures" -ne 0; then \
  107838. - msg="$${msg}See $(subdir)/$(TEST_SUITE_LOG). "; \
  107839. + if $$success; then \
  107840. + col="$$grn"; \
  107841. + else \
  107842. + col="$$red"; \
  107843. + test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
  107844. + fi; \
  107845. + echo "$${col}$$br$${std}"; \
  107846. + echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
  107847. + echo "$${col}$$br$${std}"; \
  107848. + create_testsuite_report --maybe-color; \
  107849. + echo "$$col$$br$$std"; \
  107850. + if $$success; then :; else \
  107851. + echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
  107852. if test -n "$(PACKAGE_BUGREPORT)"; then \
  107853. - msg="$${msg}Please report to $(PACKAGE_BUGREPORT). "; \
  107854. + echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
  107855. fi; \
  107856. + echo "$$col$$br$$std"; \
  107857. fi; \
  107858. - test x"$$VERBOSE" = x || $$exit || cat $(TEST_SUITE_LOG); \
  107859. - $(am__tty_colors); \
  107860. - if $$exit; then \
  107861. - echo $(ECHO_N) "$$grn$(ECHO_C)"; \
  107862. - else \
  107863. - echo $(ECHO_N) "$$red$(ECHO_C)"; \
  107864. - fi; \
  107865. - echo "$$msg" | $(am__text_box); \
  107866. - echo $(ECHO_N) "$$std$(ECHO_C)"; \
  107867. - $$exit
  107868. + $$success || exit 1
  107869. -# Run all the tests.
  107870. check-TESTS:
  107871. - @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
  107872. + @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
  107873. + @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
  107874. @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
  107875. - @list='$(TEST_LOGS)'; \
  107876. - list=`for f in $$list; do \
  107877. - test .log = $$f || echo $$f; \
  107878. - done | tr '\012\015' ' '`; \
  107879. - $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$list"
  107880. -
  107881. -.log.html:
  107882. - @list='$(RST2HTML) $$RST2HTML rst2html rst2html.py'; \
  107883. - for r2h in $$list; do \
  107884. - if ($$r2h --version) >/dev/null 2>&1; then \
  107885. - R2H=$$r2h; \
  107886. - fi; \
  107887. - done; \
  107888. - if test -z "$$R2H"; then \
  107889. - echo >&2 "cannot find rst2html, cannot create $@"; \
  107890. - exit 2; \
  107891. - fi; \
  107892. - $$R2H $< >$@.tmp
  107893. - @mv $@.tmp $@
  107894. -
  107895. -# Be sure to run check first, and then to convert the result.
  107896. -# Beware of concurrent executions. Run "check" not "check-TESTS", as
  107897. -# check-SCRIPTS and other dependencies are rebuilt by the former only.
  107898. -# And expect check to fail.
  107899. -check-html:
  107900. - @if $(MAKE) $(AM_MAKEFLAGS) check; then \
  107901. - rv=0; else rv=$$?; \
  107902. - fi; \
  107903. - $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_HTML) || exit 4; \
  107904. - exit $$rv
  107905. -recheck recheck-html:
  107906. - @target=`echo $@ | sed 's,^re,,'`; \
  107907. - list='$(TEST_LOGS)'; \
  107908. - list=`for f in $$list; do \
  107909. - test -f $$f || continue; \
  107910. - if read line < $$f; then \
  107911. - case $$line in FAIL*|XPASS*) echo $$f;; esac; \
  107912. - else echo $$f; fi; \
  107913. - done | tr '\012\015' ' '`; \
  107914. - $(MAKE) $(AM_MAKEFLAGS) $$target AM_MAKEFLAGS='$(AM_MAKEFLAGS) TEST_LOGS="'"$$list"'"'
  107915. + @set +e; $(am__set_TESTS_bases); \
  107916. + log_list=`for i in $$bases; do echo $$i.log; done`; \
  107917. + trs_list=`for i in $$bases; do echo $$i.trs; done`; \
  107918. + log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
  107919. + $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
  107920. + exit $$?;
  107921. +recheck: all $(check_LIBRARIES) $(check_PROGRAMS)
  107922. + @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
  107923. + @set +e; $(am__set_TESTS_bases); \
  107924. + bases=`for i in $$bases; do echo $$i; done \
  107925. + | $(am__list_recheck_tests)` || exit 1; \
  107926. + log_list=`for i in $$bases; do echo $$i.log; done`; \
  107927. + log_list=`echo $$log_list`; \
  107928. + $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
  107929. + am__force_recheck=am--force-recheck \
  107930. + TEST_LOGS="$$log_list"; \
  107931. + exit $$?
  107932. test-alloca-opt.log: test-alloca-opt$(EXEEXT)
  107933. - @p='test-alloca-opt$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  107934. + @p='test-alloca-opt$(EXEEXT)'; \
  107935. + b='test-alloca-opt'; \
  107936. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  107937. + --log-file $$b.log --trs-file $$b.trs \
  107938. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  107939. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  107940. test-array_list.log: test-array_list$(EXEEXT)
  107941. - @p='test-array_list$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  107942. + @p='test-array_list$(EXEEXT)'; \
  107943. + b='test-array_list'; \
  107944. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  107945. + --log-file $$b.log --trs-file $$b.trs \
  107946. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  107947. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  107948. test-array_oset.log: test-array_oset$(EXEEXT)
  107949. - @p='test-array_oset$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  107950. + @p='test-array_oset$(EXEEXT)'; \
  107951. + b='test-array_oset'; \
  107952. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  107953. + --log-file $$b.log --trs-file $$b.trs \
  107954. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  107955. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  107956. test-avltree_oset.log: test-avltree_oset$(EXEEXT)
  107957. - @p='test-avltree_oset$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  107958. + @p='test-avltree_oset$(EXEEXT)'; \
  107959. + b='test-avltree_oset'; \
  107960. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  107961. + --log-file $$b.log --trs-file $$b.trs \
  107962. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  107963. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  107964. test-binary-io.sh.log: test-binary-io.sh
  107965. - @p='test-binary-io.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  107966. + @p='test-binary-io.sh'; \
  107967. + b='test-binary-io.sh'; \
  107968. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  107969. + --log-file $$b.log --trs-file $$b.trs \
  107970. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  107971. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  107972. test-btowc1.sh.log: test-btowc1.sh
  107973. - @p='test-btowc1.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  107974. + @p='test-btowc1.sh'; \
  107975. + b='test-btowc1.sh'; \
  107976. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  107977. + --log-file $$b.log --trs-file $$b.trs \
  107978. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  107979. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  107980. test-btowc2.sh.log: test-btowc2.sh
  107981. - @p='test-btowc2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  107982. + @p='test-btowc2.sh'; \
  107983. + b='test-btowc2.sh'; \
  107984. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  107985. + --log-file $$b.log --trs-file $$b.trs \
  107986. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  107987. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  107988. test-c-ctype.log: test-c-ctype$(EXEEXT)
  107989. - @p='test-c-ctype$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  107990. + @p='test-c-ctype$(EXEEXT)'; \
  107991. + b='test-c-ctype'; \
  107992. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  107993. + --log-file $$b.log --trs-file $$b.trs \
  107994. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  107995. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  107996. test-c-stack.sh.log: test-c-stack.sh
  107997. - @p='test-c-stack.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  107998. + @p='test-c-stack.sh'; \
  107999. + b='test-c-stack.sh'; \
  108000. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108001. + --log-file $$b.log --trs-file $$b.trs \
  108002. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108003. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108004. test-c-stack2.sh.log: test-c-stack2.sh
  108005. - @p='test-c-stack2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108006. + @p='test-c-stack2.sh'; \
  108007. + b='test-c-stack2.sh'; \
  108008. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108009. + --log-file $$b.log --trs-file $$b.trs \
  108010. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108011. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108012. test-c-strcase.sh.log: test-c-strcase.sh
  108013. - @p='test-c-strcase.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108014. + @p='test-c-strcase.sh'; \
  108015. + b='test-c-strcase.sh'; \
  108016. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108017. + --log-file $$b.log --trs-file $$b.trs \
  108018. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108019. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108020. test-canonicalize-lgpl.log: test-canonicalize-lgpl$(EXEEXT)
  108021. - @p='test-canonicalize-lgpl$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108022. + @p='test-canonicalize-lgpl$(EXEEXT)'; \
  108023. + b='test-canonicalize-lgpl'; \
  108024. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108025. + --log-file $$b.log --trs-file $$b.trs \
  108026. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108027. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108028. test-cloexec.log: test-cloexec$(EXEEXT)
  108029. - @p='test-cloexec$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108030. + @p='test-cloexec$(EXEEXT)'; \
  108031. + b='test-cloexec'; \
  108032. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108033. + --log-file $$b.log --trs-file $$b.trs \
  108034. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108035. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108036. test-closein.sh.log: test-closein.sh
  108037. - @p='test-closein.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108038. + @p='test-closein.sh'; \
  108039. + b='test-closein.sh'; \
  108040. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108041. + --log-file $$b.log --trs-file $$b.trs \
  108042. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108043. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108044. test-dirname.log: test-dirname$(EXEEXT)
  108045. - @p='test-dirname$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108046. + @p='test-dirname$(EXEEXT)'; \
  108047. + b='test-dirname'; \
  108048. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108049. + --log-file $$b.log --trs-file $$b.trs \
  108050. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108051. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108052. test-dup2.log: test-dup2$(EXEEXT)
  108053. - @p='test-dup2$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108054. + @p='test-dup2$(EXEEXT)'; \
  108055. + b='test-dup2'; \
  108056. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108057. + --log-file $$b.log --trs-file $$b.trs \
  108058. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108059. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108060. test-environ.log: test-environ$(EXEEXT)
  108061. - @p='test-environ$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108062. + @p='test-environ$(EXEEXT)'; \
  108063. + b='test-environ'; \
  108064. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108065. + --log-file $$b.log --trs-file $$b.trs \
  108066. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108067. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108068. test-errno.log: test-errno$(EXEEXT)
  108069. - @p='test-errno$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108070. + @p='test-errno$(EXEEXT)'; \
  108071. + b='test-errno'; \
  108072. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108073. + --log-file $$b.log --trs-file $$b.trs \
  108074. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108075. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108076. test-fcntl-h-c++.log: test-fcntl-h-c++$(EXEEXT)
  108077. - @p='test-fcntl-h-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108078. + @p='test-fcntl-h-c++$(EXEEXT)'; \
  108079. + b='test-fcntl-h-c++'; \
  108080. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108081. + --log-file $$b.log --trs-file $$b.trs \
  108082. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108083. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108084. test-fcntl-h.log: test-fcntl-h$(EXEEXT)
  108085. - @p='test-fcntl-h$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108086. + @p='test-fcntl-h$(EXEEXT)'; \
  108087. + b='test-fcntl-h'; \
  108088. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108089. + --log-file $$b.log --trs-file $$b.trs \
  108090. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108091. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108092. test-fcntl.log: test-fcntl$(EXEEXT)
  108093. - @p='test-fcntl$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108094. + @p='test-fcntl$(EXEEXT)'; \
  108095. + b='test-fcntl'; \
  108096. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108097. + --log-file $$b.log --trs-file $$b.trs \
  108098. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108099. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108100. test-fflush.log: test-fflush$(EXEEXT)
  108101. - @p='test-fflush$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108102. + @p='test-fflush$(EXEEXT)'; \
  108103. + b='test-fflush'; \
  108104. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108105. + --log-file $$b.log --trs-file $$b.trs \
  108106. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108107. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108108. test-fflush2.sh.log: test-fflush2.sh
  108109. - @p='test-fflush2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108110. + @p='test-fflush2.sh'; \
  108111. + b='test-fflush2.sh'; \
  108112. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108113. + --log-file $$b.log --trs-file $$b.trs \
  108114. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108115. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108116. test-filenamecat.log: test-filenamecat$(EXEEXT)
  108117. - @p='test-filenamecat$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108118. + @p='test-filenamecat$(EXEEXT)'; \
  108119. + b='test-filenamecat'; \
  108120. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108121. + --log-file $$b.log --trs-file $$b.trs \
  108122. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108123. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108124. test-fopen-safer.log: test-fopen-safer$(EXEEXT)
  108125. - @p='test-fopen-safer$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108126. + @p='test-fopen-safer$(EXEEXT)'; \
  108127. + b='test-fopen-safer'; \
  108128. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108129. + --log-file $$b.log --trs-file $$b.trs \
  108130. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108131. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108132. test-fopen.log: test-fopen$(EXEEXT)
  108133. - @p='test-fopen$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108134. + @p='test-fopen$(EXEEXT)'; \
  108135. + b='test-fopen'; \
  108136. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108137. + --log-file $$b.log --trs-file $$b.trs \
  108138. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108139. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108140. test-fpending.sh.log: test-fpending.sh
  108141. - @p='test-fpending.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108142. + @p='test-fpending.sh'; \
  108143. + b='test-fpending.sh'; \
  108144. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108145. + --log-file $$b.log --trs-file $$b.trs \
  108146. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108147. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108148. test-fpurge.log: test-fpurge$(EXEEXT)
  108149. - @p='test-fpurge$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108150. + @p='test-fpurge$(EXEEXT)'; \
  108151. + b='test-fpurge'; \
  108152. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108153. + --log-file $$b.log --trs-file $$b.trs \
  108154. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108155. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108156. test-freadahead.sh.log: test-freadahead.sh
  108157. - @p='test-freadahead.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108158. + @p='test-freadahead.sh'; \
  108159. + b='test-freadahead.sh'; \
  108160. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108161. + --log-file $$b.log --trs-file $$b.trs \
  108162. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108163. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108164. test-freading.log: test-freading$(EXEEXT)
  108165. - @p='test-freading$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108166. + @p='test-freading$(EXEEXT)'; \
  108167. + b='test-freading'; \
  108168. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108169. + --log-file $$b.log --trs-file $$b.trs \
  108170. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108171. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108172. test-frexp-nolibm.log: test-frexp-nolibm$(EXEEXT)
  108173. - @p='test-frexp-nolibm$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108174. + @p='test-frexp-nolibm$(EXEEXT)'; \
  108175. + b='test-frexp-nolibm'; \
  108176. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108177. + --log-file $$b.log --trs-file $$b.trs \
  108178. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108179. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108180. test-frexpl-nolibm.log: test-frexpl-nolibm$(EXEEXT)
  108181. - @p='test-frexpl-nolibm$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108182. + @p='test-frexpl-nolibm$(EXEEXT)'; \
  108183. + b='test-frexpl-nolibm'; \
  108184. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108185. + --log-file $$b.log --trs-file $$b.trs \
  108186. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108187. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108188. test-fseeko.sh.log: test-fseeko.sh
  108189. - @p='test-fseeko.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108190. + @p='test-fseeko.sh'; \
  108191. + b='test-fseeko.sh'; \
  108192. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108193. + --log-file $$b.log --trs-file $$b.trs \
  108194. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108195. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108196. test-fseeko2.sh.log: test-fseeko2.sh
  108197. - @p='test-fseeko2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108198. + @p='test-fseeko2.sh'; \
  108199. + b='test-fseeko2.sh'; \
  108200. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108201. + --log-file $$b.log --trs-file $$b.trs \
  108202. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108203. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108204. test-ftell.sh.log: test-ftell.sh
  108205. - @p='test-ftell.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108206. + @p='test-ftell.sh'; \
  108207. + b='test-ftell.sh'; \
  108208. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108209. + --log-file $$b.log --trs-file $$b.trs \
  108210. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108211. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108212. test-ftell2.sh.log: test-ftell2.sh
  108213. - @p='test-ftell2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108214. + @p='test-ftell2.sh'; \
  108215. + b='test-ftell2.sh'; \
  108216. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108217. + --log-file $$b.log --trs-file $$b.trs \
  108218. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108219. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108220. test-ftell3.log: test-ftell3$(EXEEXT)
  108221. - @p='test-ftell3$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108222. + @p='test-ftell3$(EXEEXT)'; \
  108223. + b='test-ftell3'; \
  108224. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108225. + --log-file $$b.log --trs-file $$b.trs \
  108226. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108227. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108228. test-ftello.sh.log: test-ftello.sh
  108229. - @p='test-ftello.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108230. + @p='test-ftello.sh'; \
  108231. + b='test-ftello.sh'; \
  108232. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108233. + --log-file $$b.log --trs-file $$b.trs \
  108234. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108235. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108236. test-ftello2.sh.log: test-ftello2.sh
  108237. - @p='test-ftello2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108238. + @p='test-ftello2.sh'; \
  108239. + b='test-ftello2.sh'; \
  108240. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108241. + --log-file $$b.log --trs-file $$b.trs \
  108242. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108243. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108244. test-ftello3.log: test-ftello3$(EXEEXT)
  108245. - @p='test-ftello3$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108246. + @p='test-ftello3$(EXEEXT)'; \
  108247. + b='test-ftello3'; \
  108248. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108249. + --log-file $$b.log --trs-file $$b.trs \
  108250. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108251. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108252. test-getdtablesize.log: test-getdtablesize$(EXEEXT)
  108253. - @p='test-getdtablesize$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108254. + @p='test-getdtablesize$(EXEEXT)'; \
  108255. + b='test-getdtablesize'; \
  108256. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108257. + --log-file $$b.log --trs-file $$b.trs \
  108258. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108259. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108260. test-getopt.log: test-getopt$(EXEEXT)
  108261. - @p='test-getopt$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108262. + @p='test-getopt$(EXEEXT)'; \
  108263. + b='test-getopt'; \
  108264. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108265. + --log-file $$b.log --trs-file $$b.trs \
  108266. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108267. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108268. test-gettimeofday.log: test-gettimeofday$(EXEEXT)
  108269. - @p='test-gettimeofday$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108270. + @p='test-gettimeofday$(EXEEXT)'; \
  108271. + b='test-gettimeofday'; \
  108272. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108273. + --log-file $$b.log --trs-file $$b.trs \
  108274. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108275. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108276. test-ignore-value.log: test-ignore-value$(EXEEXT)
  108277. - @p='test-ignore-value$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108278. + @p='test-ignore-value$(EXEEXT)'; \
  108279. + b='test-ignore-value'; \
  108280. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108281. + --log-file $$b.log --trs-file $$b.trs \
  108282. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108283. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108284. test-isnand-nolibm.log: test-isnand-nolibm$(EXEEXT)
  108285. - @p='test-isnand-nolibm$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108286. + @p='test-isnand-nolibm$(EXEEXT)'; \
  108287. + b='test-isnand-nolibm'; \
  108288. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108289. + --log-file $$b.log --trs-file $$b.trs \
  108290. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108291. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108292. test-isnanf-nolibm.log: test-isnanf-nolibm$(EXEEXT)
  108293. - @p='test-isnanf-nolibm$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108294. + @p='test-isnanf-nolibm$(EXEEXT)'; \
  108295. + b='test-isnanf-nolibm'; \
  108296. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108297. + --log-file $$b.log --trs-file $$b.trs \
  108298. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108299. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108300. test-isnanl-nolibm.log: test-isnanl-nolibm$(EXEEXT)
  108301. - @p='test-isnanl-nolibm$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108302. + @p='test-isnanl-nolibm$(EXEEXT)'; \
  108303. + b='test-isnanl-nolibm'; \
  108304. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108305. + --log-file $$b.log --trs-file $$b.trs \
  108306. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108307. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108308. test-langinfo-c++.log: test-langinfo-c++$(EXEEXT)
  108309. - @p='test-langinfo-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108310. + @p='test-langinfo-c++$(EXEEXT)'; \
  108311. + b='test-langinfo-c++'; \
  108312. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108313. + --log-file $$b.log --trs-file $$b.trs \
  108314. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108315. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108316. test-langinfo.log: test-langinfo$(EXEEXT)
  108317. - @p='test-langinfo$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108318. + @p='test-langinfo$(EXEEXT)'; \
  108319. + b='test-langinfo'; \
  108320. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108321. + --log-file $$b.log --trs-file $$b.trs \
  108322. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108323. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108324. test-link.log: test-link$(EXEEXT)
  108325. - @p='test-link$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108326. + @p='test-link$(EXEEXT)'; \
  108327. + b='test-link'; \
  108328. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108329. + --log-file $$b.log --trs-file $$b.trs \
  108330. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108331. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108332. test-linkedhash_list.log: test-linkedhash_list$(EXEEXT)
  108333. - @p='test-linkedhash_list$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108334. + @p='test-linkedhash_list$(EXEEXT)'; \
  108335. + b='test-linkedhash_list'; \
  108336. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108337. + --log-file $$b.log --trs-file $$b.trs \
  108338. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108339. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108340. test-locale-c++.log: test-locale-c++$(EXEEXT)
  108341. - @p='test-locale-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108342. + @p='test-locale-c++$(EXEEXT)'; \
  108343. + b='test-locale-c++'; \
  108344. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108345. + --log-file $$b.log --trs-file $$b.trs \
  108346. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108347. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108348. test-locale.log: test-locale$(EXEEXT)
  108349. - @p='test-locale$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108350. + @p='test-locale$(EXEEXT)'; \
  108351. + b='test-locale'; \
  108352. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108353. + --log-file $$b.log --trs-file $$b.trs \
  108354. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108355. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108356. test-localename.log: test-localename$(EXEEXT)
  108357. - @p='test-localename$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108358. + @p='test-localename$(EXEEXT)'; \
  108359. + b='test-localename'; \
  108360. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108361. + --log-file $$b.log --trs-file $$b.trs \
  108362. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108363. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108364. test-lseek.sh.log: test-lseek.sh
  108365. - @p='test-lseek.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108366. + @p='test-lseek.sh'; \
  108367. + b='test-lseek.sh'; \
  108368. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108369. + --log-file $$b.log --trs-file $$b.trs \
  108370. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108371. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108372. test-lstat.log: test-lstat$(EXEEXT)
  108373. - @p='test-lstat$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108374. + @p='test-lstat$(EXEEXT)'; \
  108375. + b='test-lstat'; \
  108376. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108377. + --log-file $$b.log --trs-file $$b.trs \
  108378. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108379. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108380. test-malloc-gnu.log: test-malloc-gnu$(EXEEXT)
  108381. - @p='test-malloc-gnu$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108382. + @p='test-malloc-gnu$(EXEEXT)'; \
  108383. + b='test-malloc-gnu'; \
  108384. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108385. + --log-file $$b.log --trs-file $$b.trs \
  108386. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108387. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108388. test-malloca.log: test-malloca$(EXEEXT)
  108389. - @p='test-malloca$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108390. + @p='test-malloca$(EXEEXT)'; \
  108391. + b='test-malloca'; \
  108392. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108393. + --log-file $$b.log --trs-file $$b.trs \
  108394. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108395. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108396. test-math-c++.log: test-math-c++$(EXEEXT)
  108397. - @p='test-math-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108398. + @p='test-math-c++$(EXEEXT)'; \
  108399. + b='test-math-c++'; \
  108400. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108401. + --log-file $$b.log --trs-file $$b.trs \
  108402. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108403. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108404. test-math.log: test-math$(EXEEXT)
  108405. - @p='test-math$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108406. + @p='test-math$(EXEEXT)'; \
  108407. + b='test-math'; \
  108408. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108409. + --log-file $$b.log --trs-file $$b.trs \
  108410. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108411. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108412. test-mbrtowc1.sh.log: test-mbrtowc1.sh
  108413. - @p='test-mbrtowc1.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108414. + @p='test-mbrtowc1.sh'; \
  108415. + b='test-mbrtowc1.sh'; \
  108416. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108417. + --log-file $$b.log --trs-file $$b.trs \
  108418. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108419. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108420. test-mbrtowc2.sh.log: test-mbrtowc2.sh
  108421. - @p='test-mbrtowc2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108422. + @p='test-mbrtowc2.sh'; \
  108423. + b='test-mbrtowc2.sh'; \
  108424. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108425. + --log-file $$b.log --trs-file $$b.trs \
  108426. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108427. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108428. test-mbrtowc3.sh.log: test-mbrtowc3.sh
  108429. - @p='test-mbrtowc3.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108430. + @p='test-mbrtowc3.sh'; \
  108431. + b='test-mbrtowc3.sh'; \
  108432. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108433. + --log-file $$b.log --trs-file $$b.trs \
  108434. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108435. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108436. test-mbrtowc4.sh.log: test-mbrtowc4.sh
  108437. - @p='test-mbrtowc4.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108438. + @p='test-mbrtowc4.sh'; \
  108439. + b='test-mbrtowc4.sh'; \
  108440. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108441. + --log-file $$b.log --trs-file $$b.trs \
  108442. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108443. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108444. test-mbrtowc-w32-1.sh.log: test-mbrtowc-w32-1.sh
  108445. - @p='test-mbrtowc-w32-1.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108446. + @p='test-mbrtowc-w32-1.sh'; \
  108447. + b='test-mbrtowc-w32-1.sh'; \
  108448. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108449. + --log-file $$b.log --trs-file $$b.trs \
  108450. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108451. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108452. test-mbrtowc-w32-2.sh.log: test-mbrtowc-w32-2.sh
  108453. - @p='test-mbrtowc-w32-2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108454. + @p='test-mbrtowc-w32-2.sh'; \
  108455. + b='test-mbrtowc-w32-2.sh'; \
  108456. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108457. + --log-file $$b.log --trs-file $$b.trs \
  108458. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108459. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108460. test-mbrtowc-w32-3.sh.log: test-mbrtowc-w32-3.sh
  108461. - @p='test-mbrtowc-w32-3.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108462. + @p='test-mbrtowc-w32-3.sh'; \
  108463. + b='test-mbrtowc-w32-3.sh'; \
  108464. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108465. + --log-file $$b.log --trs-file $$b.trs \
  108466. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108467. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108468. test-mbrtowc-w32-4.sh.log: test-mbrtowc-w32-4.sh
  108469. - @p='test-mbrtowc-w32-4.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108470. + @p='test-mbrtowc-w32-4.sh'; \
  108471. + b='test-mbrtowc-w32-4.sh'; \
  108472. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108473. + --log-file $$b.log --trs-file $$b.trs \
  108474. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108475. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108476. test-mbrtowc-w32-5.sh.log: test-mbrtowc-w32-5.sh
  108477. - @p='test-mbrtowc-w32-5.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108478. + @p='test-mbrtowc-w32-5.sh'; \
  108479. + b='test-mbrtowc-w32-5.sh'; \
  108480. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108481. + --log-file $$b.log --trs-file $$b.trs \
  108482. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108483. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108484. test-mbsinit.sh.log: test-mbsinit.sh
  108485. - @p='test-mbsinit.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108486. + @p='test-mbsinit.sh'; \
  108487. + b='test-mbsinit.sh'; \
  108488. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108489. + --log-file $$b.log --trs-file $$b.trs \
  108490. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108491. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108492. test-memchr.log: test-memchr$(EXEEXT)
  108493. - @p='test-memchr$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108494. + @p='test-memchr$(EXEEXT)'; \
  108495. + b='test-memchr'; \
  108496. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108497. + --log-file $$b.log --trs-file $$b.trs \
  108498. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108499. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108500. test-memchr2.log: test-memchr2$(EXEEXT)
  108501. - @p='test-memchr2$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108502. + @p='test-memchr2$(EXEEXT)'; \
  108503. + b='test-memchr2'; \
  108504. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108505. + --log-file $$b.log --trs-file $$b.trs \
  108506. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108507. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108508. test-nl_langinfo.sh.log: test-nl_langinfo.sh
  108509. - @p='test-nl_langinfo.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108510. + @p='test-nl_langinfo.sh'; \
  108511. + b='test-nl_langinfo.sh'; \
  108512. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108513. + --log-file $$b.log --trs-file $$b.trs \
  108514. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108515. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108516. test-open.log: test-open$(EXEEXT)
  108517. - @p='test-open$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108518. + @p='test-open$(EXEEXT)'; \
  108519. + b='test-open'; \
  108520. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108521. + --log-file $$b.log --trs-file $$b.trs \
  108522. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108523. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108524. test-pipe2.log: test-pipe2$(EXEEXT)
  108525. - @p='test-pipe2$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108526. + @p='test-pipe2$(EXEEXT)'; \
  108527. + b='test-pipe2'; \
  108528. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108529. + --log-file $$b.log --trs-file $$b.trs \
  108530. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108531. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108532. test-posix_spawn1.log: test-posix_spawn1$(EXEEXT)
  108533. - @p='test-posix_spawn1$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108534. + @p='test-posix_spawn1$(EXEEXT)'; \
  108535. + b='test-posix_spawn1'; \
  108536. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108537. + --log-file $$b.log --trs-file $$b.trs \
  108538. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108539. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108540. test-posix_spawn2.log: test-posix_spawn2$(EXEEXT)
  108541. - @p='test-posix_spawn2$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108542. + @p='test-posix_spawn2$(EXEEXT)'; \
  108543. + b='test-posix_spawn2'; \
  108544. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108545. + --log-file $$b.log --trs-file $$b.trs \
  108546. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108547. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108548. test-printf-frexp.log: test-printf-frexp$(EXEEXT)
  108549. - @p='test-printf-frexp$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108550. + @p='test-printf-frexp$(EXEEXT)'; \
  108551. + b='test-printf-frexp'; \
  108552. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108553. + --log-file $$b.log --trs-file $$b.trs \
  108554. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108555. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108556. test-printf-frexpl.log: test-printf-frexpl$(EXEEXT)
  108557. - @p='test-printf-frexpl$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108558. + @p='test-printf-frexpl$(EXEEXT)'; \
  108559. + b='test-printf-frexpl'; \
  108560. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108561. + --log-file $$b.log --trs-file $$b.trs \
  108562. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108563. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108564. test-quotearg-simple.log: test-quotearg-simple$(EXEEXT)
  108565. - @p='test-quotearg-simple$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108566. + @p='test-quotearg-simple$(EXEEXT)'; \
  108567. + b='test-quotearg-simple'; \
  108568. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108569. + --log-file $$b.log --trs-file $$b.trs \
  108570. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108571. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108572. test-rawmemchr.log: test-rawmemchr$(EXEEXT)
  108573. - @p='test-rawmemchr$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108574. + @p='test-rawmemchr$(EXEEXT)'; \
  108575. + b='test-rawmemchr'; \
  108576. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108577. + --log-file $$b.log --trs-file $$b.trs \
  108578. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108579. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108580. test-readlink.log: test-readlink$(EXEEXT)
  108581. - @p='test-readlink$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108582. + @p='test-readlink$(EXEEXT)'; \
  108583. + b='test-readlink'; \
  108584. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108585. + --log-file $$b.log --trs-file $$b.trs \
  108586. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108587. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108588. test-rename.log: test-rename$(EXEEXT)
  108589. - @p='test-rename$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108590. + @p='test-rename$(EXEEXT)'; \
  108591. + b='test-rename'; \
  108592. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108593. + --log-file $$b.log --trs-file $$b.trs \
  108594. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108595. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108596. test-rmdir.log: test-rmdir$(EXEEXT)
  108597. - @p='test-rmdir$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108598. + @p='test-rmdir$(EXEEXT)'; \
  108599. + b='test-rmdir'; \
  108600. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108601. + --log-file $$b.log --trs-file $$b.trs \
  108602. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108603. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108604. test-sched.log: test-sched$(EXEEXT)
  108605. - @p='test-sched$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108606. + @p='test-sched$(EXEEXT)'; \
  108607. + b='test-sched'; \
  108608. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108609. + --log-file $$b.log --trs-file $$b.trs \
  108610. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108611. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108612. test-setenv.log: test-setenv$(EXEEXT)
  108613. - @p='test-setenv$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108614. + @p='test-setenv$(EXEEXT)'; \
  108615. + b='test-setenv'; \
  108616. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108617. + --log-file $$b.log --trs-file $$b.trs \
  108618. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108619. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108620. test-setlocale1.sh.log: test-setlocale1.sh
  108621. - @p='test-setlocale1.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108622. + @p='test-setlocale1.sh'; \
  108623. + b='test-setlocale1.sh'; \
  108624. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108625. + --log-file $$b.log --trs-file $$b.trs \
  108626. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108627. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108628. test-setlocale2.sh.log: test-setlocale2.sh
  108629. - @p='test-setlocale2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108630. + @p='test-setlocale2.sh'; \
  108631. + b='test-setlocale2.sh'; \
  108632. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108633. + --log-file $$b.log --trs-file $$b.trs \
  108634. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108635. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108636. test-sigaction.log: test-sigaction$(EXEEXT)
  108637. - @p='test-sigaction$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108638. + @p='test-sigaction$(EXEEXT)'; \
  108639. + b='test-sigaction'; \
  108640. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108641. + --log-file $$b.log --trs-file $$b.trs \
  108642. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108643. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108644. test-signal-c++.log: test-signal-c++$(EXEEXT)
  108645. - @p='test-signal-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108646. + @p='test-signal-c++$(EXEEXT)'; \
  108647. + b='test-signal-c++'; \
  108648. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108649. + --log-file $$b.log --trs-file $$b.trs \
  108650. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108651. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108652. test-signal.log: test-signal$(EXEEXT)
  108653. - @p='test-signal$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108654. + @p='test-signal$(EXEEXT)'; \
  108655. + b='test-signal'; \
  108656. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108657. + --log-file $$b.log --trs-file $$b.trs \
  108658. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108659. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108660. test-signbit.log: test-signbit$(EXEEXT)
  108661. - @p='test-signbit$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108662. + @p='test-signbit$(EXEEXT)'; \
  108663. + b='test-signbit'; \
  108664. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108665. + --log-file $$b.log --trs-file $$b.trs \
  108666. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108667. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108668. test-snprintf.log: test-snprintf$(EXEEXT)
  108669. - @p='test-snprintf$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108670. + @p='test-snprintf$(EXEEXT)'; \
  108671. + b='test-snprintf'; \
  108672. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108673. + --log-file $$b.log --trs-file $$b.trs \
  108674. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108675. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108676. test-spawn-c++.log: test-spawn-c++$(EXEEXT)
  108677. - @p='test-spawn-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108678. + @p='test-spawn-c++$(EXEEXT)'; \
  108679. + b='test-spawn-c++'; \
  108680. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108681. + --log-file $$b.log --trs-file $$b.trs \
  108682. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108683. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108684. test-spawn-pipe.sh.log: test-spawn-pipe.sh
  108685. - @p='test-spawn-pipe.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108686. + @p='test-spawn-pipe.sh'; \
  108687. + b='test-spawn-pipe.sh'; \
  108688. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108689. + --log-file $$b.log --trs-file $$b.trs \
  108690. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108691. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108692. test-spawn.log: test-spawn$(EXEEXT)
  108693. - @p='test-spawn$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108694. + @p='test-spawn$(EXEEXT)'; \
  108695. + b='test-spawn'; \
  108696. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108697. + --log-file $$b.log --trs-file $$b.trs \
  108698. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108699. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108700. test-stat.log: test-stat$(EXEEXT)
  108701. - @p='test-stat$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108702. + @p='test-stat$(EXEEXT)'; \
  108703. + b='test-stat'; \
  108704. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108705. + --log-file $$b.log --trs-file $$b.trs \
  108706. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108707. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108708. test-stdbool.log: test-stdbool$(EXEEXT)
  108709. - @p='test-stdbool$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108710. + @p='test-stdbool$(EXEEXT)'; \
  108711. + b='test-stdbool'; \
  108712. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108713. + --log-file $$b.log --trs-file $$b.trs \
  108714. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108715. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108716. test-stddef.log: test-stddef$(EXEEXT)
  108717. - @p='test-stddef$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108718. + @p='test-stddef$(EXEEXT)'; \
  108719. + b='test-stddef'; \
  108720. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108721. + --log-file $$b.log --trs-file $$b.trs \
  108722. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108723. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108724. test-stdint.log: test-stdint$(EXEEXT)
  108725. - @p='test-stdint$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108726. + @p='test-stdint$(EXEEXT)'; \
  108727. + b='test-stdint'; \
  108728. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108729. + --log-file $$b.log --trs-file $$b.trs \
  108730. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108731. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108732. test-stdio-c++.log: test-stdio-c++$(EXEEXT)
  108733. - @p='test-stdio-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108734. + @p='test-stdio-c++$(EXEEXT)'; \
  108735. + b='test-stdio-c++'; \
  108736. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108737. + --log-file $$b.log --trs-file $$b.trs \
  108738. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108739. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108740. test-stdio.log: test-stdio$(EXEEXT)
  108741. - @p='test-stdio$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108742. + @p='test-stdio$(EXEEXT)'; \
  108743. + b='test-stdio'; \
  108744. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108745. + --log-file $$b.log --trs-file $$b.trs \
  108746. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108747. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108748. test-stdlib-c++.log: test-stdlib-c++$(EXEEXT)
  108749. - @p='test-stdlib-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108750. + @p='test-stdlib-c++$(EXEEXT)'; \
  108751. + b='test-stdlib-c++'; \
  108752. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108753. + --log-file $$b.log --trs-file $$b.trs \
  108754. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108755. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108756. test-stdlib.log: test-stdlib$(EXEEXT)
  108757. - @p='test-stdlib$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108758. + @p='test-stdlib$(EXEEXT)'; \
  108759. + b='test-stdlib'; \
  108760. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108761. + --log-file $$b.log --trs-file $$b.trs \
  108762. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108763. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108764. test-strchrnul.log: test-strchrnul$(EXEEXT)
  108765. - @p='test-strchrnul$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108766. + @p='test-strchrnul$(EXEEXT)'; \
  108767. + b='test-strchrnul'; \
  108768. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108769. + --log-file $$b.log --trs-file $$b.trs \
  108770. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108771. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108772. test-strerror.log: test-strerror$(EXEEXT)
  108773. - @p='test-strerror$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108774. + @p='test-strerror$(EXEEXT)'; \
  108775. + b='test-strerror'; \
  108776. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108777. + --log-file $$b.log --trs-file $$b.trs \
  108778. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108779. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108780. test-string-c++.log: test-string-c++$(EXEEXT)
  108781. - @p='test-string-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108782. + @p='test-string-c++$(EXEEXT)'; \
  108783. + b='test-string-c++'; \
  108784. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108785. + --log-file $$b.log --trs-file $$b.trs \
  108786. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108787. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108788. test-string.log: test-string$(EXEEXT)
  108789. - @p='test-string$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108790. + @p='test-string$(EXEEXT)'; \
  108791. + b='test-string'; \
  108792. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108793. + --log-file $$b.log --trs-file $$b.trs \
  108794. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108795. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108796. test-strnlen.log: test-strnlen$(EXEEXT)
  108797. - @p='test-strnlen$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108798. + @p='test-strnlen$(EXEEXT)'; \
  108799. + b='test-strnlen'; \
  108800. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108801. + --log-file $$b.log --trs-file $$b.trs \
  108802. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108803. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108804. test-strsignal.log: test-strsignal$(EXEEXT)
  108805. - @p='test-strsignal$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108806. + @p='test-strsignal$(EXEEXT)'; \
  108807. + b='test-strsignal'; \
  108808. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108809. + --log-file $$b.log --trs-file $$b.trs \
  108810. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108811. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108812. test-strstr.log: test-strstr$(EXEEXT)
  108813. - @p='test-strstr$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108814. + @p='test-strstr$(EXEEXT)'; \
  108815. + b='test-strstr'; \
  108816. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108817. + --log-file $$b.log --trs-file $$b.trs \
  108818. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108819. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108820. test-strtod.log: test-strtod$(EXEEXT)
  108821. - @p='test-strtod$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108822. + @p='test-strtod$(EXEEXT)'; \
  108823. + b='test-strtod'; \
  108824. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108825. + --log-file $$b.log --trs-file $$b.trs \
  108826. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108827. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108828. test-symlink.log: test-symlink$(EXEEXT)
  108829. - @p='test-symlink$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108830. + @p='test-symlink$(EXEEXT)'; \
  108831. + b='test-symlink'; \
  108832. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108833. + --log-file $$b.log --trs-file $$b.trs \
  108834. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108835. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108836. test-sys_stat-c++.log: test-sys_stat-c++$(EXEEXT)
  108837. - @p='test-sys_stat-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108838. + @p='test-sys_stat-c++$(EXEEXT)'; \
  108839. + b='test-sys_stat-c++'; \
  108840. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108841. + --log-file $$b.log --trs-file $$b.trs \
  108842. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108843. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108844. test-sys_stat.log: test-sys_stat$(EXEEXT)
  108845. - @p='test-sys_stat$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108846. + @p='test-sys_stat$(EXEEXT)'; \
  108847. + b='test-sys_stat'; \
  108848. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108849. + --log-file $$b.log --trs-file $$b.trs \
  108850. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108851. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108852. test-sys_time-c++.log: test-sys_time-c++$(EXEEXT)
  108853. - @p='test-sys_time-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108854. + @p='test-sys_time-c++$(EXEEXT)'; \
  108855. + b='test-sys_time-c++'; \
  108856. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108857. + --log-file $$b.log --trs-file $$b.trs \
  108858. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108859. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108860. test-sys_time.log: test-sys_time$(EXEEXT)
  108861. - @p='test-sys_time$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108862. + @p='test-sys_time$(EXEEXT)'; \
  108863. + b='test-sys_time'; \
  108864. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108865. + --log-file $$b.log --trs-file $$b.trs \
  108866. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108867. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108868. test-sys_wait-c++.log: test-sys_wait-c++$(EXEEXT)
  108869. - @p='test-sys_wait-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108870. + @p='test-sys_wait-c++$(EXEEXT)'; \
  108871. + b='test-sys_wait-c++'; \
  108872. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108873. + --log-file $$b.log --trs-file $$b.trs \
  108874. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108875. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108876. test-sys_wait.log: test-sys_wait$(EXEEXT)
  108877. - @p='test-sys_wait$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108878. + @p='test-sys_wait$(EXEEXT)'; \
  108879. + b='test-sys_wait'; \
  108880. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108881. + --log-file $$b.log --trs-file $$b.trs \
  108882. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108883. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108884. test-time-c++.log: test-time-c++$(EXEEXT)
  108885. - @p='test-time-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108886. + @p='test-time-c++$(EXEEXT)'; \
  108887. + b='test-time-c++'; \
  108888. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108889. + --log-file $$b.log --trs-file $$b.trs \
  108890. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108891. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108892. test-time.log: test-time$(EXEEXT)
  108893. - @p='test-time$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108894. + @p='test-time$(EXEEXT)'; \
  108895. + b='test-time'; \
  108896. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108897. + --log-file $$b.log --trs-file $$b.trs \
  108898. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108899. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108900. test-unistd-c++.log: test-unistd-c++$(EXEEXT)
  108901. - @p='test-unistd-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108902. + @p='test-unistd-c++$(EXEEXT)'; \
  108903. + b='test-unistd-c++'; \
  108904. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108905. + --log-file $$b.log --trs-file $$b.trs \
  108906. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108907. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108908. test-dup-safer.log: test-dup-safer$(EXEEXT)
  108909. - @p='test-dup-safer$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108910. + @p='test-dup-safer$(EXEEXT)'; \
  108911. + b='test-dup-safer'; \
  108912. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108913. + --log-file $$b.log --trs-file $$b.trs \
  108914. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108915. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108916. test-unistd.log: test-unistd$(EXEEXT)
  108917. - @p='test-unistd$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108918. + @p='test-unistd$(EXEEXT)'; \
  108919. + b='test-unistd'; \
  108920. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108921. + --log-file $$b.log --trs-file $$b.trs \
  108922. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108923. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108924. test-unsetenv.log: test-unsetenv$(EXEEXT)
  108925. - @p='test-unsetenv$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108926. + @p='test-unsetenv$(EXEEXT)'; \
  108927. + b='test-unsetenv'; \
  108928. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108929. + --log-file $$b.log --trs-file $$b.trs \
  108930. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108931. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108932. test-update-copyright.sh.log: test-update-copyright.sh
  108933. - @p='test-update-copyright.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108934. + @p='test-update-copyright.sh'; \
  108935. + b='test-update-copyright.sh'; \
  108936. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108937. + --log-file $$b.log --trs-file $$b.trs \
  108938. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108939. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108940. test-vasnprintf.log: test-vasnprintf$(EXEEXT)
  108941. - @p='test-vasnprintf$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108942. + @p='test-vasnprintf$(EXEEXT)'; \
  108943. + b='test-vasnprintf'; \
  108944. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108945. + --log-file $$b.log --trs-file $$b.trs \
  108946. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108947. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108948. test-vasprintf-posix.log: test-vasprintf-posix$(EXEEXT)
  108949. - @p='test-vasprintf-posix$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108950. + @p='test-vasprintf-posix$(EXEEXT)'; \
  108951. + b='test-vasprintf-posix'; \
  108952. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108953. + --log-file $$b.log --trs-file $$b.trs \
  108954. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108955. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108956. test-vasprintf.log: test-vasprintf$(EXEEXT)
  108957. - @p='test-vasprintf$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108958. + @p='test-vasprintf$(EXEEXT)'; \
  108959. + b='test-vasprintf'; \
  108960. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108961. + --log-file $$b.log --trs-file $$b.trs \
  108962. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108963. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108964. test-vc-list-files-git.sh.log: test-vc-list-files-git.sh
  108965. - @p='test-vc-list-files-git.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108966. + @p='test-vc-list-files-git.sh'; \
  108967. + b='test-vc-list-files-git.sh'; \
  108968. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108969. + --log-file $$b.log --trs-file $$b.trs \
  108970. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108971. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108972. test-vc-list-files-cvs.sh.log: test-vc-list-files-cvs.sh
  108973. - @p='test-vc-list-files-cvs.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108974. + @p='test-vc-list-files-cvs.sh'; \
  108975. + b='test-vc-list-files-cvs.sh'; \
  108976. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108977. + --log-file $$b.log --trs-file $$b.trs \
  108978. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108979. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108980. test-verify.log: test-verify$(EXEEXT)
  108981. - @p='test-verify$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108982. + @p='test-verify$(EXEEXT)'; \
  108983. + b='test-verify'; \
  108984. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108985. + --log-file $$b.log --trs-file $$b.trs \
  108986. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108987. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108988. test-verify.sh.log: test-verify.sh
  108989. - @p='test-verify.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108990. + @p='test-verify.sh'; \
  108991. + b='test-verify.sh'; \
  108992. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  108993. + --log-file $$b.log --trs-file $$b.trs \
  108994. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  108995. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  108996. test-version-etc.sh.log: test-version-etc.sh
  108997. - @p='test-version-etc.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  108998. + @p='test-version-etc.sh'; \
  108999. + b='test-version-etc.sh'; \
  109000. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  109001. + --log-file $$b.log --trs-file $$b.trs \
  109002. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  109003. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  109004. test-wchar-c++.log: test-wchar-c++$(EXEEXT)
  109005. - @p='test-wchar-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  109006. + @p='test-wchar-c++$(EXEEXT)'; \
  109007. + b='test-wchar-c++'; \
  109008. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  109009. + --log-file $$b.log --trs-file $$b.trs \
  109010. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  109011. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  109012. test-wchar.log: test-wchar$(EXEEXT)
  109013. - @p='test-wchar$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  109014. + @p='test-wchar$(EXEEXT)'; \
  109015. + b='test-wchar'; \
  109016. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  109017. + --log-file $$b.log --trs-file $$b.trs \
  109018. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  109019. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  109020. test-wcrtomb.sh.log: test-wcrtomb.sh
  109021. - @p='test-wcrtomb.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  109022. + @p='test-wcrtomb.sh'; \
  109023. + b='test-wcrtomb.sh'; \
  109024. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  109025. + --log-file $$b.log --trs-file $$b.trs \
  109026. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  109027. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  109028. test-wcrtomb-w32-1.sh.log: test-wcrtomb-w32-1.sh
  109029. - @p='test-wcrtomb-w32-1.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  109030. + @p='test-wcrtomb-w32-1.sh'; \
  109031. + b='test-wcrtomb-w32-1.sh'; \
  109032. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  109033. + --log-file $$b.log --trs-file $$b.trs \
  109034. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  109035. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  109036. test-wcrtomb-w32-2.sh.log: test-wcrtomb-w32-2.sh
  109037. - @p='test-wcrtomb-w32-2.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  109038. + @p='test-wcrtomb-w32-2.sh'; \
  109039. + b='test-wcrtomb-w32-2.sh'; \
  109040. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  109041. + --log-file $$b.log --trs-file $$b.trs \
  109042. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  109043. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  109044. test-wcrtomb-w32-3.sh.log: test-wcrtomb-w32-3.sh
  109045. - @p='test-wcrtomb-w32-3.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  109046. + @p='test-wcrtomb-w32-3.sh'; \
  109047. + b='test-wcrtomb-w32-3.sh'; \
  109048. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  109049. + --log-file $$b.log --trs-file $$b.trs \
  109050. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  109051. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  109052. test-wcrtomb-w32-4.sh.log: test-wcrtomb-w32-4.sh
  109053. - @p='test-wcrtomb-w32-4.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  109054. + @p='test-wcrtomb-w32-4.sh'; \
  109055. + b='test-wcrtomb-w32-4.sh'; \
  109056. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  109057. + --log-file $$b.log --trs-file $$b.trs \
  109058. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  109059. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  109060. test-wcrtomb-w32-5.sh.log: test-wcrtomb-w32-5.sh
  109061. - @p='test-wcrtomb-w32-5.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  109062. + @p='test-wcrtomb-w32-5.sh'; \
  109063. + b='test-wcrtomb-w32-5.sh'; \
  109064. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  109065. + --log-file $$b.log --trs-file $$b.trs \
  109066. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  109067. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  109068. test-wctype-h-c++.log: test-wctype-h-c++$(EXEEXT)
  109069. - @p='test-wctype-h-c++$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  109070. + @p='test-wctype-h-c++$(EXEEXT)'; \
  109071. + b='test-wctype-h-c++'; \
  109072. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  109073. + --log-file $$b.log --trs-file $$b.trs \
  109074. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  109075. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  109076. test-wctype-h.log: test-wctype-h$(EXEEXT)
  109077. - @p='test-wctype-h$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  109078. + @p='test-wctype-h$(EXEEXT)'; \
  109079. + b='test-wctype-h'; \
  109080. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  109081. + --log-file $$b.log --trs-file $$b.trs \
  109082. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  109083. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  109084. test-xalloc-die.sh.log: test-xalloc-die.sh
  109085. - @p='test-xalloc-die.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  109086. + @p='test-xalloc-die.sh'; \
  109087. + b='test-xalloc-die.sh'; \
  109088. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  109089. + --log-file $$b.log --trs-file $$b.trs \
  109090. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  109091. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  109092. test-xvasprintf.log: test-xvasprintf$(EXEEXT)
  109093. - @p='test-xvasprintf$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
  109094. + @p='test-xvasprintf$(EXEEXT)'; \
  109095. + b='test-xvasprintf'; \
  109096. + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
  109097. + --log-file $$b.log --trs-file $$b.trs \
  109098. + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
  109099. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  109100. .test.log:
  109101. - @p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
  109102. + @p='$<'; \
  109103. + $(am__set_b); \
  109104. + $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
  109105. + --log-file $$b.log --trs-file $$b.trs \
  109106. + $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
  109107. + "$$tst" $(AM_TESTS_FD_REDIRECT)
  109108. @am__EXEEXT_TRUE@.test$(EXEEXT).log:
  109109. -@am__EXEEXT_TRUE@ @p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
  109110. +@am__EXEEXT_TRUE@ @p='$<'; \
  109111. +@am__EXEEXT_TRUE@ $(am__set_b); \
  109112. +@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
  109113. +@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
  109114. +@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
  109115. +@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
  109116. distdir: $(DISTFILES)
  109117. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  109118. @@ -3507,13 +4526,10 @@
  109119. done
  109120. @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  109121. if test "$$subdir" = .; then :; else \
  109122. - test -d "$(distdir)/$$subdir" \
  109123. - || $(MKDIR_P) "$(distdir)/$$subdir" \
  109124. - || exit 1; \
  109125. - fi; \
  109126. - done
  109127. - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  109128. - if test "$$subdir" = .; then :; else \
  109129. + $(am__make_dryrun) \
  109130. + || test -d "$(distdir)/$$subdir" \
  109131. + || $(MKDIR_P) "$(distdir)/$$subdir" \
  109132. + || exit 1; \
  109133. dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  109134. $(am__relativize); \
  109135. new_distdir=$$reldir; \
  109136. @@ -3552,15 +4568,19 @@
  109137. installcheck: installcheck-recursive
  109138. install-strip:
  109139. - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  109140. - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  109141. - `test -z '$(STRIP)' || \
  109142. - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  109143. + if test -z '$(STRIP)'; then \
  109144. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  109145. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  109146. + install; \
  109147. + else \
  109148. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  109149. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  109150. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  109151. + fi
  109152. mostlyclean-generic:
  109153. -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
  109154. -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
  109155. - -test -z "$(TEST_LOGS_TMP)" || rm -f $(TEST_LOGS_TMP)
  109156. - -test -z "$(TEST_SUITE_HTML)" || rm -f $(TEST_SUITE_HTML)
  109157. + -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
  109158. -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
  109159. clean-generic:
  109160. @@ -3648,15 +4668,14 @@
  109161. uninstall-am:
  109162. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
  109163. - check-am check-html ctags-recursive install install-am \
  109164. - install-strip recheck recheck-html tags-recursive
  109165. -
  109166. -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  109167. - all all-am check check-TESTS check-am check-html clean \
  109168. - clean-checkLIBRARIES clean-checkPROGRAMS clean-generic \
  109169. - clean-local clean-noinstLIBRARIES clean-noinstPROGRAMS ctags \
  109170. - ctags-recursive distclean distclean-compile distclean-generic \
  109171. +.MAKE: $(am__recursive_targets) all check check-am install install-am \
  109172. + install-strip
  109173. +
  109174. +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
  109175. + check-TESTS check-am clean clean-checkLIBRARIES \
  109176. + clean-checkPROGRAMS clean-generic clean-local \
  109177. + clean-noinstLIBRARIES clean-noinstPROGRAMS cscopelist-am ctags \
  109178. + ctags-am distclean distclean-compile distclean-generic \
  109179. distclean-tags distdir dvi dvi-am html html-am info info-am \
  109180. install install-am install-data install-data-am install-dvi \
  109181. install-dvi-am install-exec install-exec-am install-html \
  109182. @@ -3665,8 +4684,8 @@
  109183. install-strip installcheck installcheck-am installdirs \
  109184. installdirs-am maintainer-clean maintainer-clean-generic \
  109185. mostlyclean mostlyclean-compile mostlyclean-generic \
  109186. - mostlyclean-local pdf pdf-am ps ps-am recheck recheck-html \
  109187. - tags tags-recursive uninstall uninstall-am
  109188. + mostlyclean-local pdf pdf-am ps ps-am recheck tags tags-am \
  109189. + uninstall uninstall-am
  109190. # The arg-nonnull.h that gets inserted into generated .h files is the same as
  109191. # build-aux/arg-nonnull.h, except that it has the copyright header cut off.