1
0

patch-configure 287 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009
  1. --- sipsak-0.9.6.orig/configure 2006-01-28 22:11:34.000000000 +0100
  2. +++ sipsak-0.9.6/configure 2009-11-23 20:57:18.000000000 +0100
  3. @@ -1,27 +1,56 @@
  4. #! /bin/sh
  5. # Guess values for system-dependent variables and create Makefiles.
  6. -# Generated by GNU Autoconf 2.59 for sipsak 0.9.6.
  7. +# Generated by GNU Autoconf 2.61 for sipsak 0.9.6.
  8. #
  9. # Report bugs to <nils@sipsak.org>.
  10. #
  11. -# Copyright (C) 2003 Free Software Foundation, Inc.
  12. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  13. +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  14. # This configure script is free software; the Free Software Foundation
  15. # gives unlimited permission to copy, distribute and modify it.
  16. ## --------------------- ##
  17. ## M4sh Initialization. ##
  18. ## --------------------- ##
  19. -# Be Bourne compatible
  20. +# Be more Bourne compatible
  21. +DUALCASE=1; export DUALCASE # for MKS sh
  22. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  23. emulate sh
  24. NULLCMD=:
  25. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  26. # is contrary to our usage. Disable this feature.
  27. alias -g '${1+"$@"}'='"$@"'
  28. -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  29. - set -o posix
  30. + setopt NO_GLOB_SUBST
  31. +else
  32. + case `(set -o) 2>/dev/null` in
  33. + *posix*) set -o posix ;;
  34. +esac
  35. +
  36. +fi
  37. +
  38. +
  39. +
  40. +
  41. +# PATH needs CR
  42. +# Avoid depending upon Character Ranges.
  43. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  44. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  45. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  46. +as_cr_digits='0123456789'
  47. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  48. +
  49. +# The user is always right.
  50. +if test "${PATH_SEPARATOR+set}" != set; then
  51. + echo "#! /bin/sh" >conf$$.sh
  52. + echo "exit 0" >>conf$$.sh
  53. + chmod +x conf$$.sh
  54. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  55. + PATH_SEPARATOR=';'
  56. + else
  57. + PATH_SEPARATOR=:
  58. + fi
  59. + rm -f conf$$.sh
  60. fi
  61. -DUALCASE=1; export DUALCASE # for MKS sh
  62. # Support unset when possible.
  63. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  64. @@ -31,8 +60,43 @@ else
  65. fi
  66. +# IFS
  67. +# We need space, tab and new line, in precisely that order. Quoting is
  68. +# there to prevent editors from complaining about space-tab.
  69. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  70. +# splitting by setting IFS to empty value.)
  71. +as_nl='
  72. +'
  73. +IFS=" "" $as_nl"
  74. +
  75. +# Find who we are. Look in the path if we contain no directory separator.
  76. +case $0 in
  77. + *[\\/]* ) as_myself=$0 ;;
  78. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  79. +for as_dir in $PATH
  80. +do
  81. + IFS=$as_save_IFS
  82. + test -z "$as_dir" && as_dir=.
  83. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  84. +done
  85. +IFS=$as_save_IFS
  86. +
  87. + ;;
  88. +esac
  89. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  90. +# in which case we are not to be found in the path.
  91. +if test "x$as_myself" = x; then
  92. + as_myself=$0
  93. +fi
  94. +if test ! -f "$as_myself"; then
  95. + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  96. + { (exit 1); exit 1; }
  97. +fi
  98. +
  99. # Work around bugs in pre-3.0 UWIN ksh.
  100. -$as_unset ENV MAIL MAILPATH
  101. +for as_var in ENV MAIL MAILPATH
  102. +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  103. +done
  104. PS1='$ '
  105. PS2='> '
  106. PS4='+ '
  107. @@ -46,18 +110,19 @@ do
  108. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  109. eval $as_var=C; export $as_var
  110. else
  111. - $as_unset $as_var
  112. + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  113. fi
  114. done
  115. # Required to use basename.
  116. -if expr a : '\(a\)' >/dev/null 2>&1; then
  117. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  118. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  119. as_expr=expr
  120. else
  121. as_expr=false
  122. fi
  123. -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  124. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  125. as_basename=basename
  126. else
  127. as_basename=false
  128. @@ -65,157 +130,388 @@ fi
  129. # Name of the executable.
  130. -as_me=`$as_basename "$0" ||
  131. +as_me=`$as_basename -- "$0" ||
  132. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  133. X"$0" : 'X\(//\)$' \| \
  134. - X"$0" : 'X\(/\)$' \| \
  135. - . : '\(.\)' 2>/dev/null ||
  136. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  137. echo X/"$0" |
  138. - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  139. - /^X\/\(\/\/\)$/{ s//\1/; q; }
  140. - /^X\/\(\/\).*/{ s//\1/; q; }
  141. - s/.*/./; q'`
  142. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  143. + s//\1/
  144. + q
  145. + }
  146. + /^X\/\(\/\/\)$/{
  147. + s//\1/
  148. + q
  149. + }
  150. + /^X\/\(\/\).*/{
  151. + s//\1/
  152. + q
  153. + }
  154. + s/.*/./; q'`
  155. +# CDPATH.
  156. +$as_unset CDPATH
  157. -# PATH needs CR, and LINENO needs CR and PATH.
  158. -# Avoid depending upon Character Ranges.
  159. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  160. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  161. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  162. -as_cr_digits='0123456789'
  163. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  164. -# The user is always right.
  165. -if test "${PATH_SEPARATOR+set}" != set; then
  166. - echo "#! /bin/sh" >conf$$.sh
  167. - echo "exit 0" >>conf$$.sh
  168. - chmod +x conf$$.sh
  169. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  170. - PATH_SEPARATOR=';'
  171. - else
  172. - PATH_SEPARATOR=:
  173. - fi
  174. - rm -f conf$$.sh
  175. +if test "x$CONFIG_SHELL" = x; then
  176. + if (eval ":") 2>/dev/null; then
  177. + as_have_required=yes
  178. +else
  179. + as_have_required=no
  180. fi
  181. + if test $as_have_required = yes && (eval ":
  182. +(as_func_return () {
  183. + (exit \$1)
  184. +}
  185. +as_func_success () {
  186. + as_func_return 0
  187. +}
  188. +as_func_failure () {
  189. + as_func_return 1
  190. +}
  191. +as_func_ret_success () {
  192. + return 0
  193. +}
  194. +as_func_ret_failure () {
  195. + return 1
  196. +}
  197. +
  198. +exitcode=0
  199. +if as_func_success; then
  200. + :
  201. +else
  202. + exitcode=1
  203. + echo as_func_success failed.
  204. +fi
  205. - as_lineno_1=$LINENO
  206. - as_lineno_2=$LINENO
  207. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  208. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  209. - test "x$as_lineno_3" = "x$as_lineno_2" || {
  210. - # Find who we are. Look in the path if we contain no path at all
  211. - # relative or not.
  212. - case $0 in
  213. - *[\\/]* ) as_myself=$0 ;;
  214. - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  215. -for as_dir in $PATH
  216. -do
  217. - IFS=$as_save_IFS
  218. - test -z "$as_dir" && as_dir=.
  219. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  220. -done
  221. +if as_func_failure; then
  222. + exitcode=1
  223. + echo as_func_failure succeeded.
  224. +fi
  225. - ;;
  226. - esac
  227. - # We did not find ourselves, most probably we were run as `sh COMMAND'
  228. - # in which case we are not to be found in the path.
  229. - if test "x$as_myself" = x; then
  230. - as_myself=$0
  231. - fi
  232. - if test ! -f "$as_myself"; then
  233. - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  234. - { (exit 1); exit 1; }; }
  235. - fi
  236. - case $CONFIG_SHELL in
  237. - '')
  238. +if as_func_ret_success; then
  239. + :
  240. +else
  241. + exitcode=1
  242. + echo as_func_ret_success failed.
  243. +fi
  244. +
  245. +if as_func_ret_failure; then
  246. + exitcode=1
  247. + echo as_func_ret_failure succeeded.
  248. +fi
  249. +
  250. +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  251. + :
  252. +else
  253. + exitcode=1
  254. + echo positional parameters were not saved.
  255. +fi
  256. +
  257. +test \$exitcode = 0) || { (exit 1); exit 1; }
  258. +
  259. +(
  260. + as_lineno_1=\$LINENO
  261. + as_lineno_2=\$LINENO
  262. + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  263. + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  264. +") 2> /dev/null; then
  265. + :
  266. +else
  267. + as_candidate_shells=
  268. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  269. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  270. do
  271. IFS=$as_save_IFS
  272. test -z "$as_dir" && as_dir=.
  273. - for as_base in sh bash ksh sh5; do
  274. - case $as_dir in
  275. + case $as_dir in
  276. /*)
  277. - if ("$as_dir/$as_base" -c '
  278. + for as_base in sh bash ksh sh5; do
  279. + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  280. + done;;
  281. + esac
  282. +done
  283. +IFS=$as_save_IFS
  284. +
  285. +
  286. + for as_shell in $as_candidate_shells $SHELL; do
  287. + # Try only shells that exist, to save several forks.
  288. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  289. + { ("$as_shell") 2> /dev/null <<\_ASEOF
  290. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  291. + emulate sh
  292. + NULLCMD=:
  293. + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  294. + # is contrary to our usage. Disable this feature.
  295. + alias -g '${1+"$@"}'='"$@"'
  296. + setopt NO_GLOB_SUBST
  297. +else
  298. + case `(set -o) 2>/dev/null` in
  299. + *posix*) set -o posix ;;
  300. +esac
  301. +
  302. +fi
  303. +
  304. +
  305. +:
  306. +_ASEOF
  307. +}; then
  308. + CONFIG_SHELL=$as_shell
  309. + as_have_required=yes
  310. + if { "$as_shell" 2> /dev/null <<\_ASEOF
  311. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  312. + emulate sh
  313. + NULLCMD=:
  314. + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  315. + # is contrary to our usage. Disable this feature.
  316. + alias -g '${1+"$@"}'='"$@"'
  317. + setopt NO_GLOB_SUBST
  318. +else
  319. + case `(set -o) 2>/dev/null` in
  320. + *posix*) set -o posix ;;
  321. +esac
  322. +
  323. +fi
  324. +
  325. +
  326. +:
  327. +(as_func_return () {
  328. + (exit $1)
  329. +}
  330. +as_func_success () {
  331. + as_func_return 0
  332. +}
  333. +as_func_failure () {
  334. + as_func_return 1
  335. +}
  336. +as_func_ret_success () {
  337. + return 0
  338. +}
  339. +as_func_ret_failure () {
  340. + return 1
  341. +}
  342. +
  343. +exitcode=0
  344. +if as_func_success; then
  345. + :
  346. +else
  347. + exitcode=1
  348. + echo as_func_success failed.
  349. +fi
  350. +
  351. +if as_func_failure; then
  352. + exitcode=1
  353. + echo as_func_failure succeeded.
  354. +fi
  355. +
  356. +if as_func_ret_success; then
  357. + :
  358. +else
  359. + exitcode=1
  360. + echo as_func_ret_success failed.
  361. +fi
  362. +
  363. +if as_func_ret_failure; then
  364. + exitcode=1
  365. + echo as_func_ret_failure succeeded.
  366. +fi
  367. +
  368. +if ( set x; as_func_ret_success y && test x = "$1" ); then
  369. + :
  370. +else
  371. + exitcode=1
  372. + echo positional parameters were not saved.
  373. +fi
  374. +
  375. +test $exitcode = 0) || { (exit 1); exit 1; }
  376. +
  377. +(
  378. as_lineno_1=$LINENO
  379. as_lineno_2=$LINENO
  380. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  381. test "x$as_lineno_1" != "x$as_lineno_2" &&
  382. - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  383. - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  384. - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  385. - CONFIG_SHELL=$as_dir/$as_base
  386. - export CONFIG_SHELL
  387. - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  388. - fi;;
  389. - esac
  390. - done
  391. -done
  392. -;;
  393. - esac
  394. + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  395. +
  396. +_ASEOF
  397. +}; then
  398. + break
  399. +fi
  400. +
  401. +fi
  402. +
  403. + done
  404. +
  405. + if test "x$CONFIG_SHELL" != x; then
  406. + for as_var in BASH_ENV ENV
  407. + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  408. + done
  409. + export CONFIG_SHELL
  410. + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  411. +fi
  412. +
  413. +
  414. + if test $as_have_required = no; then
  415. + echo This script requires a shell more modern than all the
  416. + echo shells that I found on your system. Please install a
  417. + echo modern shell, or manually run the script under such a
  418. + echo shell if you do have one.
  419. + { (exit 1); exit 1; }
  420. +fi
  421. +
  422. +
  423. +fi
  424. +
  425. +fi
  426. +
  427. +
  428. +
  429. +(eval "as_func_return () {
  430. + (exit \$1)
  431. +}
  432. +as_func_success () {
  433. + as_func_return 0
  434. +}
  435. +as_func_failure () {
  436. + as_func_return 1
  437. +}
  438. +as_func_ret_success () {
  439. + return 0
  440. +}
  441. +as_func_ret_failure () {
  442. + return 1
  443. +}
  444. +
  445. +exitcode=0
  446. +if as_func_success; then
  447. + :
  448. +else
  449. + exitcode=1
  450. + echo as_func_success failed.
  451. +fi
  452. +
  453. +if as_func_failure; then
  454. + exitcode=1
  455. + echo as_func_failure succeeded.
  456. +fi
  457. +
  458. +if as_func_ret_success; then
  459. + :
  460. +else
  461. + exitcode=1
  462. + echo as_func_ret_success failed.
  463. +fi
  464. +
  465. +if as_func_ret_failure; then
  466. + exitcode=1
  467. + echo as_func_ret_failure succeeded.
  468. +fi
  469. +
  470. +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  471. + :
  472. +else
  473. + exitcode=1
  474. + echo positional parameters were not saved.
  475. +fi
  476. +
  477. +test \$exitcode = 0") || {
  478. + echo No shell found that supports shell functions.
  479. + echo Please tell autoconf@gnu.org about your system,
  480. + echo including any error possibly output before this
  481. + echo message
  482. +}
  483. +
  484. +
  485. +
  486. + as_lineno_1=$LINENO
  487. + as_lineno_2=$LINENO
  488. + test "x$as_lineno_1" != "x$as_lineno_2" &&
  489. + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  490. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  491. # uniformly replaced by the line number. The first 'sed' inserts a
  492. - # line-number line before each line; the second 'sed' does the real
  493. - # work. The second script uses 'N' to pair each line-number line
  494. - # with the numbered line, and appends trailing '-' during
  495. - # substitution so that $LINENO is not a special case at line end.
  496. + # line-number line after each line using $LINENO; the second 'sed'
  497. + # does the real work. The second script uses 'N' to pair each
  498. + # line-number line with the line containing $LINENO, and appends
  499. + # trailing '-' during substitution so that $LINENO is not a special
  500. + # case at line end.
  501. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  502. - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  503. - sed '=' <$as_myself |
  504. + # scripts with optimization help from Paolo Bonzini. Blame Lee
  505. + # E. McMahon (1931-1989) for sed's syntax. :-)
  506. + sed -n '
  507. + p
  508. + /[$]LINENO/=
  509. + ' <$as_myself |
  510. sed '
  511. + s/[$]LINENO.*/&-/
  512. + t lineno
  513. + b
  514. + :lineno
  515. N
  516. - s,$,-,
  517. - : loop
  518. - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  519. + :loop
  520. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  521. t loop
  522. - s,-$,,
  523. - s,^['$as_cr_digits']*\n,,
  524. + s/-\n.*//
  525. ' >$as_me.lineno &&
  526. - chmod +x $as_me.lineno ||
  527. + chmod +x "$as_me.lineno" ||
  528. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  529. { (exit 1); exit 1; }; }
  530. # Don't try to exec as it changes $[0], causing all sort of problems
  531. # (the dirname of $[0] is not the place where we might find the
  532. - # original and so on. Autoconf is especially sensible to this).
  533. - . ./$as_me.lineno
  534. + # original and so on. Autoconf is especially sensitive to this).
  535. + . "./$as_me.lineno"
  536. # Exit status is that of the last command.
  537. exit
  538. }
  539. -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  540. - *c*,-n*) ECHO_N= ECHO_C='
  541. -' ECHO_T=' ' ;;
  542. - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  543. - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  544. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  545. + as_dirname=dirname
  546. +else
  547. + as_dirname=false
  548. +fi
  549. +
  550. +ECHO_C= ECHO_N= ECHO_T=
  551. +case `echo -n x` in
  552. +-n*)
  553. + case `echo 'x\c'` in
  554. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  555. + *) ECHO_C='\c';;
  556. + esac;;
  557. +*)
  558. + ECHO_N='-n';;
  559. esac
  560. -if expr a : '\(a\)' >/dev/null 2>&1; then
  561. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  562. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  563. as_expr=expr
  564. else
  565. as_expr=false
  566. fi
  567. rm -f conf$$ conf$$.exe conf$$.file
  568. +if test -d conf$$.dir; then
  569. + rm -f conf$$.dir/conf$$.file
  570. +else
  571. + rm -f conf$$.dir
  572. + mkdir conf$$.dir
  573. +fi
  574. echo >conf$$.file
  575. if ln -s conf$$.file conf$$ 2>/dev/null; then
  576. - # We could just check for DJGPP; but this test a) works b) is more generic
  577. - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  578. - if test -f conf$$.exe; then
  579. - # Don't use ln at all; we don't have any links
  580. + as_ln_s='ln -s'
  581. + # ... but there are two gotchas:
  582. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  583. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  584. + # In both cases, we have to default to `cp -p'.
  585. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  586. as_ln_s='cp -p'
  587. - else
  588. - as_ln_s='ln -s'
  589. - fi
  590. elif ln conf$$.file conf$$ 2>/dev/null; then
  591. as_ln_s=ln
  592. else
  593. as_ln_s='cp -p'
  594. fi
  595. -rm -f conf$$ conf$$.exe conf$$.file
  596. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  597. +rmdir conf$$.dir 2>/dev/null
  598. if mkdir -p . 2>/dev/null; then
  599. as_mkdir_p=:
  600. @@ -224,7 +520,28 @@ else
  601. as_mkdir_p=false
  602. fi
  603. -as_executable_p="test -f"
  604. +if test -x / >/dev/null 2>&1; then
  605. + as_test_x='test -x'
  606. +else
  607. + if ls -dL / >/dev/null 2>&1; then
  608. + as_ls_L_option=L
  609. + else
  610. + as_ls_L_option=
  611. + fi
  612. + as_test_x='
  613. + eval sh -c '\''
  614. + if test -d "$1"; then
  615. + test -d "$1/.";
  616. + else
  617. + case $1 in
  618. + -*)set "./$1";;
  619. + esac;
  620. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  621. + ???[sx]*):;;*)false;;esac;fi
  622. + '\'' sh
  623. + '
  624. +fi
  625. +as_executable_p=$as_test_x
  626. # Sed expression to map a string onto a valid CPP name.
  627. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  628. @@ -233,39 +550,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
  629. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  630. -# IFS
  631. -# We need space, tab and new line, in precisely that order.
  632. -as_nl='
  633. -'
  634. -IFS=" $as_nl"
  635. -
  636. -# CDPATH.
  637. -$as_unset CDPATH
  638. +exec 7<&0 </dev/null 6>&1
  639. # Name of the host.
  640. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  641. # so uname gets run too.
  642. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  643. -exec 6>&1
  644. -
  645. #
  646. # Initializations.
  647. #
  648. ac_default_prefix=/usr/local
  649. +ac_clean_files=
  650. ac_config_libobj_dir=.
  651. +LIBOBJS=
  652. cross_compiling=no
  653. subdirs=
  654. MFLAGS=
  655. MAKEFLAGS=
  656. SHELL=${CONFIG_SHELL-/bin/sh}
  657. -# Maximum number of lines to put in a shell here document.
  658. -# This variable seems obsolete. It should probably be removed, and
  659. -# only ac_max_sed_lines should be used.
  660. -: ${ac_max_here_lines=38}
  661. -
  662. # Identity of this package.
  663. PACKAGE_NAME='sipsak'
  664. PACKAGE_TARNAME='sipsak'
  665. @@ -277,42 +582,146 @@ ac_unique_file="sipsak.c"
  666. # Factoring default headers for most tests.
  667. ac_includes_default="\
  668. #include <stdio.h>
  669. -#if HAVE_SYS_TYPES_H
  670. +#ifdef HAVE_SYS_TYPES_H
  671. # include <sys/types.h>
  672. #endif
  673. -#if HAVE_SYS_STAT_H
  674. +#ifdef HAVE_SYS_STAT_H
  675. # include <sys/stat.h>
  676. #endif
  677. -#if STDC_HEADERS
  678. +#ifdef STDC_HEADERS
  679. # include <stdlib.h>
  680. # include <stddef.h>
  681. #else
  682. -# if HAVE_STDLIB_H
  683. +# ifdef HAVE_STDLIB_H
  684. # include <stdlib.h>
  685. # endif
  686. #endif
  687. -#if HAVE_STRING_H
  688. -# if !STDC_HEADERS && HAVE_MEMORY_H
  689. +#ifdef HAVE_STRING_H
  690. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  691. # include <memory.h>
  692. # endif
  693. # include <string.h>
  694. #endif
  695. -#if HAVE_STRINGS_H
  696. +#ifdef HAVE_STRINGS_H
  697. # include <strings.h>
  698. #endif
  699. -#if HAVE_INTTYPES_H
  700. +#ifdef HAVE_INTTYPES_H
  701. # include <inttypes.h>
  702. -#else
  703. -# if HAVE_STDINT_H
  704. -# include <stdint.h>
  705. -# endif
  706. #endif
  707. -#if HAVE_UNISTD_H
  708. +#ifdef HAVE_STDINT_H
  709. +# include <stdint.h>
  710. +#endif
  711. +#ifdef HAVE_UNISTD_H
  712. # include <unistd.h>
  713. #endif"
  714. -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 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 DISTCC build build_cpu build_vendor build_os host host_cpu host_vendor host_os CPP EGREP LIBOBJS DISABLE_GNUTLS LIBGNUTLS_CONFIG LIBGNUTLS_CFLAGS LIBGNUTLS_LIBS SIPSAK_HAVE_ARES LTLIBOBJS'
  715. +ac_subst_vars='SHELL
  716. +PATH_SEPARATOR
  717. +PACKAGE_NAME
  718. +PACKAGE_TARNAME
  719. +PACKAGE_VERSION
  720. +PACKAGE_STRING
  721. +PACKAGE_BUGREPORT
  722. +exec_prefix
  723. +prefix
  724. +program_transform_name
  725. +bindir
  726. +sbindir
  727. +libexecdir
  728. +datarootdir
  729. +datadir
  730. +sysconfdir
  731. +sharedstatedir
  732. +localstatedir
  733. +includedir
  734. +oldincludedir
  735. +docdir
  736. +infodir
  737. +htmldir
  738. +dvidir
  739. +pdfdir
  740. +psdir
  741. +libdir
  742. +localedir
  743. +mandir
  744. +DEFS
  745. +ECHO_C
  746. +ECHO_N
  747. +ECHO_T
  748. +LIBS
  749. +build_alias
  750. +host_alias
  751. +target_alias
  752. +INSTALL_PROGRAM
  753. +INSTALL_SCRIPT
  754. +INSTALL_DATA
  755. +CYGPATH_W
  756. +PACKAGE
  757. +VERSION
  758. +ACLOCAL
  759. +AUTOCONF
  760. +AUTOMAKE
  761. +AUTOHEADER
  762. +MAKEINFO
  763. +install_sh
  764. +STRIP
  765. +INSTALL_STRIP_PROGRAM
  766. +mkdir_p
  767. +AWK
  768. +SET_MAKE
  769. +am__leading_dot
  770. +AMTAR
  771. +am__tar
  772. +am__untar
  773. +MAINTAINER_MODE_TRUE
  774. +MAINTAINER_MODE_FALSE
  775. +MAINT
  776. +CC
  777. +CFLAGS
  778. +LDFLAGS
  779. +CPPFLAGS
  780. +ac_ct_CC
  781. +EXEEXT
  782. +OBJEXT
  783. +DEPDIR
  784. +am__include
  785. +am__quote
  786. +AMDEP_TRUE
  787. +AMDEP_FALSE
  788. +AMDEPBACKSLASH
  789. +CCDEPMODE
  790. +am__fastdepCC_TRUE
  791. +am__fastdepCC_FALSE
  792. +DISTCC
  793. +build
  794. +build_cpu
  795. +build_vendor
  796. +build_os
  797. +host
  798. +host_cpu
  799. +host_vendor
  800. +host_os
  801. +CPP
  802. +GREP
  803. +EGREP
  804. +LIBOBJS
  805. +DISABLE_GNUTLS
  806. +LIBGNUTLS_CONFIG
  807. +LIBGNUTLS_CFLAGS
  808. +LIBGNUTLS_LIBS
  809. +SIPSAK_HAVE_ARES
  810. +LTLIBOBJS'
  811. ac_subst_files=''
  812. + ac_precious_vars='build_alias
  813. +host_alias
  814. +target_alias
  815. +CC
  816. +CFLAGS
  817. +LDFLAGS
  818. +LIBS
  819. +CPPFLAGS
  820. +CPP'
  821. +
  822. # Initialize some variables set by options.
  823. ac_init_help=
  824. @@ -339,34 +748,48 @@ x_libraries=NONE
  825. # and all the variables that are supposed to be based on exec_prefix
  826. # by default will actually change.
  827. # Use braces instead of parens because sh, perl, etc. also accept them.
  828. +# (The list follows the same order as the GNU Coding Standards.)
  829. bindir='${exec_prefix}/bin'
  830. sbindir='${exec_prefix}/sbin'
  831. libexecdir='${exec_prefix}/libexec'
  832. -datadir='${prefix}/share'
  833. +datarootdir='${prefix}/share'
  834. +datadir='${datarootdir}'
  835. sysconfdir='${prefix}/etc'
  836. sharedstatedir='${prefix}/com'
  837. localstatedir='${prefix}/var'
  838. -libdir='${exec_prefix}/lib'
  839. includedir='${prefix}/include'
  840. oldincludedir='/usr/include'
  841. -infodir='${prefix}/info'
  842. -mandir='${prefix}/man'
  843. +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  844. +infodir='${datarootdir}/info'
  845. +htmldir='${docdir}'
  846. +dvidir='${docdir}'
  847. +pdfdir='${docdir}'
  848. +psdir='${docdir}'
  849. +libdir='${exec_prefix}/lib'
  850. +localedir='${datarootdir}/locale'
  851. +mandir='${datarootdir}/man'
  852. ac_prev=
  853. +ac_dashdash=
  854. for ac_option
  855. do
  856. # If the previous option needs an argument, assign it.
  857. if test -n "$ac_prev"; then
  858. - eval "$ac_prev=\$ac_option"
  859. + eval $ac_prev=\$ac_option
  860. ac_prev=
  861. continue
  862. fi
  863. - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  864. + case $ac_option in
  865. + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  866. + *) ac_optarg=yes ;;
  867. + esac
  868. # Accept the important Cygnus configure options, so we can diagnose typos.
  869. - case $ac_option in
  870. + case $ac_dashdash$ac_option in
  871. + --)
  872. + ac_dashdash=yes ;;
  873. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  874. ac_prev=bindir ;;
  875. @@ -388,33 +811,45 @@ do
  876. --config-cache | -C)
  877. cache_file=config.cache ;;
  878. - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  879. + -datadir | --datadir | --datadi | --datad)
  880. ac_prev=datadir ;;
  881. - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  882. - | --da=*)
  883. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  884. datadir=$ac_optarg ;;
  885. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  886. + | --dataroo | --dataro | --datar)
  887. + ac_prev=datarootdir ;;
  888. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  889. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  890. + datarootdir=$ac_optarg ;;
  891. +
  892. -disable-* | --disable-*)
  893. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  894. # Reject names that are not valid shell variable names.
  895. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  896. + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  897. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  898. { (exit 1); exit 1; }; }
  899. - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  900. - eval "enable_$ac_feature=no" ;;
  901. + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  902. + eval enable_$ac_feature=no ;;
  903. +
  904. + -docdir | --docdir | --docdi | --doc | --do)
  905. + ac_prev=docdir ;;
  906. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  907. + docdir=$ac_optarg ;;
  908. +
  909. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  910. + ac_prev=dvidir ;;
  911. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  912. + dvidir=$ac_optarg ;;
  913. -enable-* | --enable-*)
  914. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  915. # Reject names that are not valid shell variable names.
  916. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  917. + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  918. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  919. { (exit 1); exit 1; }; }
  920. - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  921. - case $ac_option in
  922. - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  923. - *) ac_optarg=yes ;;
  924. - esac
  925. - eval "enable_$ac_feature='$ac_optarg'" ;;
  926. + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  927. + eval enable_$ac_feature=\$ac_optarg ;;
  928. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  929. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  930. @@ -441,6 +876,12 @@ do
  931. -host=* | --host=* | --hos=* | --ho=*)
  932. host_alias=$ac_optarg ;;
  933. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  934. + ac_prev=htmldir ;;
  935. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  936. + | --ht=*)
  937. + htmldir=$ac_optarg ;;
  938. +
  939. -includedir | --includedir | --includedi | --included | --include \
  940. | --includ | --inclu | --incl | --inc)
  941. ac_prev=includedir ;;
  942. @@ -465,13 +906,16 @@ do
  943. | --libexe=* | --libex=* | --libe=*)
  944. libexecdir=$ac_optarg ;;
  945. + -localedir | --localedir | --localedi | --localed | --locale)
  946. + ac_prev=localedir ;;
  947. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  948. + localedir=$ac_optarg ;;
  949. +
  950. -localstatedir | --localstatedir | --localstatedi | --localstated \
  951. - | --localstate | --localstat | --localsta | --localst \
  952. - | --locals | --local | --loca | --loc | --lo)
  953. + | --localstate | --localstat | --localsta | --localst | --locals)
  954. ac_prev=localstatedir ;;
  955. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  956. - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  957. - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  958. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  959. localstatedir=$ac_optarg ;;
  960. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  961. @@ -536,6 +980,16 @@ do
  962. | --progr-tra=* | --program-tr=* | --program-t=*)
  963. program_transform_name=$ac_optarg ;;
  964. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  965. + ac_prev=pdfdir ;;
  966. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  967. + pdfdir=$ac_optarg ;;
  968. +
  969. + -psdir | --psdir | --psdi | --psd | --ps)
  970. + ac_prev=psdir ;;
  971. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  972. + psdir=$ac_optarg ;;
  973. +
  974. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  975. | -silent | --silent | --silen | --sile | --sil)
  976. silent=yes ;;
  977. @@ -588,24 +1042,20 @@ do
  978. -with-* | --with-*)
  979. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  980. # Reject names that are not valid shell variable names.
  981. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  982. + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  983. { echo "$as_me: error: invalid package name: $ac_package" >&2
  984. { (exit 1); exit 1; }; }
  985. - ac_package=`echo $ac_package| sed 's/-/_/g'`
  986. - case $ac_option in
  987. - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  988. - *) ac_optarg=yes ;;
  989. - esac
  990. - eval "with_$ac_package='$ac_optarg'" ;;
  991. + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  992. + eval with_$ac_package=\$ac_optarg ;;
  993. -without-* | --without-*)
  994. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  995. # Reject names that are not valid shell variable names.
  996. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  997. + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  998. { echo "$as_me: error: invalid package name: $ac_package" >&2
  999. { (exit 1); exit 1; }; }
  1000. - ac_package=`echo $ac_package | sed 's/-/_/g'`
  1001. - eval "with_$ac_package=no" ;;
  1002. + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1003. + eval with_$ac_package=no ;;
  1004. --x)
  1005. # Obsolete; use --with-x.
  1006. @@ -636,8 +1086,7 @@ Try \`$0 --help' for more information."
  1007. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1008. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1009. { (exit 1); exit 1; }; }
  1010. - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  1011. - eval "$ac_envvar='$ac_optarg'"
  1012. + eval $ac_envvar=\$ac_optarg
  1013. export $ac_envvar ;;
  1014. *)
  1015. @@ -657,27 +1106,19 @@ if test -n "$ac_prev"; then
  1016. { (exit 1); exit 1; }; }
  1017. fi
  1018. -# Be sure to have absolute paths.
  1019. -for ac_var in exec_prefix prefix
  1020. -do
  1021. - eval ac_val=$`echo $ac_var`
  1022. - case $ac_val in
  1023. - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  1024. - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1025. - { (exit 1); exit 1; }; };;
  1026. - esac
  1027. -done
  1028. -
  1029. -# Be sure to have absolute paths.
  1030. -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  1031. - localstatedir libdir includedir oldincludedir infodir mandir
  1032. +# Be sure to have absolute directory names.
  1033. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1034. + datadir sysconfdir sharedstatedir localstatedir includedir \
  1035. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1036. + libdir localedir mandir
  1037. do
  1038. - eval ac_val=$`echo $ac_var`
  1039. + eval ac_val=\$$ac_var
  1040. case $ac_val in
  1041. - [\\/$]* | ?:[\\/]* ) ;;
  1042. - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1043. - { (exit 1); exit 1; }; };;
  1044. + [\\/$]* | ?:[\\/]* ) continue;;
  1045. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1046. esac
  1047. + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1048. + { (exit 1); exit 1; }; }
  1049. done
  1050. # There might be people who depend on the old broken behavior: `$host'
  1051. @@ -704,22 +1145,43 @@ test -n "$host_alias" && ac_tool_prefix=
  1052. test "$silent" = yes && exec 6>/dev/null
  1053. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1054. +ac_ls_di=`ls -di .` &&
  1055. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1056. + { echo "$as_me: error: Working directory cannot be determined" >&2
  1057. + { (exit 1); exit 1; }; }
  1058. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1059. + { echo "$as_me: error: pwd does not report name of working directory" >&2
  1060. + { (exit 1); exit 1; }; }
  1061. +
  1062. +
  1063. # Find the source files, if location was not specified.
  1064. if test -z "$srcdir"; then
  1065. ac_srcdir_defaulted=yes
  1066. - # Try the directory containing this script, then its parent.
  1067. - ac_confdir=`(dirname "$0") 2>/dev/null ||
  1068. + # Try the directory containing this script, then the parent directory.
  1069. + ac_confdir=`$as_dirname -- "$0" ||
  1070. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1071. X"$0" : 'X\(//\)[^/]' \| \
  1072. X"$0" : 'X\(//\)$' \| \
  1073. - X"$0" : 'X\(/\)' \| \
  1074. - . : '\(.\)' 2>/dev/null ||
  1075. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1076. echo X"$0" |
  1077. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  1078. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  1079. - /^X\(\/\/\)$/{ s//\1/; q; }
  1080. - /^X\(\/\).*/{ s//\1/; q; }
  1081. - s/.*/./; q'`
  1082. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1083. + s//\1/
  1084. + q
  1085. + }
  1086. + /^X\(\/\/\)[^/].*/{
  1087. + s//\1/
  1088. + q
  1089. + }
  1090. + /^X\(\/\/\)$/{
  1091. + s//\1/
  1092. + q
  1093. + }
  1094. + /^X\(\/\).*/{
  1095. + s//\1/
  1096. + q
  1097. + }
  1098. + s/.*/./; q'`
  1099. srcdir=$ac_confdir
  1100. if test ! -r "$srcdir/$ac_unique_file"; then
  1101. srcdir=..
  1102. @@ -728,50 +1190,31 @@ else
  1103. ac_srcdir_defaulted=no
  1104. fi
  1105. if test ! -r "$srcdir/$ac_unique_file"; then
  1106. - if test "$ac_srcdir_defaulted" = yes; then
  1107. - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  1108. - { (exit 1); exit 1; }; }
  1109. - else
  1110. - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1111. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1112. + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1113. { (exit 1); exit 1; }; }
  1114. - fi
  1115. fi
  1116. -(cd $srcdir && test -r "./$ac_unique_file") 2>/dev/null ||
  1117. - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  1118. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1119. +ac_abs_confdir=`(
  1120. + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1121. { (exit 1); exit 1; }; }
  1122. -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  1123. -ac_env_build_alias_set=${build_alias+set}
  1124. -ac_env_build_alias_value=$build_alias
  1125. -ac_cv_env_build_alias_set=${build_alias+set}
  1126. -ac_cv_env_build_alias_value=$build_alias
  1127. -ac_env_host_alias_set=${host_alias+set}
  1128. -ac_env_host_alias_value=$host_alias
  1129. -ac_cv_env_host_alias_set=${host_alias+set}
  1130. -ac_cv_env_host_alias_value=$host_alias
  1131. -ac_env_target_alias_set=${target_alias+set}
  1132. -ac_env_target_alias_value=$target_alias
  1133. -ac_cv_env_target_alias_set=${target_alias+set}
  1134. -ac_cv_env_target_alias_value=$target_alias
  1135. -ac_env_CC_set=${CC+set}
  1136. -ac_env_CC_value=$CC
  1137. -ac_cv_env_CC_set=${CC+set}
  1138. -ac_cv_env_CC_value=$CC
  1139. -ac_env_CFLAGS_set=${CFLAGS+set}
  1140. -ac_env_CFLAGS_value=$CFLAGS
  1141. -ac_cv_env_CFLAGS_set=${CFLAGS+set}
  1142. -ac_cv_env_CFLAGS_value=$CFLAGS
  1143. -ac_env_LDFLAGS_set=${LDFLAGS+set}
  1144. -ac_env_LDFLAGS_value=$LDFLAGS
  1145. -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  1146. -ac_cv_env_LDFLAGS_value=$LDFLAGS
  1147. -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  1148. -ac_env_CPPFLAGS_value=$CPPFLAGS
  1149. -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  1150. -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  1151. -ac_env_CPP_set=${CPP+set}
  1152. -ac_env_CPP_value=$CPP
  1153. -ac_cv_env_CPP_set=${CPP+set}
  1154. -ac_cv_env_CPP_value=$CPP
  1155. + pwd)`
  1156. +# When building in place, set srcdir=.
  1157. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  1158. + srcdir=.
  1159. +fi
  1160. +# Remove unnecessary trailing slashes from srcdir.
  1161. +# Double slashes in file names in object file debugging info
  1162. +# mess up M-x gdb in Emacs.
  1163. +case $srcdir in
  1164. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1165. +esac
  1166. +for ac_var in $ac_precious_vars; do
  1167. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1168. + eval ac_env_${ac_var}_value=\$${ac_var}
  1169. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1170. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1171. +done
  1172. #
  1173. # Report the --help message.
  1174. @@ -800,9 +1243,6 @@ Configuration:
  1175. -n, --no-create do not create output files
  1176. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1177. -_ACEOF
  1178. -
  1179. - cat <<_ACEOF
  1180. Installation directories:
  1181. --prefix=PREFIX install architecture-independent files in PREFIX
  1182. [$ac_default_prefix]
  1183. @@ -820,15 +1260,22 @@ Fine tuning of the installation director
  1184. --bindir=DIR user executables [EPREFIX/bin]
  1185. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1186. --libexecdir=DIR program executables [EPREFIX/libexec]
  1187. - --datadir=DIR read-only architecture-independent data [PREFIX/share]
  1188. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1189. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1190. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1191. --libdir=DIR object code libraries [EPREFIX/lib]
  1192. --includedir=DIR C header files [PREFIX/include]
  1193. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1194. - --infodir=DIR info documentation [PREFIX/info]
  1195. - --mandir=DIR man documentation [PREFIX/man]
  1196. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1197. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1198. + --infodir=DIR info documentation [DATAROOTDIR/info]
  1199. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1200. + --mandir=DIR man documentation [DATAROOTDIR/man]
  1201. + --docdir=DIR documentation root [DATAROOTDIR/doc/sipsak]
  1202. + --htmldir=DIR html documentation [DOCDIR]
  1203. + --dvidir=DIR dvi documentation [DOCDIR]
  1204. + --pdfdir=DIR pdf documentation [DOCDIR]
  1205. + --psdir=DIR ps documentation [DOCDIR]
  1206. _ACEOF
  1207. cat <<\_ACEOF
  1208. @@ -871,8 +1318,9 @@ Some influential environment variables:
  1209. CFLAGS C compiler flags
  1210. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1211. nonstandard directory <lib dir>
  1212. - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
  1213. - headers in a nonstandard directory <include dir>
  1214. + LIBS libraries to pass to the linker, e.g. -l<library>
  1215. + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1216. + you have headers in a nonstandard directory <include dir>
  1217. CPP C preprocessor
  1218. Use these variables to override the choices made by `configure' or to help
  1219. @@ -880,120 +1328,86 @@ it to find libraries and programs with n
  1220. Report bugs to <nils@sipsak.org>.
  1221. _ACEOF
  1222. +ac_status=$?
  1223. fi
  1224. if test "$ac_init_help" = "recursive"; then
  1225. # If there are subdirs, report their specific --help.
  1226. - ac_popdir=`pwd`
  1227. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1228. - test -d $ac_dir || continue
  1229. + test -d "$ac_dir" || continue
  1230. ac_builddir=.
  1231. -if test "$ac_dir" != .; then
  1232. +case "$ac_dir" in
  1233. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1234. +*)
  1235. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1236. - # A "../" for each directory in $ac_dir_suffix.
  1237. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  1238. -else
  1239. - ac_dir_suffix= ac_top_builddir=
  1240. -fi
  1241. + # A ".." for each directory in $ac_dir_suffix.
  1242. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1243. + case $ac_top_builddir_sub in
  1244. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1245. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1246. + esac ;;
  1247. +esac
  1248. +ac_abs_top_builddir=$ac_pwd
  1249. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1250. +# for backward compatibility:
  1251. +ac_top_builddir=$ac_top_build_prefix
  1252. case $srcdir in
  1253. - .) # No --srcdir option. We are building in place.
  1254. + .) # We are building in place.
  1255. ac_srcdir=.
  1256. - if test -z "$ac_top_builddir"; then
  1257. - ac_top_srcdir=.
  1258. - else
  1259. - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  1260. - fi ;;
  1261. - [\\/]* | ?:[\\/]* ) # Absolute path.
  1262. + ac_top_srcdir=$ac_top_builddir_sub
  1263. + ac_abs_top_srcdir=$ac_pwd ;;
  1264. + [\\/]* | ?:[\\/]* ) # Absolute name.
  1265. ac_srcdir=$srcdir$ac_dir_suffix;
  1266. - ac_top_srcdir=$srcdir ;;
  1267. - *) # Relative path.
  1268. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  1269. - ac_top_srcdir=$ac_top_builddir$srcdir ;;
  1270. -esac
  1271. -
  1272. -# Do not use `cd foo && pwd` to compute absolute paths, because
  1273. -# the directories may not exist.
  1274. -case `pwd` in
  1275. -.) ac_abs_builddir="$ac_dir";;
  1276. -*)
  1277. - case "$ac_dir" in
  1278. - .) ac_abs_builddir=`pwd`;;
  1279. - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  1280. - *) ac_abs_builddir=`pwd`/"$ac_dir";;
  1281. - esac;;
  1282. -esac
  1283. -case $ac_abs_builddir in
  1284. -.) ac_abs_top_builddir=${ac_top_builddir}.;;
  1285. -*)
  1286. - case ${ac_top_builddir}. in
  1287. - .) ac_abs_top_builddir=$ac_abs_builddir;;
  1288. - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  1289. - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  1290. - esac;;
  1291. -esac
  1292. -case $ac_abs_builddir in
  1293. -.) ac_abs_srcdir=$ac_srcdir;;
  1294. -*)
  1295. - case $ac_srcdir in
  1296. - .) ac_abs_srcdir=$ac_abs_builddir;;
  1297. - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  1298. - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  1299. - esac;;
  1300. -esac
  1301. -case $ac_abs_builddir in
  1302. -.) ac_abs_top_srcdir=$ac_top_srcdir;;
  1303. -*)
  1304. - case $ac_top_srcdir in
  1305. - .) ac_abs_top_srcdir=$ac_abs_builddir;;
  1306. - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  1307. - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  1308. - esac;;
  1309. + ac_top_srcdir=$srcdir
  1310. + ac_abs_top_srcdir=$srcdir ;;
  1311. + *) # Relative name.
  1312. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1313. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  1314. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1315. esac
  1316. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1317. - cd $ac_dir
  1318. - # Check for guested configure; otherwise get Cygnus style configure.
  1319. - if test -f $ac_srcdir/configure.gnu; then
  1320. - echo
  1321. - $SHELL $ac_srcdir/configure.gnu --help=recursive
  1322. - elif test -f $ac_srcdir/configure; then
  1323. - echo
  1324. - $SHELL $ac_srcdir/configure --help=recursive
  1325. - elif test -f $ac_srcdir/configure.ac ||
  1326. - test -f $ac_srcdir/configure.in; then
  1327. - echo
  1328. - $ac_configure --help
  1329. + cd "$ac_dir" || { ac_status=$?; continue; }
  1330. + # Check for guested configure.
  1331. + if test -f "$ac_srcdir/configure.gnu"; then
  1332. + echo &&
  1333. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1334. + elif test -f "$ac_srcdir/configure"; then
  1335. + echo &&
  1336. + $SHELL "$ac_srcdir/configure" --help=recursive
  1337. else
  1338. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1339. - fi
  1340. - cd $ac_popdir
  1341. + fi || ac_status=$?
  1342. + cd "$ac_pwd" || { ac_status=$?; break; }
  1343. done
  1344. fi
  1345. -test -n "$ac_init_help" && exit 0
  1346. +test -n "$ac_init_help" && exit $ac_status
  1347. if $ac_init_version; then
  1348. cat <<\_ACEOF
  1349. sipsak configure 0.9.6
  1350. -generated by GNU Autoconf 2.59
  1351. +generated by GNU Autoconf 2.61
  1352. -Copyright (C) 2003 Free Software Foundation, Inc.
  1353. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1354. +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1355. This configure script is free software; the Free Software Foundation
  1356. gives unlimited permission to copy, distribute and modify it.
  1357. _ACEOF
  1358. - exit 0
  1359. + exit
  1360. fi
  1361. -exec 5>config.log
  1362. -cat >&5 <<_ACEOF
  1363. +cat >config.log <<_ACEOF
  1364. This file contains any messages produced by compilers while
  1365. running configure, to aid debugging if configure makes a mistake.
  1366. It was created by sipsak $as_me 0.9.6, which was
  1367. -generated by GNU Autoconf 2.59. Invocation command line was
  1368. +generated by GNU Autoconf 2.61. Invocation command line was
  1369. $ $0 $@
  1370. _ACEOF
  1371. +exec 5>>config.log
  1372. {
  1373. cat <<_ASUNAME
  1374. ## --------- ##
  1375. @@ -1012,7 +1426,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
  1376. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1377. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1378. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1379. -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  1380. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1381. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1382. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1383. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1384. @@ -1026,6 +1440,7 @@ do
  1385. test -z "$as_dir" && as_dir=.
  1386. echo "PATH: $as_dir"
  1387. done
  1388. +IFS=$as_save_IFS
  1389. } >&5
  1390. @@ -1047,7 +1462,6 @@ _ACEOF
  1391. ac_configure_args=
  1392. ac_configure_args0=
  1393. ac_configure_args1=
  1394. -ac_sep=
  1395. ac_must_keep_next=false
  1396. for ac_pass in 1 2
  1397. do
  1398. @@ -1058,7 +1472,7 @@ do
  1399. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1400. | -silent | --silent | --silen | --sile | --sil)
  1401. continue ;;
  1402. - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1403. + *\'*)
  1404. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1405. esac
  1406. case $ac_pass in
  1407. @@ -1080,9 +1494,7 @@ do
  1408. -* ) ac_must_keep_next=true ;;
  1409. esac
  1410. fi
  1411. - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1412. - # Get rid of the leading space.
  1413. - ac_sep=" "
  1414. + ac_configure_args="$ac_configure_args '$ac_arg'"
  1415. ;;
  1416. esac
  1417. done
  1418. @@ -1093,8 +1505,8 @@ $as_unset ac_configure_args1 || test "${
  1419. # When interrupted or exit'd, cleanup temporary files, and complete
  1420. # config.log. We remove comments because anyway the quotes in there
  1421. # would cause problems or look ugly.
  1422. -# WARNING: Be sure not to use single quotes in there, as some shells,
  1423. -# such as our DU 5.0 friend, will then `close' the trap.
  1424. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  1425. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1426. trap 'exit_status=$?
  1427. # Save into config.log some information that might help in debugging.
  1428. {
  1429. @@ -1107,20 +1519,34 @@ trap 'exit_status=$?
  1430. _ASBOX
  1431. echo
  1432. # The following way of writing the cache mishandles newlines in values,
  1433. -{
  1434. +(
  1435. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1436. + eval ac_val=\$$ac_var
  1437. + case $ac_val in #(
  1438. + *${as_nl}*)
  1439. + case $ac_var in #(
  1440. + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1441. +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1442. + esac
  1443. + case $ac_var in #(
  1444. + _ | IFS | as_nl) ;; #(
  1445. + *) $as_unset $ac_var ;;
  1446. + esac ;;
  1447. + esac
  1448. + done
  1449. (set) 2>&1 |
  1450. - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1451. - *ac_space=\ *)
  1452. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1453. + *${as_nl}ac_space=\ *)
  1454. sed -n \
  1455. - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  1456. - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  1457. - ;;
  1458. + "s/'\''/'\''\\\\'\'''\''/g;
  1459. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1460. + ;; #(
  1461. *)
  1462. - sed -n \
  1463. - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1464. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1465. ;;
  1466. - esac;
  1467. -}
  1468. + esac |
  1469. + sort
  1470. +)
  1471. echo
  1472. cat <<\_ASBOX
  1473. @@ -1131,22 +1557,28 @@ _ASBOX
  1474. echo
  1475. for ac_var in $ac_subst_vars
  1476. do
  1477. - eval ac_val=$`echo $ac_var`
  1478. - echo "$ac_var='"'"'$ac_val'"'"'"
  1479. + eval ac_val=\$$ac_var
  1480. + case $ac_val in
  1481. + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1482. + esac
  1483. + echo "$ac_var='\''$ac_val'\''"
  1484. done | sort
  1485. echo
  1486. if test -n "$ac_subst_files"; then
  1487. cat <<\_ASBOX
  1488. -## ------------- ##
  1489. -## Output files. ##
  1490. -## ------------- ##
  1491. +## ------------------- ##
  1492. +## File substitutions. ##
  1493. +## ------------------- ##
  1494. _ASBOX
  1495. echo
  1496. for ac_var in $ac_subst_files
  1497. do
  1498. - eval ac_val=$`echo $ac_var`
  1499. - echo "$ac_var='"'"'$ac_val'"'"'"
  1500. + eval ac_val=\$$ac_var
  1501. + case $ac_val in
  1502. + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1503. + esac
  1504. + echo "$ac_var='\''$ac_val'\''"
  1505. done | sort
  1506. echo
  1507. fi
  1508. @@ -1158,26 +1590,24 @@ _ASBOX
  1509. ## ----------- ##
  1510. _ASBOX
  1511. echo
  1512. - sed "/^$/d" confdefs.h | sort
  1513. + cat confdefs.h
  1514. echo
  1515. fi
  1516. test "$ac_signal" != 0 &&
  1517. echo "$as_me: caught signal $ac_signal"
  1518. echo "$as_me: exit $exit_status"
  1519. } >&5
  1520. - rm -f core *.core &&
  1521. - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  1522. + rm -f core *.core core.conftest.* &&
  1523. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1524. exit $exit_status
  1525. - ' 0
  1526. +' 0
  1527. for ac_signal in 1 2 13 15; do
  1528. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1529. done
  1530. ac_signal=0
  1531. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1532. -rm -rf conftest* confdefs.h
  1533. -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1534. -echo >confdefs.h
  1535. +rm -f -r conftest* confdefs.h
  1536. # Predefined preprocessor variables.
  1537. @@ -1208,14 +1638,17 @@ _ACEOF
  1538. # Let the site file select an alternate cache file if it wants to.
  1539. # Prefer explicitly selected file to automatically selected ones.
  1540. -if test -z "$CONFIG_SITE"; then
  1541. - if test "x$prefix" != xNONE; then
  1542. - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1543. - else
  1544. - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1545. - fi
  1546. +if test -n "$CONFIG_SITE"; then
  1547. + set x "$CONFIG_SITE"
  1548. +elif test "x$prefix" != xNONE; then
  1549. + set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1550. +else
  1551. + set x "$ac_default_prefix/share/config.site" \
  1552. + "$ac_default_prefix/etc/config.site"
  1553. fi
  1554. -for ac_site_file in $CONFIG_SITE; do
  1555. +shift
  1556. +for ac_site_file
  1557. +do
  1558. if test -r "$ac_site_file"; then
  1559. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1560. echo "$as_me: loading site script $ac_site_file" >&6;}
  1561. @@ -1231,8 +1664,8 @@ if test -r "$cache_file"; then
  1562. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1563. echo "$as_me: loading cache $cache_file" >&6;}
  1564. case $cache_file in
  1565. - [\\/]* | ?:[\\/]* ) . $cache_file;;
  1566. - *) . ./$cache_file;;
  1567. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1568. + *) . "./$cache_file";;
  1569. esac
  1570. fi
  1571. else
  1572. @@ -1244,12 +1677,11 @@ fi
  1573. # Check that the precious variables saved in the cache have kept the same
  1574. # value.
  1575. ac_cache_corrupted=false
  1576. -for ac_var in `(set) 2>&1 |
  1577. - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1578. +for ac_var in $ac_precious_vars; do
  1579. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1580. eval ac_new_set=\$ac_env_${ac_var}_set
  1581. - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1582. - eval ac_new_val="\$ac_env_${ac_var}_value"
  1583. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1584. + eval ac_new_val=\$ac_env_${ac_var}_value
  1585. case $ac_old_set,$ac_new_set in
  1586. set,)
  1587. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1588. @@ -1274,8 +1706,7 @@ echo "$as_me: current value: $ac_new_v
  1589. # Pass precious variables to config.status.
  1590. if test "$ac_new_set" = set; then
  1591. case $ac_new_val in
  1592. - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1593. - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1594. + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1595. *) ac_arg=$ac_var=$ac_new_val ;;
  1596. esac
  1597. case " $ac_configure_args " in
  1598. @@ -1292,12 +1723,6 @@ echo "$as_me: error: run \`make distclea
  1599. { (exit 1); exit 1; }; }
  1600. fi
  1601. -ac_ext=c
  1602. -ac_cpp='$CPP $CPPFLAGS'
  1603. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1604. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1605. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1606. -
  1607. @@ -1322,33 +1747,44 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1608. +ac_ext=c
  1609. +ac_cpp='$CPP $CPPFLAGS'
  1610. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1611. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1612. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1613. am__api_version="1.9"
  1614. ac_aux_dir=
  1615. -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1616. - if test -f $ac_dir/install-sh; then
  1617. +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1618. + if test -f "$ac_dir/install-sh"; then
  1619. ac_aux_dir=$ac_dir
  1620. ac_install_sh="$ac_aux_dir/install-sh -c"
  1621. break
  1622. - elif test -f $ac_dir/install.sh; then
  1623. + elif test -f "$ac_dir/install.sh"; then
  1624. ac_aux_dir=$ac_dir
  1625. ac_install_sh="$ac_aux_dir/install.sh -c"
  1626. break
  1627. - elif test -f $ac_dir/shtool; then
  1628. + elif test -f "$ac_dir/shtool"; then
  1629. ac_aux_dir=$ac_dir
  1630. ac_install_sh="$ac_aux_dir/shtool install -c"
  1631. break
  1632. fi
  1633. done
  1634. if test -z "$ac_aux_dir"; then
  1635. - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  1636. -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
  1637. + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1638. +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1639. { (exit 1); exit 1; }; }
  1640. fi
  1641. -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1642. -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1643. -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  1644. +
  1645. +# These three variables are undocumented and unsupported,
  1646. +# and are intended to be withdrawn in a future Autoconf release.
  1647. +# They can cause serious problems if a builder's source tree is in a directory
  1648. +# whose full name contains unusual characters.
  1649. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  1650. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  1651. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  1652. +
  1653. # Find a good install program. We prefer a C program (faster),
  1654. # so one script is as good as another. But avoid the broken or
  1655. @@ -1363,8 +1799,8 @@ ac_configure="$SHELL $ac_aux_dir/configu
  1656. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1657. # OS/2's system install, which has a completely different semantic
  1658. # ./install, which can be erroneously created by make from ./install.sh.
  1659. -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1660. -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  1661. +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1662. +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  1663. if test -z "$INSTALL"; then
  1664. if test "${ac_cv_path_install+set}" = set; then
  1665. echo $ECHO_N "(cached) $ECHO_C" >&6
  1666. @@ -1386,7 +1822,7 @@ case $as_dir/ in
  1667. # by default.
  1668. for ac_prog in ginstall scoinst install; do
  1669. for ac_exec_ext in '' $ac_executable_extensions; do
  1670. - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  1671. + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1672. if test $ac_prog = install &&
  1673. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1674. # AIX install. It has an incompatible calling convention.
  1675. @@ -1405,21 +1841,22 @@ case $as_dir/ in
  1676. ;;
  1677. esac
  1678. done
  1679. +IFS=$as_save_IFS
  1680. fi
  1681. if test "${ac_cv_path_install+set}" = set; then
  1682. INSTALL=$ac_cv_path_install
  1683. else
  1684. - # As a last resort, use the slow shell script. We don't cache a
  1685. - # path for INSTALL within a source directory, because that will
  1686. + # As a last resort, use the slow shell script. Don't cache a
  1687. + # value for INSTALL within a source directory, because that will
  1688. # break other packages using the cache if that directory is
  1689. - # removed, or if the path is relative.
  1690. + # removed, or if the value is a relative name.
  1691. INSTALL=$ac_install_sh
  1692. fi
  1693. fi
  1694. -echo "$as_me:$LINENO: result: $INSTALL" >&5
  1695. -echo "${ECHO_T}$INSTALL" >&6
  1696. +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
  1697. +echo "${ECHO_T}$INSTALL" >&6; }
  1698. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1699. # It thinks the first close brace ends the variable substitution.
  1700. @@ -1429,8 +1866,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
  1701. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1702. -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1703. -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
  1704. +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1705. +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  1706. # Just in case
  1707. sleep 1
  1708. echo timestamp > conftest.file
  1709. @@ -1472,20 +1909,20 @@ echo "$as_me: error: newly created file
  1710. Check your system clock" >&2;}
  1711. { (exit 1); exit 1; }; }
  1712. fi
  1713. -echo "$as_me:$LINENO: result: yes" >&5
  1714. -echo "${ECHO_T}yes" >&6
  1715. +{ echo "$as_me:$LINENO: result: yes" >&5
  1716. +echo "${ECHO_T}yes" >&6; }
  1717. test "$program_prefix" != NONE &&
  1718. - program_transform_name="s,^,$program_prefix,;$program_transform_name"
  1719. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1720. # Use a double $ so make ignores it.
  1721. test "$program_suffix" != NONE &&
  1722. - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
  1723. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  1724. # Double any \ or $. echo might interpret backslashes.
  1725. # By default was `s,x,x', remove it if useless.
  1726. cat <<\_ACEOF >conftest.sed
  1727. s/[\\$]/&&/g;s/;s,x,x,$//
  1728. _ACEOF
  1729. program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1730. -rm conftest.sed
  1731. +rm -f conftest.sed
  1732. # expand $ac_aux_dir to an absolute path
  1733. am_aux_dir=`cd $ac_aux_dir && pwd`
  1734. @@ -1537,8 +1974,8 @@ for ac_prog in gawk mawk nawk awk
  1735. do
  1736. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1737. set dummy $ac_prog; ac_word=$2
  1738. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1739. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1740. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1741. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1742. if test "${ac_cv_prog_AWK+set}" = set; then
  1743. echo $ECHO_N "(cached) $ECHO_C" >&6
  1744. else
  1745. @@ -1551,54 +1988,57 @@ do
  1746. IFS=$as_save_IFS
  1747. test -z "$as_dir" && as_dir=.
  1748. for ac_exec_ext in '' $ac_executable_extensions; do
  1749. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1750. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1751. ac_cv_prog_AWK="$ac_prog"
  1752. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1753. break 2
  1754. fi
  1755. done
  1756. done
  1757. +IFS=$as_save_IFS
  1758. fi
  1759. fi
  1760. AWK=$ac_cv_prog_AWK
  1761. if test -n "$AWK"; then
  1762. - echo "$as_me:$LINENO: result: $AWK" >&5
  1763. -echo "${ECHO_T}$AWK" >&6
  1764. + { echo "$as_me:$LINENO: result: $AWK" >&5
  1765. +echo "${ECHO_T}$AWK" >&6; }
  1766. else
  1767. - echo "$as_me:$LINENO: result: no" >&5
  1768. -echo "${ECHO_T}no" >&6
  1769. + { echo "$as_me:$LINENO: result: no" >&5
  1770. +echo "${ECHO_T}no" >&6; }
  1771. fi
  1772. +
  1773. test -n "$AWK" && break
  1774. done
  1775. -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  1776. -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
  1777. -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
  1778. -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
  1779. +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  1780. +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  1781. +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  1782. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  1783. echo $ECHO_N "(cached) $ECHO_C" >&6
  1784. else
  1785. cat >conftest.make <<\_ACEOF
  1786. +SHELL = /bin/sh
  1787. all:
  1788. - @echo 'ac_maketemp="$(MAKE)"'
  1789. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  1790. _ACEOF
  1791. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1792. -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  1793. -if test -n "$ac_maketemp"; then
  1794. - eval ac_cv_prog_make_${ac_make}_set=yes
  1795. -else
  1796. - eval ac_cv_prog_make_${ac_make}_set=no
  1797. -fi
  1798. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  1799. + *@@@%%%=?*=@@@%%%*)
  1800. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  1801. + *)
  1802. + eval ac_cv_prog_make_${ac_make}_set=no;;
  1803. +esac
  1804. rm -f conftest.make
  1805. fi
  1806. -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  1807. - echo "$as_me:$LINENO: result: yes" >&5
  1808. -echo "${ECHO_T}yes" >&6
  1809. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  1810. + { echo "$as_me:$LINENO: result: yes" >&5
  1811. +echo "${ECHO_T}yes" >&6; }
  1812. SET_MAKE=
  1813. else
  1814. - echo "$as_me:$LINENO: result: no" >&5
  1815. -echo "${ECHO_T}no" >&6
  1816. + { echo "$as_me:$LINENO: result: no" >&5
  1817. +echo "${ECHO_T}no" >&6; }
  1818. SET_MAKE="MAKE=${MAKE-make}"
  1819. fi
  1820. @@ -1669,8 +2109,8 @@ if test "$cross_compiling" != no; then
  1821. if test -n "$ac_tool_prefix"; then
  1822. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1823. set dummy ${ac_tool_prefix}strip; ac_word=$2
  1824. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1825. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1826. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1827. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1828. if test "${ac_cv_prog_STRIP+set}" = set; then
  1829. echo $ECHO_N "(cached) $ECHO_C" >&6
  1830. else
  1831. @@ -1683,32 +2123,34 @@ do
  1832. IFS=$as_save_IFS
  1833. test -z "$as_dir" && as_dir=.
  1834. for ac_exec_ext in '' $ac_executable_extensions; do
  1835. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1836. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1837. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1838. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1839. break 2
  1840. fi
  1841. done
  1842. done
  1843. +IFS=$as_save_IFS
  1844. fi
  1845. fi
  1846. STRIP=$ac_cv_prog_STRIP
  1847. if test -n "$STRIP"; then
  1848. - echo "$as_me:$LINENO: result: $STRIP" >&5
  1849. -echo "${ECHO_T}$STRIP" >&6
  1850. + { echo "$as_me:$LINENO: result: $STRIP" >&5
  1851. +echo "${ECHO_T}$STRIP" >&6; }
  1852. else
  1853. - echo "$as_me:$LINENO: result: no" >&5
  1854. -echo "${ECHO_T}no" >&6
  1855. + { echo "$as_me:$LINENO: result: no" >&5
  1856. +echo "${ECHO_T}no" >&6; }
  1857. fi
  1858. +
  1859. fi
  1860. if test -z "$ac_cv_prog_STRIP"; then
  1861. ac_ct_STRIP=$STRIP
  1862. # Extract the first word of "strip", so it can be a program name with args.
  1863. set dummy strip; ac_word=$2
  1864. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1865. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1866. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1867. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1868. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  1869. echo $ECHO_N "(cached) $ECHO_C" >&6
  1870. else
  1871. @@ -1721,27 +2163,41 @@ do
  1872. IFS=$as_save_IFS
  1873. test -z "$as_dir" && as_dir=.
  1874. for ac_exec_ext in '' $ac_executable_extensions; do
  1875. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1876. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1877. ac_cv_prog_ac_ct_STRIP="strip"
  1878. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1879. break 2
  1880. fi
  1881. done
  1882. done
  1883. +IFS=$as_save_IFS
  1884. - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
  1885. fi
  1886. fi
  1887. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1888. if test -n "$ac_ct_STRIP"; then
  1889. - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  1890. -echo "${ECHO_T}$ac_ct_STRIP" >&6
  1891. + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  1892. +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  1893. else
  1894. - echo "$as_me:$LINENO: result: no" >&5
  1895. -echo "${ECHO_T}no" >&6
  1896. + { echo "$as_me:$LINENO: result: no" >&5
  1897. +echo "${ECHO_T}no" >&6; }
  1898. fi
  1899. - STRIP=$ac_ct_STRIP
  1900. + if test "x$ac_ct_STRIP" = x; then
  1901. + STRIP=":"
  1902. + else
  1903. + case $cross_compiling:$ac_tool_warned in
  1904. +yes:)
  1905. +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1906. +whose name does not start with the host triplet. If you think this
  1907. +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1908. +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1909. +whose name does not start with the host triplet. If you think this
  1910. +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1911. +ac_tool_warned=yes ;;
  1912. +esac
  1913. + STRIP=$ac_ct_STRIP
  1914. + fi
  1915. else
  1916. STRIP="$ac_cv_prog_STRIP"
  1917. fi
  1918. @@ -1761,17 +2217,17 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
  1919. -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  1920. -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
  1921. - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
  1922. +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  1923. +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
  1924. + # Check whether --enable-maintainer-mode was given.
  1925. if test "${enable_maintainer_mode+set}" = set; then
  1926. - enableval="$enable_maintainer_mode"
  1927. - USE_MAINTAINER_MODE=$enableval
  1928. + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  1929. else
  1930. USE_MAINTAINER_MODE=no
  1931. -fi;
  1932. - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  1933. -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
  1934. +fi
  1935. +
  1936. + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  1937. +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
  1938. if test $USE_MAINTAINER_MODE = yes; then
  1939. @@ -1786,7 +2242,7 @@ fi
  1940. - ac_config_headers="$ac_config_headers config.h"
  1941. +ac_config_headers="$ac_config_headers config.h"
  1942. # Checks for programs.
  1943. @@ -1798,8 +2254,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1944. if test -n "$ac_tool_prefix"; then
  1945. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1946. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1947. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1948. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1949. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1950. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1951. if test "${ac_cv_prog_CC+set}" = set; then
  1952. echo $ECHO_N "(cached) $ECHO_C" >&6
  1953. else
  1954. @@ -1812,32 +2268,34 @@ do
  1955. IFS=$as_save_IFS
  1956. test -z "$as_dir" && as_dir=.
  1957. for ac_exec_ext in '' $ac_executable_extensions; do
  1958. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1959. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1960. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1961. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1962. break 2
  1963. fi
  1964. done
  1965. done
  1966. +IFS=$as_save_IFS
  1967. fi
  1968. fi
  1969. CC=$ac_cv_prog_CC
  1970. if test -n "$CC"; then
  1971. - echo "$as_me:$LINENO: result: $CC" >&5
  1972. -echo "${ECHO_T}$CC" >&6
  1973. + { echo "$as_me:$LINENO: result: $CC" >&5
  1974. +echo "${ECHO_T}$CC" >&6; }
  1975. else
  1976. - echo "$as_me:$LINENO: result: no" >&5
  1977. -echo "${ECHO_T}no" >&6
  1978. + { echo "$as_me:$LINENO: result: no" >&5
  1979. +echo "${ECHO_T}no" >&6; }
  1980. fi
  1981. +
  1982. fi
  1983. if test -z "$ac_cv_prog_CC"; then
  1984. ac_ct_CC=$CC
  1985. # Extract the first word of "gcc", so it can be a program name with args.
  1986. set dummy gcc; ac_word=$2
  1987. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1988. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1989. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1990. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1991. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1992. echo $ECHO_N "(cached) $ECHO_C" >&6
  1993. else
  1994. @@ -1850,36 +2308,51 @@ do
  1995. IFS=$as_save_IFS
  1996. test -z "$as_dir" && as_dir=.
  1997. for ac_exec_ext in '' $ac_executable_extensions; do
  1998. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1999. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2000. ac_cv_prog_ac_ct_CC="gcc"
  2001. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2002. break 2
  2003. fi
  2004. done
  2005. done
  2006. +IFS=$as_save_IFS
  2007. fi
  2008. fi
  2009. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2010. if test -n "$ac_ct_CC"; then
  2011. - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2012. -echo "${ECHO_T}$ac_ct_CC" >&6
  2013. + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2014. +echo "${ECHO_T}$ac_ct_CC" >&6; }
  2015. else
  2016. - echo "$as_me:$LINENO: result: no" >&5
  2017. -echo "${ECHO_T}no" >&6
  2018. + { echo "$as_me:$LINENO: result: no" >&5
  2019. +echo "${ECHO_T}no" >&6; }
  2020. fi
  2021. - CC=$ac_ct_CC
  2022. + if test "x$ac_ct_CC" = x; then
  2023. + CC=""
  2024. + else
  2025. + case $cross_compiling:$ac_tool_warned in
  2026. +yes:)
  2027. +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2028. +whose name does not start with the host triplet. If you think this
  2029. +configuration is useful to you, please write to autoconf@gnu.org." >&5
  2030. +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2031. +whose name does not start with the host triplet. If you think this
  2032. +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2033. +ac_tool_warned=yes ;;
  2034. +esac
  2035. + CC=$ac_ct_CC
  2036. + fi
  2037. else
  2038. CC="$ac_cv_prog_CC"
  2039. fi
  2040. if test -z "$CC"; then
  2041. - if test -n "$ac_tool_prefix"; then
  2042. - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2043. + if test -n "$ac_tool_prefix"; then
  2044. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2045. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2046. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  2047. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2048. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  2049. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2050. if test "${ac_cv_prog_CC+set}" = set; then
  2051. echo $ECHO_N "(cached) $ECHO_C" >&6
  2052. else
  2053. @@ -1892,74 +2365,34 @@ do
  2054. IFS=$as_save_IFS
  2055. test -z "$as_dir" && as_dir=.
  2056. for ac_exec_ext in '' $ac_executable_extensions; do
  2057. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2058. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2059. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2060. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2061. break 2
  2062. fi
  2063. done
  2064. done
  2065. +IFS=$as_save_IFS
  2066. fi
  2067. fi
  2068. CC=$ac_cv_prog_CC
  2069. if test -n "$CC"; then
  2070. - echo "$as_me:$LINENO: result: $CC" >&5
  2071. -echo "${ECHO_T}$CC" >&6
  2072. -else
  2073. - echo "$as_me:$LINENO: result: no" >&5
  2074. -echo "${ECHO_T}no" >&6
  2075. -fi
  2076. -
  2077. -fi
  2078. -if test -z "$ac_cv_prog_CC"; then
  2079. - ac_ct_CC=$CC
  2080. - # Extract the first word of "cc", so it can be a program name with args.
  2081. -set dummy cc; ac_word=$2
  2082. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  2083. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2084. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2085. - echo $ECHO_N "(cached) $ECHO_C" >&6
  2086. -else
  2087. - if test -n "$ac_ct_CC"; then
  2088. - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2089. -else
  2090. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2091. -for as_dir in $PATH
  2092. -do
  2093. - IFS=$as_save_IFS
  2094. - test -z "$as_dir" && as_dir=.
  2095. - for ac_exec_ext in '' $ac_executable_extensions; do
  2096. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2097. - ac_cv_prog_ac_ct_CC="cc"
  2098. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2099. - break 2
  2100. - fi
  2101. -done
  2102. -done
  2103. -
  2104. -fi
  2105. -fi
  2106. -ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2107. -if test -n "$ac_ct_CC"; then
  2108. - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2109. -echo "${ECHO_T}$ac_ct_CC" >&6
  2110. + { echo "$as_me:$LINENO: result: $CC" >&5
  2111. +echo "${ECHO_T}$CC" >&6; }
  2112. else
  2113. - echo "$as_me:$LINENO: result: no" >&5
  2114. -echo "${ECHO_T}no" >&6
  2115. + { echo "$as_me:$LINENO: result: no" >&5
  2116. +echo "${ECHO_T}no" >&6; }
  2117. fi
  2118. - CC=$ac_ct_CC
  2119. -else
  2120. - CC="$ac_cv_prog_CC"
  2121. -fi
  2122. + fi
  2123. fi
  2124. if test -z "$CC"; then
  2125. # Extract the first word of "cc", so it can be a program name with args.
  2126. set dummy cc; ac_word=$2
  2127. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  2128. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2129. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  2130. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2131. if test "${ac_cv_prog_CC+set}" = set; then
  2132. echo $ECHO_N "(cached) $ECHO_C" >&6
  2133. else
  2134. @@ -1973,7 +2406,7 @@ do
  2135. IFS=$as_save_IFS
  2136. test -z "$as_dir" && as_dir=.
  2137. for ac_exec_ext in '' $ac_executable_extensions; do
  2138. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2139. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2140. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2141. ac_prog_rejected=yes
  2142. continue
  2143. @@ -1984,6 +2417,7 @@ do
  2144. fi
  2145. done
  2146. done
  2147. +IFS=$as_save_IFS
  2148. if test $ac_prog_rejected = yes; then
  2149. # We found a bogon in the path, so make sure we never use it.
  2150. @@ -2001,22 +2435,23 @@ fi
  2151. fi
  2152. CC=$ac_cv_prog_CC
  2153. if test -n "$CC"; then
  2154. - echo "$as_me:$LINENO: result: $CC" >&5
  2155. -echo "${ECHO_T}$CC" >&6
  2156. + { echo "$as_me:$LINENO: result: $CC" >&5
  2157. +echo "${ECHO_T}$CC" >&6; }
  2158. else
  2159. - echo "$as_me:$LINENO: result: no" >&5
  2160. -echo "${ECHO_T}no" >&6
  2161. + { echo "$as_me:$LINENO: result: no" >&5
  2162. +echo "${ECHO_T}no" >&6; }
  2163. fi
  2164. +
  2165. fi
  2166. if test -z "$CC"; then
  2167. if test -n "$ac_tool_prefix"; then
  2168. - for ac_prog in cl
  2169. + for ac_prog in cl.exe
  2170. do
  2171. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2172. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2173. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  2174. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2175. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  2176. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2177. if test "${ac_cv_prog_CC+set}" = set; then
  2178. echo $ECHO_N "(cached) $ECHO_C" >&6
  2179. else
  2180. @@ -2029,36 +2464,38 @@ do
  2181. IFS=$as_save_IFS
  2182. test -z "$as_dir" && as_dir=.
  2183. for ac_exec_ext in '' $ac_executable_extensions; do
  2184. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2185. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2186. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2187. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2188. break 2
  2189. fi
  2190. done
  2191. done
  2192. +IFS=$as_save_IFS
  2193. fi
  2194. fi
  2195. CC=$ac_cv_prog_CC
  2196. if test -n "$CC"; then
  2197. - echo "$as_me:$LINENO: result: $CC" >&5
  2198. -echo "${ECHO_T}$CC" >&6
  2199. + { echo "$as_me:$LINENO: result: $CC" >&5
  2200. +echo "${ECHO_T}$CC" >&6; }
  2201. else
  2202. - echo "$as_me:$LINENO: result: no" >&5
  2203. -echo "${ECHO_T}no" >&6
  2204. + { echo "$as_me:$LINENO: result: no" >&5
  2205. +echo "${ECHO_T}no" >&6; }
  2206. fi
  2207. +
  2208. test -n "$CC" && break
  2209. done
  2210. fi
  2211. if test -z "$CC"; then
  2212. ac_ct_CC=$CC
  2213. - for ac_prog in cl
  2214. + for ac_prog in cl.exe
  2215. do
  2216. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2217. set dummy $ac_prog; ac_word=$2
  2218. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  2219. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2220. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  2221. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2222. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2223. echo $ECHO_N "(cached) $ECHO_C" >&6
  2224. else
  2225. @@ -2071,29 +2508,45 @@ do
  2226. IFS=$as_save_IFS
  2227. test -z "$as_dir" && as_dir=.
  2228. for ac_exec_ext in '' $ac_executable_extensions; do
  2229. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2230. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2231. ac_cv_prog_ac_ct_CC="$ac_prog"
  2232. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2233. break 2
  2234. fi
  2235. done
  2236. done
  2237. +IFS=$as_save_IFS
  2238. fi
  2239. fi
  2240. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2241. if test -n "$ac_ct_CC"; then
  2242. - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2243. -echo "${ECHO_T}$ac_ct_CC" >&6
  2244. + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2245. +echo "${ECHO_T}$ac_ct_CC" >&6; }
  2246. else
  2247. - echo "$as_me:$LINENO: result: no" >&5
  2248. -echo "${ECHO_T}no" >&6
  2249. + { echo "$as_me:$LINENO: result: no" >&5
  2250. +echo "${ECHO_T}no" >&6; }
  2251. fi
  2252. +
  2253. test -n "$ac_ct_CC" && break
  2254. done
  2255. - CC=$ac_ct_CC
  2256. + if test "x$ac_ct_CC" = x; then
  2257. + CC=""
  2258. + else
  2259. + case $cross_compiling:$ac_tool_warned in
  2260. +yes:)
  2261. +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2262. +whose name does not start with the host triplet. If you think this
  2263. +configuration is useful to you, please write to autoconf@gnu.org." >&5
  2264. +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2265. +whose name does not start with the host triplet. If you think this
  2266. +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2267. +ac_tool_warned=yes ;;
  2268. +esac
  2269. + CC=$ac_ct_CC
  2270. + fi
  2271. fi
  2272. fi
  2273. @@ -2106,21 +2559,35 @@ See \`config.log' for more details." >&2
  2274. { (exit 1); exit 1; }; }
  2275. # Provide some information about the compiler.
  2276. -echo "$as_me:$LINENO:" \
  2277. - "checking for C compiler version" >&5
  2278. +echo "$as_me:$LINENO: checking for C compiler version" >&5
  2279. ac_compiler=`set X $ac_compile; echo $2`
  2280. -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  2281. - (eval $ac_compiler --version </dev/null >&5) 2>&5
  2282. +{ (ac_try="$ac_compiler --version >&5"
  2283. +case "(($ac_try" in
  2284. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2285. + *) ac_try_echo=$ac_try;;
  2286. +esac
  2287. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2288. + (eval "$ac_compiler --version >&5") 2>&5
  2289. ac_status=$?
  2290. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2291. (exit $ac_status); }
  2292. -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  2293. - (eval $ac_compiler -v </dev/null >&5) 2>&5
  2294. +{ (ac_try="$ac_compiler -v >&5"
  2295. +case "(($ac_try" in
  2296. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2297. + *) ac_try_echo=$ac_try;;
  2298. +esac
  2299. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2300. + (eval "$ac_compiler -v >&5") 2>&5
  2301. ac_status=$?
  2302. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2303. (exit $ac_status); }
  2304. -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  2305. - (eval $ac_compiler -V </dev/null >&5) 2>&5
  2306. +{ (ac_try="$ac_compiler -V >&5"
  2307. +case "(($ac_try" in
  2308. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2309. + *) ac_try_echo=$ac_try;;
  2310. +esac
  2311. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2312. + (eval "$ac_compiler -V >&5") 2>&5
  2313. ac_status=$?
  2314. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2315. (exit $ac_status); }
  2316. @@ -2145,47 +2612,77 @@ ac_clean_files="$ac_clean_files a.out a.
  2317. # Try to create an executable without -o first, disregard a.out.
  2318. # It will help us diagnose broken compilers, and finding out an intuition
  2319. # of exeext.
  2320. -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2321. -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
  2322. +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2323. +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2324. ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2325. -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  2326. - (eval $ac_link_default) 2>&5
  2327. +#
  2328. +# List of possible output files, starting from the most likely.
  2329. +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2330. +# only as a last resort. b.out is created by i960 compilers.
  2331. +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2332. +#
  2333. +# The IRIX 6 linker writes into existing files which may not be
  2334. +# executable, retaining their permissions. Remove them first so a
  2335. +# subsequent execution test works.
  2336. +ac_rmfiles=
  2337. +for ac_file in $ac_files
  2338. +do
  2339. + case $ac_file in
  2340. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2341. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2342. + esac
  2343. +done
  2344. +rm -f $ac_rmfiles
  2345. +
  2346. +if { (ac_try="$ac_link_default"
  2347. +case "(($ac_try" in
  2348. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2349. + *) ac_try_echo=$ac_try;;
  2350. +esac
  2351. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2352. + (eval "$ac_link_default") 2>&5
  2353. ac_status=$?
  2354. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2355. (exit $ac_status); }; then
  2356. - # Find the output, starting from the most likely. This scheme is
  2357. -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
  2358. -# resort.
  2359. -
  2360. -# Be careful to initialize this variable, since it used to be cached.
  2361. -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  2362. -ac_cv_exeext=
  2363. -# b.out is created by i960 compilers.
  2364. -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
  2365. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2366. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2367. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  2368. +# so that the user can short-circuit this test for compilers unknown to
  2369. +# Autoconf.
  2370. +for ac_file in $ac_files ''
  2371. do
  2372. test -f "$ac_file" || continue
  2373. case $ac_file in
  2374. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  2375. - ;;
  2376. - conftest.$ac_ext )
  2377. - # This is the source file.
  2378. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2379. ;;
  2380. [ab].out )
  2381. # We found the default executable, but exeext='' is most
  2382. # certainly right.
  2383. break;;
  2384. *.* )
  2385. - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2386. - # FIXME: I believe we export ac_cv_exeext for Libtool,
  2387. - # but it would be cool to find out if it's true. Does anybody
  2388. - # maintain Libtool? --akim.
  2389. - export ac_cv_exeext
  2390. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2391. + then :; else
  2392. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2393. + fi
  2394. + # We set ac_cv_exeext here because the later test for it is not
  2395. + # safe: cross compilers may not add the suffix if given an `-o'
  2396. + # argument, so we may need to know it at that point already.
  2397. + # Even if this section looks crufty: it has the advantage of
  2398. + # actually working.
  2399. break;;
  2400. * )
  2401. break;;
  2402. esac
  2403. done
  2404. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  2405. +
  2406. else
  2407. + ac_file=''
  2408. +fi
  2409. +
  2410. +{ echo "$as_me:$LINENO: result: $ac_file" >&5
  2411. +echo "${ECHO_T}$ac_file" >&6; }
  2412. +if test -z "$ac_file"; then
  2413. echo "$as_me: failed program was:" >&5
  2414. sed 's/^/| /' conftest.$ac_ext >&5
  2415. @@ -2197,19 +2694,21 @@ See \`config.log' for more details." >&2
  2416. fi
  2417. ac_exeext=$ac_cv_exeext
  2418. -echo "$as_me:$LINENO: result: $ac_file" >&5
  2419. -echo "${ECHO_T}$ac_file" >&6
  2420. -# Check the compiler produces executables we can run. If not, either
  2421. +# Check that the compiler produces executables we can run. If not, either
  2422. # the compiler is broken, or we cross compile.
  2423. -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2424. -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  2425. +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2426. +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  2427. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2428. # If not cross compiling, check that we can run a simple program.
  2429. if test "$cross_compiling" != yes; then
  2430. if { ac_try='./$ac_file'
  2431. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2432. - (eval $ac_try) 2>&5
  2433. + { (case "(($ac_try" in
  2434. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2435. + *) ac_try_echo=$ac_try;;
  2436. +esac
  2437. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2438. + (eval "$ac_try") 2>&5
  2439. ac_status=$?
  2440. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2441. (exit $ac_status); }; }; then
  2442. @@ -2228,22 +2727,27 @@ See \`config.log' for more details." >&2
  2443. fi
  2444. fi
  2445. fi
  2446. -echo "$as_me:$LINENO: result: yes" >&5
  2447. -echo "${ECHO_T}yes" >&6
  2448. +{ echo "$as_me:$LINENO: result: yes" >&5
  2449. +echo "${ECHO_T}yes" >&6; }
  2450. rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2451. ac_clean_files=$ac_clean_files_save
  2452. -# Check the compiler produces executables we can run. If not, either
  2453. +# Check that the compiler produces executables we can run. If not, either
  2454. # the compiler is broken, or we cross compile.
  2455. -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2456. -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
  2457. -echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2458. -echo "${ECHO_T}$cross_compiling" >&6
  2459. +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2460. +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  2461. +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2462. +echo "${ECHO_T}$cross_compiling" >&6; }
  2463. -echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2464. -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
  2465. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2466. - (eval $ac_link) 2>&5
  2467. +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2468. +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  2469. +if { (ac_try="$ac_link"
  2470. +case "(($ac_try" in
  2471. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2472. + *) ac_try_echo=$ac_try;;
  2473. +esac
  2474. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2475. + (eval "$ac_link") 2>&5
  2476. ac_status=$?
  2477. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2478. (exit $ac_status); }; then
  2479. @@ -2254,9 +2758,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
  2480. for ac_file in conftest.exe conftest conftest.*; do
  2481. test -f "$ac_file" || continue
  2482. case $ac_file in
  2483. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  2484. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2485. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2486. - export ac_cv_exeext
  2487. break;;
  2488. * ) break;;
  2489. esac
  2490. @@ -2270,14 +2773,14 @@ See \`config.log' for more details." >&2
  2491. fi
  2492. rm -f conftest$ac_cv_exeext
  2493. -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2494. -echo "${ECHO_T}$ac_cv_exeext" >&6
  2495. +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2496. +echo "${ECHO_T}$ac_cv_exeext" >&6; }
  2497. rm -f conftest.$ac_ext
  2498. EXEEXT=$ac_cv_exeext
  2499. ac_exeext=$EXEEXT
  2500. -echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2501. -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
  2502. +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2503. +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  2504. if test "${ac_cv_objext+set}" = set; then
  2505. echo $ECHO_N "(cached) $ECHO_C" >&6
  2506. else
  2507. @@ -2297,14 +2800,20 @@ main ()
  2508. }
  2509. _ACEOF
  2510. rm -f conftest.o conftest.obj
  2511. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2512. - (eval $ac_compile) 2>&5
  2513. +if { (ac_try="$ac_compile"
  2514. +case "(($ac_try" in
  2515. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2516. + *) ac_try_echo=$ac_try;;
  2517. +esac
  2518. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2519. + (eval "$ac_compile") 2>&5
  2520. ac_status=$?
  2521. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2522. (exit $ac_status); }; then
  2523. - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  2524. + for ac_file in conftest.o conftest.obj conftest.*; do
  2525. + test -f "$ac_file" || continue;
  2526. case $ac_file in
  2527. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
  2528. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  2529. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2530. break;;
  2531. esac
  2532. @@ -2322,12 +2831,12 @@ fi
  2533. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2534. fi
  2535. -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2536. -echo "${ECHO_T}$ac_cv_objext" >&6
  2537. +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2538. +echo "${ECHO_T}$ac_cv_objext" >&6; }
  2539. OBJEXT=$ac_cv_objext
  2540. ac_objext=$OBJEXT
  2541. -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2542. -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  2543. +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2544. +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  2545. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2546. echo $ECHO_N "(cached) $ECHO_C" >&6
  2547. else
  2548. @@ -2350,50 +2859,49 @@ main ()
  2549. }
  2550. _ACEOF
  2551. rm -f conftest.$ac_objext
  2552. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2553. - (eval $ac_compile) 2>conftest.er1
  2554. +if { (ac_try="$ac_compile"
  2555. +case "(($ac_try" in
  2556. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2557. + *) ac_try_echo=$ac_try;;
  2558. +esac
  2559. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2560. + (eval "$ac_compile") 2>conftest.er1
  2561. ac_status=$?
  2562. grep -v '^ *+' conftest.er1 >conftest.err
  2563. rm -f conftest.er1
  2564. cat conftest.err >&5
  2565. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2566. - (exit $ac_status); } &&
  2567. - { ac_try='test -z "$ac_c_werror_flag"
  2568. - || test ! -s conftest.err'
  2569. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2570. - (eval $ac_try) 2>&5
  2571. - ac_status=$?
  2572. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2573. - (exit $ac_status); }; } &&
  2574. - { ac_try='test -s conftest.$ac_objext'
  2575. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2576. - (eval $ac_try) 2>&5
  2577. - ac_status=$?
  2578. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2579. - (exit $ac_status); }; }; then
  2580. + (exit $ac_status); } && {
  2581. + test -z "$ac_c_werror_flag" ||
  2582. + test ! -s conftest.err
  2583. + } && test -s conftest.$ac_objext; then
  2584. ac_compiler_gnu=yes
  2585. else
  2586. echo "$as_me: failed program was:" >&5
  2587. sed 's/^/| /' conftest.$ac_ext >&5
  2588. -ac_compiler_gnu=no
  2589. + ac_compiler_gnu=no
  2590. fi
  2591. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2592. +
  2593. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2594. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2595. fi
  2596. -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2597. -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  2598. +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2599. +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  2600. GCC=`test $ac_compiler_gnu = yes && echo yes`
  2601. ac_test_CFLAGS=${CFLAGS+set}
  2602. ac_save_CFLAGS=$CFLAGS
  2603. -CFLAGS="-g"
  2604. -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2605. -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  2606. +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2607. +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  2608. if test "${ac_cv_prog_cc_g+set}" = set; then
  2609. echo $ECHO_N "(cached) $ECHO_C" >&6
  2610. else
  2611. - cat >conftest.$ac_ext <<_ACEOF
  2612. + ac_save_c_werror_flag=$ac_c_werror_flag
  2613. + ac_c_werror_flag=yes
  2614. + ac_cv_prog_cc_g=no
  2615. + CFLAGS="-g"
  2616. + cat >conftest.$ac_ext <<_ACEOF
  2617. /* confdefs.h. */
  2618. _ACEOF
  2619. cat confdefs.h >>conftest.$ac_ext
  2620. @@ -2409,38 +2917,118 @@ main ()
  2621. }
  2622. _ACEOF
  2623. rm -f conftest.$ac_objext
  2624. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2625. - (eval $ac_compile) 2>conftest.er1
  2626. +if { (ac_try="$ac_compile"
  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_compile") 2>conftest.er1
  2633. ac_status=$?
  2634. grep -v '^ *+' conftest.er1 >conftest.err
  2635. rm -f conftest.er1
  2636. cat conftest.err >&5
  2637. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2638. - (exit $ac_status); } &&
  2639. - { ac_try='test -z "$ac_c_werror_flag"
  2640. - || test ! -s conftest.err'
  2641. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2642. - (eval $ac_try) 2>&5
  2643. + (exit $ac_status); } && {
  2644. + test -z "$ac_c_werror_flag" ||
  2645. + test ! -s conftest.err
  2646. + } && test -s conftest.$ac_objext; then
  2647. + ac_cv_prog_cc_g=yes
  2648. +else
  2649. + echo "$as_me: failed program was:" >&5
  2650. +sed 's/^/| /' conftest.$ac_ext >&5
  2651. +
  2652. + CFLAGS=""
  2653. + cat >conftest.$ac_ext <<_ACEOF
  2654. +/* confdefs.h. */
  2655. +_ACEOF
  2656. +cat confdefs.h >>conftest.$ac_ext
  2657. +cat >>conftest.$ac_ext <<_ACEOF
  2658. +/* end confdefs.h. */
  2659. +
  2660. +int
  2661. +main ()
  2662. +{
  2663. +
  2664. + ;
  2665. + return 0;
  2666. +}
  2667. +_ACEOF
  2668. +rm -f conftest.$ac_objext
  2669. +if { (ac_try="$ac_compile"
  2670. +case "(($ac_try" in
  2671. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2672. + *) ac_try_echo=$ac_try;;
  2673. +esac
  2674. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2675. + (eval "$ac_compile") 2>conftest.er1
  2676. ac_status=$?
  2677. + grep -v '^ *+' conftest.er1 >conftest.err
  2678. + rm -f conftest.er1
  2679. + cat conftest.err >&5
  2680. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2681. - (exit $ac_status); }; } &&
  2682. - { ac_try='test -s conftest.$ac_objext'
  2683. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2684. - (eval $ac_try) 2>&5
  2685. + (exit $ac_status); } && {
  2686. + test -z "$ac_c_werror_flag" ||
  2687. + test ! -s conftest.err
  2688. + } && test -s conftest.$ac_objext; then
  2689. + :
  2690. +else
  2691. + echo "$as_me: failed program was:" >&5
  2692. +sed 's/^/| /' conftest.$ac_ext >&5
  2693. +
  2694. + ac_c_werror_flag=$ac_save_c_werror_flag
  2695. + CFLAGS="-g"
  2696. + cat >conftest.$ac_ext <<_ACEOF
  2697. +/* confdefs.h. */
  2698. +_ACEOF
  2699. +cat confdefs.h >>conftest.$ac_ext
  2700. +cat >>conftest.$ac_ext <<_ACEOF
  2701. +/* end confdefs.h. */
  2702. +
  2703. +int
  2704. +main ()
  2705. +{
  2706. +
  2707. + ;
  2708. + return 0;
  2709. +}
  2710. +_ACEOF
  2711. +rm -f conftest.$ac_objext
  2712. +if { (ac_try="$ac_compile"
  2713. +case "(($ac_try" in
  2714. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2715. + *) ac_try_echo=$ac_try;;
  2716. +esac
  2717. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2718. + (eval "$ac_compile") 2>conftest.er1
  2719. ac_status=$?
  2720. + grep -v '^ *+' conftest.er1 >conftest.err
  2721. + rm -f conftest.er1
  2722. + cat conftest.err >&5
  2723. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2724. - (exit $ac_status); }; }; then
  2725. + (exit $ac_status); } && {
  2726. + test -z "$ac_c_werror_flag" ||
  2727. + test ! -s conftest.err
  2728. + } && test -s conftest.$ac_objext; then
  2729. ac_cv_prog_cc_g=yes
  2730. else
  2731. echo "$as_me: failed program was:" >&5
  2732. sed 's/^/| /' conftest.$ac_ext >&5
  2733. -ac_cv_prog_cc_g=no
  2734. +
  2735. fi
  2736. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2737. +
  2738. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2739. fi
  2740. -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2741. -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  2742. +
  2743. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2744. +fi
  2745. +
  2746. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2747. + ac_c_werror_flag=$ac_save_c_werror_flag
  2748. +fi
  2749. +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2750. +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  2751. if test "$ac_test_CFLAGS" = set; then
  2752. CFLAGS=$ac_save_CFLAGS
  2753. elif test $ac_cv_prog_cc_g = yes; then
  2754. @@ -2456,12 +3044,12 @@ else
  2755. CFLAGS=
  2756. fi
  2757. fi
  2758. -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  2759. -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  2760. -if test "${ac_cv_prog_cc_stdc+set}" = set; then
  2761. +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  2762. +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  2763. +if test "${ac_cv_prog_cc_c89+set}" = set; then
  2764. echo $ECHO_N "(cached) $ECHO_C" >&6
  2765. else
  2766. - ac_cv_prog_cc_stdc=no
  2767. + ac_cv_prog_cc_c89=no
  2768. ac_save_CC=$CC
  2769. cat >conftest.$ac_ext <<_ACEOF
  2770. /* confdefs.h. */
  2771. @@ -2495,12 +3083,17 @@ static char *f (char * (*g) (char **, in
  2772. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  2773. function prototypes and stuff, but not '\xHH' hex character constants.
  2774. These don't provoke an error unfortunately, instead are silently treated
  2775. - as 'x'. The following induces an error, until -std1 is added to get
  2776. + as 'x'. The following induces an error, until -std is added to get
  2777. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  2778. array size at least. It's necessary to write '\x00'==0 to get something
  2779. - that's true only with -std1. */
  2780. + that's true only with -std. */
  2781. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2782. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  2783. + inside strings and character constants. */
  2784. +#define FOO(x) 'x'
  2785. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  2786. +
  2787. int test (int i, double x);
  2788. struct s1 {int (*f) (int a);};
  2789. struct s2 {int (*f) (double a);};
  2790. @@ -2515,205 +3108,57 @@ return f (e, argv, 0) != argv[0] || f
  2791. return 0;
  2792. }
  2793. _ACEOF
  2794. -# Don't try gcc -ansi; that turns off useful extensions and
  2795. -# breaks some systems' header files.
  2796. -# AIX -qlanglvl=ansi
  2797. -# Ultrix and OSF/1 -std1
  2798. -# HP-UX 10.20 and later -Ae
  2799. -# HP-UX older versions -Aa -D_HPUX_SOURCE
  2800. -# SVR4 -Xc -D__EXTENSIONS__
  2801. -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2802. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  2803. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2804. do
  2805. CC="$ac_save_CC $ac_arg"
  2806. rm -f conftest.$ac_objext
  2807. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2808. - (eval $ac_compile) 2>conftest.er1
  2809. +if { (ac_try="$ac_compile"
  2810. +case "(($ac_try" in
  2811. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2812. + *) ac_try_echo=$ac_try;;
  2813. +esac
  2814. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2815. + (eval "$ac_compile") 2>conftest.er1
  2816. ac_status=$?
  2817. grep -v '^ *+' conftest.er1 >conftest.err
  2818. rm -f conftest.er1
  2819. cat conftest.err >&5
  2820. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2821. - (exit $ac_status); } &&
  2822. - { ac_try='test -z "$ac_c_werror_flag"
  2823. - || test ! -s conftest.err'
  2824. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2825. - (eval $ac_try) 2>&5
  2826. - ac_status=$?
  2827. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2828. - (exit $ac_status); }; } &&
  2829. - { ac_try='test -s conftest.$ac_objext'
  2830. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2831. - (eval $ac_try) 2>&5
  2832. - ac_status=$?
  2833. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2834. - (exit $ac_status); }; }; then
  2835. - ac_cv_prog_cc_stdc=$ac_arg
  2836. -break
  2837. + (exit $ac_status); } && {
  2838. + test -z "$ac_c_werror_flag" ||
  2839. + test ! -s conftest.err
  2840. + } && test -s conftest.$ac_objext; then
  2841. + ac_cv_prog_cc_c89=$ac_arg
  2842. else
  2843. echo "$as_me: failed program was:" >&5
  2844. sed 's/^/| /' conftest.$ac_ext >&5
  2845. +
  2846. fi
  2847. -rm -f conftest.err conftest.$ac_objext
  2848. +
  2849. +rm -f core conftest.err conftest.$ac_objext
  2850. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  2851. done
  2852. -rm -f conftest.$ac_ext conftest.$ac_objext
  2853. +rm -f conftest.$ac_ext
  2854. CC=$ac_save_CC
  2855. fi
  2856. -
  2857. -case "x$ac_cv_prog_cc_stdc" in
  2858. - x|xno)
  2859. - echo "$as_me:$LINENO: result: none needed" >&5
  2860. -echo "${ECHO_T}none needed" >&6 ;;
  2861. +# AC_CACHE_VAL
  2862. +case "x$ac_cv_prog_cc_c89" in
  2863. + x)
  2864. + { echo "$as_me:$LINENO: result: none needed" >&5
  2865. +echo "${ECHO_T}none needed" >&6; } ;;
  2866. + xno)
  2867. + { echo "$as_me:$LINENO: result: unsupported" >&5
  2868. +echo "${ECHO_T}unsupported" >&6; } ;;
  2869. *)
  2870. - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  2871. -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  2872. - CC="$CC $ac_cv_prog_cc_stdc" ;;
  2873. + CC="$CC $ac_cv_prog_cc_c89"
  2874. + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  2875. +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  2876. esac
  2877. -# Some people use a C++ compiler to compile C. Since we use `exit',
  2878. -# in C++ we need to declare it. In case someone uses the same compiler
  2879. -# for both compiling C and C++ we need to have the C++ compiler decide
  2880. -# the declaration of exit, since it's the most demanding environment.
  2881. -cat >conftest.$ac_ext <<_ACEOF
  2882. -#ifndef __cplusplus
  2883. - choke me
  2884. -#endif
  2885. -_ACEOF
  2886. -rm -f conftest.$ac_objext
  2887. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2888. - (eval $ac_compile) 2>conftest.er1
  2889. - ac_status=$?
  2890. - grep -v '^ *+' conftest.er1 >conftest.err
  2891. - rm -f conftest.er1
  2892. - cat conftest.err >&5
  2893. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2894. - (exit $ac_status); } &&
  2895. - { ac_try='test -z "$ac_c_werror_flag"
  2896. - || test ! -s conftest.err'
  2897. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2898. - (eval $ac_try) 2>&5
  2899. - ac_status=$?
  2900. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2901. - (exit $ac_status); }; } &&
  2902. - { ac_try='test -s conftest.$ac_objext'
  2903. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2904. - (eval $ac_try) 2>&5
  2905. - ac_status=$?
  2906. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2907. - (exit $ac_status); }; }; then
  2908. - for ac_declaration in \
  2909. - '' \
  2910. - 'extern "C" void std::exit (int) throw (); using std::exit;' \
  2911. - 'extern "C" void std::exit (int); using std::exit;' \
  2912. - 'extern "C" void exit (int) throw ();' \
  2913. - 'extern "C" void exit (int);' \
  2914. - 'void exit (int);'
  2915. -do
  2916. - cat >conftest.$ac_ext <<_ACEOF
  2917. -/* confdefs.h. */
  2918. -_ACEOF
  2919. -cat confdefs.h >>conftest.$ac_ext
  2920. -cat >>conftest.$ac_ext <<_ACEOF
  2921. -/* end confdefs.h. */
  2922. -$ac_declaration
  2923. -#include <stdlib.h>
  2924. -int
  2925. -main ()
  2926. -{
  2927. -exit (42);
  2928. - ;
  2929. - return 0;
  2930. -}
  2931. -_ACEOF
  2932. -rm -f conftest.$ac_objext
  2933. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2934. - (eval $ac_compile) 2>conftest.er1
  2935. - ac_status=$?
  2936. - grep -v '^ *+' conftest.er1 >conftest.err
  2937. - rm -f conftest.er1
  2938. - cat conftest.err >&5
  2939. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2940. - (exit $ac_status); } &&
  2941. - { ac_try='test -z "$ac_c_werror_flag"
  2942. - || test ! -s conftest.err'
  2943. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2944. - (eval $ac_try) 2>&5
  2945. - ac_status=$?
  2946. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2947. - (exit $ac_status); }; } &&
  2948. - { ac_try='test -s conftest.$ac_objext'
  2949. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2950. - (eval $ac_try) 2>&5
  2951. - ac_status=$?
  2952. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2953. - (exit $ac_status); }; }; then
  2954. - :
  2955. -else
  2956. - echo "$as_me: failed program was:" >&5
  2957. -sed 's/^/| /' conftest.$ac_ext >&5
  2958. -continue
  2959. -fi
  2960. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2961. - cat >conftest.$ac_ext <<_ACEOF
  2962. -/* confdefs.h. */
  2963. -_ACEOF
  2964. -cat confdefs.h >>conftest.$ac_ext
  2965. -cat >>conftest.$ac_ext <<_ACEOF
  2966. -/* end confdefs.h. */
  2967. -$ac_declaration
  2968. -int
  2969. -main ()
  2970. -{
  2971. -exit (42);
  2972. - ;
  2973. - return 0;
  2974. -}
  2975. -_ACEOF
  2976. -rm -f conftest.$ac_objext
  2977. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2978. - (eval $ac_compile) 2>conftest.er1
  2979. - ac_status=$?
  2980. - grep -v '^ *+' conftest.er1 >conftest.err
  2981. - rm -f conftest.er1
  2982. - cat conftest.err >&5
  2983. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2984. - (exit $ac_status); } &&
  2985. - { ac_try='test -z "$ac_c_werror_flag"
  2986. - || test ! -s conftest.err'
  2987. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2988. - (eval $ac_try) 2>&5
  2989. - ac_status=$?
  2990. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2991. - (exit $ac_status); }; } &&
  2992. - { ac_try='test -s conftest.$ac_objext'
  2993. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2994. - (eval $ac_try) 2>&5
  2995. - ac_status=$?
  2996. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2997. - (exit $ac_status); }; }; then
  2998. - break
  2999. -else
  3000. - echo "$as_me: failed program was:" >&5
  3001. -sed 's/^/| /' conftest.$ac_ext >&5
  3002. -
  3003. -fi
  3004. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3005. -done
  3006. -rm -f conftest*
  3007. -if test -n "$ac_declaration"; then
  3008. - echo '#ifdef __cplusplus' >>confdefs.h
  3009. - echo $ac_declaration >>confdefs.h
  3010. - echo '#endif' >>confdefs.h
  3011. -fi
  3012. -
  3013. -else
  3014. - echo "$as_me: failed program was:" >&5
  3015. -sed 's/^/| /' conftest.$ac_ext >&5
  3016. -
  3017. -fi
  3018. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3019. ac_ext=c
  3020. ac_cpp='$CPP $CPPFLAGS'
  3021. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3022. @@ -2721,7 +3166,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
  3023. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3024. DEPDIR="${am__leading_dot}deps"
  3025. - ac_config_commands="$ac_config_commands depfiles"
  3026. +ac_config_commands="$ac_config_commands depfiles"
  3027. am_make=${MAKE-make}
  3028. @@ -2731,8 +3176,8 @@ am__doit:
  3029. .PHONY: am__doit
  3030. END
  3031. # If we don't find an include directive, just comment out the code.
  3032. -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  3033. -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
  3034. +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  3035. +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  3036. am__include="#"
  3037. am__quote=
  3038. _am_result=none
  3039. @@ -2759,15 +3204,15 @@ if test "$am__include" = "#"; then
  3040. fi
  3041. -echo "$as_me:$LINENO: result: $_am_result" >&5
  3042. -echo "${ECHO_T}$_am_result" >&6
  3043. +{ echo "$as_me:$LINENO: result: $_am_result" >&5
  3044. +echo "${ECHO_T}$_am_result" >&6; }
  3045. rm -f confinc confmf
  3046. -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
  3047. +# Check whether --enable-dependency-tracking was given.
  3048. if test "${enable_dependency_tracking+set}" = set; then
  3049. - enableval="$enable_dependency_tracking"
  3050. + enableval=$enable_dependency_tracking;
  3051. +fi
  3052. -fi;
  3053. if test "x$enable_dependency_tracking" != xno; then
  3054. am_depcomp="$ac_aux_dir/depcomp"
  3055. AMDEPBACKSLASH='\'
  3056. @@ -2787,8 +3232,8 @@ fi
  3057. depcc="$CC" am_compiler_list=
  3058. -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3059. -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
  3060. +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3061. +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  3062. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3063. echo $ECHO_N "(cached) $ECHO_C" >&6
  3064. else
  3065. @@ -2877,8 +3322,8 @@ else
  3066. fi
  3067. fi
  3068. -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3069. -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
  3070. +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3071. +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  3072. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3073. @@ -2902,10 +3347,10 @@ fi
  3074. ssp_cc=yes
  3075. if test "X$CC" != "X"; then
  3076. - echo "$as_me:$LINENO: checking whether ${CC} accepts -fstack-protector" >&5
  3077. -echo $ECHO_N "checking whether ${CC} accepts -fstack-protector... $ECHO_C" >&6
  3078. + { echo "$as_me:$LINENO: checking whether ${CC} accepts -fstack-protector" >&5
  3079. +echo $ECHO_N "checking whether ${CC} accepts -fstack-protector... $ECHO_C" >&6; }
  3080. ssp_old_cflags="$CFLAGS"
  3081. - CFLAGS="$CFLAGS -fstack-protector"
  3082. + CFLAGS="$CFLAGS"
  3083. cat >conftest.$ac_ext <<_ACEOF
  3084. /* confdefs.h. */
  3085. _ACEOF
  3086. @@ -2922,35 +3367,31 @@ main ()
  3087. }
  3088. _ACEOF
  3089. rm -f conftest.$ac_objext
  3090. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3091. - (eval $ac_compile) 2>conftest.er1
  3092. +if { (ac_try="$ac_compile"
  3093. +case "(($ac_try" in
  3094. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3095. + *) ac_try_echo=$ac_try;;
  3096. +esac
  3097. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3098. + (eval "$ac_compile") 2>conftest.er1
  3099. ac_status=$?
  3100. grep -v '^ *+' conftest.er1 >conftest.err
  3101. rm -f conftest.er1
  3102. cat conftest.err >&5
  3103. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3104. - (exit $ac_status); } &&
  3105. - { ac_try='test -z "$ac_c_werror_flag"
  3106. - || test ! -s conftest.err'
  3107. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3108. - (eval $ac_try) 2>&5
  3109. - ac_status=$?
  3110. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3111. - (exit $ac_status); }; } &&
  3112. - { ac_try='test -s conftest.$ac_objext'
  3113. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3114. - (eval $ac_try) 2>&5
  3115. - ac_status=$?
  3116. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3117. - (exit $ac_status); }; }; then
  3118. + (exit $ac_status); } && {
  3119. + test -z "$ac_c_werror_flag" ||
  3120. + test ! -s conftest.err
  3121. + } && test -s conftest.$ac_objext; then
  3122. :
  3123. else
  3124. echo "$as_me: failed program was:" >&5
  3125. sed 's/^/| /' conftest.$ac_ext >&5
  3126. -ssp_cc=no
  3127. + ssp_cc=no
  3128. fi
  3129. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3130. +
  3131. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3132. echo $ssp_cc
  3133. if test "X$ssp_cc" = "Xno"; then
  3134. CFLAGS="$ssp_old_cflags"
  3135. @@ -2964,12 +3405,11 @@ _ACEOF
  3136. fi
  3137. - echo "$as_me:$LINENO: checking for distcc" >&5
  3138. -echo $ECHO_N "checking for distcc... $ECHO_C" >&6
  3139. - # Check whether --enable-distcc or --disable-distcc was given.
  3140. + { echo "$as_me:$LINENO: checking for distcc" >&5
  3141. +echo $ECHO_N "checking for distcc... $ECHO_C" >&6; }
  3142. + # Check whether --enable-distcc was given.
  3143. if test "${enable_distcc+set}" = set; then
  3144. - enableval="$enable_distcc"
  3145. -
  3146. + enableval=$enable_distcc;
  3147. distcc_dirs="/ /usr /usr/local /usr/local/gnu /usr/gnu"
  3148. for dir in $distcc_dirs; do
  3149. if test -x "$dir/bin/distcc"; then
  3150. @@ -2983,16 +3423,17 @@ if test "${enable_distcc+set}" = set; th
  3151. echo "$as_me: error: not found" >&2;}
  3152. { (exit 1); exit 1; }; }
  3153. else
  3154. - echo "$as_me:$LINENO: result: yes" >&5
  3155. -echo "${ECHO_T}yes" >&6
  3156. + { echo "$as_me:$LINENO: result: yes" >&5
  3157. +echo "${ECHO_T}yes" >&6; }
  3158. fi
  3159. else
  3160. - echo "$as_me:$LINENO: result: not requested" >&5
  3161. -echo "${ECHO_T}not requested" >&6
  3162. + { echo "$as_me:$LINENO: result: not requested" >&5
  3163. +echo "${ECHO_T}not requested" >&6; }
  3164. +
  3165. +fi
  3166. -fi;
  3167. # Find a good install program. We prefer a C program (faster),
  3168. @@ -3008,8 +3449,8 @@ fi;
  3169. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  3170. # OS/2's system install, which has a completely different semantic
  3171. # ./install, which can be erroneously created by make from ./install.sh.
  3172. -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  3173. -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  3174. +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  3175. +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  3176. if test -z "$INSTALL"; then
  3177. if test "${ac_cv_path_install+set}" = set; then
  3178. echo $ECHO_N "(cached) $ECHO_C" >&6
  3179. @@ -3031,7 +3472,7 @@ case $as_dir/ in
  3180. # by default.
  3181. for ac_prog in ginstall scoinst install; do
  3182. for ac_exec_ext in '' $ac_executable_extensions; do
  3183. - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  3184. + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  3185. if test $ac_prog = install &&
  3186. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  3187. # AIX install. It has an incompatible calling convention.
  3188. @@ -3050,21 +3491,22 @@ case $as_dir/ in
  3189. ;;
  3190. esac
  3191. done
  3192. +IFS=$as_save_IFS
  3193. fi
  3194. if test "${ac_cv_path_install+set}" = set; then
  3195. INSTALL=$ac_cv_path_install
  3196. else
  3197. - # As a last resort, use the slow shell script. We don't cache a
  3198. - # path for INSTALL within a source directory, because that will
  3199. + # As a last resort, use the slow shell script. Don't cache a
  3200. + # value for INSTALL within a source directory, because that will
  3201. # break other packages using the cache if that directory is
  3202. - # removed, or if the path is relative.
  3203. + # removed, or if the value is a relative name.
  3204. INSTALL=$ac_install_sh
  3205. fi
  3206. fi
  3207. -echo "$as_me:$LINENO: result: $INSTALL" >&5
  3208. -echo "${ECHO_T}$INSTALL" >&6
  3209. +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
  3210. +echo "${ECHO_T}$INSTALL" >&6; }
  3211. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  3212. # It thinks the first close brace ends the variable substitution.
  3213. @@ -3077,57 +3519,86 @@ test -z "$INSTALL_DATA" && INSTALL_DATA=
  3214. # Checks for libraries.
  3215. # Make sure we can run config.sub.
  3216. -$ac_config_sub sun4 >/dev/null 2>&1 ||
  3217. - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
  3218. -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
  3219. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  3220. + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  3221. +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  3222. { (exit 1); exit 1; }; }
  3223. -echo "$as_me:$LINENO: checking build system type" >&5
  3224. -echo $ECHO_N "checking build system type... $ECHO_C" >&6
  3225. +{ echo "$as_me:$LINENO: checking build system type" >&5
  3226. +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  3227. if test "${ac_cv_build+set}" = set; then
  3228. echo $ECHO_N "(cached) $ECHO_C" >&6
  3229. else
  3230. - ac_cv_build_alias=$build_alias
  3231. -test -z "$ac_cv_build_alias" &&
  3232. - ac_cv_build_alias=`$ac_config_guess`
  3233. -test -z "$ac_cv_build_alias" &&
  3234. + ac_build_alias=$build_alias
  3235. +test "x$ac_build_alias" = x &&
  3236. + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  3237. +test "x$ac_build_alias" = x &&
  3238. { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  3239. echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  3240. { (exit 1); exit 1; }; }
  3241. -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
  3242. - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
  3243. -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
  3244. +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  3245. + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  3246. +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  3247. { (exit 1); exit 1; }; }
  3248. fi
  3249. -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  3250. -echo "${ECHO_T}$ac_cv_build" >&6
  3251. +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  3252. +echo "${ECHO_T}$ac_cv_build" >&6; }
  3253. +case $ac_cv_build in
  3254. +*-*-*) ;;
  3255. +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  3256. +echo "$as_me: error: invalid value of canonical build" >&2;}
  3257. + { (exit 1); exit 1; }; };;
  3258. +esac
  3259. build=$ac_cv_build
  3260. -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  3261. -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  3262. -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  3263. +ac_save_IFS=$IFS; IFS='-'
  3264. +set x $ac_cv_build
  3265. +shift
  3266. +build_cpu=$1
  3267. +build_vendor=$2
  3268. +shift; shift
  3269. +# Remember, the first character of IFS is used to create $*,
  3270. +# except with old shells:
  3271. +build_os=$*
  3272. +IFS=$ac_save_IFS
  3273. +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  3274. -echo "$as_me:$LINENO: checking host system type" >&5
  3275. -echo $ECHO_N "checking host system type... $ECHO_C" >&6
  3276. +{ echo "$as_me:$LINENO: checking host system type" >&5
  3277. +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  3278. if test "${ac_cv_host+set}" = set; then
  3279. echo $ECHO_N "(cached) $ECHO_C" >&6
  3280. else
  3281. - ac_cv_host_alias=$host_alias
  3282. -test -z "$ac_cv_host_alias" &&
  3283. - ac_cv_host_alias=$ac_cv_build_alias
  3284. -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
  3285. - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
  3286. -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
  3287. + if test "x$host_alias" = x; then
  3288. + ac_cv_host=$ac_cv_build
  3289. +else
  3290. + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  3291. + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  3292. +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  3293. { (exit 1); exit 1; }; }
  3294. +fi
  3295. fi
  3296. -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  3297. -echo "${ECHO_T}$ac_cv_host" >&6
  3298. +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  3299. +echo "${ECHO_T}$ac_cv_host" >&6; }
  3300. +case $ac_cv_host in
  3301. +*-*-*) ;;
  3302. +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  3303. +echo "$as_me: error: invalid value of canonical host" >&2;}
  3304. + { (exit 1); exit 1; }; };;
  3305. +esac
  3306. host=$ac_cv_host
  3307. -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  3308. -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  3309. -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  3310. +ac_save_IFS=$IFS; IFS='-'
  3311. +set x $ac_cv_host
  3312. +shift
  3313. +host_cpu=$1
  3314. +host_vendor=$2
  3315. +shift; shift
  3316. +# Remember, the first character of IFS is used to create $*,
  3317. +# except with old shells:
  3318. +host_os=$*
  3319. +IFS=$ac_save_IFS
  3320. +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  3321. @@ -3147,8 +3618,8 @@ ac_cpp='$CPP $CPPFLAGS'
  3322. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3323. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3324. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3325. -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  3326. -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
  3327. +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  3328. +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  3329. # On Suns, sometimes $CPP names a directory.
  3330. if test -n "$CPP" && test -d "$CPP"; then
  3331. CPP=
  3332. @@ -3182,24 +3653,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  3333. #endif
  3334. Syntax error
  3335. _ACEOF
  3336. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3337. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3338. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  3339. +case "(($ac_try" in
  3340. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3341. + *) ac_try_echo=$ac_try;;
  3342. +esac
  3343. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3344. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3345. ac_status=$?
  3346. grep -v '^ *+' conftest.er1 >conftest.err
  3347. rm -f conftest.er1
  3348. cat conftest.err >&5
  3349. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3350. - (exit $ac_status); } >/dev/null; then
  3351. - if test -s conftest.err; then
  3352. - ac_cpp_err=$ac_c_preproc_warn_flag
  3353. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3354. - else
  3355. - ac_cpp_err=
  3356. - fi
  3357. -else
  3358. - ac_cpp_err=yes
  3359. -fi
  3360. -if test -z "$ac_cpp_err"; then
  3361. + (exit $ac_status); } >/dev/null && {
  3362. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3363. + test ! -s conftest.err
  3364. + }; then
  3365. :
  3366. else
  3367. echo "$as_me: failed program was:" >&5
  3368. @@ -3208,9 +3677,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  3369. # Broken: fails on valid input.
  3370. continue
  3371. fi
  3372. +
  3373. rm -f conftest.err conftest.$ac_ext
  3374. - # OK, works on sane cases. Now check whether non-existent headers
  3375. + # OK, works on sane cases. Now check whether nonexistent headers
  3376. # can be detected and how.
  3377. cat >conftest.$ac_ext <<_ACEOF
  3378. /* confdefs.h. */
  3379. @@ -3220,24 +3690,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  3380. /* end confdefs.h. */
  3381. #include <ac_nonexistent.h>
  3382. _ACEOF
  3383. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3384. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3385. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  3386. +case "(($ac_try" in
  3387. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3388. + *) ac_try_echo=$ac_try;;
  3389. +esac
  3390. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3391. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3392. ac_status=$?
  3393. grep -v '^ *+' conftest.er1 >conftest.err
  3394. rm -f conftest.er1
  3395. cat conftest.err >&5
  3396. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3397. - (exit $ac_status); } >/dev/null; then
  3398. - if test -s conftest.err; then
  3399. - ac_cpp_err=$ac_c_preproc_warn_flag
  3400. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3401. - else
  3402. - ac_cpp_err=
  3403. - fi
  3404. -else
  3405. - ac_cpp_err=yes
  3406. -fi
  3407. -if test -z "$ac_cpp_err"; then
  3408. + (exit $ac_status); } >/dev/null && {
  3409. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3410. + test ! -s conftest.err
  3411. + }; then
  3412. # Broken: success on invalid input.
  3413. continue
  3414. else
  3415. @@ -3248,6 +3716,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
  3416. ac_preproc_ok=:
  3417. break
  3418. fi
  3419. +
  3420. rm -f conftest.err conftest.$ac_ext
  3421. done
  3422. @@ -3265,8 +3734,8 @@ fi
  3423. else
  3424. ac_cv_prog_CPP=$CPP
  3425. fi
  3426. -echo "$as_me:$LINENO: result: $CPP" >&5
  3427. -echo "${ECHO_T}$CPP" >&6
  3428. +{ echo "$as_me:$LINENO: result: $CPP" >&5
  3429. +echo "${ECHO_T}$CPP" >&6; }
  3430. ac_preproc_ok=false
  3431. for ac_c_preproc_warn_flag in '' yes
  3432. do
  3433. @@ -3289,24 +3758,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  3434. #endif
  3435. Syntax error
  3436. _ACEOF
  3437. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3438. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3439. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  3440. +case "(($ac_try" in
  3441. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3442. + *) ac_try_echo=$ac_try;;
  3443. +esac
  3444. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3445. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3446. ac_status=$?
  3447. grep -v '^ *+' conftest.er1 >conftest.err
  3448. rm -f conftest.er1
  3449. cat conftest.err >&5
  3450. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3451. - (exit $ac_status); } >/dev/null; then
  3452. - if test -s conftest.err; then
  3453. - ac_cpp_err=$ac_c_preproc_warn_flag
  3454. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3455. - else
  3456. - ac_cpp_err=
  3457. - fi
  3458. -else
  3459. - ac_cpp_err=yes
  3460. -fi
  3461. -if test -z "$ac_cpp_err"; then
  3462. + (exit $ac_status); } >/dev/null && {
  3463. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3464. + test ! -s conftest.err
  3465. + }; then
  3466. :
  3467. else
  3468. echo "$as_me: failed program was:" >&5
  3469. @@ -3315,9 +3782,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  3470. # Broken: fails on valid input.
  3471. continue
  3472. fi
  3473. +
  3474. rm -f conftest.err conftest.$ac_ext
  3475. - # OK, works on sane cases. Now check whether non-existent headers
  3476. + # OK, works on sane cases. Now check whether nonexistent headers
  3477. # can be detected and how.
  3478. cat >conftest.$ac_ext <<_ACEOF
  3479. /* confdefs.h. */
  3480. @@ -3327,24 +3795,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  3481. /* end confdefs.h. */
  3482. #include <ac_nonexistent.h>
  3483. _ACEOF
  3484. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3485. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3486. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  3487. +case "(($ac_try" in
  3488. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3489. + *) ac_try_echo=$ac_try;;
  3490. +esac
  3491. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3492. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3493. ac_status=$?
  3494. grep -v '^ *+' conftest.er1 >conftest.err
  3495. rm -f conftest.er1
  3496. cat conftest.err >&5
  3497. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3498. - (exit $ac_status); } >/dev/null; then
  3499. - if test -s conftest.err; then
  3500. - ac_cpp_err=$ac_c_preproc_warn_flag
  3501. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3502. - else
  3503. - ac_cpp_err=
  3504. - fi
  3505. -else
  3506. - ac_cpp_err=yes
  3507. -fi
  3508. -if test -z "$ac_cpp_err"; then
  3509. + (exit $ac_status); } >/dev/null && {
  3510. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3511. + test ! -s conftest.err
  3512. + }; then
  3513. # Broken: success on invalid input.
  3514. continue
  3515. else
  3516. @@ -3355,6 +3821,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
  3517. ac_preproc_ok=:
  3518. break
  3519. fi
  3520. +
  3521. rm -f conftest.err conftest.$ac_ext
  3522. done
  3523. @@ -3377,23 +3844,170 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
  3524. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3525. -echo "$as_me:$LINENO: checking for egrep" >&5
  3526. -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
  3527. -if test "${ac_cv_prog_egrep+set}" = set; then
  3528. +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  3529. +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  3530. +if test "${ac_cv_path_GREP+set}" = set; then
  3531. echo $ECHO_N "(cached) $ECHO_C" >&6
  3532. else
  3533. - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  3534. - then ac_cv_prog_egrep='grep -E'
  3535. - else ac_cv_prog_egrep='egrep'
  3536. + # Extract the first word of "grep ggrep" to use in msg output
  3537. +if test -z "$GREP"; then
  3538. +set dummy grep ggrep; ac_prog_name=$2
  3539. +if test "${ac_cv_path_GREP+set}" = set; then
  3540. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3541. +else
  3542. + ac_path_GREP_found=false
  3543. +# Loop through the user's path and test for each of PROGNAME-LIST
  3544. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3545. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3546. +do
  3547. + IFS=$as_save_IFS
  3548. + test -z "$as_dir" && as_dir=.
  3549. + for ac_prog in grep ggrep; do
  3550. + for ac_exec_ext in '' $ac_executable_extensions; do
  3551. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3552. + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  3553. + # Check for GNU ac_path_GREP and select it if it is found.
  3554. + # Check for GNU $ac_path_GREP
  3555. +case `"$ac_path_GREP" --version 2>&1` in
  3556. +*GNU*)
  3557. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3558. +*)
  3559. + ac_count=0
  3560. + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  3561. + while :
  3562. + do
  3563. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  3564. + mv "conftest.tmp" "conftest.in"
  3565. + cp "conftest.in" "conftest.nl"
  3566. + echo 'GREP' >> "conftest.nl"
  3567. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3568. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3569. + ac_count=`expr $ac_count + 1`
  3570. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3571. + # Best one so far, save it but keep looking for a better one
  3572. + ac_cv_path_GREP="$ac_path_GREP"
  3573. + ac_path_GREP_max=$ac_count
  3574. fi
  3575. + # 10*(2^10) chars as input seems more than enough
  3576. + test $ac_count -gt 10 && break
  3577. + done
  3578. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3579. +esac
  3580. +
  3581. +
  3582. + $ac_path_GREP_found && break 3
  3583. + done
  3584. +done
  3585. +
  3586. +done
  3587. +IFS=$as_save_IFS
  3588. +
  3589. +
  3590. fi
  3591. -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
  3592. -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
  3593. - EGREP=$ac_cv_prog_egrep
  3594. +GREP="$ac_cv_path_GREP"
  3595. +if test -z "$GREP"; then
  3596. + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3597. +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3598. + { (exit 1); exit 1; }; }
  3599. +fi
  3600. -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  3601. -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
  3602. +else
  3603. + ac_cv_path_GREP=$GREP
  3604. +fi
  3605. +
  3606. +
  3607. +fi
  3608. +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  3609. +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  3610. + GREP="$ac_cv_path_GREP"
  3611. +
  3612. +
  3613. +{ echo "$as_me:$LINENO: checking for egrep" >&5
  3614. +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  3615. +if test "${ac_cv_path_EGREP+set}" = set; then
  3616. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3617. +else
  3618. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3619. + then ac_cv_path_EGREP="$GREP -E"
  3620. + else
  3621. + # Extract the first word of "egrep" to use in msg output
  3622. +if test -z "$EGREP"; then
  3623. +set dummy egrep; ac_prog_name=$2
  3624. +if test "${ac_cv_path_EGREP+set}" = set; then
  3625. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3626. +else
  3627. + ac_path_EGREP_found=false
  3628. +# Loop through the user's path and test for each of PROGNAME-LIST
  3629. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3630. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3631. +do
  3632. + IFS=$as_save_IFS
  3633. + test -z "$as_dir" && as_dir=.
  3634. + for ac_prog in egrep; do
  3635. + for ac_exec_ext in '' $ac_executable_extensions; do
  3636. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3637. + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  3638. + # Check for GNU ac_path_EGREP and select it if it is found.
  3639. + # Check for GNU $ac_path_EGREP
  3640. +case `"$ac_path_EGREP" --version 2>&1` in
  3641. +*GNU*)
  3642. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3643. +*)
  3644. + ac_count=0
  3645. + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  3646. + while :
  3647. + do
  3648. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  3649. + mv "conftest.tmp" "conftest.in"
  3650. + cp "conftest.in" "conftest.nl"
  3651. + echo 'EGREP' >> "conftest.nl"
  3652. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3653. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3654. + ac_count=`expr $ac_count + 1`
  3655. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3656. + # Best one so far, save it but keep looking for a better one
  3657. + ac_cv_path_EGREP="$ac_path_EGREP"
  3658. + ac_path_EGREP_max=$ac_count
  3659. + fi
  3660. + # 10*(2^10) chars as input seems more than enough
  3661. + test $ac_count -gt 10 && break
  3662. + done
  3663. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3664. +esac
  3665. +
  3666. +
  3667. + $ac_path_EGREP_found && break 3
  3668. + done
  3669. +done
  3670. +
  3671. +done
  3672. +IFS=$as_save_IFS
  3673. +
  3674. +
  3675. +fi
  3676. +
  3677. +EGREP="$ac_cv_path_EGREP"
  3678. +if test -z "$EGREP"; then
  3679. + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3680. +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3681. + { (exit 1); exit 1; }; }
  3682. +fi
  3683. +
  3684. +else
  3685. + ac_cv_path_EGREP=$EGREP
  3686. +fi
  3687. +
  3688. +
  3689. + fi
  3690. +fi
  3691. +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  3692. +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  3693. + EGREP="$ac_cv_path_EGREP"
  3694. +
  3695. +
  3696. +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  3697. +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  3698. if test "${ac_cv_header_stdc+set}" = set; then
  3699. echo $ECHO_N "(cached) $ECHO_C" >&6
  3700. else
  3701. @@ -3417,35 +4031,31 @@ main ()
  3702. }
  3703. _ACEOF
  3704. rm -f conftest.$ac_objext
  3705. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3706. - (eval $ac_compile) 2>conftest.er1
  3707. +if { (ac_try="$ac_compile"
  3708. +case "(($ac_try" in
  3709. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3710. + *) ac_try_echo=$ac_try;;
  3711. +esac
  3712. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3713. + (eval "$ac_compile") 2>conftest.er1
  3714. ac_status=$?
  3715. grep -v '^ *+' conftest.er1 >conftest.err
  3716. rm -f conftest.er1
  3717. cat conftest.err >&5
  3718. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3719. - (exit $ac_status); } &&
  3720. - { ac_try='test -z "$ac_c_werror_flag"
  3721. - || test ! -s conftest.err'
  3722. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3723. - (eval $ac_try) 2>&5
  3724. - ac_status=$?
  3725. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3726. - (exit $ac_status); }; } &&
  3727. - { ac_try='test -s conftest.$ac_objext'
  3728. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3729. - (eval $ac_try) 2>&5
  3730. - ac_status=$?
  3731. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3732. - (exit $ac_status); }; }; then
  3733. + (exit $ac_status); } && {
  3734. + test -z "$ac_c_werror_flag" ||
  3735. + test ! -s conftest.err
  3736. + } && test -s conftest.$ac_objext; then
  3737. ac_cv_header_stdc=yes
  3738. else
  3739. echo "$as_me: failed program was:" >&5
  3740. sed 's/^/| /' conftest.$ac_ext >&5
  3741. -ac_cv_header_stdc=no
  3742. + ac_cv_header_stdc=no
  3743. fi
  3744. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3745. +
  3746. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3747. if test $ac_cv_header_stdc = yes; then
  3748. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  3749. @@ -3501,6 +4111,7 @@ cat confdefs.h >>conftest.$ac_ext
  3750. cat >>conftest.$ac_ext <<_ACEOF
  3751. /* end confdefs.h. */
  3752. #include <ctype.h>
  3753. +#include <stdlib.h>
  3754. #if ((' ' & 0x0FF) == 0x020)
  3755. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  3756. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  3757. @@ -3520,18 +4131,27 @@ main ()
  3758. for (i = 0; i < 256; i++)
  3759. if (XOR (islower (i), ISLOWER (i))
  3760. || toupper (i) != TOUPPER (i))
  3761. - exit(2);
  3762. - exit (0);
  3763. + return 2;
  3764. + return 0;
  3765. }
  3766. _ACEOF
  3767. rm -f conftest$ac_exeext
  3768. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3769. - (eval $ac_link) 2>&5
  3770. +if { (ac_try="$ac_link"
  3771. +case "(($ac_try" in
  3772. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3773. + *) ac_try_echo=$ac_try;;
  3774. +esac
  3775. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3776. + (eval "$ac_link") 2>&5
  3777. ac_status=$?
  3778. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3779. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  3780. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3781. - (eval $ac_try) 2>&5
  3782. + { (case "(($ac_try" in
  3783. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3784. + *) ac_try_echo=$ac_try;;
  3785. +esac
  3786. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3787. + (eval "$ac_try") 2>&5
  3788. ac_status=$?
  3789. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3790. (exit $ac_status); }; }; then
  3791. @@ -3544,12 +4164,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
  3792. ( exit $ac_status )
  3793. ac_cv_header_stdc=no
  3794. fi
  3795. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3796. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3797. fi
  3798. +
  3799. +
  3800. fi
  3801. fi
  3802. -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  3803. -echo "${ECHO_T}$ac_cv_header_stdc" >&6
  3804. +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  3805. +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  3806. if test $ac_cv_header_stdc = yes; then
  3807. cat >>confdefs.h <<\_ACEOF
  3808. @@ -3572,9 +4194,9 @@ for ac_header in sys/types.h sys/stat.h
  3809. inttypes.h stdint.h unistd.h
  3810. do
  3811. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3812. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  3813. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  3814. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  3815. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  3816. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  3817. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3818. echo $ECHO_N "(cached) $ECHO_C" >&6
  3819. else
  3820. cat >conftest.$ac_ext <<_ACEOF
  3821. @@ -3588,38 +4210,35 @@ $ac_includes_default
  3822. #include <$ac_header>
  3823. _ACEOF
  3824. rm -f conftest.$ac_objext
  3825. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3826. - (eval $ac_compile) 2>conftest.er1
  3827. +if { (ac_try="$ac_compile"
  3828. +case "(($ac_try" in
  3829. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3830. + *) ac_try_echo=$ac_try;;
  3831. +esac
  3832. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3833. + (eval "$ac_compile") 2>conftest.er1
  3834. ac_status=$?
  3835. grep -v '^ *+' conftest.er1 >conftest.err
  3836. rm -f conftest.er1
  3837. cat conftest.err >&5
  3838. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3839. - (exit $ac_status); } &&
  3840. - { ac_try='test -z "$ac_c_werror_flag"
  3841. - || test ! -s conftest.err'
  3842. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3843. - (eval $ac_try) 2>&5
  3844. - ac_status=$?
  3845. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3846. - (exit $ac_status); }; } &&
  3847. - { ac_try='test -s conftest.$ac_objext'
  3848. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3849. - (eval $ac_try) 2>&5
  3850. - ac_status=$?
  3851. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3852. - (exit $ac_status); }; }; then
  3853. + (exit $ac_status); } && {
  3854. + test -z "$ac_c_werror_flag" ||
  3855. + test ! -s conftest.err
  3856. + } && test -s conftest.$ac_objext; then
  3857. eval "$as_ac_Header=yes"
  3858. else
  3859. echo "$as_me: failed program was:" >&5
  3860. sed 's/^/| /' conftest.$ac_ext >&5
  3861. -eval "$as_ac_Header=no"
  3862. + eval "$as_ac_Header=no"
  3863. fi
  3864. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3865. +
  3866. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3867. fi
  3868. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  3869. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  3870. +ac_res=`eval echo '${'$as_ac_Header'}'`
  3871. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  3872. +echo "${ECHO_T}$ac_res" >&6; }
  3873. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  3874. cat >>confdefs.h <<_ACEOF
  3875. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3876. @@ -3651,18 +4270,19 @@ done
  3877. for ac_header in ctype.h errno.h arpa/inet.h netdb.h netinet/in.h netinet/in_systm.h limits.h sys/poll.h regex.h signal.h stdlib.h stdio.h string.h sys/param.h sys/socket.h sys/time.h unistd.h sys/utsname.h
  3878. do
  3879. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3880. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  3881. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  3882. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  3883. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  3884. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3885. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  3886. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  3887. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3888. echo $ECHO_N "(cached) $ECHO_C" >&6
  3889. fi
  3890. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  3891. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  3892. +ac_res=`eval echo '${'$as_ac_Header'}'`
  3893. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  3894. +echo "${ECHO_T}$ac_res" >&6; }
  3895. else
  3896. # Is the header compilable?
  3897. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  3898. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  3899. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  3900. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  3901. cat >conftest.$ac_ext <<_ACEOF
  3902. /* confdefs.h. */
  3903. _ACEOF
  3904. @@ -3673,41 +4293,37 @@ $ac_includes_default
  3905. #include <$ac_header>
  3906. _ACEOF
  3907. rm -f conftest.$ac_objext
  3908. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3909. - (eval $ac_compile) 2>conftest.er1
  3910. +if { (ac_try="$ac_compile"
  3911. +case "(($ac_try" in
  3912. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3913. + *) ac_try_echo=$ac_try;;
  3914. +esac
  3915. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3916. + (eval "$ac_compile") 2>conftest.er1
  3917. ac_status=$?
  3918. grep -v '^ *+' conftest.er1 >conftest.err
  3919. rm -f conftest.er1
  3920. cat conftest.err >&5
  3921. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3922. - (exit $ac_status); } &&
  3923. - { ac_try='test -z "$ac_c_werror_flag"
  3924. - || test ! -s conftest.err'
  3925. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3926. - (eval $ac_try) 2>&5
  3927. - ac_status=$?
  3928. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3929. - (exit $ac_status); }; } &&
  3930. - { ac_try='test -s conftest.$ac_objext'
  3931. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3932. - (eval $ac_try) 2>&5
  3933. - ac_status=$?
  3934. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3935. - (exit $ac_status); }; }; then
  3936. + (exit $ac_status); } && {
  3937. + test -z "$ac_c_werror_flag" ||
  3938. + test ! -s conftest.err
  3939. + } && test -s conftest.$ac_objext; then
  3940. ac_header_compiler=yes
  3941. else
  3942. echo "$as_me: failed program was:" >&5
  3943. sed 's/^/| /' conftest.$ac_ext >&5
  3944. -ac_header_compiler=no
  3945. + ac_header_compiler=no
  3946. fi
  3947. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3948. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  3949. -echo "${ECHO_T}$ac_header_compiler" >&6
  3950. +
  3951. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3952. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  3953. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  3954. # Is the header present?
  3955. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  3956. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  3957. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  3958. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  3959. cat >conftest.$ac_ext <<_ACEOF
  3960. /* confdefs.h. */
  3961. _ACEOF
  3962. @@ -3716,24 +4332,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  3963. /* end confdefs.h. */
  3964. #include <$ac_header>
  3965. _ACEOF
  3966. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3967. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3968. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  3969. +case "(($ac_try" in
  3970. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3971. + *) ac_try_echo=$ac_try;;
  3972. +esac
  3973. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3974. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3975. ac_status=$?
  3976. grep -v '^ *+' conftest.er1 >conftest.err
  3977. rm -f conftest.er1
  3978. cat conftest.err >&5
  3979. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3980. - (exit $ac_status); } >/dev/null; then
  3981. - if test -s conftest.err; then
  3982. - ac_cpp_err=$ac_c_preproc_warn_flag
  3983. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3984. - else
  3985. - ac_cpp_err=
  3986. - fi
  3987. -else
  3988. - ac_cpp_err=yes
  3989. -fi
  3990. -if test -z "$ac_cpp_err"; then
  3991. + (exit $ac_status); } >/dev/null && {
  3992. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3993. + test ! -s conftest.err
  3994. + }; then
  3995. ac_header_preproc=yes
  3996. else
  3997. echo "$as_me: failed program was:" >&5
  3998. @@ -3741,9 +4355,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  3999. ac_header_preproc=no
  4000. fi
  4001. +
  4002. rm -f conftest.err conftest.$ac_ext
  4003. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4004. -echo "${ECHO_T}$ac_header_preproc" >&6
  4005. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4006. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  4007. # So? What about this header?
  4008. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  4009. @@ -3767,25 +4382,24 @@ echo "$as_me: WARNING: $ac_header: s
  4010. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  4011. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  4012. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  4013. - (
  4014. - cat <<\_ASBOX
  4015. + ( cat <<\_ASBOX
  4016. ## ------------------------------ ##
  4017. ## Report this to nils@sipsak.org ##
  4018. ## ------------------------------ ##
  4019. _ASBOX
  4020. - ) |
  4021. - sed "s/^/$as_me: WARNING: /" >&2
  4022. + ) | sed "s/^/$as_me: WARNING: /" >&2
  4023. ;;
  4024. esac
  4025. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  4026. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4027. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4028. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  4029. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4030. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4031. echo $ECHO_N "(cached) $ECHO_C" >&6
  4032. else
  4033. eval "$as_ac_Header=\$ac_header_preproc"
  4034. fi
  4035. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4036. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4037. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4038. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4039. +echo "${ECHO_T}$ac_res" >&6; }
  4040. fi
  4041. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4042. @@ -3805,18 +4419,19 @@ done
  4043. for ac_header in getopt.h
  4044. do
  4045. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4046. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4047. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  4048. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4049. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4050. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4051. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  4052. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4053. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4054. echo $ECHO_N "(cached) $ECHO_C" >&6
  4055. fi
  4056. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4057. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4058. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4059. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4060. +echo "${ECHO_T}$ac_res" >&6; }
  4061. else
  4062. # Is the header compilable?
  4063. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4064. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  4065. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4066. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  4067. cat >conftest.$ac_ext <<_ACEOF
  4068. /* confdefs.h. */
  4069. _ACEOF
  4070. @@ -3827,41 +4442,37 @@ $ac_includes_default
  4071. #include <$ac_header>
  4072. _ACEOF
  4073. rm -f conftest.$ac_objext
  4074. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4075. - (eval $ac_compile) 2>conftest.er1
  4076. +if { (ac_try="$ac_compile"
  4077. +case "(($ac_try" in
  4078. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4079. + *) ac_try_echo=$ac_try;;
  4080. +esac
  4081. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4082. + (eval "$ac_compile") 2>conftest.er1
  4083. ac_status=$?
  4084. grep -v '^ *+' conftest.er1 >conftest.err
  4085. rm -f conftest.er1
  4086. cat conftest.err >&5
  4087. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4088. - (exit $ac_status); } &&
  4089. - { ac_try='test -z "$ac_c_werror_flag"
  4090. - || test ! -s conftest.err'
  4091. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4092. - (eval $ac_try) 2>&5
  4093. - ac_status=$?
  4094. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4095. - (exit $ac_status); }; } &&
  4096. - { ac_try='test -s conftest.$ac_objext'
  4097. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4098. - (eval $ac_try) 2>&5
  4099. - ac_status=$?
  4100. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4101. - (exit $ac_status); }; }; then
  4102. + (exit $ac_status); } && {
  4103. + test -z "$ac_c_werror_flag" ||
  4104. + test ! -s conftest.err
  4105. + } && test -s conftest.$ac_objext; then
  4106. ac_header_compiler=yes
  4107. else
  4108. echo "$as_me: failed program was:" >&5
  4109. sed 's/^/| /' conftest.$ac_ext >&5
  4110. -ac_header_compiler=no
  4111. + ac_header_compiler=no
  4112. fi
  4113. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4114. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4115. -echo "${ECHO_T}$ac_header_compiler" >&6
  4116. +
  4117. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4118. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4119. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  4120. # Is the header present?
  4121. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4122. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  4123. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4124. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  4125. cat >conftest.$ac_ext <<_ACEOF
  4126. /* confdefs.h. */
  4127. _ACEOF
  4128. @@ -3870,24 +4481,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  4129. /* end confdefs.h. */
  4130. #include <$ac_header>
  4131. _ACEOF
  4132. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4133. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  4134. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  4135. +case "(($ac_try" in
  4136. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4137. + *) ac_try_echo=$ac_try;;
  4138. +esac
  4139. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4140. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4141. ac_status=$?
  4142. grep -v '^ *+' conftest.er1 >conftest.err
  4143. rm -f conftest.er1
  4144. cat conftest.err >&5
  4145. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4146. - (exit $ac_status); } >/dev/null; then
  4147. - if test -s conftest.err; then
  4148. - ac_cpp_err=$ac_c_preproc_warn_flag
  4149. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4150. - else
  4151. - ac_cpp_err=
  4152. - fi
  4153. -else
  4154. - ac_cpp_err=yes
  4155. -fi
  4156. -if test -z "$ac_cpp_err"; then
  4157. + (exit $ac_status); } >/dev/null && {
  4158. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4159. + test ! -s conftest.err
  4160. + }; then
  4161. ac_header_preproc=yes
  4162. else
  4163. echo "$as_me: failed program was:" >&5
  4164. @@ -3895,9 +4504,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  4165. ac_header_preproc=no
  4166. fi
  4167. +
  4168. rm -f conftest.err conftest.$ac_ext
  4169. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4170. -echo "${ECHO_T}$ac_header_preproc" >&6
  4171. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4172. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  4173. # So? What about this header?
  4174. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  4175. @@ -3921,25 +4531,24 @@ echo "$as_me: WARNING: $ac_header: s
  4176. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  4177. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  4178. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  4179. - (
  4180. - cat <<\_ASBOX
  4181. + ( cat <<\_ASBOX
  4182. ## ------------------------------ ##
  4183. ## Report this to nils@sipsak.org ##
  4184. ## ------------------------------ ##
  4185. _ASBOX
  4186. - ) |
  4187. - sed "s/^/$as_me: WARNING: /" >&2
  4188. + ) | sed "s/^/$as_me: WARNING: /" >&2
  4189. ;;
  4190. esac
  4191. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  4192. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4193. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4194. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  4195. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4196. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4197. echo $ECHO_N "(cached) $ECHO_C" >&6
  4198. else
  4199. eval "$as_ac_Header=\$ac_header_preproc"
  4200. fi
  4201. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4202. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4203. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4204. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4205. +echo "${ECHO_T}$ac_res" >&6; }
  4206. fi
  4207. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4208. @@ -3951,8 +4560,8 @@ fi
  4209. done
  4210. -echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
  4211. -echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
  4212. +{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
  4213. +echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
  4214. if test "${ac_cv_header_sys_wait_h+set}" = set; then
  4215. echo $ECHO_N "(cached) $ECHO_C" >&6
  4216. else
  4217. @@ -3965,7 +4574,7 @@ cat >>conftest.$ac_ext <<_ACEOF
  4218. #include <sys/types.h>
  4219. #include <sys/wait.h>
  4220. #ifndef WEXITSTATUS
  4221. -# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
  4222. +# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
  4223. #endif
  4224. #ifndef WIFEXITED
  4225. # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
  4226. @@ -3982,38 +4591,34 @@ main ()
  4227. }
  4228. _ACEOF
  4229. rm -f conftest.$ac_objext
  4230. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4231. - (eval $ac_compile) 2>conftest.er1
  4232. +if { (ac_try="$ac_compile"
  4233. +case "(($ac_try" in
  4234. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4235. + *) ac_try_echo=$ac_try;;
  4236. +esac
  4237. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4238. + (eval "$ac_compile") 2>conftest.er1
  4239. ac_status=$?
  4240. grep -v '^ *+' conftest.er1 >conftest.err
  4241. rm -f conftest.er1
  4242. cat conftest.err >&5
  4243. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4244. - (exit $ac_status); } &&
  4245. - { ac_try='test -z "$ac_c_werror_flag"
  4246. - || test ! -s conftest.err'
  4247. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4248. - (eval $ac_try) 2>&5
  4249. - ac_status=$?
  4250. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4251. - (exit $ac_status); }; } &&
  4252. - { ac_try='test -s conftest.$ac_objext'
  4253. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4254. - (eval $ac_try) 2>&5
  4255. - ac_status=$?
  4256. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4257. - (exit $ac_status); }; }; then
  4258. + (exit $ac_status); } && {
  4259. + test -z "$ac_c_werror_flag" ||
  4260. + test ! -s conftest.err
  4261. + } && test -s conftest.$ac_objext; then
  4262. ac_cv_header_sys_wait_h=yes
  4263. else
  4264. echo "$as_me: failed program was:" >&5
  4265. sed 's/^/| /' conftest.$ac_ext >&5
  4266. -ac_cv_header_sys_wait_h=no
  4267. + ac_cv_header_sys_wait_h=no
  4268. fi
  4269. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4270. +
  4271. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4272. fi
  4273. -echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
  4274. -echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
  4275. +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
  4276. +echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
  4277. if test $ac_cv_header_sys_wait_h = yes; then
  4278. cat >>confdefs.h <<\_ACEOF
  4279. @@ -4022,8 +4627,8 @@ _ACEOF
  4280. fi
  4281. -echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
  4282. -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
  4283. +{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
  4284. +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
  4285. if test "${ac_cv_header_time+set}" = set; then
  4286. echo $ECHO_N "(cached) $ECHO_C" >&6
  4287. else
  4288. @@ -4047,38 +4652,34 @@ return 0;
  4289. }
  4290. _ACEOF
  4291. rm -f conftest.$ac_objext
  4292. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4293. - (eval $ac_compile) 2>conftest.er1
  4294. +if { (ac_try="$ac_compile"
  4295. +case "(($ac_try" in
  4296. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4297. + *) ac_try_echo=$ac_try;;
  4298. +esac
  4299. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4300. + (eval "$ac_compile") 2>conftest.er1
  4301. ac_status=$?
  4302. grep -v '^ *+' conftest.er1 >conftest.err
  4303. rm -f conftest.er1
  4304. cat conftest.err >&5
  4305. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4306. - (exit $ac_status); } &&
  4307. - { ac_try='test -z "$ac_c_werror_flag"
  4308. - || test ! -s conftest.err'
  4309. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4310. - (eval $ac_try) 2>&5
  4311. - ac_status=$?
  4312. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4313. - (exit $ac_status); }; } &&
  4314. - { ac_try='test -s conftest.$ac_objext'
  4315. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4316. - (eval $ac_try) 2>&5
  4317. - ac_status=$?
  4318. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4319. - (exit $ac_status); }; }; then
  4320. + (exit $ac_status); } && {
  4321. + test -z "$ac_c_werror_flag" ||
  4322. + test ! -s conftest.err
  4323. + } && test -s conftest.$ac_objext; then
  4324. ac_cv_header_time=yes
  4325. else
  4326. echo "$as_me: failed program was:" >&5
  4327. sed 's/^/| /' conftest.$ac_ext >&5
  4328. -ac_cv_header_time=no
  4329. + ac_cv_header_time=no
  4330. fi
  4331. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4332. +
  4333. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4334. fi
  4335. -echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  4336. -echo "${ECHO_T}$ac_cv_header_time" >&6
  4337. +{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  4338. +echo "${ECHO_T}$ac_cv_header_time" >&6; }
  4339. if test $ac_cv_header_time = yes; then
  4340. cat >>confdefs.h <<\_ACEOF
  4341. @@ -4094,9 +4695,9 @@ fi
  4342. for ac_header in netinet/ip.h netinet/udp.h
  4343. do
  4344. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4345. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  4346. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4347. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4348. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  4349. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4350. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4351. echo $ECHO_N "(cached) $ECHO_C" >&6
  4352. else
  4353. cat >conftest.$ac_ext <<_ACEOF
  4354. @@ -4115,38 +4716,35 @@ cat >>conftest.$ac_ext <<_ACEOF
  4355. #include <$ac_header>
  4356. _ACEOF
  4357. rm -f conftest.$ac_objext
  4358. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4359. - (eval $ac_compile) 2>conftest.er1
  4360. +if { (ac_try="$ac_compile"
  4361. +case "(($ac_try" in
  4362. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4363. + *) ac_try_echo=$ac_try;;
  4364. +esac
  4365. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4366. + (eval "$ac_compile") 2>conftest.er1
  4367. ac_status=$?
  4368. grep -v '^ *+' conftest.er1 >conftest.err
  4369. rm -f conftest.er1
  4370. cat conftest.err >&5
  4371. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4372. - (exit $ac_status); } &&
  4373. - { ac_try='test -z "$ac_c_werror_flag"
  4374. - || test ! -s conftest.err'
  4375. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4376. - (eval $ac_try) 2>&5
  4377. - ac_status=$?
  4378. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4379. - (exit $ac_status); }; } &&
  4380. - { ac_try='test -s conftest.$ac_objext'
  4381. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4382. - (eval $ac_try) 2>&5
  4383. - ac_status=$?
  4384. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4385. - (exit $ac_status); }; }; then
  4386. + (exit $ac_status); } && {
  4387. + test -z "$ac_c_werror_flag" ||
  4388. + test ! -s conftest.err
  4389. + } && test -s conftest.$ac_objext; then
  4390. eval "$as_ac_Header=yes"
  4391. else
  4392. echo "$as_me: failed program was:" >&5
  4393. sed 's/^/| /' conftest.$ac_ext >&5
  4394. -eval "$as_ac_Header=no"
  4395. + eval "$as_ac_Header=no"
  4396. fi
  4397. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4398. +
  4399. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4400. fi
  4401. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4402. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4403. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4404. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4405. +echo "${ECHO_T}$ac_res" >&6; }
  4406. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4407. cat >>confdefs.h <<_ACEOF
  4408. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4409. @@ -4162,9 +4760,9 @@ done
  4410. for ac_header in netinet/ip_icmp.h
  4411. do
  4412. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4413. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  4414. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4415. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4416. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  4417. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4418. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4419. echo $ECHO_N "(cached) $ECHO_C" >&6
  4420. else
  4421. cat >conftest.$ac_ext <<_ACEOF
  4422. @@ -4186,38 +4784,35 @@ cat >>conftest.$ac_ext <<_ACEOF
  4423. #include <$ac_header>
  4424. _ACEOF
  4425. rm -f conftest.$ac_objext
  4426. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4427. - (eval $ac_compile) 2>conftest.er1
  4428. +if { (ac_try="$ac_compile"
  4429. +case "(($ac_try" in
  4430. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4431. + *) ac_try_echo=$ac_try;;
  4432. +esac
  4433. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4434. + (eval "$ac_compile") 2>conftest.er1
  4435. ac_status=$?
  4436. grep -v '^ *+' conftest.er1 >conftest.err
  4437. rm -f conftest.er1
  4438. cat conftest.err >&5
  4439. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4440. - (exit $ac_status); } &&
  4441. - { ac_try='test -z "$ac_c_werror_flag"
  4442. - || test ! -s conftest.err'
  4443. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4444. - (eval $ac_try) 2>&5
  4445. - ac_status=$?
  4446. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4447. - (exit $ac_status); }; } &&
  4448. - { ac_try='test -s conftest.$ac_objext'
  4449. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4450. - (eval $ac_try) 2>&5
  4451. - ac_status=$?
  4452. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4453. - (exit $ac_status); }; }; then
  4454. + (exit $ac_status); } && {
  4455. + test -z "$ac_c_werror_flag" ||
  4456. + test ! -s conftest.err
  4457. + } && test -s conftest.$ac_objext; then
  4458. eval "$as_ac_Header=yes"
  4459. else
  4460. echo "$as_me: failed program was:" >&5
  4461. sed 's/^/| /' conftest.$ac_ext >&5
  4462. -eval "$as_ac_Header=no"
  4463. + eval "$as_ac_Header=no"
  4464. fi
  4465. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4466. +
  4467. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4468. fi
  4469. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4470. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4471. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4472. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4473. +echo "${ECHO_T}$ac_res" >&6; }
  4474. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4475. cat >>confdefs.h <<_ACEOF
  4476. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4477. @@ -4232,18 +4827,19 @@ done
  4478. for ac_header in cygwin/icmp.h
  4479. do
  4480. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4481. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4482. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  4483. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4484. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4485. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4486. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  4487. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4488. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4489. echo $ECHO_N "(cached) $ECHO_C" >&6
  4490. fi
  4491. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4492. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4493. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4494. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4495. +echo "${ECHO_T}$ac_res" >&6; }
  4496. else
  4497. # Is the header compilable?
  4498. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4499. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  4500. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4501. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  4502. cat >conftest.$ac_ext <<_ACEOF
  4503. /* confdefs.h. */
  4504. _ACEOF
  4505. @@ -4254,41 +4850,37 @@ $ac_includes_default
  4506. #include <$ac_header>
  4507. _ACEOF
  4508. rm -f conftest.$ac_objext
  4509. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4510. - (eval $ac_compile) 2>conftest.er1
  4511. +if { (ac_try="$ac_compile"
  4512. +case "(($ac_try" in
  4513. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4514. + *) ac_try_echo=$ac_try;;
  4515. +esac
  4516. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4517. + (eval "$ac_compile") 2>conftest.er1
  4518. ac_status=$?
  4519. grep -v '^ *+' conftest.er1 >conftest.err
  4520. rm -f conftest.er1
  4521. cat conftest.err >&5
  4522. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4523. - (exit $ac_status); } &&
  4524. - { ac_try='test -z "$ac_c_werror_flag"
  4525. - || test ! -s conftest.err'
  4526. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4527. - (eval $ac_try) 2>&5
  4528. - ac_status=$?
  4529. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4530. - (exit $ac_status); }; } &&
  4531. - { ac_try='test -s conftest.$ac_objext'
  4532. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4533. - (eval $ac_try) 2>&5
  4534. - ac_status=$?
  4535. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4536. - (exit $ac_status); }; }; then
  4537. + (exit $ac_status); } && {
  4538. + test -z "$ac_c_werror_flag" ||
  4539. + test ! -s conftest.err
  4540. + } && test -s conftest.$ac_objext; then
  4541. ac_header_compiler=yes
  4542. else
  4543. echo "$as_me: failed program was:" >&5
  4544. sed 's/^/| /' conftest.$ac_ext >&5
  4545. -ac_header_compiler=no
  4546. + ac_header_compiler=no
  4547. fi
  4548. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4549. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4550. -echo "${ECHO_T}$ac_header_compiler" >&6
  4551. +
  4552. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4553. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4554. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  4555. # Is the header present?
  4556. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4557. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  4558. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4559. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  4560. cat >conftest.$ac_ext <<_ACEOF
  4561. /* confdefs.h. */
  4562. _ACEOF
  4563. @@ -4297,24 +4889,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  4564. /* end confdefs.h. */
  4565. #include <$ac_header>
  4566. _ACEOF
  4567. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4568. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  4569. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  4570. +case "(($ac_try" in
  4571. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4572. + *) ac_try_echo=$ac_try;;
  4573. +esac
  4574. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4575. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4576. ac_status=$?
  4577. grep -v '^ *+' conftest.er1 >conftest.err
  4578. rm -f conftest.er1
  4579. cat conftest.err >&5
  4580. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4581. - (exit $ac_status); } >/dev/null; then
  4582. - if test -s conftest.err; then
  4583. - ac_cpp_err=$ac_c_preproc_warn_flag
  4584. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4585. - else
  4586. - ac_cpp_err=
  4587. - fi
  4588. -else
  4589. - ac_cpp_err=yes
  4590. -fi
  4591. -if test -z "$ac_cpp_err"; then
  4592. + (exit $ac_status); } >/dev/null && {
  4593. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4594. + test ! -s conftest.err
  4595. + }; then
  4596. ac_header_preproc=yes
  4597. else
  4598. echo "$as_me: failed program was:" >&5
  4599. @@ -4322,9 +4912,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  4600. ac_header_preproc=no
  4601. fi
  4602. +
  4603. rm -f conftest.err conftest.$ac_ext
  4604. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4605. -echo "${ECHO_T}$ac_header_preproc" >&6
  4606. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4607. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  4608. # So? What about this header?
  4609. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  4610. @@ -4348,25 +4939,24 @@ echo "$as_me: WARNING: $ac_header: s
  4611. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  4612. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  4613. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  4614. - (
  4615. - cat <<\_ASBOX
  4616. + ( cat <<\_ASBOX
  4617. ## ------------------------------ ##
  4618. ## Report this to nils@sipsak.org ##
  4619. ## ------------------------------ ##
  4620. _ASBOX
  4621. - ) |
  4622. - sed "s/^/$as_me: WARNING: /" >&2
  4623. + ) | sed "s/^/$as_me: WARNING: /" >&2
  4624. ;;
  4625. esac
  4626. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  4627. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4628. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4629. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  4630. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4631. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4632. echo $ECHO_N "(cached) $ECHO_C" >&6
  4633. else
  4634. eval "$as_ac_Header=\$ac_header_preproc"
  4635. fi
  4636. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4637. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4638. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4639. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4640. +echo "${ECHO_T}$ac_res" >&6; }
  4641. fi
  4642. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4643. @@ -4380,8 +4970,8 @@ done
  4644. # Checks for typedefs, structures, and compiler characteristics.
  4645. -echo "$as_me:$LINENO: checking for size_t" >&5
  4646. -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
  4647. +{ echo "$as_me:$LINENO: checking for size_t" >&5
  4648. +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
  4649. if test "${ac_cv_type_size_t+set}" = set; then
  4650. echo $ECHO_N "(cached) $ECHO_C" >&6
  4651. else
  4652. @@ -4392,62 +4982,59 @@ cat confdefs.h >>conftest.$ac_ext
  4653. cat >>conftest.$ac_ext <<_ACEOF
  4654. /* end confdefs.h. */
  4655. $ac_includes_default
  4656. +typedef size_t ac__type_new_;
  4657. int
  4658. main ()
  4659. {
  4660. -if ((size_t *) 0)
  4661. +if ((ac__type_new_ *) 0)
  4662. return 0;
  4663. -if (sizeof (size_t))
  4664. +if (sizeof (ac__type_new_))
  4665. return 0;
  4666. ;
  4667. return 0;
  4668. }
  4669. _ACEOF
  4670. rm -f conftest.$ac_objext
  4671. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4672. - (eval $ac_compile) 2>conftest.er1
  4673. +if { (ac_try="$ac_compile"
  4674. +case "(($ac_try" in
  4675. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4676. + *) ac_try_echo=$ac_try;;
  4677. +esac
  4678. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4679. + (eval "$ac_compile") 2>conftest.er1
  4680. ac_status=$?
  4681. grep -v '^ *+' conftest.er1 >conftest.err
  4682. rm -f conftest.er1
  4683. cat conftest.err >&5
  4684. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4685. - (exit $ac_status); } &&
  4686. - { ac_try='test -z "$ac_c_werror_flag"
  4687. - || test ! -s conftest.err'
  4688. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4689. - (eval $ac_try) 2>&5
  4690. - ac_status=$?
  4691. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4692. - (exit $ac_status); }; } &&
  4693. - { ac_try='test -s conftest.$ac_objext'
  4694. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4695. - (eval $ac_try) 2>&5
  4696. - ac_status=$?
  4697. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4698. - (exit $ac_status); }; }; then
  4699. + (exit $ac_status); } && {
  4700. + test -z "$ac_c_werror_flag" ||
  4701. + test ! -s conftest.err
  4702. + } && test -s conftest.$ac_objext; then
  4703. ac_cv_type_size_t=yes
  4704. else
  4705. echo "$as_me: failed program was:" >&5
  4706. sed 's/^/| /' conftest.$ac_ext >&5
  4707. -ac_cv_type_size_t=no
  4708. + ac_cv_type_size_t=no
  4709. fi
  4710. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4711. +
  4712. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4713. fi
  4714. -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
  4715. -echo "${ECHO_T}$ac_cv_type_size_t" >&6
  4716. +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
  4717. +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
  4718. if test $ac_cv_type_size_t = yes; then
  4719. :
  4720. else
  4721. cat >>confdefs.h <<_ACEOF
  4722. -#define size_t unsigned
  4723. +#define size_t unsigned int
  4724. _ACEOF
  4725. fi
  4726. -echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
  4727. -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
  4728. +{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
  4729. +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
  4730. if test "${ac_cv_header_time+set}" = set; then
  4731. echo $ECHO_N "(cached) $ECHO_C" >&6
  4732. else
  4733. @@ -4471,38 +5058,34 @@ return 0;
  4734. }
  4735. _ACEOF
  4736. rm -f conftest.$ac_objext
  4737. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4738. - (eval $ac_compile) 2>conftest.er1
  4739. +if { (ac_try="$ac_compile"
  4740. +case "(($ac_try" in
  4741. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4742. + *) ac_try_echo=$ac_try;;
  4743. +esac
  4744. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4745. + (eval "$ac_compile") 2>conftest.er1
  4746. ac_status=$?
  4747. grep -v '^ *+' conftest.er1 >conftest.err
  4748. rm -f conftest.er1
  4749. cat conftest.err >&5
  4750. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4751. - (exit $ac_status); } &&
  4752. - { ac_try='test -z "$ac_c_werror_flag"
  4753. - || test ! -s conftest.err'
  4754. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4755. - (eval $ac_try) 2>&5
  4756. - ac_status=$?
  4757. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4758. - (exit $ac_status); }; } &&
  4759. - { ac_try='test -s conftest.$ac_objext'
  4760. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4761. - (eval $ac_try) 2>&5
  4762. - ac_status=$?
  4763. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4764. - (exit $ac_status); }; }; then
  4765. + (exit $ac_status); } && {
  4766. + test -z "$ac_c_werror_flag" ||
  4767. + test ! -s conftest.err
  4768. + } && test -s conftest.$ac_objext; then
  4769. ac_cv_header_time=yes
  4770. else
  4771. echo "$as_me: failed program was:" >&5
  4772. sed 's/^/| /' conftest.$ac_ext >&5
  4773. -ac_cv_header_time=no
  4774. + ac_cv_header_time=no
  4775. fi
  4776. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4777. +
  4778. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4779. fi
  4780. -echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  4781. -echo "${ECHO_T}$ac_cv_header_time" >&6
  4782. +{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  4783. +echo "${ECHO_T}$ac_cv_header_time" >&6; }
  4784. if test $ac_cv_header_time = yes; then
  4785. cat >>confdefs.h <<\_ACEOF
  4786. @@ -4517,18 +5100,19 @@ fi
  4787. for ac_header in stdlib.h
  4788. do
  4789. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4790. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4791. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  4792. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4793. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4794. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4795. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  4796. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4797. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4798. echo $ECHO_N "(cached) $ECHO_C" >&6
  4799. fi
  4800. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4801. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4802. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4803. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4804. +echo "${ECHO_T}$ac_res" >&6; }
  4805. else
  4806. # Is the header compilable?
  4807. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4808. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  4809. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4810. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  4811. cat >conftest.$ac_ext <<_ACEOF
  4812. /* confdefs.h. */
  4813. _ACEOF
  4814. @@ -4539,41 +5123,37 @@ $ac_includes_default
  4815. #include <$ac_header>
  4816. _ACEOF
  4817. rm -f conftest.$ac_objext
  4818. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4819. - (eval $ac_compile) 2>conftest.er1
  4820. +if { (ac_try="$ac_compile"
  4821. +case "(($ac_try" in
  4822. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4823. + *) ac_try_echo=$ac_try;;
  4824. +esac
  4825. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4826. + (eval "$ac_compile") 2>conftest.er1
  4827. ac_status=$?
  4828. grep -v '^ *+' conftest.er1 >conftest.err
  4829. rm -f conftest.er1
  4830. cat conftest.err >&5
  4831. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4832. - (exit $ac_status); } &&
  4833. - { ac_try='test -z "$ac_c_werror_flag"
  4834. - || test ! -s conftest.err'
  4835. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4836. - (eval $ac_try) 2>&5
  4837. - ac_status=$?
  4838. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4839. - (exit $ac_status); }; } &&
  4840. - { ac_try='test -s conftest.$ac_objext'
  4841. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4842. - (eval $ac_try) 2>&5
  4843. - ac_status=$?
  4844. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4845. - (exit $ac_status); }; }; then
  4846. + (exit $ac_status); } && {
  4847. + test -z "$ac_c_werror_flag" ||
  4848. + test ! -s conftest.err
  4849. + } && test -s conftest.$ac_objext; then
  4850. ac_header_compiler=yes
  4851. else
  4852. echo "$as_me: failed program was:" >&5
  4853. sed 's/^/| /' conftest.$ac_ext >&5
  4854. -ac_header_compiler=no
  4855. + ac_header_compiler=no
  4856. fi
  4857. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4858. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4859. -echo "${ECHO_T}$ac_header_compiler" >&6
  4860. +
  4861. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4862. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4863. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  4864. # Is the header present?
  4865. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4866. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  4867. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4868. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  4869. cat >conftest.$ac_ext <<_ACEOF
  4870. /* confdefs.h. */
  4871. _ACEOF
  4872. @@ -4582,24 +5162,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  4873. /* end confdefs.h. */
  4874. #include <$ac_header>
  4875. _ACEOF
  4876. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4877. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  4878. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  4879. +case "(($ac_try" in
  4880. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4881. + *) ac_try_echo=$ac_try;;
  4882. +esac
  4883. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4884. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4885. ac_status=$?
  4886. grep -v '^ *+' conftest.er1 >conftest.err
  4887. rm -f conftest.er1
  4888. cat conftest.err >&5
  4889. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4890. - (exit $ac_status); } >/dev/null; then
  4891. - if test -s conftest.err; then
  4892. - ac_cpp_err=$ac_c_preproc_warn_flag
  4893. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4894. - else
  4895. - ac_cpp_err=
  4896. - fi
  4897. -else
  4898. - ac_cpp_err=yes
  4899. -fi
  4900. -if test -z "$ac_cpp_err"; then
  4901. + (exit $ac_status); } >/dev/null && {
  4902. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4903. + test ! -s conftest.err
  4904. + }; then
  4905. ac_header_preproc=yes
  4906. else
  4907. echo "$as_me: failed program was:" >&5
  4908. @@ -4607,9 +5185,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  4909. ac_header_preproc=no
  4910. fi
  4911. +
  4912. rm -f conftest.err conftest.$ac_ext
  4913. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4914. -echo "${ECHO_T}$ac_header_preproc" >&6
  4915. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4916. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  4917. # So? What about this header?
  4918. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  4919. @@ -4633,25 +5212,24 @@ echo "$as_me: WARNING: $ac_header: s
  4920. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  4921. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  4922. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  4923. - (
  4924. - cat <<\_ASBOX
  4925. + ( cat <<\_ASBOX
  4926. ## ------------------------------ ##
  4927. ## Report this to nils@sipsak.org ##
  4928. ## ------------------------------ ##
  4929. _ASBOX
  4930. - ) |
  4931. - sed "s/^/$as_me: WARNING: /" >&2
  4932. + ) | sed "s/^/$as_me: WARNING: /" >&2
  4933. ;;
  4934. esac
  4935. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  4936. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4937. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4938. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  4939. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4940. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4941. echo $ECHO_N "(cached) $ECHO_C" >&6
  4942. else
  4943. eval "$as_ac_Header=\$ac_header_preproc"
  4944. fi
  4945. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4946. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4947. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4948. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4949. +echo "${ECHO_T}$ac_res" >&6; }
  4950. fi
  4951. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4952. @@ -4663,8 +5241,8 @@ fi
  4953. done
  4954. -echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
  4955. -echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
  4956. +{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
  4957. +echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
  4958. if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
  4959. echo $ECHO_N "(cached) $ECHO_C" >&6
  4960. else
  4961. @@ -4677,7 +5255,7 @@ _ACEOF
  4962. cat confdefs.h >>conftest.$ac_ext
  4963. cat >>conftest.$ac_ext <<_ACEOF
  4964. /* end confdefs.h. */
  4965. -#if STDC_HEADERS || HAVE_STDLIB_H
  4966. +#if defined STDC_HEADERS || defined HAVE_STDLIB_H
  4967. # include <stdlib.h>
  4968. #else
  4969. char *malloc ();
  4970. @@ -4686,19 +5264,28 @@ char *malloc ();
  4971. int
  4972. main ()
  4973. {
  4974. -exit (malloc (0) ? 0 : 1);
  4975. +return ! malloc (0);
  4976. ;
  4977. return 0;
  4978. }
  4979. _ACEOF
  4980. rm -f conftest$ac_exeext
  4981. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4982. - (eval $ac_link) 2>&5
  4983. +if { (ac_try="$ac_link"
  4984. +case "(($ac_try" in
  4985. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4986. + *) ac_try_echo=$ac_try;;
  4987. +esac
  4988. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4989. + (eval "$ac_link") 2>&5
  4990. ac_status=$?
  4991. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4992. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  4993. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4994. - (eval $ac_try) 2>&5
  4995. + { (case "(($ac_try" in
  4996. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4997. + *) ac_try_echo=$ac_try;;
  4998. +esac
  4999. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5000. + (eval "$ac_try") 2>&5
  5001. ac_status=$?
  5002. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5003. (exit $ac_status); }; }; then
  5004. @@ -4711,11 +5298,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
  5005. ( exit $ac_status )
  5006. ac_cv_func_malloc_0_nonnull=no
  5007. fi
  5008. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5009. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5010. fi
  5011. +
  5012. +
  5013. fi
  5014. -echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
  5015. -echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
  5016. +{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
  5017. +echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
  5018. if test $ac_cv_func_malloc_0_nonnull = yes; then
  5019. cat >>confdefs.h <<\_ACEOF
  5020. @@ -4727,12 +5316,10 @@ else
  5021. #define HAVE_MALLOC 0
  5022. _ACEOF
  5023. - case $LIBOBJS in
  5024. - "malloc.$ac_objext" | \
  5025. - *" malloc.$ac_objext" | \
  5026. - "malloc.$ac_objext "* | \
  5027. + case " $LIBOBJS " in
  5028. *" malloc.$ac_objext "* ) ;;
  5029. - *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
  5030. + *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
  5031. + ;;
  5032. esac
  5033. @@ -4749,18 +5336,19 @@ fi
  5034. for ac_header in sys/select.h sys/socket.h
  5035. do
  5036. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5037. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5038. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  5039. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  5040. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5041. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5042. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  5043. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  5044. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5045. echo $ECHO_N "(cached) $ECHO_C" >&6
  5046. fi
  5047. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  5048. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  5049. +ac_res=`eval echo '${'$as_ac_Header'}'`
  5050. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  5051. +echo "${ECHO_T}$ac_res" >&6; }
  5052. else
  5053. # Is the header compilable?
  5054. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  5055. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  5056. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  5057. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  5058. cat >conftest.$ac_ext <<_ACEOF
  5059. /* confdefs.h. */
  5060. _ACEOF
  5061. @@ -4771,41 +5359,37 @@ $ac_includes_default
  5062. #include <$ac_header>
  5063. _ACEOF
  5064. rm -f conftest.$ac_objext
  5065. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5066. - (eval $ac_compile) 2>conftest.er1
  5067. +if { (ac_try="$ac_compile"
  5068. +case "(($ac_try" in
  5069. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5070. + *) ac_try_echo=$ac_try;;
  5071. +esac
  5072. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5073. + (eval "$ac_compile") 2>conftest.er1
  5074. ac_status=$?
  5075. grep -v '^ *+' conftest.er1 >conftest.err
  5076. rm -f conftest.er1
  5077. cat conftest.err >&5
  5078. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5079. - (exit $ac_status); } &&
  5080. - { ac_try='test -z "$ac_c_werror_flag"
  5081. - || test ! -s conftest.err'
  5082. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5083. - (eval $ac_try) 2>&5
  5084. - ac_status=$?
  5085. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5086. - (exit $ac_status); }; } &&
  5087. - { ac_try='test -s conftest.$ac_objext'
  5088. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5089. - (eval $ac_try) 2>&5
  5090. - ac_status=$?
  5091. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5092. - (exit $ac_status); }; }; then
  5093. + (exit $ac_status); } && {
  5094. + test -z "$ac_c_werror_flag" ||
  5095. + test ! -s conftest.err
  5096. + } && test -s conftest.$ac_objext; then
  5097. ac_header_compiler=yes
  5098. else
  5099. echo "$as_me: failed program was:" >&5
  5100. sed 's/^/| /' conftest.$ac_ext >&5
  5101. -ac_header_compiler=no
  5102. + ac_header_compiler=no
  5103. fi
  5104. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5105. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5106. -echo "${ECHO_T}$ac_header_compiler" >&6
  5107. +
  5108. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5109. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5110. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  5111. # Is the header present?
  5112. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  5113. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  5114. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  5115. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  5116. cat >conftest.$ac_ext <<_ACEOF
  5117. /* confdefs.h. */
  5118. _ACEOF
  5119. @@ -4814,24 +5398,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  5120. /* end confdefs.h. */
  5121. #include <$ac_header>
  5122. _ACEOF
  5123. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  5124. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  5125. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  5126. +case "(($ac_try" in
  5127. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5128. + *) ac_try_echo=$ac_try;;
  5129. +esac
  5130. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5131. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5132. ac_status=$?
  5133. grep -v '^ *+' conftest.er1 >conftest.err
  5134. rm -f conftest.er1
  5135. cat conftest.err >&5
  5136. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5137. - (exit $ac_status); } >/dev/null; then
  5138. - if test -s conftest.err; then
  5139. - ac_cpp_err=$ac_c_preproc_warn_flag
  5140. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  5141. - else
  5142. - ac_cpp_err=
  5143. - fi
  5144. -else
  5145. - ac_cpp_err=yes
  5146. -fi
  5147. -if test -z "$ac_cpp_err"; then
  5148. + (exit $ac_status); } >/dev/null && {
  5149. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5150. + test ! -s conftest.err
  5151. + }; then
  5152. ac_header_preproc=yes
  5153. else
  5154. echo "$as_me: failed program was:" >&5
  5155. @@ -4839,9 +5421,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  5156. ac_header_preproc=no
  5157. fi
  5158. +
  5159. rm -f conftest.err conftest.$ac_ext
  5160. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5161. -echo "${ECHO_T}$ac_header_preproc" >&6
  5162. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5163. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  5164. # So? What about this header?
  5165. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5166. @@ -4865,25 +5448,24 @@ echo "$as_me: WARNING: $ac_header: s
  5167. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  5168. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  5169. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  5170. - (
  5171. - cat <<\_ASBOX
  5172. + ( cat <<\_ASBOX
  5173. ## ------------------------------ ##
  5174. ## Report this to nils@sipsak.org ##
  5175. ## ------------------------------ ##
  5176. _ASBOX
  5177. - ) |
  5178. - sed "s/^/$as_me: WARNING: /" >&2
  5179. + ) | sed "s/^/$as_me: WARNING: /" >&2
  5180. ;;
  5181. esac
  5182. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  5183. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  5184. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5185. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  5186. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  5187. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5188. echo $ECHO_N "(cached) $ECHO_C" >&6
  5189. else
  5190. eval "$as_ac_Header=\$ac_header_preproc"
  5191. fi
  5192. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  5193. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  5194. +ac_res=`eval echo '${'$as_ac_Header'}'`
  5195. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  5196. +echo "${ECHO_T}$ac_res" >&6; }
  5197. fi
  5198. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  5199. @@ -4895,13 +5477,13 @@ fi
  5200. done
  5201. -echo "$as_me:$LINENO: checking types of arguments for select" >&5
  5202. -echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
  5203. +{ echo "$as_me:$LINENO: checking types of arguments for select" >&5
  5204. +echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
  5205. if test "${ac_cv_func_select_args+set}" = set; then
  5206. echo $ECHO_N "(cached) $ECHO_C" >&6
  5207. else
  5208. for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
  5209. - for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do
  5210. + for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
  5211. for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
  5212. cat >conftest.$ac_ext <<_ACEOF
  5213. /* confdefs.h. */
  5214. @@ -4910,10 +5492,10 @@ cat confdefs.h >>conftest.$ac_ext
  5215. cat >>conftest.$ac_ext <<_ACEOF
  5216. /* end confdefs.h. */
  5217. $ac_includes_default
  5218. -#if HAVE_SYS_SELECT_H
  5219. +#ifdef HAVE_SYS_SELECT_H
  5220. # include <sys/select.h>
  5221. #endif
  5222. -#if HAVE_SYS_SOCKET_H
  5223. +#ifdef HAVE_SYS_SOCKET_H
  5224. # include <sys/socket.h>
  5225. #endif
  5226. @@ -4928,34 +5510,31 @@ extern int select ($ac_arg1,
  5227. }
  5228. _ACEOF
  5229. rm -f conftest.$ac_objext
  5230. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5231. - (eval $ac_compile) 2>conftest.er1
  5232. +if { (ac_try="$ac_compile"
  5233. +case "(($ac_try" in
  5234. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5235. + *) ac_try_echo=$ac_try;;
  5236. +esac
  5237. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5238. + (eval "$ac_compile") 2>conftest.er1
  5239. ac_status=$?
  5240. grep -v '^ *+' conftest.er1 >conftest.err
  5241. rm -f conftest.er1
  5242. cat conftest.err >&5
  5243. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5244. - (exit $ac_status); } &&
  5245. - { ac_try='test -z "$ac_c_werror_flag"
  5246. - || test ! -s conftest.err'
  5247. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5248. - (eval $ac_try) 2>&5
  5249. - ac_status=$?
  5250. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5251. - (exit $ac_status); }; } &&
  5252. - { ac_try='test -s conftest.$ac_objext'
  5253. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5254. - (eval $ac_try) 2>&5
  5255. - ac_status=$?
  5256. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5257. - (exit $ac_status); }; }; then
  5258. + (exit $ac_status); } && {
  5259. + test -z "$ac_c_werror_flag" ||
  5260. + test ! -s conftest.err
  5261. + } && test -s conftest.$ac_objext; then
  5262. ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
  5263. else
  5264. echo "$as_me: failed program was:" >&5
  5265. sed 's/^/| /' conftest.$ac_ext >&5
  5266. +
  5267. fi
  5268. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5269. +
  5270. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5271. done
  5272. done
  5273. done
  5274. @@ -4963,8 +5542,8 @@ done
  5275. : ${ac_cv_func_select_args='int,int *,struct timeval *'}
  5276. fi
  5277. -echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
  5278. -echo "${ECHO_T}$ac_cv_func_select_args" >&6
  5279. +{ echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
  5280. +echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
  5281. ac_save_IFS=$IFS; IFS=','
  5282. set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
  5283. IFS=$ac_save_IFS
  5284. @@ -5005,9 +5584,9 @@ rm -f conftest*
  5285. for ac_func in getchar gethostbyname gethostname getopt getpid gettimeofday memset ntohs regcomp select socket strchr strcmp strstr strtol uname
  5286. do
  5287. as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  5288. -echo "$as_me:$LINENO: checking for $ac_func" >&5
  5289. -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  5290. -if eval "test \"\${$as_ac_var+set}\" = set"; then
  5291. +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
  5292. +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  5293. +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  5294. echo $ECHO_N "(cached) $ECHO_C" >&6
  5295. else
  5296. cat >conftest.$ac_ext <<_ACEOF
  5297. @@ -5033,68 +5612,60 @@ cat >>conftest.$ac_ext <<_ACEOF
  5298. #undef $ac_func
  5299. -/* Override any gcc2 internal prototype to avoid an error. */
  5300. +/* Override any GCC internal prototype to avoid an error.
  5301. + Use char because int might match the return type of a GCC
  5302. + builtin and then its argument prototype would still apply. */
  5303. #ifdef __cplusplus
  5304. extern "C"
  5305. -{
  5306. #endif
  5307. -/* We use char because int might match the return type of a gcc2
  5308. - builtin and then its argument prototype would still apply. */
  5309. char $ac_func ();
  5310. /* The GNU C library defines this for functions which it implements
  5311. to always fail with ENOSYS. Some functions are actually named
  5312. something starting with __ and the normal name is an alias. */
  5313. -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  5314. +#if defined __stub_$ac_func || defined __stub___$ac_func
  5315. choke me
  5316. -#else
  5317. -char (*f) () = $ac_func;
  5318. -#endif
  5319. -#ifdef __cplusplus
  5320. -}
  5321. #endif
  5322. int
  5323. main ()
  5324. {
  5325. -return f != $ac_func;
  5326. +return $ac_func ();
  5327. ;
  5328. return 0;
  5329. }
  5330. _ACEOF
  5331. rm -f conftest.$ac_objext conftest$ac_exeext
  5332. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5333. - (eval $ac_link) 2>conftest.er1
  5334. +if { (ac_try="$ac_link"
  5335. +case "(($ac_try" in
  5336. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5337. + *) ac_try_echo=$ac_try;;
  5338. +esac
  5339. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5340. + (eval "$ac_link") 2>conftest.er1
  5341. ac_status=$?
  5342. grep -v '^ *+' conftest.er1 >conftest.err
  5343. rm -f conftest.er1
  5344. cat conftest.err >&5
  5345. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5346. - (exit $ac_status); } &&
  5347. - { ac_try='test -z "$ac_c_werror_flag"
  5348. - || test ! -s conftest.err'
  5349. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5350. - (eval $ac_try) 2>&5
  5351. - ac_status=$?
  5352. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5353. - (exit $ac_status); }; } &&
  5354. - { ac_try='test -s conftest$ac_exeext'
  5355. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5356. - (eval $ac_try) 2>&5
  5357. - ac_status=$?
  5358. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5359. - (exit $ac_status); }; }; then
  5360. + (exit $ac_status); } && {
  5361. + test -z "$ac_c_werror_flag" ||
  5362. + test ! -s conftest.err
  5363. + } && test -s conftest$ac_exeext &&
  5364. + $as_test_x conftest$ac_exeext; then
  5365. eval "$as_ac_var=yes"
  5366. else
  5367. echo "$as_me: failed program was:" >&5
  5368. sed 's/^/| /' conftest.$ac_ext >&5
  5369. -eval "$as_ac_var=no"
  5370. + eval "$as_ac_var=no"
  5371. fi
  5372. -rm -f conftest.err conftest.$ac_objext \
  5373. +
  5374. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5375. conftest$ac_exeext conftest.$ac_ext
  5376. fi
  5377. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  5378. -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  5379. +ac_res=`eval echo '${'$as_ac_var'}'`
  5380. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  5381. +echo "${ECHO_T}$ac_res" >&6; }
  5382. if test `eval echo '${'$as_ac_var'}'` = yes; then
  5383. cat >>confdefs.h <<_ACEOF
  5384. #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  5385. @@ -5116,9 +5687,9 @@ done
  5386. for ac_func in calloc getdomainname getopt_long inet_ntop strncasecmp strcasestr
  5387. do
  5388. as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  5389. -echo "$as_me:$LINENO: checking for $ac_func" >&5
  5390. -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  5391. -if eval "test \"\${$as_ac_var+set}\" = set"; then
  5392. +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
  5393. +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  5394. +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  5395. echo $ECHO_N "(cached) $ECHO_C" >&6
  5396. else
  5397. cat >conftest.$ac_ext <<_ACEOF
  5398. @@ -5144,68 +5715,60 @@ cat >>conftest.$ac_ext <<_ACEOF
  5399. #undef $ac_func
  5400. -/* Override any gcc2 internal prototype to avoid an error. */
  5401. +/* Override any GCC internal prototype to avoid an error.
  5402. + Use char because int might match the return type of a GCC
  5403. + builtin and then its argument prototype would still apply. */
  5404. #ifdef __cplusplus
  5405. extern "C"
  5406. -{
  5407. #endif
  5408. -/* We use char because int might match the return type of a gcc2
  5409. - builtin and then its argument prototype would still apply. */
  5410. char $ac_func ();
  5411. /* The GNU C library defines this for functions which it implements
  5412. to always fail with ENOSYS. Some functions are actually named
  5413. something starting with __ and the normal name is an alias. */
  5414. -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  5415. +#if defined __stub_$ac_func || defined __stub___$ac_func
  5416. choke me
  5417. -#else
  5418. -char (*f) () = $ac_func;
  5419. -#endif
  5420. -#ifdef __cplusplus
  5421. -}
  5422. #endif
  5423. int
  5424. main ()
  5425. {
  5426. -return f != $ac_func;
  5427. +return $ac_func ();
  5428. ;
  5429. return 0;
  5430. }
  5431. _ACEOF
  5432. rm -f conftest.$ac_objext conftest$ac_exeext
  5433. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5434. - (eval $ac_link) 2>conftest.er1
  5435. +if { (ac_try="$ac_link"
  5436. +case "(($ac_try" in
  5437. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5438. + *) ac_try_echo=$ac_try;;
  5439. +esac
  5440. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5441. + (eval "$ac_link") 2>conftest.er1
  5442. ac_status=$?
  5443. grep -v '^ *+' conftest.er1 >conftest.err
  5444. rm -f conftest.er1
  5445. cat conftest.err >&5
  5446. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5447. - (exit $ac_status); } &&
  5448. - { ac_try='test -z "$ac_c_werror_flag"
  5449. - || test ! -s conftest.err'
  5450. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5451. - (eval $ac_try) 2>&5
  5452. - ac_status=$?
  5453. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5454. - (exit $ac_status); }; } &&
  5455. - { ac_try='test -s conftest$ac_exeext'
  5456. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5457. - (eval $ac_try) 2>&5
  5458. - ac_status=$?
  5459. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5460. - (exit $ac_status); }; }; then
  5461. + (exit $ac_status); } && {
  5462. + test -z "$ac_c_werror_flag" ||
  5463. + test ! -s conftest.err
  5464. + } && test -s conftest$ac_exeext &&
  5465. + $as_test_x conftest$ac_exeext; then
  5466. eval "$as_ac_var=yes"
  5467. else
  5468. echo "$as_me: failed program was:" >&5
  5469. sed 's/^/| /' conftest.$ac_ext >&5
  5470. -eval "$as_ac_var=no"
  5471. + eval "$as_ac_var=no"
  5472. fi
  5473. -rm -f conftest.err conftest.$ac_objext \
  5474. +
  5475. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5476. conftest$ac_exeext conftest.$ac_ext
  5477. fi
  5478. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  5479. -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  5480. +ac_res=`eval echo '${'$as_ac_var'}'`
  5481. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  5482. +echo "${ECHO_T}$ac_res" >&6; }
  5483. if test `eval echo '${'$as_ac_var'}'` = yes; then
  5484. cat >>confdefs.h <<_ACEOF
  5485. #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  5486. @@ -5216,30 +5779,30 @@ done
  5487. -echo "$as_me:$LINENO: checking disabled gnutls" >&5
  5488. -echo $ECHO_N "checking disabled gnutls... $ECHO_C" >&6
  5489. -# Check whether --enable-gnutls or --disable-gnutls was given.
  5490. +{ echo "$as_me:$LINENO: checking disabled gnutls" >&5
  5491. +echo $ECHO_N "checking disabled gnutls... $ECHO_C" >&6; }
  5492. +# Check whether --enable-gnutls was given.
  5493. if test "${enable_gnutls+set}" = set; then
  5494. - enableval="$enable_gnutls"
  5495. -
  5496. - echo "$as_me:$LINENO: result: yes" >&5
  5497. -echo "${ECHO_T}yes" >&6
  5498. + enableval=$enable_gnutls;
  5499. + { echo "$as_me:$LINENO: result: yes" >&5
  5500. +echo "${ECHO_T}yes" >&6; }
  5501. DISABLE_GNUTLS=yes
  5502. else
  5503. - echo "$as_me:$LINENO: result: not requested" >&5
  5504. -echo "${ECHO_T}not requested" >&6
  5505. + { echo "$as_me:$LINENO: result: not requested" >&5
  5506. +echo "${ECHO_T}not requested" >&6; }
  5507. -fi;
  5508. +fi
  5509. -# Check whether --with-libgnutls-prefix or --without-libgnutls-prefix was given.
  5510. +
  5511. +# Check whether --with-libgnutls-prefix was given.
  5512. if test "${with_libgnutls_prefix+set}" = set; then
  5513. - withval="$with_libgnutls_prefix"
  5514. - libgnutls_config_prefix="$withval"
  5515. + withval=$with_libgnutls_prefix; libgnutls_config_prefix="$withval"
  5516. else
  5517. libgnutls_config_prefix=""
  5518. -fi;
  5519. +fi
  5520. +
  5521. if test x$libgnutls_config_prefix != x ; then
  5522. if test x${LIBGNUTLS_CONFIG+set} != xset ; then
  5523. @@ -5250,8 +5813,8 @@ fi;
  5524. if test "$DISABLE_GNUTLS" != "yes"; then
  5525. # Extract the first word of "libgnutls-config", so it can be a program name with args.
  5526. set dummy libgnutls-config; ac_word=$2
  5527. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5528. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5529. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  5530. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5531. if test "${ac_cv_path_LIBGNUTLS_CONFIG+set}" = set; then
  5532. echo $ECHO_N "(cached) $ECHO_C" >&6
  5533. else
  5534. @@ -5266,32 +5829,33 @@ do
  5535. IFS=$as_save_IFS
  5536. test -z "$as_dir" && as_dir=.
  5537. for ac_exec_ext in '' $ac_executable_extensions; do
  5538. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5539. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5540. ac_cv_path_LIBGNUTLS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  5541. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5542. break 2
  5543. fi
  5544. done
  5545. done
  5546. +IFS=$as_save_IFS
  5547. test -z "$ac_cv_path_LIBGNUTLS_CONFIG" && ac_cv_path_LIBGNUTLS_CONFIG="no"
  5548. ;;
  5549. esac
  5550. fi
  5551. LIBGNUTLS_CONFIG=$ac_cv_path_LIBGNUTLS_CONFIG
  5552. -
  5553. if test -n "$LIBGNUTLS_CONFIG"; then
  5554. - echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5
  5555. -echo "${ECHO_T}$LIBGNUTLS_CONFIG" >&6
  5556. + { echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5
  5557. +echo "${ECHO_T}$LIBGNUTLS_CONFIG" >&6; }
  5558. else
  5559. - echo "$as_me:$LINENO: result: no" >&5
  5560. -echo "${ECHO_T}no" >&6
  5561. + { echo "$as_me:$LINENO: result: no" >&5
  5562. +echo "${ECHO_T}no" >&6; }
  5563. fi
  5564. +
  5565. fi
  5566. min_libgnutls_version=1.0.0
  5567. - echo "$as_me:$LINENO: checking for libgnutls - version >= $min_libgnutls_version" >&5
  5568. -echo $ECHO_N "checking for libgnutls - version >= $min_libgnutls_version... $ECHO_C" >&6
  5569. + { echo "$as_me:$LINENO: checking for libgnutls - version >= $min_libgnutls_version" >&5
  5570. +echo $ECHO_N "checking for libgnutls - version >= $min_libgnutls_version... $ECHO_C" >&6; }
  5571. no_libgnutls=""
  5572. if test "$DISABLE_GNUTLS" = "yes"; then
  5573. LIBGNUTLS_CONFIG=no
  5574. @@ -5375,13 +5939,22 @@ main ()
  5575. _ACEOF
  5576. rm -f conftest$ac_exeext
  5577. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5578. - (eval $ac_link) 2>&5
  5579. +if { (ac_try="$ac_link"
  5580. +case "(($ac_try" in
  5581. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5582. + *) ac_try_echo=$ac_try;;
  5583. +esac
  5584. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5585. + (eval "$ac_link") 2>&5
  5586. ac_status=$?
  5587. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5588. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  5589. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5590. - (eval $ac_try) 2>&5
  5591. + { (case "(($ac_try" in
  5592. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5593. + *) ac_try_echo=$ac_try;;
  5594. +esac
  5595. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5596. + (eval "$ac_try") 2>&5
  5597. ac_status=$?
  5598. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5599. (exit $ac_status); }; }; then
  5600. @@ -5394,15 +5967,17 @@ sed 's/^/| /' conftest.$ac_ext >&5
  5601. ( exit $ac_status )
  5602. no_libgnutls=yes
  5603. fi
  5604. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5605. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5606. fi
  5607. +
  5608. +
  5609. CFLAGS="$ac_save_CFLAGS"
  5610. LIBS="$ac_save_LIBS"
  5611. fi
  5612. if test "x$no_libgnutls" = x ; then
  5613. - echo "$as_me:$LINENO: result: yes" >&5
  5614. -echo "${ECHO_T}yes" >&6
  5615. + { echo "$as_me:$LINENO: result: yes" >&5
  5616. +echo "${ECHO_T}yes" >&6; }
  5617. cat >>confdefs.h <<\_ACEOF
  5618. #define HAVE_GNUTLS 1
  5619. @@ -5415,8 +5990,8 @@ _ACEOF
  5620. if test -f conf.libgnutlstest ; then
  5621. :
  5622. else
  5623. - echo "$as_me:$LINENO: result: no" >&5
  5624. -echo "${ECHO_T}no" >&6
  5625. + { echo "$as_me:$LINENO: result: no" >&5
  5626. +echo "${ECHO_T}no" >&6; }
  5627. fi
  5628. if test "$LIBGNUTLS_CONFIG" != "no" ; then
  5629. if test -f conf.libgnutlstest ; then
  5630. @@ -5446,27 +6021,23 @@ main ()
  5631. }
  5632. _ACEOF
  5633. rm -f conftest.$ac_objext conftest$ac_exeext
  5634. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5635. - (eval $ac_link) 2>conftest.er1
  5636. +if { (ac_try="$ac_link"
  5637. +case "(($ac_try" in
  5638. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5639. + *) ac_try_echo=$ac_try;;
  5640. +esac
  5641. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5642. + (eval "$ac_link") 2>conftest.er1
  5643. ac_status=$?
  5644. grep -v '^ *+' conftest.er1 >conftest.err
  5645. rm -f conftest.er1
  5646. cat conftest.err >&5
  5647. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5648. - (exit $ac_status); } &&
  5649. - { ac_try='test -z "$ac_c_werror_flag"
  5650. - || test ! -s conftest.err'
  5651. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5652. - (eval $ac_try) 2>&5
  5653. - ac_status=$?
  5654. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5655. - (exit $ac_status); }; } &&
  5656. - { ac_try='test -s conftest$ac_exeext'
  5657. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5658. - (eval $ac_try) 2>&5
  5659. - ac_status=$?
  5660. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5661. - (exit $ac_status); }; }; then
  5662. + (exit $ac_status); } && {
  5663. + test -z "$ac_c_werror_flag" ||
  5664. + test ! -s conftest.err
  5665. + } && test -s conftest$ac_exeext &&
  5666. + $as_test_x conftest$ac_exeext; then
  5667. echo "*** The test program compiled, but did not run. This usually means"
  5668. echo "*** that the run-time linker is not finding LIBGNUTLS or finding the wrong"
  5669. echo "*** version of LIBGNUTLS. If it is not finding LIBGNUTLS, you'll need to set your"
  5670. @@ -5481,12 +6052,13 @@ else
  5671. echo "$as_me: failed program was:" >&5
  5672. sed 's/^/| /' conftest.$ac_ext >&5
  5673. - echo "*** The test program failed to compile or link. See the file config.log for the"
  5674. + echo "*** The test program failed to compile or link. See the file config.log for the"
  5675. echo "*** exact error that occured. This usually means LIBGNUTLS was incorrectly installed"
  5676. echo "*** or that you have moved LIBGNUTLS since it was installed. In the latter case, you"
  5677. echo "*** may want to edit the libgnutls-config script: $LIBGNUTLS_CONFIG"
  5678. fi
  5679. -rm -f conftest.err conftest.$ac_objext \
  5680. +
  5681. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5682. conftest$ac_exeext conftest.$ac_ext
  5683. CFLAGS="$ac_save_CFLAGS"
  5684. LIBS="$ac_save_LIBS"
  5685. @@ -5506,18 +6078,19 @@ if test "X$LIBGNUTLS_LIBS" == "X";then
  5686. for ac_header in openssl/md5.h
  5687. do
  5688. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5689. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5690. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  5691. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  5692. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5693. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5694. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  5695. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  5696. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5697. echo $ECHO_N "(cached) $ECHO_C" >&6
  5698. fi
  5699. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  5700. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  5701. +ac_res=`eval echo '${'$as_ac_Header'}'`
  5702. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  5703. +echo "${ECHO_T}$ac_res" >&6; }
  5704. else
  5705. # Is the header compilable?
  5706. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  5707. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  5708. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  5709. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  5710. cat >conftest.$ac_ext <<_ACEOF
  5711. /* confdefs.h. */
  5712. _ACEOF
  5713. @@ -5528,41 +6101,37 @@ $ac_includes_default
  5714. #include <$ac_header>
  5715. _ACEOF
  5716. rm -f conftest.$ac_objext
  5717. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5718. - (eval $ac_compile) 2>conftest.er1
  5719. +if { (ac_try="$ac_compile"
  5720. +case "(($ac_try" in
  5721. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5722. + *) ac_try_echo=$ac_try;;
  5723. +esac
  5724. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5725. + (eval "$ac_compile") 2>conftest.er1
  5726. ac_status=$?
  5727. grep -v '^ *+' conftest.er1 >conftest.err
  5728. rm -f conftest.er1
  5729. cat conftest.err >&5
  5730. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5731. - (exit $ac_status); } &&
  5732. - { ac_try='test -z "$ac_c_werror_flag"
  5733. - || test ! -s conftest.err'
  5734. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5735. - (eval $ac_try) 2>&5
  5736. - ac_status=$?
  5737. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5738. - (exit $ac_status); }; } &&
  5739. - { ac_try='test -s conftest.$ac_objext'
  5740. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5741. - (eval $ac_try) 2>&5
  5742. - ac_status=$?
  5743. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5744. - (exit $ac_status); }; }; then
  5745. + (exit $ac_status); } && {
  5746. + test -z "$ac_c_werror_flag" ||
  5747. + test ! -s conftest.err
  5748. + } && test -s conftest.$ac_objext; then
  5749. ac_header_compiler=yes
  5750. else
  5751. echo "$as_me: failed program was:" >&5
  5752. sed 's/^/| /' conftest.$ac_ext >&5
  5753. -ac_header_compiler=no
  5754. + ac_header_compiler=no
  5755. fi
  5756. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5757. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5758. -echo "${ECHO_T}$ac_header_compiler" >&6
  5759. +
  5760. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5761. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5762. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  5763. # Is the header present?
  5764. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  5765. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  5766. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  5767. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  5768. cat >conftest.$ac_ext <<_ACEOF
  5769. /* confdefs.h. */
  5770. _ACEOF
  5771. @@ -5571,24 +6140,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  5772. /* end confdefs.h. */
  5773. #include <$ac_header>
  5774. _ACEOF
  5775. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  5776. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  5777. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  5778. +case "(($ac_try" in
  5779. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5780. + *) ac_try_echo=$ac_try;;
  5781. +esac
  5782. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5783. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5784. ac_status=$?
  5785. grep -v '^ *+' conftest.er1 >conftest.err
  5786. rm -f conftest.er1
  5787. cat conftest.err >&5
  5788. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5789. - (exit $ac_status); } >/dev/null; then
  5790. - if test -s conftest.err; then
  5791. - ac_cpp_err=$ac_c_preproc_warn_flag
  5792. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  5793. - else
  5794. - ac_cpp_err=
  5795. - fi
  5796. -else
  5797. - ac_cpp_err=yes
  5798. -fi
  5799. -if test -z "$ac_cpp_err"; then
  5800. + (exit $ac_status); } >/dev/null && {
  5801. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5802. + test ! -s conftest.err
  5803. + }; then
  5804. ac_header_preproc=yes
  5805. else
  5806. echo "$as_me: failed program was:" >&5
  5807. @@ -5596,9 +6163,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  5808. ac_header_preproc=no
  5809. fi
  5810. +
  5811. rm -f conftest.err conftest.$ac_ext
  5812. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5813. -echo "${ECHO_T}$ac_header_preproc" >&6
  5814. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5815. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  5816. # So? What about this header?
  5817. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5818. @@ -5622,33 +6190,32 @@ echo "$as_me: WARNING: $ac_header: s
  5819. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  5820. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  5821. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  5822. - (
  5823. - cat <<\_ASBOX
  5824. + ( cat <<\_ASBOX
  5825. ## ------------------------------ ##
  5826. ## Report this to nils@sipsak.org ##
  5827. ## ------------------------------ ##
  5828. _ASBOX
  5829. - ) |
  5830. - sed "s/^/$as_me: WARNING: /" >&2
  5831. + ) | sed "s/^/$as_me: WARNING: /" >&2
  5832. ;;
  5833. esac
  5834. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  5835. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  5836. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5837. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  5838. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  5839. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5840. echo $ECHO_N "(cached) $ECHO_C" >&6
  5841. else
  5842. eval "$as_ac_Header=\$ac_header_preproc"
  5843. fi
  5844. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  5845. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  5846. +ac_res=`eval echo '${'$as_ac_Header'}'`
  5847. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  5848. +echo "${ECHO_T}$ac_res" >&6; }
  5849. fi
  5850. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  5851. cat >>confdefs.h <<_ACEOF
  5852. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  5853. _ACEOF
  5854. - echo "$as_me:$LINENO: checking for MD5_Init in -lcrypto" >&5
  5855. -echo $ECHO_N "checking for MD5_Init in -lcrypto... $ECHO_C" >&6
  5856. + { echo "$as_me:$LINENO: checking for MD5_Init in -lcrypto" >&5
  5857. +echo $ECHO_N "checking for MD5_Init in -lcrypto... $ECHO_C" >&6; }
  5858. if test "${ac_cv_lib_crypto_MD5_Init+set}" = set; then
  5859. echo $ECHO_N "(cached) $ECHO_C" >&6
  5860. else
  5861. @@ -5661,56 +6228,53 @@ cat confdefs.h >>conftest.$ac_ext
  5862. cat >>conftest.$ac_ext <<_ACEOF
  5863. /* end confdefs.h. */
  5864. -/* Override any gcc2 internal prototype to avoid an error. */
  5865. +/* Override any GCC internal prototype to avoid an error.
  5866. + Use char because int might match the return type of a GCC
  5867. + builtin and then its argument prototype would still apply. */
  5868. #ifdef __cplusplus
  5869. extern "C"
  5870. #endif
  5871. -/* We use char because int might match the return type of a gcc2
  5872. - builtin and then its argument prototype would still apply. */
  5873. char MD5_Init ();
  5874. int
  5875. main ()
  5876. {
  5877. -MD5_Init ();
  5878. +return MD5_Init ();
  5879. ;
  5880. return 0;
  5881. }
  5882. _ACEOF
  5883. rm -f conftest.$ac_objext conftest$ac_exeext
  5884. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5885. - (eval $ac_link) 2>conftest.er1
  5886. +if { (ac_try="$ac_link"
  5887. +case "(($ac_try" in
  5888. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5889. + *) ac_try_echo=$ac_try;;
  5890. +esac
  5891. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5892. + (eval "$ac_link") 2>conftest.er1
  5893. ac_status=$?
  5894. grep -v '^ *+' conftest.er1 >conftest.err
  5895. rm -f conftest.er1
  5896. cat conftest.err >&5
  5897. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5898. - (exit $ac_status); } &&
  5899. - { ac_try='test -z "$ac_c_werror_flag"
  5900. - || test ! -s conftest.err'
  5901. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5902. - (eval $ac_try) 2>&5
  5903. - ac_status=$?
  5904. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5905. - (exit $ac_status); }; } &&
  5906. - { ac_try='test -s conftest$ac_exeext'
  5907. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5908. - (eval $ac_try) 2>&5
  5909. - ac_status=$?
  5910. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5911. - (exit $ac_status); }; }; then
  5912. + (exit $ac_status); } && {
  5913. + test -z "$ac_c_werror_flag" ||
  5914. + test ! -s conftest.err
  5915. + } && test -s conftest$ac_exeext &&
  5916. + $as_test_x conftest$ac_exeext; then
  5917. ac_cv_lib_crypto_MD5_Init=yes
  5918. else
  5919. echo "$as_me: failed program was:" >&5
  5920. sed 's/^/| /' conftest.$ac_ext >&5
  5921. -ac_cv_lib_crypto_MD5_Init=no
  5922. + ac_cv_lib_crypto_MD5_Init=no
  5923. fi
  5924. -rm -f conftest.err conftest.$ac_objext \
  5925. +
  5926. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5927. conftest$ac_exeext conftest.$ac_ext
  5928. LIBS=$ac_check_lib_save_LIBS
  5929. fi
  5930. -echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_MD5_Init" >&5
  5931. -echo "${ECHO_T}$ac_cv_lib_crypto_MD5_Init" >&6
  5932. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_MD5_Init" >&5
  5933. +echo "${ECHO_T}$ac_cv_lib_crypto_MD5_Init" >&6; }
  5934. if test $ac_cv_lib_crypto_MD5_Init = yes; then
  5935. cat >>confdefs.h <<\_ACEOF
  5936. @@ -5732,18 +6296,19 @@ fi
  5937. for ac_header in openssl/sha.h
  5938. do
  5939. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5940. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5941. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  5942. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  5943. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5944. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5945. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  5946. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  5947. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5948. echo $ECHO_N "(cached) $ECHO_C" >&6
  5949. fi
  5950. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  5951. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  5952. +ac_res=`eval echo '${'$as_ac_Header'}'`
  5953. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  5954. +echo "${ECHO_T}$ac_res" >&6; }
  5955. else
  5956. # Is the header compilable?
  5957. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  5958. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  5959. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  5960. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  5961. cat >conftest.$ac_ext <<_ACEOF
  5962. /* confdefs.h. */
  5963. _ACEOF
  5964. @@ -5754,41 +6319,37 @@ $ac_includes_default
  5965. #include <$ac_header>
  5966. _ACEOF
  5967. rm -f conftest.$ac_objext
  5968. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5969. - (eval $ac_compile) 2>conftest.er1
  5970. +if { (ac_try="$ac_compile"
  5971. +case "(($ac_try" in
  5972. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5973. + *) ac_try_echo=$ac_try;;
  5974. +esac
  5975. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5976. + (eval "$ac_compile") 2>conftest.er1
  5977. ac_status=$?
  5978. grep -v '^ *+' conftest.er1 >conftest.err
  5979. rm -f conftest.er1
  5980. cat conftest.err >&5
  5981. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5982. - (exit $ac_status); } &&
  5983. - { ac_try='test -z "$ac_c_werror_flag"
  5984. - || test ! -s conftest.err'
  5985. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5986. - (eval $ac_try) 2>&5
  5987. - ac_status=$?
  5988. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5989. - (exit $ac_status); }; } &&
  5990. - { ac_try='test -s conftest.$ac_objext'
  5991. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5992. - (eval $ac_try) 2>&5
  5993. - ac_status=$?
  5994. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5995. - (exit $ac_status); }; }; then
  5996. + (exit $ac_status); } && {
  5997. + test -z "$ac_c_werror_flag" ||
  5998. + test ! -s conftest.err
  5999. + } && test -s conftest.$ac_objext; then
  6000. ac_header_compiler=yes
  6001. else
  6002. echo "$as_me: failed program was:" >&5
  6003. sed 's/^/| /' conftest.$ac_ext >&5
  6004. -ac_header_compiler=no
  6005. + ac_header_compiler=no
  6006. fi
  6007. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  6008. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6009. -echo "${ECHO_T}$ac_header_compiler" >&6
  6010. +
  6011. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6012. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6013. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  6014. # Is the header present?
  6015. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  6016. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  6017. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  6018. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  6019. cat >conftest.$ac_ext <<_ACEOF
  6020. /* confdefs.h. */
  6021. _ACEOF
  6022. @@ -5797,24 +6358,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  6023. /* end confdefs.h. */
  6024. #include <$ac_header>
  6025. _ACEOF
  6026. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  6027. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  6028. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  6029. +case "(($ac_try" in
  6030. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6031. + *) ac_try_echo=$ac_try;;
  6032. +esac
  6033. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6034. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6035. ac_status=$?
  6036. grep -v '^ *+' conftest.er1 >conftest.err
  6037. rm -f conftest.er1
  6038. cat conftest.err >&5
  6039. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6040. - (exit $ac_status); } >/dev/null; then
  6041. - if test -s conftest.err; then
  6042. - ac_cpp_err=$ac_c_preproc_warn_flag
  6043. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  6044. - else
  6045. - ac_cpp_err=
  6046. - fi
  6047. -else
  6048. - ac_cpp_err=yes
  6049. -fi
  6050. -if test -z "$ac_cpp_err"; then
  6051. + (exit $ac_status); } >/dev/null && {
  6052. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6053. + test ! -s conftest.err
  6054. + }; then
  6055. ac_header_preproc=yes
  6056. else
  6057. echo "$as_me: failed program was:" >&5
  6058. @@ -5822,9 +6381,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  6059. ac_header_preproc=no
  6060. fi
  6061. +
  6062. rm -f conftest.err conftest.$ac_ext
  6063. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6064. -echo "${ECHO_T}$ac_header_preproc" >&6
  6065. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6066. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  6067. # So? What about this header?
  6068. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6069. @@ -5848,33 +6408,32 @@ echo "$as_me: WARNING: $ac_header: s
  6070. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  6071. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  6072. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  6073. - (
  6074. - cat <<\_ASBOX
  6075. + ( cat <<\_ASBOX
  6076. ## ------------------------------ ##
  6077. ## Report this to nils@sipsak.org ##
  6078. ## ------------------------------ ##
  6079. _ASBOX
  6080. - ) |
  6081. - sed "s/^/$as_me: WARNING: /" >&2
  6082. + ) | sed "s/^/$as_me: WARNING: /" >&2
  6083. ;;
  6084. esac
  6085. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  6086. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  6087. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  6088. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  6089. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  6090. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6091. echo $ECHO_N "(cached) $ECHO_C" >&6
  6092. else
  6093. eval "$as_ac_Header=\$ac_header_preproc"
  6094. fi
  6095. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  6096. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  6097. +ac_res=`eval echo '${'$as_ac_Header'}'`
  6098. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  6099. +echo "${ECHO_T}$ac_res" >&6; }
  6100. fi
  6101. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  6102. cat >>confdefs.h <<_ACEOF
  6103. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6104. _ACEOF
  6105. - echo "$as_me:$LINENO: checking for SHA1_Init in -lcrypto" >&5
  6106. -echo $ECHO_N "checking for SHA1_Init in -lcrypto... $ECHO_C" >&6
  6107. + { echo "$as_me:$LINENO: checking for SHA1_Init in -lcrypto" >&5
  6108. +echo $ECHO_N "checking for SHA1_Init in -lcrypto... $ECHO_C" >&6; }
  6109. if test "${ac_cv_lib_crypto_SHA1_Init+set}" = set; then
  6110. echo $ECHO_N "(cached) $ECHO_C" >&6
  6111. else
  6112. @@ -5887,56 +6446,53 @@ cat confdefs.h >>conftest.$ac_ext
  6113. cat >>conftest.$ac_ext <<_ACEOF
  6114. /* end confdefs.h. */
  6115. -/* Override any gcc2 internal prototype to avoid an error. */
  6116. +/* Override any GCC internal prototype to avoid an error.
  6117. + Use char because int might match the return type of a GCC
  6118. + builtin and then its argument prototype would still apply. */
  6119. #ifdef __cplusplus
  6120. extern "C"
  6121. #endif
  6122. -/* We use char because int might match the return type of a gcc2
  6123. - builtin and then its argument prototype would still apply. */
  6124. char SHA1_Init ();
  6125. int
  6126. main ()
  6127. {
  6128. -SHA1_Init ();
  6129. +return SHA1_Init ();
  6130. ;
  6131. return 0;
  6132. }
  6133. _ACEOF
  6134. rm -f conftest.$ac_objext conftest$ac_exeext
  6135. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6136. - (eval $ac_link) 2>conftest.er1
  6137. +if { (ac_try="$ac_link"
  6138. +case "(($ac_try" in
  6139. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6140. + *) ac_try_echo=$ac_try;;
  6141. +esac
  6142. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6143. + (eval "$ac_link") 2>conftest.er1
  6144. ac_status=$?
  6145. grep -v '^ *+' conftest.er1 >conftest.err
  6146. rm -f conftest.er1
  6147. cat conftest.err >&5
  6148. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6149. - (exit $ac_status); } &&
  6150. - { ac_try='test -z "$ac_c_werror_flag"
  6151. - || test ! -s conftest.err'
  6152. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6153. - (eval $ac_try) 2>&5
  6154. - ac_status=$?
  6155. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6156. - (exit $ac_status); }; } &&
  6157. - { ac_try='test -s conftest$ac_exeext'
  6158. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6159. - (eval $ac_try) 2>&5
  6160. - ac_status=$?
  6161. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6162. - (exit $ac_status); }; }; then
  6163. + (exit $ac_status); } && {
  6164. + test -z "$ac_c_werror_flag" ||
  6165. + test ! -s conftest.err
  6166. + } && test -s conftest$ac_exeext &&
  6167. + $as_test_x conftest$ac_exeext; then
  6168. ac_cv_lib_crypto_SHA1_Init=yes
  6169. else
  6170. echo "$as_me: failed program was:" >&5
  6171. sed 's/^/| /' conftest.$ac_ext >&5
  6172. -ac_cv_lib_crypto_SHA1_Init=no
  6173. + ac_cv_lib_crypto_SHA1_Init=no
  6174. fi
  6175. -rm -f conftest.err conftest.$ac_objext \
  6176. +
  6177. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6178. conftest$ac_exeext conftest.$ac_ext
  6179. LIBS=$ac_check_lib_save_LIBS
  6180. fi
  6181. -echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_Init" >&5
  6182. -echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_Init" >&6
  6183. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_Init" >&5
  6184. +echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_Init" >&6; }
  6185. if test $ac_cv_lib_crypto_SHA1_Init = yes; then
  6186. cat >>confdefs.h <<\_ACEOF
  6187. @@ -5954,8 +6510,8 @@ done
  6188. - echo "$as_me:$LINENO: checking for ares_version.h" >&5
  6189. -echo $ECHO_N "checking for ares_version.h... $ECHO_C" >&6
  6190. + { echo "$as_me:$LINENO: checking for ares_version.h" >&5
  6191. +echo $ECHO_N "checking for ares_version.h... $ECHO_C" >&6; }
  6192. ares_incdir=NONE
  6193. ares_libdir=NONE
  6194. @@ -5973,14 +6529,14 @@ echo $ECHO_N "checking for ares_version.
  6195. done
  6196. if test "$ares_incdir" = "NONE"; then
  6197. - echo "$as_me:$LINENO: result: not found" >&5
  6198. -echo "${ECHO_T}not found" >&6
  6199. + { echo "$as_me:$LINENO: result: not found" >&5
  6200. +echo "${ECHO_T}not found" >&6; }
  6201. else
  6202. - echo "$as_me:$LINENO: result: found at $ares_incdir" >&5
  6203. -echo "${ECHO_T}found at $ares_incdir" >&6
  6204. + { echo "$as_me:$LINENO: result: found at $ares_incdir" >&5
  6205. +echo "${ECHO_T}found at $ares_incdir" >&6; }
  6206. - echo "$as_me:$LINENO: checking for c-ares lib" >&5
  6207. -echo $ECHO_N "checking for c-ares lib... $ECHO_C" >&6
  6208. + { echo "$as_me:$LINENO: checking for c-ares lib" >&5
  6209. +echo $ECHO_N "checking for c-ares lib... $ECHO_C" >&6; }
  6210. for dir in $ares_libdirs; do
  6211. for extension in $ares_libexten; do
  6212. @@ -5997,15 +6553,15 @@ echo $ECHO_N "checking for c-ares lib...
  6213. done
  6214. if test "$ares_libdir" = "NONE"; then
  6215. - echo "$as_me:$LINENO: result: not found" >&5
  6216. -echo "${ECHO_T}not found" >&6
  6217. + { echo "$as_me:$LINENO: result: not found" >&5
  6218. +echo "${ECHO_T}not found" >&6; }
  6219. else
  6220. - echo "$as_me:$LINENO: result: found at $ares_libdir" >&5
  6221. -echo "${ECHO_T}found at $ares_libdir" >&6
  6222. + { echo "$as_me:$LINENO: result: found at $ares_libdir" >&5
  6223. +echo "${ECHO_T}found at $ares_libdir" >&6; }
  6224. fi
  6225. - echo "$as_me:$LINENO: checking for ares_version in -lcares" >&5
  6226. -echo $ECHO_N "checking for ares_version in -lcares... $ECHO_C" >&6
  6227. + { echo "$as_me:$LINENO: checking for ares_version in -lcares" >&5
  6228. +echo $ECHO_N "checking for ares_version in -lcares... $ECHO_C" >&6; }
  6229. if test "${ac_cv_lib_cares_ares_version+set}" = set; then
  6230. echo $ECHO_N "(cached) $ECHO_C" >&6
  6231. else
  6232. @@ -6018,56 +6574,53 @@ cat confdefs.h >>conftest.$ac_ext
  6233. cat >>conftest.$ac_ext <<_ACEOF
  6234. /* end confdefs.h. */
  6235. -/* Override any gcc2 internal prototype to avoid an error. */
  6236. +/* Override any GCC internal prototype to avoid an error.
  6237. + Use char because int might match the return type of a GCC
  6238. + builtin and then its argument prototype would still apply. */
  6239. #ifdef __cplusplus
  6240. extern "C"
  6241. #endif
  6242. -/* We use char because int might match the return type of a gcc2
  6243. - builtin and then its argument prototype would still apply. */
  6244. char ares_version ();
  6245. int
  6246. main ()
  6247. {
  6248. -ares_version ();
  6249. +return ares_version ();
  6250. ;
  6251. return 0;
  6252. }
  6253. _ACEOF
  6254. rm -f conftest.$ac_objext conftest$ac_exeext
  6255. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6256. - (eval $ac_link) 2>conftest.er1
  6257. +if { (ac_try="$ac_link"
  6258. +case "(($ac_try" in
  6259. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6260. + *) ac_try_echo=$ac_try;;
  6261. +esac
  6262. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6263. + (eval "$ac_link") 2>conftest.er1
  6264. ac_status=$?
  6265. grep -v '^ *+' conftest.er1 >conftest.err
  6266. rm -f conftest.er1
  6267. cat conftest.err >&5
  6268. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6269. - (exit $ac_status); } &&
  6270. - { ac_try='test -z "$ac_c_werror_flag"
  6271. - || test ! -s conftest.err'
  6272. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6273. - (eval $ac_try) 2>&5
  6274. - ac_status=$?
  6275. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6276. - (exit $ac_status); }; } &&
  6277. - { ac_try='test -s conftest$ac_exeext'
  6278. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6279. - (eval $ac_try) 2>&5
  6280. - ac_status=$?
  6281. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6282. - (exit $ac_status); }; }; then
  6283. + (exit $ac_status); } && {
  6284. + test -z "$ac_c_werror_flag" ||
  6285. + test ! -s conftest.err
  6286. + } && test -s conftest$ac_exeext &&
  6287. + $as_test_x conftest$ac_exeext; then
  6288. ac_cv_lib_cares_ares_version=yes
  6289. else
  6290. echo "$as_me: failed program was:" >&5
  6291. sed 's/^/| /' conftest.$ac_ext >&5
  6292. -ac_cv_lib_cares_ares_version=no
  6293. + ac_cv_lib_cares_ares_version=no
  6294. fi
  6295. -rm -f conftest.err conftest.$ac_objext \
  6296. +
  6297. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6298. conftest$ac_exeext conftest.$ac_ext
  6299. LIBS=$ac_check_lib_save_LIBS
  6300. fi
  6301. -echo "$as_me:$LINENO: result: $ac_cv_lib_cares_ares_version" >&5
  6302. -echo "${ECHO_T}$ac_cv_lib_cares_ares_version" >&6
  6303. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_cares_ares_version" >&5
  6304. +echo "${ECHO_T}$ac_cv_lib_cares_ares_version" >&6; }
  6305. if test $ac_cv_lib_cares_ares_version = yes; then
  6306. cat >>confdefs.h <<\_ACEOF
  6307. @@ -6085,8 +6638,8 @@ fi
  6308. if test "X$SIPSAK_HAVE_ARES" == "X"; then
  6309. - echo "$as_me:$LINENO: checking for ruli.h" >&5
  6310. -echo $ECHO_N "checking for ruli.h... $ECHO_C" >&6
  6311. + { echo "$as_me:$LINENO: checking for ruli.h" >&5
  6312. +echo $ECHO_N "checking for ruli.h... $ECHO_C" >&6; }
  6313. ruli_incdir=NONE
  6314. ruli_libdir=NONE
  6315. @@ -6103,14 +6656,14 @@ echo $ECHO_N "checking for ruli.h... $EC
  6316. done
  6317. if test "$ruli_incdir" = "NONE"; then
  6318. - echo "$as_me:$LINENO: result: not found" >&5
  6319. -echo "${ECHO_T}not found" >&6
  6320. + { echo "$as_me:$LINENO: result: not found" >&5
  6321. +echo "${ECHO_T}not found" >&6; }
  6322. else
  6323. - echo "$as_me:$LINENO: result: found at $ruli_incdir" >&5
  6324. -echo "${ECHO_T}found at $ruli_incdir" >&6
  6325. + { echo "$as_me:$LINENO: result: found at $ruli_incdir" >&5
  6326. +echo "${ECHO_T}found at $ruli_incdir" >&6; }
  6327. - echo "$as_me:$LINENO: checking for libruli" >&5
  6328. -echo $ECHO_N "checking for libruli... $ECHO_C" >&6
  6329. + { echo "$as_me:$LINENO: checking for libruli" >&5
  6330. +echo $ECHO_N "checking for libruli... $ECHO_C" >&6; }
  6331. for dir in $ruli_libdirs; do
  6332. for extension in $ruli_libexten; do
  6333. @@ -6126,15 +6679,15 @@ echo $ECHO_N "checking for libruli... $E
  6334. done
  6335. if test "$ruli_libdir" = "NONE"; then
  6336. - echo "$as_me:$LINENO: result: not found" >&5
  6337. -echo "${ECHO_T}not found" >&6
  6338. + { echo "$as_me:$LINENO: result: not found" >&5
  6339. +echo "${ECHO_T}not found" >&6; }
  6340. else
  6341. - echo "$as_me:$LINENO: result: found at $ruli_libdir" >&5
  6342. -echo "${ECHO_T}found at $ruli_libdir" >&6
  6343. + { echo "$as_me:$LINENO: result: found at $ruli_libdir" >&5
  6344. +echo "${ECHO_T}found at $ruli_libdir" >&6; }
  6345. fi
  6346. - echo "$as_me:$LINENO: checking for ruli_sync_query in -lruli" >&5
  6347. -echo $ECHO_N "checking for ruli_sync_query in -lruli... $ECHO_C" >&6
  6348. + { echo "$as_me:$LINENO: checking for ruli_sync_query in -lruli" >&5
  6349. +echo $ECHO_N "checking for ruli_sync_query in -lruli... $ECHO_C" >&6; }
  6350. if test "${ac_cv_lib_ruli_ruli_sync_query+set}" = set; then
  6351. echo $ECHO_N "(cached) $ECHO_C" >&6
  6352. else
  6353. @@ -6147,56 +6700,53 @@ cat confdefs.h >>conftest.$ac_ext
  6354. cat >>conftest.$ac_ext <<_ACEOF
  6355. /* end confdefs.h. */
  6356. -/* Override any gcc2 internal prototype to avoid an error. */
  6357. +/* Override any GCC internal prototype to avoid an error.
  6358. + Use char because int might match the return type of a GCC
  6359. + builtin and then its argument prototype would still apply. */
  6360. #ifdef __cplusplus
  6361. extern "C"
  6362. #endif
  6363. -/* We use char because int might match the return type of a gcc2
  6364. - builtin and then its argument prototype would still apply. */
  6365. char ruli_sync_query ();
  6366. int
  6367. main ()
  6368. {
  6369. -ruli_sync_query ();
  6370. +return ruli_sync_query ();
  6371. ;
  6372. return 0;
  6373. }
  6374. _ACEOF
  6375. rm -f conftest.$ac_objext conftest$ac_exeext
  6376. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6377. - (eval $ac_link) 2>conftest.er1
  6378. +if { (ac_try="$ac_link"
  6379. +case "(($ac_try" in
  6380. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6381. + *) ac_try_echo=$ac_try;;
  6382. +esac
  6383. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6384. + (eval "$ac_link") 2>conftest.er1
  6385. ac_status=$?
  6386. grep -v '^ *+' conftest.er1 >conftest.err
  6387. rm -f conftest.er1
  6388. cat conftest.err >&5
  6389. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6390. - (exit $ac_status); } &&
  6391. - { ac_try='test -z "$ac_c_werror_flag"
  6392. - || test ! -s conftest.err'
  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); }; } &&
  6398. - { ac_try='test -s conftest$ac_exeext'
  6399. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6400. - (eval $ac_try) 2>&5
  6401. - ac_status=$?
  6402. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6403. - (exit $ac_status); }; }; then
  6404. + (exit $ac_status); } && {
  6405. + test -z "$ac_c_werror_flag" ||
  6406. + test ! -s conftest.err
  6407. + } && test -s conftest$ac_exeext &&
  6408. + $as_test_x conftest$ac_exeext; then
  6409. ac_cv_lib_ruli_ruli_sync_query=yes
  6410. else
  6411. echo "$as_me: failed program was:" >&5
  6412. sed 's/^/| /' conftest.$ac_ext >&5
  6413. -ac_cv_lib_ruli_ruli_sync_query=no
  6414. + ac_cv_lib_ruli_ruli_sync_query=no
  6415. fi
  6416. -rm -f conftest.err conftest.$ac_objext \
  6417. +
  6418. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6419. conftest$ac_exeext conftest.$ac_ext
  6420. LIBS=$ac_check_lib_save_LIBS
  6421. fi
  6422. -echo "$as_me:$LINENO: result: $ac_cv_lib_ruli_ruli_sync_query" >&5
  6423. -echo "${ECHO_T}$ac_cv_lib_ruli_ruli_sync_query" >&6
  6424. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_ruli_ruli_sync_query" >&5
  6425. +echo "${ECHO_T}$ac_cv_lib_ruli_ruli_sync_query" >&6; }
  6426. if test $ac_cv_lib_ruli_ruli_sync_query = yes; then
  6427. cat >>confdefs.h <<\_ACEOF
  6428. @@ -6215,18 +6765,19 @@ else
  6429. for ac_header in arpa/nameser.h
  6430. do
  6431. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6432. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  6433. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  6434. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  6435. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  6436. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6437. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  6438. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  6439. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6440. echo $ECHO_N "(cached) $ECHO_C" >&6
  6441. fi
  6442. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  6443. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  6444. +ac_res=`eval echo '${'$as_ac_Header'}'`
  6445. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  6446. +echo "${ECHO_T}$ac_res" >&6; }
  6447. else
  6448. # Is the header compilable?
  6449. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  6450. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  6451. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  6452. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  6453. cat >conftest.$ac_ext <<_ACEOF
  6454. /* confdefs.h. */
  6455. _ACEOF
  6456. @@ -6237,41 +6788,37 @@ $ac_includes_default
  6457. #include <$ac_header>
  6458. _ACEOF
  6459. rm -f conftest.$ac_objext
  6460. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6461. - (eval $ac_compile) 2>conftest.er1
  6462. +if { (ac_try="$ac_compile"
  6463. +case "(($ac_try" in
  6464. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6465. + *) ac_try_echo=$ac_try;;
  6466. +esac
  6467. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6468. + (eval "$ac_compile") 2>conftest.er1
  6469. ac_status=$?
  6470. grep -v '^ *+' conftest.er1 >conftest.err
  6471. rm -f conftest.er1
  6472. cat conftest.err >&5
  6473. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6474. - (exit $ac_status); } &&
  6475. - { ac_try='test -z "$ac_c_werror_flag"
  6476. - || test ! -s conftest.err'
  6477. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6478. - (eval $ac_try) 2>&5
  6479. - ac_status=$?
  6480. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6481. - (exit $ac_status); }; } &&
  6482. - { ac_try='test -s conftest.$ac_objext'
  6483. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6484. - (eval $ac_try) 2>&5
  6485. - ac_status=$?
  6486. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6487. - (exit $ac_status); }; }; then
  6488. + (exit $ac_status); } && {
  6489. + test -z "$ac_c_werror_flag" ||
  6490. + test ! -s conftest.err
  6491. + } && test -s conftest.$ac_objext; then
  6492. ac_header_compiler=yes
  6493. else
  6494. echo "$as_me: failed program was:" >&5
  6495. sed 's/^/| /' conftest.$ac_ext >&5
  6496. -ac_header_compiler=no
  6497. + ac_header_compiler=no
  6498. fi
  6499. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  6500. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6501. -echo "${ECHO_T}$ac_header_compiler" >&6
  6502. +
  6503. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6504. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6505. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  6506. # Is the header present?
  6507. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  6508. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  6509. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  6510. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  6511. cat >conftest.$ac_ext <<_ACEOF
  6512. /* confdefs.h. */
  6513. _ACEOF
  6514. @@ -6280,24 +6827,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  6515. /* end confdefs.h. */
  6516. #include <$ac_header>
  6517. _ACEOF
  6518. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  6519. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  6520. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  6521. +case "(($ac_try" in
  6522. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6523. + *) ac_try_echo=$ac_try;;
  6524. +esac
  6525. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6526. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6527. ac_status=$?
  6528. grep -v '^ *+' conftest.er1 >conftest.err
  6529. rm -f conftest.er1
  6530. cat conftest.err >&5
  6531. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6532. - (exit $ac_status); } >/dev/null; then
  6533. - if test -s conftest.err; then
  6534. - ac_cpp_err=$ac_c_preproc_warn_flag
  6535. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  6536. - else
  6537. - ac_cpp_err=
  6538. - fi
  6539. -else
  6540. - ac_cpp_err=yes
  6541. -fi
  6542. -if test -z "$ac_cpp_err"; then
  6543. + (exit $ac_status); } >/dev/null && {
  6544. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6545. + test ! -s conftest.err
  6546. + }; then
  6547. ac_header_preproc=yes
  6548. else
  6549. echo "$as_me: failed program was:" >&5
  6550. @@ -6305,9 +6850,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  6551. ac_header_preproc=no
  6552. fi
  6553. +
  6554. rm -f conftest.err conftest.$ac_ext
  6555. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6556. -echo "${ECHO_T}$ac_header_preproc" >&6
  6557. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6558. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  6559. # So? What about this header?
  6560. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6561. @@ -6331,25 +6877,24 @@ echo "$as_me: WARNING: $ac_header: s
  6562. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  6563. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  6564. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  6565. - (
  6566. - cat <<\_ASBOX
  6567. + ( cat <<\_ASBOX
  6568. ## ------------------------------ ##
  6569. ## Report this to nils@sipsak.org ##
  6570. ## ------------------------------ ##
  6571. _ASBOX
  6572. - ) |
  6573. - sed "s/^/$as_me: WARNING: /" >&2
  6574. + ) | sed "s/^/$as_me: WARNING: /" >&2
  6575. ;;
  6576. esac
  6577. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  6578. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  6579. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  6580. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  6581. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  6582. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6583. echo $ECHO_N "(cached) $ECHO_C" >&6
  6584. else
  6585. eval "$as_ac_Header=\$ac_header_preproc"
  6586. fi
  6587. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  6588. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  6589. +ac_res=`eval echo '${'$as_ac_Header'}'`
  6590. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  6591. +echo "${ECHO_T}$ac_res" >&6; }
  6592. fi
  6593. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  6594. @@ -6366,11 +6911,11 @@ fi
  6595. # Check for T1 timer value
  6596. def_timeout=500
  6597. - # Check whether --enable-timeout or --disable-timeout was given.
  6598. + # Check whether --enable-timeout was given.
  6599. if test "${enable_timeout+set}" = set; then
  6600. - enableval="$enable_timeout"
  6601. - def_timeout=$enableval
  6602. -fi;
  6603. + enableval=$enable_timeout; def_timeout=$enableval
  6604. +fi
  6605. +
  6606. if test "X$def_timeout" = "Xno"; then
  6607. # no timeout makes no sense
  6608. def_timeout=500
  6609. @@ -6382,7 +6927,7 @@ _ACEOF
  6610. - ac_config_files="$ac_config_files Makefile"
  6611. +ac_config_files="$ac_config_files Makefile"
  6612. cat >confcache <<\_ACEOF
  6613. # This file is a shell script that caches the results of configure
  6614. @@ -6402,39 +6947,58 @@ _ACEOF
  6615. # The following way of writing the cache mishandles newlines in values,
  6616. # but we know of no workaround that is simple, portable, and efficient.
  6617. -# So, don't put newlines in cache variables' values.
  6618. +# So, we kill variables containing newlines.
  6619. # Ultrix sh set writes to stderr and can't be redirected directly,
  6620. # and sets the high bit in the cache file unless we assign to the vars.
  6621. -{
  6622. +(
  6623. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  6624. + eval ac_val=\$$ac_var
  6625. + case $ac_val in #(
  6626. + *${as_nl}*)
  6627. + case $ac_var in #(
  6628. + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  6629. +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  6630. + esac
  6631. + case $ac_var in #(
  6632. + _ | IFS | as_nl) ;; #(
  6633. + *) $as_unset $ac_var ;;
  6634. + esac ;;
  6635. + esac
  6636. + done
  6637. +
  6638. (set) 2>&1 |
  6639. - case `(ac_space=' '; set | grep ac_space) 2>&1` in
  6640. - *ac_space=\ *)
  6641. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  6642. + *${as_nl}ac_space=\ *)
  6643. # `set' does not quote correctly, so add quotes (double-quote
  6644. # substitution turns \\\\ into \\, and sed turns \\ into \).
  6645. sed -n \
  6646. "s/'/'\\\\''/g;
  6647. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  6648. - ;;
  6649. + ;; #(
  6650. *)
  6651. # `set' quotes correctly as required by POSIX, so do not add quotes.
  6652. - sed -n \
  6653. - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  6654. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  6655. ;;
  6656. - esac;
  6657. -} |
  6658. + esac |
  6659. + sort
  6660. +) |
  6661. sed '
  6662. + /^ac_cv_env_/b end
  6663. t clear
  6664. - : clear
  6665. + :clear
  6666. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  6667. t end
  6668. - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  6669. - : end' >>confcache
  6670. -if diff $cache_file confcache >/dev/null 2>&1; then :; else
  6671. - if test -w $cache_file; then
  6672. - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
  6673. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  6674. + :end' >>confcache
  6675. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  6676. + if test -w "$cache_file"; then
  6677. + test "x$cache_file" != "x/dev/null" &&
  6678. + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
  6679. +echo "$as_me: updating cache $cache_file" >&6;}
  6680. cat confcache >$cache_file
  6681. else
  6682. - echo "not updating unwritable cache $cache_file"
  6683. + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  6684. +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  6685. fi
  6686. fi
  6687. rm -f confcache
  6688. @@ -6443,32 +7007,18 @@ test "x$prefix" = xNONE && prefix=$ac_de
  6689. # Let make expand exec_prefix.
  6690. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  6691. -# VPATH may cause trouble with some makes, so we remove $(srcdir),
  6692. -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  6693. -# trailing colons and then remove the whole line if VPATH becomes empty
  6694. -# (actually we leave an empty line to preserve line numbers).
  6695. -if test "x$srcdir" = x.; then
  6696. - ac_vpsub='/^[ ]*VPATH[ ]*=/{
  6697. -s/:*\$(srcdir):*/:/;
  6698. -s/:*\${srcdir}:*/:/;
  6699. -s/:*@srcdir@:*/:/;
  6700. -s/^\([^=]*=[ ]*\):*/\1/;
  6701. -s/:*$//;
  6702. -s/^[^=]*=[ ]*$//;
  6703. -}'
  6704. -fi
  6705. -
  6706. DEFS=-DHAVE_CONFIG_H
  6707. ac_libobjs=
  6708. ac_ltlibobjs=
  6709. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  6710. # 1. Remove the extension, and $U if already installed.
  6711. - ac_i=`echo "$ac_i" |
  6712. - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  6713. - # 2. Add them.
  6714. - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  6715. - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
  6716. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  6717. + ac_i=`echo "$ac_i" | sed "$ac_script"`
  6718. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  6719. + # will be set to the directory where LIBOBJS objects are built.
  6720. + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  6721. + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  6722. done
  6723. LIBOBJS=$ac_libobjs
  6724. @@ -6520,17 +7070,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
  6725. ## M4sh Initialization. ##
  6726. ## --------------------- ##
  6727. -# Be Bourne compatible
  6728. +# Be more Bourne compatible
  6729. +DUALCASE=1; export DUALCASE # for MKS sh
  6730. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  6731. emulate sh
  6732. NULLCMD=:
  6733. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  6734. # is contrary to our usage. Disable this feature.
  6735. alias -g '${1+"$@"}'='"$@"'
  6736. -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  6737. - set -o posix
  6738. + setopt NO_GLOB_SUBST
  6739. +else
  6740. + case `(set -o) 2>/dev/null` in
  6741. + *posix*) set -o posix ;;
  6742. +esac
  6743. +
  6744. +fi
  6745. +
  6746. +
  6747. +
  6748. +
  6749. +# PATH needs CR
  6750. +# Avoid depending upon Character Ranges.
  6751. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  6752. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  6753. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  6754. +as_cr_digits='0123456789'
  6755. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  6756. +
  6757. +# The user is always right.
  6758. +if test "${PATH_SEPARATOR+set}" != set; then
  6759. + echo "#! /bin/sh" >conf$$.sh
  6760. + echo "exit 0" >>conf$$.sh
  6761. + chmod +x conf$$.sh
  6762. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  6763. + PATH_SEPARATOR=';'
  6764. + else
  6765. + PATH_SEPARATOR=:
  6766. + fi
  6767. + rm -f conf$$.sh
  6768. fi
  6769. -DUALCASE=1; export DUALCASE # for MKS sh
  6770. # Support unset when possible.
  6771. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  6772. @@ -6540,8 +7118,43 @@ else
  6773. fi
  6774. +# IFS
  6775. +# We need space, tab and new line, in precisely that order. Quoting is
  6776. +# there to prevent editors from complaining about space-tab.
  6777. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  6778. +# splitting by setting IFS to empty value.)
  6779. +as_nl='
  6780. +'
  6781. +IFS=" "" $as_nl"
  6782. +
  6783. +# Find who we are. Look in the path if we contain no directory separator.
  6784. +case $0 in
  6785. + *[\\/]* ) as_myself=$0 ;;
  6786. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6787. +for as_dir in $PATH
  6788. +do
  6789. + IFS=$as_save_IFS
  6790. + test -z "$as_dir" && as_dir=.
  6791. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  6792. +done
  6793. +IFS=$as_save_IFS
  6794. +
  6795. + ;;
  6796. +esac
  6797. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  6798. +# in which case we are not to be found in the path.
  6799. +if test "x$as_myself" = x; then
  6800. + as_myself=$0
  6801. +fi
  6802. +if test ! -f "$as_myself"; then
  6803. + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  6804. + { (exit 1); exit 1; }
  6805. +fi
  6806. +
  6807. # Work around bugs in pre-3.0 UWIN ksh.
  6808. -$as_unset ENV MAIL MAILPATH
  6809. +for as_var in ENV MAIL MAILPATH
  6810. +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  6811. +done
  6812. PS1='$ '
  6813. PS2='> '
  6814. PS4='+ '
  6815. @@ -6555,18 +7168,19 @@ do
  6816. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  6817. eval $as_var=C; export $as_var
  6818. else
  6819. - $as_unset $as_var
  6820. + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  6821. fi
  6822. done
  6823. # Required to use basename.
  6824. -if expr a : '\(a\)' >/dev/null 2>&1; then
  6825. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  6826. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  6827. as_expr=expr
  6828. else
  6829. as_expr=false
  6830. fi
  6831. -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  6832. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  6833. as_basename=basename
  6834. else
  6835. as_basename=false
  6836. @@ -6574,159 +7188,120 @@ fi
  6837. # Name of the executable.
  6838. -as_me=`$as_basename "$0" ||
  6839. +as_me=`$as_basename -- "$0" ||
  6840. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  6841. X"$0" : 'X\(//\)$' \| \
  6842. - X"$0" : 'X\(/\)$' \| \
  6843. - . : '\(.\)' 2>/dev/null ||
  6844. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  6845. echo X/"$0" |
  6846. - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  6847. - /^X\/\(\/\/\)$/{ s//\1/; q; }
  6848. - /^X\/\(\/\).*/{ s//\1/; q; }
  6849. - s/.*/./; q'`
  6850. -
  6851. -
  6852. -# PATH needs CR, and LINENO needs CR and PATH.
  6853. -# Avoid depending upon Character Ranges.
  6854. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  6855. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  6856. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  6857. -as_cr_digits='0123456789'
  6858. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  6859. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  6860. + s//\1/
  6861. + q
  6862. + }
  6863. + /^X\/\(\/\/\)$/{
  6864. + s//\1/
  6865. + q
  6866. + }
  6867. + /^X\/\(\/\).*/{
  6868. + s//\1/
  6869. + q
  6870. + }
  6871. + s/.*/./; q'`
  6872. -# The user is always right.
  6873. -if test "${PATH_SEPARATOR+set}" != set; then
  6874. - echo "#! /bin/sh" >conf$$.sh
  6875. - echo "exit 0" >>conf$$.sh
  6876. - chmod +x conf$$.sh
  6877. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  6878. - PATH_SEPARATOR=';'
  6879. - else
  6880. - PATH_SEPARATOR=:
  6881. - fi
  6882. - rm -f conf$$.sh
  6883. -fi
  6884. +# CDPATH.
  6885. +$as_unset CDPATH
  6886. - as_lineno_1=$LINENO
  6887. - as_lineno_2=$LINENO
  6888. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  6889. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  6890. - test "x$as_lineno_3" = "x$as_lineno_2" || {
  6891. - # Find who we are. Look in the path if we contain no path at all
  6892. - # relative or not.
  6893. - case $0 in
  6894. - *[\\/]* ) as_myself=$0 ;;
  6895. - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6896. -for as_dir in $PATH
  6897. -do
  6898. - IFS=$as_save_IFS
  6899. - test -z "$as_dir" && as_dir=.
  6900. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  6901. -done
  6902. - ;;
  6903. - esac
  6904. - # We did not find ourselves, most probably we were run as `sh COMMAND'
  6905. - # in which case we are not to be found in the path.
  6906. - if test "x$as_myself" = x; then
  6907. - as_myself=$0
  6908. - fi
  6909. - if test ! -f "$as_myself"; then
  6910. - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
  6911. -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
  6912. - { (exit 1); exit 1; }; }
  6913. - fi
  6914. - case $CONFIG_SHELL in
  6915. - '')
  6916. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6917. -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  6918. -do
  6919. - IFS=$as_save_IFS
  6920. - test -z "$as_dir" && as_dir=.
  6921. - for as_base in sh bash ksh sh5; do
  6922. - case $as_dir in
  6923. - /*)
  6924. - if ("$as_dir/$as_base" -c '
  6925. as_lineno_1=$LINENO
  6926. as_lineno_2=$LINENO
  6927. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  6928. test "x$as_lineno_1" != "x$as_lineno_2" &&
  6929. - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  6930. - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  6931. - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  6932. - CONFIG_SHELL=$as_dir/$as_base
  6933. - export CONFIG_SHELL
  6934. - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  6935. - fi;;
  6936. - esac
  6937. - done
  6938. -done
  6939. -;;
  6940. - esac
  6941. + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  6942. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  6943. # uniformly replaced by the line number. The first 'sed' inserts a
  6944. - # line-number line before each line; the second 'sed' does the real
  6945. - # work. The second script uses 'N' to pair each line-number line
  6946. - # with the numbered line, and appends trailing '-' during
  6947. - # substitution so that $LINENO is not a special case at line end.
  6948. + # line-number line after each line using $LINENO; the second 'sed'
  6949. + # does the real work. The second script uses 'N' to pair each
  6950. + # line-number line with the line containing $LINENO, and appends
  6951. + # trailing '-' during substitution so that $LINENO is not a special
  6952. + # case at line end.
  6953. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  6954. - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  6955. - sed '=' <$as_myself |
  6956. + # scripts with optimization help from Paolo Bonzini. Blame Lee
  6957. + # E. McMahon (1931-1989) for sed's syntax. :-)
  6958. + sed -n '
  6959. + p
  6960. + /[$]LINENO/=
  6961. + ' <$as_myself |
  6962. sed '
  6963. + s/[$]LINENO.*/&-/
  6964. + t lineno
  6965. + b
  6966. + :lineno
  6967. N
  6968. - s,$,-,
  6969. - : loop
  6970. - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  6971. + :loop
  6972. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  6973. t loop
  6974. - s,-$,,
  6975. - s,^['$as_cr_digits']*\n,,
  6976. + s/-\n.*//
  6977. ' >$as_me.lineno &&
  6978. - chmod +x $as_me.lineno ||
  6979. - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
  6980. -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
  6981. + chmod +x "$as_me.lineno" ||
  6982. + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  6983. { (exit 1); exit 1; }; }
  6984. # Don't try to exec as it changes $[0], causing all sort of problems
  6985. # (the dirname of $[0] is not the place where we might find the
  6986. - # original and so on. Autoconf is especially sensible to this).
  6987. - . ./$as_me.lineno
  6988. + # original and so on. Autoconf is especially sensitive to this).
  6989. + . "./$as_me.lineno"
  6990. # Exit status is that of the last command.
  6991. exit
  6992. }
  6993. -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  6994. - *c*,-n*) ECHO_N= ECHO_C='
  6995. -' ECHO_T=' ' ;;
  6996. - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  6997. - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  6998. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  6999. + as_dirname=dirname
  7000. +else
  7001. + as_dirname=false
  7002. +fi
  7003. +
  7004. +ECHO_C= ECHO_N= ECHO_T=
  7005. +case `echo -n x` in
  7006. +-n*)
  7007. + case `echo 'x\c'` in
  7008. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  7009. + *) ECHO_C='\c';;
  7010. + esac;;
  7011. +*)
  7012. + ECHO_N='-n';;
  7013. esac
  7014. -if expr a : '\(a\)' >/dev/null 2>&1; then
  7015. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  7016. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  7017. as_expr=expr
  7018. else
  7019. as_expr=false
  7020. fi
  7021. rm -f conf$$ conf$$.exe conf$$.file
  7022. +if test -d conf$$.dir; then
  7023. + rm -f conf$$.dir/conf$$.file
  7024. +else
  7025. + rm -f conf$$.dir
  7026. + mkdir conf$$.dir
  7027. +fi
  7028. echo >conf$$.file
  7029. if ln -s conf$$.file conf$$ 2>/dev/null; then
  7030. - # We could just check for DJGPP; but this test a) works b) is more generic
  7031. - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  7032. - if test -f conf$$.exe; then
  7033. - # Don't use ln at all; we don't have any links
  7034. + as_ln_s='ln -s'
  7035. + # ... but there are two gotchas:
  7036. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  7037. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  7038. + # In both cases, we have to default to `cp -p'.
  7039. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  7040. as_ln_s='cp -p'
  7041. - else
  7042. - as_ln_s='ln -s'
  7043. - fi
  7044. elif ln conf$$.file conf$$ 2>/dev/null; then
  7045. as_ln_s=ln
  7046. else
  7047. as_ln_s='cp -p'
  7048. fi
  7049. -rm -f conf$$ conf$$.exe conf$$.file
  7050. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  7051. +rmdir conf$$.dir 2>/dev/null
  7052. if mkdir -p . 2>/dev/null; then
  7053. as_mkdir_p=:
  7054. @@ -6735,7 +7310,28 @@ else
  7055. as_mkdir_p=false
  7056. fi
  7057. -as_executable_p="test -f"
  7058. +if test -x / >/dev/null 2>&1; then
  7059. + as_test_x='test -x'
  7060. +else
  7061. + if ls -dL / >/dev/null 2>&1; then
  7062. + as_ls_L_option=L
  7063. + else
  7064. + as_ls_L_option=
  7065. + fi
  7066. + as_test_x='
  7067. + eval sh -c '\''
  7068. + if test -d "$1"; then
  7069. + test -d "$1/.";
  7070. + else
  7071. + case $1 in
  7072. + -*)set "./$1";;
  7073. + esac;
  7074. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  7075. + ???[sx]*):;;*)false;;esac;fi
  7076. + '\'' sh
  7077. + '
  7078. +fi
  7079. +as_executable_p=$as_test_x
  7080. # Sed expression to map a string onto a valid CPP name.
  7081. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  7082. @@ -6744,31 +7340,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
  7083. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  7084. -# IFS
  7085. -# We need space, tab and new line, in precisely that order.
  7086. -as_nl='
  7087. -'
  7088. -IFS=" $as_nl"
  7089. -
  7090. -# CDPATH.
  7091. -$as_unset CDPATH
  7092. -
  7093. exec 6>&1
  7094. -# Open the log real soon, to keep \$[0] and so on meaningful, and to
  7095. +# Save the log message, to keep $[0] and so on meaningful, and to
  7096. # report actual input values of CONFIG_FILES etc. instead of their
  7097. -# values after options handling. Logging --version etc. is OK.
  7098. -exec 5>>config.log
  7099. -{
  7100. - echo
  7101. - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  7102. -## Running $as_me. ##
  7103. -_ASBOX
  7104. -} >&5
  7105. -cat >&5 <<_CSEOF
  7106. -
  7107. +# values after options handling.
  7108. +ac_log="
  7109. This file was extended by sipsak $as_me 0.9.6, which was
  7110. -generated by GNU Autoconf 2.59. Invocation command line was
  7111. +generated by GNU Autoconf 2.61. Invocation command line was
  7112. CONFIG_FILES = $CONFIG_FILES
  7113. CONFIG_HEADERS = $CONFIG_HEADERS
  7114. @@ -6776,30 +7355,20 @@ generated by GNU Autoconf 2.59. Invocat
  7115. CONFIG_COMMANDS = $CONFIG_COMMANDS
  7116. $ $0 $@
  7117. -_CSEOF
  7118. -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
  7119. -echo >&5
  7120. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  7121. +"
  7122. +
  7123. _ACEOF
  7124. +cat >>$CONFIG_STATUS <<_ACEOF
  7125. # Files that config.status was made for.
  7126. -if test -n "$ac_config_files"; then
  7127. - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
  7128. -fi
  7129. -
  7130. -if test -n "$ac_config_headers"; then
  7131. - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
  7132. -fi
  7133. -
  7134. -if test -n "$ac_config_links"; then
  7135. - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
  7136. -fi
  7137. +config_files="$ac_config_files"
  7138. +config_headers="$ac_config_headers"
  7139. +config_commands="$ac_config_commands"
  7140. -if test -n "$ac_config_commands"; then
  7141. - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  7142. -fi
  7143. +_ACEOF
  7144. cat >>$CONFIG_STATUS <<\_ACEOF
  7145. -
  7146. ac_cs_usage="\
  7147. \`$as_me' instantiates files from templates according to the
  7148. current configuration.
  7149. @@ -6807,7 +7376,7 @@ current configuration.
  7150. Usage: $0 [OPTIONS] [FILE]...
  7151. -h, --help print this help, then exit
  7152. - -V, --version print version number, then exit
  7153. + -V, --version print version number and configuration settings, then exit
  7154. -q, --quiet do not print progress messages
  7155. -d, --debug don't remove temporary files
  7156. --recheck update $as_me by reconfiguring in the same conditions
  7157. @@ -6826,19 +7395,21 @@ Configuration commands:
  7158. $config_commands
  7159. Report bugs to <bug-autoconf@gnu.org>."
  7160. -_ACEOF
  7161. +_ACEOF
  7162. cat >>$CONFIG_STATUS <<_ACEOF
  7163. ac_cs_version="\\
  7164. sipsak config.status 0.9.6
  7165. -configured by $0, generated by GNU Autoconf 2.59,
  7166. - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  7167. +configured by $0, generated by GNU Autoconf 2.61,
  7168. + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  7169. -Copyright (C) 2003 Free Software Foundation, Inc.
  7170. +Copyright (C) 2006 Free Software Foundation, Inc.
  7171. This config.status script is free software; the Free Software Foundation
  7172. gives unlimited permission to copy, distribute and modify it."
  7173. -srcdir=$srcdir
  7174. -INSTALL="$INSTALL"
  7175. +
  7176. +ac_pwd='$ac_pwd'
  7177. +srcdir='$srcdir'
  7178. +INSTALL='$INSTALL'
  7179. _ACEOF
  7180. cat >>$CONFIG_STATUS <<\_ACEOF
  7181. @@ -6849,39 +7420,24 @@ while test $# != 0
  7182. do
  7183. case $1 in
  7184. --*=*)
  7185. - ac_option=`expr "x$1" : 'x\([^=]*\)='`
  7186. - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
  7187. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  7188. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  7189. ac_shift=:
  7190. ;;
  7191. - -*)
  7192. + *)
  7193. ac_option=$1
  7194. ac_optarg=$2
  7195. ac_shift=shift
  7196. ;;
  7197. - *) # This is not an option, so the user has probably given explicit
  7198. - # arguments.
  7199. - ac_option=$1
  7200. - ac_need_defaults=false;;
  7201. esac
  7202. case $ac_option in
  7203. # Handling of the options.
  7204. -_ACEOF
  7205. -cat >>$CONFIG_STATUS <<\_ACEOF
  7206. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  7207. ac_cs_recheck=: ;;
  7208. - --version | --vers* | -V )
  7209. - echo "$ac_cs_version"; exit 0 ;;
  7210. - --he | --h)
  7211. - # Conflict between --help and --header
  7212. - { { echo "$as_me:$LINENO: error: ambiguous option: $1
  7213. -Try \`$0 --help' for more information." >&5
  7214. -echo "$as_me: error: ambiguous option: $1
  7215. -Try \`$0 --help' for more information." >&2;}
  7216. - { (exit 1); exit 1; }; };;
  7217. - --help | --hel | -h )
  7218. - echo "$ac_cs_usage"; exit 0 ;;
  7219. - --debug | --d* | -d )
  7220. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  7221. + echo "$ac_cs_version"; exit ;;
  7222. + --debug | --debu | --deb | --de | --d | -d )
  7223. debug=: ;;
  7224. --file | --fil | --fi | --f )
  7225. $ac_shift
  7226. @@ -6891,18 +7447,24 @@ Try \`$0 --help' for more information."
  7227. $ac_shift
  7228. CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  7229. ac_need_defaults=false;;
  7230. + --he | --h)
  7231. + # Conflict between --help and --header
  7232. + { echo "$as_me: error: ambiguous option: $1
  7233. +Try \`$0 --help' for more information." >&2
  7234. + { (exit 1); exit 1; }; };;
  7235. + --help | --hel | -h )
  7236. + echo "$ac_cs_usage"; exit ;;
  7237. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  7238. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  7239. ac_cs_silent=: ;;
  7240. # This is an error.
  7241. - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  7242. -Try \`$0 --help' for more information." >&5
  7243. -echo "$as_me: error: unrecognized option: $1
  7244. -Try \`$0 --help' for more information." >&2;}
  7245. + -*) { echo "$as_me: error: unrecognized option: $1
  7246. +Try \`$0 --help' for more information." >&2
  7247. { (exit 1); exit 1; }; } ;;
  7248. - *) ac_config_targets="$ac_config_targets $1" ;;
  7249. + *) ac_config_targets="$ac_config_targets $1"
  7250. + ac_need_defaults=false ;;
  7251. esac
  7252. shift
  7253. @@ -6918,37 +7480,49 @@ fi
  7254. _ACEOF
  7255. cat >>$CONFIG_STATUS <<_ACEOF
  7256. if \$ac_cs_recheck; then
  7257. - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  7258. - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  7259. + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  7260. + CONFIG_SHELL=$SHELL
  7261. + export CONFIG_SHELL
  7262. + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  7263. fi
  7264. _ACEOF
  7265. +cat >>$CONFIG_STATUS <<\_ACEOF
  7266. +exec 5>>config.log
  7267. +{
  7268. + echo
  7269. + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  7270. +## Running $as_me. ##
  7271. +_ASBOX
  7272. + echo "$ac_log"
  7273. +} >&5
  7274. +_ACEOF
  7275. cat >>$CONFIG_STATUS <<_ACEOF
  7276. #
  7277. -# INIT-COMMANDS section.
  7278. +# INIT-COMMANDS
  7279. #
  7280. -
  7281. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  7282. _ACEOF
  7283. -
  7284. -
  7285. cat >>$CONFIG_STATUS <<\_ACEOF
  7286. +
  7287. +# Handling of arguments.
  7288. for ac_config_target in $ac_config_targets
  7289. do
  7290. - case "$ac_config_target" in
  7291. - # Handling of arguments.
  7292. - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  7293. - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  7294. - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  7295. + case $ac_config_target in
  7296. + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  7297. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  7298. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  7299. +
  7300. *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  7301. echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  7302. { (exit 1); exit 1; }; };;
  7303. esac
  7304. done
  7305. +
  7306. # If the user did not use the arguments to specify the items to instantiate,
  7307. # then the envvar interface is used. Set only those that are not.
  7308. # We use the long form for the default assignment because of an extremely
  7309. @@ -6960,592 +7534,539 @@ if $ac_need_defaults; then
  7310. fi
  7311. # Have a temporary directory for convenience. Make it in the build tree
  7312. -# simply because there is no reason to put it here, and in addition,
  7313. +# simply because there is no reason against having it here, and in addition,
  7314. # creating and moving files from /tmp can sometimes cause problems.
  7315. -# Create a temporary directory, and hook for its removal unless debugging.
  7316. +# Hook for its removal unless debugging.
  7317. +# Note that there is a small window in which the directory will not be cleaned:
  7318. +# after its creation but before its name has been assigned to `$tmp'.
  7319. $debug ||
  7320. {
  7321. - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  7322. + tmp=
  7323. + trap 'exit_status=$?
  7324. + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  7325. +' 0
  7326. trap '{ (exit 1); exit 1; }' 1 2 13 15
  7327. }
  7328. -
  7329. # Create a (secure) tmp directory for tmp files.
  7330. {
  7331. - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
  7332. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  7333. test -n "$tmp" && test -d "$tmp"
  7334. } ||
  7335. {
  7336. - tmp=./confstat$$-$RANDOM
  7337. - (umask 077 && mkdir $tmp)
  7338. + tmp=./conf$$-$RANDOM
  7339. + (umask 077 && mkdir "$tmp")
  7340. } ||
  7341. {
  7342. echo "$me: cannot create a temporary directory in ." >&2
  7343. { (exit 1); exit 1; }
  7344. }
  7345. -_ACEOF
  7346. -
  7347. -cat >>$CONFIG_STATUS <<_ACEOF
  7348. -
  7349. #
  7350. -# CONFIG_FILES section.
  7351. +# Set up the sed scripts for CONFIG_FILES section.
  7352. #
  7353. # No need to generate the scripts if there are no CONFIG_FILES.
  7354. # This happens for instance when ./config.status config.h
  7355. -if test -n "\$CONFIG_FILES"; then
  7356. - # Protect against being on the right side of a sed subst in config.status.
  7357. - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
  7358. - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
  7359. -s,@SHELL@,$SHELL,;t t
  7360. -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
  7361. -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
  7362. -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
  7363. -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
  7364. -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
  7365. -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
  7366. -s,@exec_prefix@,$exec_prefix,;t t
  7367. -s,@prefix@,$prefix,;t t
  7368. -s,@program_transform_name@,$program_transform_name,;t t
  7369. -s,@bindir@,$bindir,;t t
  7370. -s,@sbindir@,$sbindir,;t t
  7371. -s,@libexecdir@,$libexecdir,;t t
  7372. -s,@datadir@,$datadir,;t t
  7373. -s,@sysconfdir@,$sysconfdir,;t t
  7374. -s,@sharedstatedir@,$sharedstatedir,;t t
  7375. -s,@localstatedir@,$localstatedir,;t t
  7376. -s,@libdir@,$libdir,;t t
  7377. -s,@includedir@,$includedir,;t t
  7378. -s,@oldincludedir@,$oldincludedir,;t t
  7379. -s,@infodir@,$infodir,;t t
  7380. -s,@mandir@,$mandir,;t t
  7381. -s,@build_alias@,$build_alias,;t t
  7382. -s,@host_alias@,$host_alias,;t t
  7383. -s,@target_alias@,$target_alias,;t t
  7384. -s,@DEFS@,$DEFS,;t t
  7385. -s,@ECHO_C@,$ECHO_C,;t t
  7386. -s,@ECHO_N@,$ECHO_N,;t t
  7387. -s,@ECHO_T@,$ECHO_T,;t t
  7388. -s,@LIBS@,$LIBS,;t t
  7389. -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
  7390. -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
  7391. -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
  7392. -s,@CYGPATH_W@,$CYGPATH_W,;t t
  7393. -s,@PACKAGE@,$PACKAGE,;t t
  7394. -s,@VERSION@,$VERSION,;t t
  7395. -s,@ACLOCAL@,$ACLOCAL,;t t
  7396. -s,@AUTOCONF@,$AUTOCONF,;t t
  7397. -s,@AUTOMAKE@,$AUTOMAKE,;t t
  7398. -s,@AUTOHEADER@,$AUTOHEADER,;t t
  7399. -s,@MAKEINFO@,$MAKEINFO,;t t
  7400. -s,@install_sh@,$install_sh,;t t
  7401. -s,@STRIP@,$STRIP,;t t
  7402. -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
  7403. -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
  7404. -s,@mkdir_p@,$mkdir_p,;t t
  7405. -s,@AWK@,$AWK,;t t
  7406. -s,@SET_MAKE@,$SET_MAKE,;t t
  7407. -s,@am__leading_dot@,$am__leading_dot,;t t
  7408. -s,@AMTAR@,$AMTAR,;t t
  7409. -s,@am__tar@,$am__tar,;t t
  7410. -s,@am__untar@,$am__untar,;t t
  7411. -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
  7412. -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
  7413. -s,@MAINT@,$MAINT,;t t
  7414. -s,@CC@,$CC,;t t
  7415. -s,@CFLAGS@,$CFLAGS,;t t
  7416. -s,@LDFLAGS@,$LDFLAGS,;t t
  7417. -s,@CPPFLAGS@,$CPPFLAGS,;t t
  7418. -s,@ac_ct_CC@,$ac_ct_CC,;t t
  7419. -s,@EXEEXT@,$EXEEXT,;t t
  7420. -s,@OBJEXT@,$OBJEXT,;t t
  7421. -s,@DEPDIR@,$DEPDIR,;t t
  7422. -s,@am__include@,$am__include,;t t
  7423. -s,@am__quote@,$am__quote,;t t
  7424. -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
  7425. -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
  7426. -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
  7427. -s,@CCDEPMODE@,$CCDEPMODE,;t t
  7428. -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
  7429. -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
  7430. -s,@DISTCC@,$DISTCC,;t t
  7431. -s,@build@,$build,;t t
  7432. -s,@build_cpu@,$build_cpu,;t t
  7433. -s,@build_vendor@,$build_vendor,;t t
  7434. -s,@build_os@,$build_os,;t t
  7435. -s,@host@,$host,;t t
  7436. -s,@host_cpu@,$host_cpu,;t t
  7437. -s,@host_vendor@,$host_vendor,;t t
  7438. -s,@host_os@,$host_os,;t t
  7439. -s,@CPP@,$CPP,;t t
  7440. -s,@EGREP@,$EGREP,;t t
  7441. -s,@LIBOBJS@,$LIBOBJS,;t t
  7442. -s,@DISABLE_GNUTLS@,$DISABLE_GNUTLS,;t t
  7443. -s,@LIBGNUTLS_CONFIG@,$LIBGNUTLS_CONFIG,;t t
  7444. -s,@LIBGNUTLS_CFLAGS@,$LIBGNUTLS_CFLAGS,;t t
  7445. -s,@LIBGNUTLS_LIBS@,$LIBGNUTLS_LIBS,;t t
  7446. -s,@SIPSAK_HAVE_ARES@,$SIPSAK_HAVE_ARES,;t t
  7447. -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  7448. -CEOF
  7449. +if test -n "$CONFIG_FILES"; then
  7450. _ACEOF
  7451. - cat >>$CONFIG_STATUS <<\_ACEOF
  7452. - # Split the substitutions into bite-sized pieces for seds with
  7453. - # small command number limits, like on Digital OSF/1 and HP-UX.
  7454. - ac_max_sed_lines=48
  7455. - ac_sed_frag=1 # Number of current file.
  7456. - ac_beg=1 # First line for current file.
  7457. - ac_end=$ac_max_sed_lines # Line after last line for current file.
  7458. - ac_more_lines=:
  7459. - ac_sed_cmds=
  7460. - while $ac_more_lines; do
  7461. - if test $ac_beg -gt 1; then
  7462. - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  7463. - else
  7464. - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  7465. - fi
  7466. - if test ! -s $tmp/subs.frag; then
  7467. - ac_more_lines=false
  7468. - else
  7469. - # The purpose of the label and of the branching condition is to
  7470. - # speed up the sed processing (if there are no `@' at all, there
  7471. - # is no need to browse any of the substitutions).
  7472. - # These are the two extra sed commands mentioned above.
  7473. - (echo ':t
  7474. - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
  7475. - if test -z "$ac_sed_cmds"; then
  7476. - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  7477. - else
  7478. - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  7479. - fi
  7480. - ac_sed_frag=`expr $ac_sed_frag + 1`
  7481. - ac_beg=$ac_end
  7482. - ac_end=`expr $ac_end + $ac_max_sed_lines`
  7483. - fi
  7484. - done
  7485. - if test -z "$ac_sed_cmds"; then
  7486. - ac_sed_cmds=cat
  7487. +
  7488. +
  7489. +ac_delim='%!_!# '
  7490. +for ac_last_try in false false false false false :; do
  7491. + cat >conf$$subs.sed <<_ACEOF
  7492. +SHELL!$SHELL$ac_delim
  7493. +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
  7494. +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
  7495. +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
  7496. +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
  7497. +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
  7498. +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
  7499. +exec_prefix!$exec_prefix$ac_delim
  7500. +prefix!$prefix$ac_delim
  7501. +program_transform_name!$program_transform_name$ac_delim
  7502. +bindir!$bindir$ac_delim
  7503. +sbindir!$sbindir$ac_delim
  7504. +libexecdir!$libexecdir$ac_delim
  7505. +datarootdir!$datarootdir$ac_delim
  7506. +datadir!$datadir$ac_delim
  7507. +sysconfdir!$sysconfdir$ac_delim
  7508. +sharedstatedir!$sharedstatedir$ac_delim
  7509. +localstatedir!$localstatedir$ac_delim
  7510. +includedir!$includedir$ac_delim
  7511. +oldincludedir!$oldincludedir$ac_delim
  7512. +docdir!$docdir$ac_delim
  7513. +infodir!$infodir$ac_delim
  7514. +htmldir!$htmldir$ac_delim
  7515. +dvidir!$dvidir$ac_delim
  7516. +pdfdir!$pdfdir$ac_delim
  7517. +psdir!$psdir$ac_delim
  7518. +libdir!$libdir$ac_delim
  7519. +localedir!$localedir$ac_delim
  7520. +mandir!$mandir$ac_delim
  7521. +DEFS!$DEFS$ac_delim
  7522. +ECHO_C!$ECHO_C$ac_delim
  7523. +ECHO_N!$ECHO_N$ac_delim
  7524. +ECHO_T!$ECHO_T$ac_delim
  7525. +LIBS!$LIBS$ac_delim
  7526. +build_alias!$build_alias$ac_delim
  7527. +host_alias!$host_alias$ac_delim
  7528. +target_alias!$target_alias$ac_delim
  7529. +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
  7530. +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
  7531. +INSTALL_DATA!$INSTALL_DATA$ac_delim
  7532. +CYGPATH_W!$CYGPATH_W$ac_delim
  7533. +PACKAGE!$PACKAGE$ac_delim
  7534. +VERSION!$VERSION$ac_delim
  7535. +ACLOCAL!$ACLOCAL$ac_delim
  7536. +AUTOCONF!$AUTOCONF$ac_delim
  7537. +AUTOMAKE!$AUTOMAKE$ac_delim
  7538. +AUTOHEADER!$AUTOHEADER$ac_delim
  7539. +MAKEINFO!$MAKEINFO$ac_delim
  7540. +install_sh!$install_sh$ac_delim
  7541. +STRIP!$STRIP$ac_delim
  7542. +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
  7543. +mkdir_p!$mkdir_p$ac_delim
  7544. +AWK!$AWK$ac_delim
  7545. +SET_MAKE!$SET_MAKE$ac_delim
  7546. +am__leading_dot!$am__leading_dot$ac_delim
  7547. +AMTAR!$AMTAR$ac_delim
  7548. +am__tar!$am__tar$ac_delim
  7549. +am__untar!$am__untar$ac_delim
  7550. +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
  7551. +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
  7552. +MAINT!$MAINT$ac_delim
  7553. +CC!$CC$ac_delim
  7554. +CFLAGS!$CFLAGS$ac_delim
  7555. +LDFLAGS!$LDFLAGS$ac_delim
  7556. +CPPFLAGS!$CPPFLAGS$ac_delim
  7557. +ac_ct_CC!$ac_ct_CC$ac_delim
  7558. +EXEEXT!$EXEEXT$ac_delim
  7559. +OBJEXT!$OBJEXT$ac_delim
  7560. +DEPDIR!$DEPDIR$ac_delim
  7561. +am__include!$am__include$ac_delim
  7562. +am__quote!$am__quote$ac_delim
  7563. +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
  7564. +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
  7565. +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
  7566. +CCDEPMODE!$CCDEPMODE$ac_delim
  7567. +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
  7568. +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
  7569. +DISTCC!$DISTCC$ac_delim
  7570. +build!$build$ac_delim
  7571. +build_cpu!$build_cpu$ac_delim
  7572. +build_vendor!$build_vendor$ac_delim
  7573. +build_os!$build_os$ac_delim
  7574. +host!$host$ac_delim
  7575. +host_cpu!$host_cpu$ac_delim
  7576. +host_vendor!$host_vendor$ac_delim
  7577. +host_os!$host_os$ac_delim
  7578. +CPP!$CPP$ac_delim
  7579. +GREP!$GREP$ac_delim
  7580. +EGREP!$EGREP$ac_delim
  7581. +LIBOBJS!$LIBOBJS$ac_delim
  7582. +DISABLE_GNUTLS!$DISABLE_GNUTLS$ac_delim
  7583. +LIBGNUTLS_CONFIG!$LIBGNUTLS_CONFIG$ac_delim
  7584. +LIBGNUTLS_CFLAGS!$LIBGNUTLS_CFLAGS$ac_delim
  7585. +LIBGNUTLS_LIBS!$LIBGNUTLS_LIBS$ac_delim
  7586. +SIPSAK_HAVE_ARES!$SIPSAK_HAVE_ARES$ac_delim
  7587. +LTLIBOBJS!$LTLIBOBJS$ac_delim
  7588. +_ACEOF
  7589. +
  7590. + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then
  7591. + break
  7592. + elif $ac_last_try; then
  7593. + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  7594. +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  7595. + { (exit 1); exit 1; }; }
  7596. + else
  7597. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  7598. fi
  7599. -fi # test -n "$CONFIG_FILES"
  7600. +done
  7601. +
  7602. +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  7603. +if test -n "$ac_eof"; then
  7604. + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  7605. + ac_eof=`expr $ac_eof + 1`
  7606. +fi
  7607. +cat >>$CONFIG_STATUS <<_ACEOF
  7608. +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
  7609. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  7610. _ACEOF
  7611. +sed '
  7612. +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  7613. +s/^/s,@/; s/!/@,|#_!!_#|/
  7614. +:n
  7615. +t n
  7616. +s/'"$ac_delim"'$/,g/; t
  7617. +s/$/\\/; p
  7618. +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  7619. +' >>$CONFIG_STATUS <conf$$subs.sed
  7620. +rm -f conf$$subs.sed
  7621. +cat >>$CONFIG_STATUS <<_ACEOF
  7622. +CEOF$ac_eof
  7623. +_ACEOF
  7624. +
  7625. +
  7626. +# VPATH may cause trouble with some makes, so we remove $(srcdir),
  7627. +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  7628. +# trailing colons and then remove the whole line if VPATH becomes empty
  7629. +# (actually we leave an empty line to preserve line numbers).
  7630. +if test "x$srcdir" = x.; then
  7631. + ac_vpsub='/^[ ]*VPATH[ ]*=/{
  7632. +s/:*\$(srcdir):*/:/
  7633. +s/:*\${srcdir}:*/:/
  7634. +s/:*@srcdir@:*/:/
  7635. +s/^\([^=]*=[ ]*\):*/\1/
  7636. +s/:*$//
  7637. +s/^[^=]*=[ ]*$//
  7638. +}'
  7639. +fi
  7640. +
  7641. cat >>$CONFIG_STATUS <<\_ACEOF
  7642. -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  7643. - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  7644. - case $ac_file in
  7645. - - | *:- | *:-:* ) # input from stdin
  7646. - cat >$tmp/stdin
  7647. - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  7648. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  7649. - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  7650. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  7651. - * ) ac_file_in=$ac_file.in ;;
  7652. +fi # test -n "$CONFIG_FILES"
  7653. +
  7654. +
  7655. +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
  7656. +do
  7657. + case $ac_tag in
  7658. + :[FHLC]) ac_mode=$ac_tag; continue;;
  7659. esac
  7660. + case $ac_mode$ac_tag in
  7661. + :[FHL]*:*);;
  7662. + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  7663. +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  7664. + { (exit 1); exit 1; }; };;
  7665. + :[FH]-) ac_tag=-:-;;
  7666. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  7667. + esac
  7668. + ac_save_IFS=$IFS
  7669. + IFS=:
  7670. + set x $ac_tag
  7671. + IFS=$ac_save_IFS
  7672. + shift
  7673. + ac_file=$1
  7674. + shift
  7675. - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  7676. - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  7677. + case $ac_mode in
  7678. + :L) ac_source=$1;;
  7679. + :[FH])
  7680. + ac_file_inputs=
  7681. + for ac_f
  7682. + do
  7683. + case $ac_f in
  7684. + -) ac_f="$tmp/stdin";;
  7685. + *) # Look for the file first in the build tree, then in the source tree
  7686. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  7687. + # because $ac_f cannot contain `:'.
  7688. + test -f "$ac_f" ||
  7689. + case $ac_f in
  7690. + [\\/$]*) false;;
  7691. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  7692. + esac ||
  7693. + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  7694. +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  7695. + { (exit 1); exit 1; }; };;
  7696. + esac
  7697. + ac_file_inputs="$ac_file_inputs $ac_f"
  7698. + done
  7699. +
  7700. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  7701. + # use $as_me), people would be surprised to read:
  7702. + # /* config.h. Generated by config.status. */
  7703. + configure_input="Generated from "`IFS=:
  7704. + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
  7705. + if test x"$ac_file" != x-; then
  7706. + configure_input="$ac_file. $configure_input"
  7707. + { echo "$as_me:$LINENO: creating $ac_file" >&5
  7708. +echo "$as_me: creating $ac_file" >&6;}
  7709. + fi
  7710. +
  7711. + case $ac_tag in
  7712. + *:-:* | *:-) cat >"$tmp/stdin";;
  7713. + esac
  7714. + ;;
  7715. + esac
  7716. +
  7717. + ac_dir=`$as_dirname -- "$ac_file" ||
  7718. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7719. X"$ac_file" : 'X\(//\)[^/]' \| \
  7720. X"$ac_file" : 'X\(//\)$' \| \
  7721. - X"$ac_file" : 'X\(/\)' \| \
  7722. - . : '\(.\)' 2>/dev/null ||
  7723. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  7724. echo X"$ac_file" |
  7725. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  7726. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  7727. - /^X\(\/\/\)$/{ s//\1/; q; }
  7728. - /^X\(\/\).*/{ s//\1/; q; }
  7729. - s/.*/./; q'`
  7730. - { if $as_mkdir_p; then
  7731. - mkdir -p "$ac_dir"
  7732. - else
  7733. - as_dir="$ac_dir"
  7734. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  7735. + s//\1/
  7736. + q
  7737. + }
  7738. + /^X\(\/\/\)[^/].*/{
  7739. + s//\1/
  7740. + q
  7741. + }
  7742. + /^X\(\/\/\)$/{
  7743. + s//\1/
  7744. + q
  7745. + }
  7746. + /^X\(\/\).*/{
  7747. + s//\1/
  7748. + q
  7749. + }
  7750. + s/.*/./; q'`
  7751. + { as_dir="$ac_dir"
  7752. + case $as_dir in #(
  7753. + -*) as_dir=./$as_dir;;
  7754. + esac
  7755. + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  7756. as_dirs=
  7757. - while test ! -d "$as_dir"; do
  7758. - as_dirs="$as_dir $as_dirs"
  7759. - as_dir=`(dirname "$as_dir") 2>/dev/null ||
  7760. + while :; do
  7761. + case $as_dir in #(
  7762. + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  7763. + *) as_qdir=$as_dir;;
  7764. + esac
  7765. + as_dirs="'$as_qdir' $as_dirs"
  7766. + as_dir=`$as_dirname -- "$as_dir" ||
  7767. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7768. X"$as_dir" : 'X\(//\)[^/]' \| \
  7769. X"$as_dir" : 'X\(//\)$' \| \
  7770. - X"$as_dir" : 'X\(/\)' \| \
  7771. - . : '\(.\)' 2>/dev/null ||
  7772. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  7773. echo X"$as_dir" |
  7774. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  7775. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  7776. - /^X\(\/\/\)$/{ s//\1/; q; }
  7777. - /^X\(\/\).*/{ s//\1/; q; }
  7778. - s/.*/./; q'`
  7779. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  7780. + s//\1/
  7781. + q
  7782. + }
  7783. + /^X\(\/\/\)[^/].*/{
  7784. + s//\1/
  7785. + q
  7786. + }
  7787. + /^X\(\/\/\)$/{
  7788. + s//\1/
  7789. + q
  7790. + }
  7791. + /^X\(\/\).*/{
  7792. + s//\1/
  7793. + q
  7794. + }
  7795. + s/.*/./; q'`
  7796. + test -d "$as_dir" && break
  7797. done
  7798. - test ! -n "$as_dirs" || mkdir $as_dirs
  7799. - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  7800. -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  7801. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  7802. + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  7803. +echo "$as_me: error: cannot create directory $as_dir" >&2;}
  7804. { (exit 1); exit 1; }; }; }
  7805. -
  7806. ac_builddir=.
  7807. -if test "$ac_dir" != .; then
  7808. +case "$ac_dir" in
  7809. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  7810. +*)
  7811. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  7812. - # A "../" for each directory in $ac_dir_suffix.
  7813. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  7814. -else
  7815. - ac_dir_suffix= ac_top_builddir=
  7816. -fi
  7817. + # A ".." for each directory in $ac_dir_suffix.
  7818. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  7819. + case $ac_top_builddir_sub in
  7820. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  7821. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  7822. + esac ;;
  7823. +esac
  7824. +ac_abs_top_builddir=$ac_pwd
  7825. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  7826. +# for backward compatibility:
  7827. +ac_top_builddir=$ac_top_build_prefix
  7828. case $srcdir in
  7829. - .) # No --srcdir option. We are building in place.
  7830. + .) # We are building in place.
  7831. ac_srcdir=.
  7832. - if test -z "$ac_top_builddir"; then
  7833. - ac_top_srcdir=.
  7834. - else
  7835. - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  7836. - fi ;;
  7837. - [\\/]* | ?:[\\/]* ) # Absolute path.
  7838. + ac_top_srcdir=$ac_top_builddir_sub
  7839. + ac_abs_top_srcdir=$ac_pwd ;;
  7840. + [\\/]* | ?:[\\/]* ) # Absolute name.
  7841. ac_srcdir=$srcdir$ac_dir_suffix;
  7842. - ac_top_srcdir=$srcdir ;;
  7843. - *) # Relative path.
  7844. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  7845. - ac_top_srcdir=$ac_top_builddir$srcdir ;;
  7846. + ac_top_srcdir=$srcdir
  7847. + ac_abs_top_srcdir=$srcdir ;;
  7848. + *) # Relative name.
  7849. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  7850. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  7851. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  7852. esac
  7853. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  7854. -# Do not use `cd foo && pwd` to compute absolute paths, because
  7855. -# the directories may not exist.
  7856. -case `pwd` in
  7857. -.) ac_abs_builddir="$ac_dir";;
  7858. -*)
  7859. - case "$ac_dir" in
  7860. - .) ac_abs_builddir=`pwd`;;
  7861. - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  7862. - *) ac_abs_builddir=`pwd`/"$ac_dir";;
  7863. - esac;;
  7864. -esac
  7865. -case $ac_abs_builddir in
  7866. -.) ac_abs_top_builddir=${ac_top_builddir}.;;
  7867. -*)
  7868. - case ${ac_top_builddir}. in
  7869. - .) ac_abs_top_builddir=$ac_abs_builddir;;
  7870. - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  7871. - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  7872. - esac;;
  7873. -esac
  7874. -case $ac_abs_builddir in
  7875. -.) ac_abs_srcdir=$ac_srcdir;;
  7876. -*)
  7877. - case $ac_srcdir in
  7878. - .) ac_abs_srcdir=$ac_abs_builddir;;
  7879. - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  7880. - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  7881. - esac;;
  7882. -esac
  7883. -case $ac_abs_builddir in
  7884. -.) ac_abs_top_srcdir=$ac_top_srcdir;;
  7885. -*)
  7886. - case $ac_top_srcdir in
  7887. - .) ac_abs_top_srcdir=$ac_abs_builddir;;
  7888. - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  7889. - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  7890. - esac;;
  7891. -esac
  7892. + case $ac_mode in
  7893. + :F)
  7894. + #
  7895. + # CONFIG_FILE
  7896. + #
  7897. case $INSTALL in
  7898. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  7899. - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
  7900. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  7901. esac
  7902. +_ACEOF
  7903. - if test x"$ac_file" != x-; then
  7904. - { echo "$as_me:$LINENO: creating $ac_file" >&5
  7905. -echo "$as_me: creating $ac_file" >&6;}
  7906. - rm -f "$ac_file"
  7907. - fi
  7908. - # Let's still pretend it is `configure' which instantiates (i.e., don't
  7909. - # use $as_me), people would be surprised to read:
  7910. - # /* config.h. Generated by config.status. */
  7911. - if test x"$ac_file" = x-; then
  7912. - configure_input=
  7913. - else
  7914. - configure_input="$ac_file. "
  7915. - fi
  7916. - configure_input=$configure_input"Generated from `echo $ac_file_in |
  7917. - sed 's,.*/,,'` by configure."
  7918. +cat >>$CONFIG_STATUS <<\_ACEOF
  7919. +# If the template does not know about datarootdir, expand it.
  7920. +# FIXME: This hack should be removed a few years after 2.60.
  7921. +ac_datarootdir_hack=; ac_datarootdir_seen=
  7922. - # First look for the input files in the build tree, otherwise in the
  7923. - # src tree.
  7924. - ac_file_inputs=`IFS=:
  7925. - for f in $ac_file_in; do
  7926. - case $f in
  7927. - -) echo $tmp/stdin ;;
  7928. - [\\/$]*)
  7929. - # Absolute (can't be DOS-style, as IFS=:)
  7930. - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  7931. -echo "$as_me: error: cannot find input file: $f" >&2;}
  7932. - { (exit 1); exit 1; }; }
  7933. - echo "$f";;
  7934. - *) # Relative
  7935. - if test -f "$f"; then
  7936. - # Build tree
  7937. - echo "$f"
  7938. - elif test -f "$srcdir/$f"; then
  7939. - # Source tree
  7940. - echo "$srcdir/$f"
  7941. - else
  7942. - # /dev/null tree
  7943. - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  7944. -echo "$as_me: error: cannot find input file: $f" >&2;}
  7945. - { (exit 1); exit 1; }; }
  7946. - fi;;
  7947. - esac
  7948. - done` || { (exit 1); exit 1; }
  7949. +case `sed -n '/datarootdir/ {
  7950. + p
  7951. + q
  7952. +}
  7953. +/@datadir@/p
  7954. +/@docdir@/p
  7955. +/@infodir@/p
  7956. +/@localedir@/p
  7957. +/@mandir@/p
  7958. +' $ac_file_inputs` in
  7959. +*datarootdir*) ac_datarootdir_seen=yes;;
  7960. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  7961. + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  7962. +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  7963. _ACEOF
  7964. cat >>$CONFIG_STATUS <<_ACEOF
  7965. + ac_datarootdir_hack='
  7966. + s&@datadir@&$datadir&g
  7967. + s&@docdir@&$docdir&g
  7968. + s&@infodir@&$infodir&g
  7969. + s&@localedir@&$localedir&g
  7970. + s&@mandir@&$mandir&g
  7971. + s&\\\${datarootdir}&$datarootdir&g' ;;
  7972. +esac
  7973. +_ACEOF
  7974. +
  7975. +# Neutralize VPATH when `$srcdir' = `.'.
  7976. +# Shell code in configure.ac might set extrasub.
  7977. +# FIXME: do we really want to maintain this feature?
  7978. +cat >>$CONFIG_STATUS <<_ACEOF
  7979. sed "$ac_vpsub
  7980. $extrasub
  7981. _ACEOF
  7982. cat >>$CONFIG_STATUS <<\_ACEOF
  7983. :t
  7984. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  7985. -s,@configure_input@,$configure_input,;t t
  7986. -s,@srcdir@,$ac_srcdir,;t t
  7987. -s,@abs_srcdir@,$ac_abs_srcdir,;t t
  7988. -s,@top_srcdir@,$ac_top_srcdir,;t t
  7989. -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
  7990. -s,@builddir@,$ac_builddir,;t t
  7991. -s,@abs_builddir@,$ac_abs_builddir,;t t
  7992. -s,@top_builddir@,$ac_top_builddir,;t t
  7993. -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
  7994. -s,@INSTALL@,$ac_INSTALL,;t t
  7995. -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  7996. - rm -f $tmp/stdin
  7997. - if test x"$ac_file" != x-; then
  7998. - mv $tmp/out $ac_file
  7999. - else
  8000. - cat $tmp/out
  8001. - rm -f $tmp/out
  8002. - fi
  8003. -
  8004. -done
  8005. -_ACEOF
  8006. -cat >>$CONFIG_STATUS <<\_ACEOF
  8007. -
  8008. -#
  8009. -# CONFIG_HEADER section.
  8010. -#
  8011. +s&@configure_input@&$configure_input&;t t
  8012. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  8013. +s&@srcdir@&$ac_srcdir&;t t
  8014. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  8015. +s&@top_srcdir@&$ac_top_srcdir&;t t
  8016. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  8017. +s&@builddir@&$ac_builddir&;t t
  8018. +s&@abs_builddir@&$ac_abs_builddir&;t t
  8019. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  8020. +s&@INSTALL@&$ac_INSTALL&;t t
  8021. +$ac_datarootdir_hack
  8022. +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed 's/|#_!!_#|//g' >$tmp/out
  8023. -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  8024. -# NAME is the cpp macro being defined and VALUE is the value it is being given.
  8025. -#
  8026. -# ac_d sets the value in "#define NAME VALUE" lines.
  8027. -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
  8028. -ac_dB='[ ].*$,\1#\2'
  8029. -ac_dC=' '
  8030. -ac_dD=',;t'
  8031. -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  8032. -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
  8033. -ac_uB='$,\1#\2define\3'
  8034. -ac_uC=' '
  8035. -ac_uD=',;t'
  8036. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  8037. + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  8038. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  8039. + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  8040. +which seems to be undefined. Please make sure it is defined." >&5
  8041. +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  8042. +which seems to be undefined. Please make sure it is defined." >&2;}
  8043. -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  8044. - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  8045. + rm -f "$tmp/stdin"
  8046. case $ac_file in
  8047. - - | *:- | *:-:* ) # input from stdin
  8048. - cat >$tmp/stdin
  8049. - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  8050. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  8051. - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  8052. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  8053. - * ) ac_file_in=$ac_file.in ;;
  8054. + -) cat "$tmp/out"; rm -f "$tmp/out";;
  8055. + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  8056. esac
  8057. -
  8058. - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
  8059. -echo "$as_me: creating $ac_file" >&6;}
  8060. -
  8061. - # First look for the input files in the build tree, otherwise in the
  8062. - # src tree.
  8063. - ac_file_inputs=`IFS=:
  8064. - for f in $ac_file_in; do
  8065. - case $f in
  8066. - -) echo $tmp/stdin ;;
  8067. - [\\/$]*)
  8068. - # Absolute (can't be DOS-style, as IFS=:)
  8069. - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  8070. -echo "$as_me: error: cannot find input file: $f" >&2;}
  8071. - { (exit 1); exit 1; }; }
  8072. - # Do quote $f, to prevent DOS paths from being IFS'd.
  8073. - echo "$f";;
  8074. - *) # Relative
  8075. - if test -f "$f"; then
  8076. - # Build tree
  8077. - echo "$f"
  8078. - elif test -f "$srcdir/$f"; then
  8079. - # Source tree
  8080. - echo "$srcdir/$f"
  8081. - else
  8082. - # /dev/null tree
  8083. - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  8084. -echo "$as_me: error: cannot find input file: $f" >&2;}
  8085. - { (exit 1); exit 1; }; }
  8086. - fi;;
  8087. - esac
  8088. - done` || { (exit 1); exit 1; }
  8089. - # Remove the trailing spaces.
  8090. - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
  8091. -
  8092. + ;;
  8093. + :H)
  8094. + #
  8095. + # CONFIG_HEADER
  8096. + #
  8097. _ACEOF
  8098. -# Transform confdefs.h into two sed scripts, `conftest.defines' and
  8099. -# `conftest.undefs', that substitutes the proper values into
  8100. -# config.h.in to produce config.h. The first handles `#define'
  8101. -# templates, and the second `#undef' templates.
  8102. -# And first: Protect against being on the right side of a sed subst in
  8103. -# config.status. Protect against being in an unquoted here document
  8104. -# in config.status.
  8105. -rm -f conftest.defines conftest.undefs
  8106. -# Using a here document instead of a string reduces the quoting nightmare.
  8107. -# Putting comments in sed scripts is not portable.
  8108. -#
  8109. -# `end' is used to avoid that the second main sed command (meant for
  8110. -# 0-ary CPP macros) applies to n-ary macro definitions.
  8111. -# See the Autoconf documentation for `clear'.
  8112. -cat >confdef2sed.sed <<\_ACEOF
  8113. -s/[\\&,]/\\&/g
  8114. -s,[\\$`],\\&,g
  8115. -t clear
  8116. -: clear
  8117. -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
  8118. -t end
  8119. -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
  8120. -: end
  8121. -_ACEOF
  8122. -# If some macros were called several times there might be several times
  8123. -# the same #defines, which is useless. Nevertheless, we may not want to
  8124. -# sort them, since we want the *last* AC-DEFINE to be honored.
  8125. -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
  8126. -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
  8127. -rm -f confdef2sed.sed
  8128. +# Transform confdefs.h into a sed script `conftest.defines', that
  8129. +# substitutes the proper values into config.h.in to produce config.h.
  8130. +rm -f conftest.defines conftest.tail
  8131. +# First, append a space to every undef/define line, to ease matching.
  8132. +echo 's/$/ /' >conftest.defines
  8133. +# Then, protect against being on the right side of a sed subst, or in
  8134. +# an unquoted here document, in config.status. If some macros were
  8135. +# called several times there might be several #defines for the same
  8136. +# symbol, which is useless. But do not sort them, since the last
  8137. +# AC_DEFINE must be honored.
  8138. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  8139. +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
  8140. +# NAME is the cpp macro being defined, VALUE is the value it is being given.
  8141. +# PARAMS is the parameter list in the macro definition--in most cases, it's
  8142. +# just an empty string.
  8143. +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
  8144. +ac_dB='\\)[ (].*,\\1define\\2'
  8145. +ac_dC=' '
  8146. +ac_dD=' ,'
  8147. -# This sed command replaces #undef with comments. This is necessary, for
  8148. +uniq confdefs.h |
  8149. + sed -n '
  8150. + t rset
  8151. + :rset
  8152. + s/^[ ]*#[ ]*define[ ][ ]*//
  8153. + t ok
  8154. + d
  8155. + :ok
  8156. + s/[\\&,]/\\&/g
  8157. + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
  8158. + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
  8159. + ' >>conftest.defines
  8160. +
  8161. +# Remove the space that was appended to ease matching.
  8162. +# Then replace #undef with comments. This is necessary, for
  8163. # example, in the case of _POSIX_SOURCE, which is predefined and required
  8164. # on some systems where configure will not decide to define it.
  8165. -cat >>conftest.undefs <<\_ACEOF
  8166. -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
  8167. -_ACEOF
  8168. +# (The regexp can be short, since the line contains either #define or #undef.)
  8169. +echo 's/ $//
  8170. +s,^[ #]*u.*,/* & */,' >>conftest.defines
  8171. -# Break up conftest.defines because some shells have a limit on the size
  8172. -# of here documents, and old seds have small limits too (100 cmds).
  8173. -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
  8174. -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
  8175. -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
  8176. -echo ' :' >>$CONFIG_STATUS
  8177. -rm -f conftest.tail
  8178. -while grep . conftest.defines >/dev/null
  8179. +# Break up conftest.defines:
  8180. +ac_max_sed_lines=50
  8181. +
  8182. +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
  8183. +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
  8184. +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
  8185. +# et cetera.
  8186. +ac_in='$ac_file_inputs'
  8187. +ac_out='"$tmp/out1"'
  8188. +ac_nxt='"$tmp/out2"'
  8189. +
  8190. +while :
  8191. do
  8192. - # Write a limited-size here document to $tmp/defines.sed.
  8193. - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  8194. - # Speed up: don't consider the non `#define' lines.
  8195. - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
  8196. - # Work around the forget-to-reset-the-flag bug.
  8197. - echo 't clr' >>$CONFIG_STATUS
  8198. - echo ': clr' >>$CONFIG_STATUS
  8199. - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
  8200. + # Write a here document:
  8201. + cat >>$CONFIG_STATUS <<_ACEOF
  8202. + # First, check the format of the line:
  8203. + cat >"\$tmp/defines.sed" <<\\CEOF
  8204. +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
  8205. +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
  8206. +b
  8207. +:def
  8208. +_ACEOF
  8209. + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
  8210. echo 'CEOF
  8211. - sed -f $tmp/defines.sed $tmp/in >$tmp/out
  8212. - rm -f $tmp/in
  8213. - mv $tmp/out $tmp/in
  8214. -' >>$CONFIG_STATUS
  8215. - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
  8216. + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
  8217. + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
  8218. + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
  8219. + grep . conftest.tail >/dev/null || break
  8220. rm -f conftest.defines
  8221. mv conftest.tail conftest.defines
  8222. done
  8223. -rm -f conftest.defines
  8224. -echo ' fi # grep' >>$CONFIG_STATUS
  8225. -echo >>$CONFIG_STATUS
  8226. -
  8227. -# Break up conftest.undefs because some shells have a limit on the size
  8228. -# of here documents, and old seds have small limits too (100 cmds).
  8229. -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
  8230. -rm -f conftest.tail
  8231. -while grep . conftest.undefs >/dev/null
  8232. -do
  8233. - # Write a limited-size here document to $tmp/undefs.sed.
  8234. - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
  8235. - # Speed up: don't consider the non `#undef'
  8236. - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
  8237. - # Work around the forget-to-reset-the-flag bug.
  8238. - echo 't clr' >>$CONFIG_STATUS
  8239. - echo ': clr' >>$CONFIG_STATUS
  8240. - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
  8241. - echo 'CEOF
  8242. - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
  8243. - rm -f $tmp/in
  8244. - mv $tmp/out $tmp/in
  8245. -' >>$CONFIG_STATUS
  8246. - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
  8247. - rm -f conftest.undefs
  8248. - mv conftest.tail conftest.undefs
  8249. -done
  8250. -rm -f conftest.undefs
  8251. +rm -f conftest.defines conftest.tail
  8252. +echo "ac_result=$ac_in" >>$CONFIG_STATUS
  8253. cat >>$CONFIG_STATUS <<\_ACEOF
  8254. - # Let's still pretend it is `configure' which instantiates (i.e., don't
  8255. - # use $as_me), people would be surprised to read:
  8256. - # /* config.h. Generated by config.status. */
  8257. - if test x"$ac_file" = x-; then
  8258. - echo "/* Generated by configure. */" >$tmp/config.h
  8259. - else
  8260. - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
  8261. - fi
  8262. - cat $tmp/in >>$tmp/config.h
  8263. - rm -f $tmp/in
  8264. if test x"$ac_file" != x-; then
  8265. - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
  8266. + echo "/* $configure_input */" >"$tmp/config.h"
  8267. + cat "$ac_result" >>"$tmp/config.h"
  8268. + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
  8269. { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  8270. echo "$as_me: $ac_file is unchanged" >&6;}
  8271. else
  8272. - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  8273. -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8274. - X"$ac_file" : 'X\(//\)[^/]' \| \
  8275. - X"$ac_file" : 'X\(//\)$' \| \
  8276. - X"$ac_file" : 'X\(/\)' \| \
  8277. - . : '\(.\)' 2>/dev/null ||
  8278. -echo X"$ac_file" |
  8279. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  8280. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  8281. - /^X\(\/\/\)$/{ s//\1/; q; }
  8282. - /^X\(\/\).*/{ s//\1/; q; }
  8283. - s/.*/./; q'`
  8284. - { if $as_mkdir_p; then
  8285. - mkdir -p "$ac_dir"
  8286. - else
  8287. - as_dir="$ac_dir"
  8288. - as_dirs=
  8289. - while test ! -d "$as_dir"; do
  8290. - as_dirs="$as_dir $as_dirs"
  8291. - as_dir=`(dirname "$as_dir") 2>/dev/null ||
  8292. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8293. - X"$as_dir" : 'X\(//\)[^/]' \| \
  8294. - X"$as_dir" : 'X\(//\)$' \| \
  8295. - X"$as_dir" : 'X\(/\)' \| \
  8296. - . : '\(.\)' 2>/dev/null ||
  8297. -echo X"$as_dir" |
  8298. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  8299. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  8300. - /^X\(\/\/\)$/{ s//\1/; q; }
  8301. - /^X\(\/\).*/{ s//\1/; q; }
  8302. - s/.*/./; q'`
  8303. - done
  8304. - test ! -n "$as_dirs" || mkdir $as_dirs
  8305. - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  8306. -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  8307. - { (exit 1); exit 1; }; }; }
  8308. -
  8309. rm -f $ac_file
  8310. - mv $tmp/config.h $ac_file
  8311. + mv "$tmp/config.h" $ac_file
  8312. fi
  8313. else
  8314. - cat $tmp/config.h
  8315. - rm -f $tmp/config.h
  8316. + echo "/* $configure_input */"
  8317. + cat "$ac_result"
  8318. fi
  8319. + rm -f "$tmp/out12"
  8320. # Compute $ac_file's index in $config_headers.
  8321. _am_stamp_count=1
  8322. for _am_header in $config_headers :; do
  8323. @@ -7556,135 +8077,39 @@ for _am_header in $config_headers :; do
  8324. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  8325. esac
  8326. done
  8327. -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
  8328. +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
  8329. $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8330. X$ac_file : 'X\(//\)[^/]' \| \
  8331. X$ac_file : 'X\(//\)$' \| \
  8332. - X$ac_file : 'X\(/\)' \| \
  8333. - . : '\(.\)' 2>/dev/null ||
  8334. + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
  8335. echo X$ac_file |
  8336. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  8337. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  8338. - /^X\(\/\/\)$/{ s//\1/; q; }
  8339. - /^X\(\/\).*/{ s//\1/; q; }
  8340. - s/.*/./; q'`/stamp-h$_am_stamp_count
  8341. -done
  8342. -_ACEOF
  8343. -cat >>$CONFIG_STATUS <<\_ACEOF
  8344. -
  8345. -#
  8346. -# CONFIG_COMMANDS section.
  8347. -#
  8348. -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
  8349. - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
  8350. - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
  8351. - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
  8352. -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8353. - X"$ac_dest" : 'X\(//\)[^/]' \| \
  8354. - X"$ac_dest" : 'X\(//\)$' \| \
  8355. - X"$ac_dest" : 'X\(/\)' \| \
  8356. - . : '\(.\)' 2>/dev/null ||
  8357. -echo X"$ac_dest" |
  8358. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  8359. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  8360. - /^X\(\/\/\)$/{ s//\1/; q; }
  8361. - /^X\(\/\).*/{ s//\1/; q; }
  8362. - s/.*/./; q'`
  8363. - { if $as_mkdir_p; then
  8364. - mkdir -p "$ac_dir"
  8365. - else
  8366. - as_dir="$ac_dir"
  8367. - as_dirs=
  8368. - while test ! -d "$as_dir"; do
  8369. - as_dirs="$as_dir $as_dirs"
  8370. - as_dir=`(dirname "$as_dir") 2>/dev/null ||
  8371. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8372. - X"$as_dir" : 'X\(//\)[^/]' \| \
  8373. - X"$as_dir" : 'X\(//\)$' \| \
  8374. - X"$as_dir" : 'X\(/\)' \| \
  8375. - . : '\(.\)' 2>/dev/null ||
  8376. -echo X"$as_dir" |
  8377. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  8378. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  8379. - /^X\(\/\/\)$/{ s//\1/; q; }
  8380. - /^X\(\/\).*/{ s//\1/; q; }
  8381. - s/.*/./; q'`
  8382. - done
  8383. - test ! -n "$as_dirs" || mkdir $as_dirs
  8384. - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  8385. -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  8386. - { (exit 1); exit 1; }; }; }
  8387. -
  8388. - ac_builddir=.
  8389. -
  8390. -if test "$ac_dir" != .; then
  8391. - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  8392. - # A "../" for each directory in $ac_dir_suffix.
  8393. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  8394. -else
  8395. - ac_dir_suffix= ac_top_builddir=
  8396. -fi
  8397. -
  8398. -case $srcdir in
  8399. - .) # No --srcdir option. We are building in place.
  8400. - ac_srcdir=.
  8401. - if test -z "$ac_top_builddir"; then
  8402. - ac_top_srcdir=.
  8403. - else
  8404. - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  8405. - fi ;;
  8406. - [\\/]* | ?:[\\/]* ) # Absolute path.
  8407. - ac_srcdir=$srcdir$ac_dir_suffix;
  8408. - ac_top_srcdir=$srcdir ;;
  8409. - *) # Relative path.
  8410. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  8411. - ac_top_srcdir=$ac_top_builddir$srcdir ;;
  8412. -esac
  8413. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8414. + s//\1/
  8415. + q
  8416. + }
  8417. + /^X\(\/\/\)[^/].*/{
  8418. + s//\1/
  8419. + q
  8420. + }
  8421. + /^X\(\/\/\)$/{
  8422. + s//\1/
  8423. + q
  8424. + }
  8425. + /^X\(\/\).*/{
  8426. + s//\1/
  8427. + q
  8428. + }
  8429. + s/.*/./; q'`/stamp-h$_am_stamp_count
  8430. + ;;
  8431. -# Do not use `cd foo && pwd` to compute absolute paths, because
  8432. -# the directories may not exist.
  8433. -case `pwd` in
  8434. -.) ac_abs_builddir="$ac_dir";;
  8435. -*)
  8436. - case "$ac_dir" in
  8437. - .) ac_abs_builddir=`pwd`;;
  8438. - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  8439. - *) ac_abs_builddir=`pwd`/"$ac_dir";;
  8440. - esac;;
  8441. -esac
  8442. -case $ac_abs_builddir in
  8443. -.) ac_abs_top_builddir=${ac_top_builddir}.;;
  8444. -*)
  8445. - case ${ac_top_builddir}. in
  8446. - .) ac_abs_top_builddir=$ac_abs_builddir;;
  8447. - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  8448. - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  8449. - esac;;
  8450. -esac
  8451. -case $ac_abs_builddir in
  8452. -.) ac_abs_srcdir=$ac_srcdir;;
  8453. -*)
  8454. - case $ac_srcdir in
  8455. - .) ac_abs_srcdir=$ac_abs_builddir;;
  8456. - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  8457. - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  8458. - esac;;
  8459. -esac
  8460. -case $ac_abs_builddir in
  8461. -.) ac_abs_top_srcdir=$ac_top_srcdir;;
  8462. -*)
  8463. - case $ac_top_srcdir in
  8464. - .) ac_abs_top_srcdir=$ac_abs_builddir;;
  8465. - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  8466. - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  8467. - esac;;
  8468. -esac
  8469. + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
  8470. +echo "$as_me: executing $ac_file commands" >&6;}
  8471. + ;;
  8472. + esac
  8473. - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
  8474. -echo "$as_me: executing $ac_dest commands" >&6;}
  8475. - case $ac_dest in
  8476. - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  8477. + case $ac_file$ac_mode in
  8478. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  8479. # Strip MF so we end up with the name of the file.
  8480. mf=`echo "$mf" | sed -e 's/:.*$//'`
  8481. # Check whether this is an Automake generated Makefile or not.
  8482. @@ -7694,18 +8119,29 @@ echo "$as_me: executing $ac_dest command
  8483. # each Makefile.in and add a new line on top of each file to say so.
  8484. # So let's grep whole file.
  8485. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
  8486. - dirpart=`(dirname "$mf") 2>/dev/null ||
  8487. + dirpart=`$as_dirname -- "$mf" ||
  8488. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8489. X"$mf" : 'X\(//\)[^/]' \| \
  8490. X"$mf" : 'X\(//\)$' \| \
  8491. - X"$mf" : 'X\(/\)' \| \
  8492. - . : '\(.\)' 2>/dev/null ||
  8493. + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  8494. echo X"$mf" |
  8495. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  8496. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  8497. - /^X\(\/\/\)$/{ s//\1/; q; }
  8498. - /^X\(\/\).*/{ s//\1/; q; }
  8499. - s/.*/./; q'`
  8500. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8501. + s//\1/
  8502. + q
  8503. + }
  8504. + /^X\(\/\/\)[^/].*/{
  8505. + s//\1/
  8506. + q
  8507. + }
  8508. + /^X\(\/\/\)$/{
  8509. + s//\1/
  8510. + q
  8511. + }
  8512. + /^X\(\/\).*/{
  8513. + s//\1/
  8514. + q
  8515. + }
  8516. + s/.*/./; q'`
  8517. else
  8518. continue
  8519. fi
  8520. @@ -7727,53 +8163,79 @@ echo X"$mf" |
  8521. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  8522. # Make sure the directory exists.
  8523. test -f "$dirpart/$file" && continue
  8524. - fdir=`(dirname "$file") 2>/dev/null ||
  8525. + fdir=`$as_dirname -- "$file" ||
  8526. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8527. X"$file" : 'X\(//\)[^/]' \| \
  8528. X"$file" : 'X\(//\)$' \| \
  8529. - X"$file" : 'X\(/\)' \| \
  8530. - . : '\(.\)' 2>/dev/null ||
  8531. + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  8532. echo X"$file" |
  8533. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  8534. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  8535. - /^X\(\/\/\)$/{ s//\1/; q; }
  8536. - /^X\(\/\).*/{ s//\1/; q; }
  8537. - s/.*/./; q'`
  8538. - { if $as_mkdir_p; then
  8539. - mkdir -p $dirpart/$fdir
  8540. - else
  8541. - as_dir=$dirpart/$fdir
  8542. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8543. + s//\1/
  8544. + q
  8545. + }
  8546. + /^X\(\/\/\)[^/].*/{
  8547. + s//\1/
  8548. + q
  8549. + }
  8550. + /^X\(\/\/\)$/{
  8551. + s//\1/
  8552. + q
  8553. + }
  8554. + /^X\(\/\).*/{
  8555. + s//\1/
  8556. + q
  8557. + }
  8558. + s/.*/./; q'`
  8559. + { as_dir=$dirpart/$fdir
  8560. + case $as_dir in #(
  8561. + -*) as_dir=./$as_dir;;
  8562. + esac
  8563. + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  8564. as_dirs=
  8565. - while test ! -d "$as_dir"; do
  8566. - as_dirs="$as_dir $as_dirs"
  8567. - as_dir=`(dirname "$as_dir") 2>/dev/null ||
  8568. + while :; do
  8569. + case $as_dir in #(
  8570. + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  8571. + *) as_qdir=$as_dir;;
  8572. + esac
  8573. + as_dirs="'$as_qdir' $as_dirs"
  8574. + as_dir=`$as_dirname -- "$as_dir" ||
  8575. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8576. X"$as_dir" : 'X\(//\)[^/]' \| \
  8577. X"$as_dir" : 'X\(//\)$' \| \
  8578. - X"$as_dir" : 'X\(/\)' \| \
  8579. - . : '\(.\)' 2>/dev/null ||
  8580. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  8581. echo X"$as_dir" |
  8582. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  8583. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  8584. - /^X\(\/\/\)$/{ s//\1/; q; }
  8585. - /^X\(\/\).*/{ s//\1/; q; }
  8586. - s/.*/./; q'`
  8587. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8588. + s//\1/
  8589. + q
  8590. + }
  8591. + /^X\(\/\/\)[^/].*/{
  8592. + s//\1/
  8593. + q
  8594. + }
  8595. + /^X\(\/\/\)$/{
  8596. + s//\1/
  8597. + q
  8598. + }
  8599. + /^X\(\/\).*/{
  8600. + s//\1/
  8601. + q
  8602. + }
  8603. + s/.*/./; q'`
  8604. + test -d "$as_dir" && break
  8605. done
  8606. - test ! -n "$as_dirs" || mkdir $as_dirs
  8607. - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
  8608. -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
  8609. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  8610. + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  8611. +echo "$as_me: error: cannot create directory $as_dir" >&2;}
  8612. { (exit 1); exit 1; }; }; }
  8613. -
  8614. # echo "creating $dirpart/$file"
  8615. echo '# dummy' > "$dirpart/$file"
  8616. done
  8617. done
  8618. ;;
  8619. +
  8620. esac
  8621. -done
  8622. -_ACEOF
  8623. +done # for ac_tag
  8624. -cat >>$CONFIG_STATUS <<\_ACEOF
  8625. { (exit 0); exit 0; }
  8626. _ACEOF