123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256 |
- diff -Nur exmap-console-0.4.1.orig/INSTALL exmap-console-0.4.1/INSTALL
- --- exmap-console-0.4.1.orig/INSTALL 2006-11-03 09:36:03.000000000 +0100
- +++ exmap-console-0.4.1/INSTALL 2011-01-11 12:44:16.000000000 +0100
- @@ -1,16 +1,25 @@
- Installation Instructions
- *************************
-
- -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
- -Software Foundation, Inc.
- +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
- +2006, 2007, 2008, 2009 Free Software Foundation, Inc.
-
- -This file is free documentation; the Free Software Foundation gives
- -unlimited permission to copy, distribute and modify it.
- + Copying and distribution of this file, with or without modification,
- +are permitted in any medium without royalty provided the copyright
- +notice and this notice are preserved. This file is offered as-is,
- +without warranty of any kind.
-
- Basic Installation
- ==================
-
- -These are generic installation instructions.
- + Briefly, the shell commands `./configure; make; make install' should
- +configure, build, and install this package. The following
- +more-detailed instructions are generic; see the `README' file for
- +instructions specific to this package. Some packages provide this
- +`INSTALL' file but do not implement all of the features documented
- +below. The lack of an optional feature in a given package is not
- +necessarily a bug. More recommendations for GNU packages can be found
- +in *note Makefile Conventions: (standards)Makefile Conventions.
-
- The `configure' shell script attempts to guess correct values for
- various system-dependent variables used during compilation. It uses
- @@ -23,9 +32,9 @@
-
- It can also use an optional file (typically called `config.cache'
- and enabled with `--cache-file=config.cache' or simply `-C') that saves
- -the results of its tests to speed up reconfiguring. (Caching is
- +the results of its tests to speed up reconfiguring. Caching is
- disabled by default to prevent problems with accidental use of stale
- -cache files.)
- +cache files.
-
- If you need to do unusual things to compile the package, please try
- to figure out how `configure' could check whether to do them, and mail
- @@ -35,30 +44,37 @@
- may remove or edit it.
-
- The file `configure.ac' (or `configure.in') is used to create
- -`configure' by a program called `autoconf'. You only need
- -`configure.ac' if you want to change it or regenerate `configure' using
- -a newer version of `autoconf'.
- +`configure' by a program called `autoconf'. You need `configure.ac' if
- +you want to change it or regenerate `configure' using a newer version
- +of `autoconf'.
-
- -The simplest way to compile this package is:
- + The simplest way to compile this package is:
-
- 1. `cd' to the directory containing the package's source code and type
- - `./configure' to configure the package for your system. If you're
- - using `csh' on an old version of System V, you might need to type
- - `sh ./configure' instead to prevent `csh' from trying to execute
- - `configure' itself.
- + `./configure' to configure the package for your system.
-
- - Running `configure' takes awhile. While running, it prints some
- - messages telling which features it is checking for.
- + Running `configure' might take a while. While running, it prints
- + some messages telling which features it is checking for.
-
- 2. Type `make' to compile the package.
-
- 3. Optionally, type `make check' to run any self-tests that come with
- - the package.
- + the package, generally using the just-built uninstalled binaries.
-
- 4. Type `make install' to install the programs and any data files and
- - documentation.
- + documentation. When installing into a prefix owned by root, it is
- + recommended that the package be configured and built as a regular
- + user, and only the `make install' phase executed with root
- + privileges.
- +
- + 5. Optionally, type `make installcheck' to repeat any self-tests, but
- + this time using the binaries in their final installed location.
- + This target does not install anything. Running this target as a
- + regular user, particularly if the prior `make install' required
- + root privileges, verifies that the installation completed
- + correctly.
-
- - 5. You can remove the program binaries and object files from the
- + 6. You can remove the program binaries and object files from the
- source code directory by typing `make clean'. To also remove the
- files that `configure' created (so you can compile the package for
- a different kind of computer), type `make distclean'. There is
- @@ -67,45 +83,69 @@
- all sorts of other programs in order to regenerate files that came
- with the distribution.
-
- + 7. Often, you can also type `make uninstall' to remove the installed
- + files again. In practice, not all packages have tested that
- + uninstallation works correctly, even though it is required by the
- + GNU Coding Standards.
- +
- + 8. Some packages, particularly those that use Automake, provide `make
- + distcheck', which can by used by developers to test that all other
- + targets like `make install' and `make uninstall' work correctly.
- + This target is generally not run by end users.
- +
- Compilers and Options
- =====================
-
- -Some systems require unusual options for compilation or linking that the
- -`configure' script does not know about. Run `./configure --help' for
- -details on some of the pertinent environment variables.
- + Some systems require unusual options for compilation or linking that
- +the `configure' script does not know about. Run `./configure --help'
- +for details on some of the pertinent environment variables.
-
- You can give `configure' initial values for configuration parameters
- by setting variables in the command line or in the environment. Here
- is an example:
-
- - ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
- + ./configure CC=c99 CFLAGS=-g LIBS=-lposix
-
- *Note Defining Variables::, for more details.
-
- Compiling For Multiple Architectures
- ====================================
-
- -You can compile the package for more than one kind of computer at the
- + You can compile the package for more than one kind of computer at the
- same time, by placing the object files for each architecture in their
- -own directory. To do this, you must use a version of `make' that
- -supports the `VPATH' variable, such as GNU `make'. `cd' to the
- +own directory. To do this, you can use GNU `make'. `cd' to the
- directory where you want the object files and executables to go and run
- the `configure' script. `configure' automatically checks for the
- -source code in the directory that `configure' is in and in `..'.
- +source code in the directory that `configure' is in and in `..'. This
- +is known as a "VPATH" build.
-
- - If you have to use a `make' that does not support the `VPATH'
- -variable, you have to compile the package for one architecture at a
- -time in the source code directory. After you have installed the
- -package for one architecture, use `make distclean' before reconfiguring
- -for another architecture.
- + With a non-GNU `make', it is safer to compile the package for one
- +architecture at a time in the source code directory. After you have
- +installed the package for one architecture, use `make distclean' before
- +reconfiguring for another architecture.
- +
- + On MacOS X 10.5 and later systems, you can create libraries and
- +executables that work on multiple system types--known as "fat" or
- +"universal" binaries--by specifying multiple `-arch' options to the
- +compiler but only a single `-arch' option to the preprocessor. Like
- +this:
- +
- + ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
- + CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
- + CPP="gcc -E" CXXCPP="g++ -E"
- +
- + This is not guaranteed to produce working output in all cases, you
- +may have to build one architecture at a time and combine the results
- +using the `lipo' tool if you have problems.
-
- Installation Names
- ==================
-
- -By default, `make install' installs the package's commands under
- + By default, `make install' installs the package's commands under
- `/usr/local/bin', include files under `/usr/local/include', etc. You
- can specify an installation prefix other than `/usr/local' by giving
- -`configure' the option `--prefix=PREFIX'.
- +`configure' the option `--prefix=PREFIX', where PREFIX must be an
- +absolute file name.
-
- You can specify separate installation prefixes for
- architecture-specific files and architecture-independent files. If you
- @@ -116,16 +156,47 @@
- In addition, if you use an unusual directory layout you can give
- options like `--bindir=DIR' to specify different values for particular
- kinds of files. Run `configure --help' for a list of the directories
- -you can set and what kinds of files go in them.
- +you can set and what kinds of files go in them. In general, the
- +default for these options is expressed in terms of `${prefix}', so that
- +specifying just `--prefix' will affect all of the other directory
- +specifications that were not explicitly provided.
- +
- + The most portable way to affect installation locations is to pass the
- +correct locations to `configure'; however, many packages provide one or
- +both of the following shortcuts of passing variable assignments to the
- +`make install' command line to change installation locations without
- +having to reconfigure or recompile.
- +
- + The first method involves providing an override variable for each
- +affected directory. For example, `make install
- +prefix=/alternate/directory' will choose an alternate location for all
- +directory configuration variables that were expressed in terms of
- +`${prefix}'. Any directories that were specified during `configure',
- +but not in terms of `${prefix}', must each be overridden at install
- +time for the entire installation to be relocated. The approach of
- +makefile variable overrides for each directory variable is required by
- +the GNU Coding Standards, and ideally causes no recompilation.
- +However, some platforms have known limitations with the semantics of
- +shared libraries that end up requiring recompilation when using this
- +method, particularly noticeable in packages that use GNU Libtool.
- +
- + The second method involves providing the `DESTDIR' variable. For
- +example, `make install DESTDIR=/alternate/directory' will prepend
- +`/alternate/directory' before all installation names. The approach of
- +`DESTDIR' overrides is not required by the GNU Coding Standards, and
- +does not work on platforms that have drive letters. On the other hand,
- +it does better at avoiding recompilation issues, and works well even
- +when some directory options were not specified in terms of `${prefix}'
- +at `configure' time.
- +
- +Optional Features
- +=================
-
- If the package supports it, you can cause programs to be installed
- with an extra prefix or suffix on their names by giving `configure' the
- option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
-
- -Optional Features
- -=================
- -
- -Some packages pay attention to `--enable-FEATURE' options to
- + Some packages pay attention to `--enable-FEATURE' options to
- `configure', where FEATURE indicates an optional part of the package.
- They may also pay attention to `--with-PACKAGE' options, where PACKAGE
- is something like `gnu-as' or `x' (for the X Window System). The
- @@ -137,14 +208,53 @@
- you can use the `configure' options `--x-includes=DIR' and
- `--x-libraries=DIR' to specify their locations.
-
- + Some packages offer the ability to configure how verbose the
- +execution of `make' will be. For these packages, running `./configure
- +--enable-silent-rules' sets the default to minimal output, which can be
- +overridden with `make V=1'; while running `./configure
- +--disable-silent-rules' sets the default to verbose, which can be
- +overridden with `make V=0'.
- +
- +Particular systems
- +==================
- +
- + On HP-UX, the default C compiler is not ANSI C compatible. If GNU
- +CC is not installed, it is recommended to use the following options in
- +order to use an ANSI C compiler:
- +
- + ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
- +
- +and if that doesn't work, install pre-built binaries of GCC for HP-UX.
- +
- + On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
- +parse its `<wchar.h>' header file. The option `-nodtk' can be used as
- +a workaround. If GNU CC is not installed, it is therefore recommended
- +to try
- +
- + ./configure CC="cc"
- +
- +and if that doesn't work, try
- +
- + ./configure CC="cc -nodtk"
- +
- + On Solaris, don't put `/usr/ucb' early in your `PATH'. This
- +directory contains several dysfunctional programs; working variants of
- +these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
- +in your `PATH', put it _after_ `/usr/bin'.
- +
- + On Haiku, software installed for all users goes in `/boot/common',
- +not `/usr/local'. It is recommended to use the following options:
- +
- + ./configure --prefix=/boot/common
- +
- Specifying the System Type
- ==========================
-
- -There may be some features `configure' cannot figure out automatically,
- -but needs to determine by the type of machine the package will run on.
- -Usually, assuming the package is built to be run on the _same_
- -architectures, `configure' can figure that out, but if it prints a
- -message saying it cannot guess the machine type, give it the
- + There may be some features `configure' cannot figure out
- +automatically, but needs to determine by the type of machine the package
- +will run on. Usually, assuming the package is built to be run on the
- +_same_ architectures, `configure' can figure that out, but if it prints
- +a message saying it cannot guess the machine type, give it the
- `--build=TYPE' option. TYPE can either be a short name for the system
- type, such as `sun4', or a canonical name which has the form:
-
- @@ -152,7 +262,8 @@
-
- where SYSTEM can have one of these forms:
-
- - OS KERNEL-OS
- + OS
- + KERNEL-OS
-
- See the file `config.sub' for the possible values of each field. If
- `config.sub' isn't included in this package, then this package doesn't
- @@ -170,9 +281,9 @@
- Sharing Defaults
- ================
-
- -If you want to set default values for `configure' scripts to share, you
- -can create a site shell script called `config.site' that gives default
- -values for variables like `CC', `cache_file', and `prefix'.
- + If you want to set default values for `configure' scripts to share,
- +you can create a site shell script called `config.site' that gives
- +default values for variables like `CC', `cache_file', and `prefix'.
- `configure' looks for `PREFIX/share/config.site' if it exists, then
- `PREFIX/etc/config.site' if it exists. Or, you can set the
- `CONFIG_SITE' environment variable to the location of the site script.
- @@ -181,7 +292,7 @@
- Defining Variables
- ==================
-
- -Variables not defined in a site shell script can be set in the
- + Variables not defined in a site shell script can be set in the
- environment passed to `configure'. However, some packages may run
- configure again during the build, and the customized values of these
- variables may be lost. In order to avoid this problem, you should set
- @@ -190,21 +301,29 @@
- ./configure CC=/usr/local2/bin/gcc
-
- causes the specified `gcc' to be used as the C compiler (unless it is
- -overridden in the site shell script). Here is a another example:
- +overridden in the site shell script).
-
- - /bin/bash ./configure CONFIG_SHELL=/bin/bash
- +Unfortunately, this technique does not work for `CONFIG_SHELL' due to
- +an Autoconf bug. Until the bug is fixed you can use this workaround:
-
- -Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
- -configuration-related scripts to be executed by `/bin/bash'.
- + CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
-
- `configure' Invocation
- ======================
-
- -`configure' recognizes the following options to control how it operates.
- + `configure' recognizes the following options to control how it
- +operates.
-
- `--help'
- `-h'
- - Print a summary of the options to `configure', and exit.
- + Print a summary of all of the options to `configure', and exit.
- +
- +`--help=short'
- +`--help=recursive'
- + Print a summary of the options unique to this package's
- + `configure', and exit. The `short' variant lists options used
- + only in the top level, while the `recursive' variant lists options
- + also present in any nested packages.
-
- `--version'
- `-V'
- @@ -231,6 +350,16 @@
- Look for the package's source code in directory DIR. Usually
- `configure' can determine that directory automatically.
-
- +`--prefix=DIR'
- + Use DIR as the installation prefix. *note Installation Names::
- + for more details, including other options available for fine-tuning
- + the installation locations.
- +
- +`--no-create'
- +`-n'
- + Run the configure checks, but stop before creating any output
- + files.
- +
- `configure' also accepts some other, not widely useful, options. Run
- `configure --help' for more details.
-
- diff -Nur exmap-console-0.4.1.orig/Makefile.am exmap-console-0.4.1/Makefile.am
- --- exmap-console-0.4.1.orig/Makefile.am 2006-11-06 18:05:01.000000000 +0100
- +++ exmap-console-0.4.1/Makefile.am 2011-01-11 12:44:03.000000000 +0100
- @@ -1,4 +1,4 @@
- -SUBDIRS=kernel src doc
- +SUBDIRS=src
-
- DISTCLEANFILES = *~ Makefile.in install-sh missing depcomp *.m4 config.log config.status Makefile
-
- diff -Nur exmap-console-0.4.1.orig/Makefile.in exmap-console-0.4.1/Makefile.in
- --- exmap-console-0.4.1.orig/Makefile.in 2007-02-26 12:44:02.000000000 +0100
- +++ exmap-console-0.4.1/Makefile.in 2011-01-11 12:44:16.000000000 +0100
- @@ -1,8 +1,9 @@
- -# Makefile.in generated by automake 1.9.6 from Makefile.am.
- +# Makefile.in generated by automake 1.11.1 from Makefile.am.
- # @configure_input@
-
- # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- -# 2003, 2004, 2005 Free Software Foundation, Inc.
- +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
- +# Inc.
- # This Makefile.in is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
- # with or without modifications, as long as this notice is preserved.
- @@ -13,15 +14,12 @@
- # PARTICULAR PURPOSE.
-
- @SET_MAKE@
- -srcdir = @srcdir@
- -top_srcdir = @top_srcdir@
- VPATH = @srcdir@
- pkgdatadir = $(datadir)/@PACKAGE@
- -pkglibdir = $(libdir)/@PACKAGE@
- pkgincludedir = $(includedir)/@PACKAGE@
- -top_builddir = .
- +pkglibdir = $(libdir)/@PACKAGE@
- +pkglibexecdir = $(libexecdir)/@PACKAGE@
- am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
- -INSTALL = @INSTALL@
- install_sh_DATA = $(install_sh) -c -m 644
- install_sh_PROGRAM = $(install_sh) -c
- install_sh_SCRIPT = $(install_sh) -c
- @@ -42,17 +40,24 @@
- am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
- am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
- - configure.lineno configure.status.lineno
- + configure.lineno config.status.lineno
- mkinstalldirs = $(install_sh) -d
- CONFIG_CLEAN_FILES =
- +CONFIG_CLEAN_VPATH_FILES =
- SOURCES =
- DIST_SOURCES =
- RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- - install-exec-recursive install-info-recursive \
- - install-recursive installcheck-recursive installdirs-recursive \
- - pdf-recursive ps-recursive uninstall-info-recursive \
- - uninstall-recursive
- + install-dvi-recursive install-exec-recursive \
- + install-html-recursive install-info-recursive \
- + install-pdf-recursive install-ps-recursive install-recursive \
- + installcheck-recursive installdirs-recursive pdf-recursive \
- + ps-recursive uninstall-recursive
- +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
- + distclean-recursive maintainer-clean-recursive
- +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
- + distdir dist dist-all distcheck
- ETAGS = etags
- CTAGS = ctags
- DIST_SUBDIRS = $(SUBDIRS)
- @@ -60,16 +65,39 @@
- distdir = $(PACKAGE)-$(VERSION)
- top_distdir = $(distdir)
- am__remove_distdir = \
- - { test ! -d $(distdir) \
- - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
- - && rm -fr $(distdir); }; }
- + { test ! -d "$(distdir)" \
- + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
- + && rm -fr "$(distdir)"; }; }
- +am__relativize = \
- + dir0=`pwd`; \
- + sed_first='s,^\([^/]*\)/.*$$,\1,'; \
- + sed_rest='s,^[^/]*/*,,'; \
- + sed_last='s,^.*/\([^/]*\)$$,\1,'; \
- + sed_butlast='s,/*[^/]*$$,,'; \
- + while test -n "$$dir1"; do \
- + first=`echo "$$dir1" | sed -e "$$sed_first"`; \
- + if test "$$first" != "."; then \
- + if test "$$first" = ".."; then \
- + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
- + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
- + else \
- + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
- + if test "$$first2" = "$$first"; then \
- + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
- + else \
- + dir2="../$$dir2"; \
- + fi; \
- + dir0="$$dir0"/"$$first"; \
- + fi; \
- + fi; \
- + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
- + done; \
- + reldir="$$dir2"
- DIST_ARCHIVES = $(distdir).tar.gz
- GZIP_ENV = --best
- distuninstallcheck_listfiles = find . -type f -print
- distcleancheck_listfiles = find . -type f -print
- ACLOCAL = @ACLOCAL@
- -AMDEP_FALSE = @AMDEP_FALSE@
- -AMDEP_TRUE = @AMDEP_TRUE@
- AMTAR = @AMTAR@
- AUTOCONF = @AUTOCONF@
- AUTOHEADER = @AUTOHEADER@
- @@ -82,8 +110,6 @@
- CYGPATH_W = @CYGPATH_W@
- DEFS = @DEFS@
- DEPDIR = @DEPDIR@
- -DODOCS_FALSE = @DODOCS_FALSE@
- -DODOCS_TRUE = @DODOCS_TRUE@
- ECHO_C = @ECHO_C@
- ECHO_N = @ECHO_N@
- ECHO_T = @ECHO_T@
- @@ -91,38 +117,41 @@
- GCC_CFLAGS = @GCC_CFLAGS@
- GLIB_CFLAGS = @GLIB_CFLAGS@
- GLIB_LIBS = @GLIB_LIBS@
- -HAVE_HELPTOMAN_FALSE = @HAVE_HELPTOMAN_FALSE@
- -HAVE_HELPTOMAN_TRUE = @HAVE_HELPTOMAN_TRUE@
- HELPTOMAN = @HELPTOMAN@
- +INSTALL = @INSTALL@
- INSTALL_DATA = @INSTALL_DATA@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
- INSTALL_SCRIPT = @INSTALL_SCRIPT@
- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- -INTERACTIVE_FALSE = @INTERACTIVE_FALSE@
- -INTERACTIVE_TRUE = @INTERACTIVE_TRUE@
- LDFLAGS = @LDFLAGS@
- LIBOBJS = @LIBOBJS@
- LIBS = @LIBS@
- LTLIBOBJS = @LTLIBOBJS@
- MAKEINFO = @MAKEINFO@
- +MKDIR_P = @MKDIR_P@
- OBJEXT = @OBJEXT@
- PACKAGE = @PACKAGE@
- PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- PACKAGE_NAME = @PACKAGE_NAME@
- PACKAGE_STRING = @PACKAGE_STRING@
- PACKAGE_TARNAME = @PACKAGE_TARNAME@
- +PACKAGE_URL = @PACKAGE_URL@
- PACKAGE_VERSION = @PACKAGE_VERSION@
- PATH_SEPARATOR = @PATH_SEPARATOR@
- PKG_CONFIG = @PKG_CONFIG@
- +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
- +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
- READLINE_CFLAGS = @READLINE_CFLAGS@
- READLINE_LIBS = @READLINE_LIBS@
- SET_MAKE = @SET_MAKE@
- SHELL = @SHELL@
- STRIP = @STRIP@
- VERSION = @VERSION@
- +abs_builddir = @abs_builddir@
- +abs_srcdir = @abs_srcdir@
- +abs_top_builddir = @abs_top_builddir@
- +abs_top_srcdir = @abs_top_srcdir@
- ac_ct_CC = @ac_ct_CC@
- -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
- -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
- am__include = @am__include@
- am__leading_dot = @am__leading_dot@
- am__quote = @am__quote@
- @@ -130,6 +159,7 @@
- am__untar = @am__untar@
- bindir = @bindir@
- build_alias = @build_alias@
- +builddir = @builddir@
- datadir = @datadir@
- datarootdir = @datarootdir@
- docdir = @docdir@
- @@ -153,9 +183,13 @@
- psdir = @psdir@
- sbindir = @sbindir@
- sharedstatedir = @sharedstatedir@
- +srcdir = @srcdir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- -SUBDIRS = kernel src doc
- +top_build_prefix = @top_build_prefix@
- +top_builddir = @top_builddir@
- +top_srcdir = @top_srcdir@
- +SUBDIRS = src
- DISTCLEANFILES = *~ Makefile.in install-sh missing depcomp *.m4 config.log config.status Makefile
- all: all-recursive
-
- @@ -166,15 +200,15 @@
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- - echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
- - cd $(srcdir) && $(AUTOMAKE) --gnu \
- + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
- + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
- - cd $(top_srcdir) && \
- - $(AUTOMAKE) --gnu Makefile
- + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
- + $(am__cd) $(top_srcdir) && \
- + $(AUTOMAKE) --gnu Makefile
- .PRECIOUS: Makefile
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- @@ -190,10 +224,10 @@
- $(SHELL) ./config.status --recheck
-
- $(top_srcdir)/configure: $(am__configure_deps)
- - cd $(srcdir) && $(AUTOCONF)
- + $(am__cd) $(srcdir) && $(AUTOCONF)
- $(ACLOCAL_M4): $(am__aclocal_m4_deps)
- - cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
- -uninstall-info-am:
- + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
- +$(am__aclocal_m4_deps):
-
- # This directory's subdirectories are mostly independent; you can cd
- # into them and run `make' without going through this Makefile.
- @@ -202,7 +236,7 @@
- # (which will cause the Makefiles to be regenerated when you run `make');
- # (2) otherwise, pass the desired values on the `make' command line.
- $(RECURSIVE_TARGETS):
- - @failcom='exit 1'; \
- + @fail= failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- @@ -219,16 +253,15 @@
- else \
- local_target="$$target"; \
- fi; \
- - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
- done; \
- if test "$$dot_seen" = "no"; then \
- $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
- fi; test -z "$$fail"
-
- -mostlyclean-recursive clean-recursive distclean-recursive \
- -maintainer-clean-recursive:
- - @failcom='exit 1'; \
- +$(RECURSIVE_CLEAN_TARGETS):
- + @fail= failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- @@ -254,16 +287,16 @@
- else \
- local_target="$$target"; \
- fi; \
- - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || eval $$failcom; \
- done && test -z "$$fail"
- tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
- ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-
- ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- @@ -271,14 +304,14 @@
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- - $(AWK) ' { files[$$0] = 1; } \
- - END { for (i in files) print i; }'`; \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
- tags: TAGS
-
- TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- - tags=; \
- + set x; \
- here=`pwd`; \
- if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
- include_option=--etags-include; \
- @@ -290,92 +323,114 @@
- list='$(SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
- test ! -f $$subdir/TAGS || \
- - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
- + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
- fi; \
- done; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- - $(AWK) ' { files[$$0] = 1; } \
- - END { for (i in files) print i; }'`; \
- - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + shift; \
- + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
- test -n "$$unique" || unique=$$empty_fix; \
- - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- - $$tags $$unique; \
- + if test $$# -gt 0; then \
- + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- + "$$@" $$unique; \
- + else \
- + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- + $$unique; \
- + fi; \
- fi
- ctags: CTAGS
- CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- - tags=; \
- - here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- - $(AWK) ' { files[$$0] = 1; } \
- - END { for (i in files) print i; }'`; \
- - test -z "$(CTAGS_ARGS)$$tags$$unique" \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + test -z "$(CTAGS_ARGS)$$unique" \
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- - $$tags $$unique
- + $$unique
-
- GTAGS:
- here=`$(am__cd) $(top_builddir) && pwd` \
- - && cd $(top_srcdir) \
- - && gtags -i $(GTAGS_ARGS) $$here
- + && $(am__cd) $(top_srcdir) \
- + && gtags -i $(GTAGS_ARGS) "$$here"
-
- distclean-tags:
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
- distdir: $(DISTFILES)
- $(am__remove_distdir)
- - mkdir $(distdir)
- - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
- - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
- - list='$(DISTFILES)'; for file in $$list; do \
- - case $$file in \
- - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
- - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
- - esac; \
- + test -d "$(distdir)" || mkdir "$(distdir)"
- + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + list='$(DISTFILES)'; \
- + dist_files=`for file in $$list; do echo $$file; done | \
- + sed -e "s|^$$srcdirstrip/||;t" \
- + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- + case $$dist_files in \
- + */*) $(MKDIR_P) `echo "$$dist_files" | \
- + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- + sort -u` ;; \
- + esac; \
- + for file in $$dist_files; do \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
- - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
- - dir="/$$dir"; \
- - $(mkdir_p) "$(distdir)$$dir"; \
- - else \
- - dir=''; \
- - fi; \
- if test -d $$d/$$file; then \
- + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- + if test -d "$(distdir)/$$file"; then \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- fi; \
- - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- else \
- - test -f $(distdir)/$$file \
- - || cp -p $$d/$$file $(distdir)/$$file \
- + test -f "$(distdir)/$$file" \
- + || cp -p $$d/$$file "$(distdir)/$$file" \
- || exit 1; \
- fi; \
- done
- - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
- test -d "$(distdir)/$$subdir" \
- - || $(mkdir_p) "$(distdir)/$$subdir" \
- + || $(MKDIR_P) "$(distdir)/$$subdir" \
- || exit 1; \
- - distdir=`$(am__cd) $(distdir) && pwd`; \
- - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
- - (cd $$subdir && \
- + fi; \
- + done
- + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- + if test "$$subdir" = .; then :; else \
- + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
- + $(am__relativize); \
- + new_distdir=$$reldir; \
- + dir1=$$subdir; dir2="$(top_distdir)"; \
- + $(am__relativize); \
- + new_top_distdir=$$reldir; \
- + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
- + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
- + ($(am__cd) $$subdir && \
- $(MAKE) $(AM_MAKEFLAGS) \
- - top_distdir="$$top_distdir" \
- - distdir="$$distdir/$$subdir" \
- + top_distdir="$$new_top_distdir" \
- + distdir="$$new_distdir" \
- + am__remove_distdir=: \
- + am__skip_length_check=: \
- + am__skip_mode_fix=: \
- distdir) \
- || exit 1; \
- fi; \
- done
- - -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
- + -test -n "$(am__skip_mode_fix)" \
- + || find "$(distdir)" -type d ! -perm -755 \
- + -exec chmod u+rwx,go+rx {} \; -o \
- ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
- ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
- - ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
- - || chmod -R a+r $(distdir)
- + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
- + || chmod -R a+r "$(distdir)"
- dist-gzip: distdir
- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
- $(am__remove_distdir)
- @@ -384,6 +439,14 @@
- tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
- $(am__remove_distdir)
-
- +dist-lzma: distdir
- + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
- + $(am__remove_distdir)
- +
- +dist-xz: distdir
- + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
- + $(am__remove_distdir)
- +
- dist-tarZ: distdir
- tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
- $(am__remove_distdir)
- @@ -407,13 +470,17 @@
- distcheck: dist
- case '$(DIST_ARCHIVES)' in \
- *.tar.gz*) \
- - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
- + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
- *.tar.bz2*) \
- - bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
- + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
- + *.tar.lzma*) \
- + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
- + *.tar.xz*) \
- + xz -dc $(distdir).tar.xz | $(am__untar) ;;\
- *.tar.Z*) \
- uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
- *.shar.gz*) \
- - GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
- + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
- *.zip*) \
- unzip $(distdir).zip ;;\
- esac
- @@ -421,9 +488,11 @@
- mkdir $(distdir)/_build
- mkdir $(distdir)/_inst
- chmod a-w $(distdir)
- + test -d $(distdir)/_build || exit 0; \
- dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
- && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
- - && cd $(distdir)/_build \
- + && am__cwd=`pwd` \
- + && $(am__cd) $(distdir)/_build \
- && ../configure --srcdir=.. --prefix="$$dc_install_base" \
- $(DISTCHECK_CONFIGURE_FLAGS) \
- && $(MAKE) $(AM_MAKEFLAGS) \
- @@ -445,13 +514,15 @@
- && rm -rf "$$dc_destdir" \
- && $(MAKE) $(AM_MAKEFLAGS) dist \
- && rm -rf $(DIST_ARCHIVES) \
- - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
- + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
- + && cd "$$am__cwd" \
- + || exit 1
- $(am__remove_distdir)
- @(echo "$(distdir) archives ready for distribution: "; \
- list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
- - sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
- + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
- distuninstallcheck:
- - @cd $(distuninstallcheck_dir) \
- + @$(am__cd) '$(distuninstallcheck_dir)' \
- && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
- || { echo "ERROR: files left after uninstall:" ; \
- if test -n "$(DESTDIR)"; then \
- @@ -493,6 +564,7 @@
-
- distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
-
- maintainer-clean-generic:
- @@ -510,18 +582,38 @@
-
- html: html-recursive
-
- +html-am:
- +
- info: info-recursive
-
- info-am:
-
- install-data-am:
-
- +install-dvi: install-dvi-recursive
- +
- +install-dvi-am:
- +
- install-exec-am:
-
- +install-html: install-html-recursive
- +
- +install-html-am:
- +
- install-info: install-info-recursive
-
- +install-info-am:
- +
- install-man:
-
- +install-pdf: install-pdf-recursive
- +
- +install-pdf-am:
- +
- +install-ps: install-ps-recursive
- +
- +install-ps-am:
- +
- installcheck-am:
-
- maintainer-clean: maintainer-clean-recursive
- @@ -542,29 +634,32 @@
-
- ps-am:
-
- -uninstall-am: uninstall-info-am
- +uninstall-am:
-
- -uninstall-info: uninstall-info-recursive
- +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
- + install-am install-strip tags-recursive
-
- -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
- - check-am clean clean-generic clean-recursive ctags \
- - ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
- - dist-tarZ dist-zip distcheck distclean distclean-generic \
- - distclean-recursive distclean-tags distcleancheck distdir \
- - distuninstallcheck dvi dvi-am html html-am info info-am \
- - install install-am install-data install-data-am install-exec \
- - install-exec-am install-info install-info-am install-man \
- - install-strip installcheck installcheck-am installdirs \
- - installdirs-am maintainer-clean maintainer-clean-generic \
- - maintainer-clean-recursive mostlyclean mostlyclean-generic \
- - mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
- - uninstall uninstall-am uninstall-info-am
- +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- + all all-am am--refresh check check-am clean clean-generic \
- + ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
- + dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
- + distclean distclean-generic distclean-tags distcleancheck \
- + distdir distuninstallcheck dvi dvi-am html html-am info \
- + info-am install install-am install-data install-data-am \
- + install-dvi install-dvi-am install-exec install-exec-am \
- + install-html install-html-am install-info install-info-am \
- + install-man install-pdf install-pdf-am install-ps \
- + install-ps-am install-strip installcheck installcheck-am \
- + installdirs installdirs-am maintainer-clean \
- + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- + pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
-
-
- local-distclean:
- $(RM) -rf autom4te.cache
-
- distclean: distclean-recursive local-distclean
- +
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
- .NOEXPORT:
- diff -Nur exmap-console-0.4.1.orig/aclocal.m4 exmap-console-0.4.1/aclocal.m4
- --- exmap-console-0.4.1.orig/aclocal.m4 2007-02-26 12:43:59.000000000 +0100
- +++ exmap-console-0.4.1/aclocal.m4 2011-01-11 12:44:15.000000000 +0100
- @@ -1,7 +1,7 @@
- -# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
- +# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
-
- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
- -# 2005 Free Software Foundation, Inc.
- +# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
- # with or without modifications, as long as this notice is preserved.
- @@ -11,7 +11,16 @@
- # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- # PARTICULAR PURPOSE.
-
- +m4_ifndef([AC_AUTOCONF_VERSION],
- + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
- +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
- +[m4_warning([this file was generated for autoconf 2.68.
- +You have another version of autoconf. It may work, but is not guaranteed to.
- +If you have problems, you may need to regenerate the build system entirely.
- +To do so, use the procedure documented by the package, typically `autoreconf'.])])
- +
- # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
- +# serial 1 (pkg-config-0.24)
- #
- # Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
- #
- @@ -39,7 +48,10 @@
- AC_DEFUN([PKG_PROG_PKG_CONFIG],
- [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
- m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
- -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
- +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
- +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
- +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
- +
- if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
- AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
- fi
- @@ -52,7 +64,6 @@
- AC_MSG_RESULT([no])
- PKG_CONFIG=""
- fi
- -
- fi[]dnl
- ])# PKG_PROG_PKG_CONFIG
-
- @@ -61,34 +72,31 @@
- # Check to see whether a particular set of modules exists. Similar
- # to PKG_CHECK_MODULES(), but does not set variables or print errors.
- #
- -#
- -# Similar to PKG_CHECK_MODULES, make sure that the first instance of
- -# this or PKG_CHECK_MODULES is called, or make sure to call
- -# PKG_CHECK_EXISTS manually
- +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
- +# only at the first occurence in configure.ac, so if the first place
- +# it's called might be skipped (such as if it is within an "if", you
- +# have to call PKG_CHECK_EXISTS manually
- # --------------------------------------------------------------
- AC_DEFUN([PKG_CHECK_EXISTS],
- [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
- if test -n "$PKG_CONFIG" && \
- AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
- - m4_ifval([$2], [$2], [:])
- + m4_default([$2], [:])
- m4_ifvaln([$3], [else
- $3])dnl
- fi])
-
- -
- # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
- # ---------------------------------------------
- m4_define([_PKG_CONFIG],
- -[if test -n "$PKG_CONFIG"; then
- - if test -n "$$1"; then
- - pkg_cv_[]$1="$$1"
- - else
- - PKG_CHECK_EXISTS([$3],
- - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
- - [pkg_failed=yes])
- - fi
- -else
- - pkg_failed=untried
- +[if test -n "$$1"; then
- + pkg_cv_[]$1="$$1"
- + elif test -n "$PKG_CONFIG"; then
- + PKG_CHECK_EXISTS([$3],
- + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
- + [pkg_failed=yes])
- + else
- + pkg_failed=untried
- fi[]dnl
- ])# _PKG_CONFIG
-
- @@ -130,16 +138,17 @@
- See the pkg-config man page for more details.])
-
- if test $pkg_failed = yes; then
- + AC_MSG_RESULT([no])
- _PKG_SHORT_ERRORS_SUPPORTED
- if test $_pkg_short_errors_supported = yes; then
- - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
- + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
- else
- - $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
- + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
-
- - ifelse([$4], , [AC_MSG_ERROR(dnl
- + m4_default([$4], [AC_MSG_ERROR(
- [Package requirements ($2) were not met:
-
- $$1_PKG_ERRORS
- @@ -147,28 +156,28 @@
- Consider adjusting the PKG_CONFIG_PATH environment variable if you
- installed software in a non-standard prefix.
-
- -_PKG_TEXT
- -])],
- - [$4])
- +_PKG_TEXT])[]dnl
- + ])
- elif test $pkg_failed = untried; then
- - ifelse([$4], , [AC_MSG_FAILURE(dnl
- + AC_MSG_RESULT([no])
- + m4_default([$4], [AC_MSG_FAILURE(
- [The pkg-config script could not be found or is too old. Make sure it
- is in your PATH or set the PKG_CONFIG environment variable to the full
- path to pkg-config.
-
- _PKG_TEXT
-
- -To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
- - [$4])
- +To get pkg-config, see <http://pkg-config.freedesktop.org/>.])dnl
- + ])
- else
- $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
- $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
- AC_MSG_RESULT([yes])
- - ifelse([$3], , :, [$3])
- + $3
- fi[]dnl
- ])# PKG_CHECK_MODULES
-
- -# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
- +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
- @@ -178,14 +187,31 @@
- # ----------------------------
- # Automake X.Y traces this macro to ensure aclocal.m4 has been
- # generated from the m4 files accompanying Automake X.Y.
- -AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
- +# (This private macro should not be called outside this file.)
- +AC_DEFUN([AM_AUTOMAKE_VERSION],
- +[am__api_version='1.11'
- +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
- +dnl require some minimum version. Point them to the right macro.
- +m4_if([$1], [1.11.1], [],
- + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
- +])
- +
- +# _AM_AUTOCONF_VERSION(VERSION)
- +# -----------------------------
- +# aclocal traces this macro to find the Autoconf version.
- +# This is a private macro too. Using m4_define simplifies
- +# the logic in aclocal, which can simply ignore this definition.
- +m4_define([_AM_AUTOCONF_VERSION], [])
-
- # AM_SET_CURRENT_AUTOMAKE_VERSION
- # -------------------------------
- -# Call AM_AUTOMAKE_VERSION so it can be traced.
- -# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
- +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
- +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
- - [AM_AUTOMAKE_VERSION([1.9.6])])
- +[AM_AUTOMAKE_VERSION([1.11.1])dnl
- +m4_ifndef([AC_AUTOCONF_VERSION],
- + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
- +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
-
- # AM_AUX_DIR_EXPAND -*- Autoconf -*-
-
- @@ -242,14 +268,14 @@
-
- # AM_CONDITIONAL -*- Autoconf -*-
-
- -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
- +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
- # Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
- # with or without modifications, as long as this notice is preserved.
-
- -# serial 7
- +# serial 9
-
- # AM_CONDITIONAL(NAME, SHELL-CONDITION)
- # -------------------------------------
- @@ -258,8 +284,11 @@
- [AC_PREREQ(2.52)dnl
- ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
- -AC_SUBST([$1_TRUE])
- -AC_SUBST([$1_FALSE])
- +AC_SUBST([$1_TRUE])dnl
- +AC_SUBST([$1_FALSE])dnl
- +_AM_SUBST_NOTMAKE([$1_TRUE])dnl
- +_AM_SUBST_NOTMAKE([$1_FALSE])dnl
- +m4_define([_AM_COND_VALUE_$1], [$2])dnl
- if $2; then
- $1_TRUE=
- $1_FALSE='#'
- @@ -273,15 +302,14 @@
- Usually this means the macro was only invoked conditionally.]])
- fi])])
-
- -
- -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
- +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
- # Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
- # with or without modifications, as long as this notice is preserved.
-
- -# serial 8
- +# serial 10
-
- # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
- # written in clear, in which case automake, when reading aclocal.m4,
- @@ -309,6 +337,7 @@
- ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
- [$1], CXX, [depcc="$CXX" am_compiler_list=],
- [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- + [$1], UPC, [depcc="$UPC" am_compiler_list=],
- [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
- @@ -337,6 +366,16 @@
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- + am__universal=false
- + m4_case([$1], [CC],
- + [case " $depcc " in #(
- + *\ -arch\ *\ -arch\ *) am__universal=true ;;
- + esac],
- + [CXX],
- + [case " $depcc " in #(
- + *\ -arch\ *\ -arch\ *) am__universal=true ;;
- + esac])
- +
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- @@ -354,7 +393,17 @@
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- + # We check with `-c' and `-o' for the sake of the "dashmstdout"
- + # mode. It turns out that the SunPro C++ compiler does not properly
- + # handle `-M -o', and we need to detect this. Also, some Intel
- + # versions had trouble with output in subdirs
- + am__obj=sub/conftest.${OBJEXT-o}
- + am__minus_obj="-o $am__obj"
- case $depmode in
- + gcc)
- + # This depmode causes a compiler race in universal mode.
- + test "$am__universal" = false || continue
- + ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- @@ -364,18 +413,23 @@
- break
- fi
- ;;
- + msvisualcpp | msvcmsys)
- + # This compiler won't grok `-c -o', but also, the minuso test has
- + # not run yet. These depmodes are late enough in the game, and
- + # so weak that their functioning should not be impacted.
- + am__obj=conftest.${OBJEXT-o}
- + am__minus_obj=
- + ;;
- none) break ;;
- esac
- - # We check with `-c' and `-o' for the sake of the "dashmstdout"
- - # mode. It turns out that the SunPro C++ compiler does not properly
- - # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- + source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- @@ -426,61 +480,74 @@
- AMDEPBACKSLASH='\'
- fi
- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
- -AC_SUBST([AMDEPBACKSLASH])
- +AC_SUBST([AMDEPBACKSLASH])dnl
- +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
- ])
-
- # Generate code to set up dependency tracking. -*- Autoconf -*-
-
- -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
- +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
- # Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
- # with or without modifications, as long as this notice is preserved.
-
- -#serial 3
- +#serial 5
-
- # _AM_OUTPUT_DEPENDENCY_COMMANDS
- # ------------------------------
- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
- -[for mf in $CONFIG_FILES; do
- - # Strip MF so we end up with the name of the file.
- - mf=`echo "$mf" | sed -e 's/:.*$//'`
- - # Check whether this is an Automake generated Makefile or not.
- - # We used to match only the files named `Makefile.in', but
- - # some people rename them; so instead we look at the file content.
- - # Grep'ing the first line is not enough: some people post-process
- - # each Makefile.in and add a new line on top of each file to say so.
- - # So let's grep whole file.
- - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- - dirpart=`AS_DIRNAME("$mf")`
- - else
- - continue
- - fi
- - # Extract the definition of DEPDIR, am__include, and am__quote
- - # from the Makefile without running `make'.
- - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- - test -z "$DEPDIR" && continue
- - am__include=`sed -n 's/^am__include = //p' < "$mf"`
- - test -z "am__include" && continue
- - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- - # When using ansi2knr, U may be empty or an underscore; expand it
- - U=`sed -n 's/^U = //p' < "$mf"`
- - # Find all dependency output files, they are included files with
- - # $(DEPDIR) in their names. We invoke sed twice because it is the
- - # simplest approach to changing $(DEPDIR) to its actual value in the
- - # expansion.
- - for file in `sed -n "
- - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- - # Make sure the directory exists.
- - test -f "$dirpart/$file" && continue
- - fdir=`AS_DIRNAME(["$file"])`
- - AS_MKDIR_P([$dirpart/$fdir])
- - # echo "creating $dirpart/$file"
- - echo '# dummy' > "$dirpart/$file"
- +[{
- + # Autoconf 2.62 quotes --file arguments for eval, but not when files
- + # are listed without --file. Let's play safe and only enable the eval
- + # if we detect the quoting.
- + case $CONFIG_FILES in
- + *\'*) eval set x "$CONFIG_FILES" ;;
- + *) set x $CONFIG_FILES ;;
- + esac
- + shift
- + for mf
- + do
- + # Strip MF so we end up with the name of the file.
- + mf=`echo "$mf" | sed -e 's/:.*$//'`
- + # Check whether this is an Automake generated Makefile or not.
- + # We used to match only the files named `Makefile.in', but
- + # some people rename them; so instead we look at the file content.
- + # Grep'ing the first line is not enough: some people post-process
- + # each Makefile.in and add a new line on top of each file to say so.
- + # Grep'ing the whole file is not good either: AIX grep has a line
- + # limit of 2048, but all sed's we know have understand at least 4000.
- + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- + dirpart=`AS_DIRNAME("$mf")`
- + else
- + continue
- + fi
- + # Extract the definition of DEPDIR, am__include, and am__quote
- + # from the Makefile without running `make'.
- + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- + test -z "$DEPDIR" && continue
- + am__include=`sed -n 's/^am__include = //p' < "$mf"`
- + test -z "am__include" && continue
- + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- + # When using ansi2knr, U may be empty or an underscore; expand it
- + U=`sed -n 's/^U = //p' < "$mf"`
- + # Find all dependency output files, they are included files with
- + # $(DEPDIR) in their names. We invoke sed twice because it is the
- + # simplest approach to changing $(DEPDIR) to its actual value in the
- + # expansion.
- + for file in `sed -n "
- + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- + # Make sure the directory exists.
- + test -f "$dirpart/$file" && continue
- + fdir=`AS_DIRNAME(["$file"])`
- + AS_MKDIR_P([$dirpart/$fdir])
- + # echo "creating $dirpart/$file"
- + echo '# dummy' > "$dirpart/$file"
- + done
- done
- -done
- +}
- ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
- @@ -499,14 +566,14 @@
-
- # Do all the work for Automake. -*- Autoconf -*-
-
- -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
- -# Free Software Foundation, Inc.
- +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
- +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
- # with or without modifications, as long as this notice is preserved.
-
- -# serial 12
- +# serial 16
-
- # This macro actually does too much. Some checks are only needed if
- # your package does certain things. But this isn't really a big deal.
- @@ -523,16 +590,20 @@
- # arguments mandatory, and then we can depend on a new Autoconf
- # release and drop the old call support.
- AC_DEFUN([AM_INIT_AUTOMAKE],
- -[AC_PREREQ([2.58])dnl
- +[AC_PREREQ([2.62])dnl
- dnl Autoconf wants to disallow AM_ names. We explicitly allow
- dnl the ones we care about.
- m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
- AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
- AC_REQUIRE([AC_PROG_INSTALL])dnl
- -# test to see if srcdir already configured
- -if test "`cd $srcdir && pwd`" != "`pwd`" &&
- - test -f $srcdir/config.status; then
- - AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
- +if test "`cd $srcdir && pwd`" != "`pwd`"; then
- + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
- + # is not polluted with repeated "-I."
- + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
- + # test to see if srcdir already configured
- + if test -f $srcdir/config.status; then
- + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
- + fi
- fi
-
- # test whether we have cygpath
- @@ -552,6 +623,9 @@
- AC_SUBST([PACKAGE], [$1])dnl
- AC_SUBST([VERSION], [$2])],
- [_AM_SET_OPTIONS([$1])dnl
- +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
- +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
- + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
-
- @@ -567,8 +641,8 @@
- AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
- AM_MISSING_PROG(AUTOHEADER, autoheader)
- AM_MISSING_PROG(MAKEINFO, makeinfo)
- -AM_PROG_INSTALL_SH
- -AM_PROG_INSTALL_STRIP
- +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
- +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
- AC_REQUIRE([AM_PROG_MKDIR_P])dnl
- # We need awk for the "check" target. The system "awk" is bad on
- # some platforms.
- @@ -576,20 +650,37 @@
- AC_REQUIRE([AC_PROG_MAKE_SET])dnl
- AC_REQUIRE([AM_SET_LEADING_DOT])dnl
- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
- - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
- - [_AM_PROG_TAR([v7])])])
- + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
- + [_AM_PROG_TAR([v7])])])
- _AM_IF_OPTION([no-dependencies],,
- [AC_PROVIDE_IFELSE([AC_PROG_CC],
- - [_AM_DEPENDENCIES(CC)],
- - [define([AC_PROG_CC],
- - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
- + [_AM_DEPENDENCIES(CC)],
- + [define([AC_PROG_CC],
- + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
- AC_PROVIDE_IFELSE([AC_PROG_CXX],
- - [_AM_DEPENDENCIES(CXX)],
- - [define([AC_PROG_CXX],
- - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
- + [_AM_DEPENDENCIES(CXX)],
- + [define([AC_PROG_CXX],
- + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
- +AC_PROVIDE_IFELSE([AC_PROG_OBJC],
- + [_AM_DEPENDENCIES(OBJC)],
- + [define([AC_PROG_OBJC],
- + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
- ])
- +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
- +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
- +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
- +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
- +AC_CONFIG_COMMANDS_PRE(dnl
- +[m4_provide_if([_AM_COMPILER_EXEEXT],
- + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
- ])
-
- +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
- +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
- +dnl mangled by Autoconf and run in a shell conditional statement.
- +m4_define([_AC_COMPILER_EXEEXT],
- +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
- +
-
- # When config.status generates a header, we must update the stamp-h file.
- # This file resides in the same directory as the config header
- @@ -600,18 +691,19 @@
- # our stamp files there.
- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
- [# Compute $1's index in $config_headers.
- +_am_arg=$1
- _am_stamp_count=1
- for _am_header in $config_headers :; do
- case $_am_header in
- - $1 | $1:* )
- + $_am_arg | $_am_arg:* )
- break ;;
- * )
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
- esac
- done
- -echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
- +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
-
- -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
- +# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
- @@ -622,7 +714,14 @@
- # Define $install_sh.
- AC_DEFUN([AM_PROG_INSTALL_SH],
- [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
- -install_sh=${install_sh-"$am_aux_dir/install-sh"}
- +if test x"${install_sh}" != xset; then
- + case $am_aux_dir in
- + *\ * | *\ *)
- + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
- + *)
- + install_sh="\${SHELL} $am_aux_dir/install-sh"
- + esac
- +fi
- AC_SUBST(install_sh)])
-
- # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
- @@ -648,13 +747,13 @@
-
- # Check to see how 'make' treats includes. -*- Autoconf -*-
-
- -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
- +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
- # with or without modifications, as long as this notice is preserved.
-
- -# serial 3
- +# serial 4
-
- # AM_MAKE_INCLUDE()
- # -----------------
- @@ -663,7 +762,7 @@
- [am_make=${MAKE-make}
- cat > confinc << 'END'
- am__doit:
- - @echo done
- + @echo this is the am__doit target
- .PHONY: am__doit
- END
- # If we don't find an include directive, just comment out the code.
- @@ -673,24 +772,24 @@
- _am_result=none
- # First try GNU make style include.
- echo "include confinc" > confmf
- -# We grep out `Entering directory' and `Leaving directory'
- -# messages which can occur if `w' ends up in MAKEFLAGS.
- -# In particular we don't look at `^make:' because GNU make might
- -# be invoked under some other name (usually "gmake"), in which
- -# case it prints its new name instead of `make'.
- -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- - am__include=include
- - am__quote=
- - _am_result=GNU
- -fi
- +# Ignore all kinds of additional output from `make'.
- +case `$am_make -s -f confmf 2> /dev/null` in #(
- +*the\ am__doit\ target*)
- + am__include=include
- + am__quote=
- + _am_result=GNU
- + ;;
- +esac
- # Now try BSD make style include.
- if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- - am__include=.include
- - am__quote="\""
- - _am_result=BSD
- - fi
- + case `$am_make -s -f confmf 2> /dev/null` in #(
- + *the\ am__doit\ target*)
- + am__include=.include
- + am__quote="\""
- + _am_result=BSD
- + ;;
- + esac
- fi
- AC_SUBST([am__include])
- AC_SUBST([am__quote])
- @@ -700,14 +799,14 @@
-
- # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
-
- -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
- +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
- # Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
- # with or without modifications, as long as this notice is preserved.
-
- -# serial 4
- +# serial 6
-
- # AM_MISSING_PROG(NAME, PROGRAM)
- # ------------------------------
- @@ -723,7 +822,15 @@
- # If it does, set am_missing_run to use it, otherwise, to nothing.
- AC_DEFUN([AM_MISSING_HAS_RUN],
- [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
- -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
- +AC_REQUIRE_AUX_FILE([missing])dnl
- +if test x"${MISSING+set}" != xset; then
- + case $am_aux_dir in
- + *\ * | *\ *)
- + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
- + *)
- + MISSING="\${SHELL} $am_aux_dir/missing" ;;
- + esac
- +fi
- # Use eval to expand $SHELL
- if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
- @@ -733,7 +840,7 @@
- fi
- ])
-
- -# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
- +# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
- @@ -741,70 +848,33 @@
-
- # AM_PROG_MKDIR_P
- # ---------------
- -# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
- -#
- -# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
- -# created by `make install' are always world readable, even if the
- -# installer happens to have an overly restrictive umask (e.g. 077).
- -# This was a mistake. There are at least two reasons why we must not
- -# use `-m 0755':
- -# - it causes special bits like SGID to be ignored,
- -# - it may be too restrictive (some setups expect 775 directories).
- -#
- -# Do not use -m 0755 and let people choose whatever they expect by
- -# setting umask.
- -#
- -# We cannot accept any implementation of `mkdir' that recognizes `-p'.
- -# Some implementations (such as Solaris 8's) are not thread-safe: if a
- -# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
- -# concurrently, both version can detect that a/ is missing, but only
- -# one can create it and the other will error out. Consequently we
- -# restrict ourselves to GNU make (using the --version option ensures
- -# this.)
- +# Check for `mkdir -p'.
- AC_DEFUN([AM_PROG_MKDIR_P],
- -[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
- - # We used to keeping the `.' as first argument, in order to
- - # allow $(mkdir_p) to be used without argument. As in
- - # $(mkdir_p) $(somedir)
- - # where $(somedir) is conditionally defined. However this is wrong
- - # for two reasons:
- - # 1. if the package is installed by a user who cannot write `.'
- - # make install will fail,
- - # 2. the above comment should most certainly read
- - # $(mkdir_p) $(DESTDIR)$(somedir)
- - # so it does not work when $(somedir) is undefined and
- - # $(DESTDIR) is not.
- - # To support the latter case, we have to write
- - # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
- - # so the `.' trick is pointless.
- - mkdir_p='mkdir -p --'
- -else
- - # On NextStep and OpenStep, the `mkdir' command does not
- - # recognize any option. It will interpret all options as
- - # directories to create, and then abort because `.' already
- - # exists.
- - for d in ./-p ./--version;
- - do
- - test -d $d && rmdir $d
- - done
- - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
- - if test -f "$ac_aux_dir/mkinstalldirs"; then
- - mkdir_p='$(mkinstalldirs)'
- - else
- - mkdir_p='$(install_sh) -d'
- - fi
- -fi
- -AC_SUBST([mkdir_p])])
- +[AC_PREREQ([2.60])dnl
- +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
- +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
- +dnl while keeping a definition of mkdir_p for backward compatibility.
- +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
- +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
- +dnl Makefile.ins that do not define MKDIR_P, so we do our own
- +dnl adjustment using top_builddir (which is defined more often than
- +dnl MKDIR_P).
- +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
- +case $mkdir_p in
- + [[\\/$]]* | ?:[[\\/]]*) ;;
- + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
- +esac
- +])
-
- # Helper functions for option handling. -*- Autoconf -*-
-
- -# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
- +# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
- # with or without modifications, as long as this notice is preserved.
-
- -# serial 3
- +# serial 4
-
- # _AM_MANGLE_OPTION(NAME)
- # -----------------------
- @@ -821,7 +891,7 @@
- # ----------------------------------
- # OPTIONS is a space-separated list of Automake options.
- AC_DEFUN([_AM_SET_OPTIONS],
- -[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
- +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
-
- # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
- # -------------------------------------------
- @@ -831,14 +901,14 @@
-
- # Check to make sure that the build environment is sane. -*- Autoconf -*-
-
- -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
- +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
- # Free Software Foundation, Inc.
- #
- # This file is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
- # with or without modifications, as long as this notice is preserved.
-
- -# serial 4
- +# serial 5
-
- # AM_SANITY_CHECK
- # ---------------
- @@ -847,16 +917,29 @@
- # Just in case
- sleep 1
- echo timestamp > conftest.file
- +# Reject unsafe characters in $srcdir or the absolute working directory
- +# name. Accept space and tab only in the latter.
- +am_lf='
- +'
- +case `pwd` in
- + *[[\\\"\#\$\&\'\`$am_lf]]*)
- + AC_MSG_ERROR([unsafe absolute working directory name]);;
- +esac
- +case $srcdir in
- + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
- + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
- +esac
- +
- # Do `set' in a subshell so we don't clobber the current shell's
- # arguments. Must try -L first in case configure is actually a
- # symlink; some systems play weird games with the mod time of symlinks
- # (eg FreeBSD returns the mod time of the symlink's containing
- # directory).
- if (
- - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
- + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- if test "$[*]" = "X"; then
- # -L didn't work.
- - set X `ls -t $srcdir/configure conftest.file`
- + set X `ls -t "$srcdir/configure" conftest.file`
- fi
- rm -f conftest.file
- if test "$[*]" != "X $srcdir/configure conftest.file" \
- @@ -906,9 +989,28 @@
- if test "$cross_compiling" != no; then
- AC_CHECK_TOOL([STRIP], [strip], :)
- fi
- -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
- +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
- AC_SUBST([INSTALL_STRIP_PROGRAM])])
-
- +# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
- +#
- +# This file is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# serial 2
- +
- +# _AM_SUBST_NOTMAKE(VARIABLE)
- +# ---------------------------
- +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
- +# This macro is traced by Automake.
- +AC_DEFUN([_AM_SUBST_NOTMAKE])
- +
- +# AM_SUBST_NOTMAKE(VARIABLE)
- +# ---------------------------
- +# Public sister of _AM_SUBST_NOTMAKE.
- +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
- +
- # Check how to create a tarball. -*- Autoconf -*-
-
- # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
- diff -Nur exmap-console-0.4.1.orig/configure exmap-console-0.4.1/configure
- --- exmap-console-0.4.1.orig/configure 2007-02-26 12:44:00.000000000 +0100
- +++ exmap-console-0.4.1/configure 2011-01-11 12:44:16.000000000 +0100
- @@ -1,58 +1,85 @@
- #! /bin/sh
- # Guess values for system-dependent variables and create Makefiles.
- -# Generated by GNU Autoconf 2.60 for exmap-console 0.4.1.
- +# Generated by GNU Autoconf 2.68 for exmap-console 0.4.1.
- #
- # Report bugs to <tf@o-hand.com>.
- #
- +#
- # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
- -# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
- +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
- +# Foundation, Inc.
- +#
- +#
- # This configure script is free software; the Free Software Foundation
- # gives unlimited permission to copy, distribute and modify it.
- -## --------------------- ##
- -## M4sh Initialization. ##
- -## --------------------- ##
- +## -------------------- ##
- +## M4sh Initialization. ##
- +## -------------------- ##
-
- -# Be Bourne compatible
- -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- +# Be more Bourne compatible
- +DUALCASE=1; export DUALCASE # for MKS sh
- +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
- else
- - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
- + case `(set -o) 2>/dev/null` in #(
- + *posix*) :
- + set -o posix ;; #(
- + *) :
- + ;;
- +esac
- fi
- -BIN_SH=xpg4; export BIN_SH # for Tru64
- -DUALCASE=1; export DUALCASE # for MKS sh
- -
-
- -# PATH needs CR
- -# Avoid depending upon Character Ranges.
- -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
- -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
- -as_cr_digits='0123456789'
- -as_cr_alnum=$as_cr_Letters$as_cr_digits
-
- -# The user is always right.
- -if test "${PATH_SEPARATOR+set}" != set; then
- - echo "#! /bin/sh" >conf$$.sh
- - echo "exit 0" >>conf$$.sh
- - chmod +x conf$$.sh
- - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- - PATH_SEPARATOR=';'
- +as_nl='
- +'
- +export as_nl
- +# Printing a long string crashes Solaris 7 /usr/bin/printf.
- +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
- +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
- +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
- +# Prefer a ksh shell builtin over an external printf program on Solaris,
- +# but without wasting forks for bash or zsh.
- +if test -z "$BASH_VERSION$ZSH_VERSION" \
- + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- + as_echo='print -r --'
- + as_echo_n='print -rn --'
- +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- + as_echo='printf %s\n'
- + as_echo_n='printf %s'
- +else
- + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- + as_echo_n='/usr/ucb/echo -n'
- else
- - PATH_SEPARATOR=:
- + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- + as_echo_n_body='eval
- + arg=$1;
- + case $arg in #(
- + *"$as_nl"*)
- + expr "X$arg" : "X\\(.*\\)$as_nl";
- + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- + esac;
- + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- + '
- + export as_echo_n_body
- + as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- - rm -f conf$$.sh
- + export as_echo_body
- + as_echo='sh -c $as_echo_body as_echo'
- fi
-
- -# Support unset when possible.
- -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- - as_unset=unset
- -else
- - as_unset=false
- +# The user is always right.
- +if test "${PATH_SEPARATOR+set}" != set; then
- + PATH_SEPARATOR=:
- + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- + PATH_SEPARATOR=';'
- + }
- fi
-
-
- @@ -61,20 +88,19 @@
- # there to prevent editors from complaining about space-tab.
- # (If _AS_PATH_WALK were called with IFS unset, it would disable word
- # splitting by setting IFS to empty value.)
- -as_nl='
- -'
- IFS=" "" $as_nl"
-
- # Find who we are. Look in the path if we contain no directory separator.
- -case $0 in
- +as_myself=
- +case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- for as_dir in $PATH
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- -done
- + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- + done
- IFS=$as_save_IFS
-
- ;;
- @@ -85,352 +111,328 @@
- as_myself=$0
- fi
- if test ! -f "$as_myself"; then
- - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- - { (exit 1); exit 1; }
- + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- + exit 1
- fi
-
- -# Work around bugs in pre-3.0 UWIN ksh.
- -for as_var in ENV MAIL MAILPATH
- -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- +# Unset variables that we do not need and which cause bugs (e.g. in
- +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
- +# suppresses any "Segmentation fault" message there. '((' could
- +# trigger a bug in pdksh 5.2.14.
- +for as_var in BASH_ENV ENV MAIL MAILPATH
- +do eval test x\${$as_var+set} = xset \
- + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
- done
- PS1='$ '
- PS2='> '
- PS4='+ '
-
- # NLS nuisances.
- -for as_var in \
- - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- - LC_TELEPHONE LC_TIME
- -do
- - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- - eval $as_var=C; export $as_var
- - else
- - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- - fi
- -done
- -
- -# Required to use basename.
- -if expr a : '\(a\)' >/dev/null 2>&1 &&
- - test "X`expr 00001 : '.*\(...\)'`" = X001; then
- - as_expr=expr
- -else
- - as_expr=false
- -fi
- -
- -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- - as_basename=basename
- -else
- - as_basename=false
- -fi
- -
- -
- -# Name of the executable.
- -as_me=`$as_basename -- "$0" ||
- -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- - X"$0" : 'X\(//\)$' \| \
- - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
- -echo X/"$0" |
- - sed '/^.*\/\([^/][^/]*\)\/*$/{
- - s//\1/
- - q
- - }
- - /^X\/\(\/\/\)$/{
- - s//\1/
- - q
- - }
- - /^X\/\(\/\).*/{
- - s//\1/
- - q
- - }
- - s/.*/./; q'`
- +LC_ALL=C
- +export LC_ALL
- +LANGUAGE=C
- +export LANGUAGE
-
- # CDPATH.
- -$as_unset CDPATH
- -
- +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
- if test "x$CONFIG_SHELL" = x; then
- - if (eval ":") 2>/dev/null; then
- - as_have_required=yes
- + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- + emulate sh
- + NULLCMD=:
- + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- + # is contrary to our usage. Disable this feature.
- + alias -g '\${1+\"\$@\"}'='\"\$@\"'
- + setopt NO_GLOB_SUBST
- else
- - as_have_required=no
- + case \`(set -o) 2>/dev/null\` in #(
- + *posix*) :
- + set -o posix ;; #(
- + *) :
- + ;;
- +esac
- fi
- -
- - if test $as_have_required = yes && (eval ":
- -(as_func_return () {
- - (exit \$1)
- -}
- -as_func_success () {
- - as_func_return 0
- -}
- -as_func_failure () {
- - as_func_return 1
- -}
- -as_func_ret_success () {
- - return 0
- -}
- -as_func_ret_failure () {
- - return 1
- -}
- +"
- + as_required="as_fn_return () { (exit \$1); }
- +as_fn_success () { as_fn_return 0; }
- +as_fn_failure () { as_fn_return 1; }
- +as_fn_ret_success () { return 0; }
- +as_fn_ret_failure () { return 1; }
-
- exitcode=0
- -if as_func_success; then
- - :
- -else
- - exitcode=1
- - echo as_func_success failed.
- -fi
- -
- -if as_func_failure; then
- - exitcode=1
- - echo as_func_failure succeeded.
- -fi
- +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
- +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
- +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
- +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
- +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
- -if as_func_ret_success; then
- - :
- else
- - exitcode=1
- - echo as_func_ret_success failed.
- -fi
- -
- -if as_func_ret_failure; then
- - exitcode=1
- - echo as_func_ret_failure succeeded.
- -fi
- -
- -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- - :
- + exitcode=1; echo positional parameters were not saved.
- +fi
- +test x\$exitcode = x0 || exit 1"
- + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
- + if (eval "$as_required") 2>/dev/null; then :
- + as_have_required=yes
- else
- - exitcode=1
- - echo positional parameters were not saved.
- + as_have_required=no
- fi
- + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
- -test \$exitcode = 0) || { (exit 1); exit 1; }
- -
- -(
- - as_lineno_1=\$LINENO
- - as_lineno_2=\$LINENO
- - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
- - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
- -") 2> /dev/null; then
- - :
- -else
- - as_candidate_shells=
- - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- -for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
- +else
- + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +as_found=false
- +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - case $as_dir in
- + as_found=:
- + case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- - as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
- + # Try only shells that exist, to save several forks.
- + as_shell=$as_dir/$as_base
- + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- + CONFIG_SHELL=$as_shell as_have_required=yes
- + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- + break 2
- +fi
- +fi
- done;;
- esac
- + as_found=false
- done
- +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- + CONFIG_SHELL=$SHELL as_have_required=yes
- +fi; }
- IFS=$as_save_IFS
-
-
- - for as_shell in $as_candidate_shells $SHELL; do
- - # Try only shells that exist, to save several forks.
- - if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- - { ("$as_shell") 2> /dev/null <<\_ASEOF
- -# Be Bourne compatible
- -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- - emulate sh
- - NULLCMD=:
- - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- - # is contrary to our usage. Disable this feature.
- - alias -g '${1+"$@"}'='"$@"'
- - setopt NO_GLOB_SUBST
- -else
- - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
- -fi
- -BIN_SH=xpg4; export BIN_SH # for Tru64
- -DUALCASE=1; export DUALCASE # for MKS sh
- -
- -:
- -_ASEOF
- -}; then
- - CONFIG_SHELL=$as_shell
- - as_have_required=yes
- - if { "$as_shell" 2> /dev/null <<\_ASEOF
- -# Be Bourne compatible
- -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- - emulate sh
- - NULLCMD=:
- - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- - # is contrary to our usage. Disable this feature.
- - alias -g '${1+"$@"}'='"$@"'
- - setopt NO_GLOB_SUBST
- -else
- - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
- -fi
- -BIN_SH=xpg4; export BIN_SH # for Tru64
- -DUALCASE=1; export DUALCASE # for MKS sh
- -
- -:
- -(as_func_return () {
- - (exit $1)
- -}
- -as_func_success () {
- - as_func_return 0
- -}
- -as_func_failure () {
- - as_func_return 1
- -}
- -as_func_ret_success () {
- - return 0
- -}
- -as_func_ret_failure () {
- - return 1
- -}
- -
- -exitcode=0
- -if as_func_success; then
- - :
- -else
- - exitcode=1
- - echo as_func_success failed.
- -fi
- -
- -if as_func_failure; then
- - exitcode=1
- - echo as_func_failure succeeded.
- -fi
- -
- -if as_func_ret_success; then
- - :
- -else
- - exitcode=1
- - echo as_func_ret_success failed.
- -fi
- -
- -if as_func_ret_failure; then
- - exitcode=1
- - echo as_func_ret_failure succeeded.
- -fi
- -
- -if ( set x; as_func_ret_success y && test x = "$1" ); then
- - :
- -else
- - exitcode=1
- - echo positional parameters were not saved.
- + if test "x$CONFIG_SHELL" != x; then :
- + # We cannot yet assume a decent shell, so we have to provide a
- + # neutralization value for shells without unset; and this also
- + # works around shells that cannot unset nonexistent variables.
- + # Preserve -v and -x to the replacement shell.
- + BASH_ENV=/dev/null
- + ENV=/dev/null
- + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- + export CONFIG_SHELL
- + case $- in # ((((
- + *v*x* | *x*v* ) as_opts=-vx ;;
- + *v* ) as_opts=-v ;;
- + *x* ) as_opts=-x ;;
- + * ) as_opts= ;;
- + esac
- + exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
- fi
-
- -test $exitcode = 0) || { (exit 1); exit 1; }
- -
- -(
- - as_lineno_1=$LINENO
- - as_lineno_2=$LINENO
- - test "x$as_lineno_1" != "x$as_lineno_2" &&
- - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
- -
- -_ASEOF
- -}; then
- - break
- + if test x$as_have_required = xno; then :
- + $as_echo "$0: This script requires a shell more modern than all"
- + $as_echo "$0: the shells that I found on your system."
- + if test x${ZSH_VERSION+set} = xset ; then
- + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- + else
- + $as_echo "$0: Please tell bug-autoconf@gnu.org and tf@o-hand.com
- +$0: about your system, including any error possibly output
- +$0: before this message. Then install a modern shell, or
- +$0: manually run the script under such a shell if you do
- +$0: have one."
- + fi
- + exit 1
- fi
- -
- fi
- -
- - done
- -
- - if test "x$CONFIG_SHELL" != x; then
- - for as_var in BASH_ENV ENV
- - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- - done
- - export CONFIG_SHELL
- - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
- fi
- +SHELL=${CONFIG_SHELL-/bin/sh}
- +export SHELL
- +# Unset more variables known to interfere with behavior of common tools.
- +CLICOLOR_FORCE= GREP_OPTIONS=
- +unset CLICOLOR_FORCE GREP_OPTIONS
-
- +## --------------------- ##
- +## M4sh Shell Functions. ##
- +## --------------------- ##
- +# as_fn_unset VAR
- +# ---------------
- +# Portably unset VAR.
- +as_fn_unset ()
- +{
- + { eval $1=; unset $1;}
- +}
- +as_unset=as_fn_unset
-
- - if test $as_have_required = no; then
- - echo This script requires a shell more modern than all the
- - echo shells that I found on your system. Please install a
- - echo modern shell, or manually run the script under such a
- - echo shell if you do have one.
- - { (exit 1); exit 1; }
- -fi
- +# as_fn_set_status STATUS
- +# -----------------------
- +# Set $? to STATUS, without forking.
- +as_fn_set_status ()
- +{
- + return $1
- +} # as_fn_set_status
-
- +# as_fn_exit STATUS
- +# -----------------
- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
- +as_fn_exit ()
- +{
- + set +e
- + as_fn_set_status $1
- + exit $1
- +} # as_fn_exit
- +
- +# as_fn_mkdir_p
- +# -------------
- +# Create "$as_dir" as a directory, including parents if necessary.
- +as_fn_mkdir_p ()
- +{
-
- -fi
- + case $as_dir in #(
- + -*) as_dir=./$as_dir;;
- + esac
- + test -d "$as_dir" || eval $as_mkdir_p || {
- + as_dirs=
- + while :; do
- + case $as_dir in #(
- + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- + *) as_qdir=$as_dir;;
- + esac
- + as_dirs="'$as_qdir' $as_dirs"
- + as_dir=`$as_dirname -- "$as_dir" ||
- +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- + X"$as_dir" : 'X\(//\)[^/]' \| \
- + X"$as_dir" : 'X\(//\)$' \| \
- + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
- +$as_echo X"$as_dir" |
- + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)[^/].*/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\).*/{
- + s//\1/
- + q
- + }
- + s/.*/./; q'`
- + test -d "$as_dir" && break
- + done
- + test -z "$as_dirs" || eval "mkdir $as_dirs"
- + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
- -fi
-
- +} # as_fn_mkdir_p
- +# as_fn_append VAR VALUE
- +# ----------------------
- +# Append the text in VALUE to the end of the definition contained in VAR. Take
- +# advantage of any shell optimizations that allow amortized linear growth over
- +# repeated appends, instead of the typical quadratic growth present in naive
- +# implementations.
- +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- + eval 'as_fn_append ()
- + {
- + eval $1+=\$2
- + }'
- +else
- + as_fn_append ()
- + {
- + eval $1=\$$1\$2
- + }
- +fi # as_fn_append
- +
- +# as_fn_arith ARG...
- +# ------------------
- +# Perform arithmetic evaluation on the ARGs, and store the result in the
- +# global $as_val. Take advantage of shells that can avoid forks. The arguments
- +# must be portable across $(()) and expr.
- +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- + eval 'as_fn_arith ()
- + {
- + as_val=$(( $* ))
- + }'
- +else
- + as_fn_arith ()
- + {
- + as_val=`expr "$@" || test $? -eq 1`
- + }
- +fi # as_fn_arith
-
-
- -(eval "as_func_return () {
- - (exit \$1)
- -}
- -as_func_success () {
- - as_func_return 0
- -}
- -as_func_failure () {
- - as_func_return 1
- -}
- -as_func_ret_success () {
- - return 0
- -}
- -as_func_ret_failure () {
- - return 1
- -}
- +# as_fn_error STATUS ERROR [LINENO LOG_FD]
- +# ----------------------------------------
- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
- +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
- +# script with STATUS, using 1 if that was 0.
- +as_fn_error ()
- +{
- + as_status=$1; test $as_status -eq 0 && as_status=1
- + if test "$4"; then
- + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- + fi
- + $as_echo "$as_me: error: $2" >&2
- + as_fn_exit $as_status
- +} # as_fn_error
-
- -exitcode=0
- -if as_func_success; then
- - :
- +if expr a : '\(a\)' >/dev/null 2>&1 &&
- + test "X`expr 00001 : '.*\(...\)'`" = X001; then
- + as_expr=expr
- else
- - exitcode=1
- - echo as_func_success failed.
- -fi
- -
- -if as_func_failure; then
- - exitcode=1
- - echo as_func_failure succeeded.
- + as_expr=false
- fi
-
- -if as_func_ret_success; then
- - :
- +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- + as_basename=basename
- else
- - exitcode=1
- - echo as_func_ret_success failed.
- -fi
- -
- -if as_func_ret_failure; then
- - exitcode=1
- - echo as_func_ret_failure succeeded.
- + as_basename=false
- fi
-
- -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
- - :
- +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- + as_dirname=dirname
- else
- - exitcode=1
- - echo positional parameters were not saved.
- + as_dirname=false
- fi
-
- -test \$exitcode = 0") || {
- - echo No shell found that supports shell functions.
- - echo Please tell autoconf@gnu.org about your system,
- - echo including any error possibly output before this
- - echo message
- -}
- +as_me=`$as_basename -- "$0" ||
- +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- + X"$0" : 'X\(//\)$' \| \
- + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
- +$as_echo X/"$0" |
- + sed '/^.*\/\([^/][^/]*\)\/*$/{
- + s//\1/
- + q
- + }
- + /^X\/\(\/\/\)$/{
- + s//\1/
- + q
- + }
- + /^X\/\(\/\).*/{
- + s//\1/
- + q
- + }
- + s/.*/./; q'`
-
- +# Avoid depending upon Character Ranges.
- +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
- +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
- +as_cr_digits='0123456789'
- +as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- - as_lineno_1=$LINENO
- - as_lineno_2=$LINENO
- - test "x$as_lineno_1" != "x$as_lineno_2" &&
- - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
- -
- - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- - # uniformly replaced by the line number. The first 'sed' inserts a
- - # line-number line after each line using $LINENO; the second 'sed'
- - # does the real work. The second script uses 'N' to pair each
- - # line-number line with the line containing $LINENO, and appends
- - # trailing '-' during substitution so that $LINENO is not a special
- - # case at line end.
- - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- - # scripts with optimization help from Paolo Bonzini. Blame Lee
- - # E. McMahon (1931-1989) for sed's syntax. :-)
- + as_lineno_1=$LINENO as_lineno_1a=$LINENO
- + as_lineno_2=$LINENO as_lineno_2a=$LINENO
- + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- @@ -447,8 +449,7 @@
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- - { (exit 1); exit 1; }; }
- + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- @@ -458,49 +459,40 @@
- exit
- }
-
- -
- -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- - as_dirname=dirname
- -else
- - as_dirname=false
- -fi
- -
- ECHO_C= ECHO_N= ECHO_T=
- -case `echo -n x` in
- +case `echo -n x` in #(((((
- -n*)
- - case `echo 'x\c'` in
- + case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- - *) ECHO_C='\c';;
- + xy) ECHO_C='\c';;
- + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- + ECHO_T=' ';;
- esac;;
- *)
- ECHO_N='-n';;
- esac
-
- -if expr a : '\(a\)' >/dev/null 2>&1 &&
- - test "X`expr 00001 : '.*\(...\)'`" = X001; then
- - as_expr=expr
- -else
- - as_expr=false
- -fi
- -
- rm -f conf$$ conf$$.exe conf$$.file
- if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
- else
- rm -f conf$$.dir
- - mkdir conf$$.dir
- + mkdir conf$$.dir 2>/dev/null
- fi
- -echo >conf$$.file
- -if ln -s conf$$.file conf$$ 2>/dev/null; then
- - as_ln_s='ln -s'
- - # ... but there are two gotchas:
- - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- - # In both cases, we have to default to `cp -p'.
- - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- +if (echo >conf$$.file) 2>/dev/null; then
- + if ln -s conf$$.file conf$$ 2>/dev/null; then
- + as_ln_s='ln -s'
- + # ... but there are two gotchas:
- + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- + # In both cases, we have to default to `cp -p'.
- + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- + as_ln_s='cp -p'
- + elif ln conf$$.file conf$$ 2>/dev/null; then
- + as_ln_s=ln
- + else
- as_ln_s='cp -p'
- -elif ln conf$$.file conf$$ 2>/dev/null; then
- - as_ln_s=ln
- + fi
- else
- as_ln_s='cp -p'
- fi
- @@ -508,25 +500,34 @@
- rmdir conf$$.dir 2>/dev/null
-
- if mkdir -p . 2>/dev/null; then
- - as_mkdir_p=:
- + as_mkdir_p='mkdir -p "$as_dir"'
- else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
- fi
-
- -# Find out whether ``test -x'' works. Don't use a zero-byte file, as
- -# systems may use methods other than mode bits to determine executability.
- -cat >conf$$.file <<_ASEOF
- -#! /bin/sh
- -exit 0
- -_ASEOF
- -chmod +x conf$$.file
- -if test -x conf$$.file >/dev/null 2>&1; then
- - as_executable_p="test -x"
- +if test -x / >/dev/null 2>&1; then
- + as_test_x='test -x'
- else
- - as_executable_p=:
- + if ls -dL / >/dev/null 2>&1; then
- + as_ls_L_option=L
- + else
- + as_ls_L_option=
- + fi
- + as_test_x='
- + eval sh -c '\''
- + if test -d "$1"; then
- + test -d "$1/.";
- + else
- + case $1 in #(
- + -*)set "./$1";;
- + esac;
- + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- + ???[sx]*):;;*)false;;esac;fi
- + '\'' sh
- + '
- fi
- -rm -f conf$$.file
- +as_executable_p=$as_test_x
-
- # Sed expression to map a string onto a valid CPP name.
- as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
- @@ -535,11 +536,11 @@
- as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
- -
- -exec 7<&0 </dev/null 6>&1
- +test -n "$DJDIR" || exec 7<&0 </dev/null
- +exec 6>&1
-
- # Name of the host.
- -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
- +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
- # so uname gets run too.
- ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
- @@ -554,7 +555,6 @@
- subdirs=
- MFLAGS=
- MAKEFLAGS=
- -SHELL=${CONFIG_SHELL-/bin/sh}
-
- # Identity of this package.
- PACKAGE_NAME='exmap-console'
- @@ -562,106 +562,128 @@
- PACKAGE_VERSION='0.4.1'
- PACKAGE_STRING='exmap-console 0.4.1'
- PACKAGE_BUGREPORT='tf@o-hand.com'
- +PACKAGE_URL=''
-
- ac_unique_file="src/exmap.c"
- -ac_subst_vars='SHELL
- -PATH_SEPARATOR
- -PACKAGE_NAME
- -PACKAGE_TARNAME
- -PACKAGE_VERSION
- -PACKAGE_STRING
- -PACKAGE_BUGREPORT
- -exec_prefix
- -prefix
- -program_transform_name
- -bindir
- -sbindir
- -libexecdir
- -datarootdir
- -datadir
- -sysconfdir
- -sharedstatedir
- -localstatedir
- -includedir
- -oldincludedir
- -docdir
- -infodir
- -htmldir
- -dvidir
- -pdfdir
- -psdir
- -libdir
- -localedir
- -mandir
- -DEFS
- -ECHO_C
- -ECHO_N
- -ECHO_T
- -LIBS
- +ac_subst_vars='am__EXEEXT_FALSE
- +am__EXEEXT_TRUE
- +LTLIBOBJS
- +LIBOBJS
- +GCC_CFLAGS
- +HAVE_HELPTOMAN_FALSE
- +HAVE_HELPTOMAN_TRUE
- +HELPTOMAN
- +GLIB_LIBS
- +GLIB_CFLAGS
- +PKG_CONFIG_LIBDIR
- +PKG_CONFIG_PATH
- +PKG_CONFIG
- +DODOCS_FALSE
- +DODOCS_TRUE
- +READLINE_CFLAGS
- +READLINE_LIBS
- +INTERACTIVE_FALSE
- +INTERACTIVE_TRUE
- +am__fastdepCC_FALSE
- +am__fastdepCC_TRUE
- +CCDEPMODE
- +AMDEPBACKSLASH
- +AMDEP_FALSE
- +AMDEP_TRUE
- +am__quote
- +am__include
- +DEPDIR
- +OBJEXT
- +EXEEXT
- +ac_ct_CC
- +CPPFLAGS
- +LDFLAGS
- +CFLAGS
- +CC
- +am__untar
- +am__tar
- +AMTAR
- +am__leading_dot
- +SET_MAKE
- +AWK
- +mkdir_p
- +MKDIR_P
- +INSTALL_STRIP_PROGRAM
- +STRIP
- +install_sh
- +MAKEINFO
- +AUTOHEADER
- +AUTOMAKE
- +AUTOCONF
- +ACLOCAL
- +VERSION
- +PACKAGE
- +CYGPATH_W
- +am__isrc
- +INSTALL_DATA
- +INSTALL_SCRIPT
- +INSTALL_PROGRAM
- +target_alias
- +host_alias
- build_alias
- +LIBS
- +ECHO_T
- +ECHO_N
- +ECHO_C
- +DEFS
- +mandir
- +localedir
- +libdir
- +psdir
- +pdfdir
- +dvidir
- +htmldir
- +infodir
- +docdir
- +oldincludedir
- +includedir
- +localstatedir
- +sharedstatedir
- +sysconfdir
- +datadir
- +datarootdir
- +libexecdir
- +sbindir
- +bindir
- +program_transform_name
- +prefix
- +exec_prefix
- +PACKAGE_URL
- +PACKAGE_BUGREPORT
- +PACKAGE_STRING
- +PACKAGE_VERSION
- +PACKAGE_TARNAME
- +PACKAGE_NAME
- +PATH_SEPARATOR
- +SHELL'
- +ac_subst_files=''
- +ac_user_opts='
- +enable_option_checking
- +with_readline
- +enable_dependency_tracking
- +enable_doc
- +with_help2man
- +'
- + ac_precious_vars='build_alias
- host_alias
- target_alias
- -INSTALL_PROGRAM
- -INSTALL_SCRIPT
- -INSTALL_DATA
- -CYGPATH_W
- -PACKAGE
- -VERSION
- -ACLOCAL
- -AUTOCONF
- -AUTOMAKE
- -AUTOHEADER
- -MAKEINFO
- -install_sh
- -STRIP
- -INSTALL_STRIP_PROGRAM
- -mkdir_p
- -AWK
- -SET_MAKE
- -am__leading_dot
- -AMTAR
- -am__tar
- -am__untar
- CC
- CFLAGS
- LDFLAGS
- +LIBS
- CPPFLAGS
- -ac_ct_CC
- -EXEEXT
- -OBJEXT
- -DEPDIR
- -am__include
- -am__quote
- -AMDEP_TRUE
- -AMDEP_FALSE
- -AMDEPBACKSLASH
- -CCDEPMODE
- -am__fastdepCC_TRUE
- -am__fastdepCC_FALSE
- -INTERACTIVE_TRUE
- -INTERACTIVE_FALSE
- -READLINE_LIBS
- -READLINE_CFLAGS
- -DODOCS_TRUE
- -DODOCS_FALSE
- -PKG_CONFIG
- -GLIB_CFLAGS
- -GLIB_LIBS
- -HELPTOMAN
- -HAVE_HELPTOMAN_TRUE
- -HAVE_HELPTOMAN_FALSE
- -GCC_CFLAGS
- -LIBOBJS
- -LTLIBOBJS'
- -ac_subst_files=''
- - ac_precious_vars='build_alias
- -host_alias
- -target_alias
- CC
- -CFLAGS
- LDFLAGS
- +LIBS
- CPPFLAGS
- PKG_CONFIG
- +PKG_CONFIG_PATH
- +PKG_CONFIG_LIBDIR
- GLIB_CFLAGS
- GLIB_LIBS'
-
- @@ -669,6 +691,8 @@
- # Initialize some variables set by options.
- ac_init_help=
- ac_init_version=false
- +ac_unrecognized_opts=
- +ac_unrecognized_sep=
- # The variables have the same names as the options, with
- # dashes changed to underlines.
- cache_file=/dev/null
- @@ -724,8 +748,9 @@
- fi
-
- case $ac_option in
- - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- - *) ac_optarg=yes ;;
- + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- + *=) ac_optarg= ;;
- + *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
- @@ -767,13 +792,20 @@
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
- - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- - { (exit 1); exit 1; }; }
- - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
- - eval enable_$ac_feature=no ;;
- + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- + as_fn_error $? "invalid feature name: $ac_useropt"
- + ac_useropt_orig=$ac_useropt
- + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- + case $ac_user_opts in
- + *"
- +"enable_$ac_useropt"
- +"*) ;;
- + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- + ac_unrecognized_sep=', ';;
- + esac
- + eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- @@ -786,13 +818,20 @@
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
- - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- - { (exit 1); exit 1; }; }
- - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
- - eval enable_$ac_feature=\$ac_optarg ;;
- + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- + as_fn_error $? "invalid feature name: $ac_useropt"
- + ac_useropt_orig=$ac_useropt
- + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- + case $ac_user_opts in
- + *"
- +"enable_$ac_useropt"
- +"*) ;;
- + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- + ac_unrecognized_sep=', ';;
- + esac
- + eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- @@ -983,22 +1022,36 @@
- ac_init_version=: ;;
-
- -with-* | --with-*)
- - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
- - { echo "$as_me: error: invalid package name: $ac_package" >&2
- - { (exit 1); exit 1; }; }
- - ac_package=`echo $ac_package| sed 's/-/_/g'`
- - eval with_$ac_package=\$ac_optarg ;;
- + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- + as_fn_error $? "invalid package name: $ac_useropt"
- + ac_useropt_orig=$ac_useropt
- + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- + case $ac_user_opts in
- + *"
- +"with_$ac_useropt"
- +"*) ;;
- + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- + ac_unrecognized_sep=', ';;
- + esac
- + eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
- - { echo "$as_me: error: invalid package name: $ac_package" >&2
- - { (exit 1); exit 1; }; }
- - ac_package=`echo $ac_package | sed 's/-/_/g'`
- - eval with_$ac_package=no ;;
- + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- + as_fn_error $? "invalid package name: $ac_useropt"
- + ac_useropt_orig=$ac_useropt
- + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- + case $ac_user_opts in
- + *"
- +"with_$ac_useropt"
- +"*) ;;
- + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- + ac_unrecognized_sep=', ';;
- + esac
- + eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- @@ -1018,26 +1071,26 @@
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- - -*) { echo "$as_me: error: unrecognized option: $ac_option
- -Try \`$0 --help' for more information." >&2
- - { (exit 1); exit 1; }; }
- + -*) as_fn_error $? "unrecognized option: \`$ac_option'
- +Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- - { (exit 1); exit 1; }; }
- + case $ac_envvar in #(
- + '' | [0-9]* | *[!_$as_cr_alnum]* )
- + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- + esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- - echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- - echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- ;;
-
- esac
- @@ -1045,23 +1098,36 @@
-
- if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- - { echo "$as_me: error: missing argument to $ac_option" >&2
- - { (exit 1); exit 1; }; }
- + as_fn_error $? "missing argument to $ac_option"
- fi
-
- -# Be sure to have absolute directory names.
- +if test -n "$ac_unrecognized_opts"; then
- + case $enable_option_checking in
- + no) ;;
- + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- + esac
- +fi
- +
- +# Check all directory arguments for consistency.
- for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
- do
- eval ac_val=\$$ac_var
- + # Remove trailing slashes.
- + case $ac_val in
- + */ )
- + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- + eval $ac_var=\$ac_val;;
- + esac
- + # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- - { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- - { (exit 1); exit 1; }; }
- + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
- done
-
- # There might be people who depend on the old broken behavior: `$host'
- @@ -1075,8 +1141,8 @@
- if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- - If a cross compiler is detected then cross compile mode will be used." >&2
- + $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
- + If a cross compiler is detected then cross compile mode will be used" >&2
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
- @@ -1091,23 +1157,21 @@
- ac_pwd=`pwd` && test -n "$ac_pwd" &&
- ac_ls_di=`ls -di .` &&
- ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- - { echo "$as_me: error: Working directory cannot be determined" >&2
- - { (exit 1); exit 1; }; }
- + as_fn_error $? "working directory cannot be determined"
- test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- - { echo "$as_me: error: pwd does not report name of working directory" >&2
- - { (exit 1); exit 1; }; }
- + as_fn_error $? "pwd does not report name of working directory"
-
-
- # Find the source files, if location was not specified.
- if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- - ac_confdir=`$as_dirname -- "$0" ||
- -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- - X"$0" : 'X\(//\)[^/]' \| \
- - X"$0" : 'X\(//\)$' \| \
- - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
- -echo X"$0" |
- + ac_confdir=`$as_dirname -- "$as_myself" ||
- +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- + X"$as_myself" : 'X\(//\)[^/]' \| \
- + X"$as_myself" : 'X\(//\)$' \| \
- + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
- +$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- @@ -1134,13 +1198,11 @@
- fi
- if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- - { (exit 1); exit 1; }; }
- + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
- fi
- ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
- ac_abs_confdir=`(
- - cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
- - { (exit 1); exit 1; }; }
- + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
- # When building in place, set srcdir=.
- if test "$ac_abs_confdir" = "$ac_pwd"; then
- @@ -1180,7 +1242,7 @@
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- - -q, --quiet, --silent do not print \`checking...' messages
- + -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- @@ -1188,9 +1250,9 @@
-
- Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- - [$ac_default_prefix]
- + [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- - [PREFIX]
- + [PREFIX]
-
- By default, \`make install' will install all the files in
- \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
- @@ -1200,25 +1262,25 @@
- For better control, use the options below.
-
- Fine tuning of the installation directories:
- - --bindir=DIR user executables [EPREFIX/bin]
- - --sbindir=DIR system admin executables [EPREFIX/sbin]
- - --libexecdir=DIR program executables [EPREFIX/libexec]
- - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- - --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- - --libdir=DIR object code libraries [EPREFIX/lib]
- - --includedir=DIR C header files [PREFIX/include]
- - --oldincludedir=DIR C header files for non-gcc [/usr/include]
- - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- - --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- - --infodir=DIR info documentation [DATAROOTDIR/info]
- - --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- - --mandir=DIR man documentation [DATAROOTDIR/man]
- - --docdir=DIR documentation root [DATAROOTDIR/doc/exmap-console]
- - --htmldir=DIR html documentation [DOCDIR]
- - --dvidir=DIR dvi documentation [DOCDIR]
- - --pdfdir=DIR pdf documentation [DOCDIR]
- - --psdir=DIR ps documentation [DOCDIR]
- + --bindir=DIR user executables [EPREFIX/bin]
- + --sbindir=DIR system admin executables [EPREFIX/sbin]
- + --libexecdir=DIR program executables [EPREFIX/libexec]
- + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- + --libdir=DIR object code libraries [EPREFIX/lib]
- + --includedir=DIR C header files [PREFIX/include]
- + --oldincludedir=DIR C header files for non-gcc [/usr/include]
- + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- + --infodir=DIR info documentation [DATAROOTDIR/info]
- + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- + --mandir=DIR man documentation [DATAROOTDIR/man]
- + --docdir=DIR documentation root [DATAROOTDIR/doc/exmap-console]
- + --htmldir=DIR html documentation [DOCDIR]
- + --dvidir=DIR dvi documentation [DOCDIR]
- + --pdfdir=DIR pdf documentation [DOCDIR]
- + --psdir=DIR ps documentation [DOCDIR]
- _ACEOF
-
- cat <<\_ACEOF
- @@ -1237,12 +1299,12 @@
- cat <<\_ACEOF
-
- Optional Features:
- + --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking speeds up one-time build
- --enable-dependency-tracking do not reject slow dependency extractors
- --disable-doc Do not build documentation
- - --enable-debug Enable debuggin information
-
- Optional Packages:
- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- @@ -1255,9 +1317,14 @@
- CFLAGS C compiler flags
- LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
- nonstandard directory <lib dir>
- - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
- + LIBS libraries to pass to the linker, e.g. -l<library>
- + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
- you have headers in a nonstandard directory <include dir>
- PKG_CONFIG path to pkg-config utility
- + PKG_CONFIG_PATH
- + directories to add to pkg-config's search path
- + PKG_CONFIG_LIBDIR
- + path overriding pkg-config's built-in search path
- GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
- GLIB_LIBS linker flags for GLIB, overriding pkg-config
-
- @@ -1272,15 +1339,17 @@
- if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- - test -d "$ac_dir" || continue
- + test -d "$ac_dir" ||
- + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- + continue
- ac_builddir=.
-
- case "$ac_dir" in
- .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *)
- - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- @@ -1316,7 +1385,7 @@
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
- @@ -1326,21 +1395,108 @@
- if $ac_init_version; then
- cat <<\_ACEOF
- exmap-console configure 0.4.1
- -generated by GNU Autoconf 2.60
- +generated by GNU Autoconf 2.68
-
- -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
- -2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
- +Copyright (C) 2010 Free Software Foundation, Inc.
- This configure script is free software; the Free Software Foundation
- gives unlimited permission to copy, distribute and modify it.
- _ACEOF
- exit
- fi
- +
- +## ------------------------ ##
- +## Autoconf initialization. ##
- +## ------------------------ ##
- +
- +# ac_fn_c_try_compile LINENO
- +# --------------------------
- +# Try to compile conftest.$ac_ext, and return whether this succeeded.
- +ac_fn_c_try_compile ()
- +{
- + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- + rm -f conftest.$ac_objext
- + if { { ac_try="$ac_compile"
- +case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_compile") 2>conftest.err
- + ac_status=$?
- + if test -s conftest.err; then
- + grep -v '^ *+' conftest.err >conftest.er1
- + cat conftest.er1 >&5
- + mv -f conftest.er1 conftest.err
- + fi
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; } && {
- + test -z "$ac_c_werror_flag" ||
- + test ! -s conftest.err
- + } && test -s conftest.$ac_objext; then :
- + ac_retval=0
- +else
- + $as_echo "$as_me: failed program was:" >&5
- +sed 's/^/| /' conftest.$ac_ext >&5
- +
- + ac_retval=1
- +fi
- + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- + as_fn_set_status $ac_retval
- +
- +} # ac_fn_c_try_compile
- +
- +# ac_fn_c_try_link LINENO
- +# -----------------------
- +# Try to link conftest.$ac_ext, and return whether this succeeded.
- +ac_fn_c_try_link ()
- +{
- + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- + rm -f conftest.$ac_objext conftest$ac_exeext
- + if { { ac_try="$ac_link"
- +case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_link") 2>conftest.err
- + ac_status=$?
- + if test -s conftest.err; then
- + grep -v '^ *+' conftest.err >conftest.er1
- + cat conftest.er1 >&5
- + mv -f conftest.er1 conftest.err
- + fi
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; } && {
- + test -z "$ac_c_werror_flag" ||
- + test ! -s conftest.err
- + } && test -s conftest$ac_exeext && {
- + test "$cross_compiling" = yes ||
- + $as_test_x conftest$ac_exeext
- + }; then :
- + ac_retval=0
- +else
- + $as_echo "$as_me: failed program was:" >&5
- +sed 's/^/| /' conftest.$ac_ext >&5
- +
- + ac_retval=1
- +fi
- + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
- + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
- + # interfere with the next link command; also delete a directory that is
- + # left behind by Apple's compiler. We do this before executing the actions.
- + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
- + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- + as_fn_set_status $ac_retval
- +
- +} # ac_fn_c_try_link
- cat >config.log <<_ACEOF
- This file contains any messages produced by compilers while
- running configure, to aid debugging if configure makes a mistake.
-
- It was created by exmap-console $as_me 0.4.1, which was
- -generated by GNU Autoconf 2.60. Invocation command line was
- +generated by GNU Autoconf 2.68. Invocation command line was
-
- $ $0 $@
-
- @@ -1376,8 +1532,8 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - echo "PATH: $as_dir"
- -done
- + $as_echo "PATH: $as_dir"
- + done
- IFS=$as_save_IFS
-
- } >&5
- @@ -1411,12 +1567,12 @@
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
- + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- - ac_configure_args1="$ac_configure_args1 '$ac_arg'"
- + as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- @@ -1432,13 +1588,13 @@
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- - ac_configure_args="$ac_configure_args '$ac_arg'"
- + as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
- done
- -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
- -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
- +{ ac_configure_args0=; unset ac_configure_args0;}
- +{ ac_configure_args1=; unset ac_configure_args1;}
-
- # When interrupted or exit'd, cleanup temporary files, and complete
- # config.log. We remove comments because anyway the quotes in there
- @@ -1450,11 +1606,9 @@
- {
- echo
-
- - cat <<\_ASBOX
- -## ---------------- ##
- + $as_echo "## ---------------- ##
- ## Cache variables. ##
- -## ---------------- ##
- -_ASBOX
- +## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
- (
- @@ -1463,12 +1617,13 @@
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
- -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
- +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- - *) $as_unset $ac_var ;;
- + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- + *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- @@ -1487,128 +1642,136 @@
- )
- echo
-
- - cat <<\_ASBOX
- -## ----------------- ##
- + $as_echo "## ----------------- ##
- ## Output variables. ##
- -## ----------------- ##
- -_ASBOX
- +## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- - echo "$ac_var='\''$ac_val'\''"
- + $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- - cat <<\_ASBOX
- -## ------------------- ##
- + $as_echo "## ------------------- ##
- ## File substitutions. ##
- -## ------------------- ##
- -_ASBOX
- +## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- - echo "$ac_var='\''$ac_val'\''"
- + $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- - cat <<\_ASBOX
- -## ----------- ##
- + $as_echo "## ----------- ##
- ## confdefs.h. ##
- -## ----------- ##
- -_ASBOX
- +## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- - echo "$as_me: caught signal $ac_signal"
- - echo "$as_me: exit $exit_status"
- + $as_echo "$as_me: caught signal $ac_signal"
- + $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
- ' 0
- for ac_signal in 1 2 13 15; do
- - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
- + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
- done
- ac_signal=0
-
- # confdefs.h avoids OS command line length limits that DEFS can exceed.
- rm -f -r conftest* confdefs.h
-
- +$as_echo "/* confdefs.h */" > confdefs.h
- +
- # Predefined preprocessor variables.
-
- cat >>confdefs.h <<_ACEOF
- #define PACKAGE_NAME "$PACKAGE_NAME"
- _ACEOF
-
- -
- cat >>confdefs.h <<_ACEOF
- #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
- _ACEOF
-
- -
- cat >>confdefs.h <<_ACEOF
- #define PACKAGE_VERSION "$PACKAGE_VERSION"
- _ACEOF
-
- -
- cat >>confdefs.h <<_ACEOF
- #define PACKAGE_STRING "$PACKAGE_STRING"
- _ACEOF
-
- -
- cat >>confdefs.h <<_ACEOF
- #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
- _ACEOF
-
- +cat >>confdefs.h <<_ACEOF
- +#define PACKAGE_URL "$PACKAGE_URL"
- +_ACEOF
- +
-
- # Let the site file select an alternate cache file if it wants to.
- -# Prefer explicitly selected file to automatically selected ones.
- +# Prefer an explicitly selected file to automatically selected ones.
- +ac_site_file1=NONE
- +ac_site_file2=NONE
- if test -n "$CONFIG_SITE"; then
- - set x "$CONFIG_SITE"
- + # We do not want a PATH search for config.site.
- + case $CONFIG_SITE in #((
- + -*) ac_site_file1=./$CONFIG_SITE;;
- + */*) ac_site_file1=$CONFIG_SITE;;
- + *) ac_site_file1=./$CONFIG_SITE;;
- + esac
- elif test "x$prefix" != xNONE; then
- - set x "$prefix/share/config.site" "$prefix/etc/config.site"
- + ac_site_file1=$prefix/share/config.site
- + ac_site_file2=$prefix/etc/config.site
- else
- - set x "$ac_default_prefix/share/config.site" \
- - "$ac_default_prefix/etc/config.site"
- + ac_site_file1=$ac_default_prefix/share/config.site
- + ac_site_file2=$ac_default_prefix/etc/config.site
- fi
- -shift
- -for ac_site_file
- +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
- do
- - if test -r "$ac_site_file"; then
- - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
- -echo "$as_me: loading site script $ac_site_file" >&6;}
- + test "x$ac_site_file" = xNONE && continue
- + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
- +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- - . "$ac_site_file"
- + . "$ac_site_file" \
- + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- +as_fn_error $? "failed to load site script $ac_site_file
- +See \`config.log' for more details" "$LINENO" 5; }
- fi
- done
-
- if test -r "$cache_file"; then
- - # Some versions of bash will fail to source /dev/null (special
- - # files actually), so we avoid doing that.
- - if test -f "$cache_file"; then
- - { echo "$as_me:$LINENO: loading cache $cache_file" >&5
- -echo "$as_me: loading cache $cache_file" >&6;}
- + # Some versions of bash will fail to source /dev/null (special files
- + # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- + if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
- +$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
- else
- - { echo "$as_me:$LINENO: creating cache $cache_file" >&5
- -echo "$as_me: creating cache $cache_file" >&6;}
- + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
- +$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
- fi
-
- @@ -1622,68 +1785,56 @@
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
- -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
- +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
- -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
- +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
- -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
- -echo "$as_me: former value: $ac_old_val" >&2;}
- - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
- -echo "$as_me: current value: $ac_new_val" >&2;}
- - ac_cache_corrupted=:
- + # differences in whitespace do not lead to failure.
- + ac_old_val_w=`echo x $ac_old_val`
- + ac_new_val_w=`echo x $ac_new_val`
- + if test "$ac_old_val_w" != "$ac_new_val_w"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
- +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- + ac_cache_corrupted=:
- + else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
- +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- + eval $ac_var=\$ac_old_val
- + fi
- + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
- +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
- +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- - *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
- done
- if $ac_cache_corrupted; then
- - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
- -echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
- -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- - { (exit 1); exit 1; }; }
- -fi
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
- +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
- +fi
- +## -------------------- ##
- +## Main body of script. ##
- +## -------------------- ##
-
- ac_ext=c
- ac_cpp='$CPP $CPPFLAGS'
- @@ -1694,7 +1845,8 @@
-
-
-
- -am__api_version="1.9"
- +am__api_version='1.11'
- +
- ac_aux_dir=
- for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
- if test -f "$ac_dir/install-sh"; then
- @@ -1712,9 +1864,7 @@
- fi
- done
- if test -z "$ac_aux_dir"; then
- - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
- -echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
- - { (exit 1); exit 1; }; }
- + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
- fi
-
- # These three variables are undocumented and unsupported,
- @@ -1739,22 +1889,23 @@
- # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
- # OS/2's system install, which has a completely different semantic
- # ./install, which can be erroneously created by make from ./install.sh.
- -{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
- -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
- +# Reject install programs that cannot install multiple files.
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
- +$as_echo_n "checking for a BSD-compatible install... " >&6; }
- if test -z "$INSTALL"; then
- -if test "${ac_cv_path_install+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +if ${ac_cv_path_install+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- for as_dir in $PATH
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - # Account for people who put trailing slashes in PATH elements.
- -case $as_dir/ in
- - ./ | .// | /cC/* | \
- + # Account for people who put trailing slashes in PATH elements.
- +case $as_dir/ in #((
- + ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
- + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- @@ -1762,7 +1913,7 @@
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
- + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- @@ -1772,17 +1923,29 @@
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- - break 3
- + rm -rf conftest.one conftest.two conftest.dir
- + echo one > conftest.one
- + echo two > conftest.two
- + mkdir conftest.dir
- + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- + test -s conftest.one && test -s conftest.two &&
- + test -s conftest.dir/conftest.one &&
- + test -s conftest.dir/conftest.two
- + then
- + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- + break 3
- + fi
- fi
- fi
- done
- done
- ;;
- esac
- -done
- +
- + done
- IFS=$as_save_IFS
-
- +rm -rf conftest.one conftest.two conftest.dir
-
- fi
- if test "${ac_cv_path_install+set}" = set; then
- @@ -1795,8 +1958,8 @@
- INSTALL=$ac_install_sh
- fi
- fi
- -{ echo "$as_me:$LINENO: result: $INSTALL" >&5
- -echo "${ECHO_T}$INSTALL" >&6; }
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
- +$as_echo "$INSTALL" >&6; }
-
- # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
- # It thinks the first close brace ends the variable substitution.
- @@ -1806,21 +1969,34 @@
-
- test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
- -{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
- -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
- +$as_echo_n "checking whether build environment is sane... " >&6; }
- # Just in case
- sleep 1
- echo timestamp > conftest.file
- +# Reject unsafe characters in $srcdir or the absolute working directory
- +# name. Accept space and tab only in the latter.
- +am_lf='
- +'
- +case `pwd` in
- + *[\\\"\#\$\&\'\`$am_lf]*)
- + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
- +esac
- +case $srcdir in
- + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
- + as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
- +esac
- +
- # Do `set' in a subshell so we don't clobber the current shell's
- # arguments. Must try -L first in case configure is actually a
- # symlink; some systems play weird games with the mod time of symlinks
- # (eg FreeBSD returns the mod time of the symlink's containing
- # directory).
- if (
- - set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
- + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- if test "$*" = "X"; then
- # -L didn't work.
- - set X `ls -t $srcdir/configure conftest.file`
- + set X `ls -t "$srcdir/configure" conftest.file`
- fi
- rm -f conftest.file
- if test "$*" != "X $srcdir/configure conftest.file" \
- @@ -1830,11 +2006,8 @@
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- - { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
- -alias in your environment" >&5
- -echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
- -alias in your environment" >&2;}
- - { (exit 1); exit 1; }; }
- + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
- +alias in your environment" "$LINENO" 5
- fi
-
- test "$2" = conftest.file
- @@ -1843,204 +2016,50 @@
- # Ok.
- :
- else
- - { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
- -Check your system clock" >&5
- -echo "$as_me: error: newly created file is older than distributed files!
- -Check your system clock" >&2;}
- - { (exit 1); exit 1; }; }
- + as_fn_error $? "newly created file is older than distributed files!
- +Check your system clock" "$LINENO" 5
- fi
- -{ echo "$as_me:$LINENO: result: yes" >&5
- -echo "${ECHO_T}yes" >&6; }
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- +$as_echo "yes" >&6; }
- test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
- # Use a double $ so make ignores it.
- test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
- -# Double any \ or $. echo might interpret backslashes.
- +# Double any \ or $.
- # By default was `s,x,x', remove it if useless.
- -cat <<\_ACEOF >conftest.sed
- -s/[\\$]/&&/g;s/;s,x,x,$//
- -_ACEOF
- -program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
- -rm -f conftest.sed
- +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
- +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
- # expand $ac_aux_dir to an absolute path
- am_aux_dir=`cd $ac_aux_dir && pwd`
-
- -test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
- +if test x"${MISSING+set}" != xset; then
- + case $am_aux_dir in
- + *\ * | *\ *)
- + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
- + *)
- + MISSING="\${SHELL} $am_aux_dir/missing" ;;
- + esac
- +fi
- # Use eval to expand $SHELL
- if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
- else
- am_missing_run=
- - { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
- -echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
- -fi
- -
- -if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
- - # We used to keeping the `.' as first argument, in order to
- - # allow $(mkdir_p) to be used without argument. As in
- - # $(mkdir_p) $(somedir)
- - # where $(somedir) is conditionally defined. However this is wrong
- - # for two reasons:
- - # 1. if the package is installed by a user who cannot write `.'
- - # make install will fail,
- - # 2. the above comment should most certainly read
- - # $(mkdir_p) $(DESTDIR)$(somedir)
- - # so it does not work when $(somedir) is undefined and
- - # $(DESTDIR) is not.
- - # To support the latter case, we have to write
- - # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
- - # so the `.' trick is pointless.
- - mkdir_p='mkdir -p --'
- -else
- - # On NextStep and OpenStep, the `mkdir' command does not
- - # recognize any option. It will interpret all options as
- - # directories to create, and then abort because `.' already
- - # exists.
- - for d in ./-p ./--version;
- - do
- - test -d $d && rmdir $d
- - done
- - # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
- - if test -f "$ac_aux_dir/mkinstalldirs"; then
- - mkdir_p='$(mkinstalldirs)'
- - else
- - mkdir_p='$(install_sh) -d'
- - fi
- -fi
- -
- -for ac_prog in gawk mawk nawk awk
- -do
- - # Extract the first word of "$ac_prog", so it can be a program name with args.
- -set dummy $ac_prog; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_AWK+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- -else
- - if test -n "$AWK"; then
- - ac_cv_prog_AWK="$AWK" # Let the user override the test.
- -else
- -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- -for as_dir in $PATH
- -do
- - IFS=$as_save_IFS
- - test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- - ac_cv_prog_AWK="$ac_prog"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- - break 2
- - fi
- -done
- -done
- -IFS=$as_save_IFS
- -
- -fi
- -fi
- -AWK=$ac_cv_prog_AWK
- -if test -n "$AWK"; then
- - { echo "$as_me:$LINENO: result: $AWK" >&5
- -echo "${ECHO_T}$AWK" >&6; }
- -else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
- +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
- fi
-
- -
- - test -n "$AWK" && break
- -done
- -
- -{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
- -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
- -set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
- -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- -else
- - cat >conftest.make <<\_ACEOF
- -SHELL = /bin/sh
- -all:
- - @echo '@@@%%%=$(MAKE)=@@@%%%'
- -_ACEOF
- -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
- -case `${MAKE-make} -f conftest.make 2>/dev/null` in
- - *@@@%%%=?*=@@@%%%*)
- - eval ac_cv_prog_make_${ac_make}_set=yes;;
- +if test x"${install_sh}" != xset; then
- + case $am_aux_dir in
- + *\ * | *\ *)
- + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
- *)
- - eval ac_cv_prog_make_${ac_make}_set=no;;
- -esac
- -rm -f conftest.make
- -fi
- -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
- - { echo "$as_me:$LINENO: result: yes" >&5
- -echo "${ECHO_T}yes" >&6; }
- - SET_MAKE=
- -else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- - SET_MAKE="MAKE=${MAKE-make}"
- -fi
- -
- -rm -rf .tst 2>/dev/null
- -mkdir .tst 2>/dev/null
- -if test -d .tst; then
- - am__leading_dot=.
- -else
- - am__leading_dot=_
- -fi
- -rmdir .tst 2>/dev/null
- -
- -# test to see if srcdir already configured
- -if test "`cd $srcdir && pwd`" != "`pwd`" &&
- - test -f $srcdir/config.status; then
- - { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
- -echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
- - { (exit 1); exit 1; }; }
- -fi
- -
- -# test whether we have cygpath
- -if test -z "$CYGPATH_W"; then
- - if (cygpath --version) >/dev/null 2>/dev/null; then
- - CYGPATH_W='cygpath -w'
- - else
- - CYGPATH_W=echo
- - fi
- + install_sh="\${SHELL} $am_aux_dir/install-sh"
- + esac
- fi
-
- -
- -# Define the identity of the package.
- - PACKAGE='exmap-console'
- - VERSION='0.4.1'
- -
- -
- -cat >>confdefs.h <<_ACEOF
- -#define PACKAGE "$PACKAGE"
- -_ACEOF
- -
- -
- -cat >>confdefs.h <<_ACEOF
- -#define VERSION "$VERSION"
- -_ACEOF
- -
- -# Some tools Automake needs.
- -
- -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
- -
- -
- -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
- -
- -
- -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
- -
- -
- -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
- -
- -
- -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
- -
- -install_sh=${install_sh-"$am_aux_dir/install-sh"}
- -
- # Installed binaries are usually stripped using `strip' when the user
- # run `make install-strip'. However `strip' might not be the right
- # tool to use in cross-compilation environments, therefore Automake
- @@ -2049,10 +2068,10 @@
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
- set dummy ${ac_tool_prefix}strip; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_STRIP+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_STRIP+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- if test -n "$STRIP"; then
- ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
- @@ -2062,25 +2081,25 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_STRIP="${ac_tool_prefix}strip"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- fi
- fi
- STRIP=$ac_cv_prog_STRIP
- if test -n "$STRIP"; then
- - { echo "$as_me:$LINENO: result: $STRIP" >&5
- -echo "${ECHO_T}$STRIP" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
- +$as_echo "$STRIP" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
-
- @@ -2089,10 +2108,10 @@
- ac_ct_STRIP=$STRIP
- # Extract the first word of "strip", so it can be a program name with args.
- set dummy strip; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- if test -n "$ac_ct_STRIP"; then
- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
- @@ -2102,48 +2121,224 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_STRIP="strip"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- fi
- fi
- ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
- if test -n "$ac_ct_STRIP"; then
- - { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
- -echo "${ECHO_T}$ac_ct_STRIP" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
- +$as_echo "$ac_ct_STRIP" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- + if test "x$ac_ct_STRIP" = x; then
- + STRIP=":"
- + else
- + case $cross_compiling:$ac_tool_warned in
- +yes:)
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
- +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
- +ac_tool_warned=yes ;;
- +esac
- + STRIP=$ac_ct_STRIP
- + fi
- +else
- + STRIP="$ac_cv_prog_STRIP"
- +fi
- +
- +fi
- +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
- +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
- +if test -z "$MKDIR_P"; then
- + if ${ac_cv_path_mkdir+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_prog in mkdir gmkdir; do
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
- + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
- + 'mkdir (GNU coreutils) '* | \
- + 'mkdir (coreutils) '* | \
- + 'mkdir (fileutils) '4.1*)
- + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
- + break 3;;
- + esac
- + done
- + done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +
- + test -d ./--version && rmdir ./--version
- + if test "${ac_cv_path_mkdir+set}" = set; then
- + MKDIR_P="$ac_cv_path_mkdir -p"
- + else
- + # As a last resort, use the slow shell script. Don't cache a
- + # value for MKDIR_P within a source directory, because that will
- + # break other packages using the cache if that directory is
- + # removed, or if the value is a relative name.
- + MKDIR_P="$ac_install_sh -d"
- + fi
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
- +$as_echo "$MKDIR_P" >&6; }
- +
- +mkdir_p="$MKDIR_P"
- +case $mkdir_p in
- + [\\/$]* | ?:[\\/]*) ;;
- + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
- +esac
- +
- +for ac_prog in gawk mawk nawk awk
- +do
- + # Extract the first word of "$ac_prog", so it can be a program name with args.
- +set dummy $ac_prog; ac_word=$2
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_AWK+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + if test -n "$AWK"; then
- + ac_cv_prog_AWK="$AWK" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- + ac_cv_prog_AWK="$ac_prog"
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- + done
- +IFS=$as_save_IFS
- +
- +fi
- +fi
- +AWK=$ac_cv_prog_AWK
- +if test -n "$AWK"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
- +$as_echo "$AWK" >&6; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +fi
- +
- +
- + test -n "$AWK" && break
- +done
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
- +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
- +set x ${MAKE-make}
- +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
- +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat >conftest.make <<\_ACEOF
- +SHELL = /bin/sh
- +all:
- + @echo '@@@%%%=$(MAKE)=@@@%%%'
- +_ACEOF
- +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
- +case `${MAKE-make} -f conftest.make 2>/dev/null` in
- + *@@@%%%=?*=@@@%%%*)
- + eval ac_cv_prog_make_${ac_make}_set=yes;;
- + *)
- + eval ac_cv_prog_make_${ac_make}_set=no;;
- +esac
- +rm -f conftest.make
- +fi
- +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- +$as_echo "yes" >&6; }
- + SET_MAKE=
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- + SET_MAKE="MAKE=${MAKE-make}"
- +fi
- +
- +rm -rf .tst 2>/dev/null
- +mkdir .tst 2>/dev/null
- +if test -d .tst; then
- + am__leading_dot=.
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + am__leading_dot=_
- fi
- +rmdir .tst 2>/dev/null
-
- - if test "x$ac_ct_STRIP" = x; then
- - STRIP=":"
- - else
- - case $cross_compiling:$ac_tool_warned in
- -yes:)
- -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
- -whose name does not start with the host triplet. If you think this
- -configuration is useful to you, please write to autoconf@gnu.org." >&5
- -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
- -whose name does not start with the host triplet. If you think this
- -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
- -ac_tool_warned=yes ;;
- -esac
- - STRIP=$ac_ct_STRIP
- +if test "`cd $srcdir && pwd`" != "`pwd`"; then
- + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
- + # is not polluted with repeated "-I."
- + am__isrc=' -I$(srcdir)'
- + # test to see if srcdir already configured
- + if test -f $srcdir/config.status; then
- + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
- fi
- -else
- - STRIP="$ac_cv_prog_STRIP"
- fi
-
- +# test whether we have cygpath
- +if test -z "$CYGPATH_W"; then
- + if (cygpath --version) >/dev/null 2>/dev/null; then
- + CYGPATH_W='cygpath -w'
- + else
- + CYGPATH_W=echo
- + fi
- fi
- -INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
- +
- +
- +# Define the identity of the package.
- + PACKAGE='exmap-console'
- + VERSION='0.4.1'
- +
- +
- +cat >>confdefs.h <<_ACEOF
- +#define PACKAGE "$PACKAGE"
- +_ACEOF
- +
- +
- +cat >>confdefs.h <<_ACEOF
- +#define VERSION "$VERSION"
- +_ACEOF
- +
- +# Some tools Automake needs.
- +
- +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
- +
- +
- +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
- +
- +
- +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
- +
- +
- +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
- +
- +
- +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
-
- # We need awk for the "check" target. The system "awk" is bad on
- # some platforms.
- @@ -2165,7 +2360,7 @@
-
-
- # Check whether --with-readline was given.
- -if test "${with_readline+set}" = set; then
- +if test "${with_readline+set}" = set; then :
- withval=$with_readline; WITH_READLINE=$enableval
- else
- WITH_READLINE=yes
- @@ -2182,44 +2377,44 @@
- am_make=${MAKE-make}
- cat > confinc << 'END'
- am__doit:
- - @echo done
- + @echo this is the am__doit target
- .PHONY: am__doit
- END
- # If we don't find an include directive, just comment out the code.
- -{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
- -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
- +$as_echo_n "checking for style of include used by $am_make... " >&6; }
- am__include="#"
- am__quote=
- _am_result=none
- # First try GNU make style include.
- echo "include confinc" > confmf
- -# We grep out `Entering directory' and `Leaving directory'
- -# messages which can occur if `w' ends up in MAKEFLAGS.
- -# In particular we don't look at `^make:' because GNU make might
- -# be invoked under some other name (usually "gmake"), in which
- -# case it prints its new name instead of `make'.
- -if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
- - am__include=include
- - am__quote=
- - _am_result=GNU
- -fi
- +# Ignore all kinds of additional output from `make'.
- +case `$am_make -s -f confmf 2> /dev/null` in #(
- +*the\ am__doit\ target*)
- + am__include=include
- + am__quote=
- + _am_result=GNU
- + ;;
- +esac
- # Now try BSD make style include.
- if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- - if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
- - am__include=.include
- - am__quote="\""
- - _am_result=BSD
- - fi
- + case `$am_make -s -f confmf 2> /dev/null` in #(
- + *the\ am__doit\ target*)
- + am__include=.include
- + am__quote="\""
- + _am_result=BSD
- + ;;
- + esac
- fi
-
-
- -{ echo "$as_me:$LINENO: result: $_am_result" >&5
- -echo "${ECHO_T}$_am_result" >&6; }
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
- +$as_echo "$_am_result" >&6; }
- rm -f confinc confmf
-
- # Check whether --enable-dependency-tracking was given.
- -if test "${enable_dependency_tracking+set}" = set; then
- +if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
- fi
-
- @@ -2227,9 +2422,7 @@
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
- fi
- -
- -
- -if test "x$enable_dependency_tracking" != xno; then
- + if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
- else
- @@ -2238,7 +2431,6 @@
- fi
-
-
- -
- ac_ext=c
- ac_cpp='$CPP $CPPFLAGS'
- ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- @@ -2247,10 +2439,10 @@
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
- set dummy ${ac_tool_prefix}gcc; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_CC+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
- @@ -2260,25 +2452,25 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="${ac_tool_prefix}gcc"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- fi
- fi
- CC=$ac_cv_prog_CC
- if test -n "$CC"; then
- - { echo "$as_me:$LINENO: result: $CC" >&5
- -echo "${ECHO_T}$CC" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
- +$as_echo "$CC" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
-
- @@ -2287,10 +2479,10 @@
- ac_ct_CC=$CC
- # Extract the first word of "gcc", so it can be a program name with args.
- set dummy gcc; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_ac_ct_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- if test -n "$ac_ct_CC"; then
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
- @@ -2300,25 +2492,25 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_CC="gcc"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- fi
- fi
- ac_ct_CC=$ac_cv_prog_ac_ct_CC
- if test -n "$ac_ct_CC"; then
- - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
- -echo "${ECHO_T}$ac_ct_CC" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
- +$as_echo "$ac_ct_CC" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
- if test "x$ac_ct_CC" = x; then
- @@ -2326,12 +2518,8 @@
- else
- case $cross_compiling:$ac_tool_warned in
- yes:)
- -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
- -whose name does not start with the host triplet. If you think this
- -configuration is useful to you, please write to autoconf@gnu.org." >&5
- -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
- -whose name does not start with the host triplet. If you think this
- -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
- +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
- ac_tool_warned=yes ;;
- esac
- CC=$ac_ct_CC
- @@ -2344,10 +2532,10 @@
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
- set dummy ${ac_tool_prefix}cc; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_CC+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
- @@ -2357,25 +2545,25 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="${ac_tool_prefix}cc"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- fi
- fi
- CC=$ac_cv_prog_CC
- if test -n "$CC"; then
- - { echo "$as_me:$LINENO: result: $CC" >&5
- -echo "${ECHO_T}$CC" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
- +$as_echo "$CC" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
-
- @@ -2384,10 +2572,10 @@
- if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
- set dummy cc; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_CC+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
- @@ -2398,18 +2586,18 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- if test $ac_prog_rejected = yes; then
- @@ -2428,11 +2616,11 @@
- fi
- CC=$ac_cv_prog_CC
- if test -n "$CC"; then
- - { echo "$as_me:$LINENO: result: $CC" >&5
- -echo "${ECHO_T}$CC" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
- +$as_echo "$CC" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
-
- @@ -2443,10 +2631,10 @@
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
- set dummy $ac_tool_prefix$ac_prog; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_CC+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
- @@ -2456,25 +2644,25 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- fi
- fi
- CC=$ac_cv_prog_CC
- if test -n "$CC"; then
- - { echo "$as_me:$LINENO: result: $CC" >&5
- -echo "${ECHO_T}$CC" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
- +$as_echo "$CC" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
-
- @@ -2487,10 +2675,10 @@
- do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_ac_ct_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- if test -n "$ac_ct_CC"; then
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
- @@ -2500,25 +2688,25 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_CC="$ac_prog"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- fi
- fi
- ac_ct_CC=$ac_cv_prog_ac_ct_CC
- if test -n "$ac_ct_CC"; then
- - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
- -echo "${ECHO_T}$ac_ct_CC" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
- +$as_echo "$ac_ct_CC" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
-
- @@ -2530,12 +2718,8 @@
- else
- case $cross_compiling:$ac_tool_warned in
- yes:)
- -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
- -whose name does not start with the host triplet. If you think this
- -configuration is useful to you, please write to autoconf@gnu.org." >&5
- -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
- -whose name does not start with the host triplet. If you think this
- -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
- +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
- ac_tool_warned=yes ;;
- esac
- CC=$ac_ct_CC
- @@ -2545,51 +2729,37 @@
- fi
-
-
- -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
- -See \`config.log' for more details." >&5
- -echo "$as_me: error: no acceptable C compiler found in \$PATH
- -See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- +as_fn_error $? "no acceptable C compiler found in \$PATH
- +See \`config.log' for more details" "$LINENO" 5; }
-
- # Provide some information about the compiler.
- -echo "$as_me:$LINENO: checking for C compiler version" >&5
- -ac_compiler=`set X $ac_compile; echo $2`
- -{ (ac_try="$ac_compiler --version >&5"
- -case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_compiler --version >&5") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }
- -{ (ac_try="$ac_compiler -v >&5"
- -case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_compiler -v >&5") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }
- -{ (ac_try="$ac_compiler -V >&5"
- +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
- +set X $ac_compile
- +ac_compiler=$2
- +for ac_option in --version -v -V -qversion; do
- + { { ac_try="$ac_compiler $ac_option >&5"
- case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
- esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_compiler -V >&5") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
- + ac_status=$?
- + if test -s conftest.err; then
- + sed '10a\
- +... rest of stderr output deleted ...
- + 10q' conftest.err >conftest.er1
- + cat conftest.er1 >&5
- + fi
- + rm -f conftest.er1 conftest.err
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }
- +done
-
- -cat >conftest.$ac_ext <<_ACEOF
- -/* confdefs.h. */
- -_ACEOF
- -cat confdefs.h >>conftest.$ac_ext
- -cat >>conftest.$ac_ext <<_ACEOF
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
-
- int
- @@ -2601,59 +2771,55 @@
- }
- _ACEOF
- ac_clean_files_save=$ac_clean_files
- -ac_clean_files="$ac_clean_files a.out a.exe b.out"
- +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
- # Try to create an executable without -o first, disregard a.out.
- # It will help us diagnose broken compilers, and finding out an intuition
- # of exeext.
- -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
- -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
- -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
- -#
- -# List of possible output files, starting from the most likely.
- -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
- -# only as a last resort. b.out is created by i960 compilers.
- -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
- -#
- -# The IRIX 6 linker writes into existing files which may not be
- -# executable, retaining their permissions. Remove them first so a
- -# subsequent execution test works.
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
- +$as_echo_n "checking whether the C compiler works... " >&6; }
- +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
- +
- +# The possible output files:
- +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
- +
- ac_rmfiles=
- for ac_file in $ac_files
- do
- case $ac_file in
- - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
- + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
- * ) ac_rmfiles="$ac_rmfiles $ac_file";;
- esac
- done
- rm -f $ac_rmfiles
-
- -if { (ac_try="$ac_link_default"
- +if { { ac_try="$ac_link_default"
- case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
- esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_link_default") 2>&5
- ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; then
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; then :
- # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
- # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
- # in a Makefile. We should not override ac_cv_exeext if it was cached,
- # so that the user can short-circuit this test for compilers unknown to
- # Autoconf.
- -for ac_file in $ac_files
- +for ac_file in $ac_files ''
- do
- test -f "$ac_file" || continue
- case $ac_file in
- - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
- + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
- ;;
- [ab].out )
- # We found the default executable, but exeext='' is most
- # certainly right.
- break;;
- *.* )
- - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
- + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
- then :; else
- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- fi
- @@ -2670,76 +2836,43 @@
- test "$ac_cv_exeext" = no && ac_cv_exeext=
-
- else
- - echo "$as_me: failed program was:" >&5
- -sed 's/^/| /' conftest.$ac_ext >&5
- -
- -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
- -See \`config.log' for more details." >&5
- -echo "$as_me: error: C compiler cannot create executables
- -See \`config.log' for more details." >&2;}
- - { (exit 77); exit 77; }; }
- + ac_file=''
- fi
- +if test -z "$ac_file"; then :
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- +$as_echo "$as_me: failed program was:" >&5
- +sed 's/^/| /' conftest.$ac_ext >&5
-
- +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- +as_fn_error 77 "C compiler cannot create executables
- +See \`config.log' for more details" "$LINENO" 5; }
- +else
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- +$as_echo "yes" >&6; }
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
- +$as_echo_n "checking for C compiler default output file name... " >&6; }
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
- +$as_echo "$ac_file" >&6; }
- ac_exeext=$ac_cv_exeext
- -{ echo "$as_me:$LINENO: result: $ac_file" >&5
- -echo "${ECHO_T}$ac_file" >&6; }
- -
- -# Check that the compiler produces executables we can run. If not, either
- -# the compiler is broken, or we cross compile.
- -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
- -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
- -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
- -# If not cross compiling, check that we can run a simple program.
- -if test "$cross_compiling" != yes; then
- - if { ac_try='./$ac_file'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; }; then
- - cross_compiling=no
- - else
- - if test "$cross_compiling" = maybe; then
- - cross_compiling=yes
- - else
- - { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
- -If you meant to cross compile, use \`--host'.
- -See \`config.log' for more details." >&5
- -echo "$as_me: error: cannot run C compiled programs.
- -If you meant to cross compile, use \`--host'.
- -See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- - fi
- - fi
- -fi
- -{ echo "$as_me:$LINENO: result: yes" >&5
- -echo "${ECHO_T}yes" >&6; }
-
- -rm -f a.out a.exe conftest$ac_cv_exeext b.out
- +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
- ac_clean_files=$ac_clean_files_save
- -# Check that the compiler produces executables we can run. If not, either
- -# the compiler is broken, or we cross compile.
- -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
- -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
- -{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
- -echo "${ECHO_T}$cross_compiling" >&6; }
- -
- -{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
- -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
- -if { (ac_try="$ac_link"
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
- +$as_echo_n "checking for suffix of executables... " >&6; }
- +if { { ac_try="$ac_link"
- case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
- esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; then
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; then :
- # If both `conftest.exe' and `conftest' are `present' (well, observable)
- # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
- # work properly (i.e., refer to `conftest.exe'), while it won't with
- @@ -2747,37 +2880,90 @@
- for ac_file in conftest.exe conftest conftest.*; do
- test -f "$ac_file" || continue
- case $ac_file in
- - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
- + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
- *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- break;;
- * ) break;;
- esac
- done
- else
- - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
- -See \`config.log' for more details." >&5
- -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
- -See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- -fi
- -
- -rm -f conftest$ac_cv_exeext
- -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
- -echo "${ECHO_T}$ac_cv_exeext" >&6; }
- + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
- +See \`config.log' for more details" "$LINENO" 5; }
- +fi
- +rm -f conftest conftest$ac_cv_exeext
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
- +$as_echo "$ac_cv_exeext" >&6; }
-
- rm -f conftest.$ac_ext
- EXEEXT=$ac_cv_exeext
- ac_exeext=$EXEEXT
- -{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
- -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
- -if test "${ac_cv_objext+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- -else
- - cat >conftest.$ac_ext <<_ACEOF
- -/* confdefs.h. */
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- +/* end confdefs.h. */
- +#include <stdio.h>
- +int
- +main ()
- +{
- +FILE *f = fopen ("conftest.out", "w");
- + return ferror (f) || fclose (f) != 0;
- +
- + ;
- + return 0;
- +}
- _ACEOF
- -cat confdefs.h >>conftest.$ac_ext
- -cat >>conftest.$ac_ext <<_ACEOF
- +ac_clean_files="$ac_clean_files conftest.out"
- +# Check that the compiler produces executables we can run. If not, either
- +# the compiler is broken, or we cross compile.
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
- +$as_echo_n "checking whether we are cross compiling... " >&6; }
- +if test "$cross_compiling" != yes; then
- + { { ac_try="$ac_link"
- +case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_link") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }
- + if { ac_try='./conftest$ac_cv_exeext'
- + { { case "(($ac_try" in
- + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- + *) ac_try_echo=$ac_try;;
- +esac
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_try") 2>&5
- + ac_status=$?
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; }; then
- + cross_compiling=no
- + else
- + if test "$cross_compiling" = maybe; then
- + cross_compiling=yes
- + else
- + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- +as_fn_error $? "cannot run C compiled programs.
- +If you meant to cross compile, use \`--host'.
- +See \`config.log' for more details" "$LINENO" 5; }
- + fi
- + fi
- +fi
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
- +$as_echo "$cross_compiling" >&6; }
- +
- +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
- +ac_clean_files=$ac_clean_files_save
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
- +$as_echo_n "checking for suffix of object files... " >&6; }
- +if ${ac_cv_objext+:} false; then :
- + $as_echo_n "(cached) " >&6
- +else
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
-
- int
- @@ -2789,51 +2975,46 @@
- }
- _ACEOF
- rm -f conftest.o conftest.obj
- -if { (ac_try="$ac_compile"
- +if { { ac_try="$ac_compile"
- case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
- esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>&5
- ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; then
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; then :
- for ac_file in conftest.o conftest.obj conftest.*; do
- test -f "$ac_file" || continue;
- case $ac_file in
- - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
- + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
- *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
- break;;
- esac
- done
- else
- - echo "$as_me: failed program was:" >&5
- + $as_echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
-
- -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
- -See \`config.log' for more details." >&5
- -echo "$as_me: error: cannot compute suffix of object files: cannot compile
- -See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- +as_fn_error $? "cannot compute suffix of object files: cannot compile
- +See \`config.log' for more details" "$LINENO" 5; }
- fi
- -
- rm -f conftest.$ac_cv_objext conftest.$ac_ext
- fi
- -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
- -echo "${ECHO_T}$ac_cv_objext" >&6; }
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
- +$as_echo "$ac_cv_objext" >&6; }
- OBJEXT=$ac_cv_objext
- ac_objext=$OBJEXT
- -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
- -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
- -if test "${ac_cv_c_compiler_gnu+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
- +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
- +if ${ac_cv_c_compiler_gnu+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- - cat >conftest.$ac_ext <<_ACEOF
- -/* confdefs.h. */
- -_ACEOF
- -cat confdefs.h >>conftest.$ac_ext
- -cat >>conftest.$ac_ext <<_ACEOF
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
-
- int
- @@ -2847,71 +3028,34 @@
- return 0;
- }
- _ACEOF
- -rm -f conftest.$ac_objext
- -if { (ac_try="$ac_compile"
- -case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_compile") 2>conftest.er1
- - ac_status=$?
- - grep -v '^ *+' conftest.er1 >conftest.err
- - rm -f conftest.er1
- - cat conftest.err >&5
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); } &&
- - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; } &&
- - { ac_try='test -s conftest.$ac_objext'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; }; then
- +if ac_fn_c_try_compile "$LINENO"; then :
- ac_compiler_gnu=yes
- else
- - echo "$as_me: failed program was:" >&5
- -sed 's/^/| /' conftest.$ac_ext >&5
- -
- - ac_compiler_gnu=no
- + ac_compiler_gnu=no
- fi
- -
- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_cv_c_compiler_gnu=$ac_compiler_gnu
-
- fi
- -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
- -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
- -GCC=`test $ac_compiler_gnu = yes && echo yes`
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
- +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
- +if test $ac_compiler_gnu = yes; then
- + GCC=yes
- +else
- + GCC=
- +fi
- ac_test_CFLAGS=${CFLAGS+set}
- ac_save_CFLAGS=$CFLAGS
- -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
- -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_cc_g+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
- +$as_echo_n "checking whether $CC accepts -g... " >&6; }
- +if ${ac_cv_prog_cc_g+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- - cat >conftest.$ac_ext <<_ACEOF
- -/* confdefs.h. */
- -_ACEOF
- -cat confdefs.h >>conftest.$ac_ext
- -cat >>conftest.$ac_ext <<_ACEOF
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
-
- int
- @@ -2922,51 +3066,11 @@
- return 0;
- }
- _ACEOF
- -rm -f conftest.$ac_objext
- -if { (ac_try="$ac_compile"
- -case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_compile") 2>conftest.er1
- - ac_status=$?
- - grep -v '^ *+' conftest.er1 >conftest.err
- - rm -f conftest.er1
- - cat conftest.err >&5
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); } &&
- - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; } &&
- - { ac_try='test -s conftest.$ac_objext'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; }; then
- +if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
- else
- - echo "$as_me: failed program was:" >&5
- -sed 's/^/| /' conftest.$ac_ext >&5
- -
- - CFLAGS=""
- - cat >conftest.$ac_ext <<_ACEOF
- -/* confdefs.h. */
- -_ACEOF
- -cat confdefs.h >>conftest.$ac_ext
- -cat >>conftest.$ac_ext <<_ACEOF
- + CFLAGS=""
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
-
- int
- @@ -2977,52 +3081,12 @@
- return 0;
- }
- _ACEOF
- -rm -f conftest.$ac_objext
- -if { (ac_try="$ac_compile"
- -case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_compile") 2>conftest.er1
- - ac_status=$?
- - grep -v '^ *+' conftest.er1 >conftest.err
- - rm -f conftest.er1
- - cat conftest.err >&5
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); } &&
- - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; } &&
- - { ac_try='test -s conftest.$ac_objext'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; }; then
- - :
- -else
- - echo "$as_me: failed program was:" >&5
- -sed 's/^/| /' conftest.$ac_ext >&5
- +if ac_fn_c_try_compile "$LINENO"; then :
-
- - ac_c_werror_flag=$ac_save_c_werror_flag
- +else
- + ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- - cat >conftest.$ac_ext <<_ACEOF
- -/* confdefs.h. */
- -_ACEOF
- -cat confdefs.h >>conftest.$ac_ext
- -cat >>conftest.$ac_ext <<_ACEOF
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
-
- int
- @@ -3033,59 +3097,18 @@
- return 0;
- }
- _ACEOF
- -rm -f conftest.$ac_objext
- -if { (ac_try="$ac_compile"
- -case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_compile") 2>conftest.er1
- - ac_status=$?
- - grep -v '^ *+' conftest.er1 >conftest.err
- - rm -f conftest.er1
- - cat conftest.err >&5
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); } &&
- - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; } &&
- - { ac_try='test -s conftest.$ac_objext'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; }; then
- +if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
- -else
- - echo "$as_me: failed program was:" >&5
- -sed 's/^/| /' conftest.$ac_ext >&5
- -
- -
- fi
- -
- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- fi
- -
- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- fi
- -
- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
- fi
- -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
- -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
- +$as_echo "$ac_cv_prog_cc_g" >&6; }
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
- elif test $ac_cv_prog_cc_g = yes; then
- @@ -3101,18 +3124,14 @@
- CFLAGS=
- fi
- fi
- -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
- -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_cc_c89+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
- +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
- +if ${ac_cv_prog_cc_c89+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- ac_cv_prog_cc_c89=no
- ac_save_CC=$CC
- -cat >conftest.$ac_ext <<_ACEOF
- -/* confdefs.h. */
- -_ACEOF
- -cat confdefs.h >>conftest.$ac_ext
- -cat >>conftest.$ac_ext <<_ACEOF
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
- #include <stdarg.h>
- #include <stdio.h>
- @@ -3169,48 +3188,9 @@
- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
- do
- CC="$ac_save_CC $ac_arg"
- - rm -f conftest.$ac_objext
- -if { (ac_try="$ac_compile"
- -case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_compile") 2>conftest.er1
- - ac_status=$?
- - grep -v '^ *+' conftest.er1 >conftest.err
- - rm -f conftest.er1
- - cat conftest.err >&5
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); } &&
- - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; } &&
- - { ac_try='test -s conftest.$ac_objext'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; }; then
- + if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_c89=$ac_arg
- -else
- - echo "$as_me: failed program was:" >&5
- -sed 's/^/| /' conftest.$ac_ext >&5
- -
- -
- fi
- -
- rm -f core conftest.err conftest.$ac_objext
- test "x$ac_cv_prog_cc_c89" != "xno" && break
- done
- @@ -3221,17 +3201,19 @@
- # AC_CACHE_VAL
- case "x$ac_cv_prog_cc_c89" in
- x)
- - { echo "$as_me:$LINENO: result: none needed" >&5
- -echo "${ECHO_T}none needed" >&6; } ;;
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
- +$as_echo "none needed" >&6; } ;;
- xno)
- - { echo "$as_me:$LINENO: result: unsupported" >&5
- -echo "${ECHO_T}unsupported" >&6; } ;;
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
- +$as_echo "unsupported" >&6; } ;;
- *)
- CC="$CC $ac_cv_prog_cc_c89"
- - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
- -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
- +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
- esac
- +if test "x$ac_cv_prog_cc_c89" != xno; then :
-
- +fi
-
- ac_ext=c
- ac_cpp='$CPP $CPPFLAGS'
- @@ -3241,10 +3223,10 @@
-
- depcc="$CC" am_compiler_list=
-
- -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
- -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
- -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
- +$as_echo_n "checking dependency style of $depcc... " >&6; }
- +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- @@ -3269,6 +3251,11 @@
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- + am__universal=false
- + case " $depcc " in #(
- + *\ -arch\ *\ -arch\ *) am__universal=true ;;
- + esac
- +
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- @@ -3286,7 +3273,17 @@
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- + # We check with `-c' and `-o' for the sake of the "dashmstdout"
- + # mode. It turns out that the SunPro C++ compiler does not properly
- + # handle `-M -o', and we need to detect this. Also, some Intel
- + # versions had trouble with output in subdirs
- + am__obj=sub/conftest.${OBJEXT-o}
- + am__minus_obj="-o $am__obj"
- case $depmode in
- + gcc)
- + # This depmode causes a compiler race in universal mode.
- + test "$am__universal" = false || continue
- + ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- @@ -3296,18 +3293,23 @@
- break
- fi
- ;;
- + msvisualcpp | msvcmsys)
- + # This compiler won't grok `-c -o', but also, the minuso test has
- + # not run yet. These depmodes are late enough in the game, and
- + # so weak that their functioning should not be impacted.
- + am__obj=conftest.${OBJEXT-o}
- + am__minus_obj=
- + ;;
- none) break ;;
- esac
- - # We check with `-c' and `-o' for the sake of the "dashmstdout"
- - # mode. It turns out that the SunPro C++ compiler does not properly
- - # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- + source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- @@ -3331,13 +3333,11 @@
- fi
-
- fi
- -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
- -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
- +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
- CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- -
- -
- -if
- + if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- @@ -3349,18 +3349,14 @@
-
-
-
- -{ echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
- -echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6; }
- -if test "${ac_cv_lib_readline_readline+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
- +$as_echo_n "checking for readline in -lreadline... " >&6; }
- +if ${ac_cv_lib_readline_readline+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- ac_check_lib_save_LIBS=$LIBS
- LIBS="-lreadline $LIBS"
- -cat >conftest.$ac_ext <<_ACEOF
- -/* confdefs.h. */
- -_ACEOF
- -cat confdefs.h >>conftest.$ac_ext
- -cat >>conftest.$ac_ext <<_ACEOF
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
-
- /* Override any GCC internal prototype to avoid an error.
- @@ -3378,72 +3374,31 @@
- return 0;
- }
- _ACEOF
- -rm -f conftest.$ac_objext conftest$ac_exeext
- -if { (ac_try="$ac_link"
- -case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_link") 2>conftest.er1
- - ac_status=$?
- - grep -v '^ *+' conftest.er1 >conftest.err
- - rm -f conftest.er1
- - cat conftest.err >&5
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); } &&
- - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; } &&
- - { ac_try='test -s conftest$ac_exeext'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; }; then
- +if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_readline_readline=yes
- else
- - echo "$as_me: failed program was:" >&5
- -sed 's/^/| /' conftest.$ac_ext >&5
- -
- - ac_cv_lib_readline_readline=no
- + ac_cv_lib_readline_readline=no
- fi
- -
- rm -f core conftest.err conftest.$ac_objext \
- - conftest$ac_exeext conftest.$ac_ext
- + conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
- -{ echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
- -echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6; }
- -if test $ac_cv_lib_readline_readline = yes; then
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
- +$as_echo "$ac_cv_lib_readline_readline" >&6; }
- +if test "x$ac_cv_lib_readline_readline" = xyes; then :
- WORKING_READLINE=yes
- else
- WORKING_READLINE=no
- fi
-
- -{ echo "$as_me:$LINENO: checking for add_history in -lhistory" >&5
- -echo $ECHO_N "checking for add_history in -lhistory... $ECHO_C" >&6; }
- -if test "${ac_cv_lib_history_add_history+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for add_history in -lhistory" >&5
- +$as_echo_n "checking for add_history in -lhistory... " >&6; }
- +if ${ac_cv_lib_history_add_history+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- ac_check_lib_save_LIBS=$LIBS
- LIBS="-lhistory $LIBS"
- -cat >conftest.$ac_ext <<_ACEOF
- -/* confdefs.h. */
- -_ACEOF
- -cat confdefs.h >>conftest.$ac_ext
- -cat >>conftest.$ac_ext <<_ACEOF
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
-
- /* Override any GCC internal prototype to avoid an error.
- @@ -3461,55 +3416,18 @@
- return 0;
- }
- _ACEOF
- -rm -f conftest.$ac_objext conftest$ac_exeext
- -if { (ac_try="$ac_link"
- -case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_link") 2>conftest.er1
- - ac_status=$?
- - grep -v '^ *+' conftest.er1 >conftest.err
- - rm -f conftest.er1
- - cat conftest.err >&5
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); } &&
- - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; } &&
- - { ac_try='test -s conftest$ac_exeext'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; }; then
- +if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_history_add_history=yes
- else
- - echo "$as_me: failed program was:" >&5
- -sed 's/^/| /' conftest.$ac_ext >&5
- -
- - ac_cv_lib_history_add_history=no
- + ac_cv_lib_history_add_history=no
- fi
- -
- rm -f core conftest.err conftest.$ac_objext \
- - conftest$ac_exeext conftest.$ac_ext
- + conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
- -{ echo "$as_me:$LINENO: result: $ac_cv_lib_history_add_history" >&5
- -echo "${ECHO_T}$ac_cv_lib_history_add_history" >&6; }
- -if test $ac_cv_lib_history_add_history = yes; then
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_add_history" >&5
- +$as_echo "$ac_cv_lib_history_add_history" >&6; }
- +if test "x$ac_cv_lib_history_add_history" = xyes; then :
- WORKING_READLINE=yes
- else
- WORKING_READLINE=no
- @@ -3524,9 +3442,7 @@
- fi
- fi
-
- -
- -
- -if test "x$WITH_READLINE" = "xyes"; then
- + if test "x$WITH_READLINE" = "xyes"; then
- INTERACTIVE_TRUE=
- INTERACTIVE_FALSE='#'
- else
- @@ -3544,7 +3460,7 @@
-
-
- # Check whether --enable-doc was given.
- -if test "${enable_doc+set}" = set; then
- +if test "${enable_doc+set}" = set; then :
- enableval=$enable_doc; DO_DOCS=$enableval
- else
- DO_DOCS=$enableval
- @@ -3553,16 +3469,14 @@
-
-
- # Check whether --with-help2man was given.
- -if test "${with_help2man+set}" = set; then
- +if test "${with_help2man+set}" = set; then :
- withval=$with_help2man; WITH_H2MAN=$withval
- else
- WITH_H2MAN=yes
- fi
-
-
- -
- -
- -if test "x$DO_DOCS" != "xno"; then
- + if test "x$DO_DOCS" != "xno"; then
- DODOCS_TRUE=
- DODOCS_FALSE='#'
- else
- @@ -3571,14 +3485,6 @@
- fi
-
-
- -# Check whether --enable-debug was given.
- -if test "${enable_debug+set}" = set; then
- - enableval=$enable_debug; CFLAGS="-g -O0"
- -else
- - CFLAGS="-g -O2"
- -fi
- -
- -
- CFLAGS="$CFLAGS -DEXMAP_VERSION=\\\"$EXMAP_VERSION\\\" -DEXMAP_PROTOCOL_VERSION=\\\"$EXMAP_PROTOCOL_VERSION\\\""
-
-
- @@ -3591,10 +3497,10 @@
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
- set dummy ${ac_tool_prefix}gcc; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_CC+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
- @@ -3604,25 +3510,25 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="${ac_tool_prefix}gcc"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- fi
- fi
- CC=$ac_cv_prog_CC
- if test -n "$CC"; then
- - { echo "$as_me:$LINENO: result: $CC" >&5
- -echo "${ECHO_T}$CC" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
- +$as_echo "$CC" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
-
- @@ -3631,10 +3537,10 @@
- ac_ct_CC=$CC
- # Extract the first word of "gcc", so it can be a program name with args.
- set dummy gcc; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_ac_ct_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- if test -n "$ac_ct_CC"; then
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
- @@ -3644,25 +3550,25 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_CC="gcc"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- fi
- fi
- ac_ct_CC=$ac_cv_prog_ac_ct_CC
- if test -n "$ac_ct_CC"; then
- - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
- -echo "${ECHO_T}$ac_ct_CC" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
- +$as_echo "$ac_ct_CC" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
- if test "x$ac_ct_CC" = x; then
- @@ -3670,12 +3576,8 @@
- else
- case $cross_compiling:$ac_tool_warned in
- yes:)
- -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
- -whose name does not start with the host triplet. If you think this
- -configuration is useful to you, please write to autoconf@gnu.org." >&5
- -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
- -whose name does not start with the host triplet. If you think this
- -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
- +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
- ac_tool_warned=yes ;;
- esac
- CC=$ac_ct_CC
- @@ -3688,10 +3590,10 @@
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
- set dummy ${ac_tool_prefix}cc; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_CC+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
- @@ -3701,25 +3603,25 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="${ac_tool_prefix}cc"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- fi
- fi
- CC=$ac_cv_prog_CC
- if test -n "$CC"; then
- - { echo "$as_me:$LINENO: result: $CC" >&5
- -echo "${ECHO_T}$CC" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
- +$as_echo "$CC" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
-
- @@ -3728,10 +3630,10 @@
- if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
- set dummy cc; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_CC+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
- @@ -3742,18 +3644,18 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- if test $ac_prog_rejected = yes; then
- @@ -3772,11 +3674,11 @@
- fi
- CC=$ac_cv_prog_CC
- if test -n "$CC"; then
- - { echo "$as_me:$LINENO: result: $CC" >&5
- -echo "${ECHO_T}$CC" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
- +$as_echo "$CC" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
-
- @@ -3787,10 +3689,10 @@
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
- set dummy $ac_tool_prefix$ac_prog; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_CC+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
- @@ -3800,25 +3702,25 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- fi
- fi
- CC=$ac_cv_prog_CC
- if test -n "$CC"; then
- - { echo "$as_me:$LINENO: result: $CC" >&5
- -echo "${ECHO_T}$CC" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
- +$as_echo "$CC" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
-
- @@ -3831,10 +3733,10 @@
- do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_prog_ac_ct_CC+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- if test -n "$ac_ct_CC"; then
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
- @@ -3844,25 +3746,25 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_CC="$ac_prog"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- fi
- fi
- ac_ct_CC=$ac_cv_prog_ac_ct_CC
- if test -n "$ac_ct_CC"; then
- - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
- -echo "${ECHO_T}$ac_ct_CC" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
- +$as_echo "$ac_ct_CC" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
-
- @@ -3874,12 +3776,8 @@
- else
- case $cross_compiling:$ac_tool_warned in
- yes:)
- -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
- -whose name does not start with the host triplet. If you think this
- -configuration is useful to you, please write to autoconf@gnu.org." >&5
- -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
- -whose name does not start with the host triplet. If you think this
- -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
- +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
- ac_tool_warned=yes ;;
- esac
- CC=$ac_ct_CC
- @@ -3889,56 +3787,42 @@
- fi
-
-
- -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
- -See \`config.log' for more details." >&5
- -echo "$as_me: error: no acceptable C compiler found in \$PATH
- -See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- +as_fn_error $? "no acceptable C compiler found in \$PATH
- +See \`config.log' for more details" "$LINENO" 5; }
-
- # Provide some information about the compiler.
- -echo "$as_me:$LINENO: checking for C compiler version" >&5
- -ac_compiler=`set X $ac_compile; echo $2`
- -{ (ac_try="$ac_compiler --version >&5"
- -case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_compiler --version >&5") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }
- -{ (ac_try="$ac_compiler -v >&5"
- -case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_compiler -v >&5") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }
- -{ (ac_try="$ac_compiler -V >&5"
- +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
- +set X $ac_compile
- +ac_compiler=$2
- +for ac_option in --version -v -V -qversion; do
- + { { ac_try="$ac_compiler $ac_option >&5"
- case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
- esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_compiler -V >&5") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }
- -
- -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
- -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
- -if test "${ac_cv_c_compiler_gnu+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
- +$as_echo "$ac_try_echo"; } >&5
- + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
- + ac_status=$?
- + if test -s conftest.err; then
- + sed '10a\
- +... rest of stderr output deleted ...
- + 10q' conftest.err >conftest.er1
- + cat conftest.er1 >&5
- + fi
- + rm -f conftest.er1 conftest.err
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }
- +done
- +
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
- +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
- +if ${ac_cv_c_compiler_gnu+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- - cat >conftest.$ac_ext <<_ACEOF
- -/* confdefs.h. */
- -_ACEOF
- -cat confdefs.h >>conftest.$ac_ext
- -cat >>conftest.$ac_ext <<_ACEOF
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
-
- int
- @@ -3952,71 +3836,34 @@
- return 0;
- }
- _ACEOF
- -rm -f conftest.$ac_objext
- -if { (ac_try="$ac_compile"
- -case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_compile") 2>conftest.er1
- - ac_status=$?
- - grep -v '^ *+' conftest.er1 >conftest.err
- - rm -f conftest.er1
- - cat conftest.err >&5
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); } &&
- - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; } &&
- - { ac_try='test -s conftest.$ac_objext'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; }; then
- +if ac_fn_c_try_compile "$LINENO"; then :
- ac_compiler_gnu=yes
- else
- - echo "$as_me: failed program was:" >&5
- -sed 's/^/| /' conftest.$ac_ext >&5
- -
- - ac_compiler_gnu=no
- + ac_compiler_gnu=no
- fi
- -
- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_cv_c_compiler_gnu=$ac_compiler_gnu
-
- fi
- -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
- -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
- -GCC=`test $ac_compiler_gnu = yes && echo yes`
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
- +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
- +if test $ac_compiler_gnu = yes; then
- + GCC=yes
- +else
- + GCC=
- +fi
- ac_test_CFLAGS=${CFLAGS+set}
- ac_save_CFLAGS=$CFLAGS
- -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
- -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_cc_g+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
- +$as_echo_n "checking whether $CC accepts -g... " >&6; }
- +if ${ac_cv_prog_cc_g+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- - cat >conftest.$ac_ext <<_ACEOF
- -/* confdefs.h. */
- -_ACEOF
- -cat confdefs.h >>conftest.$ac_ext
- -cat >>conftest.$ac_ext <<_ACEOF
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
-
- int
- @@ -4027,51 +3874,11 @@
- return 0;
- }
- _ACEOF
- -rm -f conftest.$ac_objext
- -if { (ac_try="$ac_compile"
- -case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_compile") 2>conftest.er1
- - ac_status=$?
- - grep -v '^ *+' conftest.er1 >conftest.err
- - rm -f conftest.er1
- - cat conftest.err >&5
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); } &&
- - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; } &&
- - { ac_try='test -s conftest.$ac_objext'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; }; then
- +if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
- else
- - echo "$as_me: failed program was:" >&5
- -sed 's/^/| /' conftest.$ac_ext >&5
- -
- - CFLAGS=""
- - cat >conftest.$ac_ext <<_ACEOF
- -/* confdefs.h. */
- -_ACEOF
- -cat confdefs.h >>conftest.$ac_ext
- -cat >>conftest.$ac_ext <<_ACEOF
- + CFLAGS=""
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
-
- int
- @@ -4082,52 +3889,12 @@
- return 0;
- }
- _ACEOF
- -rm -f conftest.$ac_objext
- -if { (ac_try="$ac_compile"
- -case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_compile") 2>conftest.er1
- - ac_status=$?
- - grep -v '^ *+' conftest.er1 >conftest.err
- - rm -f conftest.er1
- - cat conftest.err >&5
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); } &&
- - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; } &&
- - { ac_try='test -s conftest.$ac_objext'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; }; then
- - :
- -else
- - echo "$as_me: failed program was:" >&5
- -sed 's/^/| /' conftest.$ac_ext >&5
- +if ac_fn_c_try_compile "$LINENO"; then :
-
- - ac_c_werror_flag=$ac_save_c_werror_flag
- +else
- + ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- - cat >conftest.$ac_ext <<_ACEOF
- -/* confdefs.h. */
- -_ACEOF
- -cat confdefs.h >>conftest.$ac_ext
- -cat >>conftest.$ac_ext <<_ACEOF
- + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
-
- int
- @@ -4138,59 +3905,18 @@
- return 0;
- }
- _ACEOF
- -rm -f conftest.$ac_objext
- -if { (ac_try="$ac_compile"
- -case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_compile") 2>conftest.er1
- - ac_status=$?
- - grep -v '^ *+' conftest.er1 >conftest.err
- - rm -f conftest.er1
- - cat conftest.err >&5
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); } &&
- - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; } &&
- - { ac_try='test -s conftest.$ac_objext'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; }; then
- +if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
- -else
- - echo "$as_me: failed program was:" >&5
- -sed 's/^/| /' conftest.$ac_ext >&5
- -
- -
- fi
- -
- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- fi
- -
- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- fi
- -
- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
- fi
- -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
- -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
- +$as_echo "$ac_cv_prog_cc_g" >&6; }
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
- elif test $ac_cv_prog_cc_g = yes; then
- @@ -4206,18 +3932,14 @@
- CFLAGS=
- fi
- fi
- -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
- -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
- -if test "${ac_cv_prog_cc_c89+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
- +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
- +if ${ac_cv_prog_cc_c89+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- ac_cv_prog_cc_c89=no
- ac_save_CC=$CC
- -cat >conftest.$ac_ext <<_ACEOF
- -/* confdefs.h. */
- -_ACEOF
- -cat confdefs.h >>conftest.$ac_ext
- -cat >>conftest.$ac_ext <<_ACEOF
- +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
- #include <stdarg.h>
- #include <stdio.h>
- @@ -4274,48 +3996,9 @@
- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
- do
- CC="$ac_save_CC $ac_arg"
- - rm -f conftest.$ac_objext
- -if { (ac_try="$ac_compile"
- -case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_compile") 2>conftest.er1
- - ac_status=$?
- - grep -v '^ *+' conftest.er1 >conftest.err
- - rm -f conftest.er1
- - cat conftest.err >&5
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); } &&
- - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; } &&
- - { ac_try='test -s conftest.$ac_objext'
- - { (case "(($ac_try" in
- - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- - *) ac_try_echo=$ac_try;;
- -esac
- -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- - (eval "$ac_try") 2>&5
- - ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; }; then
- + if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_c89=$ac_arg
- -else
- - echo "$as_me: failed program was:" >&5
- -sed 's/^/| /' conftest.$ac_ext >&5
- -
- -
- fi
- -
- rm -f core conftest.err conftest.$ac_objext
- test "x$ac_cv_prog_cc_c89" != "xno" && break
- done
- @@ -4326,17 +4009,19 @@
- # AC_CACHE_VAL
- case "x$ac_cv_prog_cc_c89" in
- x)
- - { echo "$as_me:$LINENO: result: none needed" >&5
- -echo "${ECHO_T}none needed" >&6; } ;;
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
- +$as_echo "none needed" >&6; } ;;
- xno)
- - { echo "$as_me:$LINENO: result: unsupported" >&5
- -echo "${ECHO_T}unsupported" >&6; } ;;
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
- +$as_echo "unsupported" >&6; } ;;
- *)
- CC="$CC $ac_cv_prog_cc_c89"
- - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
- -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
- +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
- esac
- +if test "x$ac_cv_prog_cc_c89" != xno; then :
-
- +fi
-
- ac_ext=c
- ac_cpp='$CPP $CPPFLAGS'
- @@ -4346,10 +4031,10 @@
-
- depcc="$CC" am_compiler_list=
-
- -{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
- -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
- -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
- +$as_echo_n "checking dependency style of $depcc... " >&6; }
- +if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- @@ -4374,6 +4059,11 @@
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- + am__universal=false
- + case " $depcc " in #(
- + *\ -arch\ *\ -arch\ *) am__universal=true ;;
- + esac
- +
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- @@ -4391,7 +4081,17 @@
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- + # We check with `-c' and `-o' for the sake of the "dashmstdout"
- + # mode. It turns out that the SunPro C++ compiler does not properly
- + # handle `-M -o', and we need to detect this. Also, some Intel
- + # versions had trouble with output in subdirs
- + am__obj=sub/conftest.${OBJEXT-o}
- + am__minus_obj="-o $am__obj"
- case $depmode in
- + gcc)
- + # This depmode causes a compiler race in universal mode.
- + test "$am__universal" = false || continue
- + ;;
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- @@ -4401,18 +4101,23 @@
- break
- fi
- ;;
- + msvisualcpp | msvcmsys)
- + # This compiler won't grok `-c -o', but also, the minuso test has
- + # not run yet. These depmodes are late enough in the game, and
- + # so weak that their functioning should not be impacted.
- + am__obj=conftest.${OBJEXT-o}
- + am__minus_obj=
- + ;;
- none) break ;;
- esac
- - # We check with `-c' and `-o' for the sake of the "dashmstdout"
- - # mode. It turns out that the SunPro C++ compiler does not properly
- - # handle `-M -o', and we need to detect this.
- if depmode=$depmode \
- - source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
- + source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- - $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
- + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- - grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
- + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- @@ -4436,13 +4141,11 @@
- fi
-
- fi
- -{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
- -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
- +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
- CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- -
- -
- -if
- + if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- @@ -4456,14 +4159,18 @@
-
-
-
- +
- +
- +
- +
- if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
- set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_path_PKG_CONFIG+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- case $PKG_CONFIG in
- [\\/]* | ?:[\\/]*)
- @@ -4475,14 +4182,14 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- ;;
- @@ -4490,11 +4197,11 @@
- fi
- PKG_CONFIG=$ac_cv_path_PKG_CONFIG
- if test -n "$PKG_CONFIG"; then
- - { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
- -echo "${ECHO_T}$PKG_CONFIG" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
- +$as_echo "$PKG_CONFIG" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
-
- @@ -4503,10 +4210,10 @@
- ac_pt_PKG_CONFIG=$PKG_CONFIG
- # Extract the first word of "pkg-config", so it can be a program name with args.
- set dummy pkg-config; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- case $ac_pt_PKG_CONFIG in
- [\\/]* | ?:[\\/]*)
- @@ -4518,14 +4225,14 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- ;;
- @@ -4533,11 +4240,11 @@
- fi
- ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
- if test -n "$ac_pt_PKG_CONFIG"; then
- - { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
- -echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
- +$as_echo "$ac_pt_PKG_CONFIG" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
- if test "x$ac_pt_PKG_CONFIG" = x; then
- @@ -4545,12 +4252,8 @@
- else
- case $cross_compiling:$ac_tool_warned in
- yes:)
- -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
- -whose name does not start with the host triplet. If you think this
- -configuration is useful to you, please write to autoconf@gnu.org." >&5
- -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
- -whose name does not start with the host triplet. If you think this
- -configuration is useful to you, please write to autoconf@gnu.org." >&2;}
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
- +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
- ac_tool_warned=yes ;;
- esac
- PKG_CONFIG=$ac_pt_PKG_CONFIG
- @@ -4562,63 +4265,60 @@
- fi
- if test -n "$PKG_CONFIG"; then
- _pkg_min_version=0.9.0
- - { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
- -echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
- +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
- if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
- - { echo "$as_me:$LINENO: result: yes" >&5
- -echo "${ECHO_T}yes" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- +$as_echo "yes" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- PKG_CONFIG=""
- fi
- -
- fi
-
- pkg_failed=no
- -{ echo "$as_me:$LINENO: checking for GLIB" >&5
- -echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
- +$as_echo_n "checking for GLIB... " >&6; }
-
- -if test -n "$PKG_CONFIG"; then
- - if test -n "$GLIB_CFLAGS"; then
- - pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
- - else
- - if test -n "$PKG_CONFIG" && \
- - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
- +if test -n "$GLIB_CFLAGS"; then
- + pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
- + elif test -n "$PKG_CONFIG"; then
- + if test -n "$PKG_CONFIG" && \
- + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
- ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
- ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; then
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; then
- pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- - fi
- -else
- - pkg_failed=untried
- + else
- + pkg_failed=untried
- fi
- -if test -n "$PKG_CONFIG"; then
- - if test -n "$GLIB_LIBS"; then
- - pkg_cv_GLIB_LIBS="$GLIB_LIBS"
- - else
- - if test -n "$PKG_CONFIG" && \
- - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
- +if test -n "$GLIB_LIBS"; then
- + pkg_cv_GLIB_LIBS="$GLIB_LIBS"
- + elif test -n "$PKG_CONFIG"; then
- + if test -n "$PKG_CONFIG" && \
- + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
- ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
- ac_status=$?
- - echo "$as_me:$LINENO: \$? = $ac_status" >&5
- - (exit $ac_status); }; then
- + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- + test $ac_status = 0; }; then
- pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
- else
- pkg_failed=yes
- fi
- - fi
- -else
- - pkg_failed=untried
- + else
- + pkg_failed=untried
- fi
-
-
-
- if test $pkg_failed = yes; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
-
- if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
- @@ -4626,25 +4326,14 @@
- _pkg_short_errors_supported=no
- fi
- if test $_pkg_short_errors_supported = yes; then
- - GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"`
- + GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
- else
- - GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
- + GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$GLIB_PKG_ERRORS" >&5
-
- - { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
- -
- -$GLIB_PKG_ERRORS
- -
- -Consider adjusting the PKG_CONFIG_PATH environment variable if you
- -installed software in a non-standard prefix.
- -
- -Alternatively, you may set the environment variables GLIB_CFLAGS
- -and GLIB_LIBS to avoid the need to call pkg-config.
- -See the pkg-config man page for more details.
- -" >&5
- -echo "$as_me: error: Package requirements (glib-2.0) were not met:
- + as_fn_error $? "Package requirements (glib-2.0) were not met:
-
- $GLIB_PKG_ERRORS
-
- @@ -4653,21 +4342,13 @@
-
- Alternatively, you may set the environment variables GLIB_CFLAGS
- and GLIB_LIBS to avoid the need to call pkg-config.
- -See the pkg-config man page for more details.
- -" >&2;}
- - { (exit 1); exit 1; }; }
- +See the pkg-config man page for more details." "$LINENO" 5
- elif test $pkg_failed = untried; then
- - { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
- -is in your PATH or set the PKG_CONFIG environment variable to the full
- -path to pkg-config.
- -
- -Alternatively, you may set the environment variables GLIB_CFLAGS
- -and GLIB_LIBS to avoid the need to call pkg-config.
- -See the pkg-config man page for more details.
- -
- -To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
- -See \`config.log' for more details." >&5
- -echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
- is in your PATH or set the PKG_CONFIG environment variable to the full
- path to pkg-config.
-
- @@ -4675,15 +4356,14 @@
- and GLIB_LIBS to avoid the need to call pkg-config.
- See the pkg-config man page for more details.
-
- -To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
- -See \`config.log' for more details." >&2;}
- - { (exit 1); exit 1; }; }
- +To get pkg-config, see <http://pkg-config.freedesktop.org/>.
- +See \`config.log' for more details" "$LINENO" 5; }
- else
- GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
- GLIB_LIBS=$pkg_cv_GLIB_LIBS
- - { echo "$as_me:$LINENO: result: yes" >&5
- -echo "${ECHO_T}yes" >&6; }
- - :
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- +$as_echo "yes" >&6; }
- +
- fi
-
-
- @@ -4695,10 +4375,10 @@
- #autodetect, error if not found
- # Extract the first word of "help2man", so it can be a program name with args.
- set dummy help2man; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_path_HELPTOMAN+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_path_HELPTOMAN+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- case $HELPTOMAN in
- [\\/]* | ?:[\\/]*)
- @@ -4710,14 +4390,14 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_HELPTOMAN="$as_dir/$ac_word$ac_exec_ext"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- test -z "$ac_cv_path_HELPTOMAN" && ac_cv_path_HELPTOMAN="no"
- @@ -4726,18 +4406,16 @@
- fi
- HELPTOMAN=$ac_cv_path_HELPTOMAN
- if test -n "$HELPTOMAN"; then
- - { echo "$as_me:$LINENO: result: $HELPTOMAN" >&5
- -echo "${ECHO_T}$HELPTOMAN" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELPTOMAN" >&5
- +$as_echo "$HELPTOMAN" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
-
- if test "x$HELPTOMAN" = "xno" ; then
- - { { echo "$as_me:$LINENO: error: help2man not found -- either install it or use --without-help2man or --disable-doc" >&5
- -echo "$as_me: error: help2man not found -- either install it or use --without-help2man or --disable-doc" >&2;}
- - { (exit 1); exit 1; }; }
- + as_fn_error $? "help2man not found -- either install it or use --without-help2man or --disable-doc" "$LINENO" 5
- fi
- else
- if test x$WITH_H2MAN = xno ; then
- @@ -4749,10 +4427,10 @@
- if test x$H2M_PATH = x$WITH_H2MAN ; then
- # Extract the first word of "$H2M_PROG", so it can be a program name with args.
- set dummy $H2M_PROG; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_path_HELPTOMAN+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_path_HELPTOMAN+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- case $HELPTOMAN in
- [\\/]* | ?:[\\/]*)
- @@ -4764,14 +4442,14 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_HELPTOMAN="$as_dir/$ac_word$ac_exec_ext"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- test -z "$ac_cv_path_HELPTOMAN" && ac_cv_path_HELPTOMAN="no"
- @@ -4780,21 +4458,21 @@
- fi
- HELPTOMAN=$ac_cv_path_HELPTOMAN
- if test -n "$HELPTOMAN"; then
- - { echo "$as_me:$LINENO: result: $HELPTOMAN" >&5
- -echo "${ECHO_T}$HELPTOMAN" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELPTOMAN" >&5
- +$as_echo "$HELPTOMAN" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
-
- else
- # Extract the first word of "$H2M_PROG", so it can be a program name with args.
- set dummy $H2M_PROG; ac_word=$2
- -{ echo "$as_me:$LINENO: checking for $ac_word" >&5
- -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
- -if test "${ac_cv_path_HELPTOMAN+set}" = set; then
- - echo $ECHO_N "(cached) $ECHO_C" >&6
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
- +$as_echo_n "checking for $ac_word... " >&6; }
- +if ${ac_cv_path_HELPTOMAN+:} false; then :
- + $as_echo_n "(cached) " >&6
- else
- case $HELPTOMAN in
- [\\/]* | ?:[\\/]*)
- @@ -4806,14 +4484,14 @@
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - for ac_exec_ext in '' $ac_executable_extensions; do
- - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_HELPTOMAN="$as_dir/$ac_word$ac_exec_ext"
- - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
- done
- -done
- + done
- IFS=$as_save_IFS
-
- test -z "$ac_cv_path_HELPTOMAN" && ac_cv_path_HELPTOMAN="no"
- @@ -4822,28 +4500,24 @@
- fi
- HELPTOMAN=$ac_cv_path_HELPTOMAN
- if test -n "$HELPTOMAN"; then
- - { echo "$as_me:$LINENO: result: $HELPTOMAN" >&5
- -echo "${ECHO_T}$HELPTOMAN" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HELPTOMAN" >&5
- +$as_echo "$HELPTOMAN" >&6; }
- else
- - { echo "$as_me:$LINENO: result: no" >&5
- -echo "${ECHO_T}no" >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- +$as_echo "no" >&6; }
- fi
-
-
- fi
-
- if test "x$HELPTOMAN" = "xno" ; then
- - { { echo "$as_me:$LINENO: error: $WITH_H2MAN not found" >&5
- -echo "$as_me: error: $WITH_H2MAN not found" >&2;}
- - { (exit 1); exit 1; }; }
- + as_fn_error $? "$WITH_H2MAN not found" "$LINENO" 5
- fi
- fi
- fi
- fi
-
- -
- -
- -if test "x$HELPTOMAN" != "xno"; then
- + if test "x$HELPTOMAN" != "xno"; then
- HAVE_HELPTOMAN_TRUE=
- HAVE_HELPTOMAN_FALSE='#'
- else
- @@ -4889,12 +4563,13 @@
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
- -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
- + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
- +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- - *) $as_unset $ac_var ;;
- + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- + *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- @@ -4902,8 +4577,8 @@
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- - # `set' does not quote correctly, so add quotes (double-quote
- - # substitution turns \\\\ into \\, and sed turns \\ into \).
- + # `set' does not quote correctly, so add quotes: double-quote
- + # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- @@ -4925,13 +4600,24 @@
- :end' >>confcache
- if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- - test "x$cache_file" != "x/dev/null" &&
- - { echo "$as_me:$LINENO: updating cache $cache_file" >&5
- -echo "$as_me: updating cache $cache_file" >&6;}
- - cat confcache >$cache_file
- + if test "x$cache_file" != "x/dev/null"; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
- +$as_echo "$as_me: updating cache $cache_file" >&6;}
- + if test ! -f "$cache_file" || test -h "$cache_file"; then
- + cat confcache >"$cache_file"
- + else
- + case $cache_file in #(
- + */* | ?:*)
- + mv -f confcache "$cache_file"$$ &&
- + mv -f "$cache_file"$$ "$cache_file" ;; #(
- + *)
- + mv -f confcache "$cache_file" ;;
- + esac
- + fi
- + fi
- else
- - { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
- -echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
- +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
- fi
- rm -f confcache
- @@ -4948,6 +4634,12 @@
- # take arguments), then branch to the quote section. Otherwise,
- # look for a macro that doesn't take arguments.
- ac_script='
- +:mline
- +/\\$/{
- + N
- + s,\\\n,,
- + b mline
- +}
- t clear
- :clear
- s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
- @@ -4974,69 +4666,62 @@
-
- ac_libobjs=
- ac_ltlibobjs=
- +U=
- for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- - ac_i=`echo "$ac_i" | sed "$ac_script"`
- + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
- + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
- done
- LIBOBJS=$ac_libobjs
-
- LTLIBOBJS=$ac_ltlibobjs
-
-
- + if test -n "$EXEEXT"; then
- + am__EXEEXT_TRUE=
- + am__EXEEXT_FALSE='#'
- +else
- + am__EXEEXT_TRUE='#'
- + am__EXEEXT_FALSE=
- +fi
- +
- if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- - { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
- -Usually this means the macro was only invoked conditionally." >&5
- -echo "$as_me: error: conditional \"AMDEP\" was never defined.
- -Usually this means the macro was only invoked conditionally." >&2;}
- - { (exit 1); exit 1; }; }
- + as_fn_error $? "conditional \"AMDEP\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- fi
- if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
- -Usually this means the macro was only invoked conditionally." >&5
- -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
- -Usually this means the macro was only invoked conditionally." >&2;}
- - { (exit 1); exit 1; }; }
- + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- fi
- if test -z "${INTERACTIVE_TRUE}" && test -z "${INTERACTIVE_FALSE}"; then
- - { { echo "$as_me:$LINENO: error: conditional \"INTERACTIVE\" was never defined.
- -Usually this means the macro was only invoked conditionally." >&5
- -echo "$as_me: error: conditional \"INTERACTIVE\" was never defined.
- -Usually this means the macro was only invoked conditionally." >&2;}
- - { (exit 1); exit 1; }; }
- + as_fn_error $? "conditional \"INTERACTIVE\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- fi
- if test -z "${DODOCS_TRUE}" && test -z "${DODOCS_FALSE}"; then
- - { { echo "$as_me:$LINENO: error: conditional \"DODOCS\" was never defined.
- -Usually this means the macro was only invoked conditionally." >&5
- -echo "$as_me: error: conditional \"DODOCS\" was never defined.
- -Usually this means the macro was only invoked conditionally." >&2;}
- - { (exit 1); exit 1; }; }
- + as_fn_error $? "conditional \"DODOCS\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- fi
- if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- - { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
- -Usually this means the macro was only invoked conditionally." >&5
- -echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
- -Usually this means the macro was only invoked conditionally." >&2;}
- - { (exit 1); exit 1; }; }
- + as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- fi
- if test -z "${HAVE_HELPTOMAN_TRUE}" && test -z "${HAVE_HELPTOMAN_FALSE}"; then
- - { { echo "$as_me:$LINENO: error: conditional \"HAVE_HELPTOMAN\" was never defined.
- -Usually this means the macro was only invoked conditionally." >&5
- -echo "$as_me: error: conditional \"HAVE_HELPTOMAN\" was never defined.
- -Usually this means the macro was only invoked conditionally." >&2;}
- - { (exit 1); exit 1; }; }
- + as_fn_error $? "conditional \"HAVE_HELPTOMAN\" was never defined.
- +Usually this means the macro was only invoked conditionally." "$LINENO" 5
- fi
-
- -: ${CONFIG_STATUS=./config.status}
- +: "${CONFIG_STATUS=./config.status}"
- +ac_write_fail=0
- ac_clean_files_save=$ac_clean_files
- ac_clean_files="$ac_clean_files $CONFIG_STATUS"
- -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
- -echo "$as_me: creating $CONFIG_STATUS" >&6;}
- -cat >$CONFIG_STATUS <<_ACEOF
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
- +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
- +as_write_fail=0
- +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
- #! $SHELL
- # Generated by $as_me.
- # Run this file to recreate the current configuration.
- @@ -5046,55 +4731,79 @@
- debug=false
- ac_cs_recheck=false
- ac_cs_silent=false
- -SHELL=\${CONFIG_SHELL-$SHELL}
- -_ACEOF
-
- -cat >>$CONFIG_STATUS <<\_ACEOF
- -## --------------------- ##
- -## M4sh Initialization. ##
- -## --------------------- ##
- +SHELL=\${CONFIG_SHELL-$SHELL}
- +export SHELL
- +_ASEOF
- +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
- +## -------------------- ##
- +## M4sh Initialization. ##
- +## -------------------- ##
-
- -# Be Bourne compatible
- -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- +# Be more Bourne compatible
- +DUALCASE=1; export DUALCASE # for MKS sh
- +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
- + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
- else
- - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
- + case `(set -o) 2>/dev/null` in #(
- + *posix*) :
- + set -o posix ;; #(
- + *) :
- + ;;
- +esac
- fi
- -BIN_SH=xpg4; export BIN_SH # for Tru64
- -DUALCASE=1; export DUALCASE # for MKS sh
- -
-
- -# PATH needs CR
- -# Avoid depending upon Character Ranges.
- -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
- -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
- -as_cr_digits='0123456789'
- -as_cr_alnum=$as_cr_Letters$as_cr_digits
-
- -# The user is always right.
- -if test "${PATH_SEPARATOR+set}" != set; then
- - echo "#! /bin/sh" >conf$$.sh
- - echo "exit 0" >>conf$$.sh
- - chmod +x conf$$.sh
- - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
- - PATH_SEPARATOR=';'
- +as_nl='
- +'
- +export as_nl
- +# Printing a long string crashes Solaris 7 /usr/bin/printf.
- +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
- +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
- +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
- +# Prefer a ksh shell builtin over an external printf program on Solaris,
- +# but without wasting forks for bash or zsh.
- +if test -z "$BASH_VERSION$ZSH_VERSION" \
- + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- + as_echo='print -r --'
- + as_echo_n='print -rn --'
- +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- + as_echo='printf %s\n'
- + as_echo_n='printf %s'
- +else
- + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- + as_echo_n='/usr/ucb/echo -n'
- else
- - PATH_SEPARATOR=:
- + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- + as_echo_n_body='eval
- + arg=$1;
- + case $arg in #(
- + *"$as_nl"*)
- + expr "X$arg" : "X\\(.*\\)$as_nl";
- + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- + esac;
- + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- + '
- + export as_echo_n_body
- + as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- - rm -f conf$$.sh
- + export as_echo_body
- + as_echo='sh -c $as_echo_body as_echo'
- fi
-
- -# Support unset when possible.
- -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
- - as_unset=unset
- -else
- - as_unset=false
- +# The user is always right.
- +if test "${PATH_SEPARATOR+set}" != set; then
- + PATH_SEPARATOR=:
- + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- + PATH_SEPARATOR=';'
- + }
- fi
-
-
- @@ -5103,20 +4812,19 @@
- # there to prevent editors from complaining about space-tab.
- # (If _AS_PATH_WALK were called with IFS unset, it would disable word
- # splitting by setting IFS to empty value.)
- -as_nl='
- -'
- IFS=" "" $as_nl"
-
- # Find who we are. Look in the path if we contain no directory separator.
- -case $0 in
- +as_myself=
- +case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- for as_dir in $PATH
- do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- -done
- + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- + done
- IFS=$as_save_IFS
-
- ;;
- @@ -5127,32 +4835,111 @@
- as_myself=$0
- fi
- if test ! -f "$as_myself"; then
- - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- - { (exit 1); exit 1; }
- + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- + exit 1
- fi
-
- -# Work around bugs in pre-3.0 UWIN ksh.
- -for as_var in ENV MAIL MAILPATH
- -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- +# Unset variables that we do not need and which cause bugs (e.g. in
- +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
- +# suppresses any "Segmentation fault" message there. '((' could
- +# trigger a bug in pdksh 5.2.14.
- +for as_var in BASH_ENV ENV MAIL MAILPATH
- +do eval test x\${$as_var+set} = xset \
- + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
- done
- PS1='$ '
- PS2='> '
- PS4='+ '
-
- # NLS nuisances.
- -for as_var in \
- - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- - LC_TELEPHONE LC_TIME
- -do
- - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
- - eval $as_var=C; export $as_var
- - else
- - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
- - fi
- -done
- +LC_ALL=C
- +export LC_ALL
- +LANGUAGE=C
- +export LANGUAGE
- +
- +# CDPATH.
- +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
- +
- +
- +# as_fn_error STATUS ERROR [LINENO LOG_FD]
- +# ----------------------------------------
- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
- +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
- +# script with STATUS, using 1 if that was 0.
- +as_fn_error ()
- +{
- + as_status=$1; test $as_status -eq 0 && as_status=1
- + if test "$4"; then
- + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- + fi
- + $as_echo "$as_me: error: $2" >&2
- + as_fn_exit $as_status
- +} # as_fn_error
- +
- +
- +# as_fn_set_status STATUS
- +# -----------------------
- +# Set $? to STATUS, without forking.
- +as_fn_set_status ()
- +{
- + return $1
- +} # as_fn_set_status
- +
- +# as_fn_exit STATUS
- +# -----------------
- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
- +as_fn_exit ()
- +{
- + set +e
- + as_fn_set_status $1
- + exit $1
- +} # as_fn_exit
- +
- +# as_fn_unset VAR
- +# ---------------
- +# Portably unset VAR.
- +as_fn_unset ()
- +{
- + { eval $1=; unset $1;}
- +}
- +as_unset=as_fn_unset
- +# as_fn_append VAR VALUE
- +# ----------------------
- +# Append the text in VALUE to the end of the definition contained in VAR. Take
- +# advantage of any shell optimizations that allow amortized linear growth over
- +# repeated appends, instead of the typical quadratic growth present in naive
- +# implementations.
- +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- + eval 'as_fn_append ()
- + {
- + eval $1+=\$2
- + }'
- +else
- + as_fn_append ()
- + {
- + eval $1=\$$1\$2
- + }
- +fi # as_fn_append
- +
- +# as_fn_arith ARG...
- +# ------------------
- +# Perform arithmetic evaluation on the ARGs, and store the result in the
- +# global $as_val. Take advantage of shells that can avoid forks. The arguments
- +# must be portable across $(()) and expr.
- +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- + eval 'as_fn_arith ()
- + {
- + as_val=$(( $* ))
- + }'
- +else
- + as_fn_arith ()
- + {
- + as_val=`expr "$@" || test $? -eq 1`
- + }
- +fi # as_fn_arith
- +
-
- -# Required to use basename.
- if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
- @@ -5166,13 +4953,17 @@
- as_basename=false
- fi
-
- +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- + as_dirname=dirname
- +else
- + as_dirname=false
- +fi
-
- -# Name of the executable.
- as_me=`$as_basename -- "$0" ||
- $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
- -echo X/"$0" |
- +$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- @@ -5187,122 +4978,130 @@
- }
- s/.*/./; q'`
-
- -# CDPATH.
- -$as_unset CDPATH
- -
- -
- -
- - as_lineno_1=$LINENO
- - as_lineno_2=$LINENO
- - test "x$as_lineno_1" != "x$as_lineno_2" &&
- - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
- -
- - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- - # uniformly replaced by the line number. The first 'sed' inserts a
- - # line-number line after each line using $LINENO; the second 'sed'
- - # does the real work. The second script uses 'N' to pair each
- - # line-number line with the line containing $LINENO, and appends
- - # trailing '-' during substitution so that $LINENO is not a special
- - # case at line end.
- - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- - # scripts with optimization help from Paolo Bonzini. Blame Lee
- - # E. McMahon (1931-1989) for sed's syntax. :-)
- - sed -n '
- - p
- - /[$]LINENO/=
- - ' <$as_myself |
- - sed '
- - s/[$]LINENO.*/&-/
- - t lineno
- - b
- - :lineno
- - N
- - :loop
- - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- - t loop
- - s/-\n.*//
- - ' >$as_me.lineno &&
- - chmod +x "$as_me.lineno" ||
- - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- - { (exit 1); exit 1; }; }
- -
- - # Don't try to exec as it changes $[0], causing all sort of problems
- - # (the dirname of $[0] is not the place where we might find the
- - # original and so on. Autoconf is especially sensitive to this).
- - . "./$as_me.lineno"
- - # Exit status is that of the last command.
- - exit
- -}
- -
- -
- -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- - as_dirname=dirname
- -else
- - as_dirname=false
- -fi
- +# Avoid depending upon Character Ranges.
- +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
- +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
- +as_cr_digits='0123456789'
- +as_cr_alnum=$as_cr_Letters$as_cr_digits
-
- ECHO_C= ECHO_N= ECHO_T=
- -case `echo -n x` in
- +case `echo -n x` in #(((((
- -n*)
- - case `echo 'x\c'` in
- + case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- - *) ECHO_C='\c';;
- + xy) ECHO_C='\c';;
- + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- + ECHO_T=' ';;
- esac;;
- *)
- ECHO_N='-n';;
- esac
-
- -if expr a : '\(a\)' >/dev/null 2>&1 &&
- - test "X`expr 00001 : '.*\(...\)'`" = X001; then
- - as_expr=expr
- -else
- - as_expr=false
- -fi
- -
- rm -f conf$$ conf$$.exe conf$$.file
- if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
- else
- rm -f conf$$.dir
- - mkdir conf$$.dir
- + mkdir conf$$.dir 2>/dev/null
- fi
- -echo >conf$$.file
- -if ln -s conf$$.file conf$$ 2>/dev/null; then
- - as_ln_s='ln -s'
- - # ... but there are two gotchas:
- - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- - # In both cases, we have to default to `cp -p'.
- - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- +if (echo >conf$$.file) 2>/dev/null; then
- + if ln -s conf$$.file conf$$ 2>/dev/null; then
- + as_ln_s='ln -s'
- + # ... but there are two gotchas:
- + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- + # In both cases, we have to default to `cp -p'.
- + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- + as_ln_s='cp -p'
- + elif ln conf$$.file conf$$ 2>/dev/null; then
- + as_ln_s=ln
- + else
- as_ln_s='cp -p'
- -elif ln conf$$.file conf$$ 2>/dev/null; then
- - as_ln_s=ln
- + fi
- else
- as_ln_s='cp -p'
- fi
- rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
- rmdir conf$$.dir 2>/dev/null
-
- +
- +# as_fn_mkdir_p
- +# -------------
- +# Create "$as_dir" as a directory, including parents if necessary.
- +as_fn_mkdir_p ()
- +{
- +
- + case $as_dir in #(
- + -*) as_dir=./$as_dir;;
- + esac
- + test -d "$as_dir" || eval $as_mkdir_p || {
- + as_dirs=
- + while :; do
- + case $as_dir in #(
- + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- + *) as_qdir=$as_dir;;
- + esac
- + as_dirs="'$as_qdir' $as_dirs"
- + as_dir=`$as_dirname -- "$as_dir" ||
- +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- + X"$as_dir" : 'X\(//\)[^/]' \| \
- + X"$as_dir" : 'X\(//\)$' \| \
- + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
- +$as_echo X"$as_dir" |
- + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)[^/].*/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\).*/{
- + s//\1/
- + q
- + }
- + s/.*/./; q'`
- + test -d "$as_dir" && break
- + done
- + test -z "$as_dirs" || eval "mkdir $as_dirs"
- + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
- +
- +
- +} # as_fn_mkdir_p
- if mkdir -p . 2>/dev/null; then
- - as_mkdir_p=:
- + as_mkdir_p='mkdir -p "$as_dir"'
- else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
- fi
-
- -# Find out whether ``test -x'' works. Don't use a zero-byte file, as
- -# systems may use methods other than mode bits to determine executability.
- -cat >conf$$.file <<_ASEOF
- -#! /bin/sh
- -exit 0
- -_ASEOF
- -chmod +x conf$$.file
- -if test -x conf$$.file >/dev/null 2>&1; then
- - as_executable_p="test -x"
- +if test -x / >/dev/null 2>&1; then
- + as_test_x='test -x'
- else
- - as_executable_p=:
- + if ls -dL / >/dev/null 2>&1; then
- + as_ls_L_option=L
- + else
- + as_ls_L_option=
- + fi
- + as_test_x='
- + eval sh -c '\''
- + if test -d "$1"; then
- + test -d "$1/.";
- + else
- + case $1 in #(
- + -*)set "./$1";;
- + esac;
- + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- + ???[sx]*):;;*)false;;esac;fi
- + '\'' sh
- + '
- fi
- -rm -f conf$$.file
- +as_executable_p=$as_test_x
-
- # Sed expression to map a string onto a valid CPP name.
- as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
- @@ -5312,13 +5111,19 @@
-
-
- exec 6>&1
- +## ----------------------------------- ##
- +## Main body of $CONFIG_STATUS script. ##
- +## ----------------------------------- ##
- +_ASEOF
- +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
- -# Save the log message, to keep $[0] and so on meaningful, and to
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- +# Save the log message, to keep $0 and so on meaningful, and to
- # report actual input values of CONFIG_FILES etc. instead of their
- # values after options handling.
- ac_log="
- This file was extended by exmap-console $as_me 0.4.1, which was
- -generated by GNU Autoconf 2.60. Invocation command line was
- +generated by GNU Autoconf 2.68. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- @@ -5331,27 +5136,36 @@
-
- _ACEOF
-
- -cat >>$CONFIG_STATUS <<_ACEOF
- +case $ac_config_files in *"
- +"*) set x $ac_config_files; shift; ac_config_files=$*;;
- +esac
- +
- +
- +
- +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- # Files that config.status was made for.
- config_files="$ac_config_files"
- config_commands="$ac_config_commands"
-
- _ACEOF
-
- -cat >>$CONFIG_STATUS <<\_ACEOF
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- ac_cs_usage="\
- -\`$as_me' instantiates files from templates according to the
- -current configuration.
- +\`$as_me' instantiates files and other configuration actions
- +from templates according to the current configuration. Unless the files
- +and actions are specified as TAGs, all are instantiated by default.
-
- -Usage: $0 [OPTIONS] [FILE]...
- +Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- - -V, --version print version number, then exit
- - -q, --quiet do not print progress messages
- + -V, --version print version number and configuration settings, then exit
- + --config print configuration, then exit
- + -q, --quiet, --silent
- + do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- - --file=FILE[:TEMPLATE]
- - instantiate the configuration file FILE
- + --file=FILE[:TEMPLATE]
- + instantiate the configuration file FILE
-
- Configuration files:
- $config_files
- @@ -5359,36 +5173,44 @@
- Configuration commands:
- $config_commands
-
- -Report bugs to <bug-autoconf@gnu.org>."
- +Report bugs to <tf@o-hand.com>."
-
- _ACEOF
- -cat >>$CONFIG_STATUS <<_ACEOF
- +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
- ac_cs_version="\\
- exmap-console config.status 0.4.1
- -configured by $0, generated by GNU Autoconf 2.60,
- - with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
- +configured by $0, generated by GNU Autoconf 2.68,
- + with options \\"\$ac_cs_config\\"
-
- -Copyright (C) 2006 Free Software Foundation, Inc.
- +Copyright (C) 2010 Free Software Foundation, Inc.
- This config.status script is free software; the Free Software Foundation
- gives unlimited permission to copy, distribute and modify it."
-
- ac_pwd='$ac_pwd'
- srcdir='$srcdir'
- INSTALL='$INSTALL'
- +MKDIR_P='$MKDIR_P'
- +AWK='$AWK'
- +test -n "\$AWK" || AWK=awk
- _ACEOF
-
- -cat >>$CONFIG_STATUS <<\_ACEOF
- -# If no file are specified by the user, then we need to provide default
- -# value. By we need to know if files were specified by the user.
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- +# The default lists apply if the user does not specify any file.
- ac_need_defaults=:
- while test $# != 0
- do
- case $1 in
- - --*=*)
- + --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- + --*=)
- + ac_option=`expr "X$1" : 'X\([^=]*\)='`
- + ac_optarg=
- + ac_shift=:
- + ;;
- *)
- ac_option=$1
- ac_optarg=$2
- @@ -5401,25 +5223,30 @@
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- - echo "$ac_cs_version"; exit ;;
- + $as_echo "$ac_cs_version"; exit ;;
- + --config | --confi | --conf | --con | --co | --c )
- + $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- - CONFIG_FILES="$CONFIG_FILES $ac_optarg"
- + case $ac_optarg in
- + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- + '') as_fn_error $? "missing file argument" ;;
- + esac
- + as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h | --help | --hel | -h )
- - echo "$ac_cs_usage"; exit ;;
- + $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- - -*) { echo "$as_me: error: unrecognized option: $1
- -Try \`$0 --help' for more information." >&2
- - { (exit 1); exit 1; }; } ;;
- + -*) as_fn_error $? "unrecognized option: \`$1'
- +Try \`$0 --help' for more information." ;;
-
- - *) ac_config_targets="$ac_config_targets $1"
- + *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- @@ -5434,27 +5261,29 @@
- fi
-
- _ACEOF
- -cat >>$CONFIG_STATUS <<_ACEOF
- +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- if \$ac_cs_recheck; then
- - echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
- - CONFIG_SHELL=$SHELL
- + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- + shift
- + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- + CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- - exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- + exec "\$@"
- fi
-
- _ACEOF
- -cat >>$CONFIG_STATUS <<\_ACEOF
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- exec 5>>config.log
- {
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
- ## Running $as_me. ##
- _ASBOX
- - echo "$ac_log"
- + $as_echo "$ac_log"
- } >&5
-
- _ACEOF
- -cat >>$CONFIG_STATUS <<_ACEOF
- +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- #
- # INIT-COMMANDS
- #
- @@ -5462,7 +5291,7 @@
-
- _ACEOF
-
- -cat >>$CONFIG_STATUS <<\_ACEOF
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
- # Handling of arguments.
- for ac_config_target in $ac_config_targets
- @@ -5473,9 +5302,7 @@
- "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
- "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
-
- - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
- -echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- - { (exit 1); exit 1; }; };;
- + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
- done
-
- @@ -5497,200 +5324,194 @@
- # after its creation but before its name has been assigned to `$tmp'.
- $debug ||
- {
- - tmp=
- + tmp= ac_tmp=
- trap 'exit_status=$?
- - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
- + : "${ac_tmp:=$tmp}"
- + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
- ' 0
- - trap '{ (exit 1); exit 1; }' 1 2 13 15
- + trap 'as_fn_exit 1' 1 2 13 15
- }
- # Create a (secure) tmp directory for tmp files.
-
- {
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- - test -n "$tmp" && test -d "$tmp"
- + test -d "$tmp"
- } ||
- {
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
- -} ||
- -{
- - echo "$me: cannot create a temporary directory in ." >&2
- - { (exit 1); exit 1; }
- -}
- -
- -#
- -# Set up the sed scripts for CONFIG_FILES section.
- -#
- +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
- +ac_tmp=$tmp
-
- -# No need to generate the scripts if there are no CONFIG_FILES.
- -# This happens for instance when ./config.status config.h
- +# Set up the scripts for CONFIG_FILES section.
- +# No need to generate them if there are no CONFIG_FILES.
- +# This happens for instance with `./config.status config.h'.
- if test -n "$CONFIG_FILES"; then
-
- -_ACEOF
-
- +ac_cr=`echo X | tr X '\015'`
- +# On cygwin, bash can eat \r inside `` if the user requested igncr.
- +# But we know of no other shell where ac_cr would be empty at this
- +# point, so we can use a bashism as a fallback.
- +if test "x$ac_cr" = x; then
- + eval ac_cr=\$\'\\r\'
- +fi
- +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
- +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- + ac_cs_awk_cr='\\r'
- +else
- + ac_cs_awk_cr=$ac_cr
- +fi
- +
- +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
- +_ACEOF
-
-
- +{
- + echo "cat >conf$$subs.awk <<_ACEOF" &&
- + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- + echo "_ACEOF"
- +} >conf$$subs.sh ||
- + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
- ac_delim='%!_!# '
- for ac_last_try in false false false false false :; do
- - cat >conf$$subs.sed <<_ACEOF
- -SHELL!$SHELL$ac_delim
- -PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
- -PACKAGE_NAME!$PACKAGE_NAME$ac_delim
- -PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
- -PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
- -PACKAGE_STRING!$PACKAGE_STRING$ac_delim
- -PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
- -exec_prefix!$exec_prefix$ac_delim
- -prefix!$prefix$ac_delim
- -program_transform_name!$program_transform_name$ac_delim
- -bindir!$bindir$ac_delim
- -sbindir!$sbindir$ac_delim
- -libexecdir!$libexecdir$ac_delim
- -datarootdir!$datarootdir$ac_delim
- -datadir!$datadir$ac_delim
- -sysconfdir!$sysconfdir$ac_delim
- -sharedstatedir!$sharedstatedir$ac_delim
- -localstatedir!$localstatedir$ac_delim
- -includedir!$includedir$ac_delim
- -oldincludedir!$oldincludedir$ac_delim
- -docdir!$docdir$ac_delim
- -infodir!$infodir$ac_delim
- -htmldir!$htmldir$ac_delim
- -dvidir!$dvidir$ac_delim
- -pdfdir!$pdfdir$ac_delim
- -psdir!$psdir$ac_delim
- -libdir!$libdir$ac_delim
- -localedir!$localedir$ac_delim
- -mandir!$mandir$ac_delim
- -DEFS!$DEFS$ac_delim
- -ECHO_C!$ECHO_C$ac_delim
- -ECHO_N!$ECHO_N$ac_delim
- -ECHO_T!$ECHO_T$ac_delim
- -LIBS!$LIBS$ac_delim
- -build_alias!$build_alias$ac_delim
- -host_alias!$host_alias$ac_delim
- -target_alias!$target_alias$ac_delim
- -INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
- -INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
- -INSTALL_DATA!$INSTALL_DATA$ac_delim
- -CYGPATH_W!$CYGPATH_W$ac_delim
- -PACKAGE!$PACKAGE$ac_delim
- -VERSION!$VERSION$ac_delim
- -ACLOCAL!$ACLOCAL$ac_delim
- -AUTOCONF!$AUTOCONF$ac_delim
- -AUTOMAKE!$AUTOMAKE$ac_delim
- -AUTOHEADER!$AUTOHEADER$ac_delim
- -MAKEINFO!$MAKEINFO$ac_delim
- -install_sh!$install_sh$ac_delim
- -STRIP!$STRIP$ac_delim
- -INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
- -mkdir_p!$mkdir_p$ac_delim
- -AWK!$AWK$ac_delim
- -SET_MAKE!$SET_MAKE$ac_delim
- -am__leading_dot!$am__leading_dot$ac_delim
- -AMTAR!$AMTAR$ac_delim
- -am__tar!$am__tar$ac_delim
- -am__untar!$am__untar$ac_delim
- -CC!$CC$ac_delim
- -CFLAGS!$CFLAGS$ac_delim
- -LDFLAGS!$LDFLAGS$ac_delim
- -CPPFLAGS!$CPPFLAGS$ac_delim
- -ac_ct_CC!$ac_ct_CC$ac_delim
- -EXEEXT!$EXEEXT$ac_delim
- -OBJEXT!$OBJEXT$ac_delim
- -DEPDIR!$DEPDIR$ac_delim
- -am__include!$am__include$ac_delim
- -am__quote!$am__quote$ac_delim
- -AMDEP_TRUE!$AMDEP_TRUE$ac_delim
- -AMDEP_FALSE!$AMDEP_FALSE$ac_delim
- -AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
- -CCDEPMODE!$CCDEPMODE$ac_delim
- -am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
- -am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
- -INTERACTIVE_TRUE!$INTERACTIVE_TRUE$ac_delim
- -INTERACTIVE_FALSE!$INTERACTIVE_FALSE$ac_delim
- -READLINE_LIBS!$READLINE_LIBS$ac_delim
- -READLINE_CFLAGS!$READLINE_CFLAGS$ac_delim
- -DODOCS_TRUE!$DODOCS_TRUE$ac_delim
- -DODOCS_FALSE!$DODOCS_FALSE$ac_delim
- -PKG_CONFIG!$PKG_CONFIG$ac_delim
- -GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
- -GLIB_LIBS!$GLIB_LIBS$ac_delim
- -HELPTOMAN!$HELPTOMAN$ac_delim
- -HAVE_HELPTOMAN_TRUE!$HAVE_HELPTOMAN_TRUE$ac_delim
- -HAVE_HELPTOMAN_FALSE!$HAVE_HELPTOMAN_FALSE$ac_delim
- -GCC_CFLAGS!$GCC_CFLAGS$ac_delim
- -LIBOBJS!$LIBOBJS$ac_delim
- -LTLIBOBJS!$LTLIBOBJS$ac_delim
- -_ACEOF
- + . ./conf$$subs.sh ||
- + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 89; then
- + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- + if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
- -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
- - { (exit 1); exit 1; }; }
- + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
- done
- +rm -f conf$$subs.sh
-
- -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
- -if test -n "$ac_eof"; then
- - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
- - ac_eof=`expr $ac_eof + 1`
- -fi
- -
- -cat >>$CONFIG_STATUS <<_ACEOF
- -cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
- -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
- -_ACEOF
- -sed '
- -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
- -s/^/s,@/; s/!/@,|#_!!_#|/
- -:n
- -t n
- -s/'"$ac_delim"'$/,g/; t
- -s/$/\\/; p
- -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
- -' >>$CONFIG_STATUS <conf$$subs.sed
- -rm -f conf$$subs.sed
- -cat >>$CONFIG_STATUS <<_ACEOF
- -:end
- -s/|#_!!_#|//g
- -CEOF$ac_eof
- +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
- _ACEOF
- +sed -n '
- +h
- +s/^/S["/; s/!.*/"]=/
- +p
- +g
- +s/^[^!]*!//
- +:repl
- +t repl
- +s/'"$ac_delim"'$//
- +t delim
- +:nl
- +h
- +s/\(.\{148\}\)..*/\1/
- +t more1
- +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
- +p
- +n
- +b repl
- +:more1
- +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
- +p
- +g
- +s/.\{148\}//
- +t nl
- +:delim
- +h
- +s/\(.\{148\}\)..*/\1/
- +t more2
- +s/["\\]/\\&/g; s/^/"/; s/$/"/
- +p
- +b
- +:more2
- +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
- +p
- +g
- +s/.\{148\}//
- +t delim
- +' <conf$$subs.awk | sed '
- +/^[^""]/{
- + N
- + s/\n//
- +}
- +' >>$CONFIG_STATUS || ac_write_fail=1
- +rm -f conf$$subs.awk
- +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- +_ACAWK
- +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- + for (key in S) S_is_set[key] = 1
- + FS = ""
- +
- +}
- +{
- + line = $ 0
- + nfields = split(line, field, "@")
- + substed = 0
- + len = length(field[1])
- + for (i = 2; i < nfields; i++) {
- + key = field[i]
- + keylen = length(key)
- + if (S_is_set[key]) {
- + value = S[key]
- + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- + len += length(value) + length(field[++i])
- + substed = 1
- + } else
- + len += 1 + keylen
- + }
- +
- + print line
- +}
-
- +_ACAWK
- +_ACEOF
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
- +else
- + cat
- +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
- +_ACEOF
-
- -# VPATH may cause trouble with some makes, so we remove $(srcdir),
- -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
- +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
- +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
- # trailing colons and then remove the whole line if VPATH becomes empty
- # (actually we leave an empty line to preserve line numbers).
- if test "x$srcdir" = x.; then
- - ac_vpsub='/^[ ]*VPATH[ ]*=/{
- -s/:*\$(srcdir):*/:/
- -s/:*\${srcdir}:*/:/
- -s/:*@srcdir@:*/:/
- -s/^\([^=]*=[ ]*\):*/\1/
- + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
- +h
- +s///
- +s/^/:/
- +s/[ ]*$/:/
- +s/:\$(srcdir):/:/g
- +s/:\${srcdir}:/:/g
- +s/:@srcdir@:/:/g
- +s/^:*//
- s/:*$//
- +x
- +s/\(=[ ]*\).*/\1/
- +G
- +s/\n//
- s/^[^=]*=[ ]*$//
- }'
- fi
-
- -cat >>$CONFIG_STATUS <<\_ACEOF
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- fi # test -n "$CONFIG_FILES"
-
-
- -for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
- +eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
- +shift
- +for ac_tag
- do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- - :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
- -echo "$as_me: error: Invalid tag $ac_tag." >&2;}
- - { (exit 1); exit 1; }; };;
- + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- @@ -5709,7 +5530,7 @@
- for ac_f
- do
- case $ac_f in
- - -) ac_f="$tmp/stdin";;
- + -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- @@ -5718,26 +5539,34 @@
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- - { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
- -echo "$as_me: error: cannot find input file: $ac_f" >&2;}
- - { (exit 1); exit 1; }; };;
- + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- - ac_file_inputs="$ac_file_inputs $ac_f"
- + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- + as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- - configure_input="Generated from "`IFS=:
- - echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
- + configure_input='Generated from '`
- + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- + `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- - { echo "$as_me:$LINENO: creating $ac_file" >&5
- -echo "$as_me: creating $ac_file" >&6;}
- + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
- +$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- + # Neutralize special characters interpreted by sed in replacement strings.
- + case $configure_input in #(
- + *\&* | *\|* | *\\* )
- + ac_sed_conf_input=`$as_echo "$configure_input" |
- + sed 's/[\\\\&|]/\\\\&/g'`;; #(
- + *) ac_sed_conf_input=$configure_input;;
- + esac
-
- case $ac_tag in
- - *:-:* | *:-) cat >"$tmp/stdin";;
- + *:-:* | *:-) cat >"$ac_tmp/stdin" \
- + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
- @@ -5747,42 +5576,7 @@
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
- -echo X"$ac_file" |
- - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- - s//\1/
- - q
- - }
- - /^X\(\/\/\)[^/].*/{
- - s//\1/
- - q
- - }
- - /^X\(\/\/\)$/{
- - s//\1/
- - q
- - }
- - /^X\(\/\).*/{
- - s//\1/
- - q
- - }
- - s/.*/./; q'`
- - { as_dir="$ac_dir"
- - case $as_dir in #(
- - -*) as_dir=./$as_dir;;
- - esac
- - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- - as_dirs=
- - while :; do
- - case $as_dir in #(
- - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- - *) as_qdir=$as_dir;;
- - esac
- - as_dirs="'$as_qdir' $as_dirs"
- - as_dir=`$as_dirname -- "$as_dir" ||
- -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- - X"$as_dir" : 'X\(//\)[^/]' \| \
- - X"$as_dir" : 'X\(//\)$' \| \
- - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
- -echo X"$as_dir" |
- +$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- @@ -5800,20 +5594,15 @@
- q
- }
- s/.*/./; q'`
- - test -d "$as_dir" && break
- - done
- - test -z "$as_dirs" || eval "mkdir $as_dirs"
- - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
- -echo "$as_me: error: cannot create directory $as_dir" >&2;}
- - { (exit 1); exit 1; }; }; }
- + as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
- case "$ac_dir" in
- .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *)
- - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
- + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- @@ -5851,14 +5640,19 @@
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
- + ac_MKDIR_P=$MKDIR_P
- + case $MKDIR_P in
- + [\\/$]* | ?:[\\/]* ) ;;
- + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
- + esac
- _ACEOF
-
- -cat >>$CONFIG_STATUS <<\_ACEOF
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- # If the template does not know about datarootdir, expand it.
- # FIXME: This hack should be removed a few years after 2.60.
- ac_datarootdir_hack=; ac_datarootdir_seen=
- -
- -case `sed -n '/datarootdir/ {
- +ac_sed_dataroot='
- +/datarootdir/ {
- p
- q
- }
- @@ -5866,36 +5660,37 @@
- /@docdir@/p
- /@infodir@/p
- /@localedir@/p
- -/@mandir@/p
- -' $ac_file_inputs` in
- +/@mandir@/p'
- +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
- *datarootdir*) ac_datarootdir_seen=yes;;
- *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- - { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
- -echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
- + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
- +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
- _ACEOF
- -cat >>$CONFIG_STATUS <<_ACEOF
- +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- - s&\\\${datarootdir}&$datarootdir&g' ;;
- + s&\\\${datarootdir}&$datarootdir&g' ;;
- esac
- _ACEOF
-
- # Neutralize VPATH when `$srcdir' = `.'.
- # Shell code in configure.ac might set extrasub.
- # FIXME: do we really want to maintain this feature?
- -cat >>$CONFIG_STATUS <<_ACEOF
- - sed "$ac_vpsub
- +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- +ac_sed_extra="$ac_vpsub
- $extrasub
- _ACEOF
- -cat >>$CONFIG_STATUS <<\_ACEOF
- +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- :t
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
- -s&@configure_input@&$configure_input&;t t
- +s|@configure_input@|$ac_sed_conf_input|;t t
- s&@top_builddir@&$ac_top_builddir_sub&;t t
- +s&@top_build_prefix@&$ac_top_build_prefix&;t t
- s&@srcdir@&$ac_srcdir&;t t
- s&@abs_srcdir@&$ac_abs_srcdir&;t t
- s&@top_srcdir@&$ac_top_srcdir&;t t
- @@ -5904,48 +5699,64 @@
- s&@abs_builddir@&$ac_abs_builddir&;t t
- s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
- s&@INSTALL@&$ac_INSTALL&;t t
- +s&@MKDIR_P@&$ac_MKDIR_P&;t t
- $ac_datarootdir_hack
- -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
- +"
- +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
- + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
- test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
- - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
- - { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
- -which seems to be undefined. Please make sure it is defined." >&5
- -echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
- -which seems to be undefined. Please make sure it is defined." >&2;}
- + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- + "$ac_tmp/out"`; test -z "$ac_out"; } &&
- + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
- +which seems to be undefined. Please make sure it is defined" >&5
- +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
- +which seems to be undefined. Please make sure it is defined" >&2;}
-
- - rm -f "$tmp/stdin"
- + rm -f "$ac_tmp/stdin"
- case $ac_file in
- - -) cat "$tmp/out"; rm -f "$tmp/out";;
- - *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
- - esac
- + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- + esac \
- + || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
-
-
- - :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
- -echo "$as_me: executing $ac_file commands" >&6;}
- + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
- +$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- - "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
- - # Strip MF so we end up with the name of the file.
- - mf=`echo "$mf" | sed -e 's/:.*$//'`
- - # Check whether this is an Automake generated Makefile or not.
- - # We used to match only the files named `Makefile.in', but
- - # some people rename them; so instead we look at the file content.
- - # Grep'ing the first line is not enough: some people post-process
- - # each Makefile.in and add a new line on top of each file to say so.
- - # So let's grep whole file.
- - if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
- - dirpart=`$as_dirname -- "$mf" ||
- + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- + # Autoconf 2.62 quotes --file arguments for eval, but not when files
- + # are listed without --file. Let's play safe and only enable the eval
- + # if we detect the quoting.
- + case $CONFIG_FILES in
- + *\'*) eval set x "$CONFIG_FILES" ;;
- + *) set x $CONFIG_FILES ;;
- + esac
- + shift
- + for mf
- + do
- + # Strip MF so we end up with the name of the file.
- + mf=`echo "$mf" | sed -e 's/:.*$//'`
- + # Check whether this is an Automake generated Makefile or not.
- + # We used to match only the files named `Makefile.in', but
- + # some people rename them; so instead we look at the file content.
- + # Grep'ing the first line is not enough: some people post-process
- + # each Makefile.in and add a new line on top of each file to say so.
- + # Grep'ing the whole file is not good either: AIX grep has a line
- + # limit of 2048, but all sed's we know have understand at least 4000.
- + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- + dirpart=`$as_dirname -- "$mf" ||
- $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
- -echo X"$mf" |
- +$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- @@ -5963,68 +5774,33 @@
- q
- }
- s/.*/./; q'`
- - else
- - continue
- - fi
- - # Extract the definition of DEPDIR, am__include, and am__quote
- - # from the Makefile without running `make'.
- - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- - test -z "$DEPDIR" && continue
- - am__include=`sed -n 's/^am__include = //p' < "$mf"`
- - test -z "am__include" && continue
- - am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- - # When using ansi2knr, U may be empty or an underscore; expand it
- - U=`sed -n 's/^U = //p' < "$mf"`
- - # Find all dependency output files, they are included files with
- - # $(DEPDIR) in their names. We invoke sed twice because it is the
- - # simplest approach to changing $(DEPDIR) to its actual value in the
- - # expansion.
- - for file in `sed -n "
- - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- - # Make sure the directory exists.
- - test -f "$dirpart/$file" && continue
- - fdir=`$as_dirname -- "$file" ||
- + else
- + continue
- + fi
- + # Extract the definition of DEPDIR, am__include, and am__quote
- + # from the Makefile without running `make'.
- + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- + test -z "$DEPDIR" && continue
- + am__include=`sed -n 's/^am__include = //p' < "$mf"`
- + test -z "am__include" && continue
- + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- + # When using ansi2knr, U may be empty or an underscore; expand it
- + U=`sed -n 's/^U = //p' < "$mf"`
- + # Find all dependency output files, they are included files with
- + # $(DEPDIR) in their names. We invoke sed twice because it is the
- + # simplest approach to changing $(DEPDIR) to its actual value in the
- + # expansion.
- + for file in `sed -n "
- + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- + # Make sure the directory exists.
- + test -f "$dirpart/$file" && continue
- + fdir=`$as_dirname -- "$file" ||
- $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
- -echo X"$file" |
- - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- - s//\1/
- - q
- - }
- - /^X\(\/\/\)[^/].*/{
- - s//\1/
- - q
- - }
- - /^X\(\/\/\)$/{
- - s//\1/
- - q
- - }
- - /^X\(\/\).*/{
- - s//\1/
- - q
- - }
- - s/.*/./; q'`
- - { as_dir=$dirpart/$fdir
- - case $as_dir in #(
- - -*) as_dir=./$as_dir;;
- - esac
- - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
- - as_dirs=
- - while :; do
- - case $as_dir in #(
- - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
- - *) as_qdir=$as_dir;;
- - esac
- - as_dirs="'$as_qdir' $as_dirs"
- - as_dir=`$as_dirname -- "$as_dir" ||
- -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- - X"$as_dir" : 'X\(//\)[^/]' \| \
- - X"$as_dir" : 'X\(//\)$' \| \
- - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
- -echo X"$as_dir" |
- +$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- @@ -6042,27 +5818,25 @@
- q
- }
- s/.*/./; q'`
- - test -d "$as_dir" && break
- + as_dir=$dirpart/$fdir; as_fn_mkdir_p
- + # echo "creating $dirpart/$file"
- + echo '# dummy' > "$dirpart/$file"
- done
- - test -z "$as_dirs" || eval "mkdir $as_dirs"
- - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
- -echo "$as_me: error: cannot create directory $as_dir" >&2;}
- - { (exit 1); exit 1; }; }; }
- - # echo "creating $dirpart/$file"
- - echo '# dummy' > "$dirpart/$file"
- done
- -done
- +}
- ;;
-
- esac
- done # for ac_tag
-
-
- -{ (exit 0); exit 0; }
- +as_fn_exit 0
- _ACEOF
- -chmod +x $CONFIG_STATUS
- ac_clean_files=$ac_clean_files_save
-
- +test $ac_write_fail = 0 ||
- + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
- +
-
- # configure is writing to config.log, and then calls config.status.
- # config.status does its own redirection, appending to config.log.
- @@ -6082,14 +5856,18 @@
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- - $ac_cs_success || { (exit 1); exit 1; }
- + $ac_cs_success || as_fn_exit 1
- +fi
- +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
- +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
- fi
-
-
- if test x$WITH_READLINE = xerror ; then
- - { echo "$as_me:$LINENO: result: WARNING: Could not link against readline libraries; interactive mode will not be available." >&5
- -echo "${ECHO_T}WARNING: Could not link against readline libraries; interactive mode will not be available." >&6; }
- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: WARNING: Could not link against readline libraries; interactive mode will not be available." >&5
- +$as_echo "WARNING: Could not link against readline libraries; interactive mode will not be available." >&6; }
- fi
-
- -{ echo "$as_me:$LINENO: result: Type make to build exmap-console." >&5
- -echo "${ECHO_T}Type make to build exmap-console." >&6; }
- +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Type make to build exmap-console." >&5
- +$as_echo "Type make to build exmap-console." >&6; }
- diff -Nur exmap-console-0.4.1.orig/configure.ac exmap-console-0.4.1/configure.ac
- --- exmap-console-0.4.1.orig/configure.ac 2007-02-26 12:00:48.000000000 +0100
- +++ exmap-console-0.4.1/configure.ac 2011-01-11 12:44:09.000000000 +0100
- @@ -46,10 +46,6 @@
-
- AM_CONDITIONAL(DODOCS, test "x$DO_DOCS" != "xno")
-
- -AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug],
- - [Enable debuggin information]),
- - [CFLAGS="-g -O0"], [CFLAGS="-g -O2"])
- -
- CFLAGS="$CFLAGS -DEXMAP_VERSION=\\\"$EXMAP_VERSION\\\" -DEXMAP_PROTOCOL_VERSION=\\\"$EXMAP_PROTOCOL_VERSION\\\""
-
- AC_SUBST(CFLAGS)
- diff -Nur exmap-console-0.4.1.orig/depcomp exmap-console-0.4.1/depcomp
- --- exmap-console-0.4.1.orig/depcomp 2007-02-26 12:44:02.000000000 +0100
- +++ exmap-console-0.4.1/depcomp 2011-01-11 12:44:16.000000000 +0100
- @@ -1,9 +1,10 @@
- #! /bin/sh
- # depcomp - compile a program generating dependencies as side-effects
-
- -scriptversion=2005-07-09.11
- +scriptversion=2009-04-28.21; # UTC
-
- -# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
- +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
- +# Software Foundation, Inc.
-
- # This program is free software; you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- @@ -16,9 +17,7 @@
- # GNU General Public License for more details.
-
- # You should have received a copy of the GNU General Public License
- -# along with this program; if not, write to the Free Software
- -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- -# 02110-1301, USA.
- +# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
- # As a special exception to the GNU General Public License, if you
- # distribute this file as part of a program that contains a
- @@ -86,12 +85,34 @@
- depmode=dashmstdout
- fi
-
- +cygpath_u="cygpath -u -f -"
- +if test "$depmode" = msvcmsys; then
- + # This is just like msvisualcpp but w/o cygpath translation.
- + # Just convert the backslash-escaped backslashes to single forward
- + # slashes to satisfy depend.m4
- + cygpath_u="sed s,\\\\\\\\,/,g"
- + depmode=msvisualcpp
- +fi
- +
- case "$depmode" in
- gcc3)
- ## gcc 3 implements dependency tracking that does exactly what
- ## we want. Yay! Note: for some reason libtool 1.4 doesn't like
- ## it if -MD -MP comes after the -MF stuff. Hmm.
- - "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
- +## Unfortunately, FreeBSD c89 acceptance of flags depends upon
- +## the command line argument order; so add the flags where they
- +## appear in depend2.am. Note that the slowdown incurred here
- +## affects only configure: in makefiles, %FASTDEP% shortcuts this.
- + for arg
- + do
- + case $arg in
- + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
- + *) set fnord "$@" "$arg" ;;
- + esac
- + shift # fnord
- + shift # $arg
- + done
- + "$@"
- stat=$?
- if test $stat -eq 0; then :
- else
- @@ -178,14 +199,14 @@
- ' < "$tmpdepfile" \
- | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
- tr '
- -' ' ' >> $depfile
- - echo >> $depfile
- +' ' ' >> "$depfile"
- + echo >> "$depfile"
-
- # The second pass generates a dummy entry for each header file.
- tr ' ' '
- ' < "$tmpdepfile" \
- | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
- - >> $depfile
- + >> "$depfile"
- else
- # The sourcefile does not contain any dependencies, so just
- # store a dummy comment line, to avoid errors with the Makefile
- @@ -201,34 +222,39 @@
- # current directory. Also, the AIX compiler puts `$object:' at the
- # start of each line; $object doesn't have directory information.
- # Version 6 uses the directory in both cases.
- - stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
- - tmpdepfile="$stripped.u"
- + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
- + test "x$dir" = "x$object" && dir=
- + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
- if test "$libtool" = yes; then
- + tmpdepfile1=$dir$base.u
- + tmpdepfile2=$base.u
- + tmpdepfile3=$dir.libs/$base.u
- "$@" -Wc,-M
- else
- + tmpdepfile1=$dir$base.u
- + tmpdepfile2=$dir$base.u
- + tmpdepfile3=$dir$base.u
- "$@" -M
- fi
- stat=$?
-
- - if test -f "$tmpdepfile"; then :
- - else
- - stripped=`echo "$stripped" | sed 's,^.*/,,'`
- - tmpdepfile="$stripped.u"
- - fi
- -
- if test $stat -eq 0; then :
- else
- - rm -f "$tmpdepfile"
- + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
- exit $stat
- fi
-
- + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
- + do
- + test -f "$tmpdepfile" && break
- + done
- if test -f "$tmpdepfile"; then
- - outname="$stripped.o"
- # Each line is of the form `foo.o: dependent.h'.
- # Do two passes, one to just change these to
- # `$object: dependent.h' and one to simply `dependent.h:'.
- - sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
- - sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
- + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
- + # That's a tab and a space in the [].
- + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
- else
- # The sourcefile does not contain any dependencies, so just
- # store a dummy comment line, to avoid errors with the Makefile
- @@ -276,6 +302,51 @@
- rm -f "$tmpdepfile"
- ;;
-
- +hp2)
- + # The "hp" stanza above does not work with aCC (C++) and HP's ia64
- + # compilers, which have integrated preprocessors. The correct option
- + # to use with these is +Maked; it writes dependencies to a file named
- + # 'foo.d', which lands next to the object file, wherever that
- + # happens to be.
- + # Much of this is similar to the tru64 case; see comments there.
- + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
- + test "x$dir" = "x$object" && dir=
- + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
- + if test "$libtool" = yes; then
- + tmpdepfile1=$dir$base.d
- + tmpdepfile2=$dir.libs/$base.d
- + "$@" -Wc,+Maked
- + else
- + tmpdepfile1=$dir$base.d
- + tmpdepfile2=$dir$base.d
- + "$@" +Maked
- + fi
- + stat=$?
- + if test $stat -eq 0; then :
- + else
- + rm -f "$tmpdepfile1" "$tmpdepfile2"
- + exit $stat
- + fi
- +
- + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
- + do
- + test -f "$tmpdepfile" && break
- + done
- + if test -f "$tmpdepfile"; then
- + sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
- + # Add `dependent.h:' lines.
- + sed -ne '2,${
- + s/^ *//
- + s/ \\*$//
- + s/$/:/
- + p
- + }' "$tmpdepfile" >> "$depfile"
- + else
- + echo "#dummy" > "$depfile"
- + fi
- + rm -f "$tmpdepfile" "$tmpdepfile2"
- + ;;
- +
- tru64)
- # The Tru64 compiler uses -MD to generate dependencies as a side
- # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
- @@ -288,13 +359,13 @@
-
- if test "$libtool" = yes; then
- # With Tru64 cc, shared objects can also be used to make a
- - # static library. This mecanism is used in libtool 1.4 series to
- + # static library. This mechanism is used in libtool 1.4 series to
- # handle both shared and static libraries in a single compilation.
- # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
- #
- # With libtool 1.5 this exception was removed, and libtool now
- # generates 2 separate objects for the 2 libraries. These two
- - # compilations output dependencies in in $dir.libs/$base.o.d and
- + # compilations output dependencies in $dir.libs/$base.o.d and
- # in $dir$base.o.d. We have to check for both files, because
- # one of the two compilations can be disabled. We should prefer
- # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
- @@ -345,7 +416,7 @@
-
- # Remove the call to Libtool.
- if test "$libtool" = yes; then
- - while test $1 != '--mode=compile'; do
- + while test "X$1" != 'X--mode=compile'; do
- shift
- done
- shift
- @@ -396,32 +467,39 @@
- "$@" || exit $?
- # Remove any Libtool call
- if test "$libtool" = yes; then
- - while test $1 != '--mode=compile'; do
- + while test "X$1" != 'X--mode=compile'; do
- shift
- done
- shift
- fi
- # X makedepend
- shift
- - cleared=no
- - for arg in "$@"; do
- + cleared=no eat=no
- + for arg
- + do
- case $cleared in
- no)
- set ""; shift
- cleared=yes ;;
- esac
- + if test $eat = yes; then
- + eat=no
- + continue
- + fi
- case "$arg" in
- -D*|-I*)
- set fnord "$@" "$arg"; shift ;;
- # Strip any option that makedepend may not understand. Remove
- # the object too, otherwise makedepend will parse it as a source file.
- + -arch)
- + eat=yes ;;
- -*|$object)
- ;;
- *)
- set fnord "$@" "$arg"; shift ;;
- esac
- done
- - obj_suffix="`echo $object | sed 's/^.*\././'`"
- + obj_suffix=`echo "$object" | sed 's/^.*\././'`
- touch "$tmpdepfile"
- ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
- rm -f "$depfile"
- @@ -441,7 +519,7 @@
-
- # Remove the call to Libtool.
- if test "$libtool" = yes; then
- - while test $1 != '--mode=compile'; do
- + while test "X$1" != 'X--mode=compile'; do
- shift
- done
- shift
- @@ -479,13 +557,27 @@
-
- msvisualcpp)
- # Important note: in order to support this mode, a compiler *must*
- - # always write the preprocessed file to stdout, regardless of -o,
- - # because we must use -o when running libtool.
- + # always write the preprocessed file to stdout.
- "$@" || exit $?
- +
- + # Remove the call to Libtool.
- + if test "$libtool" = yes; then
- + while test "X$1" != 'X--mode=compile'; do
- + shift
- + done
- + shift
- + fi
- +
- IFS=" "
- for arg
- do
- case "$arg" in
- + -o)
- + shift
- + ;;
- + $object)
- + shift
- + ;;
- "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
- set fnord "$@"
- shift
- @@ -498,16 +590,23 @@
- ;;
- esac
- done
- - "$@" -E |
- - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
- + "$@" -E 2>/dev/null |
- + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
- rm -f "$depfile"
- echo "$object : \\" > "$depfile"
- - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
- + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
- echo " " >> "$depfile"
- - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
- + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
- rm -f "$tmpdepfile"
- ;;
-
- +msvcmsys)
- + # This case exists only to let depend.m4 do its work. It works by
- + # looking at the text of this script. This case will never be run,
- + # since it is checked for above.
- + exit 1
- + ;;
- +
- none)
- exec "$@"
- ;;
- @@ -526,5 +625,6 @@
- # eval: (add-hook 'write-file-hooks 'time-stamp)
- # time-stamp-start: "scriptversion="
- # time-stamp-format: "%:y-%02m-%02d.%02H"
- -# time-stamp-end: "$"
- +# time-stamp-time-zone: "UTC"
- +# time-stamp-end: "; # UTC"
- # End:
- diff -Nur exmap-console-0.4.1.orig/doc/Makefile.in exmap-console-0.4.1/doc/Makefile.in
- --- exmap-console-0.4.1.orig/doc/Makefile.in 2007-02-26 12:44:02.000000000 +0100
- +++ exmap-console-0.4.1/doc/Makefile.in 2011-01-11 12:44:16.000000000 +0100
- @@ -1,8 +1,9 @@
- -# Makefile.in generated by automake 1.9.6 from Makefile.am.
- +# Makefile.in generated by automake 1.11.1 from Makefile.am.
- # @configure_input@
-
- # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- -# 2003, 2004, 2005 Free Software Foundation, Inc.
- +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
- +# Inc.
- # This Makefile.in is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
- # with or without modifications, as long as this notice is preserved.
- @@ -13,15 +14,12 @@
- # PARTICULAR PURPOSE.
-
- @SET_MAKE@
- -srcdir = @srcdir@
- -top_srcdir = @top_srcdir@
- VPATH = @srcdir@
- pkgdatadir = $(datadir)/@PACKAGE@
- -pkglibdir = $(libdir)/@PACKAGE@
- pkgincludedir = $(includedir)/@PACKAGE@
- -top_builddir = ..
- +pkglibdir = $(libdir)/@PACKAGE@
- +pkglibexecdir = $(libexecdir)/@PACKAGE@
- am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
- -INSTALL = @INSTALL@
- install_sh_DATA = $(install_sh) -c -m 644
- install_sh_PROGRAM = $(install_sh) -c
- install_sh_SCRIPT = $(install_sh) -c
- @@ -41,16 +39,36 @@
- $(ACLOCAL_M4)
- mkinstalldirs = $(install_sh) -d
- CONFIG_CLEAN_FILES =
- +CONFIG_CLEAN_VPATH_FILES =
- SOURCES =
- DIST_SOURCES =
- +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
- +am__vpath_adj = case $$p in \
- + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
- + *) f=$$p;; \
- + esac;
- +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
- +am__install_max = 40
- +am__nobase_strip_setup = \
- + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
- +am__nobase_strip = \
- + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
- +am__nobase_list = $(am__nobase_strip_setup); \
- + for p in $$list; do echo "$$p $$p"; done | \
- + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
- + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
- + if (++n[$$2] == $(am__install_max)) \
- + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
- + END { for (dir in files) print dir, files[dir] }'
- +am__base_list = \
- + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
- + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
- man1dir = $(mandir)/man1
- am__installdirs = "$(DESTDIR)$(man1dir)"
- NROFF = nroff
- MANS = $(man_MANS)
- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- ACLOCAL = @ACLOCAL@
- -AMDEP_FALSE = @AMDEP_FALSE@
- -AMDEP_TRUE = @AMDEP_TRUE@
- AMTAR = @AMTAR@
- AUTOCONF = @AUTOCONF@
- AUTOHEADER = @AUTOHEADER@
- @@ -63,8 +81,6 @@
- CYGPATH_W = @CYGPATH_W@
- DEFS = @DEFS@
- DEPDIR = @DEPDIR@
- -DODOCS_FALSE = @DODOCS_FALSE@
- -DODOCS_TRUE = @DODOCS_TRUE@
- ECHO_C = @ECHO_C@
- ECHO_N = @ECHO_N@
- ECHO_T = @ECHO_T@
- @@ -72,38 +88,41 @@
- GCC_CFLAGS = @GCC_CFLAGS@
- GLIB_CFLAGS = @GLIB_CFLAGS@
- GLIB_LIBS = @GLIB_LIBS@
- -HAVE_HELPTOMAN_FALSE = @HAVE_HELPTOMAN_FALSE@
- -HAVE_HELPTOMAN_TRUE = @HAVE_HELPTOMAN_TRUE@
- HELPTOMAN = @HELPTOMAN@
- +INSTALL = @INSTALL@
- INSTALL_DATA = @INSTALL_DATA@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
- INSTALL_SCRIPT = @INSTALL_SCRIPT@
- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- -INTERACTIVE_FALSE = @INTERACTIVE_FALSE@
- -INTERACTIVE_TRUE = @INTERACTIVE_TRUE@
- LDFLAGS = @LDFLAGS@
- LIBOBJS = @LIBOBJS@
- LIBS = @LIBS@
- LTLIBOBJS = @LTLIBOBJS@
- MAKEINFO = @MAKEINFO@
- +MKDIR_P = @MKDIR_P@
- OBJEXT = @OBJEXT@
- PACKAGE = @PACKAGE@
- PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- PACKAGE_NAME = @PACKAGE_NAME@
- PACKAGE_STRING = @PACKAGE_STRING@
- PACKAGE_TARNAME = @PACKAGE_TARNAME@
- +PACKAGE_URL = @PACKAGE_URL@
- PACKAGE_VERSION = @PACKAGE_VERSION@
- PATH_SEPARATOR = @PATH_SEPARATOR@
- PKG_CONFIG = @PKG_CONFIG@
- +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
- +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
- READLINE_CFLAGS = @READLINE_CFLAGS@
- READLINE_LIBS = @READLINE_LIBS@
- SET_MAKE = @SET_MAKE@
- SHELL = @SHELL@
- STRIP = @STRIP@
- VERSION = @VERSION@
- +abs_builddir = @abs_builddir@
- +abs_srcdir = @abs_srcdir@
- +abs_top_builddir = @abs_top_builddir@
- +abs_top_srcdir = @abs_top_srcdir@
- ac_ct_CC = @ac_ct_CC@
- -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
- -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
- am__include = @am__include@
- am__leading_dot = @am__leading_dot@
- am__quote = @am__quote@
- @@ -111,6 +130,7 @@
- am__untar = @am__untar@
- bindir = @bindir@
- build_alias = @build_alias@
- +builddir = @builddir@
- datadir = @datadir@
- datarootdir = @datarootdir@
- docdir = @docdir@
- @@ -134,8 +154,12 @@
- psdir = @psdir@
- sbindir = @sbindir@
- sharedstatedir = @sharedstatedir@
- +srcdir = @srcdir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- +top_build_prefix = @top_build_prefix@
- +top_builddir = @top_builddir@
- +top_srcdir = @top_srcdir@
- DISTCLEANFILES = *~ Makefile.in
- @DODOCS_TRUE@@INTERACTIVE_TRUE@interactive = exmapserver.1
- @DODOCS_TRUE@man_MANS = exmap.1 exmapd.1 $(interactive)
- @@ -146,14 +170,14 @@
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- - && exit 0; \
- + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
- + && { if test -f $@; then exit 0; else break; fi; }; \
- exit 1;; \
- esac; \
- done; \
- - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
- - cd $(top_srcdir) && \
- - $(AUTOMAKE) --gnu doc/Makefile
- + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
- + $(am__cd) $(top_srcdir) && \
- + $(AUTOMAKE) --gnu doc/Makefile
- .PRECIOUS: Makefile
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- @@ -171,52 +195,45 @@
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- $(ACLOCAL_M4): $(am__aclocal_m4_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- -uninstall-info-am:
- -install-man1: $(man1_MANS) $(man_MANS)
- +$(am__aclocal_m4_deps):
- +install-man1: $(man_MANS)
- @$(NORMAL_INSTALL)
- - test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
- - @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
- - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
- - for i in $$l2; do \
- - case "$$i" in \
- - *.1*) list="$$list $$i" ;; \
- - esac; \
- + test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
- + @list=''; test -n "$(man1dir)" || exit 0; \
- + { for i in $$list; do echo "$$i"; done; \
- + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
- + sed -n '/\.1[a-z]*$$/p'; \
- + } | while read p; do \
- + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
- + echo "$$d$$p"; echo "$$p"; \
- + done | \
- + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
- + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
- + sed 'N;N;s,\n, ,g' | { \
- + list=; while read file base inst; do \
- + if test "$$base" = "$$inst"; then list="$$list $$file"; else \
- + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
- + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
- + fi; \
- done; \
- - for i in $$list; do \
- - if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
- - else file=$$i; fi; \
- - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
- - case "$$ext" in \
- - 1*) ;; \
- - *) ext='1' ;; \
- - esac; \
- - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
- - inst=`echo $$inst | sed -e 's/^.*\///'`; \
- - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
- - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
- - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
- - done
- + for i in $$list; do echo "$$i"; done | $(am__base_list) | \
- + while read files; do \
- + test -z "$$files" || { \
- + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
- + $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
- + done; }
- +
- uninstall-man1:
- @$(NORMAL_UNINSTALL)
- - @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
- - l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
- - for i in $$l2; do \
- - case "$$i" in \
- - *.1*) list="$$list $$i" ;; \
- - esac; \
- - done; \
- - for i in $$list; do \
- - ext=`echo $$i | sed -e 's/^.*\\.//'`; \
- - case "$$ext" in \
- - 1*) ;; \
- - *) ext='1' ;; \
- - esac; \
- - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
- - inst=`echo $$inst | sed -e 's/^.*\///'`; \
- - inst=`echo $$inst | sed '$(transform)'`.$$ext; \
- - echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
- - rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
- - done
- + @list=''; test -n "$(man1dir)" || exit 0; \
- + files=`{ for i in $$list; do echo "$$i"; done; \
- + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
- + sed -n '/\.1[a-z]*$$/p'; \
- + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
- + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
- + test -z "$$files" || { \
- + echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
- + cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
- tags: TAGS
- TAGS:
-
- @@ -225,29 +242,45 @@
-
-
- distdir: $(DISTFILES)
- - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
- - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
- - list='$(DISTFILES)'; for file in $$list; do \
- - case $$file in \
- - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
- - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
- - esac; \
- + @list='$(MANS)'; if test -n "$$list"; then \
- + list=`for p in $$list; do \
- + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
- + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
- + if test -n "$$list" && \
- + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
- + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
- + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
- + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
- + echo " typically \`make maintainer-clean' will remove them" >&2; \
- + exit 1; \
- + else :; fi; \
- + else :; fi
- + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + list='$(DISTFILES)'; \
- + dist_files=`for file in $$list; do echo $$file; done | \
- + sed -e "s|^$$srcdirstrip/||;t" \
- + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- + case $$dist_files in \
- + */*) $(MKDIR_P) `echo "$$dist_files" | \
- + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- + sort -u` ;; \
- + esac; \
- + for file in $$dist_files; do \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
- - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
- - dir="/$$dir"; \
- - $(mkdir_p) "$(distdir)$$dir"; \
- - else \
- - dir=''; \
- - fi; \
- if test -d $$d/$$file; then \
- + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- + if test -d "$(distdir)/$$file"; then \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- fi; \
- - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- else \
- - test -f $(distdir)/$$file \
- - || cp -p $$d/$$file $(distdir)/$$file \
- + test -f "$(distdir)/$$file" \
- + || cp -p $$d/$$file "$(distdir)/$$file" \
- || exit 1; \
- fi; \
- done
- @@ -256,7 +289,7 @@
- all-am: Makefile $(MANS)
- installdirs:
- for dir in "$(DESTDIR)$(man1dir)"; do \
- - test -z "$$dir" || $(mkdir_p) "$$dir"; \
- + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- done
- install: install-am
- install-exec: install-exec-am
- @@ -278,6 +311,7 @@
-
- distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
-
- maintainer-clean-generic:
- @@ -297,18 +331,38 @@
-
- html: html-am
-
- +html-am:
- +
- info: info-am
-
- info-am:
-
- install-data-am: install-man
-
- +install-dvi: install-dvi-am
- +
- +install-dvi-am:
- +
- install-exec-am:
-
- +install-html: install-html-am
- +
- +install-html-am:
- +
- install-info: install-info-am
-
- +install-info-am:
- +
- install-man: install-man1
-
- +install-pdf: install-pdf-am
- +
- +install-pdf-am:
- +
- +install-ps: install-ps-am
- +
- +install-ps-am:
- +
- installcheck-am:
-
- maintainer-clean: maintainer-clean-am
- @@ -327,18 +381,22 @@
-
- ps-am:
-
- -uninstall-am: uninstall-info-am uninstall-man
- +uninstall-am: uninstall-man
-
- uninstall-man: uninstall-man1
-
- +.MAKE: install-am install-strip
- +
- .PHONY: all all-am check check-am clean clean-generic distclean \
- distclean-generic distdir dvi dvi-am html html-am info info-am \
- - install install-am install-data install-data-am install-exec \
- - install-exec-am install-info install-info-am install-man \
- - install-man1 install-strip installcheck installcheck-am \
- + install install-am install-data install-data-am install-dvi \
- + install-dvi-am install-exec install-exec-am install-html \
- + install-html-am install-info install-info-am install-man \
- + install-man1 install-pdf install-pdf-am install-ps \
- + install-ps-am install-strip installcheck installcheck-am \
- installdirs maintainer-clean maintainer-clean-generic \
- mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
- - uninstall-am uninstall-info-am uninstall-man uninstall-man1
- + uninstall-am uninstall-man uninstall-man1
-
-
- @DODOCS_TRUE@@HAVE_HELPTOMAN_TRUE@exmap.1: ../src/exmap ./man.include
- @@ -349,6 +407,7 @@
-
- @DODOCS_TRUE@@HAVE_HELPTOMAN_TRUE@@INTERACTIVE_TRUE@exmapserver.1: ../src/exmapserver ./man-s.include
- @DODOCS_TRUE@@HAVE_HELPTOMAN_TRUE@@INTERACTIVE_TRUE@ $(HELPTOMAN) -N -I ./man-s.include -m "Exmap server" ../src/exmapserver > ./exmapserver.1
- +
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
- .NOEXPORT:
- diff -Nur exmap-console-0.4.1.orig/install-sh exmap-console-0.4.1/install-sh
- --- exmap-console-0.4.1.orig/install-sh 2007-02-26 12:44:02.000000000 +0100
- +++ exmap-console-0.4.1/install-sh 2011-01-11 12:44:16.000000000 +0100
- @@ -1,7 +1,7 @@
- #!/bin/sh
- # install - install a program, script, or datafile
-
- -scriptversion=2005-05-14.22
- +scriptversion=2009-04-28.21; # UTC
-
- # This originates from X11R5 (mit/util/scripts/install.sh), which was
- # later released in X11R6 (xc/config/util/install.sh) with the
- @@ -39,38 +39,68 @@
- # when there is no Makefile.
- #
- # This script is compatible with the BSD install script, but was written
- -# from scratch. It can only install one file at a time, a restriction
- -# shared with many OS's install programs.
- +# from scratch.
- +
- +nl='
- +'
- +IFS=" "" $nl"
-
- # set DOITPROG to echo to test this script
-
- # Don't use :- since 4.3BSD and earlier shells don't like it.
- -doit="${DOITPROG-}"
- +doit=${DOITPROG-}
- +if test -z "$doit"; then
- + doit_exec=exec
- +else
- + doit_exec=$doit
- +fi
-
- -# put in absolute paths if you don't have them in your path; or use env. vars.
- +# Put in absolute file names if you don't have them in your path;
- +# or use environment vars.
-
- -mvprog="${MVPROG-mv}"
- -cpprog="${CPPROG-cp}"
- -chmodprog="${CHMODPROG-chmod}"
- -chownprog="${CHOWNPROG-chown}"
- -chgrpprog="${CHGRPPROG-chgrp}"
- -stripprog="${STRIPPROG-strip}"
- -rmprog="${RMPROG-rm}"
- -mkdirprog="${MKDIRPROG-mkdir}"
- +chgrpprog=${CHGRPPROG-chgrp}
- +chmodprog=${CHMODPROG-chmod}
- +chownprog=${CHOWNPROG-chown}
- +cmpprog=${CMPPROG-cmp}
- +cpprog=${CPPROG-cp}
- +mkdirprog=${MKDIRPROG-mkdir}
- +mvprog=${MVPROG-mv}
- +rmprog=${RMPROG-rm}
- +stripprog=${STRIPPROG-strip}
- +
- +posix_glob='?'
- +initialize_posix_glob='
- + test "$posix_glob" != "?" || {
- + if (set -f) 2>/dev/null; then
- + posix_glob=
- + else
- + posix_glob=:
- + fi
- + }
- +'
- +
- +posix_mkdir=
- +
- +# Desired mode of installed file.
- +mode=0755
-
- -chmodcmd="$chmodprog 0755"
- -chowncmd=
- chgrpcmd=
- -stripcmd=
- +chmodcmd=$chmodprog
- +chowncmd=
- +mvcmd=$mvprog
- rmcmd="$rmprog -f"
- -mvcmd="$mvprog"
- +stripcmd=
- +
- src=
- dst=
- dir_arg=
- -dstarg=
- +dst_arg=
- +
- +copy_on_change=false
- no_target_directory=
-
- -usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
- +usage="\
- +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
- or: $0 [OPTION]... SRCFILES... DIRECTORY
- or: $0 [OPTION]... -t DIRECTORY SRCFILES...
- or: $0 [OPTION]... -d DIRECTORIES...
- @@ -80,81 +110,86 @@
- In the 4th, create DIRECTORIES.
-
- Options:
- --c (ignored)
- --d create directories instead of installing files.
- --g GROUP $chgrpprog installed files to GROUP.
- --m MODE $chmodprog installed files to MODE.
- --o USER $chownprog installed files to USER.
- --s $stripprog installed files.
- --t DIRECTORY install into DIRECTORY.
- --T report an error if DSTFILE is a directory.
- ---help display this help and exit.
- ---version display version info and exit.
- + --help display this help and exit.
- + --version display version info and exit.
- +
- + -c (ignored)
- + -C install only if different (preserve the last data modification time)
- + -d create directories instead of installing files.
- + -g GROUP $chgrpprog installed files to GROUP.
- + -m MODE $chmodprog installed files to MODE.
- + -o USER $chownprog installed files to USER.
- + -s $stripprog installed files.
- + -t DIRECTORY install into DIRECTORY.
- + -T report an error if DSTFILE is a directory.
-
- Environment variables override the default commands:
- - CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
- + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
- + RMPROG STRIPPROG
- "
-
- -while test -n "$1"; do
- +while test $# -ne 0; do
- case $1 in
- - -c) shift
- - continue;;
- + -c) ;;
-
- - -d) dir_arg=true
- - shift
- - continue;;
- + -C) copy_on_change=true;;
- +
- + -d) dir_arg=true;;
-
- -g) chgrpcmd="$chgrpprog $2"
- - shift
- - shift
- - continue;;
- + shift;;
-
- --help) echo "$usage"; exit $?;;
-
- - -m) chmodcmd="$chmodprog $2"
- - shift
- - shift
- - continue;;
- + -m) mode=$2
- + case $mode in
- + *' '* | *' '* | *'
- +'* | *'*'* | *'?'* | *'['*)
- + echo "$0: invalid mode: $mode" >&2
- + exit 1;;
- + esac
- + shift;;
-
- -o) chowncmd="$chownprog $2"
- - shift
- - shift
- - continue;;
- -
- - -s) stripcmd=$stripprog
- - shift
- - continue;;
- -
- - -t) dstarg=$2
- - shift
- - shift
- - continue;;
- -
- - -T) no_target_directory=true
- - shift
- - continue;;
- + shift;;
- +
- + -s) stripcmd=$stripprog;;
- +
- + -t) dst_arg=$2
- + shift;;
- +
- + -T) no_target_directory=true;;
-
- --version) echo "$0 $scriptversion"; exit $?;;
-
- - *) # When -d is used, all remaining arguments are directories to create.
- - # When -t is used, the destination is already specified.
- - test -n "$dir_arg$dstarg" && break
- - # Otherwise, the last argument is the destination. Remove it from $@.
- - for arg
- - do
- - if test -n "$dstarg"; then
- - # $@ is not empty: it contains at least $arg.
- - set fnord "$@" "$dstarg"
- - shift # fnord
- - fi
- - shift # arg
- - dstarg=$arg
- - done
- + --) shift
- break;;
- +
- + -*) echo "$0: invalid option: $1" >&2
- + exit 1;;
- +
- + *) break;;
- esac
- + shift
- done
-
- -if test -z "$1"; then
- +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
- + # When -d is used, all remaining arguments are directories to create.
- + # When -t is used, the destination is already specified.
- + # Otherwise, the last argument is the destination. Remove it from $@.
- + for arg
- + do
- + if test -n "$dst_arg"; then
- + # $@ is not empty: it contains at least $arg.
- + set fnord "$@" "$dst_arg"
- + shift # fnord
- + fi
- + shift # arg
- + dst_arg=$arg
- + done
- +fi
- +
- +if test $# -eq 0; then
- if test -z "$dir_arg"; then
- echo "$0: no input file specified." >&2
- exit 1
- @@ -164,24 +199,47 @@
- exit 0
- fi
-
- +if test -z "$dir_arg"; then
- + trap '(exit $?); exit' 1 2 13 15
- +
- + # Set umask so as not to create temps with too-generous modes.
- + # However, 'strip' requires both read and write access to temps.
- + case $mode in
- + # Optimize common cases.
- + *644) cp_umask=133;;
- + *755) cp_umask=22;;
- +
- + *[0-7])
- + if test -z "$stripcmd"; then
- + u_plus_rw=
- + else
- + u_plus_rw='% 200'
- + fi
- + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
- + *)
- + if test -z "$stripcmd"; then
- + u_plus_rw=
- + else
- + u_plus_rw=,u+rw
- + fi
- + cp_umask=$mode$u_plus_rw;;
- + esac
- +fi
- +
- for src
- do
- # Protect names starting with `-'.
- case $src in
- - -*) src=./$src ;;
- + -*) src=./$src;;
- esac
-
- if test -n "$dir_arg"; then
- dst=$src
- - src=
- -
- - if test -d "$dst"; then
- - mkdircmd=:
- - chmodcmd=
- - else
- - mkdircmd=$mkdirprog
- - fi
- + dstdir=$dst
- + test -d "$dstdir"
- + dstdir_status=$?
- else
- +
- # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
- # might cause directories to be created, which would be especially bad
- # if $src (and thus $dsttmp) contains '*'.
- @@ -190,71 +248,199 @@
- exit 1
- fi
-
- - if test -z "$dstarg"; then
- + if test -z "$dst_arg"; then
- echo "$0: no destination specified." >&2
- exit 1
- fi
-
- - dst=$dstarg
- + dst=$dst_arg
- # Protect names starting with `-'.
- case $dst in
- - -*) dst=./$dst ;;
- + -*) dst=./$dst;;
- esac
-
- # If destination is a directory, append the input filename; won't work
- # if double slashes aren't ignored.
- if test -d "$dst"; then
- if test -n "$no_target_directory"; then
- - echo "$0: $dstarg: Is a directory" >&2
- + echo "$0: $dst_arg: Is a directory" >&2
- exit 1
- fi
- - dst=$dst/`basename "$src"`
- + dstdir=$dst
- + dst=$dstdir/`basename "$src"`
- + dstdir_status=0
- + else
- + # Prefer dirname, but fall back on a substitute if dirname fails.
- + dstdir=`
- + (dirname "$dst") 2>/dev/null ||
- + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- + X"$dst" : 'X\(//\)[^/]' \| \
- + X"$dst" : 'X\(//\)$' \| \
- + X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
- + echo X"$dst" |
- + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)[^/].*/{
- + s//\1/
- + q
- + }
- + /^X\(\/\/\)$/{
- + s//\1/
- + q
- + }
- + /^X\(\/\).*/{
- + s//\1/
- + q
- + }
- + s/.*/./; q'
- + `
- +
- + test -d "$dstdir"
- + dstdir_status=$?
- fi
- fi
-
- - # This sed command emulates the dirname command.
- - dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
- -
- - # Make sure that the destination directory exists.
- + obsolete_mkdir_used=false
-
- - # Skip lots of stat calls in the usual case.
- - if test ! -d "$dstdir"; then
- - defaultIFS='
- - '
- - IFS="${IFS-$defaultIFS}"
- -
- - oIFS=$IFS
- - # Some sh's can't handle IFS=/ for some reason.
- - IFS='%'
- - set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
- - shift
- - IFS=$oIFS
- + if test $dstdir_status != 0; then
- + case $posix_mkdir in
- + '')
- + # Create intermediate dirs using mode 755 as modified by the umask.
- + # This is like FreeBSD 'install' as of 1997-10-28.
- + umask=`umask`
- + case $stripcmd.$umask in
- + # Optimize common cases.
- + *[2367][2367]) mkdir_umask=$umask;;
- + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
- +
- + *[0-7])
- + mkdir_umask=`expr $umask + 22 \
- + - $umask % 100 % 40 + $umask % 20 \
- + - $umask % 10 % 4 + $umask % 2
- + `;;
- + *) mkdir_umask=$umask,go-w;;
- + esac
- +
- + # With -d, create the new directory with the user-specified mode.
- + # Otherwise, rely on $mkdir_umask.
- + if test -n "$dir_arg"; then
- + mkdir_mode=-m$mode
- + else
- + mkdir_mode=
- + fi
- +
- + posix_mkdir=false
- + case $umask in
- + *[123567][0-7][0-7])
- + # POSIX mkdir -p sets u+wx bits regardless of umask, which
- + # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
- + ;;
- + *)
- + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
- + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
- +
- + if (umask $mkdir_umask &&
- + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
- + then
- + if test -z "$dir_arg" || {
- + # Check for POSIX incompatibilities with -m.
- + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
- + # other-writeable bit of parent directory when it shouldn't.
- + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
- + ls_ld_tmpdir=`ls -ld "$tmpdir"`
- + case $ls_ld_tmpdir in
- + d????-?r-*) different_mode=700;;
- + d????-?--*) different_mode=755;;
- + *) false;;
- + esac &&
- + $mkdirprog -m$different_mode -p -- "$tmpdir" && {
- + ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
- + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
- + }
- + }
- + then posix_mkdir=:
- + fi
- + rmdir "$tmpdir/d" "$tmpdir"
- + else
- + # Remove any dirs left behind by ancient mkdir implementations.
- + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
- + fi
- + trap '' 0;;
- + esac;;
- + esac
-
- - pathcomp=
- + if
- + $posix_mkdir && (
- + umask $mkdir_umask &&
- + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
- + )
- + then :
- + else
-
- - while test $# -ne 0 ; do
- - pathcomp=$pathcomp$1
- + # The umask is ridiculous, or mkdir does not conform to POSIX,
- + # or it failed possibly due to a race condition. Create the
- + # directory the slow way, step by step, checking for races as we go.
- +
- + case $dstdir in
- + /*) prefix='/';;
- + -*) prefix='./';;
- + *) prefix='';;
- + esac
- +
- + eval "$initialize_posix_glob"
- +
- + oIFS=$IFS
- + IFS=/
- + $posix_glob set -f
- + set fnord $dstdir
- shift
- - if test ! -d "$pathcomp"; then
- - $mkdirprog "$pathcomp"
- - # mkdir can fail with a `File exist' error in case several
- - # install-sh are creating the directory concurrently. This
- - # is OK.
- - test -d "$pathcomp" || exit
- + $posix_glob set +f
- + IFS=$oIFS
- +
- + prefixes=
- +
- + for d
- + do
- + test -z "$d" && continue
- +
- + prefix=$prefix$d
- + if test -d "$prefix"; then
- + prefixes=
- + else
- + if $posix_mkdir; then
- + (umask=$mkdir_umask &&
- + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
- + # Don't fail if two instances are running concurrently.
- + test -d "$prefix" || exit 1
- + else
- + case $prefix in
- + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
- + *) qprefix=$prefix;;
- + esac
- + prefixes="$prefixes '$qprefix'"
- + fi
- + fi
- + prefix=$prefix/
- + done
- +
- + if test -n "$prefixes"; then
- + # Don't fail if two instances are running concurrently.
- + (umask $mkdir_umask &&
- + eval "\$doit_exec \$mkdirprog $prefixes") ||
- + test -d "$dstdir" || exit 1
- + obsolete_mkdir_used=true
- fi
- - pathcomp=$pathcomp/
- - done
- + fi
- fi
-
- if test -n "$dir_arg"; then
- - $doit $mkdircmd "$dst" \
- - && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
- - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
- - && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
- - && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
- -
- + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
- + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
- + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
- + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
- else
- - dstfile=`basename "$dst"`
-
- # Make a couple of temp file names in the proper directory.
- dsttmp=$dstdir/_inst.$$_
- @@ -262,10 +448,9 @@
-
- # Trap to clean up those temp files at exit.
- trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
- - trap '(exit $?); exit' 1 2 13 15
-
- # Copy the file name to the temp name.
- - $doit $cpprog "$src" "$dsttmp" &&
- + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
-
- # and set any options; do chmod last to preserve setuid bits.
- #
- @@ -273,51 +458,63 @@
- # ignore errors from any of these, just make sure not to ignore
- # errors from the above "$doit $cpprog $src $dsttmp" command.
- #
- - { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
- - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
- - && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
- - && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
- -
- - # Now rename the file to the real destination.
- - { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
- - || {
- - # The rename failed, perhaps because mv can't rename something else
- - # to itself, or perhaps because mv is so ancient that it does not
- - # support -f.
- -
- - # Now remove or move aside any old file at destination location.
- - # We try this two ways since rm can't unlink itself on some
- - # systems and the destination file might be busy for other
- - # reasons. In this case, the final cleanup might fail but the new
- - # file should still install successfully.
- - {
- - if test -f "$dstdir/$dstfile"; then
- - $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
- - || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
- - || {
- - echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
- - (exit 1); exit 1
- - }
- - else
- - :
- - fi
- - } &&
- -
- - # Now rename the file to the real destination.
- - $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
- - }
- - }
- - fi || { (exit 1); exit 1; }
- -done
- + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
- + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
- + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
- + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
- +
- + # If -C, don't bother to copy if it wouldn't change the file.
- + if $copy_on_change &&
- + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
- + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
- +
- + eval "$initialize_posix_glob" &&
- + $posix_glob set -f &&
- + set X $old && old=:$2:$4:$5:$6 &&
- + set X $new && new=:$2:$4:$5:$6 &&
- + $posix_glob set +f &&
- +
- + test "$old" = "$new" &&
- + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
- + then
- + rm -f "$dsttmp"
- + else
- + # Rename the file to the real destination.
- + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
-
- -# The final little trick to "correctly" pass the exit status to the exit trap.
- -{
- - (exit 0); exit 0
- -}
- + # The rename failed, perhaps because mv can't rename something else
- + # to itself, or perhaps because mv is so ancient that it does not
- + # support -f.
- + {
- + # Now remove or move aside any old file at destination location.
- + # We try this two ways since rm can't unlink itself on some
- + # systems and the destination file might be busy for other
- + # reasons. In this case, the final cleanup might fail but the new
- + # file should still install successfully.
- + {
- + test ! -f "$dst" ||
- + $doit $rmcmd -f "$dst" 2>/dev/null ||
- + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
- + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
- + } ||
- + { echo "$0: cannot unlink or rename $dst" >&2
- + (exit 1); exit 1
- + }
- + } &&
- +
- + # Now rename the file to the real destination.
- + $doit $mvcmd "$dsttmp" "$dst"
- + }
- + fi || exit 1
- +
- + trap '' 0
- + fi
- +done
-
- # Local variables:
- # eval: (add-hook 'write-file-hooks 'time-stamp)
- # time-stamp-start: "scriptversion="
- # time-stamp-format: "%:y-%02m-%02d.%02H"
- -# time-stamp-end: "$"
- +# time-stamp-time-zone: "UTC"
- +# time-stamp-end: "; # UTC"
- # End:
- diff -Nur exmap-console-0.4.1.orig/missing exmap-console-0.4.1/missing
- --- exmap-console-0.4.1.orig/missing 2007-02-26 12:44:02.000000000 +0100
- +++ exmap-console-0.4.1/missing 2011-01-11 12:44:16.000000000 +0100
- @@ -1,10 +1,10 @@
- #! /bin/sh
- # Common stub for a few missing GNU programs while installing.
-
- -scriptversion=2005-06-08.21
- +scriptversion=2009-04-28.21; # UTC
-
- -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
- -# Free Software Foundation, Inc.
- +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
- +# 2008, 2009 Free Software Foundation, Inc.
- # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
-
- # This program is free software; you can redistribute it and/or modify
- @@ -18,9 +18,7 @@
- # GNU General Public License for more details.
-
- # You should have received a copy of the GNU General Public License
- -# along with this program; if not, write to the Free Software
- -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- -# 02110-1301, USA.
- +# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
- # As a special exception to the GNU General Public License, if you
- # distribute this file as part of a program that contains a
- @@ -33,6 +31,8 @@
- fi
-
- run=:
- +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
- +sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
-
- # In the cases where this matters, `missing' is being run in the
- # srcdir already.
- @@ -44,7 +44,7 @@
-
- msg="missing on your system"
-
- -case "$1" in
- +case $1 in
- --run)
- # Try to run requested program, and just exit if it succeeds.
- run=
- @@ -77,6 +77,7 @@
- aclocal touch file \`aclocal.m4'
- autoconf touch file \`configure'
- autoheader touch file \`config.h.in'
- + autom4te touch the output file, or create a stub one
- automake touch all \`Makefile.in' files
- bison create \`y.tab.[ch]', if possible, from existing .[ch]
- flex create \`lex.yy.c', if possible, from existing .c
- @@ -86,6 +87,9 @@
- tar try tar, gnutar, gtar, then tar without non-portable flags
- yacc create \`y.tab.[ch]', if possible, from existing .[ch]
-
- +Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
- +\`g' are ignored when checking the name.
- +
- Send bug reports to <bug-automake@gnu.org>."
- exit $?
- ;;
- @@ -103,15 +107,22 @@
-
- esac
-
- +# normalize program name to check for.
- +program=`echo "$1" | sed '
- + s/^gnu-//; t
- + s/^gnu//; t
- + s/^g//; t'`
- +
- # Now exit if we have it, but it failed. Also exit now if we
- # don't have it and --version was passed (most likely to detect
- -# the program).
- -case "$1" in
- - lex|yacc)
- +# the program). This is about non-GNU programs, so use $1 not
- +# $program.
- +case $1 in
- + lex*|yacc*)
- # Not GNU programs, they don't have --version.
- ;;
-
- - tar)
- + tar*)
- if test -n "$run"; then
- echo 1>&2 "ERROR: \`tar' requires --run"
- exit 1
- @@ -135,7 +146,7 @@
-
- # If it does not exist, or fails to run (possibly an outdated version),
- # try to emulate it.
- -case "$1" in
- +case $program in
- aclocal*)
- echo 1>&2 "\
- WARNING: \`$1' is $msg. You should only need it if
- @@ -145,7 +156,7 @@
- touch aclocal.m4
- ;;
-
- - autoconf)
- + autoconf*)
- echo 1>&2 "\
- WARNING: \`$1' is $msg. You should only need it if
- you modified \`${configure_ac}'. You might want to install the
- @@ -154,7 +165,7 @@
- touch configure
- ;;
-
- - autoheader)
- + autoheader*)
- echo 1>&2 "\
- WARNING: \`$1' is $msg. You should only need it if
- you modified \`acconfig.h' or \`${configure_ac}'. You might want
- @@ -164,7 +175,7 @@
- test -z "$files" && files="config.h"
- touch_files=
- for f in $files; do
- - case "$f" in
- + case $f in
- *:*) touch_files="$touch_files "`echo "$f" |
- sed -e 's/^[^:]*://' -e 's/:.*//'`;;
- *) touch_files="$touch_files $f.in";;
- @@ -184,7 +195,7 @@
- while read f; do touch "$f"; done
- ;;
-
- - autom4te)
- + autom4te*)
- echo 1>&2 "\
- WARNING: \`$1' is needed, but is $msg.
- You might have modified some files without having the
- @@ -192,8 +203,8 @@
- You can get \`$1' as part of \`Autoconf' from any GNU
- archive site."
-
- - file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
- - test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
- + file=`echo "$*" | sed -n "$sed_output"`
- + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
- if test -f "$file"; then
- touch $file
- else
- @@ -207,80 +218,78 @@
- fi
- ;;
-
- - bison|yacc)
- + bison*|yacc*)
- echo 1>&2 "\
- WARNING: \`$1' $msg. You should only need it if
- you modified a \`.y' file. You may need the \`Bison' package
- in order for those modifications to take effect. You can get
- \`Bison' from any GNU archive site."
- rm -f y.tab.c y.tab.h
- - if [ $# -ne 1 ]; then
- + if test $# -ne 1; then
- eval LASTARG="\${$#}"
- - case "$LASTARG" in
- + case $LASTARG in
- *.y)
- SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
- - if [ -f "$SRCFILE" ]; then
- + if test -f "$SRCFILE"; then
- cp "$SRCFILE" y.tab.c
- fi
- SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
- - if [ -f "$SRCFILE" ]; then
- + if test -f "$SRCFILE"; then
- cp "$SRCFILE" y.tab.h
- fi
- ;;
- esac
- fi
- - if [ ! -f y.tab.h ]; then
- + if test ! -f y.tab.h; then
- echo >y.tab.h
- fi
- - if [ ! -f y.tab.c ]; then
- + if test ! -f y.tab.c; then
- echo 'main() { return 0; }' >y.tab.c
- fi
- ;;
-
- - lex|flex)
- + lex*|flex*)
- echo 1>&2 "\
- WARNING: \`$1' is $msg. You should only need it if
- you modified a \`.l' file. You may need the \`Flex' package
- in order for those modifications to take effect. You can get
- \`Flex' from any GNU archive site."
- rm -f lex.yy.c
- - if [ $# -ne 1 ]; then
- + if test $# -ne 1; then
- eval LASTARG="\${$#}"
- - case "$LASTARG" in
- + case $LASTARG in
- *.l)
- SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
- - if [ -f "$SRCFILE" ]; then
- + if test -f "$SRCFILE"; then
- cp "$SRCFILE" lex.yy.c
- fi
- ;;
- esac
- fi
- - if [ ! -f lex.yy.c ]; then
- + if test ! -f lex.yy.c; then
- echo 'main() { return 0; }' >lex.yy.c
- fi
- ;;
-
- - help2man)
- + help2man*)
- echo 1>&2 "\
- WARNING: \`$1' is $msg. You should only need it if
- you modified a dependency of a manual page. You may need the
- \`Help2man' package in order for those modifications to take
- effect. You can get \`Help2man' from any GNU archive site."
-
- - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
- - if test -z "$file"; then
- - file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
- - fi
- - if [ -f "$file" ]; then
- + file=`echo "$*" | sed -n "$sed_output"`
- + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
- + if test -f "$file"; then
- touch $file
- else
- test -z "$file" || exec >$file
- echo ".ab help2man is required to generate this page"
- - exit 1
- + exit $?
- fi
- ;;
-
- - makeinfo)
- + makeinfo*)
- echo 1>&2 "\
- WARNING: \`$1' is $msg. You should only need it if
- you modified a \`.texi' or \`.texinfo' file, or any other file
- @@ -289,11 +298,17 @@
- DU, IRIX). You might want to install the \`Texinfo' package or
- the \`GNU make' package. Grab either from any GNU archive site."
- # The file to touch is that specified with -o ...
- - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
- + file=`echo "$*" | sed -n "$sed_output"`
- + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
- if test -z "$file"; then
- # ... or it is the one specified with @setfilename ...
- infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
- - file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
- + file=`sed -n '
- + /^@setfilename/{
- + s/.* \([^ ]*\) *$/\1/
- + p
- + q
- + }' $infile`
- # ... or it is derived from the source name (dir/f.texi becomes f.info)
- test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
- fi
- @@ -303,7 +318,7 @@
- touch $file
- ;;
-
- - tar)
- + tar*)
- shift
-
- # We have already tried tar in the generic part.
- @@ -317,13 +332,13 @@
- fi
- firstarg="$1"
- if shift; then
- - case "$firstarg" in
- + case $firstarg in
- *o*)
- firstarg=`echo "$firstarg" | sed s/o//`
- tar "$firstarg" "$@" && exit 0
- ;;
- esac
- - case "$firstarg" in
- + case $firstarg in
- *h*)
- firstarg=`echo "$firstarg" | sed s/h//`
- tar "$firstarg" "$@" && exit 0
- @@ -356,5 +371,6 @@
- # eval: (add-hook 'write-file-hooks 'time-stamp)
- # time-stamp-start: "scriptversion="
- # time-stamp-format: "%:y-%02m-%02d.%02H"
- -# time-stamp-end: "$"
- +# time-stamp-time-zone: "UTC"
- +# time-stamp-end: "; # UTC"
- # End:
- diff -Nur exmap-console-0.4.1.orig/src/Makefile.in exmap-console-0.4.1/src/Makefile.in
- --- exmap-console-0.4.1.orig/src/Makefile.in 2007-02-26 12:44:02.000000000 +0100
- +++ exmap-console-0.4.1/src/Makefile.in 2011-01-11 12:44:16.000000000 +0100
- @@ -1,8 +1,9 @@
- -# Makefile.in generated by automake 1.9.6 from Makefile.am.
- +# Makefile.in generated by automake 1.11.1 from Makefile.am.
- # @configure_input@
-
- # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- -# 2003, 2004, 2005 Free Software Foundation, Inc.
- +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
- +# Inc.
- # This Makefile.in is free software; the Free Software Foundation
- # gives unlimited permission to copy and/or distribute it,
- # with or without modifications, as long as this notice is preserved.
- @@ -14,15 +15,12 @@
-
- @SET_MAKE@
-
- -srcdir = @srcdir@
- -top_srcdir = @top_srcdir@
- VPATH = @srcdir@
- pkgdatadir = $(datadir)/@PACKAGE@
- -pkglibdir = $(libdir)/@PACKAGE@
- pkgincludedir = $(includedir)/@PACKAGE@
- -top_builddir = ..
- +pkglibdir = $(libdir)/@PACKAGE@
- +pkglibexecdir = $(libexecdir)/@PACKAGE@
- am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
- -INSTALL = @INSTALL@
- install_sh_DATA = $(install_sh) -c -m 644
- install_sh_PROGRAM = $(install_sh) -c
- install_sh_SCRIPT = $(install_sh) -c
- @@ -43,8 +41,8 @@
- $(ACLOCAL_M4)
- mkinstalldirs = $(install_sh) -d
- CONFIG_CLEAN_FILES =
- +CONFIG_CLEAN_VPATH_FILES =
- am__installdirs = "$(DESTDIR)$(bindir)"
- -binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
- PROGRAMS = $(bin_PROGRAMS)
- am__exmap_SOURCES_DIST = interactive.c exmap.c exelf.c
- @INTERACTIVE_TRUE@am__objects_1 = interactive.$(OBJEXT)
- @@ -58,9 +56,10 @@
- am_exmapserver_OBJECTS = exmapserver.$(OBJEXT)
- exmapserver_OBJECTS = $(am_exmapserver_OBJECTS)
- exmapserver_DEPENDENCIES = $(am__DEPENDENCIES_1)
- -DEFAULT_INCLUDES = -I. -I$(srcdir)
- +DEFAULT_INCLUDES = -I.@am__isrc@
- depcomp = $(SHELL) $(top_srcdir)/depcomp
- am__depfiles_maybe = depfiles
- +am__mv = mv -f
- COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- CCLD = $(CC)
- @@ -72,8 +71,6 @@
- CTAGS = ctags
- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- ACLOCAL = @ACLOCAL@
- -AMDEP_FALSE = @AMDEP_FALSE@
- -AMDEP_TRUE = @AMDEP_TRUE@
- AMTAR = @AMTAR@
- AUTOCONF = @AUTOCONF@
- AUTOHEADER = @AUTOHEADER@
- @@ -86,8 +83,6 @@
- CYGPATH_W = @CYGPATH_W@
- DEFS = @DEFS@
- DEPDIR = @DEPDIR@
- -DODOCS_FALSE = @DODOCS_FALSE@
- -DODOCS_TRUE = @DODOCS_TRUE@
- ECHO_C = @ECHO_C@
- ECHO_N = @ECHO_N@
- ECHO_T = @ECHO_T@
- @@ -95,38 +90,41 @@
- GCC_CFLAGS = @GCC_CFLAGS@
- GLIB_CFLAGS = @GLIB_CFLAGS@
- GLIB_LIBS = @GLIB_LIBS@
- -HAVE_HELPTOMAN_FALSE = @HAVE_HELPTOMAN_FALSE@
- -HAVE_HELPTOMAN_TRUE = @HAVE_HELPTOMAN_TRUE@
- HELPTOMAN = @HELPTOMAN@
- +INSTALL = @INSTALL@
- INSTALL_DATA = @INSTALL_DATA@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
- INSTALL_SCRIPT = @INSTALL_SCRIPT@
- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- -INTERACTIVE_FALSE = @INTERACTIVE_FALSE@
- -INTERACTIVE_TRUE = @INTERACTIVE_TRUE@
- LDFLAGS = @LDFLAGS@
- LIBOBJS = @LIBOBJS@
- LIBS = @LIBS@
- LTLIBOBJS = @LTLIBOBJS@
- MAKEINFO = @MAKEINFO@
- +MKDIR_P = @MKDIR_P@
- OBJEXT = @OBJEXT@
- PACKAGE = @PACKAGE@
- PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- PACKAGE_NAME = @PACKAGE_NAME@
- PACKAGE_STRING = @PACKAGE_STRING@
- PACKAGE_TARNAME = @PACKAGE_TARNAME@
- +PACKAGE_URL = @PACKAGE_URL@
- PACKAGE_VERSION = @PACKAGE_VERSION@
- PATH_SEPARATOR = @PATH_SEPARATOR@
- PKG_CONFIG = @PKG_CONFIG@
- +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
- +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
- READLINE_CFLAGS = @READLINE_CFLAGS@
- READLINE_LIBS = @READLINE_LIBS@
- SET_MAKE = @SET_MAKE@
- SHELL = @SHELL@
- STRIP = @STRIP@
- VERSION = @VERSION@
- +abs_builddir = @abs_builddir@
- +abs_srcdir = @abs_srcdir@
- +abs_top_builddir = @abs_top_builddir@
- +abs_top_srcdir = @abs_top_srcdir@
- ac_ct_CC = @ac_ct_CC@
- -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
- -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
- am__include = @am__include@
- am__leading_dot = @am__leading_dot@
- am__quote = @am__quote@
- @@ -134,6 +132,7 @@
- am__untar = @am__untar@
- bindir = @bindir@
- build_alias = @build_alias@
- +builddir = @builddir@
- datadir = @datadir@
- datarootdir = @datarootdir@
- docdir = @docdir@
- @@ -157,8 +156,12 @@
- psdir = @psdir@
- sbindir = @sbindir@
- sharedstatedir = @sharedstatedir@
- +srcdir = @srcdir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- +top_build_prefix = @top_build_prefix@
- +top_builddir = @top_builddir@
- +top_srcdir = @top_srcdir@
- INCLUDES = -DSBINDIR=\"$(sbindir)\"
- AM_CFLAGS = $(GCC_CFLAGS) $(GLIB_CFLAGS) $(READLINE_CFLAGS)
- @INTERACTIVE_TRUE@interactive = interactive.c
- @@ -177,14 +180,14 @@
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- - && exit 0; \
- + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
- + && { if test -f $@; then exit 0; else break; fi; }; \
- exit 1;; \
- esac; \
- done; \
- - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
- - cd $(top_srcdir) && \
- - $(AUTOMAKE) --gnu src/Makefile
- + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
- + $(am__cd) $(top_srcdir) && \
- + $(AUTOMAKE) --gnu src/Makefile
- .PRECIOUS: Makefile
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- @@ -202,38 +205,53 @@
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- $(ACLOCAL_M4): $(am__aclocal_m4_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
- +$(am__aclocal_m4_deps):
- install-binPROGRAMS: $(bin_PROGRAMS)
- @$(NORMAL_INSTALL)
- - test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
- - @list='$(bin_PROGRAMS)'; for p in $$list; do \
- - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
- - if test -f $$p \
- - ; then \
- - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
- - echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
- - $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
- - else :; fi; \
- - done
- + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
- + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
- + for p in $$list; do echo "$$p $$p"; done | \
- + sed 's/$(EXEEXT)$$//' | \
- + while read p p1; do if test -f $$p; \
- + then echo "$$p"; echo "$$p"; else :; fi; \
- + done | \
- + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
- + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
- + sed 'N;N;N;s,\n, ,g' | \
- + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
- + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
- + if ($$2 == $$4) files[d] = files[d] " " $$1; \
- + else { print "f", $$3 "/" $$4, $$1; } } \
- + END { for (d in files) print "f", d, files[d] }' | \
- + while read type dir files; do \
- + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
- + test -z "$$files" || { \
- + echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
- + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
- + } \
- + ; done
-
- uninstall-binPROGRAMS:
- @$(NORMAL_UNINSTALL)
- - @list='$(bin_PROGRAMS)'; for p in $$list; do \
- - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
- - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
- - rm -f "$(DESTDIR)$(bindir)/$$f"; \
- - done
- + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
- + files=`for p in $$list; do echo "$$p"; done | \
- + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
- + -e 's/$$/$(EXEEXT)/' `; \
- + test -n "$$list" || exit 0; \
- + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
- + cd "$(DESTDIR)$(bindir)" && rm -f $$files
-
- clean-binPROGRAMS:
- -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
- exmap$(EXEEXT): $(exmap_OBJECTS) $(exmap_DEPENDENCIES)
- @rm -f exmap$(EXEEXT)
- - $(LINK) $(exmap_LDFLAGS) $(exmap_OBJECTS) $(exmap_LDADD) $(LIBS)
- + $(LINK) $(exmap_OBJECTS) $(exmap_LDADD) $(LIBS)
- exmapd$(EXEEXT): $(exmapd_OBJECTS) $(exmapd_DEPENDENCIES)
- @rm -f exmapd$(EXEEXT)
- - $(LINK) $(exmapd_LDFLAGS) $(exmapd_OBJECTS) $(exmapd_LDADD) $(LIBS)
- + $(LINK) $(exmapd_OBJECTS) $(exmapd_LDADD) $(LIBS)
- exmapserver$(EXEEXT): $(exmapserver_OBJECTS) $(exmapserver_DEPENDENCIES)
- @rm -f exmapserver$(EXEEXT)
- - $(LINK) $(exmapserver_LDFLAGS) $(exmapserver_OBJECTS) $(exmapserver_LDADD) $(LIBS)
- + $(LINK) $(exmapserver_OBJECTS) $(exmapserver_LDADD) $(LIBS)
-
- mostlyclean-compile:
- -rm -f *.$(OBJEXT)
- @@ -248,92 +266,98 @@
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/interactive.Po@am__quote@
-
- .c.o:
- -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
- -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
- +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- @am__fastdepCC_FALSE@ $(COMPILE) -c $<
-
- .c.obj:
- -@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
- -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
- +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
- +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
- -uninstall-info-am:
-
- ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- - $(AWK) ' { files[$$0] = 1; } \
- - END { for (i in files) print i; }'`; \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
- tags: TAGS
-
- TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- - tags=; \
- + set x; \
- here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- - $(AWK) ' { files[$$0] = 1; } \
- - END { for (i in files) print i; }'`; \
- - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + shift; \
- + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
- test -n "$$unique" || unique=$$empty_fix; \
- - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- - $$tags $$unique; \
- + if test $$# -gt 0; then \
- + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- + "$$@" $$unique; \
- + else \
- + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- + $$unique; \
- + fi; \
- fi
- ctags: CTAGS
- CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- - tags=; \
- - here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- - $(AWK) ' { files[$$0] = 1; } \
- - END { for (i in files) print i; }'`; \
- - test -z "$(CTAGS_ARGS)$$tags$$unique" \
- + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- + END { if (nonempty) { for (i in files) print i; }; }'`; \
- + test -z "$(CTAGS_ARGS)$$unique" \
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- - $$tags $$unique
- + $$unique
-
- GTAGS:
- here=`$(am__cd) $(top_builddir) && pwd` \
- - && cd $(top_srcdir) \
- - && gtags -i $(GTAGS_ARGS) $$here
- + && $(am__cd) $(top_srcdir) \
- + && gtags -i $(GTAGS_ARGS) "$$here"
-
- distclean-tags:
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
- distdir: $(DISTFILES)
- - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
- - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
- - list='$(DISTFILES)'; for file in $$list; do \
- - case $$file in \
- - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
- - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
- - esac; \
- + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + list='$(DISTFILES)'; \
- + dist_files=`for file in $$list; do echo $$file; done | \
- + sed -e "s|^$$srcdirstrip/||;t" \
- + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- + case $$dist_files in \
- + */*) $(MKDIR_P) `echo "$$dist_files" | \
- + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- + sort -u` ;; \
- + esac; \
- + for file in $$dist_files; do \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
- - if test "$$dir" != "$$file" && test "$$dir" != "."; then \
- - dir="/$$dir"; \
- - $(mkdir_p) "$(distdir)$$dir"; \
- - else \
- - dir=''; \
- - fi; \
- if test -d $$d/$$file; then \
- + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- + if test -d "$(distdir)/$$file"; then \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- fi; \
- - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- else \
- - test -f $(distdir)/$$file \
- - || cp -p $$d/$$file $(distdir)/$$file \
- + test -f "$(distdir)/$$file" \
- + || cp -p $$d/$$file "$(distdir)/$$file" \
- || exit 1; \
- fi; \
- done
- @@ -342,7 +366,7 @@
- all-am: Makefile $(PROGRAMS)
- installdirs:
- for dir in "$(DESTDIR)$(bindir)"; do \
- - test -z "$$dir" || $(mkdir_p) "$$dir"; \
- + test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- done
- install: install-am
- install-exec: install-exec-am
- @@ -364,6 +388,7 @@
-
- distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
-
- maintainer-clean-generic:
- @@ -385,18 +410,38 @@
-
- html: html-am
-
- +html-am:
- +
- info: info-am
-
- info-am:
-
- install-data-am:
-
- +install-dvi: install-dvi-am
- +
- +install-dvi-am:
- +
- install-exec-am: install-binPROGRAMS
-
- +install-html: install-html-am
- +
- +install-html-am:
- +
- install-info: install-info-am
-
- +install-info-am:
- +
- install-man:
-
- +install-pdf: install-pdf-am
- +
- +install-pdf-am:
- +
- +install-ps: install-ps-am
- +
- +install-ps-am:
- +
- installcheck-am:
-
- maintainer-clean: maintainer-clean-am
- @@ -416,18 +461,23 @@
-
- ps-am:
-
- -uninstall-am: uninstall-binPROGRAMS uninstall-info-am
- +uninstall-am: uninstall-binPROGRAMS
- +
- +.MAKE: install-am install-strip
-
- .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
- clean-generic ctags distclean distclean-compile \
- distclean-generic distclean-tags distdir dvi dvi-am html \
- html-am info info-am install install-am install-binPROGRAMS \
- - install-data install-data-am install-exec install-exec-am \
- - install-info install-info-am install-man install-strip \
- + install-data install-data-am install-dvi install-dvi-am \
- + install-exec install-exec-am install-html install-html-am \
- + install-info install-info-am install-man install-pdf \
- + install-pdf-am install-ps install-ps-am install-strip \
- installcheck installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-compile \
- mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
- - uninstall-am uninstall-binPROGRAMS uninstall-info-am
- + uninstall-am uninstall-binPROGRAMS
- +
-
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
|