configure 226 KB

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