strace-autoreconf.patch 345 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103
  1. --- strace-4.5.15-orig/configure 2007-01-11 23:23:33.000000000 +0100
  2. +++ strace-4.5.15-mod/configure 2007-06-04 17:29:39.000000000 +0200
  3. @@ -1,25 +1,54 @@
  4. #! /bin/sh
  5. # Guess values for system-dependent variables and create Makefiles.
  6. -# Generated by GNU Autoconf 2.59 for strace 4.5.15.
  7. +# Generated by GNU Autoconf 2.61 for strace 4.5.15.
  8. #
  9. -# Copyright (C) 2003 Free Software Foundation, Inc.
  10. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  11. +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  12. # This configure script is free software; the Free Software Foundation
  13. # gives unlimited permission to copy, distribute and modify it.
  14. ## --------------------- ##
  15. ## M4sh Initialization. ##
  16. ## --------------------- ##
  17. -# Be Bourne compatible
  18. +# Be more Bourne compatible
  19. +DUALCASE=1; export DUALCASE # for MKS sh
  20. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  21. emulate sh
  22. NULLCMD=:
  23. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  24. # is contrary to our usage. Disable this feature.
  25. alias -g '${1+"$@"}'='"$@"'
  26. -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  27. - set -o posix
  28. + setopt NO_GLOB_SUBST
  29. +else
  30. + case `(set -o) 2>/dev/null` in
  31. + *posix*) set -o posix ;;
  32. +esac
  33. +
  34. +fi
  35. +
  36. +
  37. +
  38. +
  39. +# PATH needs CR
  40. +# Avoid depending upon Character Ranges.
  41. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  42. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  43. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  44. +as_cr_digits='0123456789'
  45. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  46. +
  47. +# The user is always right.
  48. +if test "${PATH_SEPARATOR+set}" != set; then
  49. + echo "#! /bin/sh" >conf$$.sh
  50. + echo "exit 0" >>conf$$.sh
  51. + chmod +x conf$$.sh
  52. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  53. + PATH_SEPARATOR=';'
  54. + else
  55. + PATH_SEPARATOR=:
  56. + fi
  57. + rm -f conf$$.sh
  58. fi
  59. -DUALCASE=1; export DUALCASE # for MKS sh
  60. # Support unset when possible.
  61. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  62. @@ -29,8 +58,43 @@ else
  63. fi
  64. +# IFS
  65. +# We need space, tab and new line, in precisely that order. Quoting is
  66. +# there to prevent editors from complaining about space-tab.
  67. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  68. +# splitting by setting IFS to empty value.)
  69. +as_nl='
  70. +'
  71. +IFS=" "" $as_nl"
  72. +
  73. +# Find who we are. Look in the path if we contain no directory separator.
  74. +case $0 in
  75. + *[\\/]* ) as_myself=$0 ;;
  76. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  77. +for as_dir in $PATH
  78. +do
  79. + IFS=$as_save_IFS
  80. + test -z "$as_dir" && as_dir=.
  81. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  82. +done
  83. +IFS=$as_save_IFS
  84. +
  85. + ;;
  86. +esac
  87. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  88. +# in which case we are not to be found in the path.
  89. +if test "x$as_myself" = x; then
  90. + as_myself=$0
  91. +fi
  92. +if test ! -f "$as_myself"; then
  93. + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  94. + { (exit 1); exit 1; }
  95. +fi
  96. +
  97. # Work around bugs in pre-3.0 UWIN ksh.
  98. -$as_unset ENV MAIL MAILPATH
  99. +for as_var in ENV MAIL MAILPATH
  100. +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  101. +done
  102. PS1='$ '
  103. PS2='> '
  104. PS4='+ '
  105. @@ -44,18 +108,19 @@ do
  106. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  107. eval $as_var=C; export $as_var
  108. else
  109. - $as_unset $as_var
  110. + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  111. fi
  112. done
  113. # Required to use basename.
  114. -if expr a : '\(a\)' >/dev/null 2>&1; then
  115. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  116. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  117. as_expr=expr
  118. else
  119. as_expr=false
  120. fi
  121. -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  122. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  123. as_basename=basename
  124. else
  125. as_basename=false
  126. @@ -63,157 +128,388 @@ fi
  127. # Name of the executable.
  128. -as_me=`$as_basename "$0" ||
  129. +as_me=`$as_basename -- "$0" ||
  130. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  131. X"$0" : 'X\(//\)$' \| \
  132. - X"$0" : 'X\(/\)$' \| \
  133. - . : '\(.\)' 2>/dev/null ||
  134. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  135. echo X/"$0" |
  136. - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  137. - /^X\/\(\/\/\)$/{ s//\1/; q; }
  138. - /^X\/\(\/\).*/{ s//\1/; q; }
  139. - s/.*/./; q'`
  140. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  141. + s//\1/
  142. + q
  143. + }
  144. + /^X\/\(\/\/\)$/{
  145. + s//\1/
  146. + q
  147. + }
  148. + /^X\/\(\/\).*/{
  149. + s//\1/
  150. + q
  151. + }
  152. + s/.*/./; q'`
  153. +# CDPATH.
  154. +$as_unset CDPATH
  155. -# PATH needs CR, and LINENO needs CR and PATH.
  156. -# Avoid depending upon Character Ranges.
  157. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  158. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  159. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  160. -as_cr_digits='0123456789'
  161. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  162. -# The user is always right.
  163. -if test "${PATH_SEPARATOR+set}" != set; then
  164. - echo "#! /bin/sh" >conf$$.sh
  165. - echo "exit 0" >>conf$$.sh
  166. - chmod +x conf$$.sh
  167. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  168. - PATH_SEPARATOR=';'
  169. - else
  170. - PATH_SEPARATOR=:
  171. - fi
  172. - rm -f conf$$.sh
  173. +if test "x$CONFIG_SHELL" = x; then
  174. + if (eval ":") 2>/dev/null; then
  175. + as_have_required=yes
  176. +else
  177. + as_have_required=no
  178. +fi
  179. +
  180. + if test $as_have_required = yes && (eval ":
  181. +(as_func_return () {
  182. + (exit \$1)
  183. +}
  184. +as_func_success () {
  185. + as_func_return 0
  186. +}
  187. +as_func_failure () {
  188. + as_func_return 1
  189. +}
  190. +as_func_ret_success () {
  191. + return 0
  192. +}
  193. +as_func_ret_failure () {
  194. + return 1
  195. +}
  196. +
  197. +exitcode=0
  198. +if as_func_success; then
  199. + :
  200. +else
  201. + exitcode=1
  202. + echo as_func_success failed.
  203. fi
  204. +if as_func_failure; then
  205. + exitcode=1
  206. + echo as_func_failure succeeded.
  207. +fi
  208. - as_lineno_1=$LINENO
  209. - as_lineno_2=$LINENO
  210. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  211. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  212. - test "x$as_lineno_3" = "x$as_lineno_2" || {
  213. - # Find who we are. Look in the path if we contain no path at all
  214. - # relative or not.
  215. - case $0 in
  216. - *[\\/]* ) as_myself=$0 ;;
  217. - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  218. -for as_dir in $PATH
  219. -do
  220. - IFS=$as_save_IFS
  221. - test -z "$as_dir" && as_dir=.
  222. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  223. -done
  224. +if as_func_ret_success; then
  225. + :
  226. +else
  227. + exitcode=1
  228. + echo as_func_ret_success failed.
  229. +fi
  230. - ;;
  231. - esac
  232. - # We did not find ourselves, most probably we were run as `sh COMMAND'
  233. - # in which case we are not to be found in the path.
  234. - if test "x$as_myself" = x; then
  235. - as_myself=$0
  236. - fi
  237. - if test ! -f "$as_myself"; then
  238. - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  239. - { (exit 1); exit 1; }; }
  240. - fi
  241. - case $CONFIG_SHELL in
  242. - '')
  243. +if as_func_ret_failure; then
  244. + exitcode=1
  245. + echo as_func_ret_failure succeeded.
  246. +fi
  247. +
  248. +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  249. + :
  250. +else
  251. + exitcode=1
  252. + echo positional parameters were not saved.
  253. +fi
  254. +
  255. +test \$exitcode = 0) || { (exit 1); exit 1; }
  256. +
  257. +(
  258. + as_lineno_1=\$LINENO
  259. + as_lineno_2=\$LINENO
  260. + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  261. + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  262. +") 2> /dev/null; then
  263. + :
  264. +else
  265. + as_candidate_shells=
  266. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  267. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  268. do
  269. IFS=$as_save_IFS
  270. test -z "$as_dir" && as_dir=.
  271. - for as_base in sh bash ksh sh5; do
  272. - case $as_dir in
  273. + case $as_dir in
  274. /*)
  275. - if ("$as_dir/$as_base" -c '
  276. + for as_base in sh bash ksh sh5; do
  277. + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  278. + done;;
  279. + esac
  280. +done
  281. +IFS=$as_save_IFS
  282. +
  283. +
  284. + for as_shell in $as_candidate_shells $SHELL; do
  285. + # Try only shells that exist, to save several forks.
  286. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  287. + { ("$as_shell") 2> /dev/null <<\_ASEOF
  288. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  289. + emulate sh
  290. + NULLCMD=:
  291. + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  292. + # is contrary to our usage. Disable this feature.
  293. + alias -g '${1+"$@"}'='"$@"'
  294. + setopt NO_GLOB_SUBST
  295. +else
  296. + case `(set -o) 2>/dev/null` in
  297. + *posix*) set -o posix ;;
  298. +esac
  299. +
  300. +fi
  301. +
  302. +
  303. +:
  304. +_ASEOF
  305. +}; then
  306. + CONFIG_SHELL=$as_shell
  307. + as_have_required=yes
  308. + if { "$as_shell" 2> /dev/null <<\_ASEOF
  309. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  310. + emulate sh
  311. + NULLCMD=:
  312. + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  313. + # is contrary to our usage. Disable this feature.
  314. + alias -g '${1+"$@"}'='"$@"'
  315. + setopt NO_GLOB_SUBST
  316. +else
  317. + case `(set -o) 2>/dev/null` in
  318. + *posix*) set -o posix ;;
  319. +esac
  320. +
  321. +fi
  322. +
  323. +
  324. +:
  325. +(as_func_return () {
  326. + (exit $1)
  327. +}
  328. +as_func_success () {
  329. + as_func_return 0
  330. +}
  331. +as_func_failure () {
  332. + as_func_return 1
  333. +}
  334. +as_func_ret_success () {
  335. + return 0
  336. +}
  337. +as_func_ret_failure () {
  338. + return 1
  339. +}
  340. +
  341. +exitcode=0
  342. +if as_func_success; then
  343. + :
  344. +else
  345. + exitcode=1
  346. + echo as_func_success failed.
  347. +fi
  348. +
  349. +if as_func_failure; then
  350. + exitcode=1
  351. + echo as_func_failure succeeded.
  352. +fi
  353. +
  354. +if as_func_ret_success; then
  355. + :
  356. +else
  357. + exitcode=1
  358. + echo as_func_ret_success failed.
  359. +fi
  360. +
  361. +if as_func_ret_failure; then
  362. + exitcode=1
  363. + echo as_func_ret_failure succeeded.
  364. +fi
  365. +
  366. +if ( set x; as_func_ret_success y && test x = "$1" ); then
  367. + :
  368. +else
  369. + exitcode=1
  370. + echo positional parameters were not saved.
  371. +fi
  372. +
  373. +test $exitcode = 0) || { (exit 1); exit 1; }
  374. +
  375. +(
  376. as_lineno_1=$LINENO
  377. as_lineno_2=$LINENO
  378. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  379. test "x$as_lineno_1" != "x$as_lineno_2" &&
  380. - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  381. - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  382. - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  383. - CONFIG_SHELL=$as_dir/$as_base
  384. - export CONFIG_SHELL
  385. - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  386. - fi;;
  387. - esac
  388. - done
  389. -done
  390. -;;
  391. - esac
  392. + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  393. +
  394. +_ASEOF
  395. +}; then
  396. + break
  397. +fi
  398. +
  399. +fi
  400. +
  401. + done
  402. +
  403. + if test "x$CONFIG_SHELL" != x; then
  404. + for as_var in BASH_ENV ENV
  405. + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  406. + done
  407. + export CONFIG_SHELL
  408. + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  409. +fi
  410. +
  411. +
  412. + if test $as_have_required = no; then
  413. + echo This script requires a shell more modern than all the
  414. + echo shells that I found on your system. Please install a
  415. + echo modern shell, or manually run the script under such a
  416. + echo shell if you do have one.
  417. + { (exit 1); exit 1; }
  418. +fi
  419. +
  420. +
  421. +fi
  422. +
  423. +fi
  424. +
  425. +
  426. +
  427. +(eval "as_func_return () {
  428. + (exit \$1)
  429. +}
  430. +as_func_success () {
  431. + as_func_return 0
  432. +}
  433. +as_func_failure () {
  434. + as_func_return 1
  435. +}
  436. +as_func_ret_success () {
  437. + return 0
  438. +}
  439. +as_func_ret_failure () {
  440. + return 1
  441. +}
  442. +
  443. +exitcode=0
  444. +if as_func_success; then
  445. + :
  446. +else
  447. + exitcode=1
  448. + echo as_func_success failed.
  449. +fi
  450. +
  451. +if as_func_failure; then
  452. + exitcode=1
  453. + echo as_func_failure succeeded.
  454. +fi
  455. +
  456. +if as_func_ret_success; then
  457. + :
  458. +else
  459. + exitcode=1
  460. + echo as_func_ret_success failed.
  461. +fi
  462. +
  463. +if as_func_ret_failure; then
  464. + exitcode=1
  465. + echo as_func_ret_failure succeeded.
  466. +fi
  467. +
  468. +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  469. + :
  470. +else
  471. + exitcode=1
  472. + echo positional parameters were not saved.
  473. +fi
  474. +
  475. +test \$exitcode = 0") || {
  476. + echo No shell found that supports shell functions.
  477. + echo Please tell autoconf@gnu.org about your system,
  478. + echo including any error possibly output before this
  479. + echo message
  480. +}
  481. +
  482. +
  483. +
  484. + as_lineno_1=$LINENO
  485. + as_lineno_2=$LINENO
  486. + test "x$as_lineno_1" != "x$as_lineno_2" &&
  487. + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  488. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  489. # uniformly replaced by the line number. The first 'sed' inserts a
  490. - # line-number line before each line; the second 'sed' does the real
  491. - # work. The second script uses 'N' to pair each line-number line
  492. - # with the numbered line, and appends trailing '-' during
  493. - # substitution so that $LINENO is not a special case at line end.
  494. + # line-number line after each line using $LINENO; the second 'sed'
  495. + # does the real work. The second script uses 'N' to pair each
  496. + # line-number line with the line containing $LINENO, and appends
  497. + # trailing '-' during substitution so that $LINENO is not a special
  498. + # case at line end.
  499. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  500. - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  501. - sed '=' <$as_myself |
  502. + # scripts with optimization help from Paolo Bonzini. Blame Lee
  503. + # E. McMahon (1931-1989) for sed's syntax. :-)
  504. + sed -n '
  505. + p
  506. + /[$]LINENO/=
  507. + ' <$as_myself |
  508. sed '
  509. + s/[$]LINENO.*/&-/
  510. + t lineno
  511. + b
  512. + :lineno
  513. N
  514. - s,$,-,
  515. - : loop
  516. - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  517. + :loop
  518. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  519. t loop
  520. - s,-$,,
  521. - s,^['$as_cr_digits']*\n,,
  522. + s/-\n.*//
  523. ' >$as_me.lineno &&
  524. - chmod +x $as_me.lineno ||
  525. + chmod +x "$as_me.lineno" ||
  526. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  527. { (exit 1); exit 1; }; }
  528. # Don't try to exec as it changes $[0], causing all sort of problems
  529. # (the dirname of $[0] is not the place where we might find the
  530. - # original and so on. Autoconf is especially sensible to this).
  531. - . ./$as_me.lineno
  532. + # original and so on. Autoconf is especially sensitive to this).
  533. + . "./$as_me.lineno"
  534. # Exit status is that of the last command.
  535. exit
  536. }
  537. -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  538. - *c*,-n*) ECHO_N= ECHO_C='
  539. -' ECHO_T=' ' ;;
  540. - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  541. - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  542. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  543. + as_dirname=dirname
  544. +else
  545. + as_dirname=false
  546. +fi
  547. +
  548. +ECHO_C= ECHO_N= ECHO_T=
  549. +case `echo -n x` in
  550. +-n*)
  551. + case `echo 'x\c'` in
  552. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  553. + *) ECHO_C='\c';;
  554. + esac;;
  555. +*)
  556. + ECHO_N='-n';;
  557. esac
  558. -if expr a : '\(a\)' >/dev/null 2>&1; then
  559. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  560. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  561. as_expr=expr
  562. else
  563. as_expr=false
  564. fi
  565. rm -f conf$$ conf$$.exe conf$$.file
  566. +if test -d conf$$.dir; then
  567. + rm -f conf$$.dir/conf$$.file
  568. +else
  569. + rm -f conf$$.dir
  570. + mkdir conf$$.dir
  571. +fi
  572. echo >conf$$.file
  573. if ln -s conf$$.file conf$$ 2>/dev/null; then
  574. - # We could just check for DJGPP; but this test a) works b) is more generic
  575. - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  576. - if test -f conf$$.exe; then
  577. - # Don't use ln at all; we don't have any links
  578. + as_ln_s='ln -s'
  579. + # ... but there are two gotchas:
  580. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  581. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  582. + # In both cases, we have to default to `cp -p'.
  583. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  584. as_ln_s='cp -p'
  585. - else
  586. - as_ln_s='ln -s'
  587. - fi
  588. elif ln conf$$.file conf$$ 2>/dev/null; then
  589. as_ln_s=ln
  590. else
  591. as_ln_s='cp -p'
  592. fi
  593. -rm -f conf$$ conf$$.exe conf$$.file
  594. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  595. +rmdir conf$$.dir 2>/dev/null
  596. if mkdir -p . 2>/dev/null; then
  597. as_mkdir_p=:
  598. @@ -222,7 +518,28 @@ else
  599. as_mkdir_p=false
  600. fi
  601. -as_executable_p="test -f"
  602. +if test -x / >/dev/null 2>&1; then
  603. + as_test_x='test -x'
  604. +else
  605. + if ls -dL / >/dev/null 2>&1; then
  606. + as_ls_L_option=L
  607. + else
  608. + as_ls_L_option=
  609. + fi
  610. + as_test_x='
  611. + eval sh -c '\''
  612. + if test -d "$1"; then
  613. + test -d "$1/.";
  614. + else
  615. + case $1 in
  616. + -*)set "./$1";;
  617. + esac;
  618. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  619. + ???[sx]*):;;*)false;;esac;fi
  620. + '\'' sh
  621. + '
  622. +fi
  623. +as_executable_p=$as_test_x
  624. # Sed expression to map a string onto a valid CPP name.
  625. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  626. @@ -231,39 +548,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
  627. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  628. -# IFS
  629. -# We need space, tab and new line, in precisely that order.
  630. -as_nl='
  631. -'
  632. -IFS=" $as_nl"
  633. -
  634. -# CDPATH.
  635. -$as_unset CDPATH
  636. +exec 7<&0 </dev/null 6>&1
  637. # Name of the host.
  638. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  639. # so uname gets run too.
  640. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  641. -exec 6>&1
  642. -
  643. #
  644. # Initializations.
  645. #
  646. ac_default_prefix=/usr/local
  647. +ac_clean_files=
  648. ac_config_libobj_dir=.
  649. +LIBOBJS=
  650. cross_compiling=no
  651. subdirs=
  652. MFLAGS=
  653. MAKEFLAGS=
  654. SHELL=${CONFIG_SHELL-/bin/sh}
  655. -# Maximum number of lines to put in a shell here document.
  656. -# This variable seems obsolete. It should probably be removed, and
  657. -# only ac_max_sed_lines should be used.
  658. -: ${ac_max_here_lines=38}
  659. -
  660. # Identity of this package.
  661. PACKAGE_NAME='strace'
  662. PACKAGE_TARNAME='strace'
  663. @@ -275,42 +580,156 @@ ac_unique_file="strace.c"
  664. # Factoring default headers for most tests.
  665. ac_includes_default="\
  666. #include <stdio.h>
  667. -#if HAVE_SYS_TYPES_H
  668. +#ifdef HAVE_SYS_TYPES_H
  669. # include <sys/types.h>
  670. #endif
  671. -#if HAVE_SYS_STAT_H
  672. +#ifdef HAVE_SYS_STAT_H
  673. # include <sys/stat.h>
  674. #endif
  675. -#if STDC_HEADERS
  676. +#ifdef STDC_HEADERS
  677. # include <stdlib.h>
  678. # include <stddef.h>
  679. #else
  680. -# if HAVE_STDLIB_H
  681. +# ifdef HAVE_STDLIB_H
  682. # include <stdlib.h>
  683. # endif
  684. #endif
  685. -#if HAVE_STRING_H
  686. -# if !STDC_HEADERS && HAVE_MEMORY_H
  687. +#ifdef HAVE_STRING_H
  688. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  689. # include <memory.h>
  690. # endif
  691. # include <string.h>
  692. #endif
  693. -#if HAVE_STRINGS_H
  694. +#ifdef HAVE_STRINGS_H
  695. # include <strings.h>
  696. #endif
  697. -#if HAVE_INTTYPES_H
  698. +#ifdef HAVE_INTTYPES_H
  699. # include <inttypes.h>
  700. -#else
  701. -# if HAVE_STDINT_H
  702. -# include <stdint.h>
  703. -# endif
  704. #endif
  705. -#if HAVE_UNISTD_H
  706. +#ifdef HAVE_STDINT_H
  707. +# include <stdint.h>
  708. +#endif
  709. +#ifdef HAVE_UNISTD_H
  710. # include <unistd.h>
  711. #endif"
  712. -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os opsys arch LINUX_TRUE LINUX_FALSE I386_TRUE I386_FALSE X86_64_TRUE X86_64_FALSE SUNOS4_TRUE SUNOS4_FALSE SVR4_TRUE SVR4_FALSE FREEBSD_TRUE FREEBSD_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE WARNFLAGS CPP EGREP PERL LIBOBJS LTLIBOBJS'
  713. +ac_subst_vars='SHELL
  714. +PATH_SEPARATOR
  715. +PACKAGE_NAME
  716. +PACKAGE_TARNAME
  717. +PACKAGE_VERSION
  718. +PACKAGE_STRING
  719. +PACKAGE_BUGREPORT
  720. +exec_prefix
  721. +prefix
  722. +program_transform_name
  723. +bindir
  724. +sbindir
  725. +libexecdir
  726. +datarootdir
  727. +datadir
  728. +sysconfdir
  729. +sharedstatedir
  730. +localstatedir
  731. +includedir
  732. +oldincludedir
  733. +docdir
  734. +infodir
  735. +htmldir
  736. +dvidir
  737. +pdfdir
  738. +psdir
  739. +libdir
  740. +localedir
  741. +mandir
  742. +DEFS
  743. +ECHO_C
  744. +ECHO_N
  745. +ECHO_T
  746. +LIBS
  747. +build_alias
  748. +host_alias
  749. +target_alias
  750. +INSTALL_PROGRAM
  751. +INSTALL_SCRIPT
  752. +INSTALL_DATA
  753. +CYGPATH_W
  754. +PACKAGE
  755. +VERSION
  756. +ACLOCAL
  757. +AUTOCONF
  758. +AUTOMAKE
  759. +AUTOHEADER
  760. +MAKEINFO
  761. +install_sh
  762. +STRIP
  763. +INSTALL_STRIP_PROGRAM
  764. +mkdir_p
  765. +AWK
  766. +SET_MAKE
  767. +am__leading_dot
  768. +AMTAR
  769. +am__tar
  770. +am__untar
  771. +MAINTAINER_MODE_TRUE
  772. +MAINTAINER_MODE_FALSE
  773. +MAINT
  774. +build
  775. +build_cpu
  776. +build_vendor
  777. +build_os
  778. +host
  779. +host_cpu
  780. +host_vendor
  781. +host_os
  782. +opsys
  783. +arch
  784. +LINUX_TRUE
  785. +LINUX_FALSE
  786. +I386_TRUE
  787. +I386_FALSE
  788. +X86_64_TRUE
  789. +X86_64_FALSE
  790. +SUNOS4_TRUE
  791. +SUNOS4_FALSE
  792. +SVR4_TRUE
  793. +SVR4_FALSE
  794. +FREEBSD_TRUE
  795. +FREEBSD_FALSE
  796. +CC
  797. +CFLAGS
  798. +LDFLAGS
  799. +CPPFLAGS
  800. +ac_ct_CC
  801. +EXEEXT
  802. +OBJEXT
  803. +DEPDIR
  804. +am__include
  805. +am__quote
  806. +AMDEP_TRUE
  807. +AMDEP_FALSE
  808. +AMDEPBACKSLASH
  809. +CCDEPMODE
  810. +am__fastdepCC_TRUE
  811. +am__fastdepCC_FALSE
  812. +WARNFLAGS
  813. +CPP
  814. +GREP
  815. +EGREP
  816. +PERL
  817. +LIBOBJS
  818. +LTLIBOBJS'
  819. ac_subst_files=''
  820. + ac_precious_vars='build_alias
  821. +host_alias
  822. +target_alias
  823. +CC
  824. +CFLAGS
  825. +LDFLAGS
  826. +LIBS
  827. +CPPFLAGS
  828. +CPP'
  829. +
  830. # Initialize some variables set by options.
  831. ac_init_help=
  832. @@ -337,34 +756,48 @@ x_libraries=NONE
  833. # and all the variables that are supposed to be based on exec_prefix
  834. # by default will actually change.
  835. # Use braces instead of parens because sh, perl, etc. also accept them.
  836. +# (The list follows the same order as the GNU Coding Standards.)
  837. bindir='${exec_prefix}/bin'
  838. sbindir='${exec_prefix}/sbin'
  839. libexecdir='${exec_prefix}/libexec'
  840. -datadir='${prefix}/share'
  841. +datarootdir='${prefix}/share'
  842. +datadir='${datarootdir}'
  843. sysconfdir='${prefix}/etc'
  844. sharedstatedir='${prefix}/com'
  845. localstatedir='${prefix}/var'
  846. -libdir='${exec_prefix}/lib'
  847. includedir='${prefix}/include'
  848. oldincludedir='/usr/include'
  849. -infodir='${prefix}/info'
  850. -mandir='${prefix}/man'
  851. +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  852. +infodir='${datarootdir}/info'
  853. +htmldir='${docdir}'
  854. +dvidir='${docdir}'
  855. +pdfdir='${docdir}'
  856. +psdir='${docdir}'
  857. +libdir='${exec_prefix}/lib'
  858. +localedir='${datarootdir}/locale'
  859. +mandir='${datarootdir}/man'
  860. ac_prev=
  861. +ac_dashdash=
  862. for ac_option
  863. do
  864. # If the previous option needs an argument, assign it.
  865. if test -n "$ac_prev"; then
  866. - eval "$ac_prev=\$ac_option"
  867. + eval $ac_prev=\$ac_option
  868. ac_prev=
  869. continue
  870. fi
  871. - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  872. + case $ac_option in
  873. + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  874. + *) ac_optarg=yes ;;
  875. + esac
  876. # Accept the important Cygnus configure options, so we can diagnose typos.
  877. - case $ac_option in
  878. + case $ac_dashdash$ac_option in
  879. + --)
  880. + ac_dashdash=yes ;;
  881. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  882. ac_prev=bindir ;;
  883. @@ -386,33 +819,45 @@ do
  884. --config-cache | -C)
  885. cache_file=config.cache ;;
  886. - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  887. + -datadir | --datadir | --datadi | --datad)
  888. ac_prev=datadir ;;
  889. - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  890. - | --da=*)
  891. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  892. datadir=$ac_optarg ;;
  893. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  894. + | --dataroo | --dataro | --datar)
  895. + ac_prev=datarootdir ;;
  896. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  897. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  898. + datarootdir=$ac_optarg ;;
  899. +
  900. -disable-* | --disable-*)
  901. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  902. # Reject names that are not valid shell variable names.
  903. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  904. + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  905. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  906. { (exit 1); exit 1; }; }
  907. - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  908. - eval "enable_$ac_feature=no" ;;
  909. + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  910. + eval enable_$ac_feature=no ;;
  911. +
  912. + -docdir | --docdir | --docdi | --doc | --do)
  913. + ac_prev=docdir ;;
  914. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  915. + docdir=$ac_optarg ;;
  916. +
  917. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  918. + ac_prev=dvidir ;;
  919. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  920. + dvidir=$ac_optarg ;;
  921. -enable-* | --enable-*)
  922. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  923. # Reject names that are not valid shell variable names.
  924. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  925. + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  926. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  927. { (exit 1); exit 1; }; }
  928. - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  929. - case $ac_option in
  930. - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  931. - *) ac_optarg=yes ;;
  932. - esac
  933. - eval "enable_$ac_feature='$ac_optarg'" ;;
  934. + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  935. + eval enable_$ac_feature=\$ac_optarg ;;
  936. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  937. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  938. @@ -439,6 +884,12 @@ do
  939. -host=* | --host=* | --hos=* | --ho=*)
  940. host_alias=$ac_optarg ;;
  941. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  942. + ac_prev=htmldir ;;
  943. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  944. + | --ht=*)
  945. + htmldir=$ac_optarg ;;
  946. +
  947. -includedir | --includedir | --includedi | --included | --include \
  948. | --includ | --inclu | --incl | --inc)
  949. ac_prev=includedir ;;
  950. @@ -463,13 +914,16 @@ do
  951. | --libexe=* | --libex=* | --libe=*)
  952. libexecdir=$ac_optarg ;;
  953. + -localedir | --localedir | --localedi | --localed | --locale)
  954. + ac_prev=localedir ;;
  955. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  956. + localedir=$ac_optarg ;;
  957. +
  958. -localstatedir | --localstatedir | --localstatedi | --localstated \
  959. - | --localstate | --localstat | --localsta | --localst \
  960. - | --locals | --local | --loca | --loc | --lo)
  961. + | --localstate | --localstat | --localsta | --localst | --locals)
  962. ac_prev=localstatedir ;;
  963. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  964. - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  965. - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  966. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  967. localstatedir=$ac_optarg ;;
  968. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  969. @@ -534,6 +988,16 @@ do
  970. | --progr-tra=* | --program-tr=* | --program-t=*)
  971. program_transform_name=$ac_optarg ;;
  972. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  973. + ac_prev=pdfdir ;;
  974. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  975. + pdfdir=$ac_optarg ;;
  976. +
  977. + -psdir | --psdir | --psdi | --psd | --ps)
  978. + ac_prev=psdir ;;
  979. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  980. + psdir=$ac_optarg ;;
  981. +
  982. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  983. | -silent | --silent | --silen | --sile | --sil)
  984. silent=yes ;;
  985. @@ -586,24 +1050,20 @@ do
  986. -with-* | --with-*)
  987. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  988. # Reject names that are not valid shell variable names.
  989. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  990. + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  991. { echo "$as_me: error: invalid package name: $ac_package" >&2
  992. { (exit 1); exit 1; }; }
  993. - ac_package=`echo $ac_package| sed 's/-/_/g'`
  994. - case $ac_option in
  995. - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  996. - *) ac_optarg=yes ;;
  997. - esac
  998. - eval "with_$ac_package='$ac_optarg'" ;;
  999. + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1000. + eval with_$ac_package=\$ac_optarg ;;
  1001. -without-* | --without-*)
  1002. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1003. # Reject names that are not valid shell variable names.
  1004. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  1005. + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1006. { echo "$as_me: error: invalid package name: $ac_package" >&2
  1007. { (exit 1); exit 1; }; }
  1008. - ac_package=`echo $ac_package | sed 's/-/_/g'`
  1009. - eval "with_$ac_package=no" ;;
  1010. + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1011. + eval with_$ac_package=no ;;
  1012. --x)
  1013. # Obsolete; use --with-x.
  1014. @@ -634,8 +1094,7 @@ Try \`$0 --help' for more information."
  1015. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1016. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1017. { (exit 1); exit 1; }; }
  1018. - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  1019. - eval "$ac_envvar='$ac_optarg'"
  1020. + eval $ac_envvar=\$ac_optarg
  1021. export $ac_envvar ;;
  1022. *)
  1023. @@ -655,27 +1114,19 @@ if test -n "$ac_prev"; then
  1024. { (exit 1); exit 1; }; }
  1025. fi
  1026. -# Be sure to have absolute paths.
  1027. -for ac_var in exec_prefix prefix
  1028. -do
  1029. - eval ac_val=$`echo $ac_var`
  1030. - case $ac_val in
  1031. - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  1032. - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1033. - { (exit 1); exit 1; }; };;
  1034. - esac
  1035. -done
  1036. -
  1037. -# Be sure to have absolute paths.
  1038. -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  1039. - localstatedir libdir includedir oldincludedir infodir mandir
  1040. +# Be sure to have absolute directory names.
  1041. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1042. + datadir sysconfdir sharedstatedir localstatedir includedir \
  1043. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1044. + libdir localedir mandir
  1045. do
  1046. - eval ac_val=$`echo $ac_var`
  1047. + eval ac_val=\$$ac_var
  1048. case $ac_val in
  1049. - [\\/$]* | ?:[\\/]* ) ;;
  1050. - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1051. - { (exit 1); exit 1; }; };;
  1052. + [\\/$]* | ?:[\\/]* ) continue;;
  1053. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1054. esac
  1055. + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1056. + { (exit 1); exit 1; }; }
  1057. done
  1058. # There might be people who depend on the old broken behavior: `$host'
  1059. @@ -702,74 +1153,76 @@ test -n "$host_alias" && ac_tool_prefix=
  1060. test "$silent" = yes && exec 6>/dev/null
  1061. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1062. +ac_ls_di=`ls -di .` &&
  1063. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1064. + { echo "$as_me: error: Working directory cannot be determined" >&2
  1065. + { (exit 1); exit 1; }; }
  1066. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1067. + { echo "$as_me: error: pwd does not report name of working directory" >&2
  1068. + { (exit 1); exit 1; }; }
  1069. +
  1070. +
  1071. # Find the source files, if location was not specified.
  1072. if test -z "$srcdir"; then
  1073. ac_srcdir_defaulted=yes
  1074. - # Try the directory containing this script, then its parent.
  1075. - ac_confdir=`(dirname "$0") 2>/dev/null ||
  1076. + # Try the directory containing this script, then the parent directory.
  1077. + ac_confdir=`$as_dirname -- "$0" ||
  1078. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1079. X"$0" : 'X\(//\)[^/]' \| \
  1080. X"$0" : 'X\(//\)$' \| \
  1081. - X"$0" : 'X\(/\)' \| \
  1082. - . : '\(.\)' 2>/dev/null ||
  1083. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1084. echo X"$0" |
  1085. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  1086. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  1087. - /^X\(\/\/\)$/{ s//\1/; q; }
  1088. - /^X\(\/\).*/{ s//\1/; q; }
  1089. - s/.*/./; q'`
  1090. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1091. + s//\1/
  1092. + q
  1093. + }
  1094. + /^X\(\/\/\)[^/].*/{
  1095. + s//\1/
  1096. + q
  1097. + }
  1098. + /^X\(\/\/\)$/{
  1099. + s//\1/
  1100. + q
  1101. + }
  1102. + /^X\(\/\).*/{
  1103. + s//\1/
  1104. + q
  1105. + }
  1106. + s/.*/./; q'`
  1107. srcdir=$ac_confdir
  1108. - if test ! -r $srcdir/$ac_unique_file; then
  1109. + if test ! -r "$srcdir/$ac_unique_file"; then
  1110. srcdir=..
  1111. fi
  1112. else
  1113. ac_srcdir_defaulted=no
  1114. fi
  1115. -if test ! -r $srcdir/$ac_unique_file; then
  1116. - if test "$ac_srcdir_defaulted" = yes; then
  1117. - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  1118. - { (exit 1); exit 1; }; }
  1119. - else
  1120. - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1121. - { (exit 1); exit 1; }; }
  1122. - fi
  1123. -fi
  1124. -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  1125. - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  1126. - { (exit 1); exit 1; }; }
  1127. -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  1128. -ac_env_build_alias_set=${build_alias+set}
  1129. -ac_env_build_alias_value=$build_alias
  1130. -ac_cv_env_build_alias_set=${build_alias+set}
  1131. -ac_cv_env_build_alias_value=$build_alias
  1132. -ac_env_host_alias_set=${host_alias+set}
  1133. -ac_env_host_alias_value=$host_alias
  1134. -ac_cv_env_host_alias_set=${host_alias+set}
  1135. -ac_cv_env_host_alias_value=$host_alias
  1136. -ac_env_target_alias_set=${target_alias+set}
  1137. -ac_env_target_alias_value=$target_alias
  1138. -ac_cv_env_target_alias_set=${target_alias+set}
  1139. -ac_cv_env_target_alias_value=$target_alias
  1140. -ac_env_CC_set=${CC+set}
  1141. -ac_env_CC_value=$CC
  1142. -ac_cv_env_CC_set=${CC+set}
  1143. -ac_cv_env_CC_value=$CC
  1144. -ac_env_CFLAGS_set=${CFLAGS+set}
  1145. -ac_env_CFLAGS_value=$CFLAGS
  1146. -ac_cv_env_CFLAGS_set=${CFLAGS+set}
  1147. -ac_cv_env_CFLAGS_value=$CFLAGS
  1148. -ac_env_LDFLAGS_set=${LDFLAGS+set}
  1149. -ac_env_LDFLAGS_value=$LDFLAGS
  1150. -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  1151. -ac_cv_env_LDFLAGS_value=$LDFLAGS
  1152. -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  1153. -ac_env_CPPFLAGS_value=$CPPFLAGS
  1154. -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  1155. -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  1156. -ac_env_CPP_set=${CPP+set}
  1157. -ac_env_CPP_value=$CPP
  1158. -ac_cv_env_CPP_set=${CPP+set}
  1159. -ac_cv_env_CPP_value=$CPP
  1160. +if test ! -r "$srcdir/$ac_unique_file"; then
  1161. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1162. + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1163. + { (exit 1); exit 1; }; }
  1164. +fi
  1165. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1166. +ac_abs_confdir=`(
  1167. + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1168. + { (exit 1); exit 1; }; }
  1169. + pwd)`
  1170. +# When building in place, set srcdir=.
  1171. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  1172. + srcdir=.
  1173. +fi
  1174. +# Remove unnecessary trailing slashes from srcdir.
  1175. +# Double slashes in file names in object file debugging info
  1176. +# mess up M-x gdb in Emacs.
  1177. +case $srcdir in
  1178. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1179. +esac
  1180. +for ac_var in $ac_precious_vars; do
  1181. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1182. + eval ac_env_${ac_var}_value=\$${ac_var}
  1183. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1184. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1185. +done
  1186. #
  1187. # Report the --help message.
  1188. @@ -798,9 +1251,6 @@ Configuration:
  1189. -n, --no-create do not create output files
  1190. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1191. -_ACEOF
  1192. -
  1193. - cat <<_ACEOF
  1194. Installation directories:
  1195. --prefix=PREFIX install architecture-independent files in PREFIX
  1196. [$ac_default_prefix]
  1197. @@ -818,15 +1268,22 @@ Fine tuning of the installation director
  1198. --bindir=DIR user executables [EPREFIX/bin]
  1199. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1200. --libexecdir=DIR program executables [EPREFIX/libexec]
  1201. - --datadir=DIR read-only architecture-independent data [PREFIX/share]
  1202. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1203. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1204. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1205. --libdir=DIR object code libraries [EPREFIX/lib]
  1206. --includedir=DIR C header files [PREFIX/include]
  1207. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1208. - --infodir=DIR info documentation [PREFIX/info]
  1209. - --mandir=DIR man documentation [PREFIX/man]
  1210. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1211. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1212. + --infodir=DIR info documentation [DATAROOTDIR/info]
  1213. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1214. + --mandir=DIR man documentation [DATAROOTDIR/man]
  1215. + --docdir=DIR documentation root [DATAROOTDIR/doc/strace]
  1216. + --htmldir=DIR html documentation [DOCDIR]
  1217. + --dvidir=DIR dvi documentation [DOCDIR]
  1218. + --pdfdir=DIR pdf documentation [DOCDIR]
  1219. + --psdir=DIR ps documentation [DOCDIR]
  1220. _ACEOF
  1221. cat <<\_ACEOF
  1222. @@ -861,128 +1318,95 @@ Some influential environment variables:
  1223. CFLAGS C compiler flags
  1224. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1225. nonstandard directory <lib dir>
  1226. - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
  1227. - headers in a nonstandard directory <include dir>
  1228. + LIBS libraries to pass to the linker, e.g. -l<library>
  1229. + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1230. + you have headers in a nonstandard directory <include dir>
  1231. CPP C preprocessor
  1232. Use these variables to override the choices made by `configure' or to help
  1233. it to find libraries and programs with nonstandard names/locations.
  1234. _ACEOF
  1235. +ac_status=$?
  1236. fi
  1237. if test "$ac_init_help" = "recursive"; then
  1238. # If there are subdirs, report their specific --help.
  1239. - ac_popdir=`pwd`
  1240. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1241. - test -d $ac_dir || continue
  1242. + test -d "$ac_dir" || continue
  1243. ac_builddir=.
  1244. -if test "$ac_dir" != .; then
  1245. +case "$ac_dir" in
  1246. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1247. +*)
  1248. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1249. - # A "../" for each directory in $ac_dir_suffix.
  1250. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  1251. -else
  1252. - ac_dir_suffix= ac_top_builddir=
  1253. -fi
  1254. + # A ".." for each directory in $ac_dir_suffix.
  1255. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1256. + case $ac_top_builddir_sub in
  1257. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1258. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1259. + esac ;;
  1260. +esac
  1261. +ac_abs_top_builddir=$ac_pwd
  1262. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1263. +# for backward compatibility:
  1264. +ac_top_builddir=$ac_top_build_prefix
  1265. case $srcdir in
  1266. - .) # No --srcdir option. We are building in place.
  1267. + .) # We are building in place.
  1268. ac_srcdir=.
  1269. - if test -z "$ac_top_builddir"; then
  1270. - ac_top_srcdir=.
  1271. - else
  1272. - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  1273. - fi ;;
  1274. - [\\/]* | ?:[\\/]* ) # Absolute path.
  1275. + ac_top_srcdir=$ac_top_builddir_sub
  1276. + ac_abs_top_srcdir=$ac_pwd ;;
  1277. + [\\/]* | ?:[\\/]* ) # Absolute name.
  1278. ac_srcdir=$srcdir$ac_dir_suffix;
  1279. - ac_top_srcdir=$srcdir ;;
  1280. - *) # Relative path.
  1281. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  1282. - ac_top_srcdir=$ac_top_builddir$srcdir ;;
  1283. -esac
  1284. -
  1285. -# Do not use `cd foo && pwd` to compute absolute paths, because
  1286. -# the directories may not exist.
  1287. -case `pwd` in
  1288. -.) ac_abs_builddir="$ac_dir";;
  1289. -*)
  1290. - case "$ac_dir" in
  1291. - .) ac_abs_builddir=`pwd`;;
  1292. - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  1293. - *) ac_abs_builddir=`pwd`/"$ac_dir";;
  1294. - esac;;
  1295. -esac
  1296. -case $ac_abs_builddir in
  1297. -.) ac_abs_top_builddir=${ac_top_builddir}.;;
  1298. -*)
  1299. - case ${ac_top_builddir}. in
  1300. - .) ac_abs_top_builddir=$ac_abs_builddir;;
  1301. - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  1302. - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  1303. - esac;;
  1304. -esac
  1305. -case $ac_abs_builddir in
  1306. -.) ac_abs_srcdir=$ac_srcdir;;
  1307. -*)
  1308. - case $ac_srcdir in
  1309. - .) ac_abs_srcdir=$ac_abs_builddir;;
  1310. - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  1311. - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  1312. - esac;;
  1313. -esac
  1314. -case $ac_abs_builddir in
  1315. -.) ac_abs_top_srcdir=$ac_top_srcdir;;
  1316. -*)
  1317. - case $ac_top_srcdir in
  1318. - .) ac_abs_top_srcdir=$ac_abs_builddir;;
  1319. - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  1320. - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  1321. - esac;;
  1322. + ac_top_srcdir=$srcdir
  1323. + ac_abs_top_srcdir=$srcdir ;;
  1324. + *) # Relative name.
  1325. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1326. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  1327. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1328. esac
  1329. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1330. - cd $ac_dir
  1331. - # Check for guested configure; otherwise get Cygnus style configure.
  1332. - if test -f $ac_srcdir/configure.gnu; then
  1333. - echo
  1334. - $SHELL $ac_srcdir/configure.gnu --help=recursive
  1335. - elif test -f $ac_srcdir/configure; then
  1336. - echo
  1337. - $SHELL $ac_srcdir/configure --help=recursive
  1338. - elif test -f $ac_srcdir/configure.ac ||
  1339. - test -f $ac_srcdir/configure.in; then
  1340. - echo
  1341. - $ac_configure --help
  1342. + cd "$ac_dir" || { ac_status=$?; continue; }
  1343. + # Check for guested configure.
  1344. + if test -f "$ac_srcdir/configure.gnu"; then
  1345. + echo &&
  1346. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1347. + elif test -f "$ac_srcdir/configure"; then
  1348. + echo &&
  1349. + $SHELL "$ac_srcdir/configure" --help=recursive
  1350. else
  1351. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1352. - fi
  1353. - cd $ac_popdir
  1354. + fi || ac_status=$?
  1355. + cd "$ac_pwd" || { ac_status=$?; break; }
  1356. done
  1357. fi
  1358. -test -n "$ac_init_help" && exit 0
  1359. +test -n "$ac_init_help" && exit $ac_status
  1360. if $ac_init_version; then
  1361. cat <<\_ACEOF
  1362. strace configure 4.5.15
  1363. -generated by GNU Autoconf 2.59
  1364. +generated by GNU Autoconf 2.61
  1365. -Copyright (C) 2003 Free Software Foundation, Inc.
  1366. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1367. +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1368. This configure script is free software; the Free Software Foundation
  1369. gives unlimited permission to copy, distribute and modify it.
  1370. _ACEOF
  1371. - exit 0
  1372. + exit
  1373. fi
  1374. -exec 5>config.log
  1375. -cat >&5 <<_ACEOF
  1376. +cat >config.log <<_ACEOF
  1377. This file contains any messages produced by compilers while
  1378. running configure, to aid debugging if configure makes a mistake.
  1379. It was created by strace $as_me 4.5.15, which was
  1380. -generated by GNU Autoconf 2.59. Invocation command line was
  1381. +generated by GNU Autoconf 2.61. Invocation command line was
  1382. $ $0 $@
  1383. _ACEOF
  1384. +exec 5>>config.log
  1385. {
  1386. cat <<_ASUNAME
  1387. ## --------- ##
  1388. @@ -1001,7 +1425,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
  1389. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1390. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1391. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1392. -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  1393. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1394. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1395. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1396. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1397. @@ -1015,6 +1439,7 @@ do
  1398. test -z "$as_dir" && as_dir=.
  1399. echo "PATH: $as_dir"
  1400. done
  1401. +IFS=$as_save_IFS
  1402. } >&5
  1403. @@ -1036,7 +1461,6 @@ _ACEOF
  1404. ac_configure_args=
  1405. ac_configure_args0=
  1406. ac_configure_args1=
  1407. -ac_sep=
  1408. ac_must_keep_next=false
  1409. for ac_pass in 1 2
  1410. do
  1411. @@ -1047,7 +1471,7 @@ do
  1412. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1413. | -silent | --silent | --silen | --sile | --sil)
  1414. continue ;;
  1415. - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1416. + *\'*)
  1417. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1418. esac
  1419. case $ac_pass in
  1420. @@ -1069,9 +1493,7 @@ do
  1421. -* ) ac_must_keep_next=true ;;
  1422. esac
  1423. fi
  1424. - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1425. - # Get rid of the leading space.
  1426. - ac_sep=" "
  1427. + ac_configure_args="$ac_configure_args '$ac_arg'"
  1428. ;;
  1429. esac
  1430. done
  1431. @@ -1082,8 +1504,8 @@ $as_unset ac_configure_args1 || test "${
  1432. # When interrupted or exit'd, cleanup temporary files, and complete
  1433. # config.log. We remove comments because anyway the quotes in there
  1434. # would cause problems or look ugly.
  1435. -# WARNING: Be sure not to use single quotes in there, as some shells,
  1436. -# such as our DU 5.0 friend, will then `close' the trap.
  1437. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  1438. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1439. trap 'exit_status=$?
  1440. # Save into config.log some information that might help in debugging.
  1441. {
  1442. @@ -1096,20 +1518,34 @@ trap 'exit_status=$?
  1443. _ASBOX
  1444. echo
  1445. # The following way of writing the cache mishandles newlines in values,
  1446. -{
  1447. +(
  1448. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1449. + eval ac_val=\$$ac_var
  1450. + case $ac_val in #(
  1451. + *${as_nl}*)
  1452. + case $ac_var in #(
  1453. + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1454. +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1455. + esac
  1456. + case $ac_var in #(
  1457. + _ | IFS | as_nl) ;; #(
  1458. + *) $as_unset $ac_var ;;
  1459. + esac ;;
  1460. + esac
  1461. + done
  1462. (set) 2>&1 |
  1463. - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1464. - *ac_space=\ *)
  1465. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1466. + *${as_nl}ac_space=\ *)
  1467. sed -n \
  1468. - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  1469. - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  1470. - ;;
  1471. + "s/'\''/'\''\\\\'\'''\''/g;
  1472. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1473. + ;; #(
  1474. *)
  1475. - sed -n \
  1476. - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1477. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1478. ;;
  1479. - esac;
  1480. -}
  1481. + esac |
  1482. + sort
  1483. +)
  1484. echo
  1485. cat <<\_ASBOX
  1486. @@ -1120,22 +1556,28 @@ _ASBOX
  1487. echo
  1488. for ac_var in $ac_subst_vars
  1489. do
  1490. - eval ac_val=$`echo $ac_var`
  1491. - echo "$ac_var='"'"'$ac_val'"'"'"
  1492. + eval ac_val=\$$ac_var
  1493. + case $ac_val in
  1494. + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1495. + esac
  1496. + echo "$ac_var='\''$ac_val'\''"
  1497. done | sort
  1498. echo
  1499. if test -n "$ac_subst_files"; then
  1500. cat <<\_ASBOX
  1501. -## ------------- ##
  1502. -## Output files. ##
  1503. -## ------------- ##
  1504. +## ------------------- ##
  1505. +## File substitutions. ##
  1506. +## ------------------- ##
  1507. _ASBOX
  1508. echo
  1509. for ac_var in $ac_subst_files
  1510. do
  1511. - eval ac_val=$`echo $ac_var`
  1512. - echo "$ac_var='"'"'$ac_val'"'"'"
  1513. + eval ac_val=\$$ac_var
  1514. + case $ac_val in
  1515. + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1516. + esac
  1517. + echo "$ac_var='\''$ac_val'\''"
  1518. done | sort
  1519. echo
  1520. fi
  1521. @@ -1147,26 +1589,24 @@ _ASBOX
  1522. ## ----------- ##
  1523. _ASBOX
  1524. echo
  1525. - sed "/^$/d" confdefs.h | sort
  1526. + cat confdefs.h
  1527. echo
  1528. fi
  1529. test "$ac_signal" != 0 &&
  1530. echo "$as_me: caught signal $ac_signal"
  1531. echo "$as_me: exit $exit_status"
  1532. } >&5
  1533. - rm -f core *.core &&
  1534. - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  1535. + rm -f core *.core core.conftest.* &&
  1536. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1537. exit $exit_status
  1538. - ' 0
  1539. +' 0
  1540. for ac_signal in 1 2 13 15; do
  1541. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1542. done
  1543. ac_signal=0
  1544. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1545. -rm -rf conftest* confdefs.h
  1546. -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1547. -echo >confdefs.h
  1548. +rm -f -r conftest* confdefs.h
  1549. # Predefined preprocessor variables.
  1550. @@ -1197,14 +1637,17 @@ _ACEOF
  1551. # Let the site file select an alternate cache file if it wants to.
  1552. # Prefer explicitly selected file to automatically selected ones.
  1553. -if test -z "$CONFIG_SITE"; then
  1554. - if test "x$prefix" != xNONE; then
  1555. - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1556. - else
  1557. - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1558. - fi
  1559. +if test -n "$CONFIG_SITE"; then
  1560. + set x "$CONFIG_SITE"
  1561. +elif test "x$prefix" != xNONE; then
  1562. + set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1563. +else
  1564. + set x "$ac_default_prefix/share/config.site" \
  1565. + "$ac_default_prefix/etc/config.site"
  1566. fi
  1567. -for ac_site_file in $CONFIG_SITE; do
  1568. +shift
  1569. +for ac_site_file
  1570. +do
  1571. if test -r "$ac_site_file"; then
  1572. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1573. echo "$as_me: loading site script $ac_site_file" >&6;}
  1574. @@ -1220,8 +1663,8 @@ if test -r "$cache_file"; then
  1575. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1576. echo "$as_me: loading cache $cache_file" >&6;}
  1577. case $cache_file in
  1578. - [\\/]* | ?:[\\/]* ) . $cache_file;;
  1579. - *) . ./$cache_file;;
  1580. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1581. + *) . "./$cache_file";;
  1582. esac
  1583. fi
  1584. else
  1585. @@ -1233,12 +1676,11 @@ fi
  1586. # Check that the precious variables saved in the cache have kept the same
  1587. # value.
  1588. ac_cache_corrupted=false
  1589. -for ac_var in `(set) 2>&1 |
  1590. - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1591. +for ac_var in $ac_precious_vars; do
  1592. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1593. eval ac_new_set=\$ac_env_${ac_var}_set
  1594. - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1595. - eval ac_new_val="\$ac_env_${ac_var}_value"
  1596. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1597. + eval ac_new_val=\$ac_env_${ac_var}_value
  1598. case $ac_old_set,$ac_new_set in
  1599. set,)
  1600. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1601. @@ -1263,8 +1705,7 @@ echo "$as_me: current value: $ac_new_v
  1602. # Pass precious variables to config.status.
  1603. if test "$ac_new_set" = set; then
  1604. case $ac_new_val in
  1605. - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1606. - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1607. + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1608. *) ac_arg=$ac_var=$ac_new_val ;;
  1609. esac
  1610. case " $ac_configure_args " in
  1611. @@ -1281,12 +1722,6 @@ echo "$as_me: error: run \`make distclea
  1612. { (exit 1); exit 1; }; }
  1613. fi
  1614. -ac_ext=c
  1615. -ac_cpp='$CPP $CPPFLAGS'
  1616. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1617. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1618. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1619. -
  1620. @@ -1311,36 +1746,47 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1621. +ac_ext=c
  1622. +ac_cpp='$CPP $CPPFLAGS'
  1623. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1624. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1625. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1626. - ac_config_headers="$ac_config_headers config.h"
  1627. +ac_config_headers="$ac_config_headers config.h"
  1628. am__api_version="1.9"
  1629. ac_aux_dir=
  1630. -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1631. - if test -f $ac_dir/install-sh; then
  1632. +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1633. + if test -f "$ac_dir/install-sh"; then
  1634. ac_aux_dir=$ac_dir
  1635. ac_install_sh="$ac_aux_dir/install-sh -c"
  1636. break
  1637. - elif test -f $ac_dir/install.sh; then
  1638. + elif test -f "$ac_dir/install.sh"; then
  1639. ac_aux_dir=$ac_dir
  1640. ac_install_sh="$ac_aux_dir/install.sh -c"
  1641. break
  1642. - elif test -f $ac_dir/shtool; then
  1643. + elif test -f "$ac_dir/shtool"; then
  1644. ac_aux_dir=$ac_dir
  1645. ac_install_sh="$ac_aux_dir/shtool install -c"
  1646. break
  1647. fi
  1648. done
  1649. if test -z "$ac_aux_dir"; then
  1650. - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  1651. -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
  1652. + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1653. +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1654. { (exit 1); exit 1; }; }
  1655. fi
  1656. -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1657. -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1658. -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  1659. +
  1660. +# These three variables are undocumented and unsupported,
  1661. +# and are intended to be withdrawn in a future Autoconf release.
  1662. +# They can cause serious problems if a builder's source tree is in a directory
  1663. +# whose full name contains unusual characters.
  1664. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  1665. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  1666. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  1667. +
  1668. # Find a good install program. We prefer a C program (faster),
  1669. # so one script is as good as another. But avoid the broken or
  1670. @@ -1355,8 +1801,8 @@ ac_configure="$SHELL $ac_aux_dir/configu
  1671. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1672. # OS/2's system install, which has a completely different semantic
  1673. # ./install, which can be erroneously created by make from ./install.sh.
  1674. -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1675. -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  1676. +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1677. +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  1678. if test -z "$INSTALL"; then
  1679. if test "${ac_cv_path_install+set}" = set; then
  1680. echo $ECHO_N "(cached) $ECHO_C" >&6
  1681. @@ -1378,7 +1824,7 @@ case $as_dir/ in
  1682. # by default.
  1683. for ac_prog in ginstall scoinst install; do
  1684. for ac_exec_ext in '' $ac_executable_extensions; do
  1685. - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  1686. + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1687. if test $ac_prog = install &&
  1688. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1689. # AIX install. It has an incompatible calling convention.
  1690. @@ -1397,21 +1843,22 @@ case $as_dir/ in
  1691. ;;
  1692. esac
  1693. done
  1694. +IFS=$as_save_IFS
  1695. fi
  1696. if test "${ac_cv_path_install+set}" = set; then
  1697. INSTALL=$ac_cv_path_install
  1698. else
  1699. - # As a last resort, use the slow shell script. We don't cache a
  1700. - # path for INSTALL within a source directory, because that will
  1701. + # As a last resort, use the slow shell script. Don't cache a
  1702. + # value for INSTALL within a source directory, because that will
  1703. # break other packages using the cache if that directory is
  1704. - # removed, or if the path is relative.
  1705. + # removed, or if the value is a relative name.
  1706. INSTALL=$ac_install_sh
  1707. fi
  1708. fi
  1709. -echo "$as_me:$LINENO: result: $INSTALL" >&5
  1710. -echo "${ECHO_T}$INSTALL" >&6
  1711. +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
  1712. +echo "${ECHO_T}$INSTALL" >&6; }
  1713. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1714. # It thinks the first close brace ends the variable substitution.
  1715. @@ -1421,8 +1868,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
  1716. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1717. -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1718. -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
  1719. +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1720. +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  1721. # Just in case
  1722. sleep 1
  1723. echo timestamp > conftest.file
  1724. @@ -1464,20 +1911,20 @@ echo "$as_me: error: newly created file
  1725. Check your system clock" >&2;}
  1726. { (exit 1); exit 1; }; }
  1727. fi
  1728. -echo "$as_me:$LINENO: result: yes" >&5
  1729. -echo "${ECHO_T}yes" >&6
  1730. +{ echo "$as_me:$LINENO: result: yes" >&5
  1731. +echo "${ECHO_T}yes" >&6; }
  1732. test "$program_prefix" != NONE &&
  1733. - program_transform_name="s,^,$program_prefix,;$program_transform_name"
  1734. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1735. # Use a double $ so make ignores it.
  1736. test "$program_suffix" != NONE &&
  1737. - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
  1738. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  1739. # Double any \ or $. echo might interpret backslashes.
  1740. # By default was `s,x,x', remove it if useless.
  1741. cat <<\_ACEOF >conftest.sed
  1742. s/[\\$]/&&/g;s/;s,x,x,$//
  1743. _ACEOF
  1744. program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1745. -rm conftest.sed
  1746. +rm -f conftest.sed
  1747. # expand $ac_aux_dir to an absolute path
  1748. am_aux_dir=`cd $ac_aux_dir && pwd`
  1749. @@ -1529,8 +1976,8 @@ for ac_prog in gawk mawk nawk awk
  1750. do
  1751. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1752. set dummy $ac_prog; ac_word=$2
  1753. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1754. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1755. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1756. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1757. if test "${ac_cv_prog_AWK+set}" = set; then
  1758. echo $ECHO_N "(cached) $ECHO_C" >&6
  1759. else
  1760. @@ -1543,54 +1990,57 @@ do
  1761. IFS=$as_save_IFS
  1762. test -z "$as_dir" && as_dir=.
  1763. for ac_exec_ext in '' $ac_executable_extensions; do
  1764. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1765. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1766. ac_cv_prog_AWK="$ac_prog"
  1767. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1768. break 2
  1769. fi
  1770. done
  1771. done
  1772. +IFS=$as_save_IFS
  1773. fi
  1774. fi
  1775. AWK=$ac_cv_prog_AWK
  1776. if test -n "$AWK"; then
  1777. - echo "$as_me:$LINENO: result: $AWK" >&5
  1778. -echo "${ECHO_T}$AWK" >&6
  1779. + { echo "$as_me:$LINENO: result: $AWK" >&5
  1780. +echo "${ECHO_T}$AWK" >&6; }
  1781. else
  1782. - echo "$as_me:$LINENO: result: no" >&5
  1783. -echo "${ECHO_T}no" >&6
  1784. + { echo "$as_me:$LINENO: result: no" >&5
  1785. +echo "${ECHO_T}no" >&6; }
  1786. fi
  1787. +
  1788. test -n "$AWK" && break
  1789. done
  1790. -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  1791. -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
  1792. -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
  1793. -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
  1794. +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  1795. +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  1796. +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  1797. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  1798. echo $ECHO_N "(cached) $ECHO_C" >&6
  1799. else
  1800. cat >conftest.make <<\_ACEOF
  1801. +SHELL = /bin/sh
  1802. all:
  1803. - @echo 'ac_maketemp="$(MAKE)"'
  1804. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  1805. _ACEOF
  1806. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1807. -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  1808. -if test -n "$ac_maketemp"; then
  1809. - eval ac_cv_prog_make_${ac_make}_set=yes
  1810. -else
  1811. - eval ac_cv_prog_make_${ac_make}_set=no
  1812. -fi
  1813. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  1814. + *@@@%%%=?*=@@@%%%*)
  1815. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  1816. + *)
  1817. + eval ac_cv_prog_make_${ac_make}_set=no;;
  1818. +esac
  1819. rm -f conftest.make
  1820. fi
  1821. -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  1822. - echo "$as_me:$LINENO: result: yes" >&5
  1823. -echo "${ECHO_T}yes" >&6
  1824. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  1825. + { echo "$as_me:$LINENO: result: yes" >&5
  1826. +echo "${ECHO_T}yes" >&6; }
  1827. SET_MAKE=
  1828. else
  1829. - echo "$as_me:$LINENO: result: no" >&5
  1830. -echo "${ECHO_T}no" >&6
  1831. + { echo "$as_me:$LINENO: result: no" >&5
  1832. +echo "${ECHO_T}no" >&6; }
  1833. SET_MAKE="MAKE=${MAKE-make}"
  1834. fi
  1835. @@ -1661,8 +2111,8 @@ if test "$cross_compiling" != no; then
  1836. if test -n "$ac_tool_prefix"; then
  1837. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1838. set dummy ${ac_tool_prefix}strip; ac_word=$2
  1839. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1840. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1841. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1842. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1843. if test "${ac_cv_prog_STRIP+set}" = set; then
  1844. echo $ECHO_N "(cached) $ECHO_C" >&6
  1845. else
  1846. @@ -1675,32 +2125,34 @@ do
  1847. IFS=$as_save_IFS
  1848. test -z "$as_dir" && as_dir=.
  1849. for ac_exec_ext in '' $ac_executable_extensions; do
  1850. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1851. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1852. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1853. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1854. break 2
  1855. fi
  1856. done
  1857. done
  1858. +IFS=$as_save_IFS
  1859. fi
  1860. fi
  1861. STRIP=$ac_cv_prog_STRIP
  1862. if test -n "$STRIP"; then
  1863. - echo "$as_me:$LINENO: result: $STRIP" >&5
  1864. -echo "${ECHO_T}$STRIP" >&6
  1865. + { echo "$as_me:$LINENO: result: $STRIP" >&5
  1866. +echo "${ECHO_T}$STRIP" >&6; }
  1867. else
  1868. - echo "$as_me:$LINENO: result: no" >&5
  1869. -echo "${ECHO_T}no" >&6
  1870. + { echo "$as_me:$LINENO: result: no" >&5
  1871. +echo "${ECHO_T}no" >&6; }
  1872. fi
  1873. +
  1874. fi
  1875. if test -z "$ac_cv_prog_STRIP"; then
  1876. ac_ct_STRIP=$STRIP
  1877. # Extract the first word of "strip", so it can be a program name with args.
  1878. set dummy strip; ac_word=$2
  1879. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1880. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1881. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1882. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1883. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  1884. echo $ECHO_N "(cached) $ECHO_C" >&6
  1885. else
  1886. @@ -1713,27 +2165,41 @@ do
  1887. IFS=$as_save_IFS
  1888. test -z "$as_dir" && as_dir=.
  1889. for ac_exec_ext in '' $ac_executable_extensions; do
  1890. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1891. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1892. ac_cv_prog_ac_ct_STRIP="strip"
  1893. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1894. break 2
  1895. fi
  1896. done
  1897. done
  1898. +IFS=$as_save_IFS
  1899. - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
  1900. fi
  1901. fi
  1902. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1903. if test -n "$ac_ct_STRIP"; then
  1904. - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  1905. -echo "${ECHO_T}$ac_ct_STRIP" >&6
  1906. + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  1907. +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  1908. else
  1909. - echo "$as_me:$LINENO: result: no" >&5
  1910. -echo "${ECHO_T}no" >&6
  1911. + { echo "$as_me:$LINENO: result: no" >&5
  1912. +echo "${ECHO_T}no" >&6; }
  1913. fi
  1914. - STRIP=$ac_ct_STRIP
  1915. + if test "x$ac_ct_STRIP" = x; then
  1916. + STRIP=":"
  1917. + else
  1918. + case $cross_compiling:$ac_tool_warned in
  1919. +yes:)
  1920. +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1921. +whose name does not start with the host triplet. If you think this
  1922. +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1923. +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1924. +whose name does not start with the host triplet. If you think this
  1925. +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1926. +ac_tool_warned=yes ;;
  1927. +esac
  1928. + STRIP=$ac_ct_STRIP
  1929. + fi
  1930. else
  1931. STRIP="$ac_cv_prog_STRIP"
  1932. fi
  1933. @@ -1753,17 +2219,17 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
  1934. -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  1935. -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
  1936. - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
  1937. +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  1938. +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
  1939. + # Check whether --enable-maintainer-mode was given.
  1940. if test "${enable_maintainer_mode+set}" = set; then
  1941. - enableval="$enable_maintainer_mode"
  1942. - USE_MAINTAINER_MODE=$enableval
  1943. + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  1944. else
  1945. USE_MAINTAINER_MODE=no
  1946. -fi;
  1947. - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  1948. -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
  1949. +fi
  1950. +
  1951. + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  1952. +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
  1953. if test $USE_MAINTAINER_MODE = yes; then
  1954. @@ -1778,62 +2244,91 @@ fi
  1955. # Make sure we can run config.sub.
  1956. -$ac_config_sub sun4 >/dev/null 2>&1 ||
  1957. - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
  1958. -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
  1959. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  1960. + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  1961. +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  1962. { (exit 1); exit 1; }; }
  1963. -echo "$as_me:$LINENO: checking build system type" >&5
  1964. -echo $ECHO_N "checking build system type... $ECHO_C" >&6
  1965. +{ echo "$as_me:$LINENO: checking build system type" >&5
  1966. +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  1967. if test "${ac_cv_build+set}" = set; then
  1968. echo $ECHO_N "(cached) $ECHO_C" >&6
  1969. else
  1970. - ac_cv_build_alias=$build_alias
  1971. -test -z "$ac_cv_build_alias" &&
  1972. - ac_cv_build_alias=`$ac_config_guess`
  1973. -test -z "$ac_cv_build_alias" &&
  1974. + ac_build_alias=$build_alias
  1975. +test "x$ac_build_alias" = x &&
  1976. + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  1977. +test "x$ac_build_alias" = x &&
  1978. { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  1979. echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  1980. { (exit 1); exit 1; }; }
  1981. -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
  1982. - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
  1983. -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
  1984. +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  1985. + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  1986. +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  1987. { (exit 1); exit 1; }; }
  1988. fi
  1989. -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  1990. -echo "${ECHO_T}$ac_cv_build" >&6
  1991. +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  1992. +echo "${ECHO_T}$ac_cv_build" >&6; }
  1993. +case $ac_cv_build in
  1994. +*-*-*) ;;
  1995. +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  1996. +echo "$as_me: error: invalid value of canonical build" >&2;}
  1997. + { (exit 1); exit 1; }; };;
  1998. +esac
  1999. build=$ac_cv_build
  2000. -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  2001. -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  2002. -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  2003. +ac_save_IFS=$IFS; IFS='-'
  2004. +set x $ac_cv_build
  2005. +shift
  2006. +build_cpu=$1
  2007. +build_vendor=$2
  2008. +shift; shift
  2009. +# Remember, the first character of IFS is used to create $*,
  2010. +# except with old shells:
  2011. +build_os=$*
  2012. +IFS=$ac_save_IFS
  2013. +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2014. -echo "$as_me:$LINENO: checking host system type" >&5
  2015. -echo $ECHO_N "checking host system type... $ECHO_C" >&6
  2016. +{ echo "$as_me:$LINENO: checking host system type" >&5
  2017. +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  2018. if test "${ac_cv_host+set}" = set; then
  2019. echo $ECHO_N "(cached) $ECHO_C" >&6
  2020. else
  2021. - ac_cv_host_alias=$host_alias
  2022. -test -z "$ac_cv_host_alias" &&
  2023. - ac_cv_host_alias=$ac_cv_build_alias
  2024. -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
  2025. - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
  2026. -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
  2027. + if test "x$host_alias" = x; then
  2028. + ac_cv_host=$ac_cv_build
  2029. +else
  2030. + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2031. + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  2032. +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  2033. { (exit 1); exit 1; }; }
  2034. +fi
  2035. fi
  2036. -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  2037. -echo "${ECHO_T}$ac_cv_host" >&6
  2038. +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  2039. +echo "${ECHO_T}$ac_cv_host" >&6; }
  2040. +case $ac_cv_host in
  2041. +*-*-*) ;;
  2042. +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  2043. +echo "$as_me: error: invalid value of canonical host" >&2;}
  2044. + { (exit 1); exit 1; }; };;
  2045. +esac
  2046. host=$ac_cv_host
  2047. -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  2048. -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  2049. -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  2050. +ac_save_IFS=$IFS; IFS='-'
  2051. +set x $ac_cv_host
  2052. +shift
  2053. +host_cpu=$1
  2054. +host_vendor=$2
  2055. +shift; shift
  2056. +# Remember, the first character of IFS is used to create $*,
  2057. +# except with old shells:
  2058. +host_os=$*
  2059. +IFS=$ac_save_IFS
  2060. +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2061. -echo "$as_me:$LINENO: checking for supported operating system" >&5
  2062. -echo $ECHO_N "checking for supported operating system... $ECHO_C" >&6
  2063. +{ echo "$as_me:$LINENO: checking for supported operating system" >&5
  2064. +echo $ECHO_N "checking for supported operating system... $ECHO_C" >&6; }
  2065. case "$host_os" in
  2066. linux*)
  2067. opsys=linux
  2068. @@ -1884,18 +2379,18 @@ _ACEOF
  2069. ;;
  2070. *)
  2071. - echo "$as_me:$LINENO: result: NO!" >&5
  2072. -echo "${ECHO_T}NO!" >&6
  2073. + { echo "$as_me:$LINENO: result: NO!" >&5
  2074. +echo "${ECHO_T}NO!" >&6; }
  2075. { { echo "$as_me:$LINENO: error: operating system $host_os is not supported by strace" >&5
  2076. echo "$as_me: error: operating system $host_os is not supported by strace" >&2;}
  2077. { (exit 1); exit 1; }; }
  2078. ;;
  2079. esac
  2080. -echo "$as_me:$LINENO: result: $opsys" >&5
  2081. -echo "${ECHO_T}$opsys" >&6
  2082. +{ echo "$as_me:$LINENO: result: $opsys" >&5
  2083. +echo "${ECHO_T}$opsys" >&6; }
  2084. -echo "$as_me:$LINENO: checking for supported architecture" >&5
  2085. -echo $ECHO_N "checking for supported architecture... $ECHO_C" >&6
  2086. +{ echo "$as_me:$LINENO: checking for supported architecture" >&5
  2087. +echo $ECHO_N "checking for supported architecture... $ECHO_C" >&6; }
  2088. case "$host_cpu" in
  2089. i[3456]86|pentium)
  2090. arch=i386
  2091. @@ -1993,19 +2488,19 @@ cat >>confdefs.h <<\_ACEOF
  2092. _ACEOF
  2093. ;;
  2094. -sh)
  2095. - arch=sh
  2096. +sh64)
  2097. + arch=sh64
  2098. cat >>confdefs.h <<\_ACEOF
  2099. -#define SH 1
  2100. +#define SH64 1
  2101. _ACEOF
  2102. ;;
  2103. -sh64)
  2104. - arch=sh64
  2105. +sh*)
  2106. + arch=sh
  2107. cat >>confdefs.h <<\_ACEOF
  2108. -#define SH64 1
  2109. +#define SH 1
  2110. _ACEOF
  2111. ;;
  2112. @@ -2017,16 +2512,24 @@ cat >>confdefs.h <<\_ACEOF
  2113. _ACEOF
  2114. ;;
  2115. +avr32*)
  2116. + arch=avr32
  2117. +
  2118. +cat >>confdefs.h <<\_ACEOF
  2119. +#define AVR32 1
  2120. +_ACEOF
  2121. +
  2122. + ;;
  2123. *)
  2124. - echo "$as_me:$LINENO: result: NO!" >&5
  2125. -echo "${ECHO_T}NO!" >&6
  2126. + { echo "$as_me:$LINENO: result: NO!" >&5
  2127. +echo "${ECHO_T}NO!" >&6; }
  2128. { { echo "$as_me:$LINENO: error: architecture $host_cpu is not supported by strace" >&5
  2129. echo "$as_me: error: architecture $host_cpu is not supported by strace" >&2;}
  2130. { (exit 1); exit 1; }; }
  2131. ;;
  2132. esac
  2133. -echo "$as_me:$LINENO: result: $arch" >&5
  2134. -echo "${ECHO_T}$arch" >&6
  2135. +{ echo "$as_me:$LINENO: result: $arch" >&5
  2136. +echo "${ECHO_T}$arch" >&6; }
  2137. @@ -2100,8 +2603,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2138. if test -n "$ac_tool_prefix"; then
  2139. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2140. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2141. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  2142. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2143. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  2144. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2145. if test "${ac_cv_prog_CC+set}" = set; then
  2146. echo $ECHO_N "(cached) $ECHO_C" >&6
  2147. else
  2148. @@ -2114,32 +2617,34 @@ do
  2149. IFS=$as_save_IFS
  2150. test -z "$as_dir" && as_dir=.
  2151. for ac_exec_ext in '' $ac_executable_extensions; do
  2152. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2153. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2154. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2155. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2156. break 2
  2157. fi
  2158. done
  2159. done
  2160. +IFS=$as_save_IFS
  2161. fi
  2162. fi
  2163. CC=$ac_cv_prog_CC
  2164. if test -n "$CC"; then
  2165. - echo "$as_me:$LINENO: result: $CC" >&5
  2166. -echo "${ECHO_T}$CC" >&6
  2167. + { echo "$as_me:$LINENO: result: $CC" >&5
  2168. +echo "${ECHO_T}$CC" >&6; }
  2169. else
  2170. - echo "$as_me:$LINENO: result: no" >&5
  2171. -echo "${ECHO_T}no" >&6
  2172. + { echo "$as_me:$LINENO: result: no" >&5
  2173. +echo "${ECHO_T}no" >&6; }
  2174. fi
  2175. +
  2176. fi
  2177. if test -z "$ac_cv_prog_CC"; then
  2178. ac_ct_CC=$CC
  2179. # Extract the first word of "gcc", so it can be a program name with args.
  2180. set dummy gcc; ac_word=$2
  2181. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  2182. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2183. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  2184. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2185. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2186. echo $ECHO_N "(cached) $ECHO_C" >&6
  2187. else
  2188. @@ -2152,36 +2657,51 @@ do
  2189. IFS=$as_save_IFS
  2190. test -z "$as_dir" && as_dir=.
  2191. for ac_exec_ext in '' $ac_executable_extensions; do
  2192. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2193. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2194. ac_cv_prog_ac_ct_CC="gcc"
  2195. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2196. break 2
  2197. fi
  2198. done
  2199. done
  2200. +IFS=$as_save_IFS
  2201. fi
  2202. fi
  2203. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2204. if test -n "$ac_ct_CC"; then
  2205. - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2206. -echo "${ECHO_T}$ac_ct_CC" >&6
  2207. + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2208. +echo "${ECHO_T}$ac_ct_CC" >&6; }
  2209. else
  2210. - echo "$as_me:$LINENO: result: no" >&5
  2211. -echo "${ECHO_T}no" >&6
  2212. + { echo "$as_me:$LINENO: result: no" >&5
  2213. +echo "${ECHO_T}no" >&6; }
  2214. fi
  2215. - CC=$ac_ct_CC
  2216. + if test "x$ac_ct_CC" = x; then
  2217. + CC=""
  2218. + else
  2219. + case $cross_compiling:$ac_tool_warned in
  2220. +yes:)
  2221. +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2222. +whose name does not start with the host triplet. If you think this
  2223. +configuration is useful to you, please write to autoconf@gnu.org." >&5
  2224. +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2225. +whose name does not start with the host triplet. If you think this
  2226. +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2227. +ac_tool_warned=yes ;;
  2228. +esac
  2229. + CC=$ac_ct_CC
  2230. + fi
  2231. else
  2232. CC="$ac_cv_prog_CC"
  2233. fi
  2234. if test -z "$CC"; then
  2235. - if test -n "$ac_tool_prefix"; then
  2236. - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2237. + if test -n "$ac_tool_prefix"; then
  2238. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2239. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2240. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  2241. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2242. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  2243. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2244. if test "${ac_cv_prog_CC+set}" = set; then
  2245. echo $ECHO_N "(cached) $ECHO_C" >&6
  2246. else
  2247. @@ -2194,74 +2714,34 @@ do
  2248. IFS=$as_save_IFS
  2249. test -z "$as_dir" && as_dir=.
  2250. for ac_exec_ext in '' $ac_executable_extensions; do
  2251. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2252. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2253. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2254. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2255. break 2
  2256. fi
  2257. done
  2258. done
  2259. +IFS=$as_save_IFS
  2260. fi
  2261. fi
  2262. CC=$ac_cv_prog_CC
  2263. if test -n "$CC"; then
  2264. - echo "$as_me:$LINENO: result: $CC" >&5
  2265. -echo "${ECHO_T}$CC" >&6
  2266. -else
  2267. - echo "$as_me:$LINENO: result: no" >&5
  2268. -echo "${ECHO_T}no" >&6
  2269. -fi
  2270. -
  2271. -fi
  2272. -if test -z "$ac_cv_prog_CC"; then
  2273. - ac_ct_CC=$CC
  2274. - # Extract the first word of "cc", so it can be a program name with args.
  2275. -set dummy cc; ac_word=$2
  2276. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  2277. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2278. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2279. - echo $ECHO_N "(cached) $ECHO_C" >&6
  2280. -else
  2281. - if test -n "$ac_ct_CC"; then
  2282. - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2283. -else
  2284. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2285. -for as_dir in $PATH
  2286. -do
  2287. - IFS=$as_save_IFS
  2288. - test -z "$as_dir" && as_dir=.
  2289. - for ac_exec_ext in '' $ac_executable_extensions; do
  2290. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2291. - ac_cv_prog_ac_ct_CC="cc"
  2292. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2293. - break 2
  2294. - fi
  2295. -done
  2296. -done
  2297. -
  2298. -fi
  2299. -fi
  2300. -ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2301. -if test -n "$ac_ct_CC"; then
  2302. - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2303. -echo "${ECHO_T}$ac_ct_CC" >&6
  2304. + { echo "$as_me:$LINENO: result: $CC" >&5
  2305. +echo "${ECHO_T}$CC" >&6; }
  2306. else
  2307. - echo "$as_me:$LINENO: result: no" >&5
  2308. -echo "${ECHO_T}no" >&6
  2309. + { echo "$as_me:$LINENO: result: no" >&5
  2310. +echo "${ECHO_T}no" >&6; }
  2311. fi
  2312. - CC=$ac_ct_CC
  2313. -else
  2314. - CC="$ac_cv_prog_CC"
  2315. -fi
  2316. + fi
  2317. fi
  2318. if test -z "$CC"; then
  2319. # Extract the first word of "cc", so it can be a program name with args.
  2320. set dummy cc; ac_word=$2
  2321. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  2322. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2323. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  2324. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2325. if test "${ac_cv_prog_CC+set}" = set; then
  2326. echo $ECHO_N "(cached) $ECHO_C" >&6
  2327. else
  2328. @@ -2275,7 +2755,7 @@ do
  2329. IFS=$as_save_IFS
  2330. test -z "$as_dir" && as_dir=.
  2331. for ac_exec_ext in '' $ac_executable_extensions; do
  2332. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2333. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2334. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2335. ac_prog_rejected=yes
  2336. continue
  2337. @@ -2286,6 +2766,7 @@ do
  2338. fi
  2339. done
  2340. done
  2341. +IFS=$as_save_IFS
  2342. if test $ac_prog_rejected = yes; then
  2343. # We found a bogon in the path, so make sure we never use it.
  2344. @@ -2303,22 +2784,23 @@ fi
  2345. fi
  2346. CC=$ac_cv_prog_CC
  2347. if test -n "$CC"; then
  2348. - echo "$as_me:$LINENO: result: $CC" >&5
  2349. -echo "${ECHO_T}$CC" >&6
  2350. + { echo "$as_me:$LINENO: result: $CC" >&5
  2351. +echo "${ECHO_T}$CC" >&6; }
  2352. else
  2353. - echo "$as_me:$LINENO: result: no" >&5
  2354. -echo "${ECHO_T}no" >&6
  2355. + { echo "$as_me:$LINENO: result: no" >&5
  2356. +echo "${ECHO_T}no" >&6; }
  2357. fi
  2358. +
  2359. fi
  2360. if test -z "$CC"; then
  2361. if test -n "$ac_tool_prefix"; then
  2362. - for ac_prog in cl
  2363. + for ac_prog in cl.exe
  2364. do
  2365. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2366. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2367. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  2368. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2369. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  2370. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2371. if test "${ac_cv_prog_CC+set}" = set; then
  2372. echo $ECHO_N "(cached) $ECHO_C" >&6
  2373. else
  2374. @@ -2331,36 +2813,38 @@ do
  2375. IFS=$as_save_IFS
  2376. test -z "$as_dir" && as_dir=.
  2377. for ac_exec_ext in '' $ac_executable_extensions; do
  2378. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2379. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2380. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2381. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2382. break 2
  2383. fi
  2384. done
  2385. done
  2386. +IFS=$as_save_IFS
  2387. fi
  2388. fi
  2389. CC=$ac_cv_prog_CC
  2390. if test -n "$CC"; then
  2391. - echo "$as_me:$LINENO: result: $CC" >&5
  2392. -echo "${ECHO_T}$CC" >&6
  2393. + { echo "$as_me:$LINENO: result: $CC" >&5
  2394. +echo "${ECHO_T}$CC" >&6; }
  2395. else
  2396. - echo "$as_me:$LINENO: result: no" >&5
  2397. -echo "${ECHO_T}no" >&6
  2398. + { echo "$as_me:$LINENO: result: no" >&5
  2399. +echo "${ECHO_T}no" >&6; }
  2400. fi
  2401. +
  2402. test -n "$CC" && break
  2403. done
  2404. fi
  2405. if test -z "$CC"; then
  2406. ac_ct_CC=$CC
  2407. - for ac_prog in cl
  2408. + for ac_prog in cl.exe
  2409. do
  2410. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2411. set dummy $ac_prog; ac_word=$2
  2412. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  2413. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2414. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  2415. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2416. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2417. echo $ECHO_N "(cached) $ECHO_C" >&6
  2418. else
  2419. @@ -2373,29 +2857,45 @@ do
  2420. IFS=$as_save_IFS
  2421. test -z "$as_dir" && as_dir=.
  2422. for ac_exec_ext in '' $ac_executable_extensions; do
  2423. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2424. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2425. ac_cv_prog_ac_ct_CC="$ac_prog"
  2426. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2427. break 2
  2428. fi
  2429. done
  2430. done
  2431. +IFS=$as_save_IFS
  2432. fi
  2433. fi
  2434. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2435. if test -n "$ac_ct_CC"; then
  2436. - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2437. -echo "${ECHO_T}$ac_ct_CC" >&6
  2438. + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2439. +echo "${ECHO_T}$ac_ct_CC" >&6; }
  2440. else
  2441. - echo "$as_me:$LINENO: result: no" >&5
  2442. -echo "${ECHO_T}no" >&6
  2443. + { echo "$as_me:$LINENO: result: no" >&5
  2444. +echo "${ECHO_T}no" >&6; }
  2445. fi
  2446. +
  2447. test -n "$ac_ct_CC" && break
  2448. done
  2449. - CC=$ac_ct_CC
  2450. + if test "x$ac_ct_CC" = x; then
  2451. + CC=""
  2452. + else
  2453. + case $cross_compiling:$ac_tool_warned in
  2454. +yes:)
  2455. +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2456. +whose name does not start with the host triplet. If you think this
  2457. +configuration is useful to you, please write to autoconf@gnu.org." >&5
  2458. +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2459. +whose name does not start with the host triplet. If you think this
  2460. +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2461. +ac_tool_warned=yes ;;
  2462. +esac
  2463. + CC=$ac_ct_CC
  2464. + fi
  2465. fi
  2466. fi
  2467. @@ -2408,21 +2908,35 @@ See \`config.log' for more details." >&2
  2468. { (exit 1); exit 1; }; }
  2469. # Provide some information about the compiler.
  2470. -echo "$as_me:$LINENO:" \
  2471. - "checking for C compiler version" >&5
  2472. +echo "$as_me:$LINENO: checking for C compiler version" >&5
  2473. ac_compiler=`set X $ac_compile; echo $2`
  2474. -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  2475. - (eval $ac_compiler --version </dev/null >&5) 2>&5
  2476. +{ (ac_try="$ac_compiler --version >&5"
  2477. +case "(($ac_try" in
  2478. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2479. + *) ac_try_echo=$ac_try;;
  2480. +esac
  2481. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2482. + (eval "$ac_compiler --version >&5") 2>&5
  2483. ac_status=$?
  2484. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2485. (exit $ac_status); }
  2486. -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  2487. - (eval $ac_compiler -v </dev/null >&5) 2>&5
  2488. +{ (ac_try="$ac_compiler -v >&5"
  2489. +case "(($ac_try" in
  2490. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2491. + *) ac_try_echo=$ac_try;;
  2492. +esac
  2493. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2494. + (eval "$ac_compiler -v >&5") 2>&5
  2495. ac_status=$?
  2496. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2497. (exit $ac_status); }
  2498. -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  2499. - (eval $ac_compiler -V </dev/null >&5) 2>&5
  2500. +{ (ac_try="$ac_compiler -V >&5"
  2501. +case "(($ac_try" in
  2502. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2503. + *) ac_try_echo=$ac_try;;
  2504. +esac
  2505. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2506. + (eval "$ac_compiler -V >&5") 2>&5
  2507. ac_status=$?
  2508. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2509. (exit $ac_status); }
  2510. @@ -2447,47 +2961,77 @@ ac_clean_files="$ac_clean_files a.out a.
  2511. # Try to create an executable without -o first, disregard a.out.
  2512. # It will help us diagnose broken compilers, and finding out an intuition
  2513. # of exeext.
  2514. -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2515. -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
  2516. +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2517. +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2518. ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2519. -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  2520. - (eval $ac_link_default) 2>&5
  2521. +#
  2522. +# List of possible output files, starting from the most likely.
  2523. +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2524. +# only as a last resort. b.out is created by i960 compilers.
  2525. +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2526. +#
  2527. +# The IRIX 6 linker writes into existing files which may not be
  2528. +# executable, retaining their permissions. Remove them first so a
  2529. +# subsequent execution test works.
  2530. +ac_rmfiles=
  2531. +for ac_file in $ac_files
  2532. +do
  2533. + case $ac_file in
  2534. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2535. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2536. + esac
  2537. +done
  2538. +rm -f $ac_rmfiles
  2539. +
  2540. +if { (ac_try="$ac_link_default"
  2541. +case "(($ac_try" in
  2542. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2543. + *) ac_try_echo=$ac_try;;
  2544. +esac
  2545. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2546. + (eval "$ac_link_default") 2>&5
  2547. ac_status=$?
  2548. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2549. (exit $ac_status); }; then
  2550. - # Find the output, starting from the most likely. This scheme is
  2551. -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
  2552. -# resort.
  2553. -
  2554. -# Be careful to initialize this variable, since it used to be cached.
  2555. -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  2556. -ac_cv_exeext=
  2557. -# b.out is created by i960 compilers.
  2558. -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
  2559. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2560. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2561. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  2562. +# so that the user can short-circuit this test for compilers unknown to
  2563. +# Autoconf.
  2564. +for ac_file in $ac_files ''
  2565. do
  2566. test -f "$ac_file" || continue
  2567. case $ac_file in
  2568. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  2569. - ;;
  2570. - conftest.$ac_ext )
  2571. - # This is the source file.
  2572. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2573. ;;
  2574. [ab].out )
  2575. # We found the default executable, but exeext='' is most
  2576. # certainly right.
  2577. break;;
  2578. *.* )
  2579. - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2580. - # FIXME: I believe we export ac_cv_exeext for Libtool,
  2581. - # but it would be cool to find out if it's true. Does anybody
  2582. - # maintain Libtool? --akim.
  2583. - export ac_cv_exeext
  2584. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2585. + then :; else
  2586. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2587. + fi
  2588. + # We set ac_cv_exeext here because the later test for it is not
  2589. + # safe: cross compilers may not add the suffix if given an `-o'
  2590. + # argument, so we may need to know it at that point already.
  2591. + # Even if this section looks crufty: it has the advantage of
  2592. + # actually working.
  2593. break;;
  2594. * )
  2595. break;;
  2596. esac
  2597. done
  2598. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  2599. +
  2600. else
  2601. + ac_file=''
  2602. +fi
  2603. +
  2604. +{ echo "$as_me:$LINENO: result: $ac_file" >&5
  2605. +echo "${ECHO_T}$ac_file" >&6; }
  2606. +if test -z "$ac_file"; then
  2607. echo "$as_me: failed program was:" >&5
  2608. sed 's/^/| /' conftest.$ac_ext >&5
  2609. @@ -2499,19 +3043,21 @@ See \`config.log' for more details." >&2
  2610. fi
  2611. ac_exeext=$ac_cv_exeext
  2612. -echo "$as_me:$LINENO: result: $ac_file" >&5
  2613. -echo "${ECHO_T}$ac_file" >&6
  2614. -# Check the compiler produces executables we can run. If not, either
  2615. +# Check that the compiler produces executables we can run. If not, either
  2616. # the compiler is broken, or we cross compile.
  2617. -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2618. -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  2619. +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2620. +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  2621. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2622. # If not cross compiling, check that we can run a simple program.
  2623. if test "$cross_compiling" != yes; then
  2624. if { ac_try='./$ac_file'
  2625. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2626. - (eval $ac_try) 2>&5
  2627. + { (case "(($ac_try" in
  2628. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2629. + *) ac_try_echo=$ac_try;;
  2630. +esac
  2631. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2632. + (eval "$ac_try") 2>&5
  2633. ac_status=$?
  2634. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2635. (exit $ac_status); }; }; then
  2636. @@ -2530,22 +3076,27 @@ See \`config.log' for more details." >&2
  2637. fi
  2638. fi
  2639. fi
  2640. -echo "$as_me:$LINENO: result: yes" >&5
  2641. -echo "${ECHO_T}yes" >&6
  2642. +{ echo "$as_me:$LINENO: result: yes" >&5
  2643. +echo "${ECHO_T}yes" >&6; }
  2644. rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2645. ac_clean_files=$ac_clean_files_save
  2646. -# Check the compiler produces executables we can run. If not, either
  2647. +# Check that the compiler produces executables we can run. If not, either
  2648. # the compiler is broken, or we cross compile.
  2649. -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2650. -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
  2651. -echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2652. -echo "${ECHO_T}$cross_compiling" >&6
  2653. -
  2654. -echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2655. -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
  2656. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2657. - (eval $ac_link) 2>&5
  2658. +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2659. +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  2660. +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2661. +echo "${ECHO_T}$cross_compiling" >&6; }
  2662. +
  2663. +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2664. +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  2665. +if { (ac_try="$ac_link"
  2666. +case "(($ac_try" in
  2667. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2668. + *) ac_try_echo=$ac_try;;
  2669. +esac
  2670. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2671. + (eval "$ac_link") 2>&5
  2672. ac_status=$?
  2673. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2674. (exit $ac_status); }; then
  2675. @@ -2556,9 +3107,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
  2676. for ac_file in conftest.exe conftest conftest.*; do
  2677. test -f "$ac_file" || continue
  2678. case $ac_file in
  2679. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  2680. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2681. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2682. - export ac_cv_exeext
  2683. break;;
  2684. * ) break;;
  2685. esac
  2686. @@ -2572,14 +3122,14 @@ See \`config.log' for more details." >&2
  2687. fi
  2688. rm -f conftest$ac_cv_exeext
  2689. -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2690. -echo "${ECHO_T}$ac_cv_exeext" >&6
  2691. +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2692. +echo "${ECHO_T}$ac_cv_exeext" >&6; }
  2693. rm -f conftest.$ac_ext
  2694. EXEEXT=$ac_cv_exeext
  2695. ac_exeext=$EXEEXT
  2696. -echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2697. -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
  2698. +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2699. +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  2700. if test "${ac_cv_objext+set}" = set; then
  2701. echo $ECHO_N "(cached) $ECHO_C" >&6
  2702. else
  2703. @@ -2599,14 +3149,20 @@ main ()
  2704. }
  2705. _ACEOF
  2706. rm -f conftest.o conftest.obj
  2707. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2708. - (eval $ac_compile) 2>&5
  2709. +if { (ac_try="$ac_compile"
  2710. +case "(($ac_try" in
  2711. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2712. + *) ac_try_echo=$ac_try;;
  2713. +esac
  2714. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2715. + (eval "$ac_compile") 2>&5
  2716. ac_status=$?
  2717. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2718. (exit $ac_status); }; then
  2719. - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  2720. + for ac_file in conftest.o conftest.obj conftest.*; do
  2721. + test -f "$ac_file" || continue;
  2722. case $ac_file in
  2723. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
  2724. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  2725. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2726. break;;
  2727. esac
  2728. @@ -2624,12 +3180,12 @@ fi
  2729. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2730. fi
  2731. -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2732. -echo "${ECHO_T}$ac_cv_objext" >&6
  2733. +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2734. +echo "${ECHO_T}$ac_cv_objext" >&6; }
  2735. OBJEXT=$ac_cv_objext
  2736. ac_objext=$OBJEXT
  2737. -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2738. -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  2739. +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2740. +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  2741. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2742. echo $ECHO_N "(cached) $ECHO_C" >&6
  2743. else
  2744. @@ -2652,50 +3208,49 @@ main ()
  2745. }
  2746. _ACEOF
  2747. rm -f conftest.$ac_objext
  2748. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2749. - (eval $ac_compile) 2>conftest.er1
  2750. +if { (ac_try="$ac_compile"
  2751. +case "(($ac_try" in
  2752. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2753. + *) ac_try_echo=$ac_try;;
  2754. +esac
  2755. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2756. + (eval "$ac_compile") 2>conftest.er1
  2757. ac_status=$?
  2758. grep -v '^ *+' conftest.er1 >conftest.err
  2759. rm -f conftest.er1
  2760. cat conftest.err >&5
  2761. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2762. - (exit $ac_status); } &&
  2763. - { ac_try='test -z "$ac_c_werror_flag"
  2764. - || test ! -s conftest.err'
  2765. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2766. - (eval $ac_try) 2>&5
  2767. - ac_status=$?
  2768. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2769. - (exit $ac_status); }; } &&
  2770. - { ac_try='test -s conftest.$ac_objext'
  2771. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2772. - (eval $ac_try) 2>&5
  2773. - ac_status=$?
  2774. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2775. - (exit $ac_status); }; }; then
  2776. + (exit $ac_status); } && {
  2777. + test -z "$ac_c_werror_flag" ||
  2778. + test ! -s conftest.err
  2779. + } && test -s conftest.$ac_objext; then
  2780. ac_compiler_gnu=yes
  2781. else
  2782. echo "$as_me: failed program was:" >&5
  2783. sed 's/^/| /' conftest.$ac_ext >&5
  2784. -ac_compiler_gnu=no
  2785. + ac_compiler_gnu=no
  2786. fi
  2787. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2788. +
  2789. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2790. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2791. fi
  2792. -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2793. -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  2794. +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2795. +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  2796. GCC=`test $ac_compiler_gnu = yes && echo yes`
  2797. ac_test_CFLAGS=${CFLAGS+set}
  2798. ac_save_CFLAGS=$CFLAGS
  2799. -CFLAGS="-g"
  2800. -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2801. -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  2802. +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2803. +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  2804. if test "${ac_cv_prog_cc_g+set}" = set; then
  2805. echo $ECHO_N "(cached) $ECHO_C" >&6
  2806. else
  2807. - cat >conftest.$ac_ext <<_ACEOF
  2808. + ac_save_c_werror_flag=$ac_c_werror_flag
  2809. + ac_c_werror_flag=yes
  2810. + ac_cv_prog_cc_g=no
  2811. + CFLAGS="-g"
  2812. + cat >conftest.$ac_ext <<_ACEOF
  2813. /* confdefs.h. */
  2814. _ACEOF
  2815. cat confdefs.h >>conftest.$ac_ext
  2816. @@ -2711,38 +3266,118 @@ main ()
  2817. }
  2818. _ACEOF
  2819. rm -f conftest.$ac_objext
  2820. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2821. - (eval $ac_compile) 2>conftest.er1
  2822. +if { (ac_try="$ac_compile"
  2823. +case "(($ac_try" in
  2824. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2825. + *) ac_try_echo=$ac_try;;
  2826. +esac
  2827. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2828. + (eval "$ac_compile") 2>conftest.er1
  2829. ac_status=$?
  2830. grep -v '^ *+' conftest.er1 >conftest.err
  2831. rm -f conftest.er1
  2832. cat conftest.err >&5
  2833. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2834. - (exit $ac_status); } &&
  2835. - { ac_try='test -z "$ac_c_werror_flag"
  2836. - || test ! -s conftest.err'
  2837. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2838. - (eval $ac_try) 2>&5
  2839. + (exit $ac_status); } && {
  2840. + test -z "$ac_c_werror_flag" ||
  2841. + test ! -s conftest.err
  2842. + } && test -s conftest.$ac_objext; then
  2843. + ac_cv_prog_cc_g=yes
  2844. +else
  2845. + echo "$as_me: failed program was:" >&5
  2846. +sed 's/^/| /' conftest.$ac_ext >&5
  2847. +
  2848. + CFLAGS=""
  2849. + cat >conftest.$ac_ext <<_ACEOF
  2850. +/* confdefs.h. */
  2851. +_ACEOF
  2852. +cat confdefs.h >>conftest.$ac_ext
  2853. +cat >>conftest.$ac_ext <<_ACEOF
  2854. +/* end confdefs.h. */
  2855. +
  2856. +int
  2857. +main ()
  2858. +{
  2859. +
  2860. + ;
  2861. + return 0;
  2862. +}
  2863. +_ACEOF
  2864. +rm -f conftest.$ac_objext
  2865. +if { (ac_try="$ac_compile"
  2866. +case "(($ac_try" in
  2867. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2868. + *) ac_try_echo=$ac_try;;
  2869. +esac
  2870. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2871. + (eval "$ac_compile") 2>conftest.er1
  2872. ac_status=$?
  2873. + grep -v '^ *+' conftest.er1 >conftest.err
  2874. + rm -f conftest.er1
  2875. + cat conftest.err >&5
  2876. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2877. - (exit $ac_status); }; } &&
  2878. - { ac_try='test -s conftest.$ac_objext'
  2879. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2880. - (eval $ac_try) 2>&5
  2881. + (exit $ac_status); } && {
  2882. + test -z "$ac_c_werror_flag" ||
  2883. + test ! -s conftest.err
  2884. + } && test -s conftest.$ac_objext; then
  2885. + :
  2886. +else
  2887. + echo "$as_me: failed program was:" >&5
  2888. +sed 's/^/| /' conftest.$ac_ext >&5
  2889. +
  2890. + ac_c_werror_flag=$ac_save_c_werror_flag
  2891. + CFLAGS="-g"
  2892. + cat >conftest.$ac_ext <<_ACEOF
  2893. +/* confdefs.h. */
  2894. +_ACEOF
  2895. +cat confdefs.h >>conftest.$ac_ext
  2896. +cat >>conftest.$ac_ext <<_ACEOF
  2897. +/* end confdefs.h. */
  2898. +
  2899. +int
  2900. +main ()
  2901. +{
  2902. +
  2903. + ;
  2904. + return 0;
  2905. +}
  2906. +_ACEOF
  2907. +rm -f conftest.$ac_objext
  2908. +if { (ac_try="$ac_compile"
  2909. +case "(($ac_try" in
  2910. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2911. + *) ac_try_echo=$ac_try;;
  2912. +esac
  2913. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2914. + (eval "$ac_compile") 2>conftest.er1
  2915. ac_status=$?
  2916. + grep -v '^ *+' conftest.er1 >conftest.err
  2917. + rm -f conftest.er1
  2918. + cat conftest.err >&5
  2919. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2920. - (exit $ac_status); }; }; then
  2921. + (exit $ac_status); } && {
  2922. + test -z "$ac_c_werror_flag" ||
  2923. + test ! -s conftest.err
  2924. + } && test -s conftest.$ac_objext; then
  2925. ac_cv_prog_cc_g=yes
  2926. else
  2927. echo "$as_me: failed program was:" >&5
  2928. sed 's/^/| /' conftest.$ac_ext >&5
  2929. -ac_cv_prog_cc_g=no
  2930. +
  2931. +fi
  2932. +
  2933. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2934. +fi
  2935. +
  2936. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2937. fi
  2938. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2939. +
  2940. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2941. + ac_c_werror_flag=$ac_save_c_werror_flag
  2942. fi
  2943. -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2944. -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  2945. +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2946. +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  2947. if test "$ac_test_CFLAGS" = set; then
  2948. CFLAGS=$ac_save_CFLAGS
  2949. elif test $ac_cv_prog_cc_g = yes; then
  2950. @@ -2758,12 +3393,12 @@ else
  2951. CFLAGS=
  2952. fi
  2953. fi
  2954. -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  2955. -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  2956. -if test "${ac_cv_prog_cc_stdc+set}" = set; then
  2957. +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  2958. +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  2959. +if test "${ac_cv_prog_cc_c89+set}" = set; then
  2960. echo $ECHO_N "(cached) $ECHO_C" >&6
  2961. else
  2962. - ac_cv_prog_cc_stdc=no
  2963. + ac_cv_prog_cc_c89=no
  2964. ac_save_CC=$CC
  2965. cat >conftest.$ac_ext <<_ACEOF
  2966. /* confdefs.h. */
  2967. @@ -2797,12 +3432,17 @@ static char *f (char * (*g) (char **, in
  2968. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  2969. function prototypes and stuff, but not '\xHH' hex character constants.
  2970. These don't provoke an error unfortunately, instead are silently treated
  2971. - as 'x'. The following induces an error, until -std1 is added to get
  2972. + as 'x'. The following induces an error, until -std is added to get
  2973. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  2974. array size at least. It's necessary to write '\x00'==0 to get something
  2975. - that's true only with -std1. */
  2976. + that's true only with -std. */
  2977. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2978. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  2979. + inside strings and character constants. */
  2980. +#define FOO(x) 'x'
  2981. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  2982. +
  2983. int test (int i, double x);
  2984. struct s1 {int (*f) (int a);};
  2985. struct s2 {int (*f) (double a);};
  2986. @@ -2817,205 +3457,57 @@ return f (e, argv, 0) != argv[0] || f
  2987. return 0;
  2988. }
  2989. _ACEOF
  2990. -# Don't try gcc -ansi; that turns off useful extensions and
  2991. -# breaks some systems' header files.
  2992. -# AIX -qlanglvl=ansi
  2993. -# Ultrix and OSF/1 -std1
  2994. -# HP-UX 10.20 and later -Ae
  2995. -# HP-UX older versions -Aa -D_HPUX_SOURCE
  2996. -# SVR4 -Xc -D__EXTENSIONS__
  2997. -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2998. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  2999. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3000. do
  3001. CC="$ac_save_CC $ac_arg"
  3002. rm -f conftest.$ac_objext
  3003. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3004. - (eval $ac_compile) 2>conftest.er1
  3005. +if { (ac_try="$ac_compile"
  3006. +case "(($ac_try" in
  3007. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3008. + *) ac_try_echo=$ac_try;;
  3009. +esac
  3010. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3011. + (eval "$ac_compile") 2>conftest.er1
  3012. ac_status=$?
  3013. grep -v '^ *+' conftest.er1 >conftest.err
  3014. rm -f conftest.er1
  3015. cat conftest.err >&5
  3016. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3017. - (exit $ac_status); } &&
  3018. - { ac_try='test -z "$ac_c_werror_flag"
  3019. - || test ! -s conftest.err'
  3020. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3021. - (eval $ac_try) 2>&5
  3022. - ac_status=$?
  3023. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3024. - (exit $ac_status); }; } &&
  3025. - { ac_try='test -s conftest.$ac_objext'
  3026. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3027. - (eval $ac_try) 2>&5
  3028. - ac_status=$?
  3029. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3030. - (exit $ac_status); }; }; then
  3031. - ac_cv_prog_cc_stdc=$ac_arg
  3032. -break
  3033. + (exit $ac_status); } && {
  3034. + test -z "$ac_c_werror_flag" ||
  3035. + test ! -s conftest.err
  3036. + } && test -s conftest.$ac_objext; then
  3037. + ac_cv_prog_cc_c89=$ac_arg
  3038. else
  3039. echo "$as_me: failed program was:" >&5
  3040. sed 's/^/| /' conftest.$ac_ext >&5
  3041. +
  3042. fi
  3043. -rm -f conftest.err conftest.$ac_objext
  3044. +
  3045. +rm -f core conftest.err conftest.$ac_objext
  3046. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  3047. done
  3048. -rm -f conftest.$ac_ext conftest.$ac_objext
  3049. +rm -f conftest.$ac_ext
  3050. CC=$ac_save_CC
  3051. fi
  3052. -
  3053. -case "x$ac_cv_prog_cc_stdc" in
  3054. - x|xno)
  3055. - echo "$as_me:$LINENO: result: none needed" >&5
  3056. -echo "${ECHO_T}none needed" >&6 ;;
  3057. +# AC_CACHE_VAL
  3058. +case "x$ac_cv_prog_cc_c89" in
  3059. + x)
  3060. + { echo "$as_me:$LINENO: result: none needed" >&5
  3061. +echo "${ECHO_T}none needed" >&6; } ;;
  3062. + xno)
  3063. + { echo "$as_me:$LINENO: result: unsupported" >&5
  3064. +echo "${ECHO_T}unsupported" >&6; } ;;
  3065. *)
  3066. - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  3067. -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  3068. - CC="$CC $ac_cv_prog_cc_stdc" ;;
  3069. + CC="$CC $ac_cv_prog_cc_c89"
  3070. + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3071. +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  3072. esac
  3073. -# Some people use a C++ compiler to compile C. Since we use `exit',
  3074. -# in C++ we need to declare it. In case someone uses the same compiler
  3075. -# for both compiling C and C++ we need to have the C++ compiler decide
  3076. -# the declaration of exit, since it's the most demanding environment.
  3077. -cat >conftest.$ac_ext <<_ACEOF
  3078. -#ifndef __cplusplus
  3079. - choke me
  3080. -#endif
  3081. -_ACEOF
  3082. -rm -f conftest.$ac_objext
  3083. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3084. - (eval $ac_compile) 2>conftest.er1
  3085. - ac_status=$?
  3086. - grep -v '^ *+' conftest.er1 >conftest.err
  3087. - rm -f conftest.er1
  3088. - cat conftest.err >&5
  3089. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3090. - (exit $ac_status); } &&
  3091. - { ac_try='test -z "$ac_c_werror_flag"
  3092. - || test ! -s conftest.err'
  3093. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3094. - (eval $ac_try) 2>&5
  3095. - ac_status=$?
  3096. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3097. - (exit $ac_status); }; } &&
  3098. - { ac_try='test -s conftest.$ac_objext'
  3099. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3100. - (eval $ac_try) 2>&5
  3101. - ac_status=$?
  3102. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3103. - (exit $ac_status); }; }; then
  3104. - for ac_declaration in \
  3105. - '' \
  3106. - 'extern "C" void std::exit (int) throw (); using std::exit;' \
  3107. - 'extern "C" void std::exit (int); using std::exit;' \
  3108. - 'extern "C" void exit (int) throw ();' \
  3109. - 'extern "C" void exit (int);' \
  3110. - 'void exit (int);'
  3111. -do
  3112. - cat >conftest.$ac_ext <<_ACEOF
  3113. -/* confdefs.h. */
  3114. -_ACEOF
  3115. -cat confdefs.h >>conftest.$ac_ext
  3116. -cat >>conftest.$ac_ext <<_ACEOF
  3117. -/* end confdefs.h. */
  3118. -$ac_declaration
  3119. -#include <stdlib.h>
  3120. -int
  3121. -main ()
  3122. -{
  3123. -exit (42);
  3124. - ;
  3125. - return 0;
  3126. -}
  3127. -_ACEOF
  3128. -rm -f conftest.$ac_objext
  3129. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3130. - (eval $ac_compile) 2>conftest.er1
  3131. - ac_status=$?
  3132. - grep -v '^ *+' conftest.er1 >conftest.err
  3133. - rm -f conftest.er1
  3134. - cat conftest.err >&5
  3135. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3136. - (exit $ac_status); } &&
  3137. - { ac_try='test -z "$ac_c_werror_flag"
  3138. - || test ! -s conftest.err'
  3139. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3140. - (eval $ac_try) 2>&5
  3141. - ac_status=$?
  3142. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3143. - (exit $ac_status); }; } &&
  3144. - { ac_try='test -s conftest.$ac_objext'
  3145. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3146. - (eval $ac_try) 2>&5
  3147. - ac_status=$?
  3148. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3149. - (exit $ac_status); }; }; then
  3150. - :
  3151. -else
  3152. - echo "$as_me: failed program was:" >&5
  3153. -sed 's/^/| /' conftest.$ac_ext >&5
  3154. -
  3155. -continue
  3156. -fi
  3157. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3158. - cat >conftest.$ac_ext <<_ACEOF
  3159. -/* confdefs.h. */
  3160. -_ACEOF
  3161. -cat confdefs.h >>conftest.$ac_ext
  3162. -cat >>conftest.$ac_ext <<_ACEOF
  3163. -/* end confdefs.h. */
  3164. -$ac_declaration
  3165. -int
  3166. -main ()
  3167. -{
  3168. -exit (42);
  3169. - ;
  3170. - return 0;
  3171. -}
  3172. -_ACEOF
  3173. -rm -f conftest.$ac_objext
  3174. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3175. - (eval $ac_compile) 2>conftest.er1
  3176. - ac_status=$?
  3177. - grep -v '^ *+' conftest.er1 >conftest.err
  3178. - rm -f conftest.er1
  3179. - cat conftest.err >&5
  3180. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3181. - (exit $ac_status); } &&
  3182. - { ac_try='test -z "$ac_c_werror_flag"
  3183. - || test ! -s conftest.err'
  3184. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3185. - (eval $ac_try) 2>&5
  3186. - ac_status=$?
  3187. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3188. - (exit $ac_status); }; } &&
  3189. - { ac_try='test -s conftest.$ac_objext'
  3190. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3191. - (eval $ac_try) 2>&5
  3192. - ac_status=$?
  3193. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3194. - (exit $ac_status); }; }; then
  3195. - break
  3196. -else
  3197. - echo "$as_me: failed program was:" >&5
  3198. -sed 's/^/| /' conftest.$ac_ext >&5
  3199. -
  3200. -fi
  3201. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3202. -done
  3203. -rm -f conftest*
  3204. -if test -n "$ac_declaration"; then
  3205. - echo '#ifdef __cplusplus' >>confdefs.h
  3206. - echo $ac_declaration >>confdefs.h
  3207. - echo '#endif' >>confdefs.h
  3208. -fi
  3209. -
  3210. -else
  3211. - echo "$as_me: failed program was:" >&5
  3212. -sed 's/^/| /' conftest.$ac_ext >&5
  3213. -fi
  3214. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3215. ac_ext=c
  3216. ac_cpp='$CPP $CPPFLAGS'
  3217. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3218. @@ -3023,7 +3515,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
  3219. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3220. DEPDIR="${am__leading_dot}deps"
  3221. - ac_config_commands="$ac_config_commands depfiles"
  3222. +ac_config_commands="$ac_config_commands depfiles"
  3223. am_make=${MAKE-make}
  3224. @@ -3033,8 +3525,8 @@ am__doit:
  3225. .PHONY: am__doit
  3226. END
  3227. # If we don't find an include directive, just comment out the code.
  3228. -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  3229. -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
  3230. +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  3231. +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  3232. am__include="#"
  3233. am__quote=
  3234. _am_result=none
  3235. @@ -3061,15 +3553,15 @@ if test "$am__include" = "#"; then
  3236. fi
  3237. -echo "$as_me:$LINENO: result: $_am_result" >&5
  3238. -echo "${ECHO_T}$_am_result" >&6
  3239. +{ echo "$as_me:$LINENO: result: $_am_result" >&5
  3240. +echo "${ECHO_T}$_am_result" >&6; }
  3241. rm -f confinc confmf
  3242. -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
  3243. +# Check whether --enable-dependency-tracking was given.
  3244. if test "${enable_dependency_tracking+set}" = set; then
  3245. - enableval="$enable_dependency_tracking"
  3246. + enableval=$enable_dependency_tracking;
  3247. +fi
  3248. -fi;
  3249. if test "x$enable_dependency_tracking" != xno; then
  3250. am_depcomp="$ac_aux_dir/depcomp"
  3251. AMDEPBACKSLASH='\'
  3252. @@ -3089,8 +3581,8 @@ fi
  3253. depcc="$CC" am_compiler_list=
  3254. -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3255. -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
  3256. +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3257. +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  3258. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3259. echo $ECHO_N "(cached) $ECHO_C" >&6
  3260. else
  3261. @@ -3179,8 +3671,8 @@ else
  3262. fi
  3263. fi
  3264. -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3265. -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
  3266. +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3267. +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  3268. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3269. @@ -3204,8 +3696,8 @@ _ACEOF
  3270. -echo "$as_me:$LINENO: checking for primary include directory" >&5
  3271. -echo $ECHO_N "checking for primary include directory... $ECHO_C" >&6
  3272. +{ echo "$as_me:$LINENO: checking for primary include directory" >&5
  3273. +echo $ECHO_N "checking for primary include directory... $ECHO_C" >&6; }
  3274. includedir=/usr/include
  3275. if test -n "$GCC"
  3276. then
  3277. @@ -3222,28 +3714,28 @@ then
  3278. includedir=$new_includedir
  3279. fi
  3280. fi
  3281. -echo "$as_me:$LINENO: result: $includedir" >&5
  3282. -echo "${ECHO_T}$includedir" >&6
  3283. +{ echo "$as_me:$LINENO: result: $includedir" >&5
  3284. +echo "${ECHO_T}$includedir" >&6; }
  3285. if test "x$opsys" = "xsunos4" && test "x$arch" = "xsparc"
  3286. then
  3287. - echo "$as_me:$LINENO: checking for valid machine include directory" >&5
  3288. -echo $ECHO_N "checking for valid machine include directory... $ECHO_C" >&6
  3289. + { echo "$as_me:$LINENO: checking for valid machine include directory" >&5
  3290. +echo $ECHO_N "checking for valid machine include directory... $ECHO_C" >&6; }
  3291. if test -d "$includedir/sun4"
  3292. then
  3293. rm -f machine
  3294. ln -s $includedir/sun4 machine
  3295. - echo "$as_me:$LINENO: result: yes" >&5
  3296. -echo "${ECHO_T}yes" >&6
  3297. + { echo "$as_me:$LINENO: result: yes" >&5
  3298. +echo "${ECHO_T}yes" >&6; }
  3299. cat >>confdefs.h <<\_ACEOF
  3300. #define SUNOS4_KERNEL_ARCH_KLUDGE 1
  3301. _ACEOF
  3302. else
  3303. - echo "$as_me:$LINENO: result: no" >&5
  3304. -echo "${ECHO_T}no" >&6
  3305. + { echo "$as_me:$LINENO: result: no" >&5
  3306. +echo "${ECHO_T}no" >&6; }
  3307. fi
  3308. fi
  3309. @@ -3271,8 +3763,8 @@ ac_cpp='$CPP $CPPFLAGS'
  3310. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3311. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3312. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3313. -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  3314. -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
  3315. +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  3316. +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  3317. # On Suns, sometimes $CPP names a directory.
  3318. if test -n "$CPP" && test -d "$CPP"; then
  3319. CPP=
  3320. @@ -3306,24 +3798,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  3321. #endif
  3322. Syntax error
  3323. _ACEOF
  3324. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3325. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3326. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  3327. +case "(($ac_try" in
  3328. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3329. + *) ac_try_echo=$ac_try;;
  3330. +esac
  3331. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3332. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3333. ac_status=$?
  3334. grep -v '^ *+' conftest.er1 >conftest.err
  3335. rm -f conftest.er1
  3336. cat conftest.err >&5
  3337. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3338. - (exit $ac_status); } >/dev/null; then
  3339. - if test -s conftest.err; then
  3340. - ac_cpp_err=$ac_c_preproc_warn_flag
  3341. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3342. - else
  3343. - ac_cpp_err=
  3344. - fi
  3345. -else
  3346. - ac_cpp_err=yes
  3347. -fi
  3348. -if test -z "$ac_cpp_err"; then
  3349. + (exit $ac_status); } >/dev/null && {
  3350. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3351. + test ! -s conftest.err
  3352. + }; then
  3353. :
  3354. else
  3355. echo "$as_me: failed program was:" >&5
  3356. @@ -3332,9 +3822,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  3357. # Broken: fails on valid input.
  3358. continue
  3359. fi
  3360. +
  3361. rm -f conftest.err conftest.$ac_ext
  3362. - # OK, works on sane cases. Now check whether non-existent headers
  3363. + # OK, works on sane cases. Now check whether nonexistent headers
  3364. # can be detected and how.
  3365. cat >conftest.$ac_ext <<_ACEOF
  3366. /* confdefs.h. */
  3367. @@ -3344,24 +3835,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  3368. /* end confdefs.h. */
  3369. #include <ac_nonexistent.h>
  3370. _ACEOF
  3371. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3372. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3373. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  3374. +case "(($ac_try" in
  3375. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3376. + *) ac_try_echo=$ac_try;;
  3377. +esac
  3378. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3379. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3380. ac_status=$?
  3381. grep -v '^ *+' conftest.er1 >conftest.err
  3382. rm -f conftest.er1
  3383. cat conftest.err >&5
  3384. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3385. - (exit $ac_status); } >/dev/null; then
  3386. - if test -s conftest.err; then
  3387. - ac_cpp_err=$ac_c_preproc_warn_flag
  3388. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3389. - else
  3390. - ac_cpp_err=
  3391. - fi
  3392. -else
  3393. - ac_cpp_err=yes
  3394. -fi
  3395. -if test -z "$ac_cpp_err"; then
  3396. + (exit $ac_status); } >/dev/null && {
  3397. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3398. + test ! -s conftest.err
  3399. + }; then
  3400. # Broken: success on invalid input.
  3401. continue
  3402. else
  3403. @@ -3372,6 +3861,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
  3404. ac_preproc_ok=:
  3405. break
  3406. fi
  3407. +
  3408. rm -f conftest.err conftest.$ac_ext
  3409. done
  3410. @@ -3389,8 +3879,8 @@ fi
  3411. else
  3412. ac_cv_prog_CPP=$CPP
  3413. fi
  3414. -echo "$as_me:$LINENO: result: $CPP" >&5
  3415. -echo "${ECHO_T}$CPP" >&6
  3416. +{ echo "$as_me:$LINENO: result: $CPP" >&5
  3417. +echo "${ECHO_T}$CPP" >&6; }
  3418. ac_preproc_ok=false
  3419. for ac_c_preproc_warn_flag in '' yes
  3420. do
  3421. @@ -3413,24 +3903,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  3422. #endif
  3423. Syntax error
  3424. _ACEOF
  3425. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3426. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3427. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  3428. +case "(($ac_try" in
  3429. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3430. + *) ac_try_echo=$ac_try;;
  3431. +esac
  3432. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3433. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3434. ac_status=$?
  3435. grep -v '^ *+' conftest.er1 >conftest.err
  3436. rm -f conftest.er1
  3437. cat conftest.err >&5
  3438. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3439. - (exit $ac_status); } >/dev/null; then
  3440. - if test -s conftest.err; then
  3441. - ac_cpp_err=$ac_c_preproc_warn_flag
  3442. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3443. - else
  3444. - ac_cpp_err=
  3445. - fi
  3446. -else
  3447. - ac_cpp_err=yes
  3448. -fi
  3449. -if test -z "$ac_cpp_err"; then
  3450. + (exit $ac_status); } >/dev/null && {
  3451. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3452. + test ! -s conftest.err
  3453. + }; then
  3454. :
  3455. else
  3456. echo "$as_me: failed program was:" >&5
  3457. @@ -3439,9 +3927,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  3458. # Broken: fails on valid input.
  3459. continue
  3460. fi
  3461. +
  3462. rm -f conftest.err conftest.$ac_ext
  3463. - # OK, works on sane cases. Now check whether non-existent headers
  3464. + # OK, works on sane cases. Now check whether nonexistent headers
  3465. # can be detected and how.
  3466. cat >conftest.$ac_ext <<_ACEOF
  3467. /* confdefs.h. */
  3468. @@ -3451,24 +3940,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  3469. /* end confdefs.h. */
  3470. #include <ac_nonexistent.h>
  3471. _ACEOF
  3472. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3473. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3474. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  3475. +case "(($ac_try" in
  3476. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3477. + *) ac_try_echo=$ac_try;;
  3478. +esac
  3479. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3480. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3481. ac_status=$?
  3482. grep -v '^ *+' conftest.er1 >conftest.err
  3483. rm -f conftest.er1
  3484. cat conftest.err >&5
  3485. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3486. - (exit $ac_status); } >/dev/null; then
  3487. - if test -s conftest.err; then
  3488. - ac_cpp_err=$ac_c_preproc_warn_flag
  3489. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3490. - else
  3491. - ac_cpp_err=
  3492. - fi
  3493. -else
  3494. - ac_cpp_err=yes
  3495. -fi
  3496. -if test -z "$ac_cpp_err"; then
  3497. + (exit $ac_status); } >/dev/null && {
  3498. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3499. + test ! -s conftest.err
  3500. + }; then
  3501. # Broken: success on invalid input.
  3502. continue
  3503. else
  3504. @@ -3479,6 +3966,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
  3505. ac_preproc_ok=:
  3506. break
  3507. fi
  3508. +
  3509. rm -f conftest.err conftest.$ac_ext
  3510. done
  3511. @@ -3502,24 +3990,171 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3512. -echo "$as_me:$LINENO: checking for egrep" >&5
  3513. -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
  3514. -if test "${ac_cv_prog_egrep+set}" = set; then
  3515. +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  3516. +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  3517. +if test "${ac_cv_path_GREP+set}" = set; then
  3518. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3519. +else
  3520. + # Extract the first word of "grep ggrep" to use in msg output
  3521. +if test -z "$GREP"; then
  3522. +set dummy grep ggrep; ac_prog_name=$2
  3523. +if test "${ac_cv_path_GREP+set}" = set; then
  3524. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3525. +else
  3526. + ac_path_GREP_found=false
  3527. +# Loop through the user's path and test for each of PROGNAME-LIST
  3528. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3529. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3530. +do
  3531. + IFS=$as_save_IFS
  3532. + test -z "$as_dir" && as_dir=.
  3533. + for ac_prog in grep ggrep; do
  3534. + for ac_exec_ext in '' $ac_executable_extensions; do
  3535. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3536. + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  3537. + # Check for GNU ac_path_GREP and select it if it is found.
  3538. + # Check for GNU $ac_path_GREP
  3539. +case `"$ac_path_GREP" --version 2>&1` in
  3540. +*GNU*)
  3541. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3542. +*)
  3543. + ac_count=0
  3544. + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  3545. + while :
  3546. + do
  3547. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  3548. + mv "conftest.tmp" "conftest.in"
  3549. + cp "conftest.in" "conftest.nl"
  3550. + echo 'GREP' >> "conftest.nl"
  3551. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3552. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3553. + ac_count=`expr $ac_count + 1`
  3554. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3555. + # Best one so far, save it but keep looking for a better one
  3556. + ac_cv_path_GREP="$ac_path_GREP"
  3557. + ac_path_GREP_max=$ac_count
  3558. + fi
  3559. + # 10*(2^10) chars as input seems more than enough
  3560. + test $ac_count -gt 10 && break
  3561. + done
  3562. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3563. +esac
  3564. +
  3565. +
  3566. + $ac_path_GREP_found && break 3
  3567. + done
  3568. +done
  3569. +
  3570. +done
  3571. +IFS=$as_save_IFS
  3572. +
  3573. +
  3574. +fi
  3575. +
  3576. +GREP="$ac_cv_path_GREP"
  3577. +if test -z "$GREP"; then
  3578. + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3579. +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3580. + { (exit 1); exit 1; }; }
  3581. +fi
  3582. +
  3583. +else
  3584. + ac_cv_path_GREP=$GREP
  3585. +fi
  3586. +
  3587. +
  3588. +fi
  3589. +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  3590. +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  3591. + GREP="$ac_cv_path_GREP"
  3592. +
  3593. +
  3594. +{ echo "$as_me:$LINENO: checking for egrep" >&5
  3595. +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  3596. +if test "${ac_cv_path_EGREP+set}" = set; then
  3597. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3598. +else
  3599. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3600. + then ac_cv_path_EGREP="$GREP -E"
  3601. + else
  3602. + # Extract the first word of "egrep" to use in msg output
  3603. +if test -z "$EGREP"; then
  3604. +set dummy egrep; ac_prog_name=$2
  3605. +if test "${ac_cv_path_EGREP+set}" = set; then
  3606. echo $ECHO_N "(cached) $ECHO_C" >&6
  3607. else
  3608. - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  3609. - then ac_cv_prog_egrep='grep -E'
  3610. - else ac_cv_prog_egrep='egrep'
  3611. + ac_path_EGREP_found=false
  3612. +# Loop through the user's path and test for each of PROGNAME-LIST
  3613. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3614. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3615. +do
  3616. + IFS=$as_save_IFS
  3617. + test -z "$as_dir" && as_dir=.
  3618. + for ac_prog in egrep; do
  3619. + for ac_exec_ext in '' $ac_executable_extensions; do
  3620. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3621. + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  3622. + # Check for GNU ac_path_EGREP and select it if it is found.
  3623. + # Check for GNU $ac_path_EGREP
  3624. +case `"$ac_path_EGREP" --version 2>&1` in
  3625. +*GNU*)
  3626. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3627. +*)
  3628. + ac_count=0
  3629. + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  3630. + while :
  3631. + do
  3632. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  3633. + mv "conftest.tmp" "conftest.in"
  3634. + cp "conftest.in" "conftest.nl"
  3635. + echo 'EGREP' >> "conftest.nl"
  3636. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3637. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3638. + ac_count=`expr $ac_count + 1`
  3639. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3640. + # Best one so far, save it but keep looking for a better one
  3641. + ac_cv_path_EGREP="$ac_path_EGREP"
  3642. + ac_path_EGREP_max=$ac_count
  3643. fi
  3644. + # 10*(2^10) chars as input seems more than enough
  3645. + test $ac_count -gt 10 && break
  3646. + done
  3647. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3648. +esac
  3649. +
  3650. +
  3651. + $ac_path_EGREP_found && break 3
  3652. + done
  3653. +done
  3654. +
  3655. +done
  3656. +IFS=$as_save_IFS
  3657. +
  3658. +
  3659. +fi
  3660. +
  3661. +EGREP="$ac_cv_path_EGREP"
  3662. +if test -z "$EGREP"; then
  3663. + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3664. +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3665. + { (exit 1); exit 1; }; }
  3666. +fi
  3667. +
  3668. +else
  3669. + ac_cv_path_EGREP=$EGREP
  3670. fi
  3671. -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
  3672. -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
  3673. - EGREP=$ac_cv_prog_egrep
  3674. +
  3675. +
  3676. + fi
  3677. +fi
  3678. +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  3679. +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  3680. + EGREP="$ac_cv_path_EGREP"
  3681. if test $ac_cv_c_compiler_gnu = yes; then
  3682. - echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
  3683. -echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
  3684. + { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
  3685. +echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
  3686. if test "${ac_cv_prog_gcc_traditional+set}" = set; then
  3687. echo $ECHO_N "(cached) $ECHO_C" >&6
  3688. else
  3689. @@ -3560,8 +4195,8 @@ rm -f conftest*
  3690. fi
  3691. fi
  3692. -echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
  3693. -echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
  3694. +{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
  3695. +echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
  3696. if test $ac_cv_prog_gcc_traditional = yes; then
  3697. CC="$CC -traditional"
  3698. fi
  3699. @@ -3580,8 +4215,8 @@ fi
  3700. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  3701. # OS/2's system install, which has a completely different semantic
  3702. # ./install, which can be erroneously created by make from ./install.sh.
  3703. -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  3704. -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  3705. +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  3706. +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  3707. if test -z "$INSTALL"; then
  3708. if test "${ac_cv_path_install+set}" = set; then
  3709. echo $ECHO_N "(cached) $ECHO_C" >&6
  3710. @@ -3603,7 +4238,7 @@ case $as_dir/ in
  3711. # by default.
  3712. for ac_prog in ginstall scoinst install; do
  3713. for ac_exec_ext in '' $ac_executable_extensions; do
  3714. - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  3715. + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  3716. if test $ac_prog = install &&
  3717. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  3718. # AIX install. It has an incompatible calling convention.
  3719. @@ -3622,21 +4257,22 @@ case $as_dir/ in
  3720. ;;
  3721. esac
  3722. done
  3723. +IFS=$as_save_IFS
  3724. fi
  3725. if test "${ac_cv_path_install+set}" = set; then
  3726. INSTALL=$ac_cv_path_install
  3727. else
  3728. - # As a last resort, use the slow shell script. We don't cache a
  3729. - # path for INSTALL within a source directory, because that will
  3730. + # As a last resort, use the slow shell script. Don't cache a
  3731. + # value for INSTALL within a source directory, because that will
  3732. # break other packages using the cache if that directory is
  3733. - # removed, or if the path is relative.
  3734. + # removed, or if the value is a relative name.
  3735. INSTALL=$ac_install_sh
  3736. fi
  3737. fi
  3738. -echo "$as_me:$LINENO: result: $INSTALL" >&5
  3739. -echo "${ECHO_T}$INSTALL" >&6
  3740. +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
  3741. +echo "${ECHO_T}$INSTALL" >&6; }
  3742. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  3743. # It thinks the first close brace ends the variable substitution.
  3744. @@ -3646,8 +4282,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
  3745. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  3746. -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  3747. -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
  3748. +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  3749. +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
  3750. if test "${ac_cv_c_const+set}" = set; then
  3751. echo $ECHO_N "(cached) $ECHO_C" >&6
  3752. else
  3753. @@ -3665,10 +4301,10 @@ main ()
  3754. #ifndef __cplusplus
  3755. /* Ultrix mips cc rejects this. */
  3756. typedef int charset[2];
  3757. - const charset x;
  3758. + const charset cs;
  3759. /* SunOS 4.1.1 cc rejects this. */
  3760. - char const *const *ccp;
  3761. - char **p;
  3762. + char const *const *pcpcc;
  3763. + char **ppc;
  3764. /* NEC SVR4.0.2 mips cc rejects this. */
  3765. struct point {int x, y;};
  3766. static struct point const zero = {0,0};
  3767. @@ -3677,16 +4313,17 @@ main ()
  3768. an arm of an if-expression whose if-part is not a constant
  3769. expression */
  3770. const char *g = "string";
  3771. - ccp = &g + (g ? g-g : 0);
  3772. + pcpcc = &g + (g ? g-g : 0);
  3773. /* HPUX 7.0 cc rejects these. */
  3774. - ++ccp;
  3775. - p = (char**) ccp;
  3776. - ccp = (char const *const *) p;
  3777. + ++pcpcc;
  3778. + ppc = (char**) pcpcc;
  3779. + pcpcc = (char const *const *) ppc;
  3780. { /* SCO 3.2v4 cc rejects this. */
  3781. char *t;
  3782. char const *s = 0 ? (char *) 0 : (char const *) 0;
  3783. *t++ = 0;
  3784. + if (s) return 0;
  3785. }
  3786. { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  3787. int x[] = {25, 17};
  3788. @@ -3705,7 +4342,9 @@ main ()
  3789. }
  3790. { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  3791. const int foo = 10;
  3792. + if (!foo) return 0;
  3793. }
  3794. + return !cs[0] && !zero.x;
  3795. #endif
  3796. ;
  3797. @@ -3713,38 +4352,34 @@ main ()
  3798. }
  3799. _ACEOF
  3800. rm -f conftest.$ac_objext
  3801. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3802. - (eval $ac_compile) 2>conftest.er1
  3803. +if { (ac_try="$ac_compile"
  3804. +case "(($ac_try" in
  3805. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3806. + *) ac_try_echo=$ac_try;;
  3807. +esac
  3808. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3809. + (eval "$ac_compile") 2>conftest.er1
  3810. ac_status=$?
  3811. grep -v '^ *+' conftest.er1 >conftest.err
  3812. rm -f conftest.er1
  3813. cat conftest.err >&5
  3814. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3815. - (exit $ac_status); } &&
  3816. - { ac_try='test -z "$ac_c_werror_flag"
  3817. - || test ! -s conftest.err'
  3818. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3819. - (eval $ac_try) 2>&5
  3820. - ac_status=$?
  3821. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3822. - (exit $ac_status); }; } &&
  3823. - { ac_try='test -s conftest.$ac_objext'
  3824. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3825. - (eval $ac_try) 2>&5
  3826. - ac_status=$?
  3827. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3828. - (exit $ac_status); }; }; then
  3829. + (exit $ac_status); } && {
  3830. + test -z "$ac_c_werror_flag" ||
  3831. + test ! -s conftest.err
  3832. + } && test -s conftest.$ac_objext; then
  3833. ac_cv_c_const=yes
  3834. else
  3835. echo "$as_me: failed program was:" >&5
  3836. sed 's/^/| /' conftest.$ac_ext >&5
  3837. -ac_cv_c_const=no
  3838. + ac_cv_c_const=no
  3839. fi
  3840. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3841. +
  3842. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3843. fi
  3844. -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  3845. -echo "${ECHO_T}$ac_cv_c_const" >&6
  3846. +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  3847. +echo "${ECHO_T}$ac_cv_c_const" >&6; }
  3848. if test $ac_cv_c_const = no; then
  3849. cat >>confdefs.h <<\_ACEOF
  3850. @@ -3753,8 +4388,8 @@ _ACEOF
  3851. fi
  3852. -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  3853. -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
  3854. +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  3855. +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  3856. if test "${ac_cv_header_stdc+set}" = set; then
  3857. echo $ECHO_N "(cached) $ECHO_C" >&6
  3858. else
  3859. @@ -3778,35 +4413,31 @@ main ()
  3860. }
  3861. _ACEOF
  3862. rm -f conftest.$ac_objext
  3863. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3864. - (eval $ac_compile) 2>conftest.er1
  3865. +if { (ac_try="$ac_compile"
  3866. +case "(($ac_try" in
  3867. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3868. + *) ac_try_echo=$ac_try;;
  3869. +esac
  3870. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3871. + (eval "$ac_compile") 2>conftest.er1
  3872. ac_status=$?
  3873. grep -v '^ *+' conftest.er1 >conftest.err
  3874. rm -f conftest.er1
  3875. cat conftest.err >&5
  3876. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3877. - (exit $ac_status); } &&
  3878. - { ac_try='test -z "$ac_c_werror_flag"
  3879. - || test ! -s conftest.err'
  3880. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3881. - (eval $ac_try) 2>&5
  3882. - ac_status=$?
  3883. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3884. - (exit $ac_status); }; } &&
  3885. - { ac_try='test -s conftest.$ac_objext'
  3886. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3887. - (eval $ac_try) 2>&5
  3888. - ac_status=$?
  3889. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3890. - (exit $ac_status); }; }; then
  3891. + (exit $ac_status); } && {
  3892. + test -z "$ac_c_werror_flag" ||
  3893. + test ! -s conftest.err
  3894. + } && test -s conftest.$ac_objext; then
  3895. ac_cv_header_stdc=yes
  3896. else
  3897. echo "$as_me: failed program was:" >&5
  3898. sed 's/^/| /' conftest.$ac_ext >&5
  3899. -ac_cv_header_stdc=no
  3900. + ac_cv_header_stdc=no
  3901. fi
  3902. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3903. +
  3904. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3905. if test $ac_cv_header_stdc = yes; then
  3906. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  3907. @@ -3862,6 +4493,7 @@ cat confdefs.h >>conftest.$ac_ext
  3908. cat >>conftest.$ac_ext <<_ACEOF
  3909. /* end confdefs.h. */
  3910. #include <ctype.h>
  3911. +#include <stdlib.h>
  3912. #if ((' ' & 0x0FF) == 0x020)
  3913. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  3914. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  3915. @@ -3881,18 +4513,27 @@ main ()
  3916. for (i = 0; i < 256; i++)
  3917. if (XOR (islower (i), ISLOWER (i))
  3918. || toupper (i) != TOUPPER (i))
  3919. - exit(2);
  3920. - exit (0);
  3921. + return 2;
  3922. + return 0;
  3923. }
  3924. _ACEOF
  3925. rm -f conftest$ac_exeext
  3926. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3927. - (eval $ac_link) 2>&5
  3928. +if { (ac_try="$ac_link"
  3929. +case "(($ac_try" in
  3930. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3931. + *) ac_try_echo=$ac_try;;
  3932. +esac
  3933. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3934. + (eval "$ac_link") 2>&5
  3935. ac_status=$?
  3936. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3937. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  3938. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3939. - (eval $ac_try) 2>&5
  3940. + { (case "(($ac_try" in
  3941. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3942. + *) ac_try_echo=$ac_try;;
  3943. +esac
  3944. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3945. + (eval "$ac_try") 2>&5
  3946. ac_status=$?
  3947. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3948. (exit $ac_status); }; }; then
  3949. @@ -3905,12 +4546,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
  3950. ( exit $ac_status )
  3951. ac_cv_header_stdc=no
  3952. fi
  3953. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3954. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3955. fi
  3956. +
  3957. +
  3958. fi
  3959. fi
  3960. -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  3961. -echo "${ECHO_T}$ac_cv_header_stdc" >&6
  3962. +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  3963. +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  3964. if test $ac_cv_header_stdc = yes; then
  3965. cat >>confdefs.h <<\_ACEOF
  3966. @@ -3927,9 +4570,9 @@ fi
  3967. ac_header_dirent=no
  3968. for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  3969. as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
  3970. -echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
  3971. -echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
  3972. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  3973. +{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
  3974. +echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
  3975. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3976. echo $ECHO_N "(cached) $ECHO_C" >&6
  3977. else
  3978. cat >conftest.$ac_ext <<_ACEOF
  3979. @@ -3951,38 +4594,35 @@ return 0;
  3980. }
  3981. _ACEOF
  3982. rm -f conftest.$ac_objext
  3983. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3984. - (eval $ac_compile) 2>conftest.er1
  3985. +if { (ac_try="$ac_compile"
  3986. +case "(($ac_try" in
  3987. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3988. + *) ac_try_echo=$ac_try;;
  3989. +esac
  3990. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3991. + (eval "$ac_compile") 2>conftest.er1
  3992. ac_status=$?
  3993. grep -v '^ *+' conftest.er1 >conftest.err
  3994. rm -f conftest.er1
  3995. cat conftest.err >&5
  3996. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3997. - (exit $ac_status); } &&
  3998. - { ac_try='test -z "$ac_c_werror_flag"
  3999. - || test ! -s conftest.err'
  4000. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4001. - (eval $ac_try) 2>&5
  4002. - ac_status=$?
  4003. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4004. - (exit $ac_status); }; } &&
  4005. - { ac_try='test -s conftest.$ac_objext'
  4006. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4007. - (eval $ac_try) 2>&5
  4008. - ac_status=$?
  4009. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4010. - (exit $ac_status); }; }; then
  4011. + (exit $ac_status); } && {
  4012. + test -z "$ac_c_werror_flag" ||
  4013. + test ! -s conftest.err
  4014. + } && test -s conftest.$ac_objext; then
  4015. eval "$as_ac_Header=yes"
  4016. else
  4017. echo "$as_me: failed program was:" >&5
  4018. sed 's/^/| /' conftest.$ac_ext >&5
  4019. -eval "$as_ac_Header=no"
  4020. + eval "$as_ac_Header=no"
  4021. fi
  4022. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4023. +
  4024. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4025. fi
  4026. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4027. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4028. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4029. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4030. +echo "${ECHO_T}$ac_res" >&6; }
  4031. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4032. cat >>confdefs.h <<_ACEOF
  4033. #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
  4034. @@ -3994,13 +4634,12 @@ fi
  4035. done
  4036. # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  4037. if test $ac_header_dirent = dirent.h; then
  4038. - echo "$as_me:$LINENO: checking for library containing opendir" >&5
  4039. -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
  4040. + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
  4041. +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
  4042. if test "${ac_cv_search_opendir+set}" = set; then
  4043. echo $ECHO_N "(cached) $ECHO_C" >&6
  4044. else
  4045. ac_func_search_save_LIBS=$LIBS
  4046. -ac_cv_search_opendir=no
  4047. cat >conftest.$ac_ext <<_ACEOF
  4048. /* confdefs.h. */
  4049. _ACEOF
  4050. @@ -4008,126 +4647,83 @@ cat confdefs.h >>conftest.$ac_ext
  4051. cat >>conftest.$ac_ext <<_ACEOF
  4052. /* end confdefs.h. */
  4053. -/* Override any gcc2 internal prototype to avoid an error. */
  4054. +/* Override any GCC internal prototype to avoid an error.
  4055. + Use char because int might match the return type of a GCC
  4056. + builtin and then its argument prototype would still apply. */
  4057. #ifdef __cplusplus
  4058. extern "C"
  4059. #endif
  4060. -/* We use char because int might match the return type of a gcc2
  4061. - builtin and then its argument prototype would still apply. */
  4062. char opendir ();
  4063. int
  4064. main ()
  4065. {
  4066. -opendir ();
  4067. +return opendir ();
  4068. ;
  4069. return 0;
  4070. }
  4071. _ACEOF
  4072. -rm -f conftest.$ac_objext conftest$ac_exeext
  4073. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4074. - (eval $ac_link) 2>conftest.er1
  4075. +for ac_lib in '' dir; do
  4076. + if test -z "$ac_lib"; then
  4077. + ac_res="none required"
  4078. + else
  4079. + ac_res=-l$ac_lib
  4080. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  4081. + fi
  4082. + rm -f conftest.$ac_objext conftest$ac_exeext
  4083. +if { (ac_try="$ac_link"
  4084. +case "(($ac_try" in
  4085. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4086. + *) ac_try_echo=$ac_try;;
  4087. +esac
  4088. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4089. + (eval "$ac_link") 2>conftest.er1
  4090. ac_status=$?
  4091. grep -v '^ *+' conftest.er1 >conftest.err
  4092. rm -f conftest.er1
  4093. cat conftest.err >&5
  4094. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4095. - (exit $ac_status); } &&
  4096. - { ac_try='test -z "$ac_c_werror_flag"
  4097. - || test ! -s conftest.err'
  4098. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4099. - (eval $ac_try) 2>&5
  4100. - ac_status=$?
  4101. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4102. - (exit $ac_status); }; } &&
  4103. - { ac_try='test -s conftest$ac_exeext'
  4104. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4105. - (eval $ac_try) 2>&5
  4106. - ac_status=$?
  4107. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4108. - (exit $ac_status); }; }; then
  4109. - ac_cv_search_opendir="none required"
  4110. + (exit $ac_status); } && {
  4111. + test -z "$ac_c_werror_flag" ||
  4112. + test ! -s conftest.err
  4113. + } && test -s conftest$ac_exeext &&
  4114. + $as_test_x conftest$ac_exeext; then
  4115. + ac_cv_search_opendir=$ac_res
  4116. else
  4117. echo "$as_me: failed program was:" >&5
  4118. sed 's/^/| /' conftest.$ac_ext >&5
  4119. -fi
  4120. -rm -f conftest.err conftest.$ac_objext \
  4121. - conftest$ac_exeext conftest.$ac_ext
  4122. -if test "$ac_cv_search_opendir" = no; then
  4123. - for ac_lib in dir; do
  4124. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  4125. - cat >conftest.$ac_ext <<_ACEOF
  4126. -/* confdefs.h. */
  4127. -_ACEOF
  4128. -cat confdefs.h >>conftest.$ac_ext
  4129. -cat >>conftest.$ac_ext <<_ACEOF
  4130. -/* end confdefs.h. */
  4131. -/* Override any gcc2 internal prototype to avoid an error. */
  4132. -#ifdef __cplusplus
  4133. -extern "C"
  4134. -#endif
  4135. -/* We use char because int might match the return type of a gcc2
  4136. - builtin and then its argument prototype would still apply. */
  4137. -char opendir ();
  4138. -int
  4139. -main ()
  4140. -{
  4141. -opendir ();
  4142. - ;
  4143. - return 0;
  4144. -}
  4145. -_ACEOF
  4146. -rm -f conftest.$ac_objext conftest$ac_exeext
  4147. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4148. - (eval $ac_link) 2>conftest.er1
  4149. - ac_status=$?
  4150. - grep -v '^ *+' conftest.er1 >conftest.err
  4151. - rm -f conftest.er1
  4152. - cat conftest.err >&5
  4153. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4154. - (exit $ac_status); } &&
  4155. - { ac_try='test -z "$ac_c_werror_flag"
  4156. - || test ! -s conftest.err'
  4157. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4158. - (eval $ac_try) 2>&5
  4159. - ac_status=$?
  4160. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4161. - (exit $ac_status); }; } &&
  4162. - { ac_try='test -s conftest$ac_exeext'
  4163. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4164. - (eval $ac_try) 2>&5
  4165. - ac_status=$?
  4166. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4167. - (exit $ac_status); }; }; then
  4168. - ac_cv_search_opendir="-l$ac_lib"
  4169. -break
  4170. -else
  4171. - echo "$as_me: failed program was:" >&5
  4172. -sed 's/^/| /' conftest.$ac_ext >&5
  4173. +fi
  4174. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4175. + conftest$ac_exeext
  4176. + if test "${ac_cv_search_opendir+set}" = set; then
  4177. + break
  4178. fi
  4179. -rm -f conftest.err conftest.$ac_objext \
  4180. - conftest$ac_exeext conftest.$ac_ext
  4181. - done
  4182. +done
  4183. +if test "${ac_cv_search_opendir+set}" = set; then
  4184. + :
  4185. +else
  4186. + ac_cv_search_opendir=no
  4187. fi
  4188. +rm conftest.$ac_ext
  4189. LIBS=$ac_func_search_save_LIBS
  4190. fi
  4191. -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  4192. -echo "${ECHO_T}$ac_cv_search_opendir" >&6
  4193. -if test "$ac_cv_search_opendir" != no; then
  4194. - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
  4195. +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  4196. +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
  4197. +ac_res=$ac_cv_search_opendir
  4198. +if test "$ac_res" != no; then
  4199. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  4200. fi
  4201. else
  4202. - echo "$as_me:$LINENO: checking for library containing opendir" >&5
  4203. -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
  4204. + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
  4205. +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
  4206. if test "${ac_cv_search_opendir+set}" = set; then
  4207. echo $ECHO_N "(cached) $ECHO_C" >&6
  4208. else
  4209. ac_func_search_save_LIBS=$LIBS
  4210. -ac_cv_search_opendir=no
  4211. cat >conftest.$ac_ext <<_ACEOF
  4212. /* confdefs.h. */
  4213. _ACEOF
  4214. @@ -4135,122 +4731,80 @@ cat confdefs.h >>conftest.$ac_ext
  4215. cat >>conftest.$ac_ext <<_ACEOF
  4216. /* end confdefs.h. */
  4217. -/* Override any gcc2 internal prototype to avoid an error. */
  4218. +/* Override any GCC internal prototype to avoid an error.
  4219. + Use char because int might match the return type of a GCC
  4220. + builtin and then its argument prototype would still apply. */
  4221. #ifdef __cplusplus
  4222. extern "C"
  4223. #endif
  4224. -/* We use char because int might match the return type of a gcc2
  4225. - builtin and then its argument prototype would still apply. */
  4226. char opendir ();
  4227. int
  4228. main ()
  4229. {
  4230. -opendir ();
  4231. +return opendir ();
  4232. ;
  4233. return 0;
  4234. }
  4235. _ACEOF
  4236. -rm -f conftest.$ac_objext conftest$ac_exeext
  4237. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4238. - (eval $ac_link) 2>conftest.er1
  4239. +for ac_lib in '' x; do
  4240. + if test -z "$ac_lib"; then
  4241. + ac_res="none required"
  4242. + else
  4243. + ac_res=-l$ac_lib
  4244. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  4245. + fi
  4246. + rm -f conftest.$ac_objext conftest$ac_exeext
  4247. +if { (ac_try="$ac_link"
  4248. +case "(($ac_try" in
  4249. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4250. + *) ac_try_echo=$ac_try;;
  4251. +esac
  4252. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4253. + (eval "$ac_link") 2>conftest.er1
  4254. ac_status=$?
  4255. grep -v '^ *+' conftest.er1 >conftest.err
  4256. rm -f conftest.er1
  4257. cat conftest.err >&5
  4258. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4259. - (exit $ac_status); } &&
  4260. - { ac_try='test -z "$ac_c_werror_flag"
  4261. - || test ! -s conftest.err'
  4262. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4263. - (eval $ac_try) 2>&5
  4264. - ac_status=$?
  4265. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4266. - (exit $ac_status); }; } &&
  4267. - { ac_try='test -s conftest$ac_exeext'
  4268. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4269. - (eval $ac_try) 2>&5
  4270. - ac_status=$?
  4271. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4272. - (exit $ac_status); }; }; then
  4273. - ac_cv_search_opendir="none required"
  4274. + (exit $ac_status); } && {
  4275. + test -z "$ac_c_werror_flag" ||
  4276. + test ! -s conftest.err
  4277. + } && test -s conftest$ac_exeext &&
  4278. + $as_test_x conftest$ac_exeext; then
  4279. + ac_cv_search_opendir=$ac_res
  4280. else
  4281. echo "$as_me: failed program was:" >&5
  4282. sed 's/^/| /' conftest.$ac_ext >&5
  4283. +
  4284. fi
  4285. -rm -f conftest.err conftest.$ac_objext \
  4286. - conftest$ac_exeext conftest.$ac_ext
  4287. -if test "$ac_cv_search_opendir" = no; then
  4288. - for ac_lib in x; do
  4289. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  4290. - cat >conftest.$ac_ext <<_ACEOF
  4291. -/* confdefs.h. */
  4292. -_ACEOF
  4293. -cat confdefs.h >>conftest.$ac_ext
  4294. -cat >>conftest.$ac_ext <<_ACEOF
  4295. -/* end confdefs.h. */
  4296. -
  4297. -/* Override any gcc2 internal prototype to avoid an error. */
  4298. -#ifdef __cplusplus
  4299. -extern "C"
  4300. -#endif
  4301. -/* We use char because int might match the return type of a gcc2
  4302. - builtin and then its argument prototype would still apply. */
  4303. -char opendir ();
  4304. -int
  4305. -main ()
  4306. -{
  4307. -opendir ();
  4308. - ;
  4309. - return 0;
  4310. -}
  4311. -_ACEOF
  4312. -rm -f conftest.$ac_objext conftest$ac_exeext
  4313. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4314. - (eval $ac_link) 2>conftest.er1
  4315. - ac_status=$?
  4316. - grep -v '^ *+' conftest.er1 >conftest.err
  4317. - rm -f conftest.er1
  4318. - cat conftest.err >&5
  4319. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4320. - (exit $ac_status); } &&
  4321. - { ac_try='test -z "$ac_c_werror_flag"
  4322. - || test ! -s conftest.err'
  4323. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4324. - (eval $ac_try) 2>&5
  4325. - ac_status=$?
  4326. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4327. - (exit $ac_status); }; } &&
  4328. - { ac_try='test -s conftest$ac_exeext'
  4329. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4330. - (eval $ac_try) 2>&5
  4331. - ac_status=$?
  4332. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4333. - (exit $ac_status); }; }; then
  4334. - ac_cv_search_opendir="-l$ac_lib"
  4335. -break
  4336. -else
  4337. - echo "$as_me: failed program was:" >&5
  4338. -sed 's/^/| /' conftest.$ac_ext >&5
  4339. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4340. + conftest$ac_exeext
  4341. + if test "${ac_cv_search_opendir+set}" = set; then
  4342. + break
  4343. fi
  4344. -rm -f conftest.err conftest.$ac_objext \
  4345. - conftest$ac_exeext conftest.$ac_ext
  4346. - done
  4347. +done
  4348. +if test "${ac_cv_search_opendir+set}" = set; then
  4349. + :
  4350. +else
  4351. + ac_cv_search_opendir=no
  4352. fi
  4353. +rm conftest.$ac_ext
  4354. LIBS=$ac_func_search_save_LIBS
  4355. fi
  4356. -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  4357. -echo "${ECHO_T}$ac_cv_search_opendir" >&6
  4358. -if test "$ac_cv_search_opendir" != no; then
  4359. - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
  4360. +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  4361. +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
  4362. +ac_res=$ac_cv_search_opendir
  4363. +if test "$ac_res" != no; then
  4364. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  4365. fi
  4366. fi
  4367. -echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
  4368. -echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
  4369. +{ echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
  4370. +echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
  4371. if test "${ac_cv_header_stat_broken+set}" = set; then
  4372. echo $ECHO_N "(cached) $ECHO_C" >&6
  4373. else
  4374. @@ -4263,42 +4817,52 @@ cat >>conftest.$ac_ext <<_ACEOF
  4375. #include <sys/types.h>
  4376. #include <sys/stat.h>
  4377. -#if defined(S_ISBLK) && defined(S_IFDIR)
  4378. -# if S_ISBLK (S_IFDIR)
  4379. -You lose.
  4380. -# endif
  4381. +#if defined S_ISBLK && defined S_IFDIR
  4382. +extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
  4383. #endif
  4384. -#if defined(S_ISBLK) && defined(S_IFCHR)
  4385. -# if S_ISBLK (S_IFCHR)
  4386. -You lose.
  4387. -# endif
  4388. +#if defined S_ISBLK && defined S_IFCHR
  4389. +extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
  4390. #endif
  4391. -#if defined(S_ISLNK) && defined(S_IFREG)
  4392. -# if S_ISLNK (S_IFREG)
  4393. -You lose.
  4394. -# endif
  4395. +#if defined S_ISLNK && defined S_IFREG
  4396. +extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
  4397. #endif
  4398. -#if defined(S_ISSOCK) && defined(S_IFREG)
  4399. -# if S_ISSOCK (S_IFREG)
  4400. -You lose.
  4401. -# endif
  4402. +#if defined S_ISSOCK && defined S_IFREG
  4403. +extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
  4404. #endif
  4405. _ACEOF
  4406. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4407. - $EGREP "You lose" >/dev/null 2>&1; then
  4408. - ac_cv_header_stat_broken=yes
  4409. -else
  4410. +rm -f conftest.$ac_objext
  4411. +if { (ac_try="$ac_compile"
  4412. +case "(($ac_try" in
  4413. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4414. + *) ac_try_echo=$ac_try;;
  4415. +esac
  4416. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4417. + (eval "$ac_compile") 2>conftest.er1
  4418. + ac_status=$?
  4419. + grep -v '^ *+' conftest.er1 >conftest.err
  4420. + rm -f conftest.er1
  4421. + cat conftest.err >&5
  4422. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4423. + (exit $ac_status); } && {
  4424. + test -z "$ac_c_werror_flag" ||
  4425. + test ! -s conftest.err
  4426. + } && test -s conftest.$ac_objext; then
  4427. ac_cv_header_stat_broken=no
  4428. +else
  4429. + echo "$as_me: failed program was:" >&5
  4430. +sed 's/^/| /' conftest.$ac_ext >&5
  4431. +
  4432. + ac_cv_header_stat_broken=yes
  4433. fi
  4434. -rm -f conftest*
  4435. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4436. fi
  4437. -echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
  4438. -echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
  4439. +{ echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
  4440. +echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
  4441. if test $ac_cv_header_stat_broken = yes; then
  4442. cat >>confdefs.h <<\_ACEOF
  4443. @@ -4321,9 +4885,9 @@ for ac_header in sys/types.h sys/stat.h
  4444. inttypes.h stdint.h unistd.h
  4445. do
  4446. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4447. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  4448. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4449. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4450. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  4451. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4452. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4453. echo $ECHO_N "(cached) $ECHO_C" >&6
  4454. else
  4455. cat >conftest.$ac_ext <<_ACEOF
  4456. @@ -4337,38 +4901,35 @@ $ac_includes_default
  4457. #include <$ac_header>
  4458. _ACEOF
  4459. rm -f conftest.$ac_objext
  4460. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4461. - (eval $ac_compile) 2>conftest.er1
  4462. +if { (ac_try="$ac_compile"
  4463. +case "(($ac_try" in
  4464. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4465. + *) ac_try_echo=$ac_try;;
  4466. +esac
  4467. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4468. + (eval "$ac_compile") 2>conftest.er1
  4469. ac_status=$?
  4470. grep -v '^ *+' conftest.er1 >conftest.err
  4471. rm -f conftest.er1
  4472. cat conftest.err >&5
  4473. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4474. - (exit $ac_status); } &&
  4475. - { ac_try='test -z "$ac_c_werror_flag"
  4476. - || test ! -s conftest.err'
  4477. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4478. - (eval $ac_try) 2>&5
  4479. - ac_status=$?
  4480. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4481. - (exit $ac_status); }; } &&
  4482. - { ac_try='test -s conftest.$ac_objext'
  4483. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4484. - (eval $ac_try) 2>&5
  4485. - ac_status=$?
  4486. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4487. - (exit $ac_status); }; }; then
  4488. + (exit $ac_status); } && {
  4489. + test -z "$ac_c_werror_flag" ||
  4490. + test ! -s conftest.err
  4491. + } && test -s conftest.$ac_objext; then
  4492. eval "$as_ac_Header=yes"
  4493. else
  4494. echo "$as_me: failed program was:" >&5
  4495. sed 's/^/| /' conftest.$ac_ext >&5
  4496. -eval "$as_ac_Header=no"
  4497. + eval "$as_ac_Header=no"
  4498. fi
  4499. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4500. +
  4501. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4502. fi
  4503. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4504. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4505. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4506. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4507. +echo "${ECHO_T}$ac_res" >&6; }
  4508. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4509. cat >>confdefs.h <<_ACEOF
  4510. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4511. @@ -4379,8 +4940,8 @@ fi
  4512. done
  4513. -echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
  4514. -echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
  4515. +{ echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
  4516. +echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
  4517. if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
  4518. echo $ECHO_N "(cached) $ECHO_C" >&6
  4519. else
  4520. @@ -4402,33 +4963,28 @@ return 0;
  4521. }
  4522. _ACEOF
  4523. rm -f conftest.$ac_objext
  4524. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4525. - (eval $ac_compile) 2>conftest.er1
  4526. +if { (ac_try="$ac_compile"
  4527. +case "(($ac_try" in
  4528. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4529. + *) ac_try_echo=$ac_try;;
  4530. +esac
  4531. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4532. + (eval "$ac_compile") 2>conftest.er1
  4533. ac_status=$?
  4534. grep -v '^ *+' conftest.er1 >conftest.err
  4535. rm -f conftest.er1
  4536. cat conftest.err >&5
  4537. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4538. - (exit $ac_status); } &&
  4539. - { ac_try='test -z "$ac_c_werror_flag"
  4540. - || test ! -s conftest.err'
  4541. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4542. - (eval $ac_try) 2>&5
  4543. - ac_status=$?
  4544. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4545. - (exit $ac_status); }; } &&
  4546. - { ac_try='test -s conftest.$ac_objext'
  4547. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4548. - (eval $ac_try) 2>&5
  4549. - ac_status=$?
  4550. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4551. - (exit $ac_status); }; }; then
  4552. + (exit $ac_status); } && {
  4553. + test -z "$ac_c_werror_flag" ||
  4554. + test ! -s conftest.err
  4555. + } && test -s conftest.$ac_objext; then
  4556. ac_cv_member_struct_stat_st_blksize=yes
  4557. else
  4558. echo "$as_me: failed program was:" >&5
  4559. sed 's/^/| /' conftest.$ac_ext >&5
  4560. -cat >conftest.$ac_ext <<_ACEOF
  4561. + cat >conftest.$ac_ext <<_ACEOF
  4562. /* confdefs.h. */
  4563. _ACEOF
  4564. cat confdefs.h >>conftest.$ac_ext
  4565. @@ -4446,40 +5002,37 @@ return 0;
  4566. }
  4567. _ACEOF
  4568. rm -f conftest.$ac_objext
  4569. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4570. - (eval $ac_compile) 2>conftest.er1
  4571. +if { (ac_try="$ac_compile"
  4572. +case "(($ac_try" in
  4573. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4574. + *) ac_try_echo=$ac_try;;
  4575. +esac
  4576. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4577. + (eval "$ac_compile") 2>conftest.er1
  4578. ac_status=$?
  4579. grep -v '^ *+' conftest.er1 >conftest.err
  4580. rm -f conftest.er1
  4581. cat conftest.err >&5
  4582. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4583. - (exit $ac_status); } &&
  4584. - { ac_try='test -z "$ac_c_werror_flag"
  4585. - || test ! -s conftest.err'
  4586. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4587. - (eval $ac_try) 2>&5
  4588. - ac_status=$?
  4589. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4590. - (exit $ac_status); }; } &&
  4591. - { ac_try='test -s conftest.$ac_objext'
  4592. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4593. - (eval $ac_try) 2>&5
  4594. - ac_status=$?
  4595. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4596. - (exit $ac_status); }; }; then
  4597. + (exit $ac_status); } && {
  4598. + test -z "$ac_c_werror_flag" ||
  4599. + test ! -s conftest.err
  4600. + } && test -s conftest.$ac_objext; then
  4601. ac_cv_member_struct_stat_st_blksize=yes
  4602. else
  4603. echo "$as_me: failed program was:" >&5
  4604. sed 's/^/| /' conftest.$ac_ext >&5
  4605. -ac_cv_member_struct_stat_st_blksize=no
  4606. + ac_cv_member_struct_stat_st_blksize=no
  4607. fi
  4608. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4609. +
  4610. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4611. fi
  4612. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4613. +
  4614. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4615. fi
  4616. -echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
  4617. -echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
  4618. +{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
  4619. +echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
  4620. if test $ac_cv_member_struct_stat_st_blksize = yes; then
  4621. cat >>confdefs.h <<_ACEOF
  4622. @@ -4488,8 +5041,8 @@ _ACEOF
  4623. fi
  4624. -echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
  4625. -echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
  4626. +{ echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
  4627. +echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
  4628. if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
  4629. echo $ECHO_N "(cached) $ECHO_C" >&6
  4630. else
  4631. @@ -4511,33 +5064,28 @@ return 0;
  4632. }
  4633. _ACEOF
  4634. rm -f conftest.$ac_objext
  4635. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4636. - (eval $ac_compile) 2>conftest.er1
  4637. +if { (ac_try="$ac_compile"
  4638. +case "(($ac_try" in
  4639. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4640. + *) ac_try_echo=$ac_try;;
  4641. +esac
  4642. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4643. + (eval "$ac_compile") 2>conftest.er1
  4644. ac_status=$?
  4645. grep -v '^ *+' conftest.er1 >conftest.err
  4646. rm -f conftest.er1
  4647. cat conftest.err >&5
  4648. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4649. - (exit $ac_status); } &&
  4650. - { ac_try='test -z "$ac_c_werror_flag"
  4651. - || test ! -s conftest.err'
  4652. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4653. - (eval $ac_try) 2>&5
  4654. - ac_status=$?
  4655. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4656. - (exit $ac_status); }; } &&
  4657. - { ac_try='test -s conftest.$ac_objext'
  4658. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4659. - (eval $ac_try) 2>&5
  4660. - ac_status=$?
  4661. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4662. - (exit $ac_status); }; }; then
  4663. + (exit $ac_status); } && {
  4664. + test -z "$ac_c_werror_flag" ||
  4665. + test ! -s conftest.err
  4666. + } && test -s conftest.$ac_objext; then
  4667. ac_cv_member_struct_stat_st_blocks=yes
  4668. else
  4669. echo "$as_me: failed program was:" >&5
  4670. sed 's/^/| /' conftest.$ac_ext >&5
  4671. -cat >conftest.$ac_ext <<_ACEOF
  4672. + cat >conftest.$ac_ext <<_ACEOF
  4673. /* confdefs.h. */
  4674. _ACEOF
  4675. cat confdefs.h >>conftest.$ac_ext
  4676. @@ -4555,40 +5103,37 @@ return 0;
  4677. }
  4678. _ACEOF
  4679. rm -f conftest.$ac_objext
  4680. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4681. - (eval $ac_compile) 2>conftest.er1
  4682. +if { (ac_try="$ac_compile"
  4683. +case "(($ac_try" in
  4684. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4685. + *) ac_try_echo=$ac_try;;
  4686. +esac
  4687. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4688. + (eval "$ac_compile") 2>conftest.er1
  4689. ac_status=$?
  4690. grep -v '^ *+' conftest.er1 >conftest.err
  4691. rm -f conftest.er1
  4692. cat conftest.err >&5
  4693. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4694. - (exit $ac_status); } &&
  4695. - { ac_try='test -z "$ac_c_werror_flag"
  4696. - || test ! -s conftest.err'
  4697. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4698. - (eval $ac_try) 2>&5
  4699. - ac_status=$?
  4700. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4701. - (exit $ac_status); }; } &&
  4702. - { ac_try='test -s conftest.$ac_objext'
  4703. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4704. - (eval $ac_try) 2>&5
  4705. - ac_status=$?
  4706. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4707. - (exit $ac_status); }; }; then
  4708. + (exit $ac_status); } && {
  4709. + test -z "$ac_c_werror_flag" ||
  4710. + test ! -s conftest.err
  4711. + } && test -s conftest.$ac_objext; then
  4712. ac_cv_member_struct_stat_st_blocks=yes
  4713. else
  4714. echo "$as_me: failed program was:" >&5
  4715. sed 's/^/| /' conftest.$ac_ext >&5
  4716. -ac_cv_member_struct_stat_st_blocks=no
  4717. + ac_cv_member_struct_stat_st_blocks=no
  4718. fi
  4719. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4720. +
  4721. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4722. fi
  4723. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4724. +
  4725. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4726. fi
  4727. -echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
  4728. -echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
  4729. +{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
  4730. +echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
  4731. if test $ac_cv_member_struct_stat_st_blocks = yes; then
  4732. cat >>confdefs.h <<_ACEOF
  4733. @@ -4597,8 +5142,8 @@ _ACEOF
  4734. fi
  4735. -echo "$as_me:$LINENO: checking for struct stat.st_aclcnt" >&5
  4736. -echo $ECHO_N "checking for struct stat.st_aclcnt... $ECHO_C" >&6
  4737. +{ echo "$as_me:$LINENO: checking for struct stat.st_aclcnt" >&5
  4738. +echo $ECHO_N "checking for struct stat.st_aclcnt... $ECHO_C" >&6; }
  4739. if test "${ac_cv_member_struct_stat_st_aclcnt+set}" = set; then
  4740. echo $ECHO_N "(cached) $ECHO_C" >&6
  4741. else
  4742. @@ -4620,33 +5165,28 @@ return 0;
  4743. }
  4744. _ACEOF
  4745. rm -f conftest.$ac_objext
  4746. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4747. - (eval $ac_compile) 2>conftest.er1
  4748. +if { (ac_try="$ac_compile"
  4749. +case "(($ac_try" in
  4750. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4751. + *) ac_try_echo=$ac_try;;
  4752. +esac
  4753. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4754. + (eval "$ac_compile") 2>conftest.er1
  4755. ac_status=$?
  4756. grep -v '^ *+' conftest.er1 >conftest.err
  4757. rm -f conftest.er1
  4758. cat conftest.err >&5
  4759. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4760. - (exit $ac_status); } &&
  4761. - { ac_try='test -z "$ac_c_werror_flag"
  4762. - || test ! -s conftest.err'
  4763. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4764. - (eval $ac_try) 2>&5
  4765. - ac_status=$?
  4766. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4767. - (exit $ac_status); }; } &&
  4768. - { ac_try='test -s conftest.$ac_objext'
  4769. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4770. - (eval $ac_try) 2>&5
  4771. - ac_status=$?
  4772. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4773. - (exit $ac_status); }; }; then
  4774. + (exit $ac_status); } && {
  4775. + test -z "$ac_c_werror_flag" ||
  4776. + test ! -s conftest.err
  4777. + } && test -s conftest.$ac_objext; then
  4778. ac_cv_member_struct_stat_st_aclcnt=yes
  4779. else
  4780. echo "$as_me: failed program was:" >&5
  4781. sed 's/^/| /' conftest.$ac_ext >&5
  4782. -cat >conftest.$ac_ext <<_ACEOF
  4783. + cat >conftest.$ac_ext <<_ACEOF
  4784. /* confdefs.h. */
  4785. _ACEOF
  4786. cat confdefs.h >>conftest.$ac_ext
  4787. @@ -4664,40 +5204,37 @@ return 0;
  4788. }
  4789. _ACEOF
  4790. rm -f conftest.$ac_objext
  4791. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4792. - (eval $ac_compile) 2>conftest.er1
  4793. +if { (ac_try="$ac_compile"
  4794. +case "(($ac_try" in
  4795. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4796. + *) ac_try_echo=$ac_try;;
  4797. +esac
  4798. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4799. + (eval "$ac_compile") 2>conftest.er1
  4800. ac_status=$?
  4801. grep -v '^ *+' conftest.er1 >conftest.err
  4802. rm -f conftest.er1
  4803. cat conftest.err >&5
  4804. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4805. - (exit $ac_status); } &&
  4806. - { ac_try='test -z "$ac_c_werror_flag"
  4807. - || test ! -s conftest.err'
  4808. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4809. - (eval $ac_try) 2>&5
  4810. - ac_status=$?
  4811. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4812. - (exit $ac_status); }; } &&
  4813. - { ac_try='test -s conftest.$ac_objext'
  4814. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4815. - (eval $ac_try) 2>&5
  4816. - ac_status=$?
  4817. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4818. - (exit $ac_status); }; }; then
  4819. + (exit $ac_status); } && {
  4820. + test -z "$ac_c_werror_flag" ||
  4821. + test ! -s conftest.err
  4822. + } && test -s conftest.$ac_objext; then
  4823. ac_cv_member_struct_stat_st_aclcnt=yes
  4824. else
  4825. echo "$as_me: failed program was:" >&5
  4826. sed 's/^/| /' conftest.$ac_ext >&5
  4827. -ac_cv_member_struct_stat_st_aclcnt=no
  4828. + ac_cv_member_struct_stat_st_aclcnt=no
  4829. fi
  4830. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4831. +
  4832. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4833. fi
  4834. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4835. +
  4836. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4837. fi
  4838. -echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_aclcnt" >&5
  4839. -echo "${ECHO_T}$ac_cv_member_struct_stat_st_aclcnt" >&6
  4840. +{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_aclcnt" >&5
  4841. +echo "${ECHO_T}$ac_cv_member_struct_stat_st_aclcnt" >&6; }
  4842. if test $ac_cv_member_struct_stat_st_aclcnt = yes; then
  4843. cat >>confdefs.h <<_ACEOF
  4844. @@ -4706,8 +5243,8 @@ _ACEOF
  4845. fi
  4846. -echo "$as_me:$LINENO: checking for struct stat.st_flags" >&5
  4847. -echo $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
  4848. +{ echo "$as_me:$LINENO: checking for struct stat.st_flags" >&5
  4849. +echo $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6; }
  4850. if test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
  4851. echo $ECHO_N "(cached) $ECHO_C" >&6
  4852. else
  4853. @@ -4729,33 +5266,28 @@ return 0;
  4854. }
  4855. _ACEOF
  4856. rm -f conftest.$ac_objext
  4857. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4858. - (eval $ac_compile) 2>conftest.er1
  4859. +if { (ac_try="$ac_compile"
  4860. +case "(($ac_try" in
  4861. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4862. + *) ac_try_echo=$ac_try;;
  4863. +esac
  4864. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4865. + (eval "$ac_compile") 2>conftest.er1
  4866. ac_status=$?
  4867. grep -v '^ *+' conftest.er1 >conftest.err
  4868. rm -f conftest.er1
  4869. cat conftest.err >&5
  4870. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4871. - (exit $ac_status); } &&
  4872. - { ac_try='test -z "$ac_c_werror_flag"
  4873. - || test ! -s conftest.err'
  4874. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4875. - (eval $ac_try) 2>&5
  4876. - ac_status=$?
  4877. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4878. - (exit $ac_status); }; } &&
  4879. - { ac_try='test -s conftest.$ac_objext'
  4880. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4881. - (eval $ac_try) 2>&5
  4882. - ac_status=$?
  4883. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4884. - (exit $ac_status); }; }; then
  4885. + (exit $ac_status); } && {
  4886. + test -z "$ac_c_werror_flag" ||
  4887. + test ! -s conftest.err
  4888. + } && test -s conftest.$ac_objext; then
  4889. ac_cv_member_struct_stat_st_flags=yes
  4890. else
  4891. echo "$as_me: failed program was:" >&5
  4892. sed 's/^/| /' conftest.$ac_ext >&5
  4893. -cat >conftest.$ac_ext <<_ACEOF
  4894. + cat >conftest.$ac_ext <<_ACEOF
  4895. /* confdefs.h. */
  4896. _ACEOF
  4897. cat confdefs.h >>conftest.$ac_ext
  4898. @@ -4773,40 +5305,37 @@ return 0;
  4899. }
  4900. _ACEOF
  4901. rm -f conftest.$ac_objext
  4902. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4903. - (eval $ac_compile) 2>conftest.er1
  4904. +if { (ac_try="$ac_compile"
  4905. +case "(($ac_try" in
  4906. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4907. + *) ac_try_echo=$ac_try;;
  4908. +esac
  4909. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4910. + (eval "$ac_compile") 2>conftest.er1
  4911. ac_status=$?
  4912. grep -v '^ *+' conftest.er1 >conftest.err
  4913. rm -f conftest.er1
  4914. cat conftest.err >&5
  4915. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4916. - (exit $ac_status); } &&
  4917. - { ac_try='test -z "$ac_c_werror_flag"
  4918. - || test ! -s conftest.err'
  4919. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4920. - (eval $ac_try) 2>&5
  4921. - ac_status=$?
  4922. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4923. - (exit $ac_status); }; } &&
  4924. - { ac_try='test -s conftest.$ac_objext'
  4925. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4926. - (eval $ac_try) 2>&5
  4927. - ac_status=$?
  4928. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4929. - (exit $ac_status); }; }; then
  4930. + (exit $ac_status); } && {
  4931. + test -z "$ac_c_werror_flag" ||
  4932. + test ! -s conftest.err
  4933. + } && test -s conftest.$ac_objext; then
  4934. ac_cv_member_struct_stat_st_flags=yes
  4935. else
  4936. echo "$as_me: failed program was:" >&5
  4937. sed 's/^/| /' conftest.$ac_ext >&5
  4938. -ac_cv_member_struct_stat_st_flags=no
  4939. + ac_cv_member_struct_stat_st_flags=no
  4940. fi
  4941. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4942. +
  4943. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4944. fi
  4945. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4946. +
  4947. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4948. fi
  4949. -echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_flags" >&5
  4950. -echo "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
  4951. +{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_flags" >&5
  4952. +echo "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6; }
  4953. if test $ac_cv_member_struct_stat_st_flags = yes; then
  4954. cat >>confdefs.h <<_ACEOF
  4955. @@ -4815,8 +5344,8 @@ _ACEOF
  4956. fi
  4957. -echo "$as_me:$LINENO: checking for struct stat.st_fstype" >&5
  4958. -echo $ECHO_N "checking for struct stat.st_fstype... $ECHO_C" >&6
  4959. +{ echo "$as_me:$LINENO: checking for struct stat.st_fstype" >&5
  4960. +echo $ECHO_N "checking for struct stat.st_fstype... $ECHO_C" >&6; }
  4961. if test "${ac_cv_member_struct_stat_st_fstype+set}" = set; then
  4962. echo $ECHO_N "(cached) $ECHO_C" >&6
  4963. else
  4964. @@ -4838,33 +5367,28 @@ return 0;
  4965. }
  4966. _ACEOF
  4967. rm -f conftest.$ac_objext
  4968. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4969. - (eval $ac_compile) 2>conftest.er1
  4970. +if { (ac_try="$ac_compile"
  4971. +case "(($ac_try" in
  4972. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4973. + *) ac_try_echo=$ac_try;;
  4974. +esac
  4975. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4976. + (eval "$ac_compile") 2>conftest.er1
  4977. ac_status=$?
  4978. grep -v '^ *+' conftest.er1 >conftest.err
  4979. rm -f conftest.er1
  4980. cat conftest.err >&5
  4981. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4982. - (exit $ac_status); } &&
  4983. - { ac_try='test -z "$ac_c_werror_flag"
  4984. - || test ! -s conftest.err'
  4985. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4986. - (eval $ac_try) 2>&5
  4987. - ac_status=$?
  4988. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4989. - (exit $ac_status); }; } &&
  4990. - { ac_try='test -s conftest.$ac_objext'
  4991. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4992. - (eval $ac_try) 2>&5
  4993. - ac_status=$?
  4994. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4995. - (exit $ac_status); }; }; then
  4996. + (exit $ac_status); } && {
  4997. + test -z "$ac_c_werror_flag" ||
  4998. + test ! -s conftest.err
  4999. + } && test -s conftest.$ac_objext; then
  5000. ac_cv_member_struct_stat_st_fstype=yes
  5001. else
  5002. echo "$as_me: failed program was:" >&5
  5003. sed 's/^/| /' conftest.$ac_ext >&5
  5004. -cat >conftest.$ac_ext <<_ACEOF
  5005. + cat >conftest.$ac_ext <<_ACEOF
  5006. /* confdefs.h. */
  5007. _ACEOF
  5008. cat confdefs.h >>conftest.$ac_ext
  5009. @@ -4882,40 +5406,37 @@ return 0;
  5010. }
  5011. _ACEOF
  5012. rm -f conftest.$ac_objext
  5013. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5014. - (eval $ac_compile) 2>conftest.er1
  5015. +if { (ac_try="$ac_compile"
  5016. +case "(($ac_try" in
  5017. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5018. + *) ac_try_echo=$ac_try;;
  5019. +esac
  5020. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5021. + (eval "$ac_compile") 2>conftest.er1
  5022. ac_status=$?
  5023. grep -v '^ *+' conftest.er1 >conftest.err
  5024. rm -f conftest.er1
  5025. cat conftest.err >&5
  5026. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5027. - (exit $ac_status); } &&
  5028. - { ac_try='test -z "$ac_c_werror_flag"
  5029. - || test ! -s conftest.err'
  5030. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5031. - (eval $ac_try) 2>&5
  5032. - ac_status=$?
  5033. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5034. - (exit $ac_status); }; } &&
  5035. - { ac_try='test -s conftest.$ac_objext'
  5036. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5037. - (eval $ac_try) 2>&5
  5038. - ac_status=$?
  5039. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5040. - (exit $ac_status); }; }; then
  5041. + (exit $ac_status); } && {
  5042. + test -z "$ac_c_werror_flag" ||
  5043. + test ! -s conftest.err
  5044. + } && test -s conftest.$ac_objext; then
  5045. ac_cv_member_struct_stat_st_fstype=yes
  5046. else
  5047. echo "$as_me: failed program was:" >&5
  5048. sed 's/^/| /' conftest.$ac_ext >&5
  5049. -ac_cv_member_struct_stat_st_fstype=no
  5050. + ac_cv_member_struct_stat_st_fstype=no
  5051. fi
  5052. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5053. +
  5054. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5055. fi
  5056. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5057. +
  5058. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5059. fi
  5060. -echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_fstype" >&5
  5061. -echo "${ECHO_T}$ac_cv_member_struct_stat_st_fstype" >&6
  5062. +{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_fstype" >&5
  5063. +echo "${ECHO_T}$ac_cv_member_struct_stat_st_fstype" >&6; }
  5064. if test $ac_cv_member_struct_stat_st_fstype = yes; then
  5065. cat >>confdefs.h <<_ACEOF
  5066. @@ -4924,8 +5445,8 @@ _ACEOF
  5067. fi
  5068. -echo "$as_me:$LINENO: checking for struct stat.st_gen" >&5
  5069. -echo $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
  5070. +{ echo "$as_me:$LINENO: checking for struct stat.st_gen" >&5
  5071. +echo $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6; }
  5072. if test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
  5073. echo $ECHO_N "(cached) $ECHO_C" >&6
  5074. else
  5075. @@ -4947,33 +5468,28 @@ return 0;
  5076. }
  5077. _ACEOF
  5078. rm -f conftest.$ac_objext
  5079. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5080. - (eval $ac_compile) 2>conftest.er1
  5081. +if { (ac_try="$ac_compile"
  5082. +case "(($ac_try" in
  5083. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5084. + *) ac_try_echo=$ac_try;;
  5085. +esac
  5086. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5087. + (eval "$ac_compile") 2>conftest.er1
  5088. ac_status=$?
  5089. grep -v '^ *+' conftest.er1 >conftest.err
  5090. rm -f conftest.er1
  5091. cat conftest.err >&5
  5092. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5093. - (exit $ac_status); } &&
  5094. - { ac_try='test -z "$ac_c_werror_flag"
  5095. - || test ! -s conftest.err'
  5096. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5097. - (eval $ac_try) 2>&5
  5098. - ac_status=$?
  5099. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5100. - (exit $ac_status); }; } &&
  5101. - { ac_try='test -s conftest.$ac_objext'
  5102. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5103. - (eval $ac_try) 2>&5
  5104. - ac_status=$?
  5105. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5106. - (exit $ac_status); }; }; then
  5107. + (exit $ac_status); } && {
  5108. + test -z "$ac_c_werror_flag" ||
  5109. + test ! -s conftest.err
  5110. + } && test -s conftest.$ac_objext; then
  5111. ac_cv_member_struct_stat_st_gen=yes
  5112. else
  5113. echo "$as_me: failed program was:" >&5
  5114. sed 's/^/| /' conftest.$ac_ext >&5
  5115. -cat >conftest.$ac_ext <<_ACEOF
  5116. + cat >conftest.$ac_ext <<_ACEOF
  5117. /* confdefs.h. */
  5118. _ACEOF
  5119. cat confdefs.h >>conftest.$ac_ext
  5120. @@ -4991,40 +5507,37 @@ return 0;
  5121. }
  5122. _ACEOF
  5123. rm -f conftest.$ac_objext
  5124. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5125. - (eval $ac_compile) 2>conftest.er1
  5126. +if { (ac_try="$ac_compile"
  5127. +case "(($ac_try" in
  5128. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5129. + *) ac_try_echo=$ac_try;;
  5130. +esac
  5131. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5132. + (eval "$ac_compile") 2>conftest.er1
  5133. ac_status=$?
  5134. grep -v '^ *+' conftest.er1 >conftest.err
  5135. rm -f conftest.er1
  5136. cat conftest.err >&5
  5137. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5138. - (exit $ac_status); } &&
  5139. - { ac_try='test -z "$ac_c_werror_flag"
  5140. - || test ! -s conftest.err'
  5141. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5142. - (eval $ac_try) 2>&5
  5143. - ac_status=$?
  5144. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5145. - (exit $ac_status); }; } &&
  5146. - { ac_try='test -s conftest.$ac_objext'
  5147. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5148. - (eval $ac_try) 2>&5
  5149. - ac_status=$?
  5150. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5151. - (exit $ac_status); }; }; then
  5152. + (exit $ac_status); } && {
  5153. + test -z "$ac_c_werror_flag" ||
  5154. + test ! -s conftest.err
  5155. + } && test -s conftest.$ac_objext; then
  5156. ac_cv_member_struct_stat_st_gen=yes
  5157. else
  5158. echo "$as_me: failed program was:" >&5
  5159. sed 's/^/| /' conftest.$ac_ext >&5
  5160. -ac_cv_member_struct_stat_st_gen=no
  5161. + ac_cv_member_struct_stat_st_gen=no
  5162. fi
  5163. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5164. +
  5165. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5166. fi
  5167. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5168. +
  5169. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5170. fi
  5171. -echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_gen" >&5
  5172. -echo "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
  5173. +{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_gen" >&5
  5174. +echo "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6; }
  5175. if test $ac_cv_member_struct_stat_st_gen = yes; then
  5176. cat >>confdefs.h <<_ACEOF
  5177. @@ -5033,8 +5546,8 @@ _ACEOF
  5178. fi
  5179. -echo "$as_me:$LINENO: checking for struct stat.st_level" >&5
  5180. -echo $ECHO_N "checking for struct stat.st_level... $ECHO_C" >&6
  5181. +{ echo "$as_me:$LINENO: checking for struct stat.st_level" >&5
  5182. +echo $ECHO_N "checking for struct stat.st_level... $ECHO_C" >&6; }
  5183. if test "${ac_cv_member_struct_stat_st_level+set}" = set; then
  5184. echo $ECHO_N "(cached) $ECHO_C" >&6
  5185. else
  5186. @@ -5056,33 +5569,28 @@ return 0;
  5187. }
  5188. _ACEOF
  5189. rm -f conftest.$ac_objext
  5190. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5191. - (eval $ac_compile) 2>conftest.er1
  5192. +if { (ac_try="$ac_compile"
  5193. +case "(($ac_try" in
  5194. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5195. + *) ac_try_echo=$ac_try;;
  5196. +esac
  5197. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5198. + (eval "$ac_compile") 2>conftest.er1
  5199. ac_status=$?
  5200. grep -v '^ *+' conftest.er1 >conftest.err
  5201. rm -f conftest.er1
  5202. cat conftest.err >&5
  5203. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5204. - (exit $ac_status); } &&
  5205. - { ac_try='test -z "$ac_c_werror_flag"
  5206. - || test ! -s conftest.err'
  5207. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5208. - (eval $ac_try) 2>&5
  5209. - ac_status=$?
  5210. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5211. - (exit $ac_status); }; } &&
  5212. - { ac_try='test -s conftest.$ac_objext'
  5213. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5214. - (eval $ac_try) 2>&5
  5215. - ac_status=$?
  5216. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5217. - (exit $ac_status); }; }; then
  5218. + (exit $ac_status); } && {
  5219. + test -z "$ac_c_werror_flag" ||
  5220. + test ! -s conftest.err
  5221. + } && test -s conftest.$ac_objext; then
  5222. ac_cv_member_struct_stat_st_level=yes
  5223. else
  5224. echo "$as_me: failed program was:" >&5
  5225. sed 's/^/| /' conftest.$ac_ext >&5
  5226. -cat >conftest.$ac_ext <<_ACEOF
  5227. + cat >conftest.$ac_ext <<_ACEOF
  5228. /* confdefs.h. */
  5229. _ACEOF
  5230. cat confdefs.h >>conftest.$ac_ext
  5231. @@ -5100,40 +5608,37 @@ return 0;
  5232. }
  5233. _ACEOF
  5234. rm -f conftest.$ac_objext
  5235. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5236. - (eval $ac_compile) 2>conftest.er1
  5237. +if { (ac_try="$ac_compile"
  5238. +case "(($ac_try" in
  5239. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5240. + *) ac_try_echo=$ac_try;;
  5241. +esac
  5242. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5243. + (eval "$ac_compile") 2>conftest.er1
  5244. ac_status=$?
  5245. grep -v '^ *+' conftest.er1 >conftest.err
  5246. rm -f conftest.er1
  5247. cat conftest.err >&5
  5248. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5249. - (exit $ac_status); } &&
  5250. - { ac_try='test -z "$ac_c_werror_flag"
  5251. - || test ! -s conftest.err'
  5252. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5253. - (eval $ac_try) 2>&5
  5254. - ac_status=$?
  5255. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5256. - (exit $ac_status); }; } &&
  5257. - { ac_try='test -s conftest.$ac_objext'
  5258. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5259. - (eval $ac_try) 2>&5
  5260. - ac_status=$?
  5261. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5262. - (exit $ac_status); }; }; then
  5263. + (exit $ac_status); } && {
  5264. + test -z "$ac_c_werror_flag" ||
  5265. + test ! -s conftest.err
  5266. + } && test -s conftest.$ac_objext; then
  5267. ac_cv_member_struct_stat_st_level=yes
  5268. else
  5269. echo "$as_me: failed program was:" >&5
  5270. sed 's/^/| /' conftest.$ac_ext >&5
  5271. -ac_cv_member_struct_stat_st_level=no
  5272. + ac_cv_member_struct_stat_st_level=no
  5273. fi
  5274. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5275. +
  5276. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5277. fi
  5278. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5279. +
  5280. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5281. fi
  5282. -echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_level" >&5
  5283. -echo "${ECHO_T}$ac_cv_member_struct_stat_st_level" >&6
  5284. +{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_level" >&5
  5285. +echo "${ECHO_T}$ac_cv_member_struct_stat_st_level" >&6; }
  5286. if test $ac_cv_member_struct_stat_st_level = yes; then
  5287. cat >>confdefs.h <<_ACEOF
  5288. @@ -5142,8 +5647,8 @@ _ACEOF
  5289. fi
  5290. -echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
  5291. -echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
  5292. +{ echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
  5293. +echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
  5294. if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
  5295. echo $ECHO_N "(cached) $ECHO_C" >&6
  5296. else
  5297. @@ -5165,33 +5670,28 @@ return 0;
  5298. }
  5299. _ACEOF
  5300. rm -f conftest.$ac_objext
  5301. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5302. - (eval $ac_compile) 2>conftest.er1
  5303. +if { (ac_try="$ac_compile"
  5304. +case "(($ac_try" in
  5305. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5306. + *) ac_try_echo=$ac_try;;
  5307. +esac
  5308. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5309. + (eval "$ac_compile") 2>conftest.er1
  5310. ac_status=$?
  5311. grep -v '^ *+' conftest.er1 >conftest.err
  5312. rm -f conftest.er1
  5313. cat conftest.err >&5
  5314. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5315. - (exit $ac_status); } &&
  5316. - { ac_try='test -z "$ac_c_werror_flag"
  5317. - || test ! -s conftest.err'
  5318. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5319. - (eval $ac_try) 2>&5
  5320. - ac_status=$?
  5321. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5322. - (exit $ac_status); }; } &&
  5323. - { ac_try='test -s conftest.$ac_objext'
  5324. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5325. - (eval $ac_try) 2>&5
  5326. - ac_status=$?
  5327. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5328. - (exit $ac_status); }; }; then
  5329. + (exit $ac_status); } && {
  5330. + test -z "$ac_c_werror_flag" ||
  5331. + test ! -s conftest.err
  5332. + } && test -s conftest.$ac_objext; then
  5333. ac_cv_member_struct_stat_st_rdev=yes
  5334. else
  5335. echo "$as_me: failed program was:" >&5
  5336. sed 's/^/| /' conftest.$ac_ext >&5
  5337. -cat >conftest.$ac_ext <<_ACEOF
  5338. + cat >conftest.$ac_ext <<_ACEOF
  5339. /* confdefs.h. */
  5340. _ACEOF
  5341. cat confdefs.h >>conftest.$ac_ext
  5342. @@ -5209,40 +5709,37 @@ return 0;
  5343. }
  5344. _ACEOF
  5345. rm -f conftest.$ac_objext
  5346. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5347. - (eval $ac_compile) 2>conftest.er1
  5348. +if { (ac_try="$ac_compile"
  5349. +case "(($ac_try" in
  5350. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5351. + *) ac_try_echo=$ac_try;;
  5352. +esac
  5353. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5354. + (eval "$ac_compile") 2>conftest.er1
  5355. ac_status=$?
  5356. grep -v '^ *+' conftest.er1 >conftest.err
  5357. rm -f conftest.er1
  5358. cat conftest.err >&5
  5359. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5360. - (exit $ac_status); } &&
  5361. - { ac_try='test -z "$ac_c_werror_flag"
  5362. - || test ! -s conftest.err'
  5363. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5364. - (eval $ac_try) 2>&5
  5365. - ac_status=$?
  5366. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5367. - (exit $ac_status); }; } &&
  5368. - { ac_try='test -s conftest.$ac_objext'
  5369. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5370. - (eval $ac_try) 2>&5
  5371. - ac_status=$?
  5372. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5373. - (exit $ac_status); }; }; then
  5374. + (exit $ac_status); } && {
  5375. + test -z "$ac_c_werror_flag" ||
  5376. + test ! -s conftest.err
  5377. + } && test -s conftest.$ac_objext; then
  5378. ac_cv_member_struct_stat_st_rdev=yes
  5379. else
  5380. echo "$as_me: failed program was:" >&5
  5381. sed 's/^/| /' conftest.$ac_ext >&5
  5382. -ac_cv_member_struct_stat_st_rdev=no
  5383. + ac_cv_member_struct_stat_st_rdev=no
  5384. fi
  5385. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5386. +
  5387. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5388. fi
  5389. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5390. +
  5391. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5392. fi
  5393. -echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
  5394. -echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
  5395. +{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
  5396. +echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
  5397. if test $ac_cv_member_struct_stat_st_rdev = yes; then
  5398. cat >>confdefs.h <<_ACEOF
  5399. @@ -5252,8 +5749,8 @@ _ACEOF
  5400. fi
  5401. -echo "$as_me:$LINENO: checking for stat64 in (asm|sys)/stat.h" >&5
  5402. -echo $ECHO_N "checking for stat64 in (asm|sys)/stat.h... $ECHO_C" >&6
  5403. +{ echo "$as_me:$LINENO: checking for stat64 in (asm|sys)/stat.h" >&5
  5404. +echo $ECHO_N "checking for stat64 in (asm|sys)/stat.h... $ECHO_C" >&6; }
  5405. if test "${ac_cv_type_stat64+set}" = set; then
  5406. echo $ECHO_N "(cached) $ECHO_C" >&6
  5407. else
  5408. @@ -5278,39 +5775,35 @@ struct stat64 st;
  5409. }
  5410. _ACEOF
  5411. rm -f conftest.$ac_objext
  5412. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5413. - (eval $ac_compile) 2>conftest.er1
  5414. +if { (ac_try="$ac_compile"
  5415. +case "(($ac_try" in
  5416. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5417. + *) ac_try_echo=$ac_try;;
  5418. +esac
  5419. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5420. + (eval "$ac_compile") 2>conftest.er1
  5421. ac_status=$?
  5422. grep -v '^ *+' conftest.er1 >conftest.err
  5423. rm -f conftest.er1
  5424. cat conftest.err >&5
  5425. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5426. - (exit $ac_status); } &&
  5427. - { ac_try='test -z "$ac_c_werror_flag"
  5428. - || test ! -s conftest.err'
  5429. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5430. - (eval $ac_try) 2>&5
  5431. - ac_status=$?
  5432. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5433. - (exit $ac_status); }; } &&
  5434. - { ac_try='test -s conftest.$ac_objext'
  5435. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5436. - (eval $ac_try) 2>&5
  5437. - ac_status=$?
  5438. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5439. - (exit $ac_status); }; }; then
  5440. + (exit $ac_status); } && {
  5441. + test -z "$ac_c_werror_flag" ||
  5442. + test ! -s conftest.err
  5443. + } && test -s conftest.$ac_objext; then
  5444. ac_cv_type_stat64=yes
  5445. else
  5446. echo "$as_me: failed program was:" >&5
  5447. sed 's/^/| /' conftest.$ac_ext >&5
  5448. -ac_cv_type_stat64=no
  5449. + ac_cv_type_stat64=no
  5450. fi
  5451. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5452. +
  5453. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5454. fi
  5455. -echo "$as_me:$LINENO: result: $ac_cv_type_stat64" >&5
  5456. -echo "${ECHO_T}$ac_cv_type_stat64" >&6
  5457. +{ echo "$as_me:$LINENO: result: $ac_cv_type_stat64" >&5
  5458. +echo "${ECHO_T}$ac_cv_type_stat64" >&6; }
  5459. if test "$ac_cv_type_stat64" = yes
  5460. then
  5461. @@ -5320,9 +5813,73 @@ _ACEOF
  5462. fi
  5463. +{ echo "$as_me:$LINENO: checking for statfs64 in sys/(statfs|vfs).h" >&5
  5464. +echo $ECHO_N "checking for statfs64 in sys/(statfs|vfs).h... $ECHO_C" >&6; }
  5465. +if test "${ac_cv_type_statfs64+set}" = set; then
  5466. + echo $ECHO_N "(cached) $ECHO_C" >&6
  5467. +else
  5468. + cat >conftest.$ac_ext <<_ACEOF
  5469. +/* confdefs.h. */
  5470. +_ACEOF
  5471. +cat confdefs.h >>conftest.$ac_ext
  5472. +cat >>conftest.$ac_ext <<_ACEOF
  5473. +/* end confdefs.h. */
  5474. +#ifdef LINUX
  5475. +#include <linux/types.h>
  5476. +#include <sys/statfs.h>
  5477. +#else
  5478. +#include <sys/vfs.h>
  5479. +#endif
  5480. +int
  5481. +main ()
  5482. +{
  5483. +struct statfs64 st;
  5484. + ;
  5485. + return 0;
  5486. +}
  5487. +_ACEOF
  5488. +rm -f conftest.$ac_objext
  5489. +if { (ac_try="$ac_compile"
  5490. +case "(($ac_try" in
  5491. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5492. + *) ac_try_echo=$ac_try;;
  5493. +esac
  5494. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5495. + (eval "$ac_compile") 2>conftest.er1
  5496. + ac_status=$?
  5497. + grep -v '^ *+' conftest.er1 >conftest.err
  5498. + rm -f conftest.er1
  5499. + cat conftest.err >&5
  5500. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5501. + (exit $ac_status); } && {
  5502. + test -z "$ac_c_werror_flag" ||
  5503. + test ! -s conftest.err
  5504. + } && test -s conftest.$ac_objext; then
  5505. + ac_cv_type_statfs64=yes
  5506. +else
  5507. + echo "$as_me: failed program was:" >&5
  5508. +sed 's/^/| /' conftest.$ac_ext >&5
  5509. +
  5510. + ac_cv_type_statfs64=no
  5511. +fi
  5512. +
  5513. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5514. +fi
  5515. +
  5516. +{ echo "$as_me:$LINENO: result: $ac_cv_type_statfs64" >&5
  5517. +echo "${ECHO_T}$ac_cv_type_statfs64" >&6; }
  5518. +if test "$ac_cv_type_statfs64" = yes
  5519. +then
  5520. +
  5521. +cat >>confdefs.h <<\_ACEOF
  5522. +#define HAVE_STATFS64 1
  5523. +_ACEOF
  5524. +
  5525. +fi
  5526. +
  5527. -echo "$as_me:$LINENO: checking return type of signal handlers" >&5
  5528. -echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
  5529. +{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
  5530. +echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
  5531. if test "${ac_cv_type_signal+set}" = set; then
  5532. echo $ECHO_N "(cached) $ECHO_C" >&6
  5533. else
  5534. @@ -5334,64 +5891,52 @@ cat >>conftest.$ac_ext <<_ACEOF
  5535. /* end confdefs.h. */
  5536. #include <sys/types.h>
  5537. #include <signal.h>
  5538. -#ifdef signal
  5539. -# undef signal
  5540. -#endif
  5541. -#ifdef __cplusplus
  5542. -extern "C" void (*signal (int, void (*)(int)))(int);
  5543. -#else
  5544. -void (*signal ()) ();
  5545. -#endif
  5546. int
  5547. main ()
  5548. {
  5549. -int i;
  5550. +return *(signal (0, 0)) (0) == 1;
  5551. ;
  5552. return 0;
  5553. }
  5554. _ACEOF
  5555. rm -f conftest.$ac_objext
  5556. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5557. - (eval $ac_compile) 2>conftest.er1
  5558. +if { (ac_try="$ac_compile"
  5559. +case "(($ac_try" in
  5560. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5561. + *) ac_try_echo=$ac_try;;
  5562. +esac
  5563. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5564. + (eval "$ac_compile") 2>conftest.er1
  5565. ac_status=$?
  5566. grep -v '^ *+' conftest.er1 >conftest.err
  5567. rm -f conftest.er1
  5568. cat conftest.err >&5
  5569. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5570. - (exit $ac_status); } &&
  5571. - { ac_try='test -z "$ac_c_werror_flag"
  5572. - || test ! -s conftest.err'
  5573. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5574. - (eval $ac_try) 2>&5
  5575. - ac_status=$?
  5576. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5577. - (exit $ac_status); }; } &&
  5578. - { ac_try='test -s conftest.$ac_objext'
  5579. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5580. - (eval $ac_try) 2>&5
  5581. - ac_status=$?
  5582. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5583. - (exit $ac_status); }; }; then
  5584. - ac_cv_type_signal=void
  5585. + (exit $ac_status); } && {
  5586. + test -z "$ac_c_werror_flag" ||
  5587. + test ! -s conftest.err
  5588. + } && test -s conftest.$ac_objext; then
  5589. + ac_cv_type_signal=int
  5590. else
  5591. echo "$as_me: failed program was:" >&5
  5592. sed 's/^/| /' conftest.$ac_ext >&5
  5593. -ac_cv_type_signal=int
  5594. + ac_cv_type_signal=void
  5595. fi
  5596. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5597. +
  5598. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5599. fi
  5600. -echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
  5601. -echo "${ECHO_T}$ac_cv_type_signal" >&6
  5602. +{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
  5603. +echo "${ECHO_T}$ac_cv_type_signal" >&6; }
  5604. cat >>confdefs.h <<_ACEOF
  5605. #define RETSIGTYPE $ac_cv_type_signal
  5606. _ACEOF
  5607. -echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
  5608. -echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
  5609. +{ echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
  5610. +echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
  5611. if test "${ac_cv_type_uid_t+set}" = set; then
  5612. echo $ECHO_N "(cached) $ECHO_C" >&6
  5613. else
  5614. @@ -5413,8 +5958,8 @@ fi
  5615. rm -f conftest*
  5616. fi
  5617. -echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
  5618. -echo "${ECHO_T}$ac_cv_type_uid_t" >&6
  5619. +{ echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
  5620. +echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
  5621. if test $ac_cv_type_uid_t = no; then
  5622. cat >>confdefs.h <<\_ACEOF
  5623. @@ -5428,8 +5973,8 @@ _ACEOF
  5624. fi
  5625. -echo "$as_me:$LINENO: checking for mode_t" >&5
  5626. -echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
  5627. +{ echo "$as_me:$LINENO: checking for mode_t" >&5
  5628. +echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
  5629. if test "${ac_cv_type_mode_t+set}" = set; then
  5630. echo $ECHO_N "(cached) $ECHO_C" >&6
  5631. else
  5632. @@ -5440,50 +5985,47 @@ cat confdefs.h >>conftest.$ac_ext
  5633. cat >>conftest.$ac_ext <<_ACEOF
  5634. /* end confdefs.h. */
  5635. $ac_includes_default
  5636. +typedef mode_t ac__type_new_;
  5637. int
  5638. main ()
  5639. {
  5640. -if ((mode_t *) 0)
  5641. +if ((ac__type_new_ *) 0)
  5642. return 0;
  5643. -if (sizeof (mode_t))
  5644. +if (sizeof (ac__type_new_))
  5645. return 0;
  5646. ;
  5647. return 0;
  5648. }
  5649. _ACEOF
  5650. rm -f conftest.$ac_objext
  5651. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5652. - (eval $ac_compile) 2>conftest.er1
  5653. +if { (ac_try="$ac_compile"
  5654. +case "(($ac_try" in
  5655. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5656. + *) ac_try_echo=$ac_try;;
  5657. +esac
  5658. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5659. + (eval "$ac_compile") 2>conftest.er1
  5660. ac_status=$?
  5661. grep -v '^ *+' conftest.er1 >conftest.err
  5662. rm -f conftest.er1
  5663. cat conftest.err >&5
  5664. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5665. - (exit $ac_status); } &&
  5666. - { ac_try='test -z "$ac_c_werror_flag"
  5667. - || test ! -s conftest.err'
  5668. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5669. - (eval $ac_try) 2>&5
  5670. - ac_status=$?
  5671. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5672. - (exit $ac_status); }; } &&
  5673. - { ac_try='test -s conftest.$ac_objext'
  5674. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5675. - (eval $ac_try) 2>&5
  5676. - ac_status=$?
  5677. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5678. - (exit $ac_status); }; }; then
  5679. + (exit $ac_status); } && {
  5680. + test -z "$ac_c_werror_flag" ||
  5681. + test ! -s conftest.err
  5682. + } && test -s conftest.$ac_objext; then
  5683. ac_cv_type_mode_t=yes
  5684. else
  5685. echo "$as_me: failed program was:" >&5
  5686. sed 's/^/| /' conftest.$ac_ext >&5
  5687. -ac_cv_type_mode_t=no
  5688. + ac_cv_type_mode_t=no
  5689. fi
  5690. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5691. +
  5692. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5693. fi
  5694. -echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
  5695. -echo "${ECHO_T}$ac_cv_type_mode_t" >&6
  5696. +{ echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
  5697. +echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
  5698. if test $ac_cv_type_mode_t = yes; then
  5699. :
  5700. else
  5701. @@ -5494,8 +6036,8 @@ _ACEOF
  5702. fi
  5703. -echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
  5704. -echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6
  5705. +{ echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
  5706. +echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6; }
  5707. if test "${ac_cv_type_getgroups+set}" = set; then
  5708. echo $ECHO_N "(cached) $ECHO_C" >&6
  5709. else
  5710. @@ -5509,7 +6051,7 @@ cat confdefs.h >>conftest.$ac_ext
  5711. cat >>conftest.$ac_ext <<_ACEOF
  5712. /* end confdefs.h. */
  5713. /* Thanks to Mike Rendell for this test. */
  5714. -#include <sys/types.h>
  5715. +$ac_includes_default
  5716. #define NGID 256
  5717. #undef MAX
  5718. #define MAX(x, y) ((x) > (y) ? (x) : (y))
  5719. @@ -5519,7 +6061,7 @@ main ()
  5720. {
  5721. gid_t gidset[NGID];
  5722. int i, n;
  5723. - union { gid_t gval; long lval; } val;
  5724. + union { gid_t gval; long int lval; } val;
  5725. val.lval = -1;
  5726. for (i = 0; i < NGID; i++)
  5727. @@ -5527,18 +6069,28 @@ main ()
  5728. n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
  5729. gidset);
  5730. /* Exit non-zero if getgroups seems to require an array of ints. This
  5731. - happens when gid_t is short but getgroups modifies an array of ints. */
  5732. - exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
  5733. + happens when gid_t is short int but getgroups modifies an array
  5734. + of ints. */
  5735. + return n > 0 && gidset[n] != val.gval;
  5736. }
  5737. _ACEOF
  5738. rm -f conftest$ac_exeext
  5739. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5740. - (eval $ac_link) 2>&5
  5741. +if { (ac_try="$ac_link"
  5742. +case "(($ac_try" in
  5743. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5744. + *) ac_try_echo=$ac_try;;
  5745. +esac
  5746. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5747. + (eval "$ac_link") 2>&5
  5748. ac_status=$?
  5749. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5750. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  5751. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5752. - (eval $ac_try) 2>&5
  5753. + { (case "(($ac_try" in
  5754. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5755. + *) ac_try_echo=$ac_try;;
  5756. +esac
  5757. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5758. + (eval "$ac_try") 2>&5
  5759. ac_status=$?
  5760. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5761. (exit $ac_status); }; }; then
  5762. @@ -5551,8 +6103,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  5763. ( exit $ac_status )
  5764. ac_cv_type_getgroups=int
  5765. fi
  5766. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5767. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5768. fi
  5769. +
  5770. +
  5771. if test $ac_cv_type_getgroups = cross; then
  5772. cat >conftest.$ac_ext <<_ACEOF
  5773. /* confdefs.h. */
  5774. @@ -5573,16 +6127,16 @@ rm -f conftest*
  5775. fi
  5776. fi
  5777. -echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
  5778. -echo "${ECHO_T}$ac_cv_type_getgroups" >&6
  5779. +{ echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
  5780. +echo "${ECHO_T}$ac_cv_type_getgroups" >&6; }
  5781. cat >>confdefs.h <<_ACEOF
  5782. #define GETGROUPS_T $ac_cv_type_getgroups
  5783. _ACEOF
  5784. -echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5
  5785. -echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6
  5786. +{ echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5
  5787. +echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6; }
  5788. if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then
  5789. echo $ECHO_N "(cached) $ECHO_C" >&6
  5790. else
  5791. @@ -5602,54 +6156,51 @@ return makedev(0, 0);
  5792. }
  5793. _ACEOF
  5794. rm -f conftest.$ac_objext conftest$ac_exeext
  5795. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5796. - (eval $ac_link) 2>conftest.er1
  5797. +if { (ac_try="$ac_link"
  5798. +case "(($ac_try" in
  5799. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5800. + *) ac_try_echo=$ac_try;;
  5801. +esac
  5802. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5803. + (eval "$ac_link") 2>conftest.er1
  5804. ac_status=$?
  5805. grep -v '^ *+' conftest.er1 >conftest.err
  5806. rm -f conftest.er1
  5807. cat conftest.err >&5
  5808. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5809. - (exit $ac_status); } &&
  5810. - { ac_try='test -z "$ac_c_werror_flag"
  5811. - || test ! -s conftest.err'
  5812. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5813. - (eval $ac_try) 2>&5
  5814. - ac_status=$?
  5815. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5816. - (exit $ac_status); }; } &&
  5817. - { ac_try='test -s conftest$ac_exeext'
  5818. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5819. - (eval $ac_try) 2>&5
  5820. - ac_status=$?
  5821. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5822. - (exit $ac_status); }; }; then
  5823. + (exit $ac_status); } && {
  5824. + test -z "$ac_c_werror_flag" ||
  5825. + test ! -s conftest.err
  5826. + } && test -s conftest$ac_exeext &&
  5827. + $as_test_x conftest$ac_exeext; then
  5828. ac_cv_header_sys_types_h_makedev=yes
  5829. else
  5830. echo "$as_me: failed program was:" >&5
  5831. sed 's/^/| /' conftest.$ac_ext >&5
  5832. -ac_cv_header_sys_types_h_makedev=no
  5833. + ac_cv_header_sys_types_h_makedev=no
  5834. fi
  5835. -rm -f conftest.err conftest.$ac_objext \
  5836. +
  5837. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5838. conftest$ac_exeext conftest.$ac_ext
  5839. fi
  5840. -echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5
  5841. -echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6
  5842. +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5
  5843. +echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6; }
  5844. if test $ac_cv_header_sys_types_h_makedev = no; then
  5845. if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
  5846. - echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
  5847. -echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
  5848. + { echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
  5849. +echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6; }
  5850. if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
  5851. echo $ECHO_N "(cached) $ECHO_C" >&6
  5852. fi
  5853. -echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
  5854. -echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
  5855. +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
  5856. +echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6; }
  5857. else
  5858. # Is the header compilable?
  5859. -echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5
  5860. -echo $ECHO_N "checking sys/mkdev.h usability... $ECHO_C" >&6
  5861. +{ echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5
  5862. +echo $ECHO_N "checking sys/mkdev.h usability... $ECHO_C" >&6; }
  5863. cat >conftest.$ac_ext <<_ACEOF
  5864. /* confdefs.h. */
  5865. _ACEOF
  5866. @@ -5660,41 +6211,37 @@ $ac_includes_default
  5867. #include <sys/mkdev.h>
  5868. _ACEOF
  5869. rm -f conftest.$ac_objext
  5870. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5871. - (eval $ac_compile) 2>conftest.er1
  5872. +if { (ac_try="$ac_compile"
  5873. +case "(($ac_try" in
  5874. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5875. + *) ac_try_echo=$ac_try;;
  5876. +esac
  5877. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5878. + (eval "$ac_compile") 2>conftest.er1
  5879. ac_status=$?
  5880. grep -v '^ *+' conftest.er1 >conftest.err
  5881. rm -f conftest.er1
  5882. cat conftest.err >&5
  5883. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5884. - (exit $ac_status); } &&
  5885. - { ac_try='test -z "$ac_c_werror_flag"
  5886. - || test ! -s conftest.err'
  5887. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5888. - (eval $ac_try) 2>&5
  5889. - ac_status=$?
  5890. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5891. - (exit $ac_status); }; } &&
  5892. - { ac_try='test -s conftest.$ac_objext'
  5893. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5894. - (eval $ac_try) 2>&5
  5895. - ac_status=$?
  5896. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5897. - (exit $ac_status); }; }; then
  5898. + (exit $ac_status); } && {
  5899. + test -z "$ac_c_werror_flag" ||
  5900. + test ! -s conftest.err
  5901. + } && test -s conftest.$ac_objext; then
  5902. ac_header_compiler=yes
  5903. else
  5904. echo "$as_me: failed program was:" >&5
  5905. sed 's/^/| /' conftest.$ac_ext >&5
  5906. -ac_header_compiler=no
  5907. + ac_header_compiler=no
  5908. fi
  5909. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5910. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5911. -echo "${ECHO_T}$ac_header_compiler" >&6
  5912. +
  5913. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5914. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5915. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  5916. # Is the header present?
  5917. -echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5
  5918. -echo $ECHO_N "checking sys/mkdev.h presence... $ECHO_C" >&6
  5919. +{ echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5
  5920. +echo $ECHO_N "checking sys/mkdev.h presence... $ECHO_C" >&6; }
  5921. cat >conftest.$ac_ext <<_ACEOF
  5922. /* confdefs.h. */
  5923. _ACEOF
  5924. @@ -5703,24 +6250,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  5925. /* end confdefs.h. */
  5926. #include <sys/mkdev.h>
  5927. _ACEOF
  5928. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  5929. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  5930. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  5931. +case "(($ac_try" in
  5932. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5933. + *) ac_try_echo=$ac_try;;
  5934. +esac
  5935. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5936. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5937. ac_status=$?
  5938. grep -v '^ *+' conftest.er1 >conftest.err
  5939. rm -f conftest.er1
  5940. cat conftest.err >&5
  5941. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5942. - (exit $ac_status); } >/dev/null; then
  5943. - if test -s conftest.err; then
  5944. - ac_cpp_err=$ac_c_preproc_warn_flag
  5945. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  5946. - else
  5947. - ac_cpp_err=
  5948. - fi
  5949. -else
  5950. - ac_cpp_err=yes
  5951. -fi
  5952. -if test -z "$ac_cpp_err"; then
  5953. + (exit $ac_status); } >/dev/null && {
  5954. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5955. + test ! -s conftest.err
  5956. + }; then
  5957. ac_header_preproc=yes
  5958. else
  5959. echo "$as_me: failed program was:" >&5
  5960. @@ -5728,9 +6273,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  5961. ac_header_preproc=no
  5962. fi
  5963. +
  5964. rm -f conftest.err conftest.$ac_ext
  5965. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5966. -echo "${ECHO_T}$ac_header_preproc" >&6
  5967. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5968. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  5969. # So? What about this header?
  5970. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5971. @@ -5754,25 +6300,18 @@ echo "$as_me: WARNING: sys/mkdev.h:
  5972. echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
  5973. { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&5
  5974. echo "$as_me: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&2;}
  5975. - (
  5976. - cat <<\_ASBOX
  5977. -## --------------------------------- ##
  5978. -## Report this to the strace lists. ##
  5979. -## --------------------------------- ##
  5980. -_ASBOX
  5981. - ) |
  5982. - sed "s/^/$as_me: WARNING: /" >&2
  5983. +
  5984. ;;
  5985. esac
  5986. -echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
  5987. -echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
  5988. +{ echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
  5989. +echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6; }
  5990. if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
  5991. echo $ECHO_N "(cached) $ECHO_C" >&6
  5992. else
  5993. ac_cv_header_sys_mkdev_h=$ac_header_preproc
  5994. fi
  5995. -echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
  5996. -echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
  5997. +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
  5998. +echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6; }
  5999. fi
  6000. if test $ac_cv_header_sys_mkdev_h = yes; then
  6001. @@ -5787,17 +6326,17 @@ fi
  6002. if test $ac_cv_header_sys_mkdev_h = no; then
  6003. if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
  6004. - echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
  6005. -echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
  6006. + { echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
  6007. +echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6; }
  6008. if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
  6009. echo $ECHO_N "(cached) $ECHO_C" >&6
  6010. fi
  6011. -echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
  6012. -echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
  6013. +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
  6014. +echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6; }
  6015. else
  6016. # Is the header compilable?
  6017. -echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5
  6018. -echo $ECHO_N "checking sys/sysmacros.h usability... $ECHO_C" >&6
  6019. +{ echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5
  6020. +echo $ECHO_N "checking sys/sysmacros.h usability... $ECHO_C" >&6; }
  6021. cat >conftest.$ac_ext <<_ACEOF
  6022. /* confdefs.h. */
  6023. _ACEOF
  6024. @@ -5808,41 +6347,37 @@ $ac_includes_default
  6025. #include <sys/sysmacros.h>
  6026. _ACEOF
  6027. rm -f conftest.$ac_objext
  6028. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6029. - (eval $ac_compile) 2>conftest.er1
  6030. +if { (ac_try="$ac_compile"
  6031. +case "(($ac_try" in
  6032. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6033. + *) ac_try_echo=$ac_try;;
  6034. +esac
  6035. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6036. + (eval "$ac_compile") 2>conftest.er1
  6037. ac_status=$?
  6038. grep -v '^ *+' conftest.er1 >conftest.err
  6039. rm -f conftest.er1
  6040. cat conftest.err >&5
  6041. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6042. - (exit $ac_status); } &&
  6043. - { ac_try='test -z "$ac_c_werror_flag"
  6044. - || test ! -s conftest.err'
  6045. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6046. - (eval $ac_try) 2>&5
  6047. - ac_status=$?
  6048. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6049. - (exit $ac_status); }; } &&
  6050. - { ac_try='test -s conftest.$ac_objext'
  6051. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6052. - (eval $ac_try) 2>&5
  6053. - ac_status=$?
  6054. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6055. - (exit $ac_status); }; }; then
  6056. + (exit $ac_status); } && {
  6057. + test -z "$ac_c_werror_flag" ||
  6058. + test ! -s conftest.err
  6059. + } && test -s conftest.$ac_objext; then
  6060. ac_header_compiler=yes
  6061. else
  6062. echo "$as_me: failed program was:" >&5
  6063. sed 's/^/| /' conftest.$ac_ext >&5
  6064. -ac_header_compiler=no
  6065. + ac_header_compiler=no
  6066. fi
  6067. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  6068. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6069. -echo "${ECHO_T}$ac_header_compiler" >&6
  6070. +
  6071. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6072. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6073. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  6074. # Is the header present?
  6075. -echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5
  6076. -echo $ECHO_N "checking sys/sysmacros.h presence... $ECHO_C" >&6
  6077. +{ echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5
  6078. +echo $ECHO_N "checking sys/sysmacros.h presence... $ECHO_C" >&6; }
  6079. cat >conftest.$ac_ext <<_ACEOF
  6080. /* confdefs.h. */
  6081. _ACEOF
  6082. @@ -5851,24 +6386,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  6083. /* end confdefs.h. */
  6084. #include <sys/sysmacros.h>
  6085. _ACEOF
  6086. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  6087. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  6088. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  6089. +case "(($ac_try" in
  6090. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6091. + *) ac_try_echo=$ac_try;;
  6092. +esac
  6093. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6094. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6095. ac_status=$?
  6096. grep -v '^ *+' conftest.er1 >conftest.err
  6097. rm -f conftest.er1
  6098. cat conftest.err >&5
  6099. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6100. - (exit $ac_status); } >/dev/null; then
  6101. - if test -s conftest.err; then
  6102. - ac_cpp_err=$ac_c_preproc_warn_flag
  6103. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  6104. - else
  6105. - ac_cpp_err=
  6106. - fi
  6107. -else
  6108. - ac_cpp_err=yes
  6109. -fi
  6110. -if test -z "$ac_cpp_err"; then
  6111. + (exit $ac_status); } >/dev/null && {
  6112. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6113. + test ! -s conftest.err
  6114. + }; then
  6115. ac_header_preproc=yes
  6116. else
  6117. echo "$as_me: failed program was:" >&5
  6118. @@ -5876,9 +6409,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  6119. ac_header_preproc=no
  6120. fi
  6121. +
  6122. rm -f conftest.err conftest.$ac_ext
  6123. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6124. -echo "${ECHO_T}$ac_header_preproc" >&6
  6125. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6126. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  6127. # So? What about this header?
  6128. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6129. @@ -5902,25 +6436,18 @@ echo "$as_me: WARNING: sys/sysmacros.h:
  6130. echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
  6131. { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&5
  6132. echo "$as_me: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&2;}
  6133. - (
  6134. - cat <<\_ASBOX
  6135. -## --------------------------------- ##
  6136. -## Report this to the strace lists. ##
  6137. -## --------------------------------- ##
  6138. -_ASBOX
  6139. - ) |
  6140. - sed "s/^/$as_me: WARNING: /" >&2
  6141. +
  6142. ;;
  6143. esac
  6144. -echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
  6145. -echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
  6146. +{ echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
  6147. +echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6; }
  6148. if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
  6149. echo $ECHO_N "(cached) $ECHO_C" >&6
  6150. else
  6151. ac_cv_header_sys_sysmacros_h=$ac_header_preproc
  6152. fi
  6153. -echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
  6154. -echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
  6155. +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
  6156. +echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6; }
  6157. fi
  6158. if test $ac_cv_header_sys_sysmacros_h = yes; then
  6159. @@ -5935,8 +6462,8 @@ fi
  6160. fi
  6161. fi
  6162. -echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
  6163. -echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
  6164. +{ echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
  6165. +echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6; }
  6166. if test "${ac_cv_type_sig_atomic_t+set}" = set; then
  6167. echo $ECHO_N "(cached) $ECHO_C" >&6
  6168. else
  6169. @@ -5948,50 +6475,47 @@ cat >>conftest.$ac_ext <<_ACEOF
  6170. /* end confdefs.h. */
  6171. #include <signal.h>
  6172. +typedef sig_atomic_t ac__type_new_;
  6173. int
  6174. main ()
  6175. {
  6176. -if ((sig_atomic_t *) 0)
  6177. +if ((ac__type_new_ *) 0)
  6178. return 0;
  6179. -if (sizeof (sig_atomic_t))
  6180. +if (sizeof (ac__type_new_))
  6181. return 0;
  6182. ;
  6183. return 0;
  6184. }
  6185. _ACEOF
  6186. rm -f conftest.$ac_objext
  6187. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6188. - (eval $ac_compile) 2>conftest.er1
  6189. +if { (ac_try="$ac_compile"
  6190. +case "(($ac_try" in
  6191. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6192. + *) ac_try_echo=$ac_try;;
  6193. +esac
  6194. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6195. + (eval "$ac_compile") 2>conftest.er1
  6196. ac_status=$?
  6197. grep -v '^ *+' conftest.er1 >conftest.err
  6198. rm -f conftest.er1
  6199. cat conftest.err >&5
  6200. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6201. - (exit $ac_status); } &&
  6202. - { ac_try='test -z "$ac_c_werror_flag"
  6203. - || test ! -s conftest.err'
  6204. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6205. - (eval $ac_try) 2>&5
  6206. - ac_status=$?
  6207. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6208. - (exit $ac_status); }; } &&
  6209. - { ac_try='test -s conftest.$ac_objext'
  6210. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6211. - (eval $ac_try) 2>&5
  6212. - ac_status=$?
  6213. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6214. - (exit $ac_status); }; }; then
  6215. + (exit $ac_status); } && {
  6216. + test -z "$ac_c_werror_flag" ||
  6217. + test ! -s conftest.err
  6218. + } && test -s conftest.$ac_objext; then
  6219. ac_cv_type_sig_atomic_t=yes
  6220. else
  6221. echo "$as_me: failed program was:" >&5
  6222. sed 's/^/| /' conftest.$ac_ext >&5
  6223. -ac_cv_type_sig_atomic_t=no
  6224. + ac_cv_type_sig_atomic_t=no
  6225. fi
  6226. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  6227. +
  6228. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6229. fi
  6230. -echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
  6231. -echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
  6232. +{ echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
  6233. +echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6; }
  6234. if test $ac_cv_type_sig_atomic_t = yes; then
  6235. cat >>confdefs.h <<_ACEOF
  6236. @@ -6000,8 +6524,8 @@ _ACEOF
  6237. fi
  6238. -echo "$as_me:$LINENO: checking for siginfo_t" >&5
  6239. -echo $ECHO_N "checking for siginfo_t... $ECHO_C" >&6
  6240. +{ echo "$as_me:$LINENO: checking for siginfo_t" >&5
  6241. +echo $ECHO_N "checking for siginfo_t... $ECHO_C" >&6; }
  6242. if test "${ac_cv_type_siginfo_t+set}" = set; then
  6243. echo $ECHO_N "(cached) $ECHO_C" >&6
  6244. else
  6245. @@ -6013,50 +6537,47 @@ cat >>conftest.$ac_ext <<_ACEOF
  6246. /* end confdefs.h. */
  6247. #include <signal.h>
  6248. +typedef siginfo_t ac__type_new_;
  6249. int
  6250. main ()
  6251. {
  6252. -if ((siginfo_t *) 0)
  6253. +if ((ac__type_new_ *) 0)
  6254. return 0;
  6255. -if (sizeof (siginfo_t))
  6256. +if (sizeof (ac__type_new_))
  6257. return 0;
  6258. ;
  6259. return 0;
  6260. }
  6261. _ACEOF
  6262. rm -f conftest.$ac_objext
  6263. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6264. - (eval $ac_compile) 2>conftest.er1
  6265. +if { (ac_try="$ac_compile"
  6266. +case "(($ac_try" in
  6267. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6268. + *) ac_try_echo=$ac_try;;
  6269. +esac
  6270. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6271. + (eval "$ac_compile") 2>conftest.er1
  6272. ac_status=$?
  6273. grep -v '^ *+' conftest.er1 >conftest.err
  6274. rm -f conftest.er1
  6275. cat conftest.err >&5
  6276. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6277. - (exit $ac_status); } &&
  6278. - { ac_try='test -z "$ac_c_werror_flag"
  6279. - || test ! -s conftest.err'
  6280. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6281. - (eval $ac_try) 2>&5
  6282. - ac_status=$?
  6283. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6284. - (exit $ac_status); }; } &&
  6285. - { ac_try='test -s conftest.$ac_objext'
  6286. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6287. - (eval $ac_try) 2>&5
  6288. - ac_status=$?
  6289. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6290. - (exit $ac_status); }; }; then
  6291. + (exit $ac_status); } && {
  6292. + test -z "$ac_c_werror_flag" ||
  6293. + test ! -s conftest.err
  6294. + } && test -s conftest.$ac_objext; then
  6295. ac_cv_type_siginfo_t=yes
  6296. else
  6297. echo "$as_me: failed program was:" >&5
  6298. sed 's/^/| /' conftest.$ac_ext >&5
  6299. -ac_cv_type_siginfo_t=no
  6300. + ac_cv_type_siginfo_t=no
  6301. fi
  6302. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  6303. +
  6304. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6305. fi
  6306. -echo "$as_me:$LINENO: result: $ac_cv_type_siginfo_t" >&5
  6307. -echo "${ECHO_T}$ac_cv_type_siginfo_t" >&6
  6308. +{ echo "$as_me:$LINENO: result: $ac_cv_type_siginfo_t" >&5
  6309. +echo "${ECHO_T}$ac_cv_type_siginfo_t" >&6; }
  6310. if test $ac_cv_type_siginfo_t = yes; then
  6311. cat >>confdefs.h <<_ACEOF
  6312. @@ -6066,8 +6587,8 @@ _ACEOF
  6313. fi
  6314. -echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
  6315. -echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6
  6316. +{ echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
  6317. +echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
  6318. if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
  6319. echo $ECHO_N "(cached) $ECHO_C" >&6
  6320. else
  6321. @@ -6092,33 +6613,28 @@ return 0;
  6322. }
  6323. _ACEOF
  6324. rm -f conftest.$ac_objext
  6325. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6326. - (eval $ac_compile) 2>conftest.er1
  6327. +if { (ac_try="$ac_compile"
  6328. +case "(($ac_try" in
  6329. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6330. + *) ac_try_echo=$ac_try;;
  6331. +esac
  6332. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6333. + (eval "$ac_compile") 2>conftest.er1
  6334. ac_status=$?
  6335. grep -v '^ *+' conftest.er1 >conftest.err
  6336. rm -f conftest.er1
  6337. cat conftest.err >&5
  6338. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6339. - (exit $ac_status); } &&
  6340. - { ac_try='test -z "$ac_c_werror_flag"
  6341. - || test ! -s conftest.err'
  6342. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6343. - (eval $ac_try) 2>&5
  6344. - ac_status=$?
  6345. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6346. - (exit $ac_status); }; } &&
  6347. - { ac_try='test -s conftest.$ac_objext'
  6348. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6349. - (eval $ac_try) 2>&5
  6350. - ac_status=$?
  6351. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6352. - (exit $ac_status); }; }; then
  6353. + (exit $ac_status); } && {
  6354. + test -z "$ac_c_werror_flag" ||
  6355. + test ! -s conftest.err
  6356. + } && test -s conftest.$ac_objext; then
  6357. ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
  6358. else
  6359. echo "$as_me: failed program was:" >&5
  6360. sed 's/^/| /' conftest.$ac_ext >&5
  6361. -cat >conftest.$ac_ext <<_ACEOF
  6362. + cat >conftest.$ac_ext <<_ACEOF
  6363. /* confdefs.h. */
  6364. _ACEOF
  6365. cat confdefs.h >>conftest.$ac_ext
  6366. @@ -6139,40 +6655,37 @@ return 0;
  6367. }
  6368. _ACEOF
  6369. rm -f conftest.$ac_objext
  6370. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6371. - (eval $ac_compile) 2>conftest.er1
  6372. +if { (ac_try="$ac_compile"
  6373. +case "(($ac_try" in
  6374. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6375. + *) ac_try_echo=$ac_try;;
  6376. +esac
  6377. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6378. + (eval "$ac_compile") 2>conftest.er1
  6379. ac_status=$?
  6380. grep -v '^ *+' conftest.er1 >conftest.err
  6381. rm -f conftest.er1
  6382. cat conftest.err >&5
  6383. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6384. - (exit $ac_status); } &&
  6385. - { ac_try='test -z "$ac_c_werror_flag"
  6386. - || test ! -s conftest.err'
  6387. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6388. - (eval $ac_try) 2>&5
  6389. - ac_status=$?
  6390. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6391. - (exit $ac_status); }; } &&
  6392. - { ac_try='test -s conftest.$ac_objext'
  6393. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6394. - (eval $ac_try) 2>&5
  6395. - ac_status=$?
  6396. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6397. - (exit $ac_status); }; }; then
  6398. + (exit $ac_status); } && {
  6399. + test -z "$ac_c_werror_flag" ||
  6400. + test ! -s conftest.err
  6401. + } && test -s conftest.$ac_objext; then
  6402. ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
  6403. else
  6404. echo "$as_me: failed program was:" >&5
  6405. sed 's/^/| /' conftest.$ac_ext >&5
  6406. -ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
  6407. + ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
  6408. fi
  6409. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  6410. +
  6411. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6412. fi
  6413. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  6414. +
  6415. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6416. fi
  6417. -echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
  6418. -echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6
  6419. +{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
  6420. +echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
  6421. if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
  6422. cat >>confdefs.h <<_ACEOF
  6423. @@ -6182,8 +6695,8 @@ _ACEOF
  6424. fi
  6425. -echo "$as_me:$LINENO: checking for long long" >&5
  6426. -echo $ECHO_N "checking for long long... $ECHO_C" >&6
  6427. +{ echo "$as_me:$LINENO: checking for long long" >&5
  6428. +echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
  6429. if test "${ac_cv_type_long_long+set}" = set; then
  6430. echo $ECHO_N "(cached) $ECHO_C" >&6
  6431. else
  6432. @@ -6194,50 +6707,47 @@ cat confdefs.h >>conftest.$ac_ext
  6433. cat >>conftest.$ac_ext <<_ACEOF
  6434. /* end confdefs.h. */
  6435. $ac_includes_default
  6436. +typedef long long ac__type_new_;
  6437. int
  6438. main ()
  6439. {
  6440. -if ((long long *) 0)
  6441. +if ((ac__type_new_ *) 0)
  6442. return 0;
  6443. -if (sizeof (long long))
  6444. +if (sizeof (ac__type_new_))
  6445. return 0;
  6446. ;
  6447. return 0;
  6448. }
  6449. _ACEOF
  6450. rm -f conftest.$ac_objext
  6451. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6452. - (eval $ac_compile) 2>conftest.er1
  6453. +if { (ac_try="$ac_compile"
  6454. +case "(($ac_try" in
  6455. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6456. + *) ac_try_echo=$ac_try;;
  6457. +esac
  6458. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6459. + (eval "$ac_compile") 2>conftest.er1
  6460. ac_status=$?
  6461. grep -v '^ *+' conftest.er1 >conftest.err
  6462. rm -f conftest.er1
  6463. cat conftest.err >&5
  6464. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6465. - (exit $ac_status); } &&
  6466. - { ac_try='test -z "$ac_c_werror_flag"
  6467. - || test ! -s conftest.err'
  6468. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6469. - (eval $ac_try) 2>&5
  6470. - ac_status=$?
  6471. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6472. - (exit $ac_status); }; } &&
  6473. - { ac_try='test -s conftest.$ac_objext'
  6474. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6475. - (eval $ac_try) 2>&5
  6476. - ac_status=$?
  6477. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6478. - (exit $ac_status); }; }; then
  6479. + (exit $ac_status); } && {
  6480. + test -z "$ac_c_werror_flag" ||
  6481. + test ! -s conftest.err
  6482. + } && test -s conftest.$ac_objext; then
  6483. ac_cv_type_long_long=yes
  6484. else
  6485. echo "$as_me: failed program was:" >&5
  6486. sed 's/^/| /' conftest.$ac_ext >&5
  6487. -ac_cv_type_long_long=no
  6488. + ac_cv_type_long_long=no
  6489. fi
  6490. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  6491. +
  6492. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6493. fi
  6494. -echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
  6495. -echo "${ECHO_T}$ac_cv_type_long_long" >&6
  6496. +{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
  6497. +echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
  6498. if test $ac_cv_type_long_long = yes; then
  6499. cat >>confdefs.h <<_ACEOF
  6500. @@ -6247,8 +6757,8 @@ _ACEOF
  6501. fi
  6502. -echo "$as_me:$LINENO: checking for little endian long long" >&5
  6503. -echo $ECHO_N "checking for little endian long long... $ECHO_C" >&6
  6504. +{ echo "$as_me:$LINENO: checking for little endian long long" >&5
  6505. +echo $ECHO_N "checking for little endian long long... $ECHO_C" >&6; }
  6506. if test "${ac_cv_have_little_endian_long_long+set}" = set; then
  6507. echo $ECHO_N "(cached) $ECHO_C" >&6
  6508. else
  6509. @@ -6277,13 +6787,22 @@ int main () {
  6510. _ACEOF
  6511. rm -f conftest$ac_exeext
  6512. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6513. - (eval $ac_link) 2>&5
  6514. +if { (ac_try="$ac_link"
  6515. +case "(($ac_try" in
  6516. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6517. + *) ac_try_echo=$ac_try;;
  6518. +esac
  6519. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6520. + (eval "$ac_link") 2>&5
  6521. ac_status=$?
  6522. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6523. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6524. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6525. - (eval $ac_try) 2>&5
  6526. + { (case "(($ac_try" in
  6527. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6528. + *) ac_try_echo=$ac_try;;
  6529. +esac
  6530. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6531. + (eval "$ac_try") 2>&5
  6532. ac_status=$?
  6533. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6534. (exit $ac_status); }; }; then
  6535. @@ -6296,12 +6815,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
  6536. ( exit $ac_status )
  6537. ac_cv_have_little_endian_long_long=no
  6538. fi
  6539. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6540. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6541. fi
  6542. +
  6543. +
  6544. fi
  6545. -echo "$as_me:$LINENO: result: $ac_cv_have_little_endian_long_long" >&5
  6546. -echo "${ECHO_T}$ac_cv_have_little_endian_long_long" >&6
  6547. +{ echo "$as_me:$LINENO: result: $ac_cv_have_little_endian_long_long" >&5
  6548. +echo "${ECHO_T}$ac_cv_have_little_endian_long_long" >&6; }
  6549. if test "$ac_cv_have_little_endian_long_long" = yes
  6550. then
  6551. @@ -6311,8 +6832,8 @@ _ACEOF
  6552. fi
  6553. -echo "$as_me:$LINENO: checking for long long off_t" >&5
  6554. -echo $ECHO_N "checking for long long off_t... $ECHO_C" >&6
  6555. +{ echo "$as_me:$LINENO: checking for long long off_t" >&5
  6556. +echo $ECHO_N "checking for long long off_t... $ECHO_C" >&6; }
  6557. if test "${ac_cv_have_long_long_off_t+set}" = set; then
  6558. echo $ECHO_N "(cached) $ECHO_C" >&6
  6559. else
  6560. @@ -6337,13 +6858,22 @@ main () {
  6561. _ACEOF
  6562. rm -f conftest$ac_exeext
  6563. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6564. - (eval $ac_link) 2>&5
  6565. +if { (ac_try="$ac_link"
  6566. +case "(($ac_try" in
  6567. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6568. + *) ac_try_echo=$ac_try;;
  6569. +esac
  6570. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6571. + (eval "$ac_link") 2>&5
  6572. ac_status=$?
  6573. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6574. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6575. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6576. - (eval $ac_try) 2>&5
  6577. + { (case "(($ac_try" in
  6578. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6579. + *) ac_try_echo=$ac_try;;
  6580. +esac
  6581. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6582. + (eval "$ac_try") 2>&5
  6583. ac_status=$?
  6584. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6585. (exit $ac_status); }; }; then
  6586. @@ -6356,12 +6886,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
  6587. ( exit $ac_status )
  6588. ac_cv_have_long_long_off_t=no
  6589. fi
  6590. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6591. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6592. fi
  6593. +
  6594. +
  6595. fi
  6596. -echo "$as_me:$LINENO: result: $ac_cv_have_long_long_off_t" >&5
  6597. -echo "${ECHO_T}$ac_cv_have_long_long_off_t" >&6
  6598. +{ echo "$as_me:$LINENO: result: $ac_cv_have_long_long_off_t" >&5
  6599. +echo "${ECHO_T}$ac_cv_have_long_long_off_t" >&6; }
  6600. if test "$ac_cv_have_long_long_off_t" = yes
  6601. then
  6602. @@ -6371,8 +6903,8 @@ _ACEOF
  6603. fi
  6604. -echo "$as_me:$LINENO: checking for long long rlim_t" >&5
  6605. -echo $ECHO_N "checking for long long rlim_t... $ECHO_C" >&6
  6606. +{ echo "$as_me:$LINENO: checking for long long rlim_t" >&5
  6607. +echo $ECHO_N "checking for long long rlim_t... $ECHO_C" >&6; }
  6608. if test "${ac_cv_have_long_long_rlim_t+set}" = set; then
  6609. echo $ECHO_N "(cached) $ECHO_C" >&6
  6610. else
  6611. @@ -6399,13 +6931,22 @@ main () {
  6612. _ACEOF
  6613. rm -f conftest$ac_exeext
  6614. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6615. - (eval $ac_link) 2>&5
  6616. +if { (ac_try="$ac_link"
  6617. +case "(($ac_try" in
  6618. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6619. + *) ac_try_echo=$ac_try;;
  6620. +esac
  6621. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6622. + (eval "$ac_link") 2>&5
  6623. ac_status=$?
  6624. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6625. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6626. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6627. - (eval $ac_try) 2>&5
  6628. + { (case "(($ac_try" in
  6629. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6630. + *) ac_try_echo=$ac_try;;
  6631. +esac
  6632. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6633. + (eval "$ac_try") 2>&5
  6634. ac_status=$?
  6635. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6636. (exit $ac_status); }; }; then
  6637. @@ -6418,12 +6959,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
  6638. ( exit $ac_status )
  6639. ac_cv_have_long_long_rlim_t=no
  6640. fi
  6641. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6642. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6643. fi
  6644. +
  6645. +
  6646. fi
  6647. -echo "$as_me:$LINENO: result: $ac_cv_have_long_long_rlim_t" >&5
  6648. -echo "${ECHO_T}$ac_cv_have_long_long_rlim_t" >&6
  6649. +{ echo "$as_me:$LINENO: result: $ac_cv_have_long_long_rlim_t" >&5
  6650. +echo "${ECHO_T}$ac_cv_have_long_long_rlim_t" >&6; }
  6651. if test "$ac_cv_have_long_long_rlim_t" = yes
  6652. then
  6653. @@ -6433,8 +6976,8 @@ _ACEOF
  6654. fi
  6655. -echo "$as_me:$LINENO: checking for struct opthdr" >&5
  6656. -echo $ECHO_N "checking for struct opthdr... $ECHO_C" >&6
  6657. +{ echo "$as_me:$LINENO: checking for struct opthdr" >&5
  6658. +echo $ECHO_N "checking for struct opthdr... $ECHO_C" >&6; }
  6659. if test "${ac_cv_type_struct_opthdr+set}" = set; then
  6660. echo $ECHO_N "(cached) $ECHO_C" >&6
  6661. else
  6662. @@ -6446,50 +6989,47 @@ cat >>conftest.$ac_ext <<_ACEOF
  6663. /* end confdefs.h. */
  6664. #include <sys/socket.h>
  6665. +typedef struct opthdr ac__type_new_;
  6666. int
  6667. main ()
  6668. {
  6669. -if ((struct opthdr *) 0)
  6670. +if ((ac__type_new_ *) 0)
  6671. return 0;
  6672. -if (sizeof (struct opthdr))
  6673. +if (sizeof (ac__type_new_))
  6674. return 0;
  6675. ;
  6676. return 0;
  6677. }
  6678. _ACEOF
  6679. rm -f conftest.$ac_objext
  6680. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6681. - (eval $ac_compile) 2>conftest.er1
  6682. +if { (ac_try="$ac_compile"
  6683. +case "(($ac_try" in
  6684. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6685. + *) ac_try_echo=$ac_try;;
  6686. +esac
  6687. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6688. + (eval "$ac_compile") 2>conftest.er1
  6689. ac_status=$?
  6690. grep -v '^ *+' conftest.er1 >conftest.err
  6691. rm -f conftest.er1
  6692. cat conftest.err >&5
  6693. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6694. - (exit $ac_status); } &&
  6695. - { ac_try='test -z "$ac_c_werror_flag"
  6696. - || test ! -s conftest.err'
  6697. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6698. - (eval $ac_try) 2>&5
  6699. - ac_status=$?
  6700. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6701. - (exit $ac_status); }; } &&
  6702. - { ac_try='test -s conftest.$ac_objext'
  6703. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6704. - (eval $ac_try) 2>&5
  6705. - ac_status=$?
  6706. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6707. - (exit $ac_status); }; }; then
  6708. + (exit $ac_status); } && {
  6709. + test -z "$ac_c_werror_flag" ||
  6710. + test ! -s conftest.err
  6711. + } && test -s conftest.$ac_objext; then
  6712. ac_cv_type_struct_opthdr=yes
  6713. else
  6714. echo "$as_me: failed program was:" >&5
  6715. sed 's/^/| /' conftest.$ac_ext >&5
  6716. -ac_cv_type_struct_opthdr=no
  6717. + ac_cv_type_struct_opthdr=no
  6718. fi
  6719. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  6720. +
  6721. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6722. fi
  6723. -echo "$as_me:$LINENO: result: $ac_cv_type_struct_opthdr" >&5
  6724. -echo "${ECHO_T}$ac_cv_type_struct_opthdr" >&6
  6725. +{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_opthdr" >&5
  6726. +echo "${ECHO_T}$ac_cv_type_struct_opthdr" >&6; }
  6727. if test $ac_cv_type_struct_opthdr = yes; then
  6728. cat >>confdefs.h <<_ACEOF
  6729. @@ -6499,8 +7039,8 @@ _ACEOF
  6730. fi
  6731. -echo "$as_me:$LINENO: checking for struct t_opthdr" >&5
  6732. -echo $ECHO_N "checking for struct t_opthdr... $ECHO_C" >&6
  6733. +{ echo "$as_me:$LINENO: checking for struct t_opthdr" >&5
  6734. +echo $ECHO_N "checking for struct t_opthdr... $ECHO_C" >&6; }
  6735. if test "${ac_cv_type_struct_t_opthdr+set}" = set; then
  6736. echo $ECHO_N "(cached) $ECHO_C" >&6
  6737. else
  6738. @@ -6512,50 +7052,47 @@ cat >>conftest.$ac_ext <<_ACEOF
  6739. /* end confdefs.h. */
  6740. #include <sys/tiuser.h>
  6741. +typedef struct t_opthdr ac__type_new_;
  6742. int
  6743. main ()
  6744. {
  6745. -if ((struct t_opthdr *) 0)
  6746. +if ((ac__type_new_ *) 0)
  6747. return 0;
  6748. -if (sizeof (struct t_opthdr))
  6749. +if (sizeof (ac__type_new_))
  6750. return 0;
  6751. ;
  6752. return 0;
  6753. }
  6754. _ACEOF
  6755. rm -f conftest.$ac_objext
  6756. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6757. - (eval $ac_compile) 2>conftest.er1
  6758. +if { (ac_try="$ac_compile"
  6759. +case "(($ac_try" in
  6760. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6761. + *) ac_try_echo=$ac_try;;
  6762. +esac
  6763. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6764. + (eval "$ac_compile") 2>conftest.er1
  6765. ac_status=$?
  6766. grep -v '^ *+' conftest.er1 >conftest.err
  6767. rm -f conftest.er1
  6768. cat conftest.err >&5
  6769. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6770. - (exit $ac_status); } &&
  6771. - { ac_try='test -z "$ac_c_werror_flag"
  6772. - || test ! -s conftest.err'
  6773. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6774. - (eval $ac_try) 2>&5
  6775. - ac_status=$?
  6776. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6777. - (exit $ac_status); }; } &&
  6778. - { ac_try='test -s conftest.$ac_objext'
  6779. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6780. - (eval $ac_try) 2>&5
  6781. - ac_status=$?
  6782. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6783. - (exit $ac_status); }; }; then
  6784. + (exit $ac_status); } && {
  6785. + test -z "$ac_c_werror_flag" ||
  6786. + test ! -s conftest.err
  6787. + } && test -s conftest.$ac_objext; then
  6788. ac_cv_type_struct_t_opthdr=yes
  6789. else
  6790. echo "$as_me: failed program was:" >&5
  6791. sed 's/^/| /' conftest.$ac_ext >&5
  6792. -ac_cv_type_struct_t_opthdr=no
  6793. + ac_cv_type_struct_t_opthdr=no
  6794. fi
  6795. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  6796. +
  6797. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6798. fi
  6799. -echo "$as_me:$LINENO: result: $ac_cv_type_struct_t_opthdr" >&5
  6800. -echo "${ECHO_T}$ac_cv_type_struct_t_opthdr" >&6
  6801. +{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_t_opthdr" >&5
  6802. +echo "${ECHO_T}$ac_cv_type_struct_t_opthdr" >&6; }
  6803. if test $ac_cv_type_struct_t_opthdr = yes; then
  6804. cat >>confdefs.h <<_ACEOF
  6805. @@ -6568,8 +7105,8 @@ fi
  6806. if test x$opsys != xlinux; then
  6807. -echo "$as_me:$LINENO: checking for main in -lnsl" >&5
  6808. -echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
  6809. +{ echo "$as_me:$LINENO: checking for main in -lnsl" >&5
  6810. +echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6; }
  6811. if test "${ac_cv_lib_nsl_main+set}" = set; then
  6812. echo $ECHO_N "(cached) $ECHO_C" >&6
  6813. else
  6814. @@ -6586,46 +7123,43 @@ cat >>conftest.$ac_ext <<_ACEOF
  6815. int
  6816. main ()
  6817. {
  6818. -main ();
  6819. +return main ();
  6820. ;
  6821. return 0;
  6822. }
  6823. _ACEOF
  6824. rm -f conftest.$ac_objext conftest$ac_exeext
  6825. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6826. - (eval $ac_link) 2>conftest.er1
  6827. +if { (ac_try="$ac_link"
  6828. +case "(($ac_try" in
  6829. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6830. + *) ac_try_echo=$ac_try;;
  6831. +esac
  6832. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6833. + (eval "$ac_link") 2>conftest.er1
  6834. ac_status=$?
  6835. grep -v '^ *+' conftest.er1 >conftest.err
  6836. rm -f conftest.er1
  6837. cat conftest.err >&5
  6838. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6839. - (exit $ac_status); } &&
  6840. - { ac_try='test -z "$ac_c_werror_flag"
  6841. - || test ! -s conftest.err'
  6842. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6843. - (eval $ac_try) 2>&5
  6844. - ac_status=$?
  6845. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6846. - (exit $ac_status); }; } &&
  6847. - { ac_try='test -s conftest$ac_exeext'
  6848. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6849. - (eval $ac_try) 2>&5
  6850. - ac_status=$?
  6851. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6852. - (exit $ac_status); }; }; then
  6853. + (exit $ac_status); } && {
  6854. + test -z "$ac_c_werror_flag" ||
  6855. + test ! -s conftest.err
  6856. + } && test -s conftest$ac_exeext &&
  6857. + $as_test_x conftest$ac_exeext; then
  6858. ac_cv_lib_nsl_main=yes
  6859. else
  6860. echo "$as_me: failed program was:" >&5
  6861. sed 's/^/| /' conftest.$ac_ext >&5
  6862. -ac_cv_lib_nsl_main=no
  6863. + ac_cv_lib_nsl_main=no
  6864. fi
  6865. -rm -f conftest.err conftest.$ac_objext \
  6866. +
  6867. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6868. conftest$ac_exeext conftest.$ac_ext
  6869. LIBS=$ac_check_lib_save_LIBS
  6870. fi
  6871. -echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
  6872. -echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
  6873. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
  6874. +echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6; }
  6875. if test $ac_cv_lib_nsl_main = yes; then
  6876. cat >>confdefs.h <<_ACEOF
  6877. #define HAVE_LIBNSL 1
  6878. @@ -6652,9 +7186,9 @@ fi
  6879. for ac_func in sigaction strerror strsignal pread sys_siglist _sys_siglist getdents mctl prctl sendmsg inet_ntop if_indextoname
  6880. do
  6881. as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  6882. -echo "$as_me:$LINENO: checking for $ac_func" >&5
  6883. -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  6884. -if eval "test \"\${$as_ac_var+set}\" = set"; then
  6885. +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
  6886. +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  6887. +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  6888. echo $ECHO_N "(cached) $ECHO_C" >&6
  6889. else
  6890. cat >conftest.$ac_ext <<_ACEOF
  6891. @@ -6680,68 +7214,60 @@ cat >>conftest.$ac_ext <<_ACEOF
  6892. #undef $ac_func
  6893. -/* Override any gcc2 internal prototype to avoid an error. */
  6894. +/* Override any GCC internal prototype to avoid an error.
  6895. + Use char because int might match the return type of a GCC
  6896. + builtin and then its argument prototype would still apply. */
  6897. #ifdef __cplusplus
  6898. extern "C"
  6899. -{
  6900. #endif
  6901. -/* We use char because int might match the return type of a gcc2
  6902. - builtin and then its argument prototype would still apply. */
  6903. char $ac_func ();
  6904. /* The GNU C library defines this for functions which it implements
  6905. to always fail with ENOSYS. Some functions are actually named
  6906. something starting with __ and the normal name is an alias. */
  6907. -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  6908. +#if defined __stub_$ac_func || defined __stub___$ac_func
  6909. choke me
  6910. -#else
  6911. -char (*f) () = $ac_func;
  6912. -#endif
  6913. -#ifdef __cplusplus
  6914. -}
  6915. #endif
  6916. int
  6917. main ()
  6918. {
  6919. -return f != $ac_func;
  6920. +return $ac_func ();
  6921. ;
  6922. return 0;
  6923. }
  6924. _ACEOF
  6925. rm -f conftest.$ac_objext conftest$ac_exeext
  6926. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6927. - (eval $ac_link) 2>conftest.er1
  6928. +if { (ac_try="$ac_link"
  6929. +case "(($ac_try" in
  6930. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6931. + *) ac_try_echo=$ac_try;;
  6932. +esac
  6933. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6934. + (eval "$ac_link") 2>conftest.er1
  6935. ac_status=$?
  6936. grep -v '^ *+' conftest.er1 >conftest.err
  6937. rm -f conftest.er1
  6938. cat conftest.err >&5
  6939. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6940. - (exit $ac_status); } &&
  6941. - { ac_try='test -z "$ac_c_werror_flag"
  6942. - || test ! -s conftest.err'
  6943. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6944. - (eval $ac_try) 2>&5
  6945. - ac_status=$?
  6946. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6947. - (exit $ac_status); }; } &&
  6948. - { ac_try='test -s conftest$ac_exeext'
  6949. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6950. - (eval $ac_try) 2>&5
  6951. - ac_status=$?
  6952. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6953. - (exit $ac_status); }; }; then
  6954. + (exit $ac_status); } && {
  6955. + test -z "$ac_c_werror_flag" ||
  6956. + test ! -s conftest.err
  6957. + } && test -s conftest$ac_exeext &&
  6958. + $as_test_x conftest$ac_exeext; then
  6959. eval "$as_ac_var=yes"
  6960. else
  6961. echo "$as_me: failed program was:" >&5
  6962. sed 's/^/| /' conftest.$ac_ext >&5
  6963. -eval "$as_ac_var=no"
  6964. + eval "$as_ac_var=no"
  6965. fi
  6966. -rm -f conftest.err conftest.$ac_objext \
  6967. +
  6968. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6969. conftest$ac_exeext conftest.$ac_ext
  6970. fi
  6971. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  6972. -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  6973. +ac_res=`eval echo '${'$as_ac_var'}'`
  6974. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  6975. +echo "${ECHO_T}$ac_res" >&6; }
  6976. if test `eval echo '${'$as_ac_var'}'` = yes; then
  6977. cat >>confdefs.h <<_ACEOF
  6978. #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  6979. @@ -6782,18 +7308,19 @@ done
  6980. for ac_header in sys/reg.h sys/filio.h sys/acl.h sys/asynch.h sys/door.h stropts.h sys/conf.h sys/stream.h sys/tihdr.h sys/tiuser.h sys/sysconfig.h ioctls.h sys/ioctl.h sys/ptrace.h termio.h linux/ptrace.h asm/reg.h sys/uio.h sys/aio.h poll.h sys/poll.h sys/vfs.h asm/sysmips.h linux/utsname.h sys/nscsys.h mqueue.h sys/epoll.h libaio.h inttypes.h
  6981. do
  6982. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6983. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  6984. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  6985. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  6986. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  6987. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6988. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  6989. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  6990. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6991. echo $ECHO_N "(cached) $ECHO_C" >&6
  6992. fi
  6993. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  6994. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  6995. +ac_res=`eval echo '${'$as_ac_Header'}'`
  6996. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  6997. +echo "${ECHO_T}$ac_res" >&6; }
  6998. else
  6999. # Is the header compilable?
  7000. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  7001. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  7002. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  7003. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  7004. cat >conftest.$ac_ext <<_ACEOF
  7005. /* confdefs.h. */
  7006. _ACEOF
  7007. @@ -6804,41 +7331,37 @@ $ac_includes_default
  7008. #include <$ac_header>
  7009. _ACEOF
  7010. rm -f conftest.$ac_objext
  7011. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7012. - (eval $ac_compile) 2>conftest.er1
  7013. +if { (ac_try="$ac_compile"
  7014. +case "(($ac_try" in
  7015. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7016. + *) ac_try_echo=$ac_try;;
  7017. +esac
  7018. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7019. + (eval "$ac_compile") 2>conftest.er1
  7020. ac_status=$?
  7021. grep -v '^ *+' conftest.er1 >conftest.err
  7022. rm -f conftest.er1
  7023. cat conftest.err >&5
  7024. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7025. - (exit $ac_status); } &&
  7026. - { ac_try='test -z "$ac_c_werror_flag"
  7027. - || test ! -s conftest.err'
  7028. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7029. - (eval $ac_try) 2>&5
  7030. - ac_status=$?
  7031. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7032. - (exit $ac_status); }; } &&
  7033. - { ac_try='test -s conftest.$ac_objext'
  7034. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7035. - (eval $ac_try) 2>&5
  7036. - ac_status=$?
  7037. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7038. - (exit $ac_status); }; }; then
  7039. + (exit $ac_status); } && {
  7040. + test -z "$ac_c_werror_flag" ||
  7041. + test ! -s conftest.err
  7042. + } && test -s conftest.$ac_objext; then
  7043. ac_header_compiler=yes
  7044. else
  7045. echo "$as_me: failed program was:" >&5
  7046. sed 's/^/| /' conftest.$ac_ext >&5
  7047. -ac_header_compiler=no
  7048. + ac_header_compiler=no
  7049. fi
  7050. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7051. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  7052. -echo "${ECHO_T}$ac_header_compiler" >&6
  7053. +
  7054. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7055. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  7056. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  7057. # Is the header present?
  7058. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  7059. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  7060. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  7061. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  7062. cat >conftest.$ac_ext <<_ACEOF
  7063. /* confdefs.h. */
  7064. _ACEOF
  7065. @@ -6847,24 +7370,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  7066. /* end confdefs.h. */
  7067. #include <$ac_header>
  7068. _ACEOF
  7069. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  7070. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  7071. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  7072. +case "(($ac_try" in
  7073. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7074. + *) ac_try_echo=$ac_try;;
  7075. +esac
  7076. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7077. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  7078. ac_status=$?
  7079. grep -v '^ *+' conftest.er1 >conftest.err
  7080. rm -f conftest.er1
  7081. cat conftest.err >&5
  7082. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7083. - (exit $ac_status); } >/dev/null; then
  7084. - if test -s conftest.err; then
  7085. - ac_cpp_err=$ac_c_preproc_warn_flag
  7086. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  7087. - else
  7088. - ac_cpp_err=
  7089. - fi
  7090. -else
  7091. - ac_cpp_err=yes
  7092. -fi
  7093. -if test -z "$ac_cpp_err"; then
  7094. + (exit $ac_status); } >/dev/null && {
  7095. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  7096. + test ! -s conftest.err
  7097. + }; then
  7098. ac_header_preproc=yes
  7099. else
  7100. echo "$as_me: failed program was:" >&5
  7101. @@ -6872,9 +7393,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  7102. ac_header_preproc=no
  7103. fi
  7104. +
  7105. rm -f conftest.err conftest.$ac_ext
  7106. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  7107. -echo "${ECHO_T}$ac_header_preproc" >&6
  7108. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  7109. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  7110. # So? What about this header?
  7111. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  7112. @@ -6898,25 +7420,19 @@ echo "$as_me: WARNING: $ac_header: s
  7113. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  7114. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  7115. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  7116. - (
  7117. - cat <<\_ASBOX
  7118. -## --------------------------------- ##
  7119. -## Report this to the strace lists. ##
  7120. -## --------------------------------- ##
  7121. -_ASBOX
  7122. - ) |
  7123. - sed "s/^/$as_me: WARNING: /" >&2
  7124. +
  7125. ;;
  7126. esac
  7127. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  7128. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  7129. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  7130. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  7131. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  7132. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  7133. echo $ECHO_N "(cached) $ECHO_C" >&6
  7134. else
  7135. eval "$as_ac_Header=\$ac_header_preproc"
  7136. fi
  7137. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  7138. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  7139. +ac_res=`eval echo '${'$as_ac_Header'}'`
  7140. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  7141. +echo "${ECHO_T}$ac_res" >&6; }
  7142. fi
  7143. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  7144. @@ -6935,9 +7451,9 @@ done
  7145. for ac_header in linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h
  7146. do
  7147. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7148. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  7149. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  7150. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  7151. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  7152. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  7153. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  7154. echo $ECHO_N "(cached) $ECHO_C" >&6
  7155. else
  7156. cat >conftest.$ac_ext <<_ACEOF
  7157. @@ -6951,38 +7467,35 @@ cat >>conftest.$ac_ext <<_ACEOF
  7158. #include <$ac_header>
  7159. _ACEOF
  7160. rm -f conftest.$ac_objext
  7161. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7162. - (eval $ac_compile) 2>conftest.er1
  7163. +if { (ac_try="$ac_compile"
  7164. +case "(($ac_try" in
  7165. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7166. + *) ac_try_echo=$ac_try;;
  7167. +esac
  7168. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7169. + (eval "$ac_compile") 2>conftest.er1
  7170. ac_status=$?
  7171. grep -v '^ *+' conftest.er1 >conftest.err
  7172. rm -f conftest.er1
  7173. cat conftest.err >&5
  7174. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7175. - (exit $ac_status); } &&
  7176. - { ac_try='test -z "$ac_c_werror_flag"
  7177. - || test ! -s conftest.err'
  7178. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7179. - (eval $ac_try) 2>&5
  7180. - ac_status=$?
  7181. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7182. - (exit $ac_status); }; } &&
  7183. - { ac_try='test -s conftest.$ac_objext'
  7184. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7185. - (eval $ac_try) 2>&5
  7186. - ac_status=$?
  7187. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7188. - (exit $ac_status); }; }; then
  7189. + (exit $ac_status); } && {
  7190. + test -z "$ac_c_werror_flag" ||
  7191. + test ! -s conftest.err
  7192. + } && test -s conftest.$ac_objext; then
  7193. eval "$as_ac_Header=yes"
  7194. else
  7195. echo "$as_me: failed program was:" >&5
  7196. sed 's/^/| /' conftest.$ac_ext >&5
  7197. -eval "$as_ac_Header=no"
  7198. + eval "$as_ac_Header=no"
  7199. fi
  7200. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7201. +
  7202. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7203. fi
  7204. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  7205. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  7206. +ac_res=`eval echo '${'$as_ac_Header'}'`
  7207. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  7208. +echo "${ECHO_T}$ac_res" >&6; }
  7209. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  7210. cat >>confdefs.h <<_ACEOF
  7211. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7212. @@ -6996,9 +7509,9 @@ done
  7213. for ac_header in asm/sigcontext.h
  7214. do
  7215. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7216. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  7217. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  7218. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  7219. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  7220. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  7221. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  7222. echo $ECHO_N "(cached) $ECHO_C" >&6
  7223. else
  7224. cat >conftest.$ac_ext <<_ACEOF
  7225. @@ -7012,38 +7525,35 @@ cat >>conftest.$ac_ext <<_ACEOF
  7226. #include <$ac_header>
  7227. _ACEOF
  7228. rm -f conftest.$ac_objext
  7229. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7230. - (eval $ac_compile) 2>conftest.er1
  7231. +if { (ac_try="$ac_compile"
  7232. +case "(($ac_try" in
  7233. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7234. + *) ac_try_echo=$ac_try;;
  7235. +esac
  7236. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7237. + (eval "$ac_compile") 2>conftest.er1
  7238. ac_status=$?
  7239. grep -v '^ *+' conftest.er1 >conftest.err
  7240. rm -f conftest.er1
  7241. cat conftest.err >&5
  7242. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7243. - (exit $ac_status); } &&
  7244. - { ac_try='test -z "$ac_c_werror_flag"
  7245. - || test ! -s conftest.err'
  7246. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7247. - (eval $ac_try) 2>&5
  7248. - ac_status=$?
  7249. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7250. - (exit $ac_status); }; } &&
  7251. - { ac_try='test -s conftest.$ac_objext'
  7252. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7253. - (eval $ac_try) 2>&5
  7254. - ac_status=$?
  7255. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7256. - (exit $ac_status); }; }; then
  7257. + (exit $ac_status); } && {
  7258. + test -z "$ac_c_werror_flag" ||
  7259. + test ! -s conftest.err
  7260. + } && test -s conftest.$ac_objext; then
  7261. eval "$as_ac_Header=yes"
  7262. else
  7263. echo "$as_me: failed program was:" >&5
  7264. sed 's/^/| /' conftest.$ac_ext >&5
  7265. -eval "$as_ac_Header=no"
  7266. + eval "$as_ac_Header=no"
  7267. fi
  7268. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7269. +
  7270. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7271. fi
  7272. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  7273. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  7274. +ac_res=`eval echo '${'$as_ac_Header'}'`
  7275. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  7276. +echo "${ECHO_T}$ac_res" >&6; }
  7277. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  7278. cat >>confdefs.h <<_ACEOF
  7279. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7280. @@ -7058,9 +7568,9 @@ done
  7281. for ac_header in netinet/tcp.h netinet/udp.h
  7282. do
  7283. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7284. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  7285. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  7286. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  7287. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  7288. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  7289. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  7290. echo $ECHO_N "(cached) $ECHO_C" >&6
  7291. else
  7292. cat >conftest.$ac_ext <<_ACEOF
  7293. @@ -7074,38 +7584,35 @@ cat >>conftest.$ac_ext <<_ACEOF
  7294. #include <$ac_header>
  7295. _ACEOF
  7296. rm -f conftest.$ac_objext
  7297. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7298. - (eval $ac_compile) 2>conftest.er1
  7299. +if { (ac_try="$ac_compile"
  7300. +case "(($ac_try" in
  7301. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7302. + *) ac_try_echo=$ac_try;;
  7303. +esac
  7304. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7305. + (eval "$ac_compile") 2>conftest.er1
  7306. ac_status=$?
  7307. grep -v '^ *+' conftest.er1 >conftest.err
  7308. rm -f conftest.er1
  7309. cat conftest.err >&5
  7310. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7311. - (exit $ac_status); } &&
  7312. - { ac_try='test -z "$ac_c_werror_flag"
  7313. - || test ! -s conftest.err'
  7314. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7315. - (eval $ac_try) 2>&5
  7316. - ac_status=$?
  7317. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7318. - (exit $ac_status); }; } &&
  7319. - { ac_try='test -s conftest.$ac_objext'
  7320. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7321. - (eval $ac_try) 2>&5
  7322. - ac_status=$?
  7323. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7324. - (exit $ac_status); }; }; then
  7325. + (exit $ac_status); } && {
  7326. + test -z "$ac_c_werror_flag" ||
  7327. + test ! -s conftest.err
  7328. + } && test -s conftest.$ac_objext; then
  7329. eval "$as_ac_Header=yes"
  7330. else
  7331. echo "$as_me: failed program was:" >&5
  7332. sed 's/^/| /' conftest.$ac_ext >&5
  7333. -eval "$as_ac_Header=no"
  7334. + eval "$as_ac_Header=no"
  7335. fi
  7336. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7337. +
  7338. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7339. fi
  7340. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  7341. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  7342. +ac_res=`eval echo '${'$as_ac_Header'}'`
  7343. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  7344. +echo "${ECHO_T}$ac_res" >&6; }
  7345. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  7346. cat >>confdefs.h <<_ACEOF
  7347. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7348. @@ -7116,8 +7623,8 @@ fi
  7349. done
  7350. -echo "$as_me:$LINENO: checking for MP procfs" >&5
  7351. -echo $ECHO_N "checking for MP procfs... $ECHO_C" >&6
  7352. +{ echo "$as_me:$LINENO: checking for MP procfs" >&5
  7353. +echo $ECHO_N "checking for MP procfs... $ECHO_C" >&6; }
  7354. if test "${ac_cv_mp_procfs+set}" = set; then
  7355. echo $ECHO_N "(cached) $ECHO_C" >&6
  7356. else
  7357. @@ -7178,13 +7685,22 @@ fail:
  7358. _ACEOF
  7359. rm -f conftest$ac_exeext
  7360. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7361. - (eval $ac_link) 2>&5
  7362. +if { (ac_try="$ac_link"
  7363. +case "(($ac_try" in
  7364. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7365. + *) ac_try_echo=$ac_try;;
  7366. +esac
  7367. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7368. + (eval "$ac_link") 2>&5
  7369. ac_status=$?
  7370. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7371. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  7372. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7373. - (eval $ac_try) 2>&5
  7374. + { (case "(($ac_try" in
  7375. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7376. + *) ac_try_echo=$ac_try;;
  7377. +esac
  7378. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7379. + (eval "$ac_try") 2>&5
  7380. ac_status=$?
  7381. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7382. (exit $ac_status); }; }; then
  7383. @@ -7197,12 +7713,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
  7384. ( exit $ac_status )
  7385. ac_cv_mp_procfs=no
  7386. fi
  7387. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7388. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7389. fi
  7390. +
  7391. +
  7392. fi
  7393. -echo "$as_me:$LINENO: result: $ac_cv_mp_procfs" >&5
  7394. -echo "${ECHO_T}$ac_cv_mp_procfs" >&6
  7395. +{ echo "$as_me:$LINENO: result: $ac_cv_mp_procfs" >&5
  7396. +echo "${ECHO_T}$ac_cv_mp_procfs" >&6; }
  7397. if test "$ac_cv_mp_procfs" = yes
  7398. then
  7399. @@ -7212,8 +7730,8 @@ _ACEOF
  7400. fi
  7401. -echo "$as_me:$LINENO: checking for pollable procfs" >&5
  7402. -echo $ECHO_N "checking for pollable procfs... $ECHO_C" >&6
  7403. +{ echo "$as_me:$LINENO: checking for pollable procfs" >&5
  7404. +echo $ECHO_N "checking for pollable procfs... $ECHO_C" >&6; }
  7405. if test "${ac_cv_pollable_procfs+set}" = set; then
  7406. echo $ECHO_N "(cached) $ECHO_C" >&6
  7407. else
  7408. @@ -7289,13 +7807,22 @@ fail:
  7409. _ACEOF
  7410. rm -f conftest$ac_exeext
  7411. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7412. - (eval $ac_link) 2>&5
  7413. +if { (ac_try="$ac_link"
  7414. +case "(($ac_try" in
  7415. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7416. + *) ac_try_echo=$ac_try;;
  7417. +esac
  7418. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7419. + (eval "$ac_link") 2>&5
  7420. ac_status=$?
  7421. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7422. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  7423. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7424. - (eval $ac_try) 2>&5
  7425. + { (case "(($ac_try" in
  7426. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7427. + *) ac_try_echo=$ac_try;;
  7428. +esac
  7429. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7430. + (eval "$ac_try") 2>&5
  7431. ac_status=$?
  7432. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7433. (exit $ac_status); }; }; then
  7434. @@ -7308,12 +7835,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
  7435. ( exit $ac_status )
  7436. ac_cv_pollable_procfs=no
  7437. fi
  7438. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7439. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7440. fi
  7441. +
  7442. +
  7443. fi
  7444. -echo "$as_me:$LINENO: result: $ac_cv_pollable_procfs" >&5
  7445. -echo "${ECHO_T}$ac_cv_pollable_procfs" >&6
  7446. +{ echo "$as_me:$LINENO: result: $ac_cv_pollable_procfs" >&5
  7447. +echo "${ECHO_T}$ac_cv_pollable_procfs" >&6; }
  7448. if test "$ac_cv_pollable_procfs" = yes
  7449. then
  7450. @@ -7324,8 +7853,8 @@ _ACEOF
  7451. fi
  7452. -echo "$as_me:$LINENO: checking for struct msghdr.msg_control" >&5
  7453. -echo $ECHO_N "checking for struct msghdr.msg_control... $ECHO_C" >&6
  7454. +{ echo "$as_me:$LINENO: checking for struct msghdr.msg_control" >&5
  7455. +echo $ECHO_N "checking for struct msghdr.msg_control... $ECHO_C" >&6; }
  7456. if test "${ac_cv_member_struct_msghdr_msg_control+set}" = set; then
  7457. echo $ECHO_N "(cached) $ECHO_C" >&6
  7458. else
  7459. @@ -7348,33 +7877,28 @@ return 0;
  7460. }
  7461. _ACEOF
  7462. rm -f conftest.$ac_objext
  7463. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7464. - (eval $ac_compile) 2>conftest.er1
  7465. +if { (ac_try="$ac_compile"
  7466. +case "(($ac_try" in
  7467. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7468. + *) ac_try_echo=$ac_try;;
  7469. +esac
  7470. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7471. + (eval "$ac_compile") 2>conftest.er1
  7472. ac_status=$?
  7473. grep -v '^ *+' conftest.er1 >conftest.err
  7474. rm -f conftest.er1
  7475. cat conftest.err >&5
  7476. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7477. - (exit $ac_status); } &&
  7478. - { ac_try='test -z "$ac_c_werror_flag"
  7479. - || test ! -s conftest.err'
  7480. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7481. - (eval $ac_try) 2>&5
  7482. - ac_status=$?
  7483. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7484. - (exit $ac_status); }; } &&
  7485. - { ac_try='test -s conftest.$ac_objext'
  7486. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7487. - (eval $ac_try) 2>&5
  7488. - ac_status=$?
  7489. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7490. - (exit $ac_status); }; }; then
  7491. + (exit $ac_status); } && {
  7492. + test -z "$ac_c_werror_flag" ||
  7493. + test ! -s conftest.err
  7494. + } && test -s conftest.$ac_objext; then
  7495. ac_cv_member_struct_msghdr_msg_control=yes
  7496. else
  7497. echo "$as_me: failed program was:" >&5
  7498. sed 's/^/| /' conftest.$ac_ext >&5
  7499. -cat >conftest.$ac_ext <<_ACEOF
  7500. + cat >conftest.$ac_ext <<_ACEOF
  7501. /* confdefs.h. */
  7502. _ACEOF
  7503. cat confdefs.h >>conftest.$ac_ext
  7504. @@ -7393,40 +7917,37 @@ return 0;
  7505. }
  7506. _ACEOF
  7507. rm -f conftest.$ac_objext
  7508. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7509. - (eval $ac_compile) 2>conftest.er1
  7510. +if { (ac_try="$ac_compile"
  7511. +case "(($ac_try" in
  7512. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7513. + *) ac_try_echo=$ac_try;;
  7514. +esac
  7515. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7516. + (eval "$ac_compile") 2>conftest.er1
  7517. ac_status=$?
  7518. grep -v '^ *+' conftest.er1 >conftest.err
  7519. rm -f conftest.er1
  7520. cat conftest.err >&5
  7521. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7522. - (exit $ac_status); } &&
  7523. - { ac_try='test -z "$ac_c_werror_flag"
  7524. - || test ! -s conftest.err'
  7525. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7526. - (eval $ac_try) 2>&5
  7527. - ac_status=$?
  7528. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7529. - (exit $ac_status); }; } &&
  7530. - { ac_try='test -s conftest.$ac_objext'
  7531. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7532. - (eval $ac_try) 2>&5
  7533. - ac_status=$?
  7534. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7535. - (exit $ac_status); }; }; then
  7536. + (exit $ac_status); } && {
  7537. + test -z "$ac_c_werror_flag" ||
  7538. + test ! -s conftest.err
  7539. + } && test -s conftest.$ac_objext; then
  7540. ac_cv_member_struct_msghdr_msg_control=yes
  7541. else
  7542. echo "$as_me: failed program was:" >&5
  7543. sed 's/^/| /' conftest.$ac_ext >&5
  7544. -ac_cv_member_struct_msghdr_msg_control=no
  7545. + ac_cv_member_struct_msghdr_msg_control=no
  7546. fi
  7547. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7548. +
  7549. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7550. fi
  7551. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7552. +
  7553. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7554. fi
  7555. -echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_control" >&5
  7556. -echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_control" >&6
  7557. +{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_control" >&5
  7558. +echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_control" >&6; }
  7559. if test $ac_cv_member_struct_msghdr_msg_control = yes; then
  7560. cat >>confdefs.h <<_ACEOF
  7561. @@ -7436,8 +7957,8 @@ _ACEOF
  7562. fi
  7563. -echo "$as_me:$LINENO: checking for pr_syscall in struct prstatus" >&5
  7564. -echo $ECHO_N "checking for pr_syscall in struct prstatus... $ECHO_C" >&6
  7565. +{ echo "$as_me:$LINENO: checking for pr_syscall in struct prstatus" >&5
  7566. +echo $ECHO_N "checking for pr_syscall in struct prstatus... $ECHO_C" >&6; }
  7567. if test "${ac_cv_struct_pr_syscall+set}" = set; then
  7568. echo $ECHO_N "(cached) $ECHO_C" >&6
  7569. else
  7570. @@ -7463,39 +7984,35 @@ s.pr_syscall
  7571. }
  7572. _ACEOF
  7573. rm -f conftest.$ac_objext
  7574. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7575. - (eval $ac_compile) 2>conftest.er1
  7576. +if { (ac_try="$ac_compile"
  7577. +case "(($ac_try" in
  7578. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7579. + *) ac_try_echo=$ac_try;;
  7580. +esac
  7581. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7582. + (eval "$ac_compile") 2>conftest.er1
  7583. ac_status=$?
  7584. grep -v '^ *+' conftest.er1 >conftest.err
  7585. rm -f conftest.er1
  7586. cat conftest.err >&5
  7587. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7588. - (exit $ac_status); } &&
  7589. - { ac_try='test -z "$ac_c_werror_flag"
  7590. - || test ! -s conftest.err'
  7591. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7592. - (eval $ac_try) 2>&5
  7593. - ac_status=$?
  7594. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7595. - (exit $ac_status); }; } &&
  7596. - { ac_try='test -s conftest.$ac_objext'
  7597. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7598. - (eval $ac_try) 2>&5
  7599. - ac_status=$?
  7600. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7601. - (exit $ac_status); }; }; then
  7602. + (exit $ac_status); } && {
  7603. + test -z "$ac_c_werror_flag" ||
  7604. + test ! -s conftest.err
  7605. + } && test -s conftest.$ac_objext; then
  7606. ac_cv_struct_pr_syscall=yes
  7607. else
  7608. echo "$as_me: failed program was:" >&5
  7609. sed 's/^/| /' conftest.$ac_ext >&5
  7610. -ac_cv_struct_pr_syscall=no
  7611. + ac_cv_struct_pr_syscall=no
  7612. fi
  7613. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7614. +
  7615. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7616. fi
  7617. -echo "$as_me:$LINENO: result: $ac_cv_struct_pr_syscall" >&5
  7618. -echo "${ECHO_T}$ac_cv_struct_pr_syscall" >&6
  7619. +{ echo "$as_me:$LINENO: result: $ac_cv_struct_pr_syscall" >&5
  7620. +echo "${ECHO_T}$ac_cv_struct_pr_syscall" >&6; }
  7621. if test "$ac_cv_struct_pr_syscall" = yes
  7622. then
  7623. @@ -7506,8 +8023,8 @@ _ACEOF
  7624. fi
  7625. -echo "$as_me:$LINENO: checking for struct T_conn_res.QUEUE_ptr" >&5
  7626. -echo $ECHO_N "checking for struct T_conn_res.QUEUE_ptr... $ECHO_C" >&6
  7627. +{ echo "$as_me:$LINENO: checking for struct T_conn_res.QUEUE_ptr" >&5
  7628. +echo $ECHO_N "checking for struct T_conn_res.QUEUE_ptr... $ECHO_C" >&6; }
  7629. if test "${ac_cv_member_struct_T_conn_res_QUEUE_ptr+set}" = set; then
  7630. echo $ECHO_N "(cached) $ECHO_C" >&6
  7631. else
  7632. @@ -7531,33 +8048,28 @@ return 0;
  7633. }
  7634. _ACEOF
  7635. rm -f conftest.$ac_objext
  7636. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7637. - (eval $ac_compile) 2>conftest.er1
  7638. +if { (ac_try="$ac_compile"
  7639. +case "(($ac_try" in
  7640. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7641. + *) ac_try_echo=$ac_try;;
  7642. +esac
  7643. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7644. + (eval "$ac_compile") 2>conftest.er1
  7645. ac_status=$?
  7646. grep -v '^ *+' conftest.er1 >conftest.err
  7647. rm -f conftest.er1
  7648. cat conftest.err >&5
  7649. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7650. - (exit $ac_status); } &&
  7651. - { ac_try='test -z "$ac_c_werror_flag"
  7652. - || test ! -s conftest.err'
  7653. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7654. - (eval $ac_try) 2>&5
  7655. - ac_status=$?
  7656. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7657. - (exit $ac_status); }; } &&
  7658. - { ac_try='test -s conftest.$ac_objext'
  7659. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7660. - (eval $ac_try) 2>&5
  7661. - ac_status=$?
  7662. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7663. - (exit $ac_status); }; }; then
  7664. + (exit $ac_status); } && {
  7665. + test -z "$ac_c_werror_flag" ||
  7666. + test ! -s conftest.err
  7667. + } && test -s conftest.$ac_objext; then
  7668. ac_cv_member_struct_T_conn_res_QUEUE_ptr=yes
  7669. else
  7670. echo "$as_me: failed program was:" >&5
  7671. sed 's/^/| /' conftest.$ac_ext >&5
  7672. -cat >conftest.$ac_ext <<_ACEOF
  7673. + cat >conftest.$ac_ext <<_ACEOF
  7674. /* confdefs.h. */
  7675. _ACEOF
  7676. cat confdefs.h >>conftest.$ac_ext
  7677. @@ -7577,40 +8089,37 @@ return 0;
  7678. }
  7679. _ACEOF
  7680. rm -f conftest.$ac_objext
  7681. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7682. - (eval $ac_compile) 2>conftest.er1
  7683. +if { (ac_try="$ac_compile"
  7684. +case "(($ac_try" in
  7685. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7686. + *) ac_try_echo=$ac_try;;
  7687. +esac
  7688. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7689. + (eval "$ac_compile") 2>conftest.er1
  7690. ac_status=$?
  7691. grep -v '^ *+' conftest.er1 >conftest.err
  7692. rm -f conftest.er1
  7693. cat conftest.err >&5
  7694. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7695. - (exit $ac_status); } &&
  7696. - { ac_try='test -z "$ac_c_werror_flag"
  7697. - || test ! -s conftest.err'
  7698. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7699. - (eval $ac_try) 2>&5
  7700. - ac_status=$?
  7701. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7702. - (exit $ac_status); }; } &&
  7703. - { ac_try='test -s conftest.$ac_objext'
  7704. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7705. - (eval $ac_try) 2>&5
  7706. - ac_status=$?
  7707. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7708. - (exit $ac_status); }; }; then
  7709. + (exit $ac_status); } && {
  7710. + test -z "$ac_c_werror_flag" ||
  7711. + test ! -s conftest.err
  7712. + } && test -s conftest.$ac_objext; then
  7713. ac_cv_member_struct_T_conn_res_QUEUE_ptr=yes
  7714. else
  7715. echo "$as_me: failed program was:" >&5
  7716. sed 's/^/| /' conftest.$ac_ext >&5
  7717. -ac_cv_member_struct_T_conn_res_QUEUE_ptr=no
  7718. + ac_cv_member_struct_T_conn_res_QUEUE_ptr=no
  7719. fi
  7720. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7721. +
  7722. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7723. fi
  7724. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7725. +
  7726. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7727. fi
  7728. -echo "$as_me:$LINENO: result: $ac_cv_member_struct_T_conn_res_QUEUE_ptr" >&5
  7729. -echo "${ECHO_T}$ac_cv_member_struct_T_conn_res_QUEUE_ptr" >&6
  7730. +{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_T_conn_res_QUEUE_ptr" >&5
  7731. +echo "${ECHO_T}$ac_cv_member_struct_T_conn_res_QUEUE_ptr" >&6; }
  7732. if test $ac_cv_member_struct_T_conn_res_QUEUE_ptr = yes; then
  7733. cat >>confdefs.h <<_ACEOF
  7734. @@ -7619,8 +8128,8 @@ _ACEOF
  7735. fi
  7736. -echo "$as_me:$LINENO: checking for struct T_conn_res.ACCEPTOR_id" >&5
  7737. -echo $ECHO_N "checking for struct T_conn_res.ACCEPTOR_id... $ECHO_C" >&6
  7738. +{ echo "$as_me:$LINENO: checking for struct T_conn_res.ACCEPTOR_id" >&5
  7739. +echo $ECHO_N "checking for struct T_conn_res.ACCEPTOR_id... $ECHO_C" >&6; }
  7740. if test "${ac_cv_member_struct_T_conn_res_ACCEPTOR_id+set}" = set; then
  7741. echo $ECHO_N "(cached) $ECHO_C" >&6
  7742. else
  7743. @@ -7644,33 +8153,28 @@ return 0;
  7744. }
  7745. _ACEOF
  7746. rm -f conftest.$ac_objext
  7747. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7748. - (eval $ac_compile) 2>conftest.er1
  7749. +if { (ac_try="$ac_compile"
  7750. +case "(($ac_try" in
  7751. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7752. + *) ac_try_echo=$ac_try;;
  7753. +esac
  7754. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7755. + (eval "$ac_compile") 2>conftest.er1
  7756. ac_status=$?
  7757. grep -v '^ *+' conftest.er1 >conftest.err
  7758. rm -f conftest.er1
  7759. cat conftest.err >&5
  7760. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7761. - (exit $ac_status); } &&
  7762. - { ac_try='test -z "$ac_c_werror_flag"
  7763. - || test ! -s conftest.err'
  7764. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7765. - (eval $ac_try) 2>&5
  7766. - ac_status=$?
  7767. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7768. - (exit $ac_status); }; } &&
  7769. - { ac_try='test -s conftest.$ac_objext'
  7770. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7771. - (eval $ac_try) 2>&5
  7772. - ac_status=$?
  7773. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7774. - (exit $ac_status); }; }; then
  7775. + (exit $ac_status); } && {
  7776. + test -z "$ac_c_werror_flag" ||
  7777. + test ! -s conftest.err
  7778. + } && test -s conftest.$ac_objext; then
  7779. ac_cv_member_struct_T_conn_res_ACCEPTOR_id=yes
  7780. else
  7781. echo "$as_me: failed program was:" >&5
  7782. sed 's/^/| /' conftest.$ac_ext >&5
  7783. -cat >conftest.$ac_ext <<_ACEOF
  7784. + cat >conftest.$ac_ext <<_ACEOF
  7785. /* confdefs.h. */
  7786. _ACEOF
  7787. cat confdefs.h >>conftest.$ac_ext
  7788. @@ -7690,40 +8194,37 @@ return 0;
  7789. }
  7790. _ACEOF
  7791. rm -f conftest.$ac_objext
  7792. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7793. - (eval $ac_compile) 2>conftest.er1
  7794. +if { (ac_try="$ac_compile"
  7795. +case "(($ac_try" in
  7796. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7797. + *) ac_try_echo=$ac_try;;
  7798. +esac
  7799. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7800. + (eval "$ac_compile") 2>conftest.er1
  7801. ac_status=$?
  7802. grep -v '^ *+' conftest.er1 >conftest.err
  7803. rm -f conftest.er1
  7804. cat conftest.err >&5
  7805. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7806. - (exit $ac_status); } &&
  7807. - { ac_try='test -z "$ac_c_werror_flag"
  7808. - || test ! -s conftest.err'
  7809. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7810. - (eval $ac_try) 2>&5
  7811. - ac_status=$?
  7812. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7813. - (exit $ac_status); }; } &&
  7814. - { ac_try='test -s conftest.$ac_objext'
  7815. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7816. - (eval $ac_try) 2>&5
  7817. - ac_status=$?
  7818. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7819. - (exit $ac_status); }; }; then
  7820. + (exit $ac_status); } && {
  7821. + test -z "$ac_c_werror_flag" ||
  7822. + test ! -s conftest.err
  7823. + } && test -s conftest.$ac_objext; then
  7824. ac_cv_member_struct_T_conn_res_ACCEPTOR_id=yes
  7825. else
  7826. echo "$as_me: failed program was:" >&5
  7827. sed 's/^/| /' conftest.$ac_ext >&5
  7828. -ac_cv_member_struct_T_conn_res_ACCEPTOR_id=no
  7829. + ac_cv_member_struct_T_conn_res_ACCEPTOR_id=no
  7830. fi
  7831. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7832. +
  7833. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7834. fi
  7835. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7836. +
  7837. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7838. fi
  7839. -echo "$as_me:$LINENO: result: $ac_cv_member_struct_T_conn_res_ACCEPTOR_id" >&5
  7840. -echo "${ECHO_T}$ac_cv_member_struct_T_conn_res_ACCEPTOR_id" >&6
  7841. +{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_T_conn_res_ACCEPTOR_id" >&5
  7842. +echo "${ECHO_T}$ac_cv_member_struct_T_conn_res_ACCEPTOR_id" >&6; }
  7843. if test $ac_cv_member_struct_T_conn_res_ACCEPTOR_id = yes; then
  7844. cat >>confdefs.h <<_ACEOF
  7845. @@ -7734,8 +8235,8 @@ _ACEOF
  7846. fi
  7847. -echo "$as_me:$LINENO: checking for struct __old_kernel_stat" >&5
  7848. -echo $ECHO_N "checking for struct __old_kernel_stat... $ECHO_C" >&6
  7849. +{ echo "$as_me:$LINENO: checking for struct __old_kernel_stat" >&5
  7850. +echo $ECHO_N "checking for struct __old_kernel_stat... $ECHO_C" >&6; }
  7851. if test "${ac_cv_type_struct___old_kernel_stat+set}" = set; then
  7852. echo $ECHO_N "(cached) $ECHO_C" >&6
  7853. else
  7854. @@ -7747,50 +8248,47 @@ cat >>conftest.$ac_ext <<_ACEOF
  7855. /* end confdefs.h. */
  7856. #include <asm/stat.h>
  7857. +typedef struct __old_kernel_stat ac__type_new_;
  7858. int
  7859. main ()
  7860. {
  7861. -if ((struct __old_kernel_stat *) 0)
  7862. +if ((ac__type_new_ *) 0)
  7863. return 0;
  7864. -if (sizeof (struct __old_kernel_stat))
  7865. +if (sizeof (ac__type_new_))
  7866. return 0;
  7867. ;
  7868. return 0;
  7869. }
  7870. _ACEOF
  7871. rm -f conftest.$ac_objext
  7872. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7873. - (eval $ac_compile) 2>conftest.er1
  7874. +if { (ac_try="$ac_compile"
  7875. +case "(($ac_try" in
  7876. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7877. + *) ac_try_echo=$ac_try;;
  7878. +esac
  7879. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7880. + (eval "$ac_compile") 2>conftest.er1
  7881. ac_status=$?
  7882. grep -v '^ *+' conftest.er1 >conftest.err
  7883. rm -f conftest.er1
  7884. cat conftest.err >&5
  7885. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7886. - (exit $ac_status); } &&
  7887. - { ac_try='test -z "$ac_c_werror_flag"
  7888. - || test ! -s conftest.err'
  7889. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7890. - (eval $ac_try) 2>&5
  7891. - ac_status=$?
  7892. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7893. - (exit $ac_status); }; } &&
  7894. - { ac_try='test -s conftest.$ac_objext'
  7895. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7896. - (eval $ac_try) 2>&5
  7897. - ac_status=$?
  7898. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7899. - (exit $ac_status); }; }; then
  7900. + (exit $ac_status); } && {
  7901. + test -z "$ac_c_werror_flag" ||
  7902. + test ! -s conftest.err
  7903. + } && test -s conftest.$ac_objext; then
  7904. ac_cv_type_struct___old_kernel_stat=yes
  7905. else
  7906. echo "$as_me: failed program was:" >&5
  7907. sed 's/^/| /' conftest.$ac_ext >&5
  7908. -ac_cv_type_struct___old_kernel_stat=no
  7909. + ac_cv_type_struct___old_kernel_stat=no
  7910. fi
  7911. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7912. +
  7913. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7914. fi
  7915. -echo "$as_me:$LINENO: result: $ac_cv_type_struct___old_kernel_stat" >&5
  7916. -echo "${ECHO_T}$ac_cv_type_struct___old_kernel_stat" >&6
  7917. +{ echo "$as_me:$LINENO: result: $ac_cv_type_struct___old_kernel_stat" >&5
  7918. +echo "${ECHO_T}$ac_cv_type_struct___old_kernel_stat" >&6; }
  7919. if test $ac_cv_type_struct___old_kernel_stat = yes; then
  7920. cat >>confdefs.h <<_ACEOF
  7921. @@ -7801,8 +8299,8 @@ _ACEOF
  7922. fi
  7923. -echo "$as_me:$LINENO: checking for struct pt_all_user_regs" >&5
  7924. -echo $ECHO_N "checking for struct pt_all_user_regs... $ECHO_C" >&6
  7925. +{ echo "$as_me:$LINENO: checking for struct pt_all_user_regs" >&5
  7926. +echo $ECHO_N "checking for struct pt_all_user_regs... $ECHO_C" >&6; }
  7927. if test "${ac_cv_type_struct_pt_all_user_regs+set}" = set; then
  7928. echo $ECHO_N "(cached) $ECHO_C" >&6
  7929. else
  7930. @@ -7814,50 +8312,47 @@ cat >>conftest.$ac_ext <<_ACEOF
  7931. /* end confdefs.h. */
  7932. #include <sys/ptrace.h>
  7933. +typedef struct pt_all_user_regs ac__type_new_;
  7934. int
  7935. main ()
  7936. {
  7937. -if ((struct pt_all_user_regs *) 0)
  7938. +if ((ac__type_new_ *) 0)
  7939. return 0;
  7940. -if (sizeof (struct pt_all_user_regs))
  7941. +if (sizeof (ac__type_new_))
  7942. return 0;
  7943. ;
  7944. return 0;
  7945. }
  7946. _ACEOF
  7947. rm -f conftest.$ac_objext
  7948. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  7949. - (eval $ac_compile) 2>conftest.er1
  7950. +if { (ac_try="$ac_compile"
  7951. +case "(($ac_try" in
  7952. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7953. + *) ac_try_echo=$ac_try;;
  7954. +esac
  7955. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7956. + (eval "$ac_compile") 2>conftest.er1
  7957. ac_status=$?
  7958. grep -v '^ *+' conftest.er1 >conftest.err
  7959. rm -f conftest.er1
  7960. cat conftest.err >&5
  7961. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7962. - (exit $ac_status); } &&
  7963. - { ac_try='test -z "$ac_c_werror_flag"
  7964. - || test ! -s conftest.err'
  7965. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7966. - (eval $ac_try) 2>&5
  7967. - ac_status=$?
  7968. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7969. - (exit $ac_status); }; } &&
  7970. - { ac_try='test -s conftest.$ac_objext'
  7971. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  7972. - (eval $ac_try) 2>&5
  7973. - ac_status=$?
  7974. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7975. - (exit $ac_status); }; }; then
  7976. + (exit $ac_status); } && {
  7977. + test -z "$ac_c_werror_flag" ||
  7978. + test ! -s conftest.err
  7979. + } && test -s conftest.$ac_objext; then
  7980. ac_cv_type_struct_pt_all_user_regs=yes
  7981. else
  7982. echo "$as_me: failed program was:" >&5
  7983. sed 's/^/| /' conftest.$ac_ext >&5
  7984. -ac_cv_type_struct_pt_all_user_regs=no
  7985. + ac_cv_type_struct_pt_all_user_regs=no
  7986. fi
  7987. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  7988. +
  7989. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7990. fi
  7991. -echo "$as_me:$LINENO: result: $ac_cv_type_struct_pt_all_user_regs" >&5
  7992. -echo "${ECHO_T}$ac_cv_type_struct_pt_all_user_regs" >&6
  7993. +{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_pt_all_user_regs" >&5
  7994. +echo "${ECHO_T}$ac_cv_type_struct_pt_all_user_regs" >&6; }
  7995. if test $ac_cv_type_struct_pt_all_user_regs = yes; then
  7996. cat >>confdefs.h <<_ACEOF
  7997. @@ -7866,8 +8361,8 @@ _ACEOF
  7998. fi
  7999. -echo "$as_me:$LINENO: checking for struct ia64_fpreg" >&5
  8000. -echo $ECHO_N "checking for struct ia64_fpreg... $ECHO_C" >&6
  8001. +{ echo "$as_me:$LINENO: checking for struct ia64_fpreg" >&5
  8002. +echo $ECHO_N "checking for struct ia64_fpreg... $ECHO_C" >&6; }
  8003. if test "${ac_cv_type_struct_ia64_fpreg+set}" = set; then
  8004. echo $ECHO_N "(cached) $ECHO_C" >&6
  8005. else
  8006. @@ -7879,50 +8374,47 @@ cat >>conftest.$ac_ext <<_ACEOF
  8007. /* end confdefs.h. */
  8008. #include <sys/ptrace.h>
  8009. +typedef struct ia64_fpreg ac__type_new_;
  8010. int
  8011. main ()
  8012. {
  8013. -if ((struct ia64_fpreg *) 0)
  8014. +if ((ac__type_new_ *) 0)
  8015. return 0;
  8016. -if (sizeof (struct ia64_fpreg))
  8017. +if (sizeof (ac__type_new_))
  8018. return 0;
  8019. ;
  8020. return 0;
  8021. }
  8022. _ACEOF
  8023. rm -f conftest.$ac_objext
  8024. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  8025. - (eval $ac_compile) 2>conftest.er1
  8026. +if { (ac_try="$ac_compile"
  8027. +case "(($ac_try" in
  8028. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8029. + *) ac_try_echo=$ac_try;;
  8030. +esac
  8031. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8032. + (eval "$ac_compile") 2>conftest.er1
  8033. ac_status=$?
  8034. grep -v '^ *+' conftest.er1 >conftest.err
  8035. rm -f conftest.er1
  8036. cat conftest.err >&5
  8037. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8038. - (exit $ac_status); } &&
  8039. - { ac_try='test -z "$ac_c_werror_flag"
  8040. - || test ! -s conftest.err'
  8041. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8042. - (eval $ac_try) 2>&5
  8043. - ac_status=$?
  8044. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8045. - (exit $ac_status); }; } &&
  8046. - { ac_try='test -s conftest.$ac_objext'
  8047. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8048. - (eval $ac_try) 2>&5
  8049. - ac_status=$?
  8050. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8051. - (exit $ac_status); }; }; then
  8052. + (exit $ac_status); } && {
  8053. + test -z "$ac_c_werror_flag" ||
  8054. + test ! -s conftest.err
  8055. + } && test -s conftest.$ac_objext; then
  8056. ac_cv_type_struct_ia64_fpreg=yes
  8057. else
  8058. echo "$as_me: failed program was:" >&5
  8059. sed 's/^/| /' conftest.$ac_ext >&5
  8060. -ac_cv_type_struct_ia64_fpreg=no
  8061. + ac_cv_type_struct_ia64_fpreg=no
  8062. fi
  8063. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  8064. +
  8065. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8066. fi
  8067. -echo "$as_me:$LINENO: result: $ac_cv_type_struct_ia64_fpreg" >&5
  8068. -echo "${ECHO_T}$ac_cv_type_struct_ia64_fpreg" >&6
  8069. +{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_ia64_fpreg" >&5
  8070. +echo "${ECHO_T}$ac_cv_type_struct_ia64_fpreg" >&6; }
  8071. if test $ac_cv_type_struct_ia64_fpreg = yes; then
  8072. cat >>confdefs.h <<_ACEOF
  8073. @@ -7933,8 +8425,8 @@ _ACEOF
  8074. fi
  8075. -echo "$as_me:$LINENO: checking for struct user_desc" >&5
  8076. -echo $ECHO_N "checking for struct user_desc... $ECHO_C" >&6
  8077. +{ echo "$as_me:$LINENO: checking for struct user_desc" >&5
  8078. +echo $ECHO_N "checking for struct user_desc... $ECHO_C" >&6; }
  8079. if test "${ac_cv_type_struct_user_desc+set}" = set; then
  8080. echo $ECHO_N "(cached) $ECHO_C" >&6
  8081. else
  8082. @@ -7946,50 +8438,47 @@ cat >>conftest.$ac_ext <<_ACEOF
  8083. /* end confdefs.h. */
  8084. #include <asm/ldt.h>
  8085. +typedef struct user_desc ac__type_new_;
  8086. int
  8087. main ()
  8088. {
  8089. -if ((struct user_desc *) 0)
  8090. +if ((ac__type_new_ *) 0)
  8091. return 0;
  8092. -if (sizeof (struct user_desc))
  8093. +if (sizeof (ac__type_new_))
  8094. return 0;
  8095. ;
  8096. return 0;
  8097. }
  8098. _ACEOF
  8099. rm -f conftest.$ac_objext
  8100. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  8101. - (eval $ac_compile) 2>conftest.er1
  8102. +if { (ac_try="$ac_compile"
  8103. +case "(($ac_try" in
  8104. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8105. + *) ac_try_echo=$ac_try;;
  8106. +esac
  8107. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8108. + (eval "$ac_compile") 2>conftest.er1
  8109. ac_status=$?
  8110. grep -v '^ *+' conftest.er1 >conftest.err
  8111. rm -f conftest.er1
  8112. cat conftest.err >&5
  8113. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8114. - (exit $ac_status); } &&
  8115. - { ac_try='test -z "$ac_c_werror_flag"
  8116. - || test ! -s conftest.err'
  8117. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8118. - (eval $ac_try) 2>&5
  8119. - ac_status=$?
  8120. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8121. - (exit $ac_status); }; } &&
  8122. - { ac_try='test -s conftest.$ac_objext'
  8123. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8124. - (eval $ac_try) 2>&5
  8125. - ac_status=$?
  8126. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8127. - (exit $ac_status); }; }; then
  8128. + (exit $ac_status); } && {
  8129. + test -z "$ac_c_werror_flag" ||
  8130. + test ! -s conftest.err
  8131. + } && test -s conftest.$ac_objext; then
  8132. ac_cv_type_struct_user_desc=yes
  8133. else
  8134. echo "$as_me: failed program was:" >&5
  8135. sed 's/^/| /' conftest.$ac_ext >&5
  8136. -ac_cv_type_struct_user_desc=no
  8137. + ac_cv_type_struct_user_desc=no
  8138. fi
  8139. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  8140. +
  8141. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8142. fi
  8143. -echo "$as_me:$LINENO: result: $ac_cv_type_struct_user_desc" >&5
  8144. -echo "${ECHO_T}$ac_cv_type_struct_user_desc" >&6
  8145. +{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_user_desc" >&5
  8146. +echo "${ECHO_T}$ac_cv_type_struct_user_desc" >&6; }
  8147. if test $ac_cv_type_struct_user_desc = yes; then
  8148. cat >>confdefs.h <<_ACEOF
  8149. @@ -8000,8 +8489,8 @@ _ACEOF
  8150. fi
  8151. -echo "$as_me:$LINENO: checking for struct dqblk.dqb_curblocks" >&5
  8152. -echo $ECHO_N "checking for struct dqblk.dqb_curblocks... $ECHO_C" >&6
  8153. +{ echo "$as_me:$LINENO: checking for struct dqblk.dqb_curblocks" >&5
  8154. +echo $ECHO_N "checking for struct dqblk.dqb_curblocks... $ECHO_C" >&6; }
  8155. if test "${ac_cv_member_struct_dqblk_dqb_curblocks+set}" = set; then
  8156. echo $ECHO_N "(cached) $ECHO_C" >&6
  8157. else
  8158. @@ -8024,33 +8513,28 @@ return 0;
  8159. }
  8160. _ACEOF
  8161. rm -f conftest.$ac_objext
  8162. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  8163. - (eval $ac_compile) 2>conftest.er1
  8164. +if { (ac_try="$ac_compile"
  8165. +case "(($ac_try" in
  8166. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8167. + *) ac_try_echo=$ac_try;;
  8168. +esac
  8169. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8170. + (eval "$ac_compile") 2>conftest.er1
  8171. ac_status=$?
  8172. grep -v '^ *+' conftest.er1 >conftest.err
  8173. rm -f conftest.er1
  8174. cat conftest.err >&5
  8175. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8176. - (exit $ac_status); } &&
  8177. - { ac_try='test -z "$ac_c_werror_flag"
  8178. - || test ! -s conftest.err'
  8179. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8180. - (eval $ac_try) 2>&5
  8181. - ac_status=$?
  8182. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8183. - (exit $ac_status); }; } &&
  8184. - { ac_try='test -s conftest.$ac_objext'
  8185. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8186. - (eval $ac_try) 2>&5
  8187. - ac_status=$?
  8188. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8189. - (exit $ac_status); }; }; then
  8190. + (exit $ac_status); } && {
  8191. + test -z "$ac_c_werror_flag" ||
  8192. + test ! -s conftest.err
  8193. + } && test -s conftest.$ac_objext; then
  8194. ac_cv_member_struct_dqblk_dqb_curblocks=yes
  8195. else
  8196. echo "$as_me: failed program was:" >&5
  8197. sed 's/^/| /' conftest.$ac_ext >&5
  8198. -cat >conftest.$ac_ext <<_ACEOF
  8199. + cat >conftest.$ac_ext <<_ACEOF
  8200. /* confdefs.h. */
  8201. _ACEOF
  8202. cat confdefs.h >>conftest.$ac_ext
  8203. @@ -8069,40 +8553,37 @@ return 0;
  8204. }
  8205. _ACEOF
  8206. rm -f conftest.$ac_objext
  8207. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  8208. - (eval $ac_compile) 2>conftest.er1
  8209. +if { (ac_try="$ac_compile"
  8210. +case "(($ac_try" in
  8211. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8212. + *) ac_try_echo=$ac_try;;
  8213. +esac
  8214. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8215. + (eval "$ac_compile") 2>conftest.er1
  8216. ac_status=$?
  8217. grep -v '^ *+' conftest.er1 >conftest.err
  8218. rm -f conftest.er1
  8219. cat conftest.err >&5
  8220. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8221. - (exit $ac_status); } &&
  8222. - { ac_try='test -z "$ac_c_werror_flag"
  8223. - || test ! -s conftest.err'
  8224. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8225. - (eval $ac_try) 2>&5
  8226. - ac_status=$?
  8227. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8228. - (exit $ac_status); }; } &&
  8229. - { ac_try='test -s conftest.$ac_objext'
  8230. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8231. - (eval $ac_try) 2>&5
  8232. - ac_status=$?
  8233. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8234. - (exit $ac_status); }; }; then
  8235. + (exit $ac_status); } && {
  8236. + test -z "$ac_c_werror_flag" ||
  8237. + test ! -s conftest.err
  8238. + } && test -s conftest.$ac_objext; then
  8239. ac_cv_member_struct_dqblk_dqb_curblocks=yes
  8240. else
  8241. echo "$as_me: failed program was:" >&5
  8242. sed 's/^/| /' conftest.$ac_ext >&5
  8243. -ac_cv_member_struct_dqblk_dqb_curblocks=no
  8244. + ac_cv_member_struct_dqblk_dqb_curblocks=no
  8245. fi
  8246. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  8247. +
  8248. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8249. fi
  8250. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  8251. +
  8252. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8253. fi
  8254. -echo "$as_me:$LINENO: result: $ac_cv_member_struct_dqblk_dqb_curblocks" >&5
  8255. -echo "${ECHO_T}$ac_cv_member_struct_dqblk_dqb_curblocks" >&6
  8256. +{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_dqblk_dqb_curblocks" >&5
  8257. +echo "${ECHO_T}$ac_cv_member_struct_dqblk_dqb_curblocks" >&6; }
  8258. if test $ac_cv_member_struct_dqblk_dqb_curblocks = yes; then
  8259. cat >>confdefs.h <<_ACEOF
  8260. @@ -8113,8 +8594,8 @@ _ACEOF
  8261. fi
  8262. -echo "$as_me:$LINENO: checking whether sys_errlist is declared" >&5
  8263. -echo $ECHO_N "checking whether sys_errlist is declared... $ECHO_C" >&6
  8264. +{ echo "$as_me:$LINENO: checking whether sys_errlist is declared" >&5
  8265. +echo $ECHO_N "checking whether sys_errlist is declared... $ECHO_C" >&6; }
  8266. if test "${ac_cv_have_decl_sys_errlist+set}" = set; then
  8267. echo $ECHO_N "(cached) $ECHO_C" >&6
  8268. else
  8269. @@ -8129,7 +8610,7 @@ int
  8270. main ()
  8271. {
  8272. #ifndef sys_errlist
  8273. - char *p = (char *) sys_errlist;
  8274. + (void) sys_errlist;
  8275. #endif
  8276. ;
  8277. @@ -8137,38 +8618,34 @@ main ()
  8278. }
  8279. _ACEOF
  8280. rm -f conftest.$ac_objext
  8281. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  8282. - (eval $ac_compile) 2>conftest.er1
  8283. +if { (ac_try="$ac_compile"
  8284. +case "(($ac_try" in
  8285. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8286. + *) ac_try_echo=$ac_try;;
  8287. +esac
  8288. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8289. + (eval "$ac_compile") 2>conftest.er1
  8290. ac_status=$?
  8291. grep -v '^ *+' conftest.er1 >conftest.err
  8292. rm -f conftest.er1
  8293. cat conftest.err >&5
  8294. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8295. - (exit $ac_status); } &&
  8296. - { ac_try='test -z "$ac_c_werror_flag"
  8297. - || test ! -s conftest.err'
  8298. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8299. - (eval $ac_try) 2>&5
  8300. - ac_status=$?
  8301. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8302. - (exit $ac_status); }; } &&
  8303. - { ac_try='test -s conftest.$ac_objext'
  8304. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8305. - (eval $ac_try) 2>&5
  8306. - ac_status=$?
  8307. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8308. - (exit $ac_status); }; }; then
  8309. + (exit $ac_status); } && {
  8310. + test -z "$ac_c_werror_flag" ||
  8311. + test ! -s conftest.err
  8312. + } && test -s conftest.$ac_objext; then
  8313. ac_cv_have_decl_sys_errlist=yes
  8314. else
  8315. echo "$as_me: failed program was:" >&5
  8316. sed 's/^/| /' conftest.$ac_ext >&5
  8317. -ac_cv_have_decl_sys_errlist=no
  8318. + ac_cv_have_decl_sys_errlist=no
  8319. fi
  8320. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  8321. +
  8322. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8323. fi
  8324. -echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_errlist" >&5
  8325. -echo "${ECHO_T}$ac_cv_have_decl_sys_errlist" >&6
  8326. +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_errlist" >&5
  8327. +echo "${ECHO_T}$ac_cv_have_decl_sys_errlist" >&6; }
  8328. if test $ac_cv_have_decl_sys_errlist = yes; then
  8329. cat >>confdefs.h <<_ACEOF
  8330. @@ -8185,8 +8662,8 @@ _ACEOF
  8331. fi
  8332. -echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
  8333. -echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
  8334. +{ echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
  8335. +echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6; }
  8336. if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
  8337. echo $ECHO_N "(cached) $ECHO_C" >&6
  8338. else
  8339. @@ -8202,7 +8679,7 @@ int
  8340. main ()
  8341. {
  8342. #ifndef sys_siglist
  8343. - char *p = (char *) sys_siglist;
  8344. + (void) sys_siglist;
  8345. #endif
  8346. ;
  8347. @@ -8210,38 +8687,34 @@ main ()
  8348. }
  8349. _ACEOF
  8350. rm -f conftest.$ac_objext
  8351. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  8352. - (eval $ac_compile) 2>conftest.er1
  8353. +if { (ac_try="$ac_compile"
  8354. +case "(($ac_try" in
  8355. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8356. + *) ac_try_echo=$ac_try;;
  8357. +esac
  8358. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8359. + (eval "$ac_compile") 2>conftest.er1
  8360. ac_status=$?
  8361. grep -v '^ *+' conftest.er1 >conftest.err
  8362. rm -f conftest.er1
  8363. cat conftest.err >&5
  8364. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8365. - (exit $ac_status); } &&
  8366. - { ac_try='test -z "$ac_c_werror_flag"
  8367. - || test ! -s conftest.err'
  8368. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8369. - (eval $ac_try) 2>&5
  8370. - ac_status=$?
  8371. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8372. - (exit $ac_status); }; } &&
  8373. - { ac_try='test -s conftest.$ac_objext'
  8374. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8375. - (eval $ac_try) 2>&5
  8376. - ac_status=$?
  8377. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8378. - (exit $ac_status); }; }; then
  8379. + (exit $ac_status); } && {
  8380. + test -z "$ac_c_werror_flag" ||
  8381. + test ! -s conftest.err
  8382. + } && test -s conftest.$ac_objext; then
  8383. ac_cv_have_decl_sys_siglist=yes
  8384. else
  8385. echo "$as_me: failed program was:" >&5
  8386. sed 's/^/| /' conftest.$ac_ext >&5
  8387. -ac_cv_have_decl_sys_siglist=no
  8388. + ac_cv_have_decl_sys_siglist=no
  8389. fi
  8390. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  8391. +
  8392. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8393. fi
  8394. -echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
  8395. -echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
  8396. +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
  8397. +echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6; }
  8398. if test $ac_cv_have_decl_sys_siglist = yes; then
  8399. cat >>confdefs.h <<_ACEOF
  8400. @@ -8256,8 +8729,8 @@ _ACEOF
  8401. fi
  8402. -echo "$as_me:$LINENO: checking whether _sys_siglist is declared" >&5
  8403. -echo $ECHO_N "checking whether _sys_siglist is declared... $ECHO_C" >&6
  8404. +{ echo "$as_me:$LINENO: checking whether _sys_siglist is declared" >&5
  8405. +echo $ECHO_N "checking whether _sys_siglist is declared... $ECHO_C" >&6; }
  8406. if test "${ac_cv_have_decl__sys_siglist+set}" = set; then
  8407. echo $ECHO_N "(cached) $ECHO_C" >&6
  8408. else
  8409. @@ -8273,7 +8746,7 @@ int
  8410. main ()
  8411. {
  8412. #ifndef _sys_siglist
  8413. - char *p = (char *) _sys_siglist;
  8414. + (void) _sys_siglist;
  8415. #endif
  8416. ;
  8417. @@ -8281,38 +8754,34 @@ main ()
  8418. }
  8419. _ACEOF
  8420. rm -f conftest.$ac_objext
  8421. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  8422. - (eval $ac_compile) 2>conftest.er1
  8423. +if { (ac_try="$ac_compile"
  8424. +case "(($ac_try" in
  8425. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8426. + *) ac_try_echo=$ac_try;;
  8427. +esac
  8428. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8429. + (eval "$ac_compile") 2>conftest.er1
  8430. ac_status=$?
  8431. grep -v '^ *+' conftest.er1 >conftest.err
  8432. rm -f conftest.er1
  8433. cat conftest.err >&5
  8434. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8435. - (exit $ac_status); } &&
  8436. - { ac_try='test -z "$ac_c_werror_flag"
  8437. - || test ! -s conftest.err'
  8438. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8439. - (eval $ac_try) 2>&5
  8440. - ac_status=$?
  8441. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8442. - (exit $ac_status); }; } &&
  8443. - { ac_try='test -s conftest.$ac_objext'
  8444. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  8445. - (eval $ac_try) 2>&5
  8446. - ac_status=$?
  8447. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8448. - (exit $ac_status); }; }; then
  8449. + (exit $ac_status); } && {
  8450. + test -z "$ac_c_werror_flag" ||
  8451. + test ! -s conftest.err
  8452. + } && test -s conftest.$ac_objext; then
  8453. ac_cv_have_decl__sys_siglist=yes
  8454. else
  8455. echo "$as_me: failed program was:" >&5
  8456. sed 's/^/| /' conftest.$ac_ext >&5
  8457. -ac_cv_have_decl__sys_siglist=no
  8458. + ac_cv_have_decl__sys_siglist=no
  8459. fi
  8460. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  8461. +
  8462. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8463. fi
  8464. -echo "$as_me:$LINENO: result: $ac_cv_have_decl__sys_siglist" >&5
  8465. -echo "${ECHO_T}$ac_cv_have_decl__sys_siglist" >&6
  8466. +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl__sys_siglist" >&5
  8467. +echo "${ECHO_T}$ac_cv_have_decl__sys_siglist" >&6; }
  8468. if test $ac_cv_have_decl__sys_siglist = yes; then
  8469. cat >>confdefs.h <<_ACEOF
  8470. @@ -8332,8 +8801,8 @@ fi
  8471. # Extract the first word of "perl", so it can be a program name with args.
  8472. set dummy perl; ac_word=$2
  8473. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  8474. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  8475. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  8476. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  8477. if test "${ac_cv_path_PERL+set}" = set; then
  8478. echo $ECHO_N "(cached) $ECHO_C" >&6
  8479. else
  8480. @@ -8348,29 +8817,30 @@ do
  8481. IFS=$as_save_IFS
  8482. test -z "$as_dir" && as_dir=.
  8483. for ac_exec_ext in '' $ac_executable_extensions; do
  8484. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8485. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8486. ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
  8487. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8488. break 2
  8489. fi
  8490. done
  8491. done
  8492. +IFS=$as_save_IFS
  8493. ;;
  8494. esac
  8495. fi
  8496. PERL=$ac_cv_path_PERL
  8497. -
  8498. if test -n "$PERL"; then
  8499. - echo "$as_me:$LINENO: result: $PERL" >&5
  8500. -echo "${ECHO_T}$PERL" >&6
  8501. + { echo "$as_me:$LINENO: result: $PERL" >&5
  8502. +echo "${ECHO_T}$PERL" >&6; }
  8503. else
  8504. - echo "$as_me:$LINENO: result: no" >&5
  8505. -echo "${ECHO_T}no" >&6
  8506. + { echo "$as_me:$LINENO: result: no" >&5
  8507. +echo "${ECHO_T}no" >&6; }
  8508. fi
  8509. - ac_config_files="$ac_config_files Makefile"
  8510. +
  8511. +ac_config_files="$ac_config_files Makefile"
  8512. cat >confcache <<\_ACEOF
  8513. # This file is a shell script that caches the results of configure
  8514. @@ -8390,39 +8860,58 @@ _ACEOF
  8515. # The following way of writing the cache mishandles newlines in values,
  8516. # but we know of no workaround that is simple, portable, and efficient.
  8517. -# So, don't put newlines in cache variables' values.
  8518. +# So, we kill variables containing newlines.
  8519. # Ultrix sh set writes to stderr and can't be redirected directly,
  8520. # and sets the high bit in the cache file unless we assign to the vars.
  8521. -{
  8522. +(
  8523. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  8524. + eval ac_val=\$$ac_var
  8525. + case $ac_val in #(
  8526. + *${as_nl}*)
  8527. + case $ac_var in #(
  8528. + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  8529. +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  8530. + esac
  8531. + case $ac_var in #(
  8532. + _ | IFS | as_nl) ;; #(
  8533. + *) $as_unset $ac_var ;;
  8534. + esac ;;
  8535. + esac
  8536. + done
  8537. +
  8538. (set) 2>&1 |
  8539. - case `(ac_space=' '; set | grep ac_space) 2>&1` in
  8540. - *ac_space=\ *)
  8541. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  8542. + *${as_nl}ac_space=\ *)
  8543. # `set' does not quote correctly, so add quotes (double-quote
  8544. # substitution turns \\\\ into \\, and sed turns \\ into \).
  8545. sed -n \
  8546. "s/'/'\\\\''/g;
  8547. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  8548. - ;;
  8549. + ;; #(
  8550. *)
  8551. # `set' quotes correctly as required by POSIX, so do not add quotes.
  8552. - sed -n \
  8553. - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  8554. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  8555. ;;
  8556. - esac;
  8557. -} |
  8558. + esac |
  8559. + sort
  8560. +) |
  8561. sed '
  8562. + /^ac_cv_env_/b end
  8563. t clear
  8564. - : clear
  8565. + :clear
  8566. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  8567. t end
  8568. - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  8569. - : end' >>confcache
  8570. -if diff $cache_file confcache >/dev/null 2>&1; then :; else
  8571. - if test -w $cache_file; then
  8572. - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
  8573. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  8574. + :end' >>confcache
  8575. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  8576. + if test -w "$cache_file"; then
  8577. + test "x$cache_file" != "x/dev/null" &&
  8578. + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
  8579. +echo "$as_me: updating cache $cache_file" >&6;}
  8580. cat confcache >$cache_file
  8581. else
  8582. - echo "not updating unwritable cache $cache_file"
  8583. + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  8584. +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  8585. fi
  8586. fi
  8587. rm -f confcache
  8588. @@ -8431,32 +8920,18 @@ test "x$prefix" = xNONE && prefix=$ac_de
  8589. # Let make expand exec_prefix.
  8590. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  8591. -# VPATH may cause trouble with some makes, so we remove $(srcdir),
  8592. -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  8593. -# trailing colons and then remove the whole line if VPATH becomes empty
  8594. -# (actually we leave an empty line to preserve line numbers).
  8595. -if test "x$srcdir" = x.; then
  8596. - ac_vpsub='/^[ ]*VPATH[ ]*=/{
  8597. -s/:*\$(srcdir):*/:/;
  8598. -s/:*\${srcdir}:*/:/;
  8599. -s/:*@srcdir@:*/:/;
  8600. -s/^\([^=]*=[ ]*\):*/\1/;
  8601. -s/:*$//;
  8602. -s/^[^=]*=[ ]*$//;
  8603. -}'
  8604. -fi
  8605. -
  8606. DEFS=-DHAVE_CONFIG_H
  8607. ac_libobjs=
  8608. ac_ltlibobjs=
  8609. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  8610. # 1. Remove the extension, and $U if already installed.
  8611. - ac_i=`echo "$ac_i" |
  8612. - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  8613. - # 2. Add them.
  8614. - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  8615. - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
  8616. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  8617. + ac_i=`echo "$ac_i" | sed "$ac_script"`
  8618. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  8619. + # will be set to the directory where LIBOBJS objects are built.
  8620. + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  8621. + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  8622. done
  8623. LIBOBJS=$ac_libobjs
  8624. @@ -8550,17 +9025,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
  8625. ## M4sh Initialization. ##
  8626. ## --------------------- ##
  8627. -# Be Bourne compatible
  8628. +# Be more Bourne compatible
  8629. +DUALCASE=1; export DUALCASE # for MKS sh
  8630. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  8631. emulate sh
  8632. NULLCMD=:
  8633. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  8634. # is contrary to our usage. Disable this feature.
  8635. alias -g '${1+"$@"}'='"$@"'
  8636. -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  8637. - set -o posix
  8638. + setopt NO_GLOB_SUBST
  8639. +else
  8640. + case `(set -o) 2>/dev/null` in
  8641. + *posix*) set -o posix ;;
  8642. +esac
  8643. +
  8644. +fi
  8645. +
  8646. +
  8647. +
  8648. +
  8649. +# PATH needs CR
  8650. +# Avoid depending upon Character Ranges.
  8651. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  8652. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  8653. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  8654. +as_cr_digits='0123456789'
  8655. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  8656. +
  8657. +# The user is always right.
  8658. +if test "${PATH_SEPARATOR+set}" != set; then
  8659. + echo "#! /bin/sh" >conf$$.sh
  8660. + echo "exit 0" >>conf$$.sh
  8661. + chmod +x conf$$.sh
  8662. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  8663. + PATH_SEPARATOR=';'
  8664. + else
  8665. + PATH_SEPARATOR=:
  8666. + fi
  8667. + rm -f conf$$.sh
  8668. fi
  8669. -DUALCASE=1; export DUALCASE # for MKS sh
  8670. # Support unset when possible.
  8671. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  8672. @@ -8570,8 +9073,43 @@ else
  8673. fi
  8674. +# IFS
  8675. +# We need space, tab and new line, in precisely that order. Quoting is
  8676. +# there to prevent editors from complaining about space-tab.
  8677. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  8678. +# splitting by setting IFS to empty value.)
  8679. +as_nl='
  8680. +'
  8681. +IFS=" "" $as_nl"
  8682. +
  8683. +# Find who we are. Look in the path if we contain no directory separator.
  8684. +case $0 in
  8685. + *[\\/]* ) as_myself=$0 ;;
  8686. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8687. +for as_dir in $PATH
  8688. +do
  8689. + IFS=$as_save_IFS
  8690. + test -z "$as_dir" && as_dir=.
  8691. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  8692. +done
  8693. +IFS=$as_save_IFS
  8694. +
  8695. + ;;
  8696. +esac
  8697. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  8698. +# in which case we are not to be found in the path.
  8699. +if test "x$as_myself" = x; then
  8700. + as_myself=$0
  8701. +fi
  8702. +if test ! -f "$as_myself"; then
  8703. + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  8704. + { (exit 1); exit 1; }
  8705. +fi
  8706. +
  8707. # Work around bugs in pre-3.0 UWIN ksh.
  8708. -$as_unset ENV MAIL MAILPATH
  8709. +for as_var in ENV MAIL MAILPATH
  8710. +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  8711. +done
  8712. PS1='$ '
  8713. PS2='> '
  8714. PS4='+ '
  8715. @@ -8585,18 +9123,19 @@ do
  8716. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  8717. eval $as_var=C; export $as_var
  8718. else
  8719. - $as_unset $as_var
  8720. + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  8721. fi
  8722. done
  8723. # Required to use basename.
  8724. -if expr a : '\(a\)' >/dev/null 2>&1; then
  8725. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  8726. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  8727. as_expr=expr
  8728. else
  8729. as_expr=false
  8730. fi
  8731. -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  8732. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  8733. as_basename=basename
  8734. else
  8735. as_basename=false
  8736. @@ -8604,159 +9143,120 @@ fi
  8737. # Name of the executable.
  8738. -as_me=`$as_basename "$0" ||
  8739. +as_me=`$as_basename -- "$0" ||
  8740. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  8741. X"$0" : 'X\(//\)$' \| \
  8742. - X"$0" : 'X\(/\)$' \| \
  8743. - . : '\(.\)' 2>/dev/null ||
  8744. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  8745. echo X/"$0" |
  8746. - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  8747. - /^X\/\(\/\/\)$/{ s//\1/; q; }
  8748. - /^X\/\(\/\).*/{ s//\1/; q; }
  8749. - s/.*/./; q'`
  8750. -
  8751. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  8752. + s//\1/
  8753. + q
  8754. + }
  8755. + /^X\/\(\/\/\)$/{
  8756. + s//\1/
  8757. + q
  8758. + }
  8759. + /^X\/\(\/\).*/{
  8760. + s//\1/
  8761. + q
  8762. + }
  8763. + s/.*/./; q'`
  8764. -# PATH needs CR, and LINENO needs CR and PATH.
  8765. -# Avoid depending upon Character Ranges.
  8766. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  8767. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  8768. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  8769. -as_cr_digits='0123456789'
  8770. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  8771. -
  8772. -# The user is always right.
  8773. -if test "${PATH_SEPARATOR+set}" != set; then
  8774. - echo "#! /bin/sh" >conf$$.sh
  8775. - echo "exit 0" >>conf$$.sh
  8776. - chmod +x conf$$.sh
  8777. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  8778. - PATH_SEPARATOR=';'
  8779. - else
  8780. - PATH_SEPARATOR=:
  8781. - fi
  8782. - rm -f conf$$.sh
  8783. -fi
  8784. +# CDPATH.
  8785. +$as_unset CDPATH
  8786. - as_lineno_1=$LINENO
  8787. - as_lineno_2=$LINENO
  8788. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  8789. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  8790. - test "x$as_lineno_3" = "x$as_lineno_2" || {
  8791. - # Find who we are. Look in the path if we contain no path at all
  8792. - # relative or not.
  8793. - case $0 in
  8794. - *[\\/]* ) as_myself=$0 ;;
  8795. - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8796. -for as_dir in $PATH
  8797. -do
  8798. - IFS=$as_save_IFS
  8799. - test -z "$as_dir" && as_dir=.
  8800. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  8801. -done
  8802. - ;;
  8803. - esac
  8804. - # We did not find ourselves, most probably we were run as `sh COMMAND'
  8805. - # in which case we are not to be found in the path.
  8806. - if test "x$as_myself" = x; then
  8807. - as_myself=$0
  8808. - fi
  8809. - if test ! -f "$as_myself"; then
  8810. - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
  8811. -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
  8812. - { (exit 1); exit 1; }; }
  8813. - fi
  8814. - case $CONFIG_SHELL in
  8815. - '')
  8816. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8817. -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  8818. -do
  8819. - IFS=$as_save_IFS
  8820. - test -z "$as_dir" && as_dir=.
  8821. - for as_base in sh bash ksh sh5; do
  8822. - case $as_dir in
  8823. - /*)
  8824. - if ("$as_dir/$as_base" -c '
  8825. as_lineno_1=$LINENO
  8826. as_lineno_2=$LINENO
  8827. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  8828. test "x$as_lineno_1" != "x$as_lineno_2" &&
  8829. - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  8830. - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  8831. - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  8832. - CONFIG_SHELL=$as_dir/$as_base
  8833. - export CONFIG_SHELL
  8834. - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  8835. - fi;;
  8836. - esac
  8837. - done
  8838. -done
  8839. -;;
  8840. - esac
  8841. + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  8842. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  8843. # uniformly replaced by the line number. The first 'sed' inserts a
  8844. - # line-number line before each line; the second 'sed' does the real
  8845. - # work. The second script uses 'N' to pair each line-number line
  8846. - # with the numbered line, and appends trailing '-' during
  8847. - # substitution so that $LINENO is not a special case at line end.
  8848. + # line-number line after each line using $LINENO; the second 'sed'
  8849. + # does the real work. The second script uses 'N' to pair each
  8850. + # line-number line with the line containing $LINENO, and appends
  8851. + # trailing '-' during substitution so that $LINENO is not a special
  8852. + # case at line end.
  8853. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  8854. - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  8855. - sed '=' <$as_myself |
  8856. + # scripts with optimization help from Paolo Bonzini. Blame Lee
  8857. + # E. McMahon (1931-1989) for sed's syntax. :-)
  8858. + sed -n '
  8859. + p
  8860. + /[$]LINENO/=
  8861. + ' <$as_myself |
  8862. sed '
  8863. + s/[$]LINENO.*/&-/
  8864. + t lineno
  8865. + b
  8866. + :lineno
  8867. N
  8868. - s,$,-,
  8869. - : loop
  8870. - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  8871. + :loop
  8872. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  8873. t loop
  8874. - s,-$,,
  8875. - s,^['$as_cr_digits']*\n,,
  8876. + s/-\n.*//
  8877. ' >$as_me.lineno &&
  8878. - chmod +x $as_me.lineno ||
  8879. - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
  8880. -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
  8881. + chmod +x "$as_me.lineno" ||
  8882. + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  8883. { (exit 1); exit 1; }; }
  8884. # Don't try to exec as it changes $[0], causing all sort of problems
  8885. # (the dirname of $[0] is not the place where we might find the
  8886. - # original and so on. Autoconf is especially sensible to this).
  8887. - . ./$as_me.lineno
  8888. + # original and so on. Autoconf is especially sensitive to this).
  8889. + . "./$as_me.lineno"
  8890. # Exit status is that of the last command.
  8891. exit
  8892. }
  8893. -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  8894. - *c*,-n*) ECHO_N= ECHO_C='
  8895. -' ECHO_T=' ' ;;
  8896. - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  8897. - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  8898. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  8899. + as_dirname=dirname
  8900. +else
  8901. + as_dirname=false
  8902. +fi
  8903. +
  8904. +ECHO_C= ECHO_N= ECHO_T=
  8905. +case `echo -n x` in
  8906. +-n*)
  8907. + case `echo 'x\c'` in
  8908. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  8909. + *) ECHO_C='\c';;
  8910. + esac;;
  8911. +*)
  8912. + ECHO_N='-n';;
  8913. esac
  8914. -if expr a : '\(a\)' >/dev/null 2>&1; then
  8915. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  8916. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  8917. as_expr=expr
  8918. else
  8919. as_expr=false
  8920. fi
  8921. rm -f conf$$ conf$$.exe conf$$.file
  8922. +if test -d conf$$.dir; then
  8923. + rm -f conf$$.dir/conf$$.file
  8924. +else
  8925. + rm -f conf$$.dir
  8926. + mkdir conf$$.dir
  8927. +fi
  8928. echo >conf$$.file
  8929. if ln -s conf$$.file conf$$ 2>/dev/null; then
  8930. - # We could just check for DJGPP; but this test a) works b) is more generic
  8931. - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  8932. - if test -f conf$$.exe; then
  8933. - # Don't use ln at all; we don't have any links
  8934. + as_ln_s='ln -s'
  8935. + # ... but there are two gotchas:
  8936. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  8937. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  8938. + # In both cases, we have to default to `cp -p'.
  8939. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  8940. as_ln_s='cp -p'
  8941. - else
  8942. - as_ln_s='ln -s'
  8943. - fi
  8944. elif ln conf$$.file conf$$ 2>/dev/null; then
  8945. as_ln_s=ln
  8946. else
  8947. as_ln_s='cp -p'
  8948. fi
  8949. -rm -f conf$$ conf$$.exe conf$$.file
  8950. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  8951. +rmdir conf$$.dir 2>/dev/null
  8952. if mkdir -p . 2>/dev/null; then
  8953. as_mkdir_p=:
  8954. @@ -8765,7 +9265,28 @@ else
  8955. as_mkdir_p=false
  8956. fi
  8957. -as_executable_p="test -f"
  8958. +if test -x / >/dev/null 2>&1; then
  8959. + as_test_x='test -x'
  8960. +else
  8961. + if ls -dL / >/dev/null 2>&1; then
  8962. + as_ls_L_option=L
  8963. + else
  8964. + as_ls_L_option=
  8965. + fi
  8966. + as_test_x='
  8967. + eval sh -c '\''
  8968. + if test -d "$1"; then
  8969. + test -d "$1/.";
  8970. + else
  8971. + case $1 in
  8972. + -*)set "./$1";;
  8973. + esac;
  8974. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  8975. + ???[sx]*):;;*)false;;esac;fi
  8976. + '\'' sh
  8977. + '
  8978. +fi
  8979. +as_executable_p=$as_test_x
  8980. # Sed expression to map a string onto a valid CPP name.
  8981. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  8982. @@ -8774,31 +9295,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
  8983. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  8984. -# IFS
  8985. -# We need space, tab and new line, in precisely that order.
  8986. -as_nl='
  8987. -'
  8988. -IFS=" $as_nl"
  8989. -
  8990. -# CDPATH.
  8991. -$as_unset CDPATH
  8992. -
  8993. exec 6>&1
  8994. -# Open the log real soon, to keep \$[0] and so on meaningful, and to
  8995. +# Save the log message, to keep $[0] and so on meaningful, and to
  8996. # report actual input values of CONFIG_FILES etc. instead of their
  8997. -# values after options handling. Logging --version etc. is OK.
  8998. -exec 5>>config.log
  8999. -{
  9000. - echo
  9001. - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  9002. -## Running $as_me. ##
  9003. -_ASBOX
  9004. -} >&5
  9005. -cat >&5 <<_CSEOF
  9006. -
  9007. +# values after options handling.
  9008. +ac_log="
  9009. This file was extended by strace $as_me 4.5.15, which was
  9010. -generated by GNU Autoconf 2.59. Invocation command line was
  9011. +generated by GNU Autoconf 2.61. Invocation command line was
  9012. CONFIG_FILES = $CONFIG_FILES
  9013. CONFIG_HEADERS = $CONFIG_HEADERS
  9014. @@ -8806,30 +9310,20 @@ generated by GNU Autoconf 2.59. Invocat
  9015. CONFIG_COMMANDS = $CONFIG_COMMANDS
  9016. $ $0 $@
  9017. -_CSEOF
  9018. -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
  9019. -echo >&5
  9020. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  9021. +"
  9022. +
  9023. _ACEOF
  9024. +cat >>$CONFIG_STATUS <<_ACEOF
  9025. # Files that config.status was made for.
  9026. -if test -n "$ac_config_files"; then
  9027. - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
  9028. -fi
  9029. +config_files="$ac_config_files"
  9030. +config_headers="$ac_config_headers"
  9031. +config_commands="$ac_config_commands"
  9032. -if test -n "$ac_config_headers"; then
  9033. - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
  9034. -fi
  9035. -
  9036. -if test -n "$ac_config_links"; then
  9037. - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
  9038. -fi
  9039. -
  9040. -if test -n "$ac_config_commands"; then
  9041. - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  9042. -fi
  9043. +_ACEOF
  9044. cat >>$CONFIG_STATUS <<\_ACEOF
  9045. -
  9046. ac_cs_usage="\
  9047. \`$as_me' instantiates files from templates according to the
  9048. current configuration.
  9049. @@ -8837,7 +9331,7 @@ current configuration.
  9050. Usage: $0 [OPTIONS] [FILE]...
  9051. -h, --help print this help, then exit
  9052. - -V, --version print version number, then exit
  9053. + -V, --version print version number and configuration settings, then exit
  9054. -q, --quiet do not print progress messages
  9055. -d, --debug don't remove temporary files
  9056. --recheck update $as_me by reconfiguring in the same conditions
  9057. @@ -8856,19 +9350,21 @@ Configuration commands:
  9058. $config_commands
  9059. Report bugs to <bug-autoconf@gnu.org>."
  9060. -_ACEOF
  9061. +_ACEOF
  9062. cat >>$CONFIG_STATUS <<_ACEOF
  9063. ac_cs_version="\\
  9064. strace config.status 4.5.15
  9065. -configured by $0, generated by GNU Autoconf 2.59,
  9066. - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  9067. +configured by $0, generated by GNU Autoconf 2.61,
  9068. + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  9069. -Copyright (C) 2003 Free Software Foundation, Inc.
  9070. +Copyright (C) 2006 Free Software Foundation, Inc.
  9071. This config.status script is free software; the Free Software Foundation
  9072. gives unlimited permission to copy, distribute and modify it."
  9073. -srcdir=$srcdir
  9074. -INSTALL="$INSTALL"
  9075. +
  9076. +ac_pwd='$ac_pwd'
  9077. +srcdir='$srcdir'
  9078. +INSTALL='$INSTALL'
  9079. _ACEOF
  9080. cat >>$CONFIG_STATUS <<\_ACEOF
  9081. @@ -8879,39 +9375,24 @@ while test $# != 0
  9082. do
  9083. case $1 in
  9084. --*=*)
  9085. - ac_option=`expr "x$1" : 'x\([^=]*\)='`
  9086. - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
  9087. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  9088. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  9089. ac_shift=:
  9090. ;;
  9091. - -*)
  9092. + *)
  9093. ac_option=$1
  9094. ac_optarg=$2
  9095. ac_shift=shift
  9096. ;;
  9097. - *) # This is not an option, so the user has probably given explicit
  9098. - # arguments.
  9099. - ac_option=$1
  9100. - ac_need_defaults=false;;
  9101. esac
  9102. case $ac_option in
  9103. # Handling of the options.
  9104. -_ACEOF
  9105. -cat >>$CONFIG_STATUS <<\_ACEOF
  9106. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  9107. ac_cs_recheck=: ;;
  9108. - --version | --vers* | -V )
  9109. - echo "$ac_cs_version"; exit 0 ;;
  9110. - --he | --h)
  9111. - # Conflict between --help and --header
  9112. - { { echo "$as_me:$LINENO: error: ambiguous option: $1
  9113. -Try \`$0 --help' for more information." >&5
  9114. -echo "$as_me: error: ambiguous option: $1
  9115. -Try \`$0 --help' for more information." >&2;}
  9116. - { (exit 1); exit 1; }; };;
  9117. - --help | --hel | -h )
  9118. - echo "$ac_cs_usage"; exit 0 ;;
  9119. - --debug | --d* | -d )
  9120. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  9121. + echo "$ac_cs_version"; exit ;;
  9122. + --debug | --debu | --deb | --de | --d | -d )
  9123. debug=: ;;
  9124. --file | --fil | --fi | --f )
  9125. $ac_shift
  9126. @@ -8921,18 +9402,24 @@ Try \`$0 --help' for more information."
  9127. $ac_shift
  9128. CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  9129. ac_need_defaults=false;;
  9130. + --he | --h)
  9131. + # Conflict between --help and --header
  9132. + { echo "$as_me: error: ambiguous option: $1
  9133. +Try \`$0 --help' for more information." >&2
  9134. + { (exit 1); exit 1; }; };;
  9135. + --help | --hel | -h )
  9136. + echo "$ac_cs_usage"; exit ;;
  9137. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  9138. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  9139. ac_cs_silent=: ;;
  9140. # This is an error.
  9141. - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  9142. -Try \`$0 --help' for more information." >&5
  9143. -echo "$as_me: error: unrecognized option: $1
  9144. -Try \`$0 --help' for more information." >&2;}
  9145. + -*) { echo "$as_me: error: unrecognized option: $1
  9146. +Try \`$0 --help' for more information." >&2
  9147. { (exit 1); exit 1; }; } ;;
  9148. - *) ac_config_targets="$ac_config_targets $1" ;;
  9149. + *) ac_config_targets="$ac_config_targets $1"
  9150. + ac_need_defaults=false ;;
  9151. esac
  9152. shift
  9153. @@ -8948,37 +9435,49 @@ fi
  9154. _ACEOF
  9155. cat >>$CONFIG_STATUS <<_ACEOF
  9156. if \$ac_cs_recheck; then
  9157. - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  9158. - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  9159. + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  9160. + CONFIG_SHELL=$SHELL
  9161. + export CONFIG_SHELL
  9162. + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  9163. fi
  9164. _ACEOF
  9165. +cat >>$CONFIG_STATUS <<\_ACEOF
  9166. +exec 5>>config.log
  9167. +{
  9168. + echo
  9169. + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  9170. +## Running $as_me. ##
  9171. +_ASBOX
  9172. + echo "$ac_log"
  9173. +} >&5
  9174. +_ACEOF
  9175. cat >>$CONFIG_STATUS <<_ACEOF
  9176. #
  9177. -# INIT-COMMANDS section.
  9178. +# INIT-COMMANDS
  9179. #
  9180. -
  9181. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  9182. _ACEOF
  9183. -
  9184. -
  9185. cat >>$CONFIG_STATUS <<\_ACEOF
  9186. +
  9187. +# Handling of arguments.
  9188. for ac_config_target in $ac_config_targets
  9189. do
  9190. - case "$ac_config_target" in
  9191. - # Handling of arguments.
  9192. - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  9193. - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  9194. - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  9195. + case $ac_config_target in
  9196. + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  9197. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  9198. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  9199. +
  9200. *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  9201. echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  9202. { (exit 1); exit 1; }; };;
  9203. esac
  9204. done
  9205. +
  9206. # If the user did not use the arguments to specify the items to instantiate,
  9207. # then the envvar interface is used. Set only those that are not.
  9208. # We use the long form for the default assignment because of an extremely
  9209. @@ -8990,602 +9489,592 @@ if $ac_need_defaults; then
  9210. fi
  9211. # Have a temporary directory for convenience. Make it in the build tree
  9212. -# simply because there is no reason to put it here, and in addition,
  9213. +# simply because there is no reason against having it here, and in addition,
  9214. # creating and moving files from /tmp can sometimes cause problems.
  9215. -# Create a temporary directory, and hook for its removal unless debugging.
  9216. +# Hook for its removal unless debugging.
  9217. +# Note that there is a small window in which the directory will not be cleaned:
  9218. +# after its creation but before its name has been assigned to `$tmp'.
  9219. $debug ||
  9220. {
  9221. - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  9222. + tmp=
  9223. + trap 'exit_status=$?
  9224. + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  9225. +' 0
  9226. trap '{ (exit 1); exit 1; }' 1 2 13 15
  9227. }
  9228. -
  9229. # Create a (secure) tmp directory for tmp files.
  9230. {
  9231. - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
  9232. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  9233. test -n "$tmp" && test -d "$tmp"
  9234. } ||
  9235. {
  9236. - tmp=./confstat$$-$RANDOM
  9237. - (umask 077 && mkdir $tmp)
  9238. + tmp=./conf$$-$RANDOM
  9239. + (umask 077 && mkdir "$tmp")
  9240. } ||
  9241. {
  9242. echo "$me: cannot create a temporary directory in ." >&2
  9243. { (exit 1); exit 1; }
  9244. }
  9245. -_ACEOF
  9246. -
  9247. -cat >>$CONFIG_STATUS <<_ACEOF
  9248. -
  9249. #
  9250. -# CONFIG_FILES section.
  9251. +# Set up the sed scripts for CONFIG_FILES section.
  9252. #
  9253. # No need to generate the scripts if there are no CONFIG_FILES.
  9254. # This happens for instance when ./config.status config.h
  9255. -if test -n "\$CONFIG_FILES"; then
  9256. - # Protect against being on the right side of a sed subst in config.status.
  9257. - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
  9258. - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
  9259. -s,@SHELL@,$SHELL,;t t
  9260. -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
  9261. -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
  9262. -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
  9263. -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
  9264. -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
  9265. -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
  9266. -s,@exec_prefix@,$exec_prefix,;t t
  9267. -s,@prefix@,$prefix,;t t
  9268. -s,@program_transform_name@,$program_transform_name,;t t
  9269. -s,@bindir@,$bindir,;t t
  9270. -s,@sbindir@,$sbindir,;t t
  9271. -s,@libexecdir@,$libexecdir,;t t
  9272. -s,@datadir@,$datadir,;t t
  9273. -s,@sysconfdir@,$sysconfdir,;t t
  9274. -s,@sharedstatedir@,$sharedstatedir,;t t
  9275. -s,@localstatedir@,$localstatedir,;t t
  9276. -s,@libdir@,$libdir,;t t
  9277. -s,@includedir@,$includedir,;t t
  9278. -s,@oldincludedir@,$oldincludedir,;t t
  9279. -s,@infodir@,$infodir,;t t
  9280. -s,@mandir@,$mandir,;t t
  9281. -s,@build_alias@,$build_alias,;t t
  9282. -s,@host_alias@,$host_alias,;t t
  9283. -s,@target_alias@,$target_alias,;t t
  9284. -s,@DEFS@,$DEFS,;t t
  9285. -s,@ECHO_C@,$ECHO_C,;t t
  9286. -s,@ECHO_N@,$ECHO_N,;t t
  9287. -s,@ECHO_T@,$ECHO_T,;t t
  9288. -s,@LIBS@,$LIBS,;t t
  9289. -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
  9290. -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
  9291. -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
  9292. -s,@CYGPATH_W@,$CYGPATH_W,;t t
  9293. -s,@PACKAGE@,$PACKAGE,;t t
  9294. -s,@VERSION@,$VERSION,;t t
  9295. -s,@ACLOCAL@,$ACLOCAL,;t t
  9296. -s,@AUTOCONF@,$AUTOCONF,;t t
  9297. -s,@AUTOMAKE@,$AUTOMAKE,;t t
  9298. -s,@AUTOHEADER@,$AUTOHEADER,;t t
  9299. -s,@MAKEINFO@,$MAKEINFO,;t t
  9300. -s,@install_sh@,$install_sh,;t t
  9301. -s,@STRIP@,$STRIP,;t t
  9302. -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
  9303. -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
  9304. -s,@mkdir_p@,$mkdir_p,;t t
  9305. -s,@AWK@,$AWK,;t t
  9306. -s,@SET_MAKE@,$SET_MAKE,;t t
  9307. -s,@am__leading_dot@,$am__leading_dot,;t t
  9308. -s,@AMTAR@,$AMTAR,;t t
  9309. -s,@am__tar@,$am__tar,;t t
  9310. -s,@am__untar@,$am__untar,;t t
  9311. -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
  9312. -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
  9313. -s,@MAINT@,$MAINT,;t t
  9314. -s,@build@,$build,;t t
  9315. -s,@build_cpu@,$build_cpu,;t t
  9316. -s,@build_vendor@,$build_vendor,;t t
  9317. -s,@build_os@,$build_os,;t t
  9318. -s,@host@,$host,;t t
  9319. -s,@host_cpu@,$host_cpu,;t t
  9320. -s,@host_vendor@,$host_vendor,;t t
  9321. -s,@host_os@,$host_os,;t t
  9322. -s,@opsys@,$opsys,;t t
  9323. -s,@arch@,$arch,;t t
  9324. -s,@LINUX_TRUE@,$LINUX_TRUE,;t t
  9325. -s,@LINUX_FALSE@,$LINUX_FALSE,;t t
  9326. -s,@I386_TRUE@,$I386_TRUE,;t t
  9327. -s,@I386_FALSE@,$I386_FALSE,;t t
  9328. -s,@X86_64_TRUE@,$X86_64_TRUE,;t t
  9329. -s,@X86_64_FALSE@,$X86_64_FALSE,;t t
  9330. -s,@SUNOS4_TRUE@,$SUNOS4_TRUE,;t t
  9331. -s,@SUNOS4_FALSE@,$SUNOS4_FALSE,;t t
  9332. -s,@SVR4_TRUE@,$SVR4_TRUE,;t t
  9333. -s,@SVR4_FALSE@,$SVR4_FALSE,;t t
  9334. -s,@FREEBSD_TRUE@,$FREEBSD_TRUE,;t t
  9335. -s,@FREEBSD_FALSE@,$FREEBSD_FALSE,;t t
  9336. -s,@CC@,$CC,;t t
  9337. -s,@CFLAGS@,$CFLAGS,;t t
  9338. -s,@LDFLAGS@,$LDFLAGS,;t t
  9339. -s,@CPPFLAGS@,$CPPFLAGS,;t t
  9340. -s,@ac_ct_CC@,$ac_ct_CC,;t t
  9341. -s,@EXEEXT@,$EXEEXT,;t t
  9342. -s,@OBJEXT@,$OBJEXT,;t t
  9343. -s,@DEPDIR@,$DEPDIR,;t t
  9344. -s,@am__include@,$am__include,;t t
  9345. -s,@am__quote@,$am__quote,;t t
  9346. -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
  9347. -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
  9348. -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
  9349. -s,@CCDEPMODE@,$CCDEPMODE,;t t
  9350. -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
  9351. -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
  9352. -s,@WARNFLAGS@,$WARNFLAGS,;t t
  9353. -s,@CPP@,$CPP,;t t
  9354. -s,@EGREP@,$EGREP,;t t
  9355. -s,@PERL@,$PERL,;t t
  9356. -s,@LIBOBJS@,$LIBOBJS,;t t
  9357. -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  9358. -CEOF
  9359. -
  9360. -_ACEOF
  9361. -
  9362. - cat >>$CONFIG_STATUS <<\_ACEOF
  9363. - # Split the substitutions into bite-sized pieces for seds with
  9364. - # small command number limits, like on Digital OSF/1 and HP-UX.
  9365. - ac_max_sed_lines=48
  9366. - ac_sed_frag=1 # Number of current file.
  9367. - ac_beg=1 # First line for current file.
  9368. - ac_end=$ac_max_sed_lines # Line after last line for current file.
  9369. - ac_more_lines=:
  9370. - ac_sed_cmds=
  9371. - while $ac_more_lines; do
  9372. - if test $ac_beg -gt 1; then
  9373. - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  9374. - else
  9375. - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  9376. - fi
  9377. - if test ! -s $tmp/subs.frag; then
  9378. - ac_more_lines=false
  9379. - else
  9380. - # The purpose of the label and of the branching condition is to
  9381. - # speed up the sed processing (if there are no `@' at all, there
  9382. - # is no need to browse any of the substitutions).
  9383. - # These are the two extra sed commands mentioned above.
  9384. - (echo ':t
  9385. - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
  9386. - if test -z "$ac_sed_cmds"; then
  9387. - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  9388. - else
  9389. - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  9390. - fi
  9391. - ac_sed_frag=`expr $ac_sed_frag + 1`
  9392. - ac_beg=$ac_end
  9393. - ac_end=`expr $ac_end + $ac_max_sed_lines`
  9394. - fi
  9395. - done
  9396. - if test -z "$ac_sed_cmds"; then
  9397. - ac_sed_cmds=cat
  9398. +if test -n "$CONFIG_FILES"; then
  9399. +
  9400. +_ACEOF
  9401. +
  9402. +
  9403. +
  9404. +ac_delim='%!_!# '
  9405. +for ac_last_try in false false false false false :; do
  9406. + cat >conf$$subs.sed <<_ACEOF
  9407. +SHELL!$SHELL$ac_delim
  9408. +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
  9409. +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
  9410. +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
  9411. +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
  9412. +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
  9413. +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
  9414. +exec_prefix!$exec_prefix$ac_delim
  9415. +prefix!$prefix$ac_delim
  9416. +program_transform_name!$program_transform_name$ac_delim
  9417. +bindir!$bindir$ac_delim
  9418. +sbindir!$sbindir$ac_delim
  9419. +libexecdir!$libexecdir$ac_delim
  9420. +datarootdir!$datarootdir$ac_delim
  9421. +datadir!$datadir$ac_delim
  9422. +sysconfdir!$sysconfdir$ac_delim
  9423. +sharedstatedir!$sharedstatedir$ac_delim
  9424. +localstatedir!$localstatedir$ac_delim
  9425. +includedir!$includedir$ac_delim
  9426. +oldincludedir!$oldincludedir$ac_delim
  9427. +docdir!$docdir$ac_delim
  9428. +infodir!$infodir$ac_delim
  9429. +htmldir!$htmldir$ac_delim
  9430. +dvidir!$dvidir$ac_delim
  9431. +pdfdir!$pdfdir$ac_delim
  9432. +psdir!$psdir$ac_delim
  9433. +libdir!$libdir$ac_delim
  9434. +localedir!$localedir$ac_delim
  9435. +mandir!$mandir$ac_delim
  9436. +DEFS!$DEFS$ac_delim
  9437. +ECHO_C!$ECHO_C$ac_delim
  9438. +ECHO_N!$ECHO_N$ac_delim
  9439. +ECHO_T!$ECHO_T$ac_delim
  9440. +LIBS!$LIBS$ac_delim
  9441. +build_alias!$build_alias$ac_delim
  9442. +host_alias!$host_alias$ac_delim
  9443. +target_alias!$target_alias$ac_delim
  9444. +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
  9445. +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
  9446. +INSTALL_DATA!$INSTALL_DATA$ac_delim
  9447. +CYGPATH_W!$CYGPATH_W$ac_delim
  9448. +PACKAGE!$PACKAGE$ac_delim
  9449. +VERSION!$VERSION$ac_delim
  9450. +ACLOCAL!$ACLOCAL$ac_delim
  9451. +AUTOCONF!$AUTOCONF$ac_delim
  9452. +AUTOMAKE!$AUTOMAKE$ac_delim
  9453. +AUTOHEADER!$AUTOHEADER$ac_delim
  9454. +MAKEINFO!$MAKEINFO$ac_delim
  9455. +install_sh!$install_sh$ac_delim
  9456. +STRIP!$STRIP$ac_delim
  9457. +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
  9458. +mkdir_p!$mkdir_p$ac_delim
  9459. +AWK!$AWK$ac_delim
  9460. +SET_MAKE!$SET_MAKE$ac_delim
  9461. +am__leading_dot!$am__leading_dot$ac_delim
  9462. +AMTAR!$AMTAR$ac_delim
  9463. +am__tar!$am__tar$ac_delim
  9464. +am__untar!$am__untar$ac_delim
  9465. +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
  9466. +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
  9467. +MAINT!$MAINT$ac_delim
  9468. +build!$build$ac_delim
  9469. +build_cpu!$build_cpu$ac_delim
  9470. +build_vendor!$build_vendor$ac_delim
  9471. +build_os!$build_os$ac_delim
  9472. +host!$host$ac_delim
  9473. +host_cpu!$host_cpu$ac_delim
  9474. +host_vendor!$host_vendor$ac_delim
  9475. +host_os!$host_os$ac_delim
  9476. +opsys!$opsys$ac_delim
  9477. +arch!$arch$ac_delim
  9478. +LINUX_TRUE!$LINUX_TRUE$ac_delim
  9479. +LINUX_FALSE!$LINUX_FALSE$ac_delim
  9480. +I386_TRUE!$I386_TRUE$ac_delim
  9481. +I386_FALSE!$I386_FALSE$ac_delim
  9482. +X86_64_TRUE!$X86_64_TRUE$ac_delim
  9483. +X86_64_FALSE!$X86_64_FALSE$ac_delim
  9484. +SUNOS4_TRUE!$SUNOS4_TRUE$ac_delim
  9485. +SUNOS4_FALSE!$SUNOS4_FALSE$ac_delim
  9486. +SVR4_TRUE!$SVR4_TRUE$ac_delim
  9487. +SVR4_FALSE!$SVR4_FALSE$ac_delim
  9488. +FREEBSD_TRUE!$FREEBSD_TRUE$ac_delim
  9489. +FREEBSD_FALSE!$FREEBSD_FALSE$ac_delim
  9490. +CC!$CC$ac_delim
  9491. +CFLAGS!$CFLAGS$ac_delim
  9492. +LDFLAGS!$LDFLAGS$ac_delim
  9493. +CPPFLAGS!$CPPFLAGS$ac_delim
  9494. +ac_ct_CC!$ac_ct_CC$ac_delim
  9495. +EXEEXT!$EXEEXT$ac_delim
  9496. +OBJEXT!$OBJEXT$ac_delim
  9497. +DEPDIR!$DEPDIR$ac_delim
  9498. +am__include!$am__include$ac_delim
  9499. +am__quote!$am__quote$ac_delim
  9500. +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
  9501. +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
  9502. +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
  9503. +CCDEPMODE!$CCDEPMODE$ac_delim
  9504. +_ACEOF
  9505. +
  9506. + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
  9507. + break
  9508. + elif $ac_last_try; then
  9509. + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  9510. +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  9511. + { (exit 1); exit 1; }; }
  9512. + else
  9513. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  9514. fi
  9515. -fi # test -n "$CONFIG_FILES"
  9516. +done
  9517. +
  9518. +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  9519. +if test -n "$ac_eof"; then
  9520. + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  9521. + ac_eof=`expr $ac_eof + 1`
  9522. +fi
  9523. +
  9524. +cat >>$CONFIG_STATUS <<_ACEOF
  9525. +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
  9526. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  9527. +_ACEOF
  9528. +sed '
  9529. +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  9530. +s/^/s,@/; s/!/@,|#_!!_#|/
  9531. +:n
  9532. +t n
  9533. +s/'"$ac_delim"'$/,g/; t
  9534. +s/$/\\/; p
  9535. +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  9536. +' >>$CONFIG_STATUS <conf$$subs.sed
  9537. +rm -f conf$$subs.sed
  9538. +cat >>$CONFIG_STATUS <<_ACEOF
  9539. +CEOF$ac_eof
  9540. +_ACEOF
  9541. +
  9542. +ac_delim='%!_!# '
  9543. +for ac_last_try in false false false false false :; do
  9544. + cat >conf$$subs.sed <<_ACEOF
  9545. +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
  9546. +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
  9547. +WARNFLAGS!$WARNFLAGS$ac_delim
  9548. +CPP!$CPP$ac_delim
  9549. +GREP!$GREP$ac_delim
  9550. +EGREP!$EGREP$ac_delim
  9551. +PERL!$PERL$ac_delim
  9552. +LIBOBJS!$LIBOBJS$ac_delim
  9553. +LTLIBOBJS!$LTLIBOBJS$ac_delim
  9554. _ACEOF
  9555. +
  9556. + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
  9557. + break
  9558. + elif $ac_last_try; then
  9559. + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  9560. +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  9561. + { (exit 1); exit 1; }; }
  9562. + else
  9563. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  9564. + fi
  9565. +done
  9566. +
  9567. +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  9568. +if test -n "$ac_eof"; then
  9569. + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  9570. + ac_eof=`expr $ac_eof + 1`
  9571. +fi
  9572. +
  9573. +cat >>$CONFIG_STATUS <<_ACEOF
  9574. +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
  9575. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
  9576. +_ACEOF
  9577. +sed '
  9578. +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  9579. +s/^/s,@/; s/!/@,|#_!!_#|/
  9580. +:n
  9581. +t n
  9582. +s/'"$ac_delim"'$/,g/; t
  9583. +s/$/\\/; p
  9584. +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  9585. +' >>$CONFIG_STATUS <conf$$subs.sed
  9586. +rm -f conf$$subs.sed
  9587. +cat >>$CONFIG_STATUS <<_ACEOF
  9588. +:end
  9589. +s/|#_!!_#|//g
  9590. +CEOF$ac_eof
  9591. +_ACEOF
  9592. +
  9593. +
  9594. +# VPATH may cause trouble with some makes, so we remove $(srcdir),
  9595. +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  9596. +# trailing colons and then remove the whole line if VPATH becomes empty
  9597. +# (actually we leave an empty line to preserve line numbers).
  9598. +if test "x$srcdir" = x.; then
  9599. + ac_vpsub='/^[ ]*VPATH[ ]*=/{
  9600. +s/:*\$(srcdir):*/:/
  9601. +s/:*\${srcdir}:*/:/
  9602. +s/:*@srcdir@:*/:/
  9603. +s/^\([^=]*=[ ]*\):*/\1/
  9604. +s/:*$//
  9605. +s/^[^=]*=[ ]*$//
  9606. +}'
  9607. +fi
  9608. +
  9609. cat >>$CONFIG_STATUS <<\_ACEOF
  9610. -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  9611. - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  9612. - case $ac_file in
  9613. - - | *:- | *:-:* ) # input from stdin
  9614. - cat >$tmp/stdin
  9615. - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  9616. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  9617. - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  9618. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  9619. - * ) ac_file_in=$ac_file.in ;;
  9620. +fi # test -n "$CONFIG_FILES"
  9621. +
  9622. +
  9623. +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
  9624. +do
  9625. + case $ac_tag in
  9626. + :[FHLC]) ac_mode=$ac_tag; continue;;
  9627. + esac
  9628. + case $ac_mode$ac_tag in
  9629. + :[FHL]*:*);;
  9630. + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  9631. +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  9632. + { (exit 1); exit 1; }; };;
  9633. + :[FH]-) ac_tag=-:-;;
  9634. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  9635. esac
  9636. + ac_save_IFS=$IFS
  9637. + IFS=:
  9638. + set x $ac_tag
  9639. + IFS=$ac_save_IFS
  9640. + shift
  9641. + ac_file=$1
  9642. + shift
  9643. - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  9644. - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  9645. + case $ac_mode in
  9646. + :L) ac_source=$1;;
  9647. + :[FH])
  9648. + ac_file_inputs=
  9649. + for ac_f
  9650. + do
  9651. + case $ac_f in
  9652. + -) ac_f="$tmp/stdin";;
  9653. + *) # Look for the file first in the build tree, then in the source tree
  9654. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  9655. + # because $ac_f cannot contain `:'.
  9656. + test -f "$ac_f" ||
  9657. + case $ac_f in
  9658. + [\\/$]*) false;;
  9659. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  9660. + esac ||
  9661. + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  9662. +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  9663. + { (exit 1); exit 1; }; };;
  9664. + esac
  9665. + ac_file_inputs="$ac_file_inputs $ac_f"
  9666. + done
  9667. +
  9668. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  9669. + # use $as_me), people would be surprised to read:
  9670. + # /* config.h. Generated by config.status. */
  9671. + configure_input="Generated from "`IFS=:
  9672. + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
  9673. + if test x"$ac_file" != x-; then
  9674. + configure_input="$ac_file. $configure_input"
  9675. + { echo "$as_me:$LINENO: creating $ac_file" >&5
  9676. +echo "$as_me: creating $ac_file" >&6;}
  9677. + fi
  9678. +
  9679. + case $ac_tag in
  9680. + *:-:* | *:-) cat >"$tmp/stdin";;
  9681. + esac
  9682. + ;;
  9683. + esac
  9684. +
  9685. + ac_dir=`$as_dirname -- "$ac_file" ||
  9686. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9687. X"$ac_file" : 'X\(//\)[^/]' \| \
  9688. X"$ac_file" : 'X\(//\)$' \| \
  9689. - X"$ac_file" : 'X\(/\)' \| \
  9690. - . : '\(.\)' 2>/dev/null ||
  9691. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  9692. echo X"$ac_file" |
  9693. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  9694. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  9695. - /^X\(\/\/\)$/{ s//\1/; q; }
  9696. - /^X\(\/\).*/{ s//\1/; q; }
  9697. - s/.*/./; q'`
  9698. - { if $as_mkdir_p; then
  9699. - mkdir -p "$ac_dir"
  9700. - else
  9701. - as_dir="$ac_dir"
  9702. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  9703. + s//\1/
  9704. + q
  9705. + }
  9706. + /^X\(\/\/\)[^/].*/{
  9707. + s//\1/
  9708. + q
  9709. + }
  9710. + /^X\(\/\/\)$/{
  9711. + s//\1/
  9712. + q
  9713. + }
  9714. + /^X\(\/\).*/{
  9715. + s//\1/
  9716. + q
  9717. + }
  9718. + s/.*/./; q'`
  9719. + { as_dir="$ac_dir"
  9720. + case $as_dir in #(
  9721. + -*) as_dir=./$as_dir;;
  9722. + esac
  9723. + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  9724. as_dirs=
  9725. - while test ! -d "$as_dir"; do
  9726. - as_dirs="$as_dir $as_dirs"
  9727. - as_dir=`(dirname "$as_dir") 2>/dev/null ||
  9728. + while :; do
  9729. + case $as_dir in #(
  9730. + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  9731. + *) as_qdir=$as_dir;;
  9732. + esac
  9733. + as_dirs="'$as_qdir' $as_dirs"
  9734. + as_dir=`$as_dirname -- "$as_dir" ||
  9735. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9736. X"$as_dir" : 'X\(//\)[^/]' \| \
  9737. X"$as_dir" : 'X\(//\)$' \| \
  9738. - X"$as_dir" : 'X\(/\)' \| \
  9739. - . : '\(.\)' 2>/dev/null ||
  9740. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  9741. echo X"$as_dir" |
  9742. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  9743. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  9744. - /^X\(\/\/\)$/{ s//\1/; q; }
  9745. - /^X\(\/\).*/{ s//\1/; q; }
  9746. - s/.*/./; q'`
  9747. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  9748. + s//\1/
  9749. + q
  9750. + }
  9751. + /^X\(\/\/\)[^/].*/{
  9752. + s//\1/
  9753. + q
  9754. + }
  9755. + /^X\(\/\/\)$/{
  9756. + s//\1/
  9757. + q
  9758. + }
  9759. + /^X\(\/\).*/{
  9760. + s//\1/
  9761. + q
  9762. + }
  9763. + s/.*/./; q'`
  9764. + test -d "$as_dir" && break
  9765. done
  9766. - test ! -n "$as_dirs" || mkdir $as_dirs
  9767. - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  9768. -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  9769. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  9770. + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  9771. +echo "$as_me: error: cannot create directory $as_dir" >&2;}
  9772. { (exit 1); exit 1; }; }; }
  9773. -
  9774. ac_builddir=.
  9775. -if test "$ac_dir" != .; then
  9776. +case "$ac_dir" in
  9777. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  9778. +*)
  9779. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  9780. - # A "../" for each directory in $ac_dir_suffix.
  9781. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  9782. -else
  9783. - ac_dir_suffix= ac_top_builddir=
  9784. -fi
  9785. + # A ".." for each directory in $ac_dir_suffix.
  9786. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  9787. + case $ac_top_builddir_sub in
  9788. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  9789. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  9790. + esac ;;
  9791. +esac
  9792. +ac_abs_top_builddir=$ac_pwd
  9793. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  9794. +# for backward compatibility:
  9795. +ac_top_builddir=$ac_top_build_prefix
  9796. case $srcdir in
  9797. - .) # No --srcdir option. We are building in place.
  9798. + .) # We are building in place.
  9799. ac_srcdir=.
  9800. - if test -z "$ac_top_builddir"; then
  9801. - ac_top_srcdir=.
  9802. - else
  9803. - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  9804. - fi ;;
  9805. - [\\/]* | ?:[\\/]* ) # Absolute path.
  9806. + ac_top_srcdir=$ac_top_builddir_sub
  9807. + ac_abs_top_srcdir=$ac_pwd ;;
  9808. + [\\/]* | ?:[\\/]* ) # Absolute name.
  9809. ac_srcdir=$srcdir$ac_dir_suffix;
  9810. - ac_top_srcdir=$srcdir ;;
  9811. - *) # Relative path.
  9812. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  9813. - ac_top_srcdir=$ac_top_builddir$srcdir ;;
  9814. + ac_top_srcdir=$srcdir
  9815. + ac_abs_top_srcdir=$srcdir ;;
  9816. + *) # Relative name.
  9817. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  9818. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  9819. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  9820. esac
  9821. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  9822. -# Do not use `cd foo && pwd` to compute absolute paths, because
  9823. -# the directories may not exist.
  9824. -case `pwd` in
  9825. -.) ac_abs_builddir="$ac_dir";;
  9826. -*)
  9827. - case "$ac_dir" in
  9828. - .) ac_abs_builddir=`pwd`;;
  9829. - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  9830. - *) ac_abs_builddir=`pwd`/"$ac_dir";;
  9831. - esac;;
  9832. -esac
  9833. -case $ac_abs_builddir in
  9834. -.) ac_abs_top_builddir=${ac_top_builddir}.;;
  9835. -*)
  9836. - case ${ac_top_builddir}. in
  9837. - .) ac_abs_top_builddir=$ac_abs_builddir;;
  9838. - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  9839. - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  9840. - esac;;
  9841. -esac
  9842. -case $ac_abs_builddir in
  9843. -.) ac_abs_srcdir=$ac_srcdir;;
  9844. -*)
  9845. - case $ac_srcdir in
  9846. - .) ac_abs_srcdir=$ac_abs_builddir;;
  9847. - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  9848. - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  9849. - esac;;
  9850. -esac
  9851. -case $ac_abs_builddir in
  9852. -.) ac_abs_top_srcdir=$ac_top_srcdir;;
  9853. -*)
  9854. - case $ac_top_srcdir in
  9855. - .) ac_abs_top_srcdir=$ac_abs_builddir;;
  9856. - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  9857. - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  9858. - esac;;
  9859. -esac
  9860. + case $ac_mode in
  9861. + :F)
  9862. + #
  9863. + # CONFIG_FILE
  9864. + #
  9865. case $INSTALL in
  9866. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  9867. - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
  9868. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  9869. esac
  9870. +_ACEOF
  9871. - if test x"$ac_file" != x-; then
  9872. - { echo "$as_me:$LINENO: creating $ac_file" >&5
  9873. -echo "$as_me: creating $ac_file" >&6;}
  9874. - rm -f "$ac_file"
  9875. - fi
  9876. - # Let's still pretend it is `configure' which instantiates (i.e., don't
  9877. - # use $as_me), people would be surprised to read:
  9878. - # /* config.h. Generated by config.status. */
  9879. - if test x"$ac_file" = x-; then
  9880. - configure_input=
  9881. - else
  9882. - configure_input="$ac_file. "
  9883. - fi
  9884. - configure_input=$configure_input"Generated from `echo $ac_file_in |
  9885. - sed 's,.*/,,'` by configure."
  9886. -
  9887. - # First look for the input files in the build tree, otherwise in the
  9888. - # src tree.
  9889. - ac_file_inputs=`IFS=:
  9890. - for f in $ac_file_in; do
  9891. - case $f in
  9892. - -) echo $tmp/stdin ;;
  9893. - [\\/$]*)
  9894. - # Absolute (can't be DOS-style, as IFS=:)
  9895. - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  9896. -echo "$as_me: error: cannot find input file: $f" >&2;}
  9897. - { (exit 1); exit 1; }; }
  9898. - echo "$f";;
  9899. - *) # Relative
  9900. - if test -f "$f"; then
  9901. - # Build tree
  9902. - echo "$f"
  9903. - elif test -f "$srcdir/$f"; then
  9904. - # Source tree
  9905. - echo "$srcdir/$f"
  9906. - else
  9907. - # /dev/null tree
  9908. - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  9909. -echo "$as_me: error: cannot find input file: $f" >&2;}
  9910. - { (exit 1); exit 1; }; }
  9911. - fi;;
  9912. - esac
  9913. - done` || { (exit 1); exit 1; }
  9914. +cat >>$CONFIG_STATUS <<\_ACEOF
  9915. +# If the template does not know about datarootdir, expand it.
  9916. +# FIXME: This hack should be removed a few years after 2.60.
  9917. +ac_datarootdir_hack=; ac_datarootdir_seen=
  9918. +
  9919. +case `sed -n '/datarootdir/ {
  9920. + p
  9921. + q
  9922. +}
  9923. +/@datadir@/p
  9924. +/@docdir@/p
  9925. +/@infodir@/p
  9926. +/@localedir@/p
  9927. +/@mandir@/p
  9928. +' $ac_file_inputs` in
  9929. +*datarootdir*) ac_datarootdir_seen=yes;;
  9930. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  9931. + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  9932. +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  9933. _ACEOF
  9934. cat >>$CONFIG_STATUS <<_ACEOF
  9935. + ac_datarootdir_hack='
  9936. + s&@datadir@&$datadir&g
  9937. + s&@docdir@&$docdir&g
  9938. + s&@infodir@&$infodir&g
  9939. + s&@localedir@&$localedir&g
  9940. + s&@mandir@&$mandir&g
  9941. + s&\\\${datarootdir}&$datarootdir&g' ;;
  9942. +esac
  9943. +_ACEOF
  9944. +
  9945. +# Neutralize VPATH when `$srcdir' = `.'.
  9946. +# Shell code in configure.ac might set extrasub.
  9947. +# FIXME: do we really want to maintain this feature?
  9948. +cat >>$CONFIG_STATUS <<_ACEOF
  9949. sed "$ac_vpsub
  9950. $extrasub
  9951. _ACEOF
  9952. cat >>$CONFIG_STATUS <<\_ACEOF
  9953. :t
  9954. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  9955. -s,@configure_input@,$configure_input,;t t
  9956. -s,@srcdir@,$ac_srcdir,;t t
  9957. -s,@abs_srcdir@,$ac_abs_srcdir,;t t
  9958. -s,@top_srcdir@,$ac_top_srcdir,;t t
  9959. -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
  9960. -s,@builddir@,$ac_builddir,;t t
  9961. -s,@abs_builddir@,$ac_abs_builddir,;t t
  9962. -s,@top_builddir@,$ac_top_builddir,;t t
  9963. -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
  9964. -s,@INSTALL@,$ac_INSTALL,;t t
  9965. -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  9966. - rm -f $tmp/stdin
  9967. - if test x"$ac_file" != x-; then
  9968. - mv $tmp/out $ac_file
  9969. - else
  9970. - cat $tmp/out
  9971. - rm -f $tmp/out
  9972. - fi
  9973. +s&@configure_input@&$configure_input&;t t
  9974. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  9975. +s&@srcdir@&$ac_srcdir&;t t
  9976. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  9977. +s&@top_srcdir@&$ac_top_srcdir&;t t
  9978. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  9979. +s&@builddir@&$ac_builddir&;t t
  9980. +s&@abs_builddir@&$ac_abs_builddir&;t t
  9981. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  9982. +s&@INSTALL@&$ac_INSTALL&;t t
  9983. +$ac_datarootdir_hack
  9984. +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
  9985. +
  9986. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  9987. + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  9988. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  9989. + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  9990. +which seems to be undefined. Please make sure it is defined." >&5
  9991. +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  9992. +which seems to be undefined. Please make sure it is defined." >&2;}
  9993. -done
  9994. -_ACEOF
  9995. -cat >>$CONFIG_STATUS <<\_ACEOF
  9996. -
  9997. -#
  9998. -# CONFIG_HEADER section.
  9999. -#
  10000. -
  10001. -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  10002. -# NAME is the cpp macro being defined and VALUE is the value it is being given.
  10003. -#
  10004. -# ac_d sets the value in "#define NAME VALUE" lines.
  10005. -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
  10006. -ac_dB='[ ].*$,\1#\2'
  10007. -ac_dC=' '
  10008. -ac_dD=',;t'
  10009. -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  10010. -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
  10011. -ac_uB='$,\1#\2define\3'
  10012. -ac_uC=' '
  10013. -ac_uD=',;t'
  10014. -
  10015. -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  10016. - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  10017. + rm -f "$tmp/stdin"
  10018. case $ac_file in
  10019. - - | *:- | *:-:* ) # input from stdin
  10020. - cat >$tmp/stdin
  10021. - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  10022. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  10023. - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  10024. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  10025. - * ) ac_file_in=$ac_file.in ;;
  10026. + -) cat "$tmp/out"; rm -f "$tmp/out";;
  10027. + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  10028. esac
  10029. + ;;
  10030. + :H)
  10031. + #
  10032. + # CONFIG_HEADER
  10033. + #
  10034. +_ACEOF
  10035. +
  10036. +# Transform confdefs.h into a sed script `conftest.defines', that
  10037. +# substitutes the proper values into config.h.in to produce config.h.
  10038. +rm -f conftest.defines conftest.tail
  10039. +# First, append a space to every undef/define line, to ease matching.
  10040. +echo 's/$/ /' >conftest.defines
  10041. +# Then, protect against being on the right side of a sed subst, or in
  10042. +# an unquoted here document, in config.status. If some macros were
  10043. +# called several times there might be several #defines for the same
  10044. +# symbol, which is useless. But do not sort them, since the last
  10045. +# AC_DEFINE must be honored.
  10046. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  10047. +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
  10048. +# NAME is the cpp macro being defined, VALUE is the value it is being given.
  10049. +# PARAMS is the parameter list in the macro definition--in most cases, it's
  10050. +# just an empty string.
  10051. +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
  10052. +ac_dB='\\)[ (].*,\\1define\\2'
  10053. +ac_dC=' '
  10054. +ac_dD=' ,'
  10055. - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
  10056. -echo "$as_me: creating $ac_file" >&6;}
  10057. -
  10058. - # First look for the input files in the build tree, otherwise in the
  10059. - # src tree.
  10060. - ac_file_inputs=`IFS=:
  10061. - for f in $ac_file_in; do
  10062. - case $f in
  10063. - -) echo $tmp/stdin ;;
  10064. - [\\/$]*)
  10065. - # Absolute (can't be DOS-style, as IFS=:)
  10066. - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  10067. -echo "$as_me: error: cannot find input file: $f" >&2;}
  10068. - { (exit 1); exit 1; }; }
  10069. - # Do quote $f, to prevent DOS paths from being IFS'd.
  10070. - echo "$f";;
  10071. - *) # Relative
  10072. - if test -f "$f"; then
  10073. - # Build tree
  10074. - echo "$f"
  10075. - elif test -f "$srcdir/$f"; then
  10076. - # Source tree
  10077. - echo "$srcdir/$f"
  10078. - else
  10079. - # /dev/null tree
  10080. - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  10081. -echo "$as_me: error: cannot find input file: $f" >&2;}
  10082. - { (exit 1); exit 1; }; }
  10083. - fi;;
  10084. - esac
  10085. - done` || { (exit 1); exit 1; }
  10086. - # Remove the trailing spaces.
  10087. - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
  10088. -
  10089. -_ACEOF
  10090. -
  10091. -# Transform confdefs.h into two sed scripts, `conftest.defines' and
  10092. -# `conftest.undefs', that substitutes the proper values into
  10093. -# config.h.in to produce config.h. The first handles `#define'
  10094. -# templates, and the second `#undef' templates.
  10095. -# And first: Protect against being on the right side of a sed subst in
  10096. -# config.status. Protect against being in an unquoted here document
  10097. -# in config.status.
  10098. -rm -f conftest.defines conftest.undefs
  10099. -# Using a here document instead of a string reduces the quoting nightmare.
  10100. -# Putting comments in sed scripts is not portable.
  10101. -#
  10102. -# `end' is used to avoid that the second main sed command (meant for
  10103. -# 0-ary CPP macros) applies to n-ary macro definitions.
  10104. -# See the Autoconf documentation for `clear'.
  10105. -cat >confdef2sed.sed <<\_ACEOF
  10106. -s/[\\&,]/\\&/g
  10107. -s,[\\$`],\\&,g
  10108. -t clear
  10109. -: clear
  10110. -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
  10111. -t end
  10112. -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
  10113. -: end
  10114. -_ACEOF
  10115. -# If some macros were called several times there might be several times
  10116. -# the same #defines, which is useless. Nevertheless, we may not want to
  10117. -# sort them, since we want the *last* AC-DEFINE to be honored.
  10118. -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
  10119. -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
  10120. -rm -f confdef2sed.sed
  10121. +uniq confdefs.h |
  10122. + sed -n '
  10123. + t rset
  10124. + :rset
  10125. + s/^[ ]*#[ ]*define[ ][ ]*//
  10126. + t ok
  10127. + d
  10128. + :ok
  10129. + s/[\\&,]/\\&/g
  10130. + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
  10131. + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
  10132. + ' >>conftest.defines
  10133. -# This sed command replaces #undef with comments. This is necessary, for
  10134. +# Remove the space that was appended to ease matching.
  10135. +# Then replace #undef with comments. This is necessary, for
  10136. # example, in the case of _POSIX_SOURCE, which is predefined and required
  10137. # on some systems where configure will not decide to define it.
  10138. -cat >>conftest.undefs <<\_ACEOF
  10139. -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
  10140. +# (The regexp can be short, since the line contains either #define or #undef.)
  10141. +echo 's/ $//
  10142. +s,^[ #]*u.*,/* & */,' >>conftest.defines
  10143. +
  10144. +# Break up conftest.defines:
  10145. +ac_max_sed_lines=50
  10146. +
  10147. +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
  10148. +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
  10149. +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
  10150. +# et cetera.
  10151. +ac_in='$ac_file_inputs'
  10152. +ac_out='"$tmp/out1"'
  10153. +ac_nxt='"$tmp/out2"'
  10154. +
  10155. +while :
  10156. +do
  10157. + # Write a here document:
  10158. + cat >>$CONFIG_STATUS <<_ACEOF
  10159. + # First, check the format of the line:
  10160. + cat >"\$tmp/defines.sed" <<\\CEOF
  10161. +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
  10162. +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
  10163. +b
  10164. +:def
  10165. _ACEOF
  10166. -
  10167. -# Break up conftest.defines because some shells have a limit on the size
  10168. -# of here documents, and old seds have small limits too (100 cmds).
  10169. -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
  10170. -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
  10171. -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
  10172. -echo ' :' >>$CONFIG_STATUS
  10173. -rm -f conftest.tail
  10174. -while grep . conftest.defines >/dev/null
  10175. -do
  10176. - # Write a limited-size here document to $tmp/defines.sed.
  10177. - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  10178. - # Speed up: don't consider the non `#define' lines.
  10179. - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
  10180. - # Work around the forget-to-reset-the-flag bug.
  10181. - echo 't clr' >>$CONFIG_STATUS
  10182. - echo ': clr' >>$CONFIG_STATUS
  10183. - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
  10184. + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
  10185. echo 'CEOF
  10186. - sed -f $tmp/defines.sed $tmp/in >$tmp/out
  10187. - rm -f $tmp/in
  10188. - mv $tmp/out $tmp/in
  10189. -' >>$CONFIG_STATUS
  10190. - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
  10191. + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
  10192. + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
  10193. + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
  10194. + grep . conftest.tail >/dev/null || break
  10195. rm -f conftest.defines
  10196. mv conftest.tail conftest.defines
  10197. done
  10198. -rm -f conftest.defines
  10199. -echo ' fi # grep' >>$CONFIG_STATUS
  10200. -echo >>$CONFIG_STATUS
  10201. -
  10202. -# Break up conftest.undefs because some shells have a limit on the size
  10203. -# of here documents, and old seds have small limits too (100 cmds).
  10204. -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
  10205. -rm -f conftest.tail
  10206. -while grep . conftest.undefs >/dev/null
  10207. -do
  10208. - # Write a limited-size here document to $tmp/undefs.sed.
  10209. - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
  10210. - # Speed up: don't consider the non `#undef'
  10211. - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
  10212. - # Work around the forget-to-reset-the-flag bug.
  10213. - echo 't clr' >>$CONFIG_STATUS
  10214. - echo ': clr' >>$CONFIG_STATUS
  10215. - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
  10216. - echo 'CEOF
  10217. - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
  10218. - rm -f $tmp/in
  10219. - mv $tmp/out $tmp/in
  10220. -' >>$CONFIG_STATUS
  10221. - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
  10222. - rm -f conftest.undefs
  10223. - mv conftest.tail conftest.undefs
  10224. -done
  10225. -rm -f conftest.undefs
  10226. +rm -f conftest.defines conftest.tail
  10227. +echo "ac_result=$ac_in" >>$CONFIG_STATUS
  10228. cat >>$CONFIG_STATUS <<\_ACEOF
  10229. - # Let's still pretend it is `configure' which instantiates (i.e., don't
  10230. - # use $as_me), people would be surprised to read:
  10231. - # /* config.h. Generated by config.status. */
  10232. - if test x"$ac_file" = x-; then
  10233. - echo "/* Generated by configure. */" >$tmp/config.h
  10234. - else
  10235. - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
  10236. - fi
  10237. - cat $tmp/in >>$tmp/config.h
  10238. - rm -f $tmp/in
  10239. if test x"$ac_file" != x-; then
  10240. - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
  10241. + echo "/* $configure_input */" >"$tmp/config.h"
  10242. + cat "$ac_result" >>"$tmp/config.h"
  10243. + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
  10244. { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  10245. echo "$as_me: $ac_file is unchanged" >&6;}
  10246. else
  10247. - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  10248. -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  10249. - X"$ac_file" : 'X\(//\)[^/]' \| \
  10250. - X"$ac_file" : 'X\(//\)$' \| \
  10251. - X"$ac_file" : 'X\(/\)' \| \
  10252. - . : '\(.\)' 2>/dev/null ||
  10253. -echo X"$ac_file" |
  10254. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  10255. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  10256. - /^X\(\/\/\)$/{ s//\1/; q; }
  10257. - /^X\(\/\).*/{ s//\1/; q; }
  10258. - s/.*/./; q'`
  10259. - { if $as_mkdir_p; then
  10260. - mkdir -p "$ac_dir"
  10261. - else
  10262. - as_dir="$ac_dir"
  10263. - as_dirs=
  10264. - while test ! -d "$as_dir"; do
  10265. - as_dirs="$as_dir $as_dirs"
  10266. - as_dir=`(dirname "$as_dir") 2>/dev/null ||
  10267. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  10268. - X"$as_dir" : 'X\(//\)[^/]' \| \
  10269. - X"$as_dir" : 'X\(//\)$' \| \
  10270. - X"$as_dir" : 'X\(/\)' \| \
  10271. - . : '\(.\)' 2>/dev/null ||
  10272. -echo X"$as_dir" |
  10273. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  10274. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  10275. - /^X\(\/\/\)$/{ s//\1/; q; }
  10276. - /^X\(\/\).*/{ s//\1/; q; }
  10277. - s/.*/./; q'`
  10278. - done
  10279. - test ! -n "$as_dirs" || mkdir $as_dirs
  10280. - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  10281. -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  10282. - { (exit 1); exit 1; }; }; }
  10283. -
  10284. rm -f $ac_file
  10285. - mv $tmp/config.h $ac_file
  10286. + mv "$tmp/config.h" $ac_file
  10287. fi
  10288. else
  10289. - cat $tmp/config.h
  10290. - rm -f $tmp/config.h
  10291. + echo "/* $configure_input */"
  10292. + cat "$ac_result"
  10293. fi
  10294. + rm -f "$tmp/out12"
  10295. # Compute $ac_file's index in $config_headers.
  10296. _am_stamp_count=1
  10297. for _am_header in $config_headers :; do
  10298. @@ -9596,135 +10085,39 @@ for _am_header in $config_headers :; do
  10299. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  10300. esac
  10301. done
  10302. -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
  10303. +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
  10304. $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  10305. X$ac_file : 'X\(//\)[^/]' \| \
  10306. X$ac_file : 'X\(//\)$' \| \
  10307. - X$ac_file : 'X\(/\)' \| \
  10308. - . : '\(.\)' 2>/dev/null ||
  10309. + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
  10310. echo X$ac_file |
  10311. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  10312. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  10313. - /^X\(\/\/\)$/{ s//\1/; q; }
  10314. - /^X\(\/\).*/{ s//\1/; q; }
  10315. - s/.*/./; q'`/stamp-h$_am_stamp_count
  10316. -done
  10317. -_ACEOF
  10318. -cat >>$CONFIG_STATUS <<\_ACEOF
  10319. -
  10320. -#
  10321. -# CONFIG_COMMANDS section.
  10322. -#
  10323. -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
  10324. - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
  10325. - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
  10326. - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
  10327. -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  10328. - X"$ac_dest" : 'X\(//\)[^/]' \| \
  10329. - X"$ac_dest" : 'X\(//\)$' \| \
  10330. - X"$ac_dest" : 'X\(/\)' \| \
  10331. - . : '\(.\)' 2>/dev/null ||
  10332. -echo X"$ac_dest" |
  10333. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  10334. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  10335. - /^X\(\/\/\)$/{ s//\1/; q; }
  10336. - /^X\(\/\).*/{ s//\1/; q; }
  10337. - s/.*/./; q'`
  10338. - { if $as_mkdir_p; then
  10339. - mkdir -p "$ac_dir"
  10340. - else
  10341. - as_dir="$ac_dir"
  10342. - as_dirs=
  10343. - while test ! -d "$as_dir"; do
  10344. - as_dirs="$as_dir $as_dirs"
  10345. - as_dir=`(dirname "$as_dir") 2>/dev/null ||
  10346. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  10347. - X"$as_dir" : 'X\(//\)[^/]' \| \
  10348. - X"$as_dir" : 'X\(//\)$' \| \
  10349. - X"$as_dir" : 'X\(/\)' \| \
  10350. - . : '\(.\)' 2>/dev/null ||
  10351. -echo X"$as_dir" |
  10352. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  10353. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  10354. - /^X\(\/\/\)$/{ s//\1/; q; }
  10355. - /^X\(\/\).*/{ s//\1/; q; }
  10356. - s/.*/./; q'`
  10357. - done
  10358. - test ! -n "$as_dirs" || mkdir $as_dirs
  10359. - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  10360. -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  10361. - { (exit 1); exit 1; }; }; }
  10362. -
  10363. - ac_builddir=.
  10364. -
  10365. -if test "$ac_dir" != .; then
  10366. - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  10367. - # A "../" for each directory in $ac_dir_suffix.
  10368. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  10369. -else
  10370. - ac_dir_suffix= ac_top_builddir=
  10371. -fi
  10372. -
  10373. -case $srcdir in
  10374. - .) # No --srcdir option. We are building in place.
  10375. - ac_srcdir=.
  10376. - if test -z "$ac_top_builddir"; then
  10377. - ac_top_srcdir=.
  10378. - else
  10379. - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  10380. - fi ;;
  10381. - [\\/]* | ?:[\\/]* ) # Absolute path.
  10382. - ac_srcdir=$srcdir$ac_dir_suffix;
  10383. - ac_top_srcdir=$srcdir ;;
  10384. - *) # Relative path.
  10385. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  10386. - ac_top_srcdir=$ac_top_builddir$srcdir ;;
  10387. -esac
  10388. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  10389. + s//\1/
  10390. + q
  10391. + }
  10392. + /^X\(\/\/\)[^/].*/{
  10393. + s//\1/
  10394. + q
  10395. + }
  10396. + /^X\(\/\/\)$/{
  10397. + s//\1/
  10398. + q
  10399. + }
  10400. + /^X\(\/\).*/{
  10401. + s//\1/
  10402. + q
  10403. + }
  10404. + s/.*/./; q'`/stamp-h$_am_stamp_count
  10405. + ;;
  10406. -# Do not use `cd foo && pwd` to compute absolute paths, because
  10407. -# the directories may not exist.
  10408. -case `pwd` in
  10409. -.) ac_abs_builddir="$ac_dir";;
  10410. -*)
  10411. - case "$ac_dir" in
  10412. - .) ac_abs_builddir=`pwd`;;
  10413. - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  10414. - *) ac_abs_builddir=`pwd`/"$ac_dir";;
  10415. - esac;;
  10416. -esac
  10417. -case $ac_abs_builddir in
  10418. -.) ac_abs_top_builddir=${ac_top_builddir}.;;
  10419. -*)
  10420. - case ${ac_top_builddir}. in
  10421. - .) ac_abs_top_builddir=$ac_abs_builddir;;
  10422. - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  10423. - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  10424. - esac;;
  10425. -esac
  10426. -case $ac_abs_builddir in
  10427. -.) ac_abs_srcdir=$ac_srcdir;;
  10428. -*)
  10429. - case $ac_srcdir in
  10430. - .) ac_abs_srcdir=$ac_abs_builddir;;
  10431. - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  10432. - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  10433. - esac;;
  10434. -esac
  10435. -case $ac_abs_builddir in
  10436. -.) ac_abs_top_srcdir=$ac_top_srcdir;;
  10437. -*)
  10438. - case $ac_top_srcdir in
  10439. - .) ac_abs_top_srcdir=$ac_abs_builddir;;
  10440. - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  10441. - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  10442. - esac;;
  10443. -esac
  10444. + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
  10445. +echo "$as_me: executing $ac_file commands" >&6;}
  10446. + ;;
  10447. + esac
  10448. - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
  10449. -echo "$as_me: executing $ac_dest commands" >&6;}
  10450. - case $ac_dest in
  10451. - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  10452. + case $ac_file$ac_mode in
  10453. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  10454. # Strip MF so we end up with the name of the file.
  10455. mf=`echo "$mf" | sed -e 's/:.*$//'`
  10456. # Check whether this is an Automake generated Makefile or not.
  10457. @@ -9734,18 +10127,29 @@ echo "$as_me: executing $ac_dest command
  10458. # each Makefile.in and add a new line on top of each file to say so.
  10459. # So let's grep whole file.
  10460. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
  10461. - dirpart=`(dirname "$mf") 2>/dev/null ||
  10462. + dirpart=`$as_dirname -- "$mf" ||
  10463. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  10464. X"$mf" : 'X\(//\)[^/]' \| \
  10465. X"$mf" : 'X\(//\)$' \| \
  10466. - X"$mf" : 'X\(/\)' \| \
  10467. - . : '\(.\)' 2>/dev/null ||
  10468. + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  10469. echo X"$mf" |
  10470. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  10471. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  10472. - /^X\(\/\/\)$/{ s//\1/; q; }
  10473. - /^X\(\/\).*/{ s//\1/; q; }
  10474. - s/.*/./; q'`
  10475. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  10476. + s//\1/
  10477. + q
  10478. + }
  10479. + /^X\(\/\/\)[^/].*/{
  10480. + s//\1/
  10481. + q
  10482. + }
  10483. + /^X\(\/\/\)$/{
  10484. + s//\1/
  10485. + q
  10486. + }
  10487. + /^X\(\/\).*/{
  10488. + s//\1/
  10489. + q
  10490. + }
  10491. + s/.*/./; q'`
  10492. else
  10493. continue
  10494. fi
  10495. @@ -9767,53 +10171,79 @@ echo X"$mf" |
  10496. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  10497. # Make sure the directory exists.
  10498. test -f "$dirpart/$file" && continue
  10499. - fdir=`(dirname "$file") 2>/dev/null ||
  10500. + fdir=`$as_dirname -- "$file" ||
  10501. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  10502. X"$file" : 'X\(//\)[^/]' \| \
  10503. X"$file" : 'X\(//\)$' \| \
  10504. - X"$file" : 'X\(/\)' \| \
  10505. - . : '\(.\)' 2>/dev/null ||
  10506. + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  10507. echo X"$file" |
  10508. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  10509. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  10510. - /^X\(\/\/\)$/{ s//\1/; q; }
  10511. - /^X\(\/\).*/{ s//\1/; q; }
  10512. - s/.*/./; q'`
  10513. - { if $as_mkdir_p; then
  10514. - mkdir -p $dirpart/$fdir
  10515. - else
  10516. - as_dir=$dirpart/$fdir
  10517. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  10518. + s//\1/
  10519. + q
  10520. + }
  10521. + /^X\(\/\/\)[^/].*/{
  10522. + s//\1/
  10523. + q
  10524. + }
  10525. + /^X\(\/\/\)$/{
  10526. + s//\1/
  10527. + q
  10528. + }
  10529. + /^X\(\/\).*/{
  10530. + s//\1/
  10531. + q
  10532. + }
  10533. + s/.*/./; q'`
  10534. + { as_dir=$dirpart/$fdir
  10535. + case $as_dir in #(
  10536. + -*) as_dir=./$as_dir;;
  10537. + esac
  10538. + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  10539. as_dirs=
  10540. - while test ! -d "$as_dir"; do
  10541. - as_dirs="$as_dir $as_dirs"
  10542. - as_dir=`(dirname "$as_dir") 2>/dev/null ||
  10543. + while :; do
  10544. + case $as_dir in #(
  10545. + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  10546. + *) as_qdir=$as_dir;;
  10547. + esac
  10548. + as_dirs="'$as_qdir' $as_dirs"
  10549. + as_dir=`$as_dirname -- "$as_dir" ||
  10550. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  10551. X"$as_dir" : 'X\(//\)[^/]' \| \
  10552. X"$as_dir" : 'X\(//\)$' \| \
  10553. - X"$as_dir" : 'X\(/\)' \| \
  10554. - . : '\(.\)' 2>/dev/null ||
  10555. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  10556. echo X"$as_dir" |
  10557. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  10558. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  10559. - /^X\(\/\/\)$/{ s//\1/; q; }
  10560. - /^X\(\/\).*/{ s//\1/; q; }
  10561. - s/.*/./; q'`
  10562. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  10563. + s//\1/
  10564. + q
  10565. + }
  10566. + /^X\(\/\/\)[^/].*/{
  10567. + s//\1/
  10568. + q
  10569. + }
  10570. + /^X\(\/\/\)$/{
  10571. + s//\1/
  10572. + q
  10573. + }
  10574. + /^X\(\/\).*/{
  10575. + s//\1/
  10576. + q
  10577. + }
  10578. + s/.*/./; q'`
  10579. + test -d "$as_dir" && break
  10580. done
  10581. - test ! -n "$as_dirs" || mkdir $as_dirs
  10582. - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
  10583. -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
  10584. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  10585. + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  10586. +echo "$as_me: error: cannot create directory $as_dir" >&2;}
  10587. { (exit 1); exit 1; }; }; }
  10588. -
  10589. # echo "creating $dirpart/$file"
  10590. echo '# dummy' > "$dirpart/$file"
  10591. done
  10592. done
  10593. ;;
  10594. +
  10595. esac
  10596. -done
  10597. -_ACEOF
  10598. +done # for ac_tag
  10599. -cat >>$CONFIG_STATUS <<\_ACEOF
  10600. { (exit 0); exit 0; }
  10601. _ACEOF