configure 202 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for uruk-software-center 1.0.
  4. #
  5. #
  6. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  7. #
  8. #
  9. # This configure script is free software; the Free Software Foundation
  10. # gives unlimited permission to copy, distribute and modify it.
  11. ## -------------------- ##
  12. ## M4sh Initialization. ##
  13. ## -------------------- ##
  14. # Be more Bourne compatible
  15. DUALCASE=1; export DUALCASE # for MKS sh
  16. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  17. emulate sh
  18. NULLCMD=:
  19. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  20. # is contrary to our usage. Disable this feature.
  21. alias -g '${1+"$@"}'='"$@"'
  22. setopt NO_GLOB_SUBST
  23. else
  24. case `(set -o) 2>/dev/null` in #(
  25. *posix*) :
  26. set -o posix ;; #(
  27. *) :
  28. ;;
  29. esac
  30. fi
  31. as_nl='
  32. '
  33. export as_nl
  34. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  35. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  36. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  37. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  38. # Prefer a ksh shell builtin over an external printf program on Solaris,
  39. # but without wasting forks for bash or zsh.
  40. if test -z "$BASH_VERSION$ZSH_VERSION" \
  41. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  42. as_echo='print -r --'
  43. as_echo_n='print -rn --'
  44. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  45. as_echo='printf %s\n'
  46. as_echo_n='printf %s'
  47. else
  48. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  49. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  50. as_echo_n='/usr/ucb/echo -n'
  51. else
  52. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  53. as_echo_n_body='eval
  54. arg=$1;
  55. case $arg in #(
  56. *"$as_nl"*)
  57. expr "X$arg" : "X\\(.*\\)$as_nl";
  58. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  59. esac;
  60. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  61. '
  62. export as_echo_n_body
  63. as_echo_n='sh -c $as_echo_n_body as_echo'
  64. fi
  65. export as_echo_body
  66. as_echo='sh -c $as_echo_body as_echo'
  67. fi
  68. # The user is always right.
  69. if test "${PATH_SEPARATOR+set}" != set; then
  70. PATH_SEPARATOR=:
  71. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  72. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  73. PATH_SEPARATOR=';'
  74. }
  75. fi
  76. # IFS
  77. # We need space, tab and new line, in precisely that order. Quoting is
  78. # there to prevent editors from complaining about space-tab.
  79. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  80. # splitting by setting IFS to empty value.)
  81. IFS=" "" $as_nl"
  82. # Find who we are. Look in the path if we contain no directory separator.
  83. as_myself=
  84. case $0 in #((
  85. *[\\/]* ) as_myself=$0 ;;
  86. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  87. for as_dir in $PATH
  88. do
  89. IFS=$as_save_IFS
  90. test -z "$as_dir" && as_dir=.
  91. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  92. done
  93. IFS=$as_save_IFS
  94. ;;
  95. esac
  96. # We did not find ourselves, most probably we were run as `sh COMMAND'
  97. # in which case we are not to be found in the path.
  98. if test "x$as_myself" = x; then
  99. as_myself=$0
  100. fi
  101. if test ! -f "$as_myself"; then
  102. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  103. exit 1
  104. fi
  105. # Unset variables that we do not need and which cause bugs (e.g. in
  106. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  107. # suppresses any "Segmentation fault" message there. '((' could
  108. # trigger a bug in pdksh 5.2.14.
  109. for as_var in BASH_ENV ENV MAIL MAILPATH
  110. do eval test x\${$as_var+set} = xset \
  111. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  112. done
  113. PS1='$ '
  114. PS2='> '
  115. PS4='+ '
  116. # NLS nuisances.
  117. LC_ALL=C
  118. export LC_ALL
  119. LANGUAGE=C
  120. export LANGUAGE
  121. # CDPATH.
  122. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  123. # Use a proper internal environment variable to ensure we don't fall
  124. # into an infinite loop, continuously re-executing ourselves.
  125. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  126. _as_can_reexec=no; export _as_can_reexec;
  127. # We cannot yet assume a decent shell, so we have to provide a
  128. # neutralization value for shells without unset; and this also
  129. # works around shells that cannot unset nonexistent variables.
  130. # Preserve -v and -x to the replacement shell.
  131. BASH_ENV=/dev/null
  132. ENV=/dev/null
  133. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  134. case $- in # ((((
  135. *v*x* | *x*v* ) as_opts=-vx ;;
  136. *v* ) as_opts=-v ;;
  137. *x* ) as_opts=-x ;;
  138. * ) as_opts= ;;
  139. esac
  140. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  141. # Admittedly, this is quite paranoid, since all the known shells bail
  142. # out after a failed `exec'.
  143. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  144. as_fn_exit 255
  145. fi
  146. # We don't want this to propagate to other subprocesses.
  147. { _as_can_reexec=; unset _as_can_reexec;}
  148. if test "x$CONFIG_SHELL" = x; then
  149. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  150. emulate sh
  151. NULLCMD=:
  152. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  153. # is contrary to our usage. Disable this feature.
  154. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  155. setopt NO_GLOB_SUBST
  156. else
  157. case \`(set -o) 2>/dev/null\` in #(
  158. *posix*) :
  159. set -o posix ;; #(
  160. *) :
  161. ;;
  162. esac
  163. fi
  164. "
  165. as_required="as_fn_return () { (exit \$1); }
  166. as_fn_success () { as_fn_return 0; }
  167. as_fn_failure () { as_fn_return 1; }
  168. as_fn_ret_success () { return 0; }
  169. as_fn_ret_failure () { return 1; }
  170. exitcode=0
  171. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  172. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  173. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  174. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  175. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  176. else
  177. exitcode=1; echo positional parameters were not saved.
  178. fi
  179. test x\$exitcode = x0 || exit 1
  180. test -x / || exit 1"
  181. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  182. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  183. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  184. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  185. test \$(( 1 + 1 )) = 2 || exit 1"
  186. if (eval "$as_required") 2>/dev/null; then :
  187. as_have_required=yes
  188. else
  189. as_have_required=no
  190. fi
  191. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  192. else
  193. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  194. as_found=false
  195. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  196. do
  197. IFS=$as_save_IFS
  198. test -z "$as_dir" && as_dir=.
  199. as_found=:
  200. case $as_dir in #(
  201. /*)
  202. for as_base in sh bash ksh sh5; do
  203. # Try only shells that exist, to save several forks.
  204. as_shell=$as_dir/$as_base
  205. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  206. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  207. CONFIG_SHELL=$as_shell as_have_required=yes
  208. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  209. break 2
  210. fi
  211. fi
  212. done;;
  213. esac
  214. as_found=false
  215. done
  216. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  217. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  218. CONFIG_SHELL=$SHELL as_have_required=yes
  219. fi; }
  220. IFS=$as_save_IFS
  221. if test "x$CONFIG_SHELL" != x; then :
  222. export CONFIG_SHELL
  223. # We cannot yet assume a decent shell, so we have to provide a
  224. # neutralization value for shells without unset; and this also
  225. # works around shells that cannot unset nonexistent variables.
  226. # Preserve -v and -x to the replacement shell.
  227. BASH_ENV=/dev/null
  228. ENV=/dev/null
  229. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  230. case $- in # ((((
  231. *v*x* | *x*v* ) as_opts=-vx ;;
  232. *v* ) as_opts=-v ;;
  233. *x* ) as_opts=-x ;;
  234. * ) as_opts= ;;
  235. esac
  236. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  237. # Admittedly, this is quite paranoid, since all the known shells bail
  238. # out after a failed `exec'.
  239. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  240. exit 255
  241. fi
  242. if test x$as_have_required = xno; then :
  243. $as_echo "$0: This script requires a shell more modern than all"
  244. $as_echo "$0: the shells that I found on your system."
  245. if test x${ZSH_VERSION+set} = xset ; then
  246. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  247. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  248. else
  249. $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  250. $0: including any error possibly output before this
  251. $0: message. Then install a modern shell, or manually run
  252. $0: the script under such a shell if you do have one."
  253. fi
  254. exit 1
  255. fi
  256. fi
  257. fi
  258. SHELL=${CONFIG_SHELL-/bin/sh}
  259. export SHELL
  260. # Unset more variables known to interfere with behavior of common tools.
  261. CLICOLOR_FORCE= GREP_OPTIONS=
  262. unset CLICOLOR_FORCE GREP_OPTIONS
  263. ## --------------------- ##
  264. ## M4sh Shell Functions. ##
  265. ## --------------------- ##
  266. # as_fn_unset VAR
  267. # ---------------
  268. # Portably unset VAR.
  269. as_fn_unset ()
  270. {
  271. { eval $1=; unset $1;}
  272. }
  273. as_unset=as_fn_unset
  274. # as_fn_set_status STATUS
  275. # -----------------------
  276. # Set $? to STATUS, without forking.
  277. as_fn_set_status ()
  278. {
  279. return $1
  280. } # as_fn_set_status
  281. # as_fn_exit STATUS
  282. # -----------------
  283. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  284. as_fn_exit ()
  285. {
  286. set +e
  287. as_fn_set_status $1
  288. exit $1
  289. } # as_fn_exit
  290. # as_fn_mkdir_p
  291. # -------------
  292. # Create "$as_dir" as a directory, including parents if necessary.
  293. as_fn_mkdir_p ()
  294. {
  295. case $as_dir in #(
  296. -*) as_dir=./$as_dir;;
  297. esac
  298. test -d "$as_dir" || eval $as_mkdir_p || {
  299. as_dirs=
  300. while :; do
  301. case $as_dir in #(
  302. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  303. *) as_qdir=$as_dir;;
  304. esac
  305. as_dirs="'$as_qdir' $as_dirs"
  306. as_dir=`$as_dirname -- "$as_dir" ||
  307. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  308. X"$as_dir" : 'X\(//\)[^/]' \| \
  309. X"$as_dir" : 'X\(//\)$' \| \
  310. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  311. $as_echo X"$as_dir" |
  312. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  313. s//\1/
  314. q
  315. }
  316. /^X\(\/\/\)[^/].*/{
  317. s//\1/
  318. q
  319. }
  320. /^X\(\/\/\)$/{
  321. s//\1/
  322. q
  323. }
  324. /^X\(\/\).*/{
  325. s//\1/
  326. q
  327. }
  328. s/.*/./; q'`
  329. test -d "$as_dir" && break
  330. done
  331. test -z "$as_dirs" || eval "mkdir $as_dirs"
  332. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  333. } # as_fn_mkdir_p
  334. # as_fn_executable_p FILE
  335. # -----------------------
  336. # Test if FILE is an executable regular file.
  337. as_fn_executable_p ()
  338. {
  339. test -f "$1" && test -x "$1"
  340. } # as_fn_executable_p
  341. # as_fn_append VAR VALUE
  342. # ----------------------
  343. # Append the text in VALUE to the end of the definition contained in VAR. Take
  344. # advantage of any shell optimizations that allow amortized linear growth over
  345. # repeated appends, instead of the typical quadratic growth present in naive
  346. # implementations.
  347. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  348. eval 'as_fn_append ()
  349. {
  350. eval $1+=\$2
  351. }'
  352. else
  353. as_fn_append ()
  354. {
  355. eval $1=\$$1\$2
  356. }
  357. fi # as_fn_append
  358. # as_fn_arith ARG...
  359. # ------------------
  360. # Perform arithmetic evaluation on the ARGs, and store the result in the
  361. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  362. # must be portable across $(()) and expr.
  363. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  364. eval 'as_fn_arith ()
  365. {
  366. as_val=$(( $* ))
  367. }'
  368. else
  369. as_fn_arith ()
  370. {
  371. as_val=`expr "$@" || test $? -eq 1`
  372. }
  373. fi # as_fn_arith
  374. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  375. # ----------------------------------------
  376. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  377. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  378. # script with STATUS, using 1 if that was 0.
  379. as_fn_error ()
  380. {
  381. as_status=$1; test $as_status -eq 0 && as_status=1
  382. if test "$4"; then
  383. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  384. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  385. fi
  386. $as_echo "$as_me: error: $2" >&2
  387. as_fn_exit $as_status
  388. } # as_fn_error
  389. if expr a : '\(a\)' >/dev/null 2>&1 &&
  390. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  391. as_expr=expr
  392. else
  393. as_expr=false
  394. fi
  395. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  396. as_basename=basename
  397. else
  398. as_basename=false
  399. fi
  400. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  401. as_dirname=dirname
  402. else
  403. as_dirname=false
  404. fi
  405. as_me=`$as_basename -- "$0" ||
  406. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  407. X"$0" : 'X\(//\)$' \| \
  408. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  409. $as_echo X/"$0" |
  410. sed '/^.*\/\([^/][^/]*\)\/*$/{
  411. s//\1/
  412. q
  413. }
  414. /^X\/\(\/\/\)$/{
  415. s//\1/
  416. q
  417. }
  418. /^X\/\(\/\).*/{
  419. s//\1/
  420. q
  421. }
  422. s/.*/./; q'`
  423. # Avoid depending upon Character Ranges.
  424. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  425. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  426. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  427. as_cr_digits='0123456789'
  428. as_cr_alnum=$as_cr_Letters$as_cr_digits
  429. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  430. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  431. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  432. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  433. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  434. sed -n '
  435. p
  436. /[$]LINENO/=
  437. ' <$as_myself |
  438. sed '
  439. s/[$]LINENO.*/&-/
  440. t lineno
  441. b
  442. :lineno
  443. N
  444. :loop
  445. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  446. t loop
  447. s/-\n.*//
  448. ' >$as_me.lineno &&
  449. chmod +x "$as_me.lineno" ||
  450. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  451. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  452. # already done that, so ensure we don't try to do so again and fall
  453. # in an infinite loop. This has already happened in practice.
  454. _as_can_reexec=no; export _as_can_reexec
  455. # Don't try to exec as it changes $[0], causing all sort of problems
  456. # (the dirname of $[0] is not the place where we might find the
  457. # original and so on. Autoconf is especially sensitive to this).
  458. . "./$as_me.lineno"
  459. # Exit status is that of the last command.
  460. exit
  461. }
  462. ECHO_C= ECHO_N= ECHO_T=
  463. case `echo -n x` in #(((((
  464. -n*)
  465. case `echo 'xy\c'` in
  466. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  467. xy) ECHO_C='\c';;
  468. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  469. ECHO_T=' ';;
  470. esac;;
  471. *)
  472. ECHO_N='-n';;
  473. esac
  474. rm -f conf$$ conf$$.exe conf$$.file
  475. if test -d conf$$.dir; then
  476. rm -f conf$$.dir/conf$$.file
  477. else
  478. rm -f conf$$.dir
  479. mkdir conf$$.dir 2>/dev/null
  480. fi
  481. if (echo >conf$$.file) 2>/dev/null; then
  482. if ln -s conf$$.file conf$$ 2>/dev/null; then
  483. as_ln_s='ln -s'
  484. # ... but there are two gotchas:
  485. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  486. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  487. # In both cases, we have to default to `cp -pR'.
  488. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  489. as_ln_s='cp -pR'
  490. elif ln conf$$.file conf$$ 2>/dev/null; then
  491. as_ln_s=ln
  492. else
  493. as_ln_s='cp -pR'
  494. fi
  495. else
  496. as_ln_s='cp -pR'
  497. fi
  498. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  499. rmdir conf$$.dir 2>/dev/null
  500. if mkdir -p . 2>/dev/null; then
  501. as_mkdir_p='mkdir -p "$as_dir"'
  502. else
  503. test -d ./-p && rmdir ./-p
  504. as_mkdir_p=false
  505. fi
  506. as_test_x='test -x'
  507. as_executable_p=as_fn_executable_p
  508. # Sed expression to map a string onto a valid CPP name.
  509. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  510. # Sed expression to map a string onto a valid variable name.
  511. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  512. test -n "$DJDIR" || exec 7<&0 </dev/null
  513. exec 6>&1
  514. # Name of the host.
  515. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  516. # so uname gets run too.
  517. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  518. #
  519. # Initializations.
  520. #
  521. ac_default_prefix=/usr/local
  522. ac_clean_files=
  523. ac_config_libobj_dir=.
  524. LIBOBJS=
  525. cross_compiling=no
  526. subdirs=
  527. MFLAGS=
  528. MAKEFLAGS=
  529. # Identity of this package.
  530. PACKAGE_NAME='uruk-software-center'
  531. PACKAGE_TARNAME='uruk-software-center'
  532. PACKAGE_VERSION='1.0'
  533. PACKAGE_STRING='uruk-software-center 1.0'
  534. PACKAGE_BUGREPORT=''
  535. PACKAGE_URL=''
  536. # Factoring default headers for most tests.
  537. ac_includes_default="\
  538. #include <stdio.h>
  539. #ifdef HAVE_SYS_TYPES_H
  540. # include <sys/types.h>
  541. #endif
  542. #ifdef HAVE_SYS_STAT_H
  543. # include <sys/stat.h>
  544. #endif
  545. #ifdef STDC_HEADERS
  546. # include <stdlib.h>
  547. # include <stddef.h>
  548. #else
  549. # ifdef HAVE_STDLIB_H
  550. # include <stdlib.h>
  551. # endif
  552. #endif
  553. #ifdef HAVE_STRING_H
  554. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  555. # include <memory.h>
  556. # endif
  557. # include <string.h>
  558. #endif
  559. #ifdef HAVE_STRINGS_H
  560. # include <strings.h>
  561. #endif
  562. #ifdef HAVE_INTTYPES_H
  563. # include <inttypes.h>
  564. #endif
  565. #ifdef HAVE_STDINT_H
  566. # include <stdint.h>
  567. #endif
  568. #ifdef HAVE_UNISTD_H
  569. # include <unistd.h>
  570. #endif"
  571. ac_subst_vars='am__EXEEXT_FALSE
  572. am__EXEEXT_TRUE
  573. LTLIBOBJS
  574. LIBOBJS
  575. pkgpyexecdir
  576. pyexecdir
  577. pkgpythondir
  578. pythondir
  579. PYTHON_PLATFORM
  580. PYTHON_EXEC_PREFIX
  581. PYTHON_PREFIX
  582. PYTHON_VERSION
  583. PYTHON
  584. ALL_LINGUAS
  585. INTLTOOL_PERL
  586. MSGMERGE
  587. INTLTOOL_POLICY_RULE
  588. INTLTOOL_SERVICE_RULE
  589. INTLTOOL_THEME_RULE
  590. INTLTOOL_SCHEMAS_RULE
  591. INTLTOOL_CAVES_RULE
  592. INTLTOOL_XML_NOMERGE_RULE
  593. INTLTOOL_XML_RULE
  594. INTLTOOL_KBD_RULE
  595. INTLTOOL_XAM_RULE
  596. INTLTOOL_UI_RULE
  597. INTLTOOL_SOUNDLIST_RULE
  598. INTLTOOL_SHEET_RULE
  599. INTLTOOL_SERVER_RULE
  600. INTLTOOL_PONG_RULE
  601. INTLTOOL_OAF_RULE
  602. INTLTOOL_PROP_RULE
  603. INTLTOOL_KEYS_RULE
  604. INTLTOOL_DIRECTORY_RULE
  605. INTLTOOL_DESKTOP_RULE
  606. intltool__v_merge_options_0
  607. intltool__v_merge_options_
  608. INTLTOOL_V_MERGE_OPTIONS
  609. INTLTOOL__v_MERGE_0
  610. INTLTOOL__v_MERGE_
  611. INTLTOOL_V_MERGE
  612. INTLTOOL_EXTRACT
  613. INTLTOOL_MERGE
  614. INTLTOOL_UPDATE
  615. MKINSTALLDIRS
  616. POSUB
  617. POFILES
  618. PO_IN_DATADIR_FALSE
  619. PO_IN_DATADIR_TRUE
  620. INTLLIBS
  621. INSTOBJEXT
  622. GMOFILES
  623. DATADIRNAME
  624. CATOBJEXT
  625. CATALOGS
  626. XGETTEXT
  627. GMSGFMT
  628. MSGFMT_OPTS
  629. MSGFMT
  630. USE_NLS
  631. EGREP
  632. GREP
  633. CPP
  634. am__fastdepCC_FALSE
  635. am__fastdepCC_TRUE
  636. CCDEPMODE
  637. am__nodep
  638. AMDEPBACKSLASH
  639. AMDEP_FALSE
  640. AMDEP_TRUE
  641. am__quote
  642. am__include
  643. DEPDIR
  644. OBJEXT
  645. EXEEXT
  646. ac_ct_CC
  647. CPPFLAGS
  648. LDFLAGS
  649. CFLAGS
  650. CC
  651. GETTEXT_PACKAGE
  652. ACLOCAL_AMFLAGS
  653. MAINT
  654. MAINTAINER_MODE_FALSE
  655. MAINTAINER_MODE_TRUE
  656. AM_BACKSLASH
  657. AM_DEFAULT_VERBOSITY
  658. AM_DEFAULT_V
  659. AM_V
  660. am__untar
  661. am__tar
  662. AMTAR
  663. am__leading_dot
  664. SET_MAKE
  665. AWK
  666. mkdir_p
  667. MKDIR_P
  668. INSTALL_STRIP_PROGRAM
  669. STRIP
  670. install_sh
  671. MAKEINFO
  672. AUTOHEADER
  673. AUTOMAKE
  674. AUTOCONF
  675. ACLOCAL
  676. VERSION
  677. PACKAGE
  678. CYGPATH_W
  679. am__isrc
  680. INSTALL_DATA
  681. INSTALL_SCRIPT
  682. INSTALL_PROGRAM
  683. target_alias
  684. host_alias
  685. build_alias
  686. LIBS
  687. ECHO_T
  688. ECHO_N
  689. ECHO_C
  690. DEFS
  691. mandir
  692. localedir
  693. libdir
  694. psdir
  695. pdfdir
  696. dvidir
  697. htmldir
  698. infodir
  699. docdir
  700. oldincludedir
  701. includedir
  702. localstatedir
  703. sharedstatedir
  704. sysconfdir
  705. datadir
  706. datarootdir
  707. libexecdir
  708. sbindir
  709. bindir
  710. program_transform_name
  711. prefix
  712. exec_prefix
  713. PACKAGE_URL
  714. PACKAGE_BUGREPORT
  715. PACKAGE_STRING
  716. PACKAGE_VERSION
  717. PACKAGE_TARNAME
  718. PACKAGE_NAME
  719. PATH_SEPARATOR
  720. SHELL'
  721. ac_subst_files=''
  722. ac_user_opts='
  723. enable_option_checking
  724. enable_silent_rules
  725. enable_maintainer_mode
  726. enable_dependency_tracking
  727. enable_nls
  728. '
  729. ac_precious_vars='build_alias
  730. host_alias
  731. target_alias
  732. CC
  733. CFLAGS
  734. LDFLAGS
  735. LIBS
  736. CPPFLAGS
  737. CPP'
  738. # Initialize some variables set by options.
  739. ac_init_help=
  740. ac_init_version=false
  741. ac_unrecognized_opts=
  742. ac_unrecognized_sep=
  743. # The variables have the same names as the options, with
  744. # dashes changed to underlines.
  745. cache_file=/dev/null
  746. exec_prefix=NONE
  747. no_create=
  748. no_recursion=
  749. prefix=NONE
  750. program_prefix=NONE
  751. program_suffix=NONE
  752. program_transform_name=s,x,x,
  753. silent=
  754. site=
  755. srcdir=
  756. verbose=
  757. x_includes=NONE
  758. x_libraries=NONE
  759. # Installation directory options.
  760. # These are left unexpanded so users can "make install exec_prefix=/foo"
  761. # and all the variables that are supposed to be based on exec_prefix
  762. # by default will actually change.
  763. # Use braces instead of parens because sh, perl, etc. also accept them.
  764. # (The list follows the same order as the GNU Coding Standards.)
  765. bindir='${exec_prefix}/bin'
  766. sbindir='${exec_prefix}/sbin'
  767. libexecdir='${exec_prefix}/libexec'
  768. datarootdir='${prefix}/share'
  769. datadir='${datarootdir}'
  770. sysconfdir='${prefix}/etc'
  771. sharedstatedir='${prefix}/com'
  772. localstatedir='${prefix}/var'
  773. includedir='${prefix}/include'
  774. oldincludedir='/usr/include'
  775. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  776. infodir='${datarootdir}/info'
  777. htmldir='${docdir}'
  778. dvidir='${docdir}'
  779. pdfdir='${docdir}'
  780. psdir='${docdir}'
  781. libdir='${exec_prefix}/lib'
  782. localedir='${datarootdir}/locale'
  783. mandir='${datarootdir}/man'
  784. ac_prev=
  785. ac_dashdash=
  786. for ac_option
  787. do
  788. # If the previous option needs an argument, assign it.
  789. if test -n "$ac_prev"; then
  790. eval $ac_prev=\$ac_option
  791. ac_prev=
  792. continue
  793. fi
  794. case $ac_option in
  795. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  796. *=) ac_optarg= ;;
  797. *) ac_optarg=yes ;;
  798. esac
  799. # Accept the important Cygnus configure options, so we can diagnose typos.
  800. case $ac_dashdash$ac_option in
  801. --)
  802. ac_dashdash=yes ;;
  803. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  804. ac_prev=bindir ;;
  805. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  806. bindir=$ac_optarg ;;
  807. -build | --build | --buil | --bui | --bu)
  808. ac_prev=build_alias ;;
  809. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  810. build_alias=$ac_optarg ;;
  811. -cache-file | --cache-file | --cache-fil | --cache-fi \
  812. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  813. ac_prev=cache_file ;;
  814. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  815. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  816. cache_file=$ac_optarg ;;
  817. --config-cache | -C)
  818. cache_file=config.cache ;;
  819. -datadir | --datadir | --datadi | --datad)
  820. ac_prev=datadir ;;
  821. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  822. datadir=$ac_optarg ;;
  823. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  824. | --dataroo | --dataro | --datar)
  825. ac_prev=datarootdir ;;
  826. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  827. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  828. datarootdir=$ac_optarg ;;
  829. -disable-* | --disable-*)
  830. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  831. # Reject names that are not valid shell variable names.
  832. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  833. as_fn_error $? "invalid feature name: $ac_useropt"
  834. ac_useropt_orig=$ac_useropt
  835. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  836. case $ac_user_opts in
  837. *"
  838. "enable_$ac_useropt"
  839. "*) ;;
  840. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  841. ac_unrecognized_sep=', ';;
  842. esac
  843. eval enable_$ac_useropt=no ;;
  844. -docdir | --docdir | --docdi | --doc | --do)
  845. ac_prev=docdir ;;
  846. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  847. docdir=$ac_optarg ;;
  848. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  849. ac_prev=dvidir ;;
  850. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  851. dvidir=$ac_optarg ;;
  852. -enable-* | --enable-*)
  853. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  854. # Reject names that are not valid shell variable names.
  855. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  856. as_fn_error $? "invalid feature name: $ac_useropt"
  857. ac_useropt_orig=$ac_useropt
  858. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  859. case $ac_user_opts in
  860. *"
  861. "enable_$ac_useropt"
  862. "*) ;;
  863. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  864. ac_unrecognized_sep=', ';;
  865. esac
  866. eval enable_$ac_useropt=\$ac_optarg ;;
  867. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  868. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  869. | --exec | --exe | --ex)
  870. ac_prev=exec_prefix ;;
  871. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  872. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  873. | --exec=* | --exe=* | --ex=*)
  874. exec_prefix=$ac_optarg ;;
  875. -gas | --gas | --ga | --g)
  876. # Obsolete; use --with-gas.
  877. with_gas=yes ;;
  878. -help | --help | --hel | --he | -h)
  879. ac_init_help=long ;;
  880. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  881. ac_init_help=recursive ;;
  882. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  883. ac_init_help=short ;;
  884. -host | --host | --hos | --ho)
  885. ac_prev=host_alias ;;
  886. -host=* | --host=* | --hos=* | --ho=*)
  887. host_alias=$ac_optarg ;;
  888. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  889. ac_prev=htmldir ;;
  890. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  891. | --ht=*)
  892. htmldir=$ac_optarg ;;
  893. -includedir | --includedir | --includedi | --included | --include \
  894. | --includ | --inclu | --incl | --inc)
  895. ac_prev=includedir ;;
  896. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  897. | --includ=* | --inclu=* | --incl=* | --inc=*)
  898. includedir=$ac_optarg ;;
  899. -infodir | --infodir | --infodi | --infod | --info | --inf)
  900. ac_prev=infodir ;;
  901. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  902. infodir=$ac_optarg ;;
  903. -libdir | --libdir | --libdi | --libd)
  904. ac_prev=libdir ;;
  905. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  906. libdir=$ac_optarg ;;
  907. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  908. | --libexe | --libex | --libe)
  909. ac_prev=libexecdir ;;
  910. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  911. | --libexe=* | --libex=* | --libe=*)
  912. libexecdir=$ac_optarg ;;
  913. -localedir | --localedir | --localedi | --localed | --locale)
  914. ac_prev=localedir ;;
  915. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  916. localedir=$ac_optarg ;;
  917. -localstatedir | --localstatedir | --localstatedi | --localstated \
  918. | --localstate | --localstat | --localsta | --localst | --locals)
  919. ac_prev=localstatedir ;;
  920. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  921. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  922. localstatedir=$ac_optarg ;;
  923. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  924. ac_prev=mandir ;;
  925. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  926. mandir=$ac_optarg ;;
  927. -nfp | --nfp | --nf)
  928. # Obsolete; use --without-fp.
  929. with_fp=no ;;
  930. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  931. | --no-cr | --no-c | -n)
  932. no_create=yes ;;
  933. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  934. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  935. no_recursion=yes ;;
  936. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  937. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  938. | --oldin | --oldi | --old | --ol | --o)
  939. ac_prev=oldincludedir ;;
  940. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  941. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  942. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  943. oldincludedir=$ac_optarg ;;
  944. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  945. ac_prev=prefix ;;
  946. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  947. prefix=$ac_optarg ;;
  948. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  949. | --program-pre | --program-pr | --program-p)
  950. ac_prev=program_prefix ;;
  951. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  952. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  953. program_prefix=$ac_optarg ;;
  954. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  955. | --program-suf | --program-su | --program-s)
  956. ac_prev=program_suffix ;;
  957. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  958. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  959. program_suffix=$ac_optarg ;;
  960. -program-transform-name | --program-transform-name \
  961. | --program-transform-nam | --program-transform-na \
  962. | --program-transform-n | --program-transform- \
  963. | --program-transform | --program-transfor \
  964. | --program-transfo | --program-transf \
  965. | --program-trans | --program-tran \
  966. | --progr-tra | --program-tr | --program-t)
  967. ac_prev=program_transform_name ;;
  968. -program-transform-name=* | --program-transform-name=* \
  969. | --program-transform-nam=* | --program-transform-na=* \
  970. | --program-transform-n=* | --program-transform-=* \
  971. | --program-transform=* | --program-transfor=* \
  972. | --program-transfo=* | --program-transf=* \
  973. | --program-trans=* | --program-tran=* \
  974. | --progr-tra=* | --program-tr=* | --program-t=*)
  975. program_transform_name=$ac_optarg ;;
  976. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  977. ac_prev=pdfdir ;;
  978. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  979. pdfdir=$ac_optarg ;;
  980. -psdir | --psdir | --psdi | --psd | --ps)
  981. ac_prev=psdir ;;
  982. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  983. psdir=$ac_optarg ;;
  984. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  985. | -silent | --silent | --silen | --sile | --sil)
  986. silent=yes ;;
  987. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  988. ac_prev=sbindir ;;
  989. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  990. | --sbi=* | --sb=*)
  991. sbindir=$ac_optarg ;;
  992. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  993. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  994. | --sharedst | --shareds | --shared | --share | --shar \
  995. | --sha | --sh)
  996. ac_prev=sharedstatedir ;;
  997. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  998. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  999. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1000. | --sha=* | --sh=*)
  1001. sharedstatedir=$ac_optarg ;;
  1002. -site | --site | --sit)
  1003. ac_prev=site ;;
  1004. -site=* | --site=* | --sit=*)
  1005. site=$ac_optarg ;;
  1006. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1007. ac_prev=srcdir ;;
  1008. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1009. srcdir=$ac_optarg ;;
  1010. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1011. | --syscon | --sysco | --sysc | --sys | --sy)
  1012. ac_prev=sysconfdir ;;
  1013. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1014. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1015. sysconfdir=$ac_optarg ;;
  1016. -target | --target | --targe | --targ | --tar | --ta | --t)
  1017. ac_prev=target_alias ;;
  1018. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1019. target_alias=$ac_optarg ;;
  1020. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1021. verbose=yes ;;
  1022. -version | --version | --versio | --versi | --vers | -V)
  1023. ac_init_version=: ;;
  1024. -with-* | --with-*)
  1025. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1026. # Reject names that are not valid shell variable names.
  1027. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1028. as_fn_error $? "invalid package name: $ac_useropt"
  1029. ac_useropt_orig=$ac_useropt
  1030. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1031. case $ac_user_opts in
  1032. *"
  1033. "with_$ac_useropt"
  1034. "*) ;;
  1035. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1036. ac_unrecognized_sep=', ';;
  1037. esac
  1038. eval with_$ac_useropt=\$ac_optarg ;;
  1039. -without-* | --without-*)
  1040. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1041. # Reject names that are not valid shell variable names.
  1042. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1043. as_fn_error $? "invalid package name: $ac_useropt"
  1044. ac_useropt_orig=$ac_useropt
  1045. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1046. case $ac_user_opts in
  1047. *"
  1048. "with_$ac_useropt"
  1049. "*) ;;
  1050. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1051. ac_unrecognized_sep=', ';;
  1052. esac
  1053. eval with_$ac_useropt=no ;;
  1054. --x)
  1055. # Obsolete; use --with-x.
  1056. with_x=yes ;;
  1057. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1058. | --x-incl | --x-inc | --x-in | --x-i)
  1059. ac_prev=x_includes ;;
  1060. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1061. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1062. x_includes=$ac_optarg ;;
  1063. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1064. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1065. ac_prev=x_libraries ;;
  1066. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1067. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1068. x_libraries=$ac_optarg ;;
  1069. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1070. Try \`$0 --help' for more information"
  1071. ;;
  1072. *=*)
  1073. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1074. # Reject names that are not valid shell variable names.
  1075. case $ac_envvar in #(
  1076. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1077. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1078. esac
  1079. eval $ac_envvar=\$ac_optarg
  1080. export $ac_envvar ;;
  1081. *)
  1082. # FIXME: should be removed in autoconf 3.0.
  1083. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1084. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1085. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1086. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1087. ;;
  1088. esac
  1089. done
  1090. if test -n "$ac_prev"; then
  1091. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1092. as_fn_error $? "missing argument to $ac_option"
  1093. fi
  1094. if test -n "$ac_unrecognized_opts"; then
  1095. case $enable_option_checking in
  1096. no) ;;
  1097. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1098. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1099. esac
  1100. fi
  1101. # Check all directory arguments for consistency.
  1102. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1103. datadir sysconfdir sharedstatedir localstatedir includedir \
  1104. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1105. libdir localedir mandir
  1106. do
  1107. eval ac_val=\$$ac_var
  1108. # Remove trailing slashes.
  1109. case $ac_val in
  1110. */ )
  1111. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1112. eval $ac_var=\$ac_val;;
  1113. esac
  1114. # Be sure to have absolute directory names.
  1115. case $ac_val in
  1116. [\\/$]* | ?:[\\/]* ) continue;;
  1117. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1118. esac
  1119. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1120. done
  1121. # There might be people who depend on the old broken behavior: `$host'
  1122. # used to hold the argument of --host etc.
  1123. # FIXME: To remove some day.
  1124. build=$build_alias
  1125. host=$host_alias
  1126. target=$target_alias
  1127. # FIXME: To remove some day.
  1128. if test "x$host_alias" != x; then
  1129. if test "x$build_alias" = x; then
  1130. cross_compiling=maybe
  1131. elif test "x$build_alias" != "x$host_alias"; then
  1132. cross_compiling=yes
  1133. fi
  1134. fi
  1135. ac_tool_prefix=
  1136. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1137. test "$silent" = yes && exec 6>/dev/null
  1138. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1139. ac_ls_di=`ls -di .` &&
  1140. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1141. as_fn_error $? "working directory cannot be determined"
  1142. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1143. as_fn_error $? "pwd does not report name of working directory"
  1144. # Find the source files, if location was not specified.
  1145. if test -z "$srcdir"; then
  1146. ac_srcdir_defaulted=yes
  1147. # Try the directory containing this script, then the parent directory.
  1148. ac_confdir=`$as_dirname -- "$as_myself" ||
  1149. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1150. X"$as_myself" : 'X\(//\)[^/]' \| \
  1151. X"$as_myself" : 'X\(//\)$' \| \
  1152. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1153. $as_echo X"$as_myself" |
  1154. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1155. s//\1/
  1156. q
  1157. }
  1158. /^X\(\/\/\)[^/].*/{
  1159. s//\1/
  1160. q
  1161. }
  1162. /^X\(\/\/\)$/{
  1163. s//\1/
  1164. q
  1165. }
  1166. /^X\(\/\).*/{
  1167. s//\1/
  1168. q
  1169. }
  1170. s/.*/./; q'`
  1171. srcdir=$ac_confdir
  1172. if test ! -r "$srcdir/$ac_unique_file"; then
  1173. srcdir=..
  1174. fi
  1175. else
  1176. ac_srcdir_defaulted=no
  1177. fi
  1178. if test ! -r "$srcdir/$ac_unique_file"; then
  1179. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1180. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1181. fi
  1182. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1183. ac_abs_confdir=`(
  1184. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1185. pwd)`
  1186. # When building in place, set srcdir=.
  1187. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1188. srcdir=.
  1189. fi
  1190. # Remove unnecessary trailing slashes from srcdir.
  1191. # Double slashes in file names in object file debugging info
  1192. # mess up M-x gdb in Emacs.
  1193. case $srcdir in
  1194. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1195. esac
  1196. for ac_var in $ac_precious_vars; do
  1197. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1198. eval ac_env_${ac_var}_value=\$${ac_var}
  1199. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1200. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1201. done
  1202. #
  1203. # Report the --help message.
  1204. #
  1205. if test "$ac_init_help" = "long"; then
  1206. # Omit some internal or obsolete options to make the list less imposing.
  1207. # This message is too long to be a string in the A/UX 3.1 sh.
  1208. cat <<_ACEOF
  1209. \`configure' configures uruk-software-center 1.0 to adapt to many kinds of systems.
  1210. Usage: $0 [OPTION]... [VAR=VALUE]...
  1211. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1212. VAR=VALUE. See below for descriptions of some of the useful variables.
  1213. Defaults for the options are specified in brackets.
  1214. Configuration:
  1215. -h, --help display this help and exit
  1216. --help=short display options specific to this package
  1217. --help=recursive display the short help of all the included packages
  1218. -V, --version display version information and exit
  1219. -q, --quiet, --silent do not print \`checking ...' messages
  1220. --cache-file=FILE cache test results in FILE [disabled]
  1221. -C, --config-cache alias for \`--cache-file=config.cache'
  1222. -n, --no-create do not create output files
  1223. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1224. Installation directories:
  1225. --prefix=PREFIX install architecture-independent files in PREFIX
  1226. [$ac_default_prefix]
  1227. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1228. [PREFIX]
  1229. By default, \`make install' will install all the files in
  1230. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1231. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1232. for instance \`--prefix=\$HOME'.
  1233. For better control, use the options below.
  1234. Fine tuning of the installation directories:
  1235. --bindir=DIR user executables [EPREFIX/bin]
  1236. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1237. --libexecdir=DIR program executables [EPREFIX/libexec]
  1238. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1239. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1240. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1241. --libdir=DIR object code libraries [EPREFIX/lib]
  1242. --includedir=DIR C header files [PREFIX/include]
  1243. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1244. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1245. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1246. --infodir=DIR info documentation [DATAROOTDIR/info]
  1247. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1248. --mandir=DIR man documentation [DATAROOTDIR/man]
  1249. --docdir=DIR documentation root
  1250. [DATAROOTDIR/doc/uruk-software-center]
  1251. --htmldir=DIR html documentation [DOCDIR]
  1252. --dvidir=DIR dvi documentation [DOCDIR]
  1253. --pdfdir=DIR pdf documentation [DOCDIR]
  1254. --psdir=DIR ps documentation [DOCDIR]
  1255. _ACEOF
  1256. cat <<\_ACEOF
  1257. Program names:
  1258. --program-prefix=PREFIX prepend PREFIX to installed program names
  1259. --program-suffix=SUFFIX append SUFFIX to installed program names
  1260. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1261. _ACEOF
  1262. fi
  1263. if test -n "$ac_init_help"; then
  1264. case $ac_init_help in
  1265. short | recursive ) echo "Configuration of uruk-software-center 1.0:";;
  1266. esac
  1267. cat <<\_ACEOF
  1268. Optional Features:
  1269. --disable-option-checking ignore unrecognized --enable/--with options
  1270. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1271. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1272. --enable-silent-rules less verbose build output (undo: "make V=1")
  1273. --disable-silent-rules verbose build output (undo: "make V=0")
  1274. --enable-maintainer-mode
  1275. enable make rules and dependencies not useful (and
  1276. sometimes confusing) to the casual installer
  1277. --enable-dependency-tracking
  1278. do not reject slow dependency extractors
  1279. --disable-dependency-tracking
  1280. speeds up one-time build
  1281. --disable-nls do not use Native Language Support
  1282. Some influential environment variables:
  1283. CC C compiler command
  1284. CFLAGS C compiler flags
  1285. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1286. nonstandard directory <lib dir>
  1287. LIBS libraries to pass to the linker, e.g. -l<library>
  1288. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1289. you have headers in a nonstandard directory <include dir>
  1290. CPP C preprocessor
  1291. Use these variables to override the choices made by `configure' or to help
  1292. it to find libraries and programs with nonstandard names/locations.
  1293. Report bugs to the package provider.
  1294. _ACEOF
  1295. ac_status=$?
  1296. fi
  1297. if test "$ac_init_help" = "recursive"; then
  1298. # If there are subdirs, report their specific --help.
  1299. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1300. test -d "$ac_dir" ||
  1301. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1302. continue
  1303. ac_builddir=.
  1304. case "$ac_dir" in
  1305. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1306. *)
  1307. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1308. # A ".." for each directory in $ac_dir_suffix.
  1309. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1310. case $ac_top_builddir_sub in
  1311. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1312. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1313. esac ;;
  1314. esac
  1315. ac_abs_top_builddir=$ac_pwd
  1316. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1317. # for backward compatibility:
  1318. ac_top_builddir=$ac_top_build_prefix
  1319. case $srcdir in
  1320. .) # We are building in place.
  1321. ac_srcdir=.
  1322. ac_top_srcdir=$ac_top_builddir_sub
  1323. ac_abs_top_srcdir=$ac_pwd ;;
  1324. [\\/]* | ?:[\\/]* ) # Absolute name.
  1325. ac_srcdir=$srcdir$ac_dir_suffix;
  1326. ac_top_srcdir=$srcdir
  1327. ac_abs_top_srcdir=$srcdir ;;
  1328. *) # Relative name.
  1329. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1330. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1331. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1332. esac
  1333. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1334. cd "$ac_dir" || { ac_status=$?; continue; }
  1335. # Check for guested configure.
  1336. if test -f "$ac_srcdir/configure.gnu"; then
  1337. echo &&
  1338. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1339. elif test -f "$ac_srcdir/configure"; then
  1340. echo &&
  1341. $SHELL "$ac_srcdir/configure" --help=recursive
  1342. else
  1343. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1344. fi || ac_status=$?
  1345. cd "$ac_pwd" || { ac_status=$?; break; }
  1346. done
  1347. fi
  1348. test -n "$ac_init_help" && exit $ac_status
  1349. if $ac_init_version; then
  1350. cat <<\_ACEOF
  1351. uruk-software-center configure 1.0
  1352. generated by GNU Autoconf 2.69
  1353. Copyright (C) 2012 Free Software Foundation, Inc.
  1354. This configure script is free software; the Free Software Foundation
  1355. gives unlimited permission to copy, distribute and modify it.
  1356. _ACEOF
  1357. exit
  1358. fi
  1359. ## ------------------------ ##
  1360. ## Autoconf initialization. ##
  1361. ## ------------------------ ##
  1362. # ac_fn_c_try_compile LINENO
  1363. # --------------------------
  1364. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1365. ac_fn_c_try_compile ()
  1366. {
  1367. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1368. rm -f conftest.$ac_objext
  1369. if { { ac_try="$ac_compile"
  1370. case "(($ac_try" in
  1371. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1372. *) ac_try_echo=$ac_try;;
  1373. esac
  1374. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1375. $as_echo "$ac_try_echo"; } >&5
  1376. (eval "$ac_compile") 2>conftest.err
  1377. ac_status=$?
  1378. if test -s conftest.err; then
  1379. grep -v '^ *+' conftest.err >conftest.er1
  1380. cat conftest.er1 >&5
  1381. mv -f conftest.er1 conftest.err
  1382. fi
  1383. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1384. test $ac_status = 0; } && {
  1385. test -z "$ac_c_werror_flag" ||
  1386. test ! -s conftest.err
  1387. } && test -s conftest.$ac_objext; then :
  1388. ac_retval=0
  1389. else
  1390. $as_echo "$as_me: failed program was:" >&5
  1391. sed 's/^/| /' conftest.$ac_ext >&5
  1392. ac_retval=1
  1393. fi
  1394. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1395. as_fn_set_status $ac_retval
  1396. } # ac_fn_c_try_compile
  1397. # ac_fn_c_try_cpp LINENO
  1398. # ----------------------
  1399. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1400. ac_fn_c_try_cpp ()
  1401. {
  1402. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1403. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1404. case "(($ac_try" in
  1405. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1406. *) ac_try_echo=$ac_try;;
  1407. esac
  1408. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1409. $as_echo "$ac_try_echo"; } >&5
  1410. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1411. ac_status=$?
  1412. if test -s conftest.err; then
  1413. grep -v '^ *+' conftest.err >conftest.er1
  1414. cat conftest.er1 >&5
  1415. mv -f conftest.er1 conftest.err
  1416. fi
  1417. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1418. test $ac_status = 0; } > conftest.i && {
  1419. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1420. test ! -s conftest.err
  1421. }; then :
  1422. ac_retval=0
  1423. else
  1424. $as_echo "$as_me: failed program was:" >&5
  1425. sed 's/^/| /' conftest.$ac_ext >&5
  1426. ac_retval=1
  1427. fi
  1428. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1429. as_fn_set_status $ac_retval
  1430. } # ac_fn_c_try_cpp
  1431. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1432. # -------------------------------------------------------
  1433. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1434. # the include files in INCLUDES and setting the cache variable VAR
  1435. # accordingly.
  1436. ac_fn_c_check_header_mongrel ()
  1437. {
  1438. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1439. if eval \${$3+:} false; then :
  1440. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1441. $as_echo_n "checking for $2... " >&6; }
  1442. if eval \${$3+:} false; then :
  1443. $as_echo_n "(cached) " >&6
  1444. fi
  1445. eval ac_res=\$$3
  1446. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1447. $as_echo "$ac_res" >&6; }
  1448. else
  1449. # Is the header compilable?
  1450. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1451. $as_echo_n "checking $2 usability... " >&6; }
  1452. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1453. /* end confdefs.h. */
  1454. $4
  1455. #include <$2>
  1456. _ACEOF
  1457. if ac_fn_c_try_compile "$LINENO"; then :
  1458. ac_header_compiler=yes
  1459. else
  1460. ac_header_compiler=no
  1461. fi
  1462. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1463. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1464. $as_echo "$ac_header_compiler" >&6; }
  1465. # Is the header present?
  1466. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1467. $as_echo_n "checking $2 presence... " >&6; }
  1468. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1469. /* end confdefs.h. */
  1470. #include <$2>
  1471. _ACEOF
  1472. if ac_fn_c_try_cpp "$LINENO"; then :
  1473. ac_header_preproc=yes
  1474. else
  1475. ac_header_preproc=no
  1476. fi
  1477. rm -f conftest.err conftest.i conftest.$ac_ext
  1478. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1479. $as_echo "$ac_header_preproc" >&6; }
  1480. # So? What about this header?
  1481. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1482. yes:no: )
  1483. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1484. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1485. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1486. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1487. ;;
  1488. no:yes:* )
  1489. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1490. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1491. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  1492. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  1493. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1494. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1495. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  1496. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  1497. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1498. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1499. ;;
  1500. esac
  1501. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1502. $as_echo_n "checking for $2... " >&6; }
  1503. if eval \${$3+:} false; then :
  1504. $as_echo_n "(cached) " >&6
  1505. else
  1506. eval "$3=\$ac_header_compiler"
  1507. fi
  1508. eval ac_res=\$$3
  1509. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1510. $as_echo "$ac_res" >&6; }
  1511. fi
  1512. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1513. } # ac_fn_c_check_header_mongrel
  1514. # ac_fn_c_try_run LINENO
  1515. # ----------------------
  1516. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1517. # that executables *can* be run.
  1518. ac_fn_c_try_run ()
  1519. {
  1520. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1521. if { { ac_try="$ac_link"
  1522. case "(($ac_try" in
  1523. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1524. *) ac_try_echo=$ac_try;;
  1525. esac
  1526. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1527. $as_echo "$ac_try_echo"; } >&5
  1528. (eval "$ac_link") 2>&5
  1529. ac_status=$?
  1530. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1531. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1532. { { case "(($ac_try" in
  1533. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1534. *) ac_try_echo=$ac_try;;
  1535. esac
  1536. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1537. $as_echo "$ac_try_echo"; } >&5
  1538. (eval "$ac_try") 2>&5
  1539. ac_status=$?
  1540. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1541. test $ac_status = 0; }; }; then :
  1542. ac_retval=0
  1543. else
  1544. $as_echo "$as_me: program exited with status $ac_status" >&5
  1545. $as_echo "$as_me: failed program was:" >&5
  1546. sed 's/^/| /' conftest.$ac_ext >&5
  1547. ac_retval=$ac_status
  1548. fi
  1549. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1550. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1551. as_fn_set_status $ac_retval
  1552. } # ac_fn_c_try_run
  1553. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1554. # -------------------------------------------------------
  1555. # Tests whether HEADER exists and can be compiled using the include files in
  1556. # INCLUDES, setting the cache variable VAR accordingly.
  1557. ac_fn_c_check_header_compile ()
  1558. {
  1559. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1560. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1561. $as_echo_n "checking for $2... " >&6; }
  1562. if eval \${$3+:} false; then :
  1563. $as_echo_n "(cached) " >&6
  1564. else
  1565. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1566. /* end confdefs.h. */
  1567. $4
  1568. #include <$2>
  1569. _ACEOF
  1570. if ac_fn_c_try_compile "$LINENO"; then :
  1571. eval "$3=yes"
  1572. else
  1573. eval "$3=no"
  1574. fi
  1575. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1576. fi
  1577. eval ac_res=\$$3
  1578. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1579. $as_echo "$ac_res" >&6; }
  1580. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1581. } # ac_fn_c_check_header_compile
  1582. # ac_fn_c_try_link LINENO
  1583. # -----------------------
  1584. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1585. ac_fn_c_try_link ()
  1586. {
  1587. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1588. rm -f conftest.$ac_objext conftest$ac_exeext
  1589. if { { ac_try="$ac_link"
  1590. case "(($ac_try" in
  1591. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1592. *) ac_try_echo=$ac_try;;
  1593. esac
  1594. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1595. $as_echo "$ac_try_echo"; } >&5
  1596. (eval "$ac_link") 2>conftest.err
  1597. ac_status=$?
  1598. if test -s conftest.err; then
  1599. grep -v '^ *+' conftest.err >conftest.er1
  1600. cat conftest.er1 >&5
  1601. mv -f conftest.er1 conftest.err
  1602. fi
  1603. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1604. test $ac_status = 0; } && {
  1605. test -z "$ac_c_werror_flag" ||
  1606. test ! -s conftest.err
  1607. } && test -s conftest$ac_exeext && {
  1608. test "$cross_compiling" = yes ||
  1609. test -x conftest$ac_exeext
  1610. }; then :
  1611. ac_retval=0
  1612. else
  1613. $as_echo "$as_me: failed program was:" >&5
  1614. sed 's/^/| /' conftest.$ac_ext >&5
  1615. ac_retval=1
  1616. fi
  1617. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1618. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1619. # interfere with the next link command; also delete a directory that is
  1620. # left behind by Apple's compiler. We do this before executing the actions.
  1621. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1622. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1623. as_fn_set_status $ac_retval
  1624. } # ac_fn_c_try_link
  1625. # ac_fn_c_check_func LINENO FUNC VAR
  1626. # ----------------------------------
  1627. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1628. ac_fn_c_check_func ()
  1629. {
  1630. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1631. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1632. $as_echo_n "checking for $2... " >&6; }
  1633. if eval \${$3+:} false; then :
  1634. $as_echo_n "(cached) " >&6
  1635. else
  1636. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1637. /* end confdefs.h. */
  1638. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1639. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1640. #define $2 innocuous_$2
  1641. /* System header to define __stub macros and hopefully few prototypes,
  1642. which can conflict with char $2 (); below.
  1643. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1644. <limits.h> exists even on freestanding compilers. */
  1645. #ifdef __STDC__
  1646. # include <limits.h>
  1647. #else
  1648. # include <assert.h>
  1649. #endif
  1650. #undef $2
  1651. /* Override any GCC internal prototype to avoid an error.
  1652. Use char because int might match the return type of a GCC
  1653. builtin and then its argument prototype would still apply. */
  1654. #ifdef __cplusplus
  1655. extern "C"
  1656. #endif
  1657. char $2 ();
  1658. /* The GNU C library defines this for functions which it implements
  1659. to always fail with ENOSYS. Some functions are actually named
  1660. something starting with __ and the normal name is an alias. */
  1661. #if defined __stub_$2 || defined __stub___$2
  1662. choke me
  1663. #endif
  1664. int
  1665. main ()
  1666. {
  1667. return $2 ();
  1668. ;
  1669. return 0;
  1670. }
  1671. _ACEOF
  1672. if ac_fn_c_try_link "$LINENO"; then :
  1673. eval "$3=yes"
  1674. else
  1675. eval "$3=no"
  1676. fi
  1677. rm -f core conftest.err conftest.$ac_objext \
  1678. conftest$ac_exeext conftest.$ac_ext
  1679. fi
  1680. eval ac_res=\$$3
  1681. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1682. $as_echo "$ac_res" >&6; }
  1683. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1684. } # ac_fn_c_check_func
  1685. cat >config.log <<_ACEOF
  1686. This file contains any messages produced by compilers while
  1687. running configure, to aid debugging if configure makes a mistake.
  1688. It was created by uruk-software-center $as_me 1.0, which was
  1689. generated by GNU Autoconf 2.69. Invocation command line was
  1690. $ $0 $@
  1691. _ACEOF
  1692. exec 5>>config.log
  1693. {
  1694. cat <<_ASUNAME
  1695. ## --------- ##
  1696. ## Platform. ##
  1697. ## --------- ##
  1698. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1699. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1700. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1701. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1702. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1703. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1704. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1705. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1706. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1707. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1708. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1709. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1710. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1711. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1712. _ASUNAME
  1713. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1714. for as_dir in $PATH
  1715. do
  1716. IFS=$as_save_IFS
  1717. test -z "$as_dir" && as_dir=.
  1718. $as_echo "PATH: $as_dir"
  1719. done
  1720. IFS=$as_save_IFS
  1721. } >&5
  1722. cat >&5 <<_ACEOF
  1723. ## ----------- ##
  1724. ## Core tests. ##
  1725. ## ----------- ##
  1726. _ACEOF
  1727. # Keep a trace of the command line.
  1728. # Strip out --no-create and --no-recursion so they do not pile up.
  1729. # Strip out --silent because we don't want to record it for future runs.
  1730. # Also quote any args containing shell meta-characters.
  1731. # Make two passes to allow for proper duplicate-argument suppression.
  1732. ac_configure_args=
  1733. ac_configure_args0=
  1734. ac_configure_args1=
  1735. ac_must_keep_next=false
  1736. for ac_pass in 1 2
  1737. do
  1738. for ac_arg
  1739. do
  1740. case $ac_arg in
  1741. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1742. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1743. | -silent | --silent | --silen | --sile | --sil)
  1744. continue ;;
  1745. *\'*)
  1746. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1747. esac
  1748. case $ac_pass in
  1749. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1750. 2)
  1751. as_fn_append ac_configure_args1 " '$ac_arg'"
  1752. if test $ac_must_keep_next = true; then
  1753. ac_must_keep_next=false # Got value, back to normal.
  1754. else
  1755. case $ac_arg in
  1756. *=* | --config-cache | -C | -disable-* | --disable-* \
  1757. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1758. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1759. | -with-* | --with-* | -without-* | --without-* | --x)
  1760. case "$ac_configure_args0 " in
  1761. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1762. esac
  1763. ;;
  1764. -* ) ac_must_keep_next=true ;;
  1765. esac
  1766. fi
  1767. as_fn_append ac_configure_args " '$ac_arg'"
  1768. ;;
  1769. esac
  1770. done
  1771. done
  1772. { ac_configure_args0=; unset ac_configure_args0;}
  1773. { ac_configure_args1=; unset ac_configure_args1;}
  1774. # When interrupted or exit'd, cleanup temporary files, and complete
  1775. # config.log. We remove comments because anyway the quotes in there
  1776. # would cause problems or look ugly.
  1777. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1778. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1779. trap 'exit_status=$?
  1780. # Save into config.log some information that might help in debugging.
  1781. {
  1782. echo
  1783. $as_echo "## ---------------- ##
  1784. ## Cache variables. ##
  1785. ## ---------------- ##"
  1786. echo
  1787. # The following way of writing the cache mishandles newlines in values,
  1788. (
  1789. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1790. eval ac_val=\$$ac_var
  1791. case $ac_val in #(
  1792. *${as_nl}*)
  1793. case $ac_var in #(
  1794. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1795. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1796. esac
  1797. case $ac_var in #(
  1798. _ | IFS | as_nl) ;; #(
  1799. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1800. *) { eval $ac_var=; unset $ac_var;} ;;
  1801. esac ;;
  1802. esac
  1803. done
  1804. (set) 2>&1 |
  1805. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1806. *${as_nl}ac_space=\ *)
  1807. sed -n \
  1808. "s/'\''/'\''\\\\'\'''\''/g;
  1809. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1810. ;; #(
  1811. *)
  1812. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1813. ;;
  1814. esac |
  1815. sort
  1816. )
  1817. echo
  1818. $as_echo "## ----------------- ##
  1819. ## Output variables. ##
  1820. ## ----------------- ##"
  1821. echo
  1822. for ac_var in $ac_subst_vars
  1823. do
  1824. eval ac_val=\$$ac_var
  1825. case $ac_val in
  1826. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1827. esac
  1828. $as_echo "$ac_var='\''$ac_val'\''"
  1829. done | sort
  1830. echo
  1831. if test -n "$ac_subst_files"; then
  1832. $as_echo "## ------------------- ##
  1833. ## File substitutions. ##
  1834. ## ------------------- ##"
  1835. echo
  1836. for ac_var in $ac_subst_files
  1837. do
  1838. eval ac_val=\$$ac_var
  1839. case $ac_val in
  1840. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1841. esac
  1842. $as_echo "$ac_var='\''$ac_val'\''"
  1843. done | sort
  1844. echo
  1845. fi
  1846. if test -s confdefs.h; then
  1847. $as_echo "## ----------- ##
  1848. ## confdefs.h. ##
  1849. ## ----------- ##"
  1850. echo
  1851. cat confdefs.h
  1852. echo
  1853. fi
  1854. test "$ac_signal" != 0 &&
  1855. $as_echo "$as_me: caught signal $ac_signal"
  1856. $as_echo "$as_me: exit $exit_status"
  1857. } >&5
  1858. rm -f core *.core core.conftest.* &&
  1859. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1860. exit $exit_status
  1861. ' 0
  1862. for ac_signal in 1 2 13 15; do
  1863. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1864. done
  1865. ac_signal=0
  1866. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1867. rm -f -r conftest* confdefs.h
  1868. $as_echo "/* confdefs.h */" > confdefs.h
  1869. # Predefined preprocessor variables.
  1870. cat >>confdefs.h <<_ACEOF
  1871. #define PACKAGE_NAME "$PACKAGE_NAME"
  1872. _ACEOF
  1873. cat >>confdefs.h <<_ACEOF
  1874. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1875. _ACEOF
  1876. cat >>confdefs.h <<_ACEOF
  1877. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1878. _ACEOF
  1879. cat >>confdefs.h <<_ACEOF
  1880. #define PACKAGE_STRING "$PACKAGE_STRING"
  1881. _ACEOF
  1882. cat >>confdefs.h <<_ACEOF
  1883. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1884. _ACEOF
  1885. cat >>confdefs.h <<_ACEOF
  1886. #define PACKAGE_URL "$PACKAGE_URL"
  1887. _ACEOF
  1888. # Let the site file select an alternate cache file if it wants to.
  1889. # Prefer an explicitly selected file to automatically selected ones.
  1890. ac_site_file1=NONE
  1891. ac_site_file2=NONE
  1892. if test -n "$CONFIG_SITE"; then
  1893. # We do not want a PATH search for config.site.
  1894. case $CONFIG_SITE in #((
  1895. -*) ac_site_file1=./$CONFIG_SITE;;
  1896. */*) ac_site_file1=$CONFIG_SITE;;
  1897. *) ac_site_file1=./$CONFIG_SITE;;
  1898. esac
  1899. elif test "x$prefix" != xNONE; then
  1900. ac_site_file1=$prefix/share/config.site
  1901. ac_site_file2=$prefix/etc/config.site
  1902. else
  1903. ac_site_file1=$ac_default_prefix/share/config.site
  1904. ac_site_file2=$ac_default_prefix/etc/config.site
  1905. fi
  1906. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1907. do
  1908. test "x$ac_site_file" = xNONE && continue
  1909. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  1910. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1911. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1912. sed 's/^/| /' "$ac_site_file" >&5
  1913. . "$ac_site_file" \
  1914. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1915. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1916. as_fn_error $? "failed to load site script $ac_site_file
  1917. See \`config.log' for more details" "$LINENO" 5; }
  1918. fi
  1919. done
  1920. if test -r "$cache_file"; then
  1921. # Some versions of bash will fail to source /dev/null (special files
  1922. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  1923. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  1924. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1925. $as_echo "$as_me: loading cache $cache_file" >&6;}
  1926. case $cache_file in
  1927. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1928. *) . "./$cache_file";;
  1929. esac
  1930. fi
  1931. else
  1932. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1933. $as_echo "$as_me: creating cache $cache_file" >&6;}
  1934. >$cache_file
  1935. fi
  1936. # Check that the precious variables saved in the cache have kept the same
  1937. # value.
  1938. ac_cache_corrupted=false
  1939. for ac_var in $ac_precious_vars; do
  1940. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1941. eval ac_new_set=\$ac_env_${ac_var}_set
  1942. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1943. eval ac_new_val=\$ac_env_${ac_var}_value
  1944. case $ac_old_set,$ac_new_set in
  1945. set,)
  1946. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1947. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1948. ac_cache_corrupted=: ;;
  1949. ,set)
  1950. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  1951. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1952. ac_cache_corrupted=: ;;
  1953. ,);;
  1954. *)
  1955. if test "x$ac_old_val" != "x$ac_new_val"; then
  1956. # differences in whitespace do not lead to failure.
  1957. ac_old_val_w=`echo x $ac_old_val`
  1958. ac_new_val_w=`echo x $ac_new_val`
  1959. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1960. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  1961. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1962. ac_cache_corrupted=:
  1963. else
  1964. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1965. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1966. eval $ac_var=\$ac_old_val
  1967. fi
  1968. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  1969. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  1970. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  1971. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  1972. fi;;
  1973. esac
  1974. # Pass precious variables to config.status.
  1975. if test "$ac_new_set" = set; then
  1976. case $ac_new_val in
  1977. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1978. *) ac_arg=$ac_var=$ac_new_val ;;
  1979. esac
  1980. case " $ac_configure_args " in
  1981. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1982. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  1983. esac
  1984. fi
  1985. done
  1986. if $ac_cache_corrupted; then
  1987. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1988. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1989. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  1990. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1991. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  1992. fi
  1993. ## -------------------- ##
  1994. ## Main body of script. ##
  1995. ## -------------------- ##
  1996. ac_ext=c
  1997. ac_cpp='$CPP $CPPFLAGS'
  1998. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1999. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2000. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2001. am__api_version='1.13'
  2002. ac_aux_dir=
  2003. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2004. if test -f "$ac_dir/install-sh"; then
  2005. ac_aux_dir=$ac_dir
  2006. ac_install_sh="$ac_aux_dir/install-sh -c"
  2007. break
  2008. elif test -f "$ac_dir/install.sh"; then
  2009. ac_aux_dir=$ac_dir
  2010. ac_install_sh="$ac_aux_dir/install.sh -c"
  2011. break
  2012. elif test -f "$ac_dir/shtool"; then
  2013. ac_aux_dir=$ac_dir
  2014. ac_install_sh="$ac_aux_dir/shtool install -c"
  2015. break
  2016. fi
  2017. done
  2018. if test -z "$ac_aux_dir"; then
  2019. as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2020. fi
  2021. # These three variables are undocumented and unsupported,
  2022. # and are intended to be withdrawn in a future Autoconf release.
  2023. # They can cause serious problems if a builder's source tree is in a directory
  2024. # whose full name contains unusual characters.
  2025. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2026. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2027. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2028. # Find a good install program. We prefer a C program (faster),
  2029. # so one script is as good as another. But avoid the broken or
  2030. # incompatible versions:
  2031. # SysV /etc/install, /usr/sbin/install
  2032. # SunOS /usr/etc/install
  2033. # IRIX /sbin/install
  2034. # AIX /bin/install
  2035. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2036. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2037. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2038. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2039. # OS/2's system install, which has a completely different semantic
  2040. # ./install, which can be erroneously created by make from ./install.sh.
  2041. # Reject install programs that cannot install multiple files.
  2042. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2043. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2044. if test -z "$INSTALL"; then
  2045. if ${ac_cv_path_install+:} false; then :
  2046. $as_echo_n "(cached) " >&6
  2047. else
  2048. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2049. for as_dir in $PATH
  2050. do
  2051. IFS=$as_save_IFS
  2052. test -z "$as_dir" && as_dir=.
  2053. # Account for people who put trailing slashes in PATH elements.
  2054. case $as_dir/ in #((
  2055. ./ | .// | /[cC]/* | \
  2056. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2057. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2058. /usr/ucb/* ) ;;
  2059. *)
  2060. # OSF1 and SCO ODT 3.0 have their own names for install.
  2061. # Don't use installbsd from OSF since it installs stuff as root
  2062. # by default.
  2063. for ac_prog in ginstall scoinst install; do
  2064. for ac_exec_ext in '' $ac_executable_extensions; do
  2065. if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2066. if test $ac_prog = install &&
  2067. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2068. # AIX install. It has an incompatible calling convention.
  2069. :
  2070. elif test $ac_prog = install &&
  2071. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2072. # program-specific install script used by HP pwplus--don't use.
  2073. :
  2074. else
  2075. rm -rf conftest.one conftest.two conftest.dir
  2076. echo one > conftest.one
  2077. echo two > conftest.two
  2078. mkdir conftest.dir
  2079. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2080. test -s conftest.one && test -s conftest.two &&
  2081. test -s conftest.dir/conftest.one &&
  2082. test -s conftest.dir/conftest.two
  2083. then
  2084. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2085. break 3
  2086. fi
  2087. fi
  2088. fi
  2089. done
  2090. done
  2091. ;;
  2092. esac
  2093. done
  2094. IFS=$as_save_IFS
  2095. rm -rf conftest.one conftest.two conftest.dir
  2096. fi
  2097. if test "${ac_cv_path_install+set}" = set; then
  2098. INSTALL=$ac_cv_path_install
  2099. else
  2100. # As a last resort, use the slow shell script. Don't cache a
  2101. # value for INSTALL within a source directory, because that will
  2102. # break other packages using the cache if that directory is
  2103. # removed, or if the value is a relative name.
  2104. INSTALL=$ac_install_sh
  2105. fi
  2106. fi
  2107. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2108. $as_echo "$INSTALL" >&6; }
  2109. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2110. # It thinks the first close brace ends the variable substitution.
  2111. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2112. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2113. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2114. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2115. $as_echo_n "checking whether build environment is sane... " >&6; }
  2116. # Reject unsafe characters in $srcdir or the absolute working directory
  2117. # name. Accept space and tab only in the latter.
  2118. am_lf='
  2119. '
  2120. case `pwd` in
  2121. *[\\\"\#\$\&\'\`$am_lf]*)
  2122. as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2123. esac
  2124. case $srcdir in
  2125. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2126. as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  2127. esac
  2128. # Do 'set' in a subshell so we don't clobber the current shell's
  2129. # arguments. Must try -L first in case configure is actually a
  2130. # symlink; some systems play weird games with the mod time of symlinks
  2131. # (eg FreeBSD returns the mod time of the symlink's containing
  2132. # directory).
  2133. if (
  2134. am_has_slept=no
  2135. for am_try in 1 2; do
  2136. echo "timestamp, slept: $am_has_slept" > conftest.file
  2137. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2138. if test "$*" = "X"; then
  2139. # -L didn't work.
  2140. set X `ls -t "$srcdir/configure" conftest.file`
  2141. fi
  2142. if test "$*" != "X $srcdir/configure conftest.file" \
  2143. && test "$*" != "X conftest.file $srcdir/configure"; then
  2144. # If neither matched, then we have a broken ls. This can happen
  2145. # if, for instance, CONFIG_SHELL is bash and it inherits a
  2146. # broken ls alias from the environment. This has actually
  2147. # happened. Such a system could not be considered "sane".
  2148. as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  2149. alias in your environment" "$LINENO" 5
  2150. fi
  2151. if test "$2" = conftest.file || test $am_try -eq 2; then
  2152. break
  2153. fi
  2154. # Just in case.
  2155. sleep 1
  2156. am_has_slept=yes
  2157. done
  2158. test "$2" = conftest.file
  2159. )
  2160. then
  2161. # Ok.
  2162. :
  2163. else
  2164. as_fn_error $? "newly created file is older than distributed files!
  2165. Check your system clock" "$LINENO" 5
  2166. fi
  2167. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2168. $as_echo "yes" >&6; }
  2169. # If we didn't sleep, we still need to ensure time stamps of config.status and
  2170. # generated files are strictly newer.
  2171. am_sleep_pid=
  2172. if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  2173. ( sleep 1 ) &
  2174. am_sleep_pid=$!
  2175. fi
  2176. rm -f conftest.file
  2177. test "$program_prefix" != NONE &&
  2178. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2179. # Use a double $ so make ignores it.
  2180. test "$program_suffix" != NONE &&
  2181. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2182. # Double any \ or $.
  2183. # By default was `s,x,x', remove it if useless.
  2184. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2185. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2186. # expand $ac_aux_dir to an absolute path
  2187. am_aux_dir=`cd $ac_aux_dir && pwd`
  2188. if test x"${MISSING+set}" != xset; then
  2189. case $am_aux_dir in
  2190. *\ * | *\ *)
  2191. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2192. *)
  2193. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2194. esac
  2195. fi
  2196. # Use eval to expand $SHELL
  2197. if eval "$MISSING --is-lightweight"; then
  2198. am_missing_run="$MISSING "
  2199. else
  2200. am_missing_run=
  2201. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  2202. $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  2203. fi
  2204. if test x"${install_sh}" != xset; then
  2205. case $am_aux_dir in
  2206. *\ * | *\ *)
  2207. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2208. *)
  2209. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2210. esac
  2211. fi
  2212. # Installed binaries are usually stripped using 'strip' when the user
  2213. # run "make install-strip". However 'strip' might not be the right
  2214. # tool to use in cross-compilation environments, therefore Automake
  2215. # will honor the 'STRIP' environment variable to overrule this program.
  2216. if test "$cross_compiling" != no; then
  2217. if test -n "$ac_tool_prefix"; then
  2218. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2219. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2220. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2221. $as_echo_n "checking for $ac_word... " >&6; }
  2222. if ${ac_cv_prog_STRIP+:} false; then :
  2223. $as_echo_n "(cached) " >&6
  2224. else
  2225. if test -n "$STRIP"; then
  2226. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2227. else
  2228. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2229. for as_dir in $PATH
  2230. do
  2231. IFS=$as_save_IFS
  2232. test -z "$as_dir" && as_dir=.
  2233. for ac_exec_ext in '' $ac_executable_extensions; do
  2234. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2235. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2236. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2237. break 2
  2238. fi
  2239. done
  2240. done
  2241. IFS=$as_save_IFS
  2242. fi
  2243. fi
  2244. STRIP=$ac_cv_prog_STRIP
  2245. if test -n "$STRIP"; then
  2246. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2247. $as_echo "$STRIP" >&6; }
  2248. else
  2249. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2250. $as_echo "no" >&6; }
  2251. fi
  2252. fi
  2253. if test -z "$ac_cv_prog_STRIP"; then
  2254. ac_ct_STRIP=$STRIP
  2255. # Extract the first word of "strip", so it can be a program name with args.
  2256. set dummy strip; ac_word=$2
  2257. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2258. $as_echo_n "checking for $ac_word... " >&6; }
  2259. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  2260. $as_echo_n "(cached) " >&6
  2261. else
  2262. if test -n "$ac_ct_STRIP"; then
  2263. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2264. else
  2265. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2266. for as_dir in $PATH
  2267. do
  2268. IFS=$as_save_IFS
  2269. test -z "$as_dir" && as_dir=.
  2270. for ac_exec_ext in '' $ac_executable_extensions; do
  2271. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2272. ac_cv_prog_ac_ct_STRIP="strip"
  2273. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2274. break 2
  2275. fi
  2276. done
  2277. done
  2278. IFS=$as_save_IFS
  2279. fi
  2280. fi
  2281. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2282. if test -n "$ac_ct_STRIP"; then
  2283. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2284. $as_echo "$ac_ct_STRIP" >&6; }
  2285. else
  2286. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2287. $as_echo "no" >&6; }
  2288. fi
  2289. if test "x$ac_ct_STRIP" = x; then
  2290. STRIP=":"
  2291. else
  2292. case $cross_compiling:$ac_tool_warned in
  2293. yes:)
  2294. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2295. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2296. ac_tool_warned=yes ;;
  2297. esac
  2298. STRIP=$ac_ct_STRIP
  2299. fi
  2300. else
  2301. STRIP="$ac_cv_prog_STRIP"
  2302. fi
  2303. fi
  2304. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2305. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2306. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2307. if test -z "$MKDIR_P"; then
  2308. if ${ac_cv_path_mkdir+:} false; then :
  2309. $as_echo_n "(cached) " >&6
  2310. else
  2311. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2312. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2313. do
  2314. IFS=$as_save_IFS
  2315. test -z "$as_dir" && as_dir=.
  2316. for ac_prog in mkdir gmkdir; do
  2317. for ac_exec_ext in '' $ac_executable_extensions; do
  2318. as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  2319. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2320. 'mkdir (GNU coreutils) '* | \
  2321. 'mkdir (coreutils) '* | \
  2322. 'mkdir (fileutils) '4.1*)
  2323. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2324. break 3;;
  2325. esac
  2326. done
  2327. done
  2328. done
  2329. IFS=$as_save_IFS
  2330. fi
  2331. test -d ./--version && rmdir ./--version
  2332. if test "${ac_cv_path_mkdir+set}" = set; then
  2333. MKDIR_P="$ac_cv_path_mkdir -p"
  2334. else
  2335. # As a last resort, use the slow shell script. Don't cache a
  2336. # value for MKDIR_P within a source directory, because that will
  2337. # break other packages using the cache if that directory is
  2338. # removed, or if the value is a relative name.
  2339. MKDIR_P="$ac_install_sh -d"
  2340. fi
  2341. fi
  2342. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2343. $as_echo "$MKDIR_P" >&6; }
  2344. for ac_prog in gawk mawk nawk awk
  2345. do
  2346. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2347. set dummy $ac_prog; ac_word=$2
  2348. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2349. $as_echo_n "checking for $ac_word... " >&6; }
  2350. if ${ac_cv_prog_AWK+:} false; then :
  2351. $as_echo_n "(cached) " >&6
  2352. else
  2353. if test -n "$AWK"; then
  2354. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2355. else
  2356. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2357. for as_dir in $PATH
  2358. do
  2359. IFS=$as_save_IFS
  2360. test -z "$as_dir" && as_dir=.
  2361. for ac_exec_ext in '' $ac_executable_extensions; do
  2362. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2363. ac_cv_prog_AWK="$ac_prog"
  2364. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2365. break 2
  2366. fi
  2367. done
  2368. done
  2369. IFS=$as_save_IFS
  2370. fi
  2371. fi
  2372. AWK=$ac_cv_prog_AWK
  2373. if test -n "$AWK"; then
  2374. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2375. $as_echo "$AWK" >&6; }
  2376. else
  2377. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2378. $as_echo "no" >&6; }
  2379. fi
  2380. test -n "$AWK" && break
  2381. done
  2382. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2383. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2384. set x ${MAKE-make}
  2385. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2386. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2387. $as_echo_n "(cached) " >&6
  2388. else
  2389. cat >conftest.make <<\_ACEOF
  2390. SHELL = /bin/sh
  2391. all:
  2392. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2393. _ACEOF
  2394. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2395. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2396. *@@@%%%=?*=@@@%%%*)
  2397. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2398. *)
  2399. eval ac_cv_prog_make_${ac_make}_set=no;;
  2400. esac
  2401. rm -f conftest.make
  2402. fi
  2403. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2404. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2405. $as_echo "yes" >&6; }
  2406. SET_MAKE=
  2407. else
  2408. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2409. $as_echo "no" >&6; }
  2410. SET_MAKE="MAKE=${MAKE-make}"
  2411. fi
  2412. rm -rf .tst 2>/dev/null
  2413. mkdir .tst 2>/dev/null
  2414. if test -d .tst; then
  2415. am__leading_dot=.
  2416. else
  2417. am__leading_dot=_
  2418. fi
  2419. rmdir .tst 2>/dev/null
  2420. # Check whether --enable-silent-rules was given.
  2421. if test "${enable_silent_rules+set}" = set; then :
  2422. enableval=$enable_silent_rules;
  2423. fi
  2424. case $enable_silent_rules in # (((
  2425. yes) AM_DEFAULT_VERBOSITY=0;;
  2426. no) AM_DEFAULT_VERBOSITY=1;;
  2427. *) AM_DEFAULT_VERBOSITY=1;;
  2428. esac
  2429. am_make=${MAKE-make}
  2430. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  2431. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  2432. if ${am_cv_make_support_nested_variables+:} false; then :
  2433. $as_echo_n "(cached) " >&6
  2434. else
  2435. if $as_echo 'TRUE=$(BAR$(V))
  2436. BAR0=false
  2437. BAR1=true
  2438. V=1
  2439. am__doit:
  2440. @$(TRUE)
  2441. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  2442. am_cv_make_support_nested_variables=yes
  2443. else
  2444. am_cv_make_support_nested_variables=no
  2445. fi
  2446. fi
  2447. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  2448. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  2449. if test $am_cv_make_support_nested_variables = yes; then
  2450. AM_V='$(V)'
  2451. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2452. else
  2453. AM_V=$AM_DEFAULT_VERBOSITY
  2454. AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  2455. fi
  2456. AM_BACKSLASH='\'
  2457. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2458. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2459. # is not polluted with repeated "-I."
  2460. am__isrc=' -I$(srcdir)'
  2461. # test to see if srcdir already configured
  2462. if test -f $srcdir/config.status; then
  2463. as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2464. fi
  2465. fi
  2466. # test whether we have cygpath
  2467. if test -z "$CYGPATH_W"; then
  2468. if (cygpath --version) >/dev/null 2>/dev/null; then
  2469. CYGPATH_W='cygpath -w'
  2470. else
  2471. CYGPATH_W=echo
  2472. fi
  2473. fi
  2474. # Define the identity of the package.
  2475. PACKAGE='uruk-software-center'
  2476. VERSION='1.0'
  2477. cat >>confdefs.h <<_ACEOF
  2478. #define PACKAGE "$PACKAGE"
  2479. _ACEOF
  2480. cat >>confdefs.h <<_ACEOF
  2481. #define VERSION "$VERSION"
  2482. _ACEOF
  2483. # Some tools Automake needs.
  2484. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2485. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2486. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2487. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2488. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2489. # For better backward compatibility. To be removed once Automake 1.9.x
  2490. # dies out for good. For more background, see:
  2491. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  2492. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  2493. mkdir_p='$(MKDIR_P)'
  2494. # We need awk for the "check" target. The system "awk" is bad on
  2495. # some platforms.
  2496. # Always define AMTAR for backward compatibility. Yes, it's still used
  2497. # in the wild :-( We should find a proper way to deprecate it ...
  2498. AMTAR='$${TAR-tar}'
  2499. # We'll loop over all known methods to create a tar archive until one works.
  2500. _am_tools='gnutar pax cpio none'
  2501. am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  2502. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2503. $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  2504. # Check whether --enable-maintainer-mode was given.
  2505. if test "${enable_maintainer_mode+set}" = set; then :
  2506. enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2507. else
  2508. USE_MAINTAINER_MODE=no
  2509. fi
  2510. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  2511. $as_echo "$USE_MAINTAINER_MODE" >&6; }
  2512. if test $USE_MAINTAINER_MODE = yes; then
  2513. MAINTAINER_MODE_TRUE=
  2514. MAINTAINER_MODE_FALSE='#'
  2515. else
  2516. MAINTAINER_MODE_TRUE='#'
  2517. MAINTAINER_MODE_FALSE=
  2518. fi
  2519. MAINT=$MAINTAINER_MODE_TRUE
  2520. ACLOCAL_AMFLAGS="$ACLOCAL_FLAGS -I m4"
  2521. GETTEXT_PACKAGE="uruk-software-center"
  2522. cat >>confdefs.h <<_ACEOF
  2523. #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
  2524. _ACEOF
  2525. DEPDIR="${am__leading_dot}deps"
  2526. ac_config_commands="$ac_config_commands depfiles"
  2527. am_make=${MAKE-make}
  2528. cat > confinc << 'END'
  2529. am__doit:
  2530. @echo this is the am__doit target
  2531. .PHONY: am__doit
  2532. END
  2533. # If we don't find an include directive, just comment out the code.
  2534. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  2535. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  2536. am__include="#"
  2537. am__quote=
  2538. _am_result=none
  2539. # First try GNU make style include.
  2540. echo "include confinc" > confmf
  2541. # Ignore all kinds of additional output from 'make'.
  2542. case `$am_make -s -f confmf 2> /dev/null` in #(
  2543. *the\ am__doit\ target*)
  2544. am__include=include
  2545. am__quote=
  2546. _am_result=GNU
  2547. ;;
  2548. esac
  2549. # Now try BSD make style include.
  2550. if test "$am__include" = "#"; then
  2551. echo '.include "confinc"' > confmf
  2552. case `$am_make -s -f confmf 2> /dev/null` in #(
  2553. *the\ am__doit\ target*)
  2554. am__include=.include
  2555. am__quote="\""
  2556. _am_result=BSD
  2557. ;;
  2558. esac
  2559. fi
  2560. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  2561. $as_echo "$_am_result" >&6; }
  2562. rm -f confinc confmf
  2563. # Check whether --enable-dependency-tracking was given.
  2564. if test "${enable_dependency_tracking+set}" = set; then :
  2565. enableval=$enable_dependency_tracking;
  2566. fi
  2567. if test "x$enable_dependency_tracking" != xno; then
  2568. am_depcomp="$ac_aux_dir/depcomp"
  2569. AMDEPBACKSLASH='\'
  2570. am__nodep='_no'
  2571. fi
  2572. if test "x$enable_dependency_tracking" != xno; then
  2573. AMDEP_TRUE=
  2574. AMDEP_FALSE='#'
  2575. else
  2576. AMDEP_TRUE='#'
  2577. AMDEP_FALSE=
  2578. fi
  2579. ac_ext=c
  2580. ac_cpp='$CPP $CPPFLAGS'
  2581. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2582. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2583. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2584. if test -n "$ac_tool_prefix"; then
  2585. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2586. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2587. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2588. $as_echo_n "checking for $ac_word... " >&6; }
  2589. if ${ac_cv_prog_CC+:} false; then :
  2590. $as_echo_n "(cached) " >&6
  2591. else
  2592. if test -n "$CC"; then
  2593. ac_cv_prog_CC="$CC" # Let the user override the test.
  2594. else
  2595. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2596. for as_dir in $PATH
  2597. do
  2598. IFS=$as_save_IFS
  2599. test -z "$as_dir" && as_dir=.
  2600. for ac_exec_ext in '' $ac_executable_extensions; do
  2601. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2602. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2603. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2604. break 2
  2605. fi
  2606. done
  2607. done
  2608. IFS=$as_save_IFS
  2609. fi
  2610. fi
  2611. CC=$ac_cv_prog_CC
  2612. if test -n "$CC"; then
  2613. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2614. $as_echo "$CC" >&6; }
  2615. else
  2616. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2617. $as_echo "no" >&6; }
  2618. fi
  2619. fi
  2620. if test -z "$ac_cv_prog_CC"; then
  2621. ac_ct_CC=$CC
  2622. # Extract the first word of "gcc", so it can be a program name with args.
  2623. set dummy gcc; ac_word=$2
  2624. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2625. $as_echo_n "checking for $ac_word... " >&6; }
  2626. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2627. $as_echo_n "(cached) " >&6
  2628. else
  2629. if test -n "$ac_ct_CC"; then
  2630. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2631. else
  2632. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2633. for as_dir in $PATH
  2634. do
  2635. IFS=$as_save_IFS
  2636. test -z "$as_dir" && as_dir=.
  2637. for ac_exec_ext in '' $ac_executable_extensions; do
  2638. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2639. ac_cv_prog_ac_ct_CC="gcc"
  2640. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2641. break 2
  2642. fi
  2643. done
  2644. done
  2645. IFS=$as_save_IFS
  2646. fi
  2647. fi
  2648. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2649. if test -n "$ac_ct_CC"; then
  2650. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2651. $as_echo "$ac_ct_CC" >&6; }
  2652. else
  2653. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2654. $as_echo "no" >&6; }
  2655. fi
  2656. if test "x$ac_ct_CC" = x; then
  2657. CC=""
  2658. else
  2659. case $cross_compiling:$ac_tool_warned in
  2660. yes:)
  2661. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2662. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2663. ac_tool_warned=yes ;;
  2664. esac
  2665. CC=$ac_ct_CC
  2666. fi
  2667. else
  2668. CC="$ac_cv_prog_CC"
  2669. fi
  2670. if test -z "$CC"; then
  2671. if test -n "$ac_tool_prefix"; then
  2672. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2673. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2674. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2675. $as_echo_n "checking for $ac_word... " >&6; }
  2676. if ${ac_cv_prog_CC+:} false; then :
  2677. $as_echo_n "(cached) " >&6
  2678. else
  2679. if test -n "$CC"; then
  2680. ac_cv_prog_CC="$CC" # Let the user override the test.
  2681. else
  2682. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2683. for as_dir in $PATH
  2684. do
  2685. IFS=$as_save_IFS
  2686. test -z "$as_dir" && as_dir=.
  2687. for ac_exec_ext in '' $ac_executable_extensions; do
  2688. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2689. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2690. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2691. break 2
  2692. fi
  2693. done
  2694. done
  2695. IFS=$as_save_IFS
  2696. fi
  2697. fi
  2698. CC=$ac_cv_prog_CC
  2699. if test -n "$CC"; then
  2700. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2701. $as_echo "$CC" >&6; }
  2702. else
  2703. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2704. $as_echo "no" >&6; }
  2705. fi
  2706. fi
  2707. fi
  2708. if test -z "$CC"; then
  2709. # Extract the first word of "cc", so it can be a program name with args.
  2710. set dummy cc; ac_word=$2
  2711. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2712. $as_echo_n "checking for $ac_word... " >&6; }
  2713. if ${ac_cv_prog_CC+:} false; then :
  2714. $as_echo_n "(cached) " >&6
  2715. else
  2716. if test -n "$CC"; then
  2717. ac_cv_prog_CC="$CC" # Let the user override the test.
  2718. else
  2719. ac_prog_rejected=no
  2720. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2721. for as_dir in $PATH
  2722. do
  2723. IFS=$as_save_IFS
  2724. test -z "$as_dir" && as_dir=.
  2725. for ac_exec_ext in '' $ac_executable_extensions; do
  2726. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2727. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2728. ac_prog_rejected=yes
  2729. continue
  2730. fi
  2731. ac_cv_prog_CC="cc"
  2732. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2733. break 2
  2734. fi
  2735. done
  2736. done
  2737. IFS=$as_save_IFS
  2738. if test $ac_prog_rejected = yes; then
  2739. # We found a bogon in the path, so make sure we never use it.
  2740. set dummy $ac_cv_prog_CC
  2741. shift
  2742. if test $# != 0; then
  2743. # We chose a different compiler from the bogus one.
  2744. # However, it has the same basename, so the bogon will be chosen
  2745. # first if we set CC to just the basename; use the full file name.
  2746. shift
  2747. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2748. fi
  2749. fi
  2750. fi
  2751. fi
  2752. CC=$ac_cv_prog_CC
  2753. if test -n "$CC"; then
  2754. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2755. $as_echo "$CC" >&6; }
  2756. else
  2757. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2758. $as_echo "no" >&6; }
  2759. fi
  2760. fi
  2761. if test -z "$CC"; then
  2762. if test -n "$ac_tool_prefix"; then
  2763. for ac_prog in cl.exe
  2764. do
  2765. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2766. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2767. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2768. $as_echo_n "checking for $ac_word... " >&6; }
  2769. if ${ac_cv_prog_CC+:} false; then :
  2770. $as_echo_n "(cached) " >&6
  2771. else
  2772. if test -n "$CC"; then
  2773. ac_cv_prog_CC="$CC" # Let the user override the test.
  2774. else
  2775. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2776. for as_dir in $PATH
  2777. do
  2778. IFS=$as_save_IFS
  2779. test -z "$as_dir" && as_dir=.
  2780. for ac_exec_ext in '' $ac_executable_extensions; do
  2781. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2782. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2783. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2784. break 2
  2785. fi
  2786. done
  2787. done
  2788. IFS=$as_save_IFS
  2789. fi
  2790. fi
  2791. CC=$ac_cv_prog_CC
  2792. if test -n "$CC"; then
  2793. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2794. $as_echo "$CC" >&6; }
  2795. else
  2796. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2797. $as_echo "no" >&6; }
  2798. fi
  2799. test -n "$CC" && break
  2800. done
  2801. fi
  2802. if test -z "$CC"; then
  2803. ac_ct_CC=$CC
  2804. for ac_prog in cl.exe
  2805. do
  2806. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2807. set dummy $ac_prog; ac_word=$2
  2808. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2809. $as_echo_n "checking for $ac_word... " >&6; }
  2810. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2811. $as_echo_n "(cached) " >&6
  2812. else
  2813. if test -n "$ac_ct_CC"; then
  2814. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2815. else
  2816. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2817. for as_dir in $PATH
  2818. do
  2819. IFS=$as_save_IFS
  2820. test -z "$as_dir" && as_dir=.
  2821. for ac_exec_ext in '' $ac_executable_extensions; do
  2822. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2823. ac_cv_prog_ac_ct_CC="$ac_prog"
  2824. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2825. break 2
  2826. fi
  2827. done
  2828. done
  2829. IFS=$as_save_IFS
  2830. fi
  2831. fi
  2832. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2833. if test -n "$ac_ct_CC"; then
  2834. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2835. $as_echo "$ac_ct_CC" >&6; }
  2836. else
  2837. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2838. $as_echo "no" >&6; }
  2839. fi
  2840. test -n "$ac_ct_CC" && break
  2841. done
  2842. if test "x$ac_ct_CC" = x; then
  2843. CC=""
  2844. else
  2845. case $cross_compiling:$ac_tool_warned in
  2846. yes:)
  2847. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2848. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2849. ac_tool_warned=yes ;;
  2850. esac
  2851. CC=$ac_ct_CC
  2852. fi
  2853. fi
  2854. fi
  2855. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2856. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2857. as_fn_error $? "no acceptable C compiler found in \$PATH
  2858. See \`config.log' for more details" "$LINENO" 5; }
  2859. # Provide some information about the compiler.
  2860. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  2861. set X $ac_compile
  2862. ac_compiler=$2
  2863. for ac_option in --version -v -V -qversion; do
  2864. { { ac_try="$ac_compiler $ac_option >&5"
  2865. case "(($ac_try" in
  2866. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2867. *) ac_try_echo=$ac_try;;
  2868. esac
  2869. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2870. $as_echo "$ac_try_echo"; } >&5
  2871. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2872. ac_status=$?
  2873. if test -s conftest.err; then
  2874. sed '10a\
  2875. ... rest of stderr output deleted ...
  2876. 10q' conftest.err >conftest.er1
  2877. cat conftest.er1 >&5
  2878. fi
  2879. rm -f conftest.er1 conftest.err
  2880. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2881. test $ac_status = 0; }
  2882. done
  2883. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2884. /* end confdefs.h. */
  2885. int
  2886. main ()
  2887. {
  2888. ;
  2889. return 0;
  2890. }
  2891. _ACEOF
  2892. ac_clean_files_save=$ac_clean_files
  2893. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2894. # Try to create an executable without -o first, disregard a.out.
  2895. # It will help us diagnose broken compilers, and finding out an intuition
  2896. # of exeext.
  2897. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  2898. $as_echo_n "checking whether the C compiler works... " >&6; }
  2899. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2900. # The possible output files:
  2901. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2902. ac_rmfiles=
  2903. for ac_file in $ac_files
  2904. do
  2905. case $ac_file in
  2906. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2907. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2908. esac
  2909. done
  2910. rm -f $ac_rmfiles
  2911. if { { ac_try="$ac_link_default"
  2912. case "(($ac_try" in
  2913. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2914. *) ac_try_echo=$ac_try;;
  2915. esac
  2916. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2917. $as_echo "$ac_try_echo"; } >&5
  2918. (eval "$ac_link_default") 2>&5
  2919. ac_status=$?
  2920. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2921. test $ac_status = 0; }; then :
  2922. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2923. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2924. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  2925. # so that the user can short-circuit this test for compilers unknown to
  2926. # Autoconf.
  2927. for ac_file in $ac_files ''
  2928. do
  2929. test -f "$ac_file" || continue
  2930. case $ac_file in
  2931. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2932. ;;
  2933. [ab].out )
  2934. # We found the default executable, but exeext='' is most
  2935. # certainly right.
  2936. break;;
  2937. *.* )
  2938. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2939. then :; else
  2940. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2941. fi
  2942. # We set ac_cv_exeext here because the later test for it is not
  2943. # safe: cross compilers may not add the suffix if given an `-o'
  2944. # argument, so we may need to know it at that point already.
  2945. # Even if this section looks crufty: it has the advantage of
  2946. # actually working.
  2947. break;;
  2948. * )
  2949. break;;
  2950. esac
  2951. done
  2952. test "$ac_cv_exeext" = no && ac_cv_exeext=
  2953. else
  2954. ac_file=''
  2955. fi
  2956. if test -z "$ac_file"; then :
  2957. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2958. $as_echo "no" >&6; }
  2959. $as_echo "$as_me: failed program was:" >&5
  2960. sed 's/^/| /' conftest.$ac_ext >&5
  2961. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2962. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2963. as_fn_error 77 "C compiler cannot create executables
  2964. See \`config.log' for more details" "$LINENO" 5; }
  2965. else
  2966. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2967. $as_echo "yes" >&6; }
  2968. fi
  2969. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  2970. $as_echo_n "checking for C compiler default output file name... " >&6; }
  2971. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  2972. $as_echo "$ac_file" >&6; }
  2973. ac_exeext=$ac_cv_exeext
  2974. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  2975. ac_clean_files=$ac_clean_files_save
  2976. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  2977. $as_echo_n "checking for suffix of executables... " >&6; }
  2978. if { { ac_try="$ac_link"
  2979. case "(($ac_try" in
  2980. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2981. *) ac_try_echo=$ac_try;;
  2982. esac
  2983. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2984. $as_echo "$ac_try_echo"; } >&5
  2985. (eval "$ac_link") 2>&5
  2986. ac_status=$?
  2987. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2988. test $ac_status = 0; }; then :
  2989. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2990. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  2991. # work properly (i.e., refer to `conftest.exe'), while it won't with
  2992. # `rm'.
  2993. for ac_file in conftest.exe conftest conftest.*; do
  2994. test -f "$ac_file" || continue
  2995. case $ac_file in
  2996. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2997. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2998. break;;
  2999. * ) break;;
  3000. esac
  3001. done
  3002. else
  3003. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3004. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3005. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3006. See \`config.log' for more details" "$LINENO" 5; }
  3007. fi
  3008. rm -f conftest conftest$ac_cv_exeext
  3009. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3010. $as_echo "$ac_cv_exeext" >&6; }
  3011. rm -f conftest.$ac_ext
  3012. EXEEXT=$ac_cv_exeext
  3013. ac_exeext=$EXEEXT
  3014. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3015. /* end confdefs.h. */
  3016. #include <stdio.h>
  3017. int
  3018. main ()
  3019. {
  3020. FILE *f = fopen ("conftest.out", "w");
  3021. return ferror (f) || fclose (f) != 0;
  3022. ;
  3023. return 0;
  3024. }
  3025. _ACEOF
  3026. ac_clean_files="$ac_clean_files conftest.out"
  3027. # Check that the compiler produces executables we can run. If not, either
  3028. # the compiler is broken, or we cross compile.
  3029. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3030. $as_echo_n "checking whether we are cross compiling... " >&6; }
  3031. if test "$cross_compiling" != yes; then
  3032. { { ac_try="$ac_link"
  3033. case "(($ac_try" in
  3034. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3035. *) ac_try_echo=$ac_try;;
  3036. esac
  3037. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3038. $as_echo "$ac_try_echo"; } >&5
  3039. (eval "$ac_link") 2>&5
  3040. ac_status=$?
  3041. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3042. test $ac_status = 0; }
  3043. if { ac_try='./conftest$ac_cv_exeext'
  3044. { { case "(($ac_try" in
  3045. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3046. *) ac_try_echo=$ac_try;;
  3047. esac
  3048. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3049. $as_echo "$ac_try_echo"; } >&5
  3050. (eval "$ac_try") 2>&5
  3051. ac_status=$?
  3052. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3053. test $ac_status = 0; }; }; then
  3054. cross_compiling=no
  3055. else
  3056. if test "$cross_compiling" = maybe; then
  3057. cross_compiling=yes
  3058. else
  3059. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3060. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3061. as_fn_error $? "cannot run C compiled programs.
  3062. If you meant to cross compile, use \`--host'.
  3063. See \`config.log' for more details" "$LINENO" 5; }
  3064. fi
  3065. fi
  3066. fi
  3067. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3068. $as_echo "$cross_compiling" >&6; }
  3069. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3070. ac_clean_files=$ac_clean_files_save
  3071. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3072. $as_echo_n "checking for suffix of object files... " >&6; }
  3073. if ${ac_cv_objext+:} false; then :
  3074. $as_echo_n "(cached) " >&6
  3075. else
  3076. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3077. /* end confdefs.h. */
  3078. int
  3079. main ()
  3080. {
  3081. ;
  3082. return 0;
  3083. }
  3084. _ACEOF
  3085. rm -f conftest.o conftest.obj
  3086. if { { ac_try="$ac_compile"
  3087. case "(($ac_try" in
  3088. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3089. *) ac_try_echo=$ac_try;;
  3090. esac
  3091. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3092. $as_echo "$ac_try_echo"; } >&5
  3093. (eval "$ac_compile") 2>&5
  3094. ac_status=$?
  3095. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3096. test $ac_status = 0; }; then :
  3097. for ac_file in conftest.o conftest.obj conftest.*; do
  3098. test -f "$ac_file" || continue;
  3099. case $ac_file in
  3100. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3101. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3102. break;;
  3103. esac
  3104. done
  3105. else
  3106. $as_echo "$as_me: failed program was:" >&5
  3107. sed 's/^/| /' conftest.$ac_ext >&5
  3108. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3109. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3110. as_fn_error $? "cannot compute suffix of object files: cannot compile
  3111. See \`config.log' for more details" "$LINENO" 5; }
  3112. fi
  3113. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3114. fi
  3115. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3116. $as_echo "$ac_cv_objext" >&6; }
  3117. OBJEXT=$ac_cv_objext
  3118. ac_objext=$OBJEXT
  3119. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3120. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3121. if ${ac_cv_c_compiler_gnu+:} false; then :
  3122. $as_echo_n "(cached) " >&6
  3123. else
  3124. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3125. /* end confdefs.h. */
  3126. int
  3127. main ()
  3128. {
  3129. #ifndef __GNUC__
  3130. choke me
  3131. #endif
  3132. ;
  3133. return 0;
  3134. }
  3135. _ACEOF
  3136. if ac_fn_c_try_compile "$LINENO"; then :
  3137. ac_compiler_gnu=yes
  3138. else
  3139. ac_compiler_gnu=no
  3140. fi
  3141. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3142. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3143. fi
  3144. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3145. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3146. if test $ac_compiler_gnu = yes; then
  3147. GCC=yes
  3148. else
  3149. GCC=
  3150. fi
  3151. ac_test_CFLAGS=${CFLAGS+set}
  3152. ac_save_CFLAGS=$CFLAGS
  3153. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3154. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3155. if ${ac_cv_prog_cc_g+:} false; then :
  3156. $as_echo_n "(cached) " >&6
  3157. else
  3158. ac_save_c_werror_flag=$ac_c_werror_flag
  3159. ac_c_werror_flag=yes
  3160. ac_cv_prog_cc_g=no
  3161. CFLAGS="-g"
  3162. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3163. /* end confdefs.h. */
  3164. int
  3165. main ()
  3166. {
  3167. ;
  3168. return 0;
  3169. }
  3170. _ACEOF
  3171. if ac_fn_c_try_compile "$LINENO"; then :
  3172. ac_cv_prog_cc_g=yes
  3173. else
  3174. CFLAGS=""
  3175. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3176. /* end confdefs.h. */
  3177. int
  3178. main ()
  3179. {
  3180. ;
  3181. return 0;
  3182. }
  3183. _ACEOF
  3184. if ac_fn_c_try_compile "$LINENO"; then :
  3185. else
  3186. ac_c_werror_flag=$ac_save_c_werror_flag
  3187. CFLAGS="-g"
  3188. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3189. /* end confdefs.h. */
  3190. int
  3191. main ()
  3192. {
  3193. ;
  3194. return 0;
  3195. }
  3196. _ACEOF
  3197. if ac_fn_c_try_compile "$LINENO"; then :
  3198. ac_cv_prog_cc_g=yes
  3199. fi
  3200. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3201. fi
  3202. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3203. fi
  3204. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3205. ac_c_werror_flag=$ac_save_c_werror_flag
  3206. fi
  3207. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3208. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3209. if test "$ac_test_CFLAGS" = set; then
  3210. CFLAGS=$ac_save_CFLAGS
  3211. elif test $ac_cv_prog_cc_g = yes; then
  3212. if test "$GCC" = yes; then
  3213. CFLAGS="-g -O2"
  3214. else
  3215. CFLAGS="-g"
  3216. fi
  3217. else
  3218. if test "$GCC" = yes; then
  3219. CFLAGS="-O2"
  3220. else
  3221. CFLAGS=
  3222. fi
  3223. fi
  3224. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3225. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3226. if ${ac_cv_prog_cc_c89+:} false; then :
  3227. $as_echo_n "(cached) " >&6
  3228. else
  3229. ac_cv_prog_cc_c89=no
  3230. ac_save_CC=$CC
  3231. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3232. /* end confdefs.h. */
  3233. #include <stdarg.h>
  3234. #include <stdio.h>
  3235. struct stat;
  3236. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3237. struct buf { int x; };
  3238. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3239. static char *e (p, i)
  3240. char **p;
  3241. int i;
  3242. {
  3243. return p[i];
  3244. }
  3245. static char *f (char * (*g) (char **, int), char **p, ...)
  3246. {
  3247. char *s;
  3248. va_list v;
  3249. va_start (v,p);
  3250. s = g (p, va_arg (v,int));
  3251. va_end (v);
  3252. return s;
  3253. }
  3254. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3255. function prototypes and stuff, but not '\xHH' hex character constants.
  3256. These don't provoke an error unfortunately, instead are silently treated
  3257. as 'x'. The following induces an error, until -std is added to get
  3258. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3259. array size at least. It's necessary to write '\x00'==0 to get something
  3260. that's true only with -std. */
  3261. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3262. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3263. inside strings and character constants. */
  3264. #define FOO(x) 'x'
  3265. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3266. int test (int i, double x);
  3267. struct s1 {int (*f) (int a);};
  3268. struct s2 {int (*f) (double a);};
  3269. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3270. int argc;
  3271. char **argv;
  3272. int
  3273. main ()
  3274. {
  3275. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3276. ;
  3277. return 0;
  3278. }
  3279. _ACEOF
  3280. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3281. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3282. do
  3283. CC="$ac_save_CC $ac_arg"
  3284. if ac_fn_c_try_compile "$LINENO"; then :
  3285. ac_cv_prog_cc_c89=$ac_arg
  3286. fi
  3287. rm -f core conftest.err conftest.$ac_objext
  3288. test "x$ac_cv_prog_cc_c89" != "xno" && break
  3289. done
  3290. rm -f conftest.$ac_ext
  3291. CC=$ac_save_CC
  3292. fi
  3293. # AC_CACHE_VAL
  3294. case "x$ac_cv_prog_cc_c89" in
  3295. x)
  3296. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3297. $as_echo "none needed" >&6; } ;;
  3298. xno)
  3299. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3300. $as_echo "unsupported" >&6; } ;;
  3301. *)
  3302. CC="$CC $ac_cv_prog_cc_c89"
  3303. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3304. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3305. esac
  3306. if test "x$ac_cv_prog_cc_c89" != xno; then :
  3307. fi
  3308. ac_ext=c
  3309. ac_cpp='$CPP $CPPFLAGS'
  3310. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3311. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3312. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3313. depcc="$CC" am_compiler_list=
  3314. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3315. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3316. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  3317. $as_echo_n "(cached) " >&6
  3318. else
  3319. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3320. # We make a subdir and do the tests there. Otherwise we can end up
  3321. # making bogus files that we don't know about and never remove. For
  3322. # instance it was reported that on HP-UX the gcc test will end up
  3323. # making a dummy file named 'D' -- because '-MD' means "put the output
  3324. # in D".
  3325. rm -rf conftest.dir
  3326. mkdir conftest.dir
  3327. # Copy depcomp to subdir because otherwise we won't find it if we're
  3328. # using a relative directory.
  3329. cp "$am_depcomp" conftest.dir
  3330. cd conftest.dir
  3331. # We will build objects and dependencies in a subdirectory because
  3332. # it helps to detect inapplicable dependency modes. For instance
  3333. # both Tru64's cc and ICC support -MD to output dependencies as a
  3334. # side effect of compilation, but ICC will put the dependencies in
  3335. # the current directory while Tru64 will put them in the object
  3336. # directory.
  3337. mkdir sub
  3338. am_cv_CC_dependencies_compiler_type=none
  3339. if test "$am_compiler_list" = ""; then
  3340. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3341. fi
  3342. am__universal=false
  3343. case " $depcc " in #(
  3344. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3345. esac
  3346. for depmode in $am_compiler_list; do
  3347. # Setup a source with many dependencies, because some compilers
  3348. # like to wrap large dependency lists on column 80 (with \), and
  3349. # we should not choose a depcomp mode which is confused by this.
  3350. #
  3351. # We need to recreate these files for each test, as the compiler may
  3352. # overwrite some of them when testing with obscure command lines.
  3353. # This happens at least with the AIX C compiler.
  3354. : > sub/conftest.c
  3355. for i in 1 2 3 4 5 6; do
  3356. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3357. # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  3358. # Solaris 10 /bin/sh.
  3359. echo '/* dummy */' > sub/conftst$i.h
  3360. done
  3361. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3362. # We check with '-c' and '-o' for the sake of the "dashmstdout"
  3363. # mode. It turns out that the SunPro C++ compiler does not properly
  3364. # handle '-M -o', and we need to detect this. Also, some Intel
  3365. # versions had trouble with output in subdirs.
  3366. am__obj=sub/conftest.${OBJEXT-o}
  3367. am__minus_obj="-o $am__obj"
  3368. case $depmode in
  3369. gcc)
  3370. # This depmode causes a compiler race in universal mode.
  3371. test "$am__universal" = false || continue
  3372. ;;
  3373. nosideeffect)
  3374. # After this tag, mechanisms are not by side-effect, so they'll
  3375. # only be used when explicitly requested.
  3376. if test "x$enable_dependency_tracking" = xyes; then
  3377. continue
  3378. else
  3379. break
  3380. fi
  3381. ;;
  3382. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  3383. # This compiler won't grok '-c -o', but also, the minuso test has
  3384. # not run yet. These depmodes are late enough in the game, and
  3385. # so weak that their functioning should not be impacted.
  3386. am__obj=conftest.${OBJEXT-o}
  3387. am__minus_obj=
  3388. ;;
  3389. none) break ;;
  3390. esac
  3391. if depmode=$depmode \
  3392. source=sub/conftest.c object=$am__obj \
  3393. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3394. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3395. >/dev/null 2>conftest.err &&
  3396. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3397. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3398. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3399. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3400. # icc doesn't choke on unknown options, it will just issue warnings
  3401. # or remarks (even with -Werror). So we grep stderr for any message
  3402. # that says an option was ignored or not supported.
  3403. # When given -MP, icc 7.0 and 7.1 complain thusly:
  3404. # icc: Command line warning: ignoring option '-M'; no argument required
  3405. # The diagnosis changed in icc 8.0:
  3406. # icc: Command line remark: option '-MP' not supported
  3407. if (grep 'ignoring option' conftest.err ||
  3408. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3409. am_cv_CC_dependencies_compiler_type=$depmode
  3410. break
  3411. fi
  3412. fi
  3413. done
  3414. cd ..
  3415. rm -rf conftest.dir
  3416. else
  3417. am_cv_CC_dependencies_compiler_type=none
  3418. fi
  3419. fi
  3420. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3421. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3422. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3423. if
  3424. test "x$enable_dependency_tracking" != xno \
  3425. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3426. am__fastdepCC_TRUE=
  3427. am__fastdepCC_FALSE='#'
  3428. else
  3429. am__fastdepCC_TRUE='#'
  3430. am__fastdepCC_FALSE=
  3431. fi
  3432. ac_ext=c
  3433. ac_cpp='$CPP $CPPFLAGS'
  3434. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3435. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3436. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3437. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  3438. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  3439. # On Suns, sometimes $CPP names a directory.
  3440. if test -n "$CPP" && test -d "$CPP"; then
  3441. CPP=
  3442. fi
  3443. if test -z "$CPP"; then
  3444. if ${ac_cv_prog_CPP+:} false; then :
  3445. $as_echo_n "(cached) " >&6
  3446. else
  3447. # Double quotes because CPP needs to be expanded
  3448. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3449. do
  3450. ac_preproc_ok=false
  3451. for ac_c_preproc_warn_flag in '' yes
  3452. do
  3453. # Use a header file that comes with gcc, so configuring glibc
  3454. # with a fresh cross-compiler works.
  3455. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3456. # <limits.h> exists even on freestanding compilers.
  3457. # On the NeXT, cc -E runs the code through the compiler's parser,
  3458. # not just through cpp. "Syntax error" is here to catch this case.
  3459. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3460. /* end confdefs.h. */
  3461. #ifdef __STDC__
  3462. # include <limits.h>
  3463. #else
  3464. # include <assert.h>
  3465. #endif
  3466. Syntax error
  3467. _ACEOF
  3468. if ac_fn_c_try_cpp "$LINENO"; then :
  3469. else
  3470. # Broken: fails on valid input.
  3471. continue
  3472. fi
  3473. rm -f conftest.err conftest.i conftest.$ac_ext
  3474. # OK, works on sane cases. Now check whether nonexistent headers
  3475. # can be detected and how.
  3476. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3477. /* end confdefs.h. */
  3478. #include <ac_nonexistent.h>
  3479. _ACEOF
  3480. if ac_fn_c_try_cpp "$LINENO"; then :
  3481. # Broken: success on invalid input.
  3482. continue
  3483. else
  3484. # Passes both tests.
  3485. ac_preproc_ok=:
  3486. break
  3487. fi
  3488. rm -f conftest.err conftest.i conftest.$ac_ext
  3489. done
  3490. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3491. rm -f conftest.i conftest.err conftest.$ac_ext
  3492. if $ac_preproc_ok; then :
  3493. break
  3494. fi
  3495. done
  3496. ac_cv_prog_CPP=$CPP
  3497. fi
  3498. CPP=$ac_cv_prog_CPP
  3499. else
  3500. ac_cv_prog_CPP=$CPP
  3501. fi
  3502. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  3503. $as_echo "$CPP" >&6; }
  3504. ac_preproc_ok=false
  3505. for ac_c_preproc_warn_flag in '' yes
  3506. do
  3507. # Use a header file that comes with gcc, so configuring glibc
  3508. # with a fresh cross-compiler works.
  3509. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3510. # <limits.h> exists even on freestanding compilers.
  3511. # On the NeXT, cc -E runs the code through the compiler's parser,
  3512. # not just through cpp. "Syntax error" is here to catch this case.
  3513. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3514. /* end confdefs.h. */
  3515. #ifdef __STDC__
  3516. # include <limits.h>
  3517. #else
  3518. # include <assert.h>
  3519. #endif
  3520. Syntax error
  3521. _ACEOF
  3522. if ac_fn_c_try_cpp "$LINENO"; then :
  3523. else
  3524. # Broken: fails on valid input.
  3525. continue
  3526. fi
  3527. rm -f conftest.err conftest.i conftest.$ac_ext
  3528. # OK, works on sane cases. Now check whether nonexistent headers
  3529. # can be detected and how.
  3530. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3531. /* end confdefs.h. */
  3532. #include <ac_nonexistent.h>
  3533. _ACEOF
  3534. if ac_fn_c_try_cpp "$LINENO"; then :
  3535. # Broken: success on invalid input.
  3536. continue
  3537. else
  3538. # Passes both tests.
  3539. ac_preproc_ok=:
  3540. break
  3541. fi
  3542. rm -f conftest.err conftest.i conftest.$ac_ext
  3543. done
  3544. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3545. rm -f conftest.i conftest.err conftest.$ac_ext
  3546. if $ac_preproc_ok; then :
  3547. else
  3548. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3549. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3550. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  3551. See \`config.log' for more details" "$LINENO" 5; }
  3552. fi
  3553. ac_ext=c
  3554. ac_cpp='$CPP $CPPFLAGS'
  3555. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3556. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3557. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3558. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  3559. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  3560. if ${ac_cv_path_GREP+:} false; then :
  3561. $as_echo_n "(cached) " >&6
  3562. else
  3563. if test -z "$GREP"; then
  3564. ac_path_GREP_found=false
  3565. # Loop through the user's path and test for each of PROGNAME-LIST
  3566. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3567. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3568. do
  3569. IFS=$as_save_IFS
  3570. test -z "$as_dir" && as_dir=.
  3571. for ac_prog in grep ggrep; do
  3572. for ac_exec_ext in '' $ac_executable_extensions; do
  3573. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3574. as_fn_executable_p "$ac_path_GREP" || continue
  3575. # Check for GNU ac_path_GREP and select it if it is found.
  3576. # Check for GNU $ac_path_GREP
  3577. case `"$ac_path_GREP" --version 2>&1` in
  3578. *GNU*)
  3579. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3580. *)
  3581. ac_count=0
  3582. $as_echo_n 0123456789 >"conftest.in"
  3583. while :
  3584. do
  3585. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3586. mv "conftest.tmp" "conftest.in"
  3587. cp "conftest.in" "conftest.nl"
  3588. $as_echo 'GREP' >> "conftest.nl"
  3589. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3590. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3591. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3592. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3593. # Best one so far, save it but keep looking for a better one
  3594. ac_cv_path_GREP="$ac_path_GREP"
  3595. ac_path_GREP_max=$ac_count
  3596. fi
  3597. # 10*(2^10) chars as input seems more than enough
  3598. test $ac_count -gt 10 && break
  3599. done
  3600. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3601. esac
  3602. $ac_path_GREP_found && break 3
  3603. done
  3604. done
  3605. done
  3606. IFS=$as_save_IFS
  3607. if test -z "$ac_cv_path_GREP"; then
  3608. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3609. fi
  3610. else
  3611. ac_cv_path_GREP=$GREP
  3612. fi
  3613. fi
  3614. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  3615. $as_echo "$ac_cv_path_GREP" >&6; }
  3616. GREP="$ac_cv_path_GREP"
  3617. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  3618. $as_echo_n "checking for egrep... " >&6; }
  3619. if ${ac_cv_path_EGREP+:} false; then :
  3620. $as_echo_n "(cached) " >&6
  3621. else
  3622. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3623. then ac_cv_path_EGREP="$GREP -E"
  3624. else
  3625. if test -z "$EGREP"; then
  3626. ac_path_EGREP_found=false
  3627. # Loop through the user's path and test for each of PROGNAME-LIST
  3628. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3629. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3630. do
  3631. IFS=$as_save_IFS
  3632. test -z "$as_dir" && as_dir=.
  3633. for ac_prog in egrep; do
  3634. for ac_exec_ext in '' $ac_executable_extensions; do
  3635. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3636. as_fn_executable_p "$ac_path_EGREP" || continue
  3637. # Check for GNU ac_path_EGREP and select it if it is found.
  3638. # Check for GNU $ac_path_EGREP
  3639. case `"$ac_path_EGREP" --version 2>&1` in
  3640. *GNU*)
  3641. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3642. *)
  3643. ac_count=0
  3644. $as_echo_n 0123456789 >"conftest.in"
  3645. while :
  3646. do
  3647. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3648. mv "conftest.tmp" "conftest.in"
  3649. cp "conftest.in" "conftest.nl"
  3650. $as_echo 'EGREP' >> "conftest.nl"
  3651. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3652. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3653. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3654. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3655. # Best one so far, save it but keep looking for a better one
  3656. ac_cv_path_EGREP="$ac_path_EGREP"
  3657. ac_path_EGREP_max=$ac_count
  3658. fi
  3659. # 10*(2^10) chars as input seems more than enough
  3660. test $ac_count -gt 10 && break
  3661. done
  3662. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3663. esac
  3664. $ac_path_EGREP_found && break 3
  3665. done
  3666. done
  3667. done
  3668. IFS=$as_save_IFS
  3669. if test -z "$ac_cv_path_EGREP"; then
  3670. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3671. fi
  3672. else
  3673. ac_cv_path_EGREP=$EGREP
  3674. fi
  3675. fi
  3676. fi
  3677. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  3678. $as_echo "$ac_cv_path_EGREP" >&6; }
  3679. EGREP="$ac_cv_path_EGREP"
  3680. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  3681. $as_echo_n "checking for ANSI C header files... " >&6; }
  3682. if ${ac_cv_header_stdc+:} false; then :
  3683. $as_echo_n "(cached) " >&6
  3684. else
  3685. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3686. /* end confdefs.h. */
  3687. #include <stdlib.h>
  3688. #include <stdarg.h>
  3689. #include <string.h>
  3690. #include <float.h>
  3691. int
  3692. main ()
  3693. {
  3694. ;
  3695. return 0;
  3696. }
  3697. _ACEOF
  3698. if ac_fn_c_try_compile "$LINENO"; then :
  3699. ac_cv_header_stdc=yes
  3700. else
  3701. ac_cv_header_stdc=no
  3702. fi
  3703. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3704. if test $ac_cv_header_stdc = yes; then
  3705. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  3706. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3707. /* end confdefs.h. */
  3708. #include <string.h>
  3709. _ACEOF
  3710. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3711. $EGREP "memchr" >/dev/null 2>&1; then :
  3712. else
  3713. ac_cv_header_stdc=no
  3714. fi
  3715. rm -f conftest*
  3716. fi
  3717. if test $ac_cv_header_stdc = yes; then
  3718. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  3719. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3720. /* end confdefs.h. */
  3721. #include <stdlib.h>
  3722. _ACEOF
  3723. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3724. $EGREP "free" >/dev/null 2>&1; then :
  3725. else
  3726. ac_cv_header_stdc=no
  3727. fi
  3728. rm -f conftest*
  3729. fi
  3730. if test $ac_cv_header_stdc = yes; then
  3731. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  3732. if test "$cross_compiling" = yes; then :
  3733. :
  3734. else
  3735. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3736. /* end confdefs.h. */
  3737. #include <ctype.h>
  3738. #include <stdlib.h>
  3739. #if ((' ' & 0x0FF) == 0x020)
  3740. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  3741. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  3742. #else
  3743. # define ISLOWER(c) \
  3744. (('a' <= (c) && (c) <= 'i') \
  3745. || ('j' <= (c) && (c) <= 'r') \
  3746. || ('s' <= (c) && (c) <= 'z'))
  3747. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  3748. #endif
  3749. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  3750. int
  3751. main ()
  3752. {
  3753. int i;
  3754. for (i = 0; i < 256; i++)
  3755. if (XOR (islower (i), ISLOWER (i))
  3756. || toupper (i) != TOUPPER (i))
  3757. return 2;
  3758. return 0;
  3759. }
  3760. _ACEOF
  3761. if ac_fn_c_try_run "$LINENO"; then :
  3762. else
  3763. ac_cv_header_stdc=no
  3764. fi
  3765. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  3766. conftest.$ac_objext conftest.beam conftest.$ac_ext
  3767. fi
  3768. fi
  3769. fi
  3770. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  3771. $as_echo "$ac_cv_header_stdc" >&6; }
  3772. if test $ac_cv_header_stdc = yes; then
  3773. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  3774. fi
  3775. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  3776. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  3777. inttypes.h stdint.h unistd.h
  3778. do :
  3779. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3780. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  3781. "
  3782. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  3783. cat >>confdefs.h <<_ACEOF
  3784. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3785. _ACEOF
  3786. fi
  3787. done
  3788. for ac_header in locale.h
  3789. do :
  3790. ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
  3791. if test "x$ac_cv_header_locale_h" = xyes; then :
  3792. cat >>confdefs.h <<_ACEOF
  3793. #define HAVE_LOCALE_H 1
  3794. _ACEOF
  3795. fi
  3796. done
  3797. if test $ac_cv_header_locale_h = yes; then
  3798. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
  3799. $as_echo_n "checking for LC_MESSAGES... " >&6; }
  3800. if ${am_cv_val_LC_MESSAGES+:} false; then :
  3801. $as_echo_n "(cached) " >&6
  3802. else
  3803. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3804. /* end confdefs.h. */
  3805. #include <locale.h>
  3806. int
  3807. main ()
  3808. {
  3809. return LC_MESSAGES
  3810. ;
  3811. return 0;
  3812. }
  3813. _ACEOF
  3814. if ac_fn_c_try_link "$LINENO"; then :
  3815. am_cv_val_LC_MESSAGES=yes
  3816. else
  3817. am_cv_val_LC_MESSAGES=no
  3818. fi
  3819. rm -f core conftest.err conftest.$ac_objext \
  3820. conftest$ac_exeext conftest.$ac_ext
  3821. fi
  3822. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
  3823. $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
  3824. if test $am_cv_val_LC_MESSAGES = yes; then
  3825. $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
  3826. fi
  3827. fi
  3828. USE_NLS=yes
  3829. gt_cv_have_gettext=no
  3830. CATOBJEXT=NONE
  3831. XGETTEXT=:
  3832. INTLLIBS=
  3833. ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
  3834. if test "x$ac_cv_header_libintl_h" = xyes; then :
  3835. gt_cv_func_dgettext_libintl="no"
  3836. libintl_extra_libs=""
  3837. #
  3838. # First check in libc
  3839. #
  3840. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
  3841. $as_echo_n "checking for ngettext in libc... " >&6; }
  3842. if ${gt_cv_func_ngettext_libc+:} false; then :
  3843. $as_echo_n "(cached) " >&6
  3844. else
  3845. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3846. /* end confdefs.h. */
  3847. #include <libintl.h>
  3848. int
  3849. main ()
  3850. {
  3851. return !ngettext ("","", 1)
  3852. ;
  3853. return 0;
  3854. }
  3855. _ACEOF
  3856. if ac_fn_c_try_link "$LINENO"; then :
  3857. gt_cv_func_ngettext_libc=yes
  3858. else
  3859. gt_cv_func_ngettext_libc=no
  3860. fi
  3861. rm -f core conftest.err conftest.$ac_objext \
  3862. conftest$ac_exeext conftest.$ac_ext
  3863. fi
  3864. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
  3865. $as_echo "$gt_cv_func_ngettext_libc" >&6; }
  3866. if test "$gt_cv_func_ngettext_libc" = "yes" ; then
  3867. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
  3868. $as_echo_n "checking for dgettext in libc... " >&6; }
  3869. if ${gt_cv_func_dgettext_libc+:} false; then :
  3870. $as_echo_n "(cached) " >&6
  3871. else
  3872. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3873. /* end confdefs.h. */
  3874. #include <libintl.h>
  3875. int
  3876. main ()
  3877. {
  3878. return !dgettext ("","")
  3879. ;
  3880. return 0;
  3881. }
  3882. _ACEOF
  3883. if ac_fn_c_try_link "$LINENO"; then :
  3884. gt_cv_func_dgettext_libc=yes
  3885. else
  3886. gt_cv_func_dgettext_libc=no
  3887. fi
  3888. rm -f core conftest.err conftest.$ac_objext \
  3889. conftest$ac_exeext conftest.$ac_ext
  3890. fi
  3891. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
  3892. $as_echo "$gt_cv_func_dgettext_libc" >&6; }
  3893. fi
  3894. if test "$gt_cv_func_ngettext_libc" = "yes" ; then
  3895. for ac_func in bind_textdomain_codeset
  3896. do :
  3897. ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
  3898. if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
  3899. cat >>confdefs.h <<_ACEOF
  3900. #define HAVE_BIND_TEXTDOMAIN_CODESET 1
  3901. _ACEOF
  3902. fi
  3903. done
  3904. fi
  3905. #
  3906. # If we don't have everything we want, check in libintl
  3907. #
  3908. if test "$gt_cv_func_dgettext_libc" != "yes" \
  3909. || test "$gt_cv_func_ngettext_libc" != "yes" \
  3910. || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
  3911. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
  3912. $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
  3913. if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
  3914. $as_echo_n "(cached) " >&6
  3915. else
  3916. ac_check_lib_save_LIBS=$LIBS
  3917. LIBS="-lintl $LIBS"
  3918. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3919. /* end confdefs.h. */
  3920. /* Override any GCC internal prototype to avoid an error.
  3921. Use char because int might match the return type of a GCC
  3922. builtin and then its argument prototype would still apply. */
  3923. #ifdef __cplusplus
  3924. extern "C"
  3925. #endif
  3926. char bindtextdomain ();
  3927. int
  3928. main ()
  3929. {
  3930. return bindtextdomain ();
  3931. ;
  3932. return 0;
  3933. }
  3934. _ACEOF
  3935. if ac_fn_c_try_link "$LINENO"; then :
  3936. ac_cv_lib_intl_bindtextdomain=yes
  3937. else
  3938. ac_cv_lib_intl_bindtextdomain=no
  3939. fi
  3940. rm -f core conftest.err conftest.$ac_objext \
  3941. conftest$ac_exeext conftest.$ac_ext
  3942. LIBS=$ac_check_lib_save_LIBS
  3943. fi
  3944. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
  3945. $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
  3946. if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
  3947. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
  3948. $as_echo_n "checking for ngettext in -lintl... " >&6; }
  3949. if ${ac_cv_lib_intl_ngettext+:} false; then :
  3950. $as_echo_n "(cached) " >&6
  3951. else
  3952. ac_check_lib_save_LIBS=$LIBS
  3953. LIBS="-lintl $LIBS"
  3954. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3955. /* end confdefs.h. */
  3956. /* Override any GCC internal prototype to avoid an error.
  3957. Use char because int might match the return type of a GCC
  3958. builtin and then its argument prototype would still apply. */
  3959. #ifdef __cplusplus
  3960. extern "C"
  3961. #endif
  3962. char ngettext ();
  3963. int
  3964. main ()
  3965. {
  3966. return ngettext ();
  3967. ;
  3968. return 0;
  3969. }
  3970. _ACEOF
  3971. if ac_fn_c_try_link "$LINENO"; then :
  3972. ac_cv_lib_intl_ngettext=yes
  3973. else
  3974. ac_cv_lib_intl_ngettext=no
  3975. fi
  3976. rm -f core conftest.err conftest.$ac_objext \
  3977. conftest$ac_exeext conftest.$ac_ext
  3978. LIBS=$ac_check_lib_save_LIBS
  3979. fi
  3980. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
  3981. $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
  3982. if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
  3983. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
  3984. $as_echo_n "checking for dgettext in -lintl... " >&6; }
  3985. if ${ac_cv_lib_intl_dgettext+:} false; then :
  3986. $as_echo_n "(cached) " >&6
  3987. else
  3988. ac_check_lib_save_LIBS=$LIBS
  3989. LIBS="-lintl $LIBS"
  3990. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3991. /* end confdefs.h. */
  3992. /* Override any GCC internal prototype to avoid an error.
  3993. Use char because int might match the return type of a GCC
  3994. builtin and then its argument prototype would still apply. */
  3995. #ifdef __cplusplus
  3996. extern "C"
  3997. #endif
  3998. char dgettext ();
  3999. int
  4000. main ()
  4001. {
  4002. return dgettext ();
  4003. ;
  4004. return 0;
  4005. }
  4006. _ACEOF
  4007. if ac_fn_c_try_link "$LINENO"; then :
  4008. ac_cv_lib_intl_dgettext=yes
  4009. else
  4010. ac_cv_lib_intl_dgettext=no
  4011. fi
  4012. rm -f core conftest.err conftest.$ac_objext \
  4013. conftest$ac_exeext conftest.$ac_ext
  4014. LIBS=$ac_check_lib_save_LIBS
  4015. fi
  4016. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
  4017. $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
  4018. if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
  4019. gt_cv_func_dgettext_libintl=yes
  4020. fi
  4021. fi
  4022. fi
  4023. if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
  4024. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
  4025. $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
  4026. { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
  4027. $as_echo "" >&6; }
  4028. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
  4029. $as_echo_n "checking for ngettext in -lintl... " >&6; }
  4030. if ${ac_cv_lib_intl_ngettext+:} false; then :
  4031. $as_echo_n "(cached) " >&6
  4032. else
  4033. ac_check_lib_save_LIBS=$LIBS
  4034. LIBS="-lintl -liconv $LIBS"
  4035. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4036. /* end confdefs.h. */
  4037. /* Override any GCC internal prototype to avoid an error.
  4038. Use char because int might match the return type of a GCC
  4039. builtin and then its argument prototype would still apply. */
  4040. #ifdef __cplusplus
  4041. extern "C"
  4042. #endif
  4043. char ngettext ();
  4044. int
  4045. main ()
  4046. {
  4047. return ngettext ();
  4048. ;
  4049. return 0;
  4050. }
  4051. _ACEOF
  4052. if ac_fn_c_try_link "$LINENO"; then :
  4053. ac_cv_lib_intl_ngettext=yes
  4054. else
  4055. ac_cv_lib_intl_ngettext=no
  4056. fi
  4057. rm -f core conftest.err conftest.$ac_objext \
  4058. conftest$ac_exeext conftest.$ac_ext
  4059. LIBS=$ac_check_lib_save_LIBS
  4060. fi
  4061. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
  4062. $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
  4063. if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
  4064. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
  4065. $as_echo_n "checking for dcgettext in -lintl... " >&6; }
  4066. if ${ac_cv_lib_intl_dcgettext+:} false; then :
  4067. $as_echo_n "(cached) " >&6
  4068. else
  4069. ac_check_lib_save_LIBS=$LIBS
  4070. LIBS="-lintl -liconv $LIBS"
  4071. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4072. /* end confdefs.h. */
  4073. /* Override any GCC internal prototype to avoid an error.
  4074. Use char because int might match the return type of a GCC
  4075. builtin and then its argument prototype would still apply. */
  4076. #ifdef __cplusplus
  4077. extern "C"
  4078. #endif
  4079. char dcgettext ();
  4080. int
  4081. main ()
  4082. {
  4083. return dcgettext ();
  4084. ;
  4085. return 0;
  4086. }
  4087. _ACEOF
  4088. if ac_fn_c_try_link "$LINENO"; then :
  4089. ac_cv_lib_intl_dcgettext=yes
  4090. else
  4091. ac_cv_lib_intl_dcgettext=no
  4092. fi
  4093. rm -f core conftest.err conftest.$ac_objext \
  4094. conftest$ac_exeext conftest.$ac_ext
  4095. LIBS=$ac_check_lib_save_LIBS
  4096. fi
  4097. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
  4098. $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
  4099. if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
  4100. gt_cv_func_dgettext_libintl=yes
  4101. libintl_extra_libs=-liconv
  4102. else
  4103. :
  4104. fi
  4105. else
  4106. :
  4107. fi
  4108. fi
  4109. #
  4110. # If we found libintl, then check in it for bind_textdomain_codeset();
  4111. # we'll prefer libc if neither have bind_textdomain_codeset(),
  4112. # and both have dgettext and ngettext
  4113. #
  4114. if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
  4115. glib_save_LIBS="$LIBS"
  4116. LIBS="$LIBS -lintl $libintl_extra_libs"
  4117. unset ac_cv_func_bind_textdomain_codeset
  4118. for ac_func in bind_textdomain_codeset
  4119. do :
  4120. ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
  4121. if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
  4122. cat >>confdefs.h <<_ACEOF
  4123. #define HAVE_BIND_TEXTDOMAIN_CODESET 1
  4124. _ACEOF
  4125. fi
  4126. done
  4127. LIBS="$glib_save_LIBS"
  4128. if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
  4129. gt_cv_func_dgettext_libc=no
  4130. else
  4131. if test "$gt_cv_func_dgettext_libc" = "yes" \
  4132. && test "$gt_cv_func_ngettext_libc" = "yes"; then
  4133. gt_cv_func_dgettext_libintl=no
  4134. fi
  4135. fi
  4136. fi
  4137. fi
  4138. if test "$gt_cv_func_dgettext_libc" = "yes" \
  4139. || test "$gt_cv_func_dgettext_libintl" = "yes"; then
  4140. gt_cv_have_gettext=yes
  4141. fi
  4142. if test "$gt_cv_func_dgettext_libintl" = "yes"; then
  4143. INTLLIBS="-lintl $libintl_extra_libs"
  4144. fi
  4145. if test "$gt_cv_have_gettext" = "yes"; then
  4146. $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
  4147. # Extract the first word of "msgfmt", so it can be a program name with args.
  4148. set dummy msgfmt; ac_word=$2
  4149. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4150. $as_echo_n "checking for $ac_word... " >&6; }
  4151. if ${ac_cv_path_MSGFMT+:} false; then :
  4152. $as_echo_n "(cached) " >&6
  4153. else
  4154. case "$MSGFMT" in
  4155. /*)
  4156. ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
  4157. ;;
  4158. *)
  4159. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  4160. for ac_dir in $PATH; do
  4161. test -z "$ac_dir" && ac_dir=.
  4162. if test -f $ac_dir/$ac_word; then
  4163. if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
  4164. ac_cv_path_MSGFMT="$ac_dir/$ac_word"
  4165. break
  4166. fi
  4167. fi
  4168. done
  4169. IFS="$ac_save_ifs"
  4170. test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
  4171. ;;
  4172. esac
  4173. fi
  4174. MSGFMT="$ac_cv_path_MSGFMT"
  4175. if test "$MSGFMT" != "no"; then
  4176. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
  4177. $as_echo "$MSGFMT" >&6; }
  4178. else
  4179. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4180. $as_echo "no" >&6; }
  4181. fi
  4182. if test "$MSGFMT" != "no"; then
  4183. glib_save_LIBS="$LIBS"
  4184. LIBS="$LIBS $INTLLIBS"
  4185. for ac_func in dcgettext
  4186. do :
  4187. ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
  4188. if test "x$ac_cv_func_dcgettext" = xyes; then :
  4189. cat >>confdefs.h <<_ACEOF
  4190. #define HAVE_DCGETTEXT 1
  4191. _ACEOF
  4192. fi
  4193. done
  4194. MSGFMT_OPTS=
  4195. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
  4196. $as_echo_n "checking if msgfmt accepts -c... " >&6; }
  4197. cat >conftest.foo <<_ACEOF
  4198. msgid ""
  4199. msgstr ""
  4200. "Content-Type: text/plain; charset=UTF-8\n"
  4201. "Project-Id-Version: test 1.0\n"
  4202. "PO-Revision-Date: 2007-02-15 12:01+0100\n"
  4203. "Last-Translator: test <foo@bar.xx>\n"
  4204. "Language-Team: C <LL@li.org>\n"
  4205. "MIME-Version: 1.0\n"
  4206. "Content-Transfer-Encoding: 8bit\n"
  4207. _ACEOF
  4208. if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
  4209. ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
  4210. ac_status=$?
  4211. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4212. test $ac_status = 0; }; then
  4213. MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4214. $as_echo "yes" >&6; }
  4215. else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4216. $as_echo "no" >&6; }
  4217. echo "$as_me: failed input was:" >&5
  4218. sed 's/^/| /' conftest.foo >&5
  4219. fi
  4220. # Extract the first word of "gmsgfmt", so it can be a program name with args.
  4221. set dummy gmsgfmt; ac_word=$2
  4222. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4223. $as_echo_n "checking for $ac_word... " >&6; }
  4224. if ${ac_cv_path_GMSGFMT+:} false; then :
  4225. $as_echo_n "(cached) " >&6
  4226. else
  4227. case $GMSGFMT in
  4228. [\\/]* | ?:[\\/]*)
  4229. ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
  4230. ;;
  4231. *)
  4232. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4233. for as_dir in $PATH
  4234. do
  4235. IFS=$as_save_IFS
  4236. test -z "$as_dir" && as_dir=.
  4237. for ac_exec_ext in '' $ac_executable_extensions; do
  4238. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4239. ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
  4240. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4241. break 2
  4242. fi
  4243. done
  4244. done
  4245. IFS=$as_save_IFS
  4246. test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
  4247. ;;
  4248. esac
  4249. fi
  4250. GMSGFMT=$ac_cv_path_GMSGFMT
  4251. if test -n "$GMSGFMT"; then
  4252. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
  4253. $as_echo "$GMSGFMT" >&6; }
  4254. else
  4255. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4256. $as_echo "no" >&6; }
  4257. fi
  4258. # Extract the first word of "xgettext", so it can be a program name with args.
  4259. set dummy xgettext; ac_word=$2
  4260. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4261. $as_echo_n "checking for $ac_word... " >&6; }
  4262. if ${ac_cv_path_XGETTEXT+:} false; then :
  4263. $as_echo_n "(cached) " >&6
  4264. else
  4265. case "$XGETTEXT" in
  4266. /*)
  4267. ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
  4268. ;;
  4269. *)
  4270. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  4271. for ac_dir in $PATH; do
  4272. test -z "$ac_dir" && ac_dir=.
  4273. if test -f $ac_dir/$ac_word; then
  4274. if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
  4275. ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
  4276. break
  4277. fi
  4278. fi
  4279. done
  4280. IFS="$ac_save_ifs"
  4281. test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
  4282. ;;
  4283. esac
  4284. fi
  4285. XGETTEXT="$ac_cv_path_XGETTEXT"
  4286. if test "$XGETTEXT" != ":"; then
  4287. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
  4288. $as_echo "$XGETTEXT" >&6; }
  4289. else
  4290. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4291. $as_echo "no" >&6; }
  4292. fi
  4293. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4294. /* end confdefs.h. */
  4295. int
  4296. main ()
  4297. {
  4298. extern int _nl_msg_cat_cntr;
  4299. return _nl_msg_cat_cntr
  4300. ;
  4301. return 0;
  4302. }
  4303. _ACEOF
  4304. if ac_fn_c_try_link "$LINENO"; then :
  4305. CATOBJEXT=.gmo
  4306. DATADIRNAME=share
  4307. else
  4308. case $host in
  4309. *-*-solaris*)
  4310. ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
  4311. if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
  4312. CATOBJEXT=.gmo
  4313. DATADIRNAME=share
  4314. else
  4315. CATOBJEXT=.mo
  4316. DATADIRNAME=lib
  4317. fi
  4318. ;;
  4319. *-*-openbsd*)
  4320. CATOBJEXT=.mo
  4321. DATADIRNAME=share
  4322. ;;
  4323. *)
  4324. CATOBJEXT=.mo
  4325. DATADIRNAME=lib
  4326. ;;
  4327. esac
  4328. fi
  4329. rm -f core conftest.err conftest.$ac_objext \
  4330. conftest$ac_exeext conftest.$ac_ext
  4331. LIBS="$glib_save_LIBS"
  4332. INSTOBJEXT=.mo
  4333. else
  4334. gt_cv_have_gettext=no
  4335. fi
  4336. fi
  4337. fi
  4338. if test "$gt_cv_have_gettext" = "yes" ; then
  4339. $as_echo "#define ENABLE_NLS 1" >>confdefs.h
  4340. fi
  4341. if test "$XGETTEXT" != ":"; then
  4342. if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
  4343. : ;
  4344. else
  4345. { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
  4346. $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
  4347. XGETTEXT=":"
  4348. fi
  4349. fi
  4350. # We need to process the po/ directory.
  4351. POSUB=po
  4352. ac_config_commands="$ac_config_commands default-1"
  4353. for lang in $ALL_LINGUAS; do
  4354. GMOFILES="$GMOFILES $lang.gmo"
  4355. POFILES="$POFILES $lang.po"
  4356. done
  4357. if test "$gt_cv_have_gettext" = "yes"; then
  4358. if test "x$ALL_LINGUAS" = "x"; then
  4359. LINGUAS=
  4360. else
  4361. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
  4362. $as_echo_n "checking for catalogs to be installed... " >&6; }
  4363. NEW_LINGUAS=
  4364. for presentlang in $ALL_LINGUAS; do
  4365. useit=no
  4366. if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
  4367. desiredlanguages="$LINGUAS"
  4368. else
  4369. desiredlanguages="$ALL_LINGUAS"
  4370. fi
  4371. for desiredlang in $desiredlanguages; do
  4372. # Use the presentlang catalog if desiredlang is
  4373. # a. equal to presentlang, or
  4374. # b. a variant of presentlang (because in this case,
  4375. # presentlang can be used as a fallback for messages
  4376. # which are not translated in the desiredlang catalog).
  4377. case "$desiredlang" in
  4378. "$presentlang"*) useit=yes;;
  4379. esac
  4380. done
  4381. if test $useit = yes; then
  4382. NEW_LINGUAS="$NEW_LINGUAS $presentlang"
  4383. fi
  4384. done
  4385. LINGUAS=$NEW_LINGUAS
  4386. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
  4387. $as_echo "$LINGUAS" >&6; }
  4388. fi
  4389. if test -n "$LINGUAS"; then
  4390. for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
  4391. fi
  4392. fi
  4393. MKINSTALLDIRS=
  4394. if test -n "$ac_aux_dir"; then
  4395. MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
  4396. fi
  4397. if test -z "$MKINSTALLDIRS"; then
  4398. MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
  4399. fi
  4400. test -d po || mkdir po
  4401. if test "x$srcdir" != "x."; then
  4402. if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
  4403. posrcprefix="$srcdir/"
  4404. else
  4405. posrcprefix="../$srcdir/"
  4406. fi
  4407. else
  4408. posrcprefix="../"
  4409. fi
  4410. rm -f po/POTFILES
  4411. sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
  4412. < $srcdir/po/POTFILES.in > po/POTFILES
  4413. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
  4414. $as_echo_n "checking whether NLS is requested... " >&6; }
  4415. # Check whether --enable-nls was given.
  4416. if test "${enable_nls+set}" = set; then :
  4417. enableval=$enable_nls; USE_NLS=$enableval
  4418. else
  4419. USE_NLS=yes
  4420. fi
  4421. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
  4422. $as_echo "$USE_NLS" >&6; }
  4423. case "$am__api_version" in
  4424. 1.01234)
  4425. as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
  4426. ;;
  4427. *)
  4428. ;;
  4429. esac
  4430. INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
  4431. INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
  4432. INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
  4433. if test -n "0.35.0"; then
  4434. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
  4435. $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
  4436. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
  4437. $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
  4438. test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
  4439. as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
  4440. fi
  4441. # Extract the first word of "intltool-update", so it can be a program name with args.
  4442. set dummy intltool-update; ac_word=$2
  4443. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4444. $as_echo_n "checking for $ac_word... " >&6; }
  4445. if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
  4446. $as_echo_n "(cached) " >&6
  4447. else
  4448. case $INTLTOOL_UPDATE in
  4449. [\\/]* | ?:[\\/]*)
  4450. ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
  4451. ;;
  4452. *)
  4453. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4454. for as_dir in $PATH
  4455. do
  4456. IFS=$as_save_IFS
  4457. test -z "$as_dir" && as_dir=.
  4458. for ac_exec_ext in '' $ac_executable_extensions; do
  4459. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4460. ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
  4461. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4462. break 2
  4463. fi
  4464. done
  4465. done
  4466. IFS=$as_save_IFS
  4467. ;;
  4468. esac
  4469. fi
  4470. INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
  4471. if test -n "$INTLTOOL_UPDATE"; then
  4472. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
  4473. $as_echo "$INTLTOOL_UPDATE" >&6; }
  4474. else
  4475. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4476. $as_echo "no" >&6; }
  4477. fi
  4478. # Extract the first word of "intltool-merge", so it can be a program name with args.
  4479. set dummy intltool-merge; ac_word=$2
  4480. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4481. $as_echo_n "checking for $ac_word... " >&6; }
  4482. if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
  4483. $as_echo_n "(cached) " >&6
  4484. else
  4485. case $INTLTOOL_MERGE in
  4486. [\\/]* | ?:[\\/]*)
  4487. ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
  4488. ;;
  4489. *)
  4490. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4491. for as_dir in $PATH
  4492. do
  4493. IFS=$as_save_IFS
  4494. test -z "$as_dir" && as_dir=.
  4495. for ac_exec_ext in '' $ac_executable_extensions; do
  4496. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4497. ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
  4498. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4499. break 2
  4500. fi
  4501. done
  4502. done
  4503. IFS=$as_save_IFS
  4504. ;;
  4505. esac
  4506. fi
  4507. INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
  4508. if test -n "$INTLTOOL_MERGE"; then
  4509. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
  4510. $as_echo "$INTLTOOL_MERGE" >&6; }
  4511. else
  4512. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4513. $as_echo "no" >&6; }
  4514. fi
  4515. # Extract the first word of "intltool-extract", so it can be a program name with args.
  4516. set dummy intltool-extract; ac_word=$2
  4517. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4518. $as_echo_n "checking for $ac_word... " >&6; }
  4519. if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
  4520. $as_echo_n "(cached) " >&6
  4521. else
  4522. case $INTLTOOL_EXTRACT in
  4523. [\\/]* | ?:[\\/]*)
  4524. ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
  4525. ;;
  4526. *)
  4527. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4528. for as_dir in $PATH
  4529. do
  4530. IFS=$as_save_IFS
  4531. test -z "$as_dir" && as_dir=.
  4532. for ac_exec_ext in '' $ac_executable_extensions; do
  4533. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4534. ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
  4535. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4536. break 2
  4537. fi
  4538. done
  4539. done
  4540. IFS=$as_save_IFS
  4541. ;;
  4542. esac
  4543. fi
  4544. INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
  4545. if test -n "$INTLTOOL_EXTRACT"; then
  4546. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
  4547. $as_echo "$INTLTOOL_EXTRACT" >&6; }
  4548. else
  4549. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4550. $as_echo "no" >&6; }
  4551. fi
  4552. if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
  4553. as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
  4554. fi
  4555. if test -z "$AM_DEFAULT_VERBOSITY"; then
  4556. AM_DEFAULT_VERBOSITY=1
  4557. fi
  4558. INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
  4559. INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
  4560. INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
  4561. INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
  4562. intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
  4563. intltool__v_merge_options_0='-q'
  4564. INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
  4565. INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
  4566. INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
  4567. INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
  4568. INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
  4569. INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
  4570. INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
  4571. INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
  4572. INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
  4573. INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
  4574. INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
  4575. if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
  4576. INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
  4577. else
  4578. INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
  4579. fi
  4580. INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
  4581. INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
  4582. INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
  4583. INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
  4584. INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
  4585. INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
  4586. INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
  4587. # Check the gettext tools to make sure they are GNU
  4588. # Extract the first word of "xgettext", so it can be a program name with args.
  4589. set dummy xgettext; ac_word=$2
  4590. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4591. $as_echo_n "checking for $ac_word... " >&6; }
  4592. if ${ac_cv_path_XGETTEXT+:} false; then :
  4593. $as_echo_n "(cached) " >&6
  4594. else
  4595. case $XGETTEXT in
  4596. [\\/]* | ?:[\\/]*)
  4597. ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
  4598. ;;
  4599. *)
  4600. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4601. for as_dir in $PATH
  4602. do
  4603. IFS=$as_save_IFS
  4604. test -z "$as_dir" && as_dir=.
  4605. for ac_exec_ext in '' $ac_executable_extensions; do
  4606. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4607. ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
  4608. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4609. break 2
  4610. fi
  4611. done
  4612. done
  4613. IFS=$as_save_IFS
  4614. ;;
  4615. esac
  4616. fi
  4617. XGETTEXT=$ac_cv_path_XGETTEXT
  4618. if test -n "$XGETTEXT"; then
  4619. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
  4620. $as_echo "$XGETTEXT" >&6; }
  4621. else
  4622. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4623. $as_echo "no" >&6; }
  4624. fi
  4625. # Extract the first word of "msgmerge", so it can be a program name with args.
  4626. set dummy msgmerge; ac_word=$2
  4627. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4628. $as_echo_n "checking for $ac_word... " >&6; }
  4629. if ${ac_cv_path_MSGMERGE+:} false; then :
  4630. $as_echo_n "(cached) " >&6
  4631. else
  4632. case $MSGMERGE in
  4633. [\\/]* | ?:[\\/]*)
  4634. ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
  4635. ;;
  4636. *)
  4637. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4638. for as_dir in $PATH
  4639. do
  4640. IFS=$as_save_IFS
  4641. test -z "$as_dir" && as_dir=.
  4642. for ac_exec_ext in '' $ac_executable_extensions; do
  4643. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4644. ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
  4645. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4646. break 2
  4647. fi
  4648. done
  4649. done
  4650. IFS=$as_save_IFS
  4651. ;;
  4652. esac
  4653. fi
  4654. MSGMERGE=$ac_cv_path_MSGMERGE
  4655. if test -n "$MSGMERGE"; then
  4656. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
  4657. $as_echo "$MSGMERGE" >&6; }
  4658. else
  4659. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4660. $as_echo "no" >&6; }
  4661. fi
  4662. # Extract the first word of "msgfmt", so it can be a program name with args.
  4663. set dummy msgfmt; ac_word=$2
  4664. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4665. $as_echo_n "checking for $ac_word... " >&6; }
  4666. if ${ac_cv_path_MSGFMT+:} false; then :
  4667. $as_echo_n "(cached) " >&6
  4668. else
  4669. case $MSGFMT in
  4670. [\\/]* | ?:[\\/]*)
  4671. ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
  4672. ;;
  4673. *)
  4674. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4675. for as_dir in $PATH
  4676. do
  4677. IFS=$as_save_IFS
  4678. test -z "$as_dir" && as_dir=.
  4679. for ac_exec_ext in '' $ac_executable_extensions; do
  4680. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4681. ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
  4682. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4683. break 2
  4684. fi
  4685. done
  4686. done
  4687. IFS=$as_save_IFS
  4688. ;;
  4689. esac
  4690. fi
  4691. MSGFMT=$ac_cv_path_MSGFMT
  4692. if test -n "$MSGFMT"; then
  4693. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
  4694. $as_echo "$MSGFMT" >&6; }
  4695. else
  4696. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4697. $as_echo "no" >&6; }
  4698. fi
  4699. # Extract the first word of "gmsgfmt", so it can be a program name with args.
  4700. set dummy gmsgfmt; ac_word=$2
  4701. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4702. $as_echo_n "checking for $ac_word... " >&6; }
  4703. if ${ac_cv_path_GMSGFMT+:} false; then :
  4704. $as_echo_n "(cached) " >&6
  4705. else
  4706. case $GMSGFMT in
  4707. [\\/]* | ?:[\\/]*)
  4708. ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
  4709. ;;
  4710. *)
  4711. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4712. for as_dir in $PATH
  4713. do
  4714. IFS=$as_save_IFS
  4715. test -z "$as_dir" && as_dir=.
  4716. for ac_exec_ext in '' $ac_executable_extensions; do
  4717. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4718. ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
  4719. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4720. break 2
  4721. fi
  4722. done
  4723. done
  4724. IFS=$as_save_IFS
  4725. test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
  4726. ;;
  4727. esac
  4728. fi
  4729. GMSGFMT=$ac_cv_path_GMSGFMT
  4730. if test -n "$GMSGFMT"; then
  4731. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
  4732. $as_echo "$GMSGFMT" >&6; }
  4733. else
  4734. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4735. $as_echo "no" >&6; }
  4736. fi
  4737. if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
  4738. as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
  4739. fi
  4740. xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
  4741. mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
  4742. mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
  4743. if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
  4744. as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
  4745. fi
  4746. # Extract the first word of "perl", so it can be a program name with args.
  4747. set dummy perl; ac_word=$2
  4748. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4749. $as_echo_n "checking for $ac_word... " >&6; }
  4750. if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
  4751. $as_echo_n "(cached) " >&6
  4752. else
  4753. case $INTLTOOL_PERL in
  4754. [\\/]* | ?:[\\/]*)
  4755. ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
  4756. ;;
  4757. *)
  4758. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4759. for as_dir in $PATH
  4760. do
  4761. IFS=$as_save_IFS
  4762. test -z "$as_dir" && as_dir=.
  4763. for ac_exec_ext in '' $ac_executable_extensions; do
  4764. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4765. ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
  4766. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4767. break 2
  4768. fi
  4769. done
  4770. done
  4771. IFS=$as_save_IFS
  4772. ;;
  4773. esac
  4774. fi
  4775. INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
  4776. if test -n "$INTLTOOL_PERL"; then
  4777. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
  4778. $as_echo "$INTLTOOL_PERL" >&6; }
  4779. else
  4780. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4781. $as_echo "no" >&6; }
  4782. fi
  4783. if test -z "$INTLTOOL_PERL"; then
  4784. as_fn_error $? "perl not found" "$LINENO" 5
  4785. fi
  4786. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
  4787. $as_echo_n "checking for perl >= 5.8.1... " >&6; }
  4788. $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
  4789. if test $? -ne 0; then
  4790. as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
  4791. else
  4792. IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
  4793. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
  4794. $as_echo "$IT_PERL_VERSION" >&6; }
  4795. fi
  4796. if test "x" != "xno-xml"; then
  4797. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
  4798. $as_echo_n "checking for XML::Parser... " >&6; }
  4799. if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
  4800. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  4801. $as_echo "ok" >&6; }
  4802. else
  4803. as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
  4804. fi
  4805. fi
  4806. # Substitute ALL_LINGUAS so we can use it in po/Makefile
  4807. # Set DATADIRNAME correctly if it is not set yet
  4808. # (copied from glib-gettext.m4)
  4809. if test -z "$DATADIRNAME"; then
  4810. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4811. /* end confdefs.h. */
  4812. int
  4813. main ()
  4814. {
  4815. extern int _nl_msg_cat_cntr;
  4816. return _nl_msg_cat_cntr
  4817. ;
  4818. return 0;
  4819. }
  4820. _ACEOF
  4821. if ac_fn_c_try_link "$LINENO"; then :
  4822. DATADIRNAME=share
  4823. else
  4824. case $host in
  4825. *-*-solaris*)
  4826. ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
  4827. if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
  4828. DATADIRNAME=share
  4829. else
  4830. DATADIRNAME=lib
  4831. fi
  4832. ;;
  4833. *)
  4834. DATADIRNAME=lib
  4835. ;;
  4836. esac
  4837. fi
  4838. rm -f core conftest.err conftest.$ac_objext \
  4839. conftest$ac_exeext conftest.$ac_ext
  4840. fi
  4841. if test -n "$PYTHON"; then
  4842. # If the user set $PYTHON, use it and don't search something else.
  4843. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.4" >&5
  4844. $as_echo_n "checking whether $PYTHON version >= 2.4... " >&6; }
  4845. prog="import sys, string
  4846. # split strings by '.' and convert to numeric. Append some zeros
  4847. # because we need at least 4 digits for the hex conversion.
  4848. minver = map(int, string.split('2.4', '.')) + [0, 0, 0]
  4849. minverhex = 0
  4850. for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
  4851. sys.exit(sys.hexversion < minverhex)"
  4852. if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
  4853. ($PYTHON -c "$prog") >&5 2>&5
  4854. ac_status=$?
  4855. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4856. (exit $ac_status); }; then :
  4857. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4858. $as_echo "yes" >&6; }
  4859. else
  4860. as_fn_error $? "too old" "$LINENO" 5
  4861. fi
  4862. am_display_PYTHON=$PYTHON
  4863. else
  4864. # Otherwise, try each interpreter until we find one that satisfies
  4865. # VERSION.
  4866. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.4" >&5
  4867. $as_echo_n "checking for a Python interpreter with version >= 2.4... " >&6; }
  4868. if ${am_cv_pathless_PYTHON+:} false; then :
  4869. $as_echo_n "(cached) " >&6
  4870. else
  4871. for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
  4872. test "$am_cv_pathless_PYTHON" = none && break
  4873. prog="import sys, string
  4874. # split strings by '.' and convert to numeric. Append some zeros
  4875. # because we need at least 4 digits for the hex conversion.
  4876. minver = map(int, string.split('2.4', '.')) + [0, 0, 0]
  4877. minverhex = 0
  4878. for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
  4879. sys.exit(sys.hexversion < minverhex)"
  4880. if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
  4881. ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
  4882. ac_status=$?
  4883. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4884. (exit $ac_status); }; then :
  4885. break
  4886. fi
  4887. done
  4888. fi
  4889. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
  4890. $as_echo "$am_cv_pathless_PYTHON" >&6; }
  4891. # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
  4892. if test "$am_cv_pathless_PYTHON" = none; then
  4893. PYTHON=:
  4894. else
  4895. # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
  4896. set dummy $am_cv_pathless_PYTHON; ac_word=$2
  4897. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4898. $as_echo_n "checking for $ac_word... " >&6; }
  4899. if ${ac_cv_path_PYTHON+:} false; then :
  4900. $as_echo_n "(cached) " >&6
  4901. else
  4902. case $PYTHON in
  4903. [\\/]* | ?:[\\/]*)
  4904. ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
  4905. ;;
  4906. *)
  4907. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4908. for as_dir in $PATH
  4909. do
  4910. IFS=$as_save_IFS
  4911. test -z "$as_dir" && as_dir=.
  4912. for ac_exec_ext in '' $ac_executable_extensions; do
  4913. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4914. ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
  4915. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4916. break 2
  4917. fi
  4918. done
  4919. done
  4920. IFS=$as_save_IFS
  4921. ;;
  4922. esac
  4923. fi
  4924. PYTHON=$ac_cv_path_PYTHON
  4925. if test -n "$PYTHON"; then
  4926. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
  4927. $as_echo "$PYTHON" >&6; }
  4928. else
  4929. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4930. $as_echo "no" >&6; }
  4931. fi
  4932. fi
  4933. am_display_PYTHON=$am_cv_pathless_PYTHON
  4934. fi
  4935. if test "$PYTHON" = :; then
  4936. as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
  4937. else
  4938. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
  4939. $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
  4940. if ${am_cv_python_version+:} false; then :
  4941. $as_echo_n "(cached) " >&6
  4942. else
  4943. am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
  4944. fi
  4945. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
  4946. $as_echo "$am_cv_python_version" >&6; }
  4947. PYTHON_VERSION=$am_cv_python_version
  4948. PYTHON_PREFIX='${prefix}'
  4949. PYTHON_EXEC_PREFIX='${exec_prefix}'
  4950. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
  4951. $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
  4952. if ${am_cv_python_platform+:} false; then :
  4953. $as_echo_n "(cached) " >&6
  4954. else
  4955. am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
  4956. fi
  4957. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
  4958. $as_echo "$am_cv_python_platform" >&6; }
  4959. PYTHON_PLATFORM=$am_cv_python_platform
  4960. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
  4961. $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
  4962. if ${am_cv_python_pythondir+:} false; then :
  4963. $as_echo_n "(cached) " >&6
  4964. else
  4965. am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
  4966. echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
  4967. fi
  4968. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
  4969. $as_echo "$am_cv_python_pythondir" >&6; }
  4970. pythondir=$am_cv_python_pythondir
  4971. pkgpythondir=\${pythondir}/$PACKAGE
  4972. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
  4973. $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
  4974. if ${am_cv_python_pyexecdir+:} false; then :
  4975. $as_echo_n "(cached) " >&6
  4976. else
  4977. am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
  4978. echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
  4979. fi
  4980. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
  4981. $as_echo "$am_cv_python_pyexecdir" >&6; }
  4982. pyexecdir=$am_cv_python_pyexecdir
  4983. pkgpyexecdir=\${pyexecdir}/$PACKAGE
  4984. fi
  4985. # Generate po/LINGUAS on the fly rather than relying on translators
  4986. # to maintain it manually. This also overcome the problem that Transifex
  4987. # cannot add a language to po/LINGUAS if a new po file is submitted.
  4988. rm -f $srcdir/po/LINGUAS
  4989. for po_file in `ls $srcdir/po/*.po | sort`;
  4990. do
  4991. lang=`echo "$po_file" | sed "s|.*/po/\(.*\)\.po|\1|g"`
  4992. echo $lang >> $srcdir/po/LINGUAS
  4993. done
  4994. ac_config_files="$ac_config_files Makefile po/Makefile.in"
  4995. cat >confcache <<\_ACEOF
  4996. # This file is a shell script that caches the results of configure
  4997. # tests run on this system so they can be shared between configure
  4998. # scripts and configure runs, see configure's option --config-cache.
  4999. # It is not useful on other systems. If it contains results you don't
  5000. # want to keep, you may remove or edit it.
  5001. #
  5002. # config.status only pays attention to the cache file if you give it
  5003. # the --recheck option to rerun configure.
  5004. #
  5005. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  5006. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  5007. # following values.
  5008. _ACEOF
  5009. # The following way of writing the cache mishandles newlines in values,
  5010. # but we know of no workaround that is simple, portable, and efficient.
  5011. # So, we kill variables containing newlines.
  5012. # Ultrix sh set writes to stderr and can't be redirected directly,
  5013. # and sets the high bit in the cache file unless we assign to the vars.
  5014. (
  5015. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  5016. eval ac_val=\$$ac_var
  5017. case $ac_val in #(
  5018. *${as_nl}*)
  5019. case $ac_var in #(
  5020. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  5021. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  5022. esac
  5023. case $ac_var in #(
  5024. _ | IFS | as_nl) ;; #(
  5025. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  5026. *) { eval $ac_var=; unset $ac_var;} ;;
  5027. esac ;;
  5028. esac
  5029. done
  5030. (set) 2>&1 |
  5031. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  5032. *${as_nl}ac_space=\ *)
  5033. # `set' does not quote correctly, so add quotes: double-quote
  5034. # substitution turns \\\\ into \\, and sed turns \\ into \.
  5035. sed -n \
  5036. "s/'/'\\\\''/g;
  5037. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  5038. ;; #(
  5039. *)
  5040. # `set' quotes correctly as required by POSIX, so do not add quotes.
  5041. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  5042. ;;
  5043. esac |
  5044. sort
  5045. ) |
  5046. sed '
  5047. /^ac_cv_env_/b end
  5048. t clear
  5049. :clear
  5050. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  5051. t end
  5052. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  5053. :end' >>confcache
  5054. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  5055. if test -w "$cache_file"; then
  5056. if test "x$cache_file" != "x/dev/null"; then
  5057. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  5058. $as_echo "$as_me: updating cache $cache_file" >&6;}
  5059. if test ! -f "$cache_file" || test -h "$cache_file"; then
  5060. cat confcache >"$cache_file"
  5061. else
  5062. case $cache_file in #(
  5063. */* | ?:*)
  5064. mv -f confcache "$cache_file"$$ &&
  5065. mv -f "$cache_file"$$ "$cache_file" ;; #(
  5066. *)
  5067. mv -f confcache "$cache_file" ;;
  5068. esac
  5069. fi
  5070. fi
  5071. else
  5072. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  5073. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  5074. fi
  5075. fi
  5076. rm -f confcache
  5077. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  5078. # Let make expand exec_prefix.
  5079. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  5080. # Transform confdefs.h into DEFS.
  5081. # Protect against shell expansion while executing Makefile rules.
  5082. # Protect against Makefile macro expansion.
  5083. #
  5084. # If the first sed substitution is executed (which looks for macros that
  5085. # take arguments), then branch to the quote section. Otherwise,
  5086. # look for a macro that doesn't take arguments.
  5087. ac_script='
  5088. :mline
  5089. /\\$/{
  5090. N
  5091. s,\\\n,,
  5092. b mline
  5093. }
  5094. t clear
  5095. :clear
  5096. s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
  5097. t quote
  5098. s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
  5099. t quote
  5100. b any
  5101. :quote
  5102. s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  5103. s/\[/\\&/g
  5104. s/\]/\\&/g
  5105. s/\$/$$/g
  5106. H
  5107. :any
  5108. ${
  5109. g
  5110. s/^\n//
  5111. s/\n/ /g
  5112. p
  5113. }
  5114. '
  5115. DEFS=`sed -n "$ac_script" confdefs.h`
  5116. ac_libobjs=
  5117. ac_ltlibobjs=
  5118. U=
  5119. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  5120. # 1. Remove the extension, and $U if already installed.
  5121. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  5122. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  5123. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  5124. # will be set to the directory where LIBOBJS objects are built.
  5125. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  5126. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  5127. done
  5128. LIBOBJS=$ac_libobjs
  5129. LTLIBOBJS=$ac_ltlibobjs
  5130. { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  5131. $as_echo_n "checking that generated files are newer than configure... " >&6; }
  5132. if test -n "$am_sleep_pid"; then
  5133. # Hide warnings about reused PIDs.
  5134. wait $am_sleep_pid 2>/dev/null
  5135. fi
  5136. { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  5137. $as_echo "done" >&6; }
  5138. if test -n "$EXEEXT"; then
  5139. am__EXEEXT_TRUE=
  5140. am__EXEEXT_FALSE='#'
  5141. else
  5142. am__EXEEXT_TRUE='#'
  5143. am__EXEEXT_FALSE=
  5144. fi
  5145. if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  5146. as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
  5147. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  5148. fi
  5149. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  5150. as_fn_error $? "conditional \"AMDEP\" was never defined.
  5151. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  5152. fi
  5153. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  5154. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  5155. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  5156. fi
  5157. ac_config_commands="$ac_config_commands po/stamp-it"
  5158. : "${CONFIG_STATUS=./config.status}"
  5159. ac_write_fail=0
  5160. ac_clean_files_save=$ac_clean_files
  5161. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  5162. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  5163. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  5164. as_write_fail=0
  5165. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  5166. #! $SHELL
  5167. # Generated by $as_me.
  5168. # Run this file to recreate the current configuration.
  5169. # Compiler output produced by configure, useful for debugging
  5170. # configure, is in config.log if it exists.
  5171. debug=false
  5172. ac_cs_recheck=false
  5173. ac_cs_silent=false
  5174. SHELL=\${CONFIG_SHELL-$SHELL}
  5175. export SHELL
  5176. _ASEOF
  5177. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  5178. ## -------------------- ##
  5179. ## M4sh Initialization. ##
  5180. ## -------------------- ##
  5181. # Be more Bourne compatible
  5182. DUALCASE=1; export DUALCASE # for MKS sh
  5183. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  5184. emulate sh
  5185. NULLCMD=:
  5186. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  5187. # is contrary to our usage. Disable this feature.
  5188. alias -g '${1+"$@"}'='"$@"'
  5189. setopt NO_GLOB_SUBST
  5190. else
  5191. case `(set -o) 2>/dev/null` in #(
  5192. *posix*) :
  5193. set -o posix ;; #(
  5194. *) :
  5195. ;;
  5196. esac
  5197. fi
  5198. as_nl='
  5199. '
  5200. export as_nl
  5201. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  5202. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  5203. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  5204. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  5205. # Prefer a ksh shell builtin over an external printf program on Solaris,
  5206. # but without wasting forks for bash or zsh.
  5207. if test -z "$BASH_VERSION$ZSH_VERSION" \
  5208. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  5209. as_echo='print -r --'
  5210. as_echo_n='print -rn --'
  5211. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  5212. as_echo='printf %s\n'
  5213. as_echo_n='printf %s'
  5214. else
  5215. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  5216. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  5217. as_echo_n='/usr/ucb/echo -n'
  5218. else
  5219. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  5220. as_echo_n_body='eval
  5221. arg=$1;
  5222. case $arg in #(
  5223. *"$as_nl"*)
  5224. expr "X$arg" : "X\\(.*\\)$as_nl";
  5225. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  5226. esac;
  5227. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  5228. '
  5229. export as_echo_n_body
  5230. as_echo_n='sh -c $as_echo_n_body as_echo'
  5231. fi
  5232. export as_echo_body
  5233. as_echo='sh -c $as_echo_body as_echo'
  5234. fi
  5235. # The user is always right.
  5236. if test "${PATH_SEPARATOR+set}" != set; then
  5237. PATH_SEPARATOR=:
  5238. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  5239. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  5240. PATH_SEPARATOR=';'
  5241. }
  5242. fi
  5243. # IFS
  5244. # We need space, tab and new line, in precisely that order. Quoting is
  5245. # there to prevent editors from complaining about space-tab.
  5246. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  5247. # splitting by setting IFS to empty value.)
  5248. IFS=" "" $as_nl"
  5249. # Find who we are. Look in the path if we contain no directory separator.
  5250. as_myself=
  5251. case $0 in #((
  5252. *[\\/]* ) as_myself=$0 ;;
  5253. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5254. for as_dir in $PATH
  5255. do
  5256. IFS=$as_save_IFS
  5257. test -z "$as_dir" && as_dir=.
  5258. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  5259. done
  5260. IFS=$as_save_IFS
  5261. ;;
  5262. esac
  5263. # We did not find ourselves, most probably we were run as `sh COMMAND'
  5264. # in which case we are not to be found in the path.
  5265. if test "x$as_myself" = x; then
  5266. as_myself=$0
  5267. fi
  5268. if test ! -f "$as_myself"; then
  5269. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  5270. exit 1
  5271. fi
  5272. # Unset variables that we do not need and which cause bugs (e.g. in
  5273. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  5274. # suppresses any "Segmentation fault" message there. '((' could
  5275. # trigger a bug in pdksh 5.2.14.
  5276. for as_var in BASH_ENV ENV MAIL MAILPATH
  5277. do eval test x\${$as_var+set} = xset \
  5278. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  5279. done
  5280. PS1='$ '
  5281. PS2='> '
  5282. PS4='+ '
  5283. # NLS nuisances.
  5284. LC_ALL=C
  5285. export LC_ALL
  5286. LANGUAGE=C
  5287. export LANGUAGE
  5288. # CDPATH.
  5289. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  5290. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  5291. # ----------------------------------------
  5292. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  5293. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  5294. # script with STATUS, using 1 if that was 0.
  5295. as_fn_error ()
  5296. {
  5297. as_status=$1; test $as_status -eq 0 && as_status=1
  5298. if test "$4"; then
  5299. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  5300. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  5301. fi
  5302. $as_echo "$as_me: error: $2" >&2
  5303. as_fn_exit $as_status
  5304. } # as_fn_error
  5305. # as_fn_set_status STATUS
  5306. # -----------------------
  5307. # Set $? to STATUS, without forking.
  5308. as_fn_set_status ()
  5309. {
  5310. return $1
  5311. } # as_fn_set_status
  5312. # as_fn_exit STATUS
  5313. # -----------------
  5314. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  5315. as_fn_exit ()
  5316. {
  5317. set +e
  5318. as_fn_set_status $1
  5319. exit $1
  5320. } # as_fn_exit
  5321. # as_fn_unset VAR
  5322. # ---------------
  5323. # Portably unset VAR.
  5324. as_fn_unset ()
  5325. {
  5326. { eval $1=; unset $1;}
  5327. }
  5328. as_unset=as_fn_unset
  5329. # as_fn_append VAR VALUE
  5330. # ----------------------
  5331. # Append the text in VALUE to the end of the definition contained in VAR. Take
  5332. # advantage of any shell optimizations that allow amortized linear growth over
  5333. # repeated appends, instead of the typical quadratic growth present in naive
  5334. # implementations.
  5335. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  5336. eval 'as_fn_append ()
  5337. {
  5338. eval $1+=\$2
  5339. }'
  5340. else
  5341. as_fn_append ()
  5342. {
  5343. eval $1=\$$1\$2
  5344. }
  5345. fi # as_fn_append
  5346. # as_fn_arith ARG...
  5347. # ------------------
  5348. # Perform arithmetic evaluation on the ARGs, and store the result in the
  5349. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  5350. # must be portable across $(()) and expr.
  5351. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  5352. eval 'as_fn_arith ()
  5353. {
  5354. as_val=$(( $* ))
  5355. }'
  5356. else
  5357. as_fn_arith ()
  5358. {
  5359. as_val=`expr "$@" || test $? -eq 1`
  5360. }
  5361. fi # as_fn_arith
  5362. if expr a : '\(a\)' >/dev/null 2>&1 &&
  5363. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  5364. as_expr=expr
  5365. else
  5366. as_expr=false
  5367. fi
  5368. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  5369. as_basename=basename
  5370. else
  5371. as_basename=false
  5372. fi
  5373. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  5374. as_dirname=dirname
  5375. else
  5376. as_dirname=false
  5377. fi
  5378. as_me=`$as_basename -- "$0" ||
  5379. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  5380. X"$0" : 'X\(//\)$' \| \
  5381. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  5382. $as_echo X/"$0" |
  5383. sed '/^.*\/\([^/][^/]*\)\/*$/{
  5384. s//\1/
  5385. q
  5386. }
  5387. /^X\/\(\/\/\)$/{
  5388. s//\1/
  5389. q
  5390. }
  5391. /^X\/\(\/\).*/{
  5392. s//\1/
  5393. q
  5394. }
  5395. s/.*/./; q'`
  5396. # Avoid depending upon Character Ranges.
  5397. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  5398. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  5399. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  5400. as_cr_digits='0123456789'
  5401. as_cr_alnum=$as_cr_Letters$as_cr_digits
  5402. ECHO_C= ECHO_N= ECHO_T=
  5403. case `echo -n x` in #(((((
  5404. -n*)
  5405. case `echo 'xy\c'` in
  5406. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  5407. xy) ECHO_C='\c';;
  5408. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  5409. ECHO_T=' ';;
  5410. esac;;
  5411. *)
  5412. ECHO_N='-n';;
  5413. esac
  5414. rm -f conf$$ conf$$.exe conf$$.file
  5415. if test -d conf$$.dir; then
  5416. rm -f conf$$.dir/conf$$.file
  5417. else
  5418. rm -f conf$$.dir
  5419. mkdir conf$$.dir 2>/dev/null
  5420. fi
  5421. if (echo >conf$$.file) 2>/dev/null; then
  5422. if ln -s conf$$.file conf$$ 2>/dev/null; then
  5423. as_ln_s='ln -s'
  5424. # ... but there are two gotchas:
  5425. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  5426. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  5427. # In both cases, we have to default to `cp -pR'.
  5428. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  5429. as_ln_s='cp -pR'
  5430. elif ln conf$$.file conf$$ 2>/dev/null; then
  5431. as_ln_s=ln
  5432. else
  5433. as_ln_s='cp -pR'
  5434. fi
  5435. else
  5436. as_ln_s='cp -pR'
  5437. fi
  5438. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  5439. rmdir conf$$.dir 2>/dev/null
  5440. # as_fn_mkdir_p
  5441. # -------------
  5442. # Create "$as_dir" as a directory, including parents if necessary.
  5443. as_fn_mkdir_p ()
  5444. {
  5445. case $as_dir in #(
  5446. -*) as_dir=./$as_dir;;
  5447. esac
  5448. test -d "$as_dir" || eval $as_mkdir_p || {
  5449. as_dirs=
  5450. while :; do
  5451. case $as_dir in #(
  5452. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  5453. *) as_qdir=$as_dir;;
  5454. esac
  5455. as_dirs="'$as_qdir' $as_dirs"
  5456. as_dir=`$as_dirname -- "$as_dir" ||
  5457. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5458. X"$as_dir" : 'X\(//\)[^/]' \| \
  5459. X"$as_dir" : 'X\(//\)$' \| \
  5460. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  5461. $as_echo X"$as_dir" |
  5462. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5463. s//\1/
  5464. q
  5465. }
  5466. /^X\(\/\/\)[^/].*/{
  5467. s//\1/
  5468. q
  5469. }
  5470. /^X\(\/\/\)$/{
  5471. s//\1/
  5472. q
  5473. }
  5474. /^X\(\/\).*/{
  5475. s//\1/
  5476. q
  5477. }
  5478. s/.*/./; q'`
  5479. test -d "$as_dir" && break
  5480. done
  5481. test -z "$as_dirs" || eval "mkdir $as_dirs"
  5482. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  5483. } # as_fn_mkdir_p
  5484. if mkdir -p . 2>/dev/null; then
  5485. as_mkdir_p='mkdir -p "$as_dir"'
  5486. else
  5487. test -d ./-p && rmdir ./-p
  5488. as_mkdir_p=false
  5489. fi
  5490. # as_fn_executable_p FILE
  5491. # -----------------------
  5492. # Test if FILE is an executable regular file.
  5493. as_fn_executable_p ()
  5494. {
  5495. test -f "$1" && test -x "$1"
  5496. } # as_fn_executable_p
  5497. as_test_x='test -x'
  5498. as_executable_p=as_fn_executable_p
  5499. # Sed expression to map a string onto a valid CPP name.
  5500. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  5501. # Sed expression to map a string onto a valid variable name.
  5502. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  5503. exec 6>&1
  5504. ## ----------------------------------- ##
  5505. ## Main body of $CONFIG_STATUS script. ##
  5506. ## ----------------------------------- ##
  5507. _ASEOF
  5508. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  5509. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5510. # Save the log message, to keep $0 and so on meaningful, and to
  5511. # report actual input values of CONFIG_FILES etc. instead of their
  5512. # values after options handling.
  5513. ac_log="
  5514. This file was extended by uruk-software-center $as_me 1.0, which was
  5515. generated by GNU Autoconf 2.69. Invocation command line was
  5516. CONFIG_FILES = $CONFIG_FILES
  5517. CONFIG_HEADERS = $CONFIG_HEADERS
  5518. CONFIG_LINKS = $CONFIG_LINKS
  5519. CONFIG_COMMANDS = $CONFIG_COMMANDS
  5520. $ $0 $@
  5521. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  5522. "
  5523. _ACEOF
  5524. case $ac_config_files in *"
  5525. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  5526. esac
  5527. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5528. # Files that config.status was made for.
  5529. config_files="$ac_config_files"
  5530. config_commands="$ac_config_commands"
  5531. _ACEOF
  5532. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5533. ac_cs_usage="\
  5534. \`$as_me' instantiates files and other configuration actions
  5535. from templates according to the current configuration. Unless the files
  5536. and actions are specified as TAGs, all are instantiated by default.
  5537. Usage: $0 [OPTION]... [TAG]...
  5538. -h, --help print this help, then exit
  5539. -V, --version print version number and configuration settings, then exit
  5540. --config print configuration, then exit
  5541. -q, --quiet, --silent
  5542. do not print progress messages
  5543. -d, --debug don't remove temporary files
  5544. --recheck update $as_me by reconfiguring in the same conditions
  5545. --file=FILE[:TEMPLATE]
  5546. instantiate the configuration file FILE
  5547. Configuration files:
  5548. $config_files
  5549. Configuration commands:
  5550. $config_commands
  5551. Report bugs to the package provider."
  5552. _ACEOF
  5553. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5554. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  5555. ac_cs_version="\\
  5556. uruk-software-center config.status 1.0
  5557. configured by $0, generated by GNU Autoconf 2.69,
  5558. with options \\"\$ac_cs_config\\"
  5559. Copyright (C) 2012 Free Software Foundation, Inc.
  5560. This config.status script is free software; the Free Software Foundation
  5561. gives unlimited permission to copy, distribute and modify it."
  5562. ac_pwd='$ac_pwd'
  5563. srcdir='$srcdir'
  5564. INSTALL='$INSTALL'
  5565. MKDIR_P='$MKDIR_P'
  5566. AWK='$AWK'
  5567. test -n "\$AWK" || AWK=awk
  5568. _ACEOF
  5569. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5570. # The default lists apply if the user does not specify any file.
  5571. ac_need_defaults=:
  5572. while test $# != 0
  5573. do
  5574. case $1 in
  5575. --*=?*)
  5576. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  5577. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  5578. ac_shift=:
  5579. ;;
  5580. --*=)
  5581. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  5582. ac_optarg=
  5583. ac_shift=:
  5584. ;;
  5585. *)
  5586. ac_option=$1
  5587. ac_optarg=$2
  5588. ac_shift=shift
  5589. ;;
  5590. esac
  5591. case $ac_option in
  5592. # Handling of the options.
  5593. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  5594. ac_cs_recheck=: ;;
  5595. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  5596. $as_echo "$ac_cs_version"; exit ;;
  5597. --config | --confi | --conf | --con | --co | --c )
  5598. $as_echo "$ac_cs_config"; exit ;;
  5599. --debug | --debu | --deb | --de | --d | -d )
  5600. debug=: ;;
  5601. --file | --fil | --fi | --f )
  5602. $ac_shift
  5603. case $ac_optarg in
  5604. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  5605. '') as_fn_error $? "missing file argument" ;;
  5606. esac
  5607. as_fn_append CONFIG_FILES " '$ac_optarg'"
  5608. ac_need_defaults=false;;
  5609. --he | --h | --help | --hel | -h )
  5610. $as_echo "$ac_cs_usage"; exit ;;
  5611. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  5612. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  5613. ac_cs_silent=: ;;
  5614. # This is an error.
  5615. -*) as_fn_error $? "unrecognized option: \`$1'
  5616. Try \`$0 --help' for more information." ;;
  5617. *) as_fn_append ac_config_targets " $1"
  5618. ac_need_defaults=false ;;
  5619. esac
  5620. shift
  5621. done
  5622. ac_configure_extra_args=
  5623. if $ac_cs_silent; then
  5624. exec 6>/dev/null
  5625. ac_configure_extra_args="$ac_configure_extra_args --silent"
  5626. fi
  5627. _ACEOF
  5628. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5629. if \$ac_cs_recheck; then
  5630. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  5631. shift
  5632. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  5633. CONFIG_SHELL='$SHELL'
  5634. export CONFIG_SHELL
  5635. exec "\$@"
  5636. fi
  5637. _ACEOF
  5638. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5639. exec 5>>config.log
  5640. {
  5641. echo
  5642. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  5643. ## Running $as_me. ##
  5644. _ASBOX
  5645. $as_echo "$ac_log"
  5646. } >&5
  5647. _ACEOF
  5648. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5649. #
  5650. # INIT-COMMANDS
  5651. #
  5652. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  5653. _ACEOF
  5654. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5655. # Handling of arguments.
  5656. for ac_config_target in $ac_config_targets
  5657. do
  5658. case $ac_config_target in
  5659. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  5660. "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  5661. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  5662. "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
  5663. "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
  5664. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  5665. esac
  5666. done
  5667. # If the user did not use the arguments to specify the items to instantiate,
  5668. # then the envvar interface is used. Set only those that are not.
  5669. # We use the long form for the default assignment because of an extremely
  5670. # bizarre bug on SunOS 4.1.3.
  5671. if $ac_need_defaults; then
  5672. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  5673. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  5674. fi
  5675. # Have a temporary directory for convenience. Make it in the build tree
  5676. # simply because there is no reason against having it here, and in addition,
  5677. # creating and moving files from /tmp can sometimes cause problems.
  5678. # Hook for its removal unless debugging.
  5679. # Note that there is a small window in which the directory will not be cleaned:
  5680. # after its creation but before its name has been assigned to `$tmp'.
  5681. $debug ||
  5682. {
  5683. tmp= ac_tmp=
  5684. trap 'exit_status=$?
  5685. : "${ac_tmp:=$tmp}"
  5686. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  5687. ' 0
  5688. trap 'as_fn_exit 1' 1 2 13 15
  5689. }
  5690. # Create a (secure) tmp directory for tmp files.
  5691. {
  5692. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  5693. test -d "$tmp"
  5694. } ||
  5695. {
  5696. tmp=./conf$$-$RANDOM
  5697. (umask 077 && mkdir "$tmp")
  5698. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  5699. ac_tmp=$tmp
  5700. # Set up the scripts for CONFIG_FILES section.
  5701. # No need to generate them if there are no CONFIG_FILES.
  5702. # This happens for instance with `./config.status config.h'.
  5703. if test -n "$CONFIG_FILES"; then
  5704. ac_cr=`echo X | tr X '\015'`
  5705. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  5706. # But we know of no other shell where ac_cr would be empty at this
  5707. # point, so we can use a bashism as a fallback.
  5708. if test "x$ac_cr" = x; then
  5709. eval ac_cr=\$\'\\r\'
  5710. fi
  5711. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  5712. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  5713. ac_cs_awk_cr='\\r'
  5714. else
  5715. ac_cs_awk_cr=$ac_cr
  5716. fi
  5717. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  5718. _ACEOF
  5719. {
  5720. echo "cat >conf$$subs.awk <<_ACEOF" &&
  5721. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  5722. echo "_ACEOF"
  5723. } >conf$$subs.sh ||
  5724. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  5725. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  5726. ac_delim='%!_!# '
  5727. for ac_last_try in false false false false false :; do
  5728. . ./conf$$subs.sh ||
  5729. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  5730. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  5731. if test $ac_delim_n = $ac_delim_num; then
  5732. break
  5733. elif $ac_last_try; then
  5734. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  5735. else
  5736. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  5737. fi
  5738. done
  5739. rm -f conf$$subs.sh
  5740. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5741. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  5742. _ACEOF
  5743. sed -n '
  5744. h
  5745. s/^/S["/; s/!.*/"]=/
  5746. p
  5747. g
  5748. s/^[^!]*!//
  5749. :repl
  5750. t repl
  5751. s/'"$ac_delim"'$//
  5752. t delim
  5753. :nl
  5754. h
  5755. s/\(.\{148\}\)..*/\1/
  5756. t more1
  5757. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  5758. p
  5759. n
  5760. b repl
  5761. :more1
  5762. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  5763. p
  5764. g
  5765. s/.\{148\}//
  5766. t nl
  5767. :delim
  5768. h
  5769. s/\(.\{148\}\)..*/\1/
  5770. t more2
  5771. s/["\\]/\\&/g; s/^/"/; s/$/"/
  5772. p
  5773. b
  5774. :more2
  5775. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  5776. p
  5777. g
  5778. s/.\{148\}//
  5779. t delim
  5780. ' <conf$$subs.awk | sed '
  5781. /^[^""]/{
  5782. N
  5783. s/\n//
  5784. }
  5785. ' >>$CONFIG_STATUS || ac_write_fail=1
  5786. rm -f conf$$subs.awk
  5787. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5788. _ACAWK
  5789. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  5790. for (key in S) S_is_set[key] = 1
  5791. FS = ""
  5792. }
  5793. {
  5794. line = $ 0
  5795. nfields = split(line, field, "@")
  5796. substed = 0
  5797. len = length(field[1])
  5798. for (i = 2; i < nfields; i++) {
  5799. key = field[i]
  5800. keylen = length(key)
  5801. if (S_is_set[key]) {
  5802. value = S[key]
  5803. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  5804. len += length(value) + length(field[++i])
  5805. substed = 1
  5806. } else
  5807. len += 1 + keylen
  5808. }
  5809. print line
  5810. }
  5811. _ACAWK
  5812. _ACEOF
  5813. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5814. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  5815. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  5816. else
  5817. cat
  5818. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  5819. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  5820. _ACEOF
  5821. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  5822. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  5823. # trailing colons and then remove the whole line if VPATH becomes empty
  5824. # (actually we leave an empty line to preserve line numbers).
  5825. if test "x$srcdir" = x.; then
  5826. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  5827. h
  5828. s///
  5829. s/^/:/
  5830. s/[ ]*$/:/
  5831. s/:\$(srcdir):/:/g
  5832. s/:\${srcdir}:/:/g
  5833. s/:@srcdir@:/:/g
  5834. s/^:*//
  5835. s/:*$//
  5836. x
  5837. s/\(=[ ]*\).*/\1/
  5838. G
  5839. s/\n//
  5840. s/^[^=]*=[ ]*$//
  5841. }'
  5842. fi
  5843. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5844. fi # test -n "$CONFIG_FILES"
  5845. eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
  5846. shift
  5847. for ac_tag
  5848. do
  5849. case $ac_tag in
  5850. :[FHLC]) ac_mode=$ac_tag; continue;;
  5851. esac
  5852. case $ac_mode$ac_tag in
  5853. :[FHL]*:*);;
  5854. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  5855. :[FH]-) ac_tag=-:-;;
  5856. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  5857. esac
  5858. ac_save_IFS=$IFS
  5859. IFS=:
  5860. set x $ac_tag
  5861. IFS=$ac_save_IFS
  5862. shift
  5863. ac_file=$1
  5864. shift
  5865. case $ac_mode in
  5866. :L) ac_source=$1;;
  5867. :[FH])
  5868. ac_file_inputs=
  5869. for ac_f
  5870. do
  5871. case $ac_f in
  5872. -) ac_f="$ac_tmp/stdin";;
  5873. *) # Look for the file first in the build tree, then in the source tree
  5874. # (if the path is not absolute). The absolute path cannot be DOS-style,
  5875. # because $ac_f cannot contain `:'.
  5876. test -f "$ac_f" ||
  5877. case $ac_f in
  5878. [\\/$]*) false;;
  5879. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  5880. esac ||
  5881. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  5882. esac
  5883. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  5884. as_fn_append ac_file_inputs " '$ac_f'"
  5885. done
  5886. # Let's still pretend it is `configure' which instantiates (i.e., don't
  5887. # use $as_me), people would be surprised to read:
  5888. # /* config.h. Generated by config.status. */
  5889. configure_input='Generated from '`
  5890. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  5891. `' by configure.'
  5892. if test x"$ac_file" != x-; then
  5893. configure_input="$ac_file. $configure_input"
  5894. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  5895. $as_echo "$as_me: creating $ac_file" >&6;}
  5896. fi
  5897. # Neutralize special characters interpreted by sed in replacement strings.
  5898. case $configure_input in #(
  5899. *\&* | *\|* | *\\* )
  5900. ac_sed_conf_input=`$as_echo "$configure_input" |
  5901. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  5902. *) ac_sed_conf_input=$configure_input;;
  5903. esac
  5904. case $ac_tag in
  5905. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  5906. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  5907. esac
  5908. ;;
  5909. esac
  5910. ac_dir=`$as_dirname -- "$ac_file" ||
  5911. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5912. X"$ac_file" : 'X\(//\)[^/]' \| \
  5913. X"$ac_file" : 'X\(//\)$' \| \
  5914. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  5915. $as_echo X"$ac_file" |
  5916. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5917. s//\1/
  5918. q
  5919. }
  5920. /^X\(\/\/\)[^/].*/{
  5921. s//\1/
  5922. q
  5923. }
  5924. /^X\(\/\/\)$/{
  5925. s//\1/
  5926. q
  5927. }
  5928. /^X\(\/\).*/{
  5929. s//\1/
  5930. q
  5931. }
  5932. s/.*/./; q'`
  5933. as_dir="$ac_dir"; as_fn_mkdir_p
  5934. ac_builddir=.
  5935. case "$ac_dir" in
  5936. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  5937. *)
  5938. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  5939. # A ".." for each directory in $ac_dir_suffix.
  5940. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  5941. case $ac_top_builddir_sub in
  5942. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  5943. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  5944. esac ;;
  5945. esac
  5946. ac_abs_top_builddir=$ac_pwd
  5947. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  5948. # for backward compatibility:
  5949. ac_top_builddir=$ac_top_build_prefix
  5950. case $srcdir in
  5951. .) # We are building in place.
  5952. ac_srcdir=.
  5953. ac_top_srcdir=$ac_top_builddir_sub
  5954. ac_abs_top_srcdir=$ac_pwd ;;
  5955. [\\/]* | ?:[\\/]* ) # Absolute name.
  5956. ac_srcdir=$srcdir$ac_dir_suffix;
  5957. ac_top_srcdir=$srcdir
  5958. ac_abs_top_srcdir=$srcdir ;;
  5959. *) # Relative name.
  5960. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  5961. ac_top_srcdir=$ac_top_build_prefix$srcdir
  5962. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  5963. esac
  5964. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  5965. case $ac_mode in
  5966. :F)
  5967. #
  5968. # CONFIG_FILE
  5969. #
  5970. case $INSTALL in
  5971. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  5972. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  5973. esac
  5974. ac_MKDIR_P=$MKDIR_P
  5975. case $MKDIR_P in
  5976. [\\/$]* | ?:[\\/]* ) ;;
  5977. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  5978. esac
  5979. _ACEOF
  5980. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5981. # If the template does not know about datarootdir, expand it.
  5982. # FIXME: This hack should be removed a few years after 2.60.
  5983. ac_datarootdir_hack=; ac_datarootdir_seen=
  5984. ac_sed_dataroot='
  5985. /datarootdir/ {
  5986. p
  5987. q
  5988. }
  5989. /@datadir@/p
  5990. /@docdir@/p
  5991. /@infodir@/p
  5992. /@localedir@/p
  5993. /@mandir@/p'
  5994. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  5995. *datarootdir*) ac_datarootdir_seen=yes;;
  5996. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  5997. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  5998. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  5999. _ACEOF
  6000. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6001. ac_datarootdir_hack='
  6002. s&@datadir@&$datadir&g
  6003. s&@docdir@&$docdir&g
  6004. s&@infodir@&$infodir&g
  6005. s&@localedir@&$localedir&g
  6006. s&@mandir@&$mandir&g
  6007. s&\\\${datarootdir}&$datarootdir&g' ;;
  6008. esac
  6009. _ACEOF
  6010. # Neutralize VPATH when `$srcdir' = `.'.
  6011. # Shell code in configure.ac might set extrasub.
  6012. # FIXME: do we really want to maintain this feature?
  6013. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6014. ac_sed_extra="$ac_vpsub
  6015. $extrasub
  6016. _ACEOF
  6017. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  6018. :t
  6019. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  6020. s|@configure_input@|$ac_sed_conf_input|;t t
  6021. s&@top_builddir@&$ac_top_builddir_sub&;t t
  6022. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  6023. s&@srcdir@&$ac_srcdir&;t t
  6024. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  6025. s&@top_srcdir@&$ac_top_srcdir&;t t
  6026. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  6027. s&@builddir@&$ac_builddir&;t t
  6028. s&@abs_builddir@&$ac_abs_builddir&;t t
  6029. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  6030. s&@INSTALL@&$ac_INSTALL&;t t
  6031. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  6032. $ac_datarootdir_hack
  6033. "
  6034. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  6035. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  6036. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  6037. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  6038. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  6039. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  6040. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  6041. which seems to be undefined. Please make sure it is defined" >&5
  6042. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  6043. which seems to be undefined. Please make sure it is defined" >&2;}
  6044. rm -f "$ac_tmp/stdin"
  6045. case $ac_file in
  6046. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  6047. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  6048. esac \
  6049. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  6050. ;;
  6051. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  6052. $as_echo "$as_me: executing $ac_file commands" >&6;}
  6053. ;;
  6054. esac
  6055. case $ac_file$ac_mode in
  6056. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  6057. # Older Autoconf quotes --file arguments for eval, but not when files
  6058. # are listed without --file. Let's play safe and only enable the eval
  6059. # if we detect the quoting.
  6060. case $CONFIG_FILES in
  6061. *\'*) eval set x "$CONFIG_FILES" ;;
  6062. *) set x $CONFIG_FILES ;;
  6063. esac
  6064. shift
  6065. for mf
  6066. do
  6067. # Strip MF so we end up with the name of the file.
  6068. mf=`echo "$mf" | sed -e 's/:.*$//'`
  6069. # Check whether this is an Automake generated Makefile or not.
  6070. # We used to match only the files named 'Makefile.in', but
  6071. # some people rename them; so instead we look at the file content.
  6072. # Grep'ing the first line is not enough: some people post-process
  6073. # each Makefile.in and add a new line on top of each file to say so.
  6074. # Grep'ing the whole file is not good either: AIX grep has a line
  6075. # limit of 2048, but all sed's we know have understand at least 4000.
  6076. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  6077. dirpart=`$as_dirname -- "$mf" ||
  6078. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  6079. X"$mf" : 'X\(//\)[^/]' \| \
  6080. X"$mf" : 'X\(//\)$' \| \
  6081. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  6082. $as_echo X"$mf" |
  6083. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  6084. s//\1/
  6085. q
  6086. }
  6087. /^X\(\/\/\)[^/].*/{
  6088. s//\1/
  6089. q
  6090. }
  6091. /^X\(\/\/\)$/{
  6092. s//\1/
  6093. q
  6094. }
  6095. /^X\(\/\).*/{
  6096. s//\1/
  6097. q
  6098. }
  6099. s/.*/./; q'`
  6100. else
  6101. continue
  6102. fi
  6103. # Extract the definition of DEPDIR, am__include, and am__quote
  6104. # from the Makefile without running 'make'.
  6105. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  6106. test -z "$DEPDIR" && continue
  6107. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  6108. test -z "$am__include" && continue
  6109. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  6110. # Find all dependency output files, they are included files with
  6111. # $(DEPDIR) in their names. We invoke sed twice because it is the
  6112. # simplest approach to changing $(DEPDIR) to its actual value in the
  6113. # expansion.
  6114. for file in `sed -n "
  6115. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  6116. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  6117. # Make sure the directory exists.
  6118. test -f "$dirpart/$file" && continue
  6119. fdir=`$as_dirname -- "$file" ||
  6120. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  6121. X"$file" : 'X\(//\)[^/]' \| \
  6122. X"$file" : 'X\(//\)$' \| \
  6123. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  6124. $as_echo X"$file" |
  6125. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  6126. s//\1/
  6127. q
  6128. }
  6129. /^X\(\/\/\)[^/].*/{
  6130. s//\1/
  6131. q
  6132. }
  6133. /^X\(\/\/\)$/{
  6134. s//\1/
  6135. q
  6136. }
  6137. /^X\(\/\).*/{
  6138. s//\1/
  6139. q
  6140. }
  6141. s/.*/./; q'`
  6142. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  6143. # echo "creating $dirpart/$file"
  6144. echo '# dummy' > "$dirpart/$file"
  6145. done
  6146. done
  6147. }
  6148. ;;
  6149. "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
  6150. sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
  6151. esac ;;
  6152. "po/stamp-it":C)
  6153. if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
  6154. as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
  6155. fi
  6156. rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
  6157. >"po/stamp-it.tmp"
  6158. sed '/^#/d
  6159. s/^[[].*] *//
  6160. /^[ ]*$/d
  6161. '"s|^| $ac_top_srcdir/|" \
  6162. "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
  6163. sed '/^POTFILES =/,/[^\\]$/ {
  6164. /^POTFILES =/!d
  6165. r po/POTFILES
  6166. }
  6167. ' "po/Makefile.in" >"po/Makefile"
  6168. rm -f "po/Makefile.tmp"
  6169. mv "po/stamp-it.tmp" "po/stamp-it"
  6170. ;;
  6171. esac
  6172. done # for ac_tag
  6173. as_fn_exit 0
  6174. _ACEOF
  6175. ac_clean_files=$ac_clean_files_save
  6176. test $ac_write_fail = 0 ||
  6177. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  6178. # configure is writing to config.log, and then calls config.status.
  6179. # config.status does its own redirection, appending to config.log.
  6180. # Unfortunately, on DOS this fails, as config.log is still kept open
  6181. # by configure, so config.status won't be able to write to it; its
  6182. # output is simply discarded. So we exec the FD to /dev/null,
  6183. # effectively closing config.log, so it can be properly (re)opened and
  6184. # appended to by config.status. When coming back to configure, we
  6185. # need to make the FD available again.
  6186. if test "$no_create" != yes; then
  6187. ac_cs_success=:
  6188. ac_config_status_args=
  6189. test "$silent" = yes &&
  6190. ac_config_status_args="$ac_config_status_args --quiet"
  6191. exec 5>/dev/null
  6192. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  6193. exec 5>>config.log
  6194. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  6195. # would make configure fail if this is the last instruction.
  6196. $ac_cs_success || as_fn_exit 1
  6197. fi
  6198. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  6199. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  6200. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  6201. fi
  6202. echo
  6203. echo $PACKAGE v$VERSION
  6204. echo
  6205. echo Prefix............... : $prefix